/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/



/* Theme Variables */ 
/* ==================================================================*/

:root {
	--color-brand-primary: #00547c; 
}

/* Theme Support */ 
/* ==================================================================*/

.fl-builder-content .fl-col-content .fl-rich-text p {
	font-size:18px;
	line-height:2;
}
.fl-builder-content .fl-col-content .fl-rich-text ul li,
.fl-builder-content .fl-col-content .fl-rich-text ol li {
	font-size:18px;
	line-height:2;
}
.fl-builder-content .fl-col-content .fl-rich-text h1,
.fl-builder-content .fl-col-content .fl-rich-text h2,
.fl-builder-content .fl-col-content .fl-rich-text h3,
.fl-builder-content .fl-col-content .fl-rich-text h4,
.fl-builder-content .fl-col-content .fl-rich-text h5,
.fl-builder-content .fl-col-content .fl-rich-text h6 {line-height:1.2;}


.fl-page .fl-col-content p {
    margin-bottom: 25px;
}
.fl-page .fl-builder-content .wp-caption{
    background: none;
    border: none;
}
.fl-page .fl-builder-content .wp-caption-text {
    font-size: 14px;
    font-style: italic;
}
.fl-builder-content .fl-col-content .fl-rich-text .caption {
	font-size:14px;
	font-style: italic;
	text-align:center;
}

/* Post Type Support - Singular Templates */ 
/* ==================================================================*/

.fl-theme-builder-singular {}
.fl-theme-builder-singular.news-template-default,
.fl-theme-builder-singular.resources-template-default,
.fl-theme-builder-singular.investment-update-template-default {}

.fl-theme-builder-singular.news-template-default {}
.fl-theme-builder-singular.resources-template-default {}
.fl-theme-builder-singular.investment-update-template-default {}

.fl-theme-builder-singular.investment-update-template-default #closing-copy h1,
.fl-theme-builder-singular.investment-update-template-default #closing-copy h2,
.fl-theme-builder-singular.investment-update-template-default #closing-copy h3,
.fl-theme-builder-singular.investment-update-template-default #closing-copy h4,
.fl-theme-builder-singular.investment-update-template-default #closing-copy h5,
.fl-theme-builder-singular.investment-update-template-default #closing-copy h6 {
	color:#00547c;
	font-weight:500;
}
.fl-theme-builder-singular.resources-template-default figure figcaption,
.fl-theme-builder-singular.investment-update-template-default .wp-caption .wp-caption-text,
.fl-theme-builder-singular.investment-update-template-default #asset-allocation-caption p,
.fl-theme-builder-singular.investment-update-template-default #asset-allocation-caption .fl-rich-text p {
	font-size:14px;
	font-style:italic;
	font-weight:400;
	margin-top:20px;
}

/* Module Support - "News" + "Update" Archive Class - Content Grid */ 
/* ==================================================================*/

.News-Archive .pp-content-grid-post-text,
.Update-Archive .pp-content-grid-post-text {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    padding-bottom: 60px;
}
.News-Archive .pp-content-grid-post-more-link,
.Update-Archive .pp-content-grid-post-more-link {
    position: absolute;
    bottom: 0;
}

/* Module Support - UABB Advanced Post - "People | Team" - add class to block  */ 
/* ==================================================================*/

.team-member-profiles .format-email .uabb-text-editor {
	display:flex;
    word-break:break-all;
    justify-content:center;
}
.team-member-profiles .uabb-post-thumbnail.uabb-blog-post-section img {
    height: 400px;
    object-fit: cover;
    object-position: 0% 10%;
}
.team-member-profiles .team-member {
	margin:auto; 
	border: 1px solid var(--color-brand-primary); 
	max-width: 415px;
	height: 645px;
	height:100%;
}
.team-member-profiles .team-details {
	margin-top: 0;
	padding-top: 20px;
	height: 245px;
	position:relative;
	padding-bottom:60px;
}    
.team-member-profiles .team-details .uabb-post-heading,
.team-member-profiles .team-details .job-title,
.team-member-profiles .team-details .uabb-blog-posts-description,
.team-member-profiles .team-details .phone,
.team-member-profiles .team-details .linkedin {
    padding: 0 5px 5px;
    width: 100%;
}
@media screen and (min-width:768px){
	.team-member-profiles .team-details .uabb-post-heading,
	.team-member-profiles .team-details .job-title,
	.team-member-profiles .team-details .uabb-blog-posts-description,
	.team-member-profiles .team-details .phone,
	.team-member-profiles .team-details .linkedin {
    	padding: 0 15px 5px;
	}   
}
.team-member-profiles .team-details h3 {
	color: var(--color-brand-primary); 
	font-size:2.4rem;
}
.team-member-profiles .team-details .job-title {
	font-size: 1.8rem; 
	color: black;
}
.team-member-profiles .team-details .uabb-blog-posts-description::before {
    content: "\f0e0";
    font-family:'Font Awesome 5 free';
    color: var(--color-brand-primary); 
    padding-right: 2px;
}
.team-member-profiles .team-details .phone::before {
    content: "\f879";
    font-family:'Font Awesome 5 free';
     color: var(--color-brand-primary); 
     font-weight: bold;
     padding-right: 10px;
}
.team-member-profiles .team-details .uabb-read-more-text {
	display:flex;
	margin:0;
	height:unset;
	width:100%;
	position:absolute;
	bottom:0;
	padding: 0 !important;
    border: none !important;
}
.team-member-profiles .team-details .uabb-read-more-text a {
    border-top: 1px solid var(--color-brand-primary); 
    text-align: center;
    height:60px;
    margin-bottom: 0;
    cursor: pointer;
    -webkit-transition: ease-out 0.4s;
    -moz-transition: ease-out 0.4s;
    transition: ease-out .7s;
    box-shadow: inset 0 0 0 0 var(--color-brand-primary); 
    width: 100%;
    display:flex;
	align-items:center;
	justify-content:center;
	padding:0 !important;
}
.team-member-profiles .uabb-read-more-text a:hover,
.team-member-profiles .uabb-read-more-text a:active,
.team-member-profiles .uabb-read-more-text a:focus {
    border: 1px solid var(--color-brand-primary); 
    background: var(--color-brand-primary); 
    box-shadow: inset 400px 0 0 0 var(--color-brand-primary);
	color:white !important;
}
.team-member-profiles .uabb-read-more-text a::after {
    content:"\f105";
    font-family:'Font Awesome 5 Free';
    font-weight: bold;
    padding-left: 10px;
}
.team-member-profiles .uabb-read-more-text a {
	color: var(--color-brand-primary);  !important;
}
.team-member-profiles .uabb-read-more-text:hover a,
.team-member-profiles .uabb-read-more-text:active a,
.team-member-profiles .uabb-read-more-text:focus a {
	color:white !important;
}

@media screen and (max-width: 1370px){
    .team-member-profiles .uabb-blog-posts-description.uabb-blog-post-section.uabb-text-editor,
	.team-member-profiles .team-details .uabb-read-more-text a,
	.team-member-profiles .phone {
    	font-size: 18px;
	} 
}

/* Team Member - Listing Card Template */ 
/* ==================================================================*/

.team-member.alternate {
	display:flex;
	flex-direction:column;
	height:100%;
}
.team-member.alternate .thumbnail {}
.team-member.alternate .thumbnail img {
	height: 400px;
	width:100%;
    object-fit: cover;
    object-position: 0% 10%;
}
.team-member.alternate .content {
	display:flex;
	flex-direction:column;
	font-size:18px;
	height: calc(100% - 400px);
	padding-top:20px;
    position: relative;
}
.team-member.alternate .content > div:not(.link):not(.spacer) {
	display:flex;
	justify-content:center;
	padding:2px 10px;
	text-align:center;
}
.team-member.alternate .content .name {
	margin-bottom:10px;
}
.team-member.alternate .content .name h3 {
	color: var(--color-brand-primary);
    font-size: 2.4rem;
	margin:0;
}
.team-member.alternate .content .title {}
.team-member.alternate .content .spacer {
	display:flex;
	height:20px;
	width:100%;
}
.team-member.alternate .content .link {
	display: flex;
	flex-direction:column;
	margin-top:auto;
}
.team-member.alternate .content .link a {
	border-top: 1px solid var(--color-brand-primary);
    color: var(--color-brand-primary);
	height:60px;
    text-align: center;
    margin-bottom: 0;
    cursor: pointer;
    -webkit-transition: ease-out 0.4s;
    -moz-transition: ease-out 0.4s;
    transition: ease-out .7s;
    box-shadow: inset 0 0 0 0 var(--color-brand-primary);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.team-member.alternate .content .link a:hover,
.team-member.alternate .content .link a:focus,
.team-member.alternate .content .link a:active {
	border-top: 1px solid var(--color-brand-primary);
    background: var(--color-brand-primary);
    box-shadow: inset 400px 0 0 0 var(--color-brand-primary);
    color: white !important;
}
.team-member.alternate .content .link a::after,
.team-member.alternate .content .email a::before,
.team-member.alternate .content .phone span::before {
	font-family: 'Font Awesome 5 free';
	font-weight: bold;
	color: var(--color-brand-primary);
	padding-right: 10px;
}
.team-member.alternate .content .link a::after {
	content: "\f105";
	padding-right:0;
	padding-left:10px;
}
.team-member.alternate .content .email a::before {
	content: "\f0e0";
}
.team-member.alternate .content .phone span::before {
	content: "\f879";
}
.team-member.alternate .content .link a:hover::after,
.team-member.alternate .content .link a:focus::after,
.team-member.alternate .content .link a:active::after {
	color:white;
}

#team-list.hide-name  .team-member.alternate .content .name   {display:none;}
#team-list.hide-firm  .team-member.alternate .content .firm   {display:none;}
#team-list.hide-title .team-member.alternate .content .title  {display:none;}
#team-list.hide-phone .team-member.alternate .content .phone  {display:none;}
#team-list.hide-email .team-member.alternate .content .email  {display:none;}
#team-list.hide-link-bio  .team-member.alternate .content .link .link-bio  {display:none;}
#team-list.hide-link-firm .team-member.alternate .content .link .link-firm {display:none;}