/*
Theme Name: Academic Pediatric Association
Theme URI: https://www.academicpeds.org
Version: 1.0
Description: A custom child theme for APA.
Author: Yoko Co
Author URI: https://www.yokoco.com
template: bb-theme
*/

@import url("base.css");




/*****************************************************************************/
/******************************* THE BASICS **********************************/
/*****************************************************************************/

/* Set your maximum container width here. Only use the customizer width to set the width for the header */

.fl-page-content .container {
	max-width: 1100px; 
}

/* Set this to the same as you set the content width in the customizer. */

.max-fix .fl-row-fixed-width {
	max-width: 1600px; 	
}


/* Define default accent background colors. */

.bg1 {
	background-color: #4054A5; 
}

.bg2 {
	background-color: #253D60; 
}

.bg3 {
	background-color: #FCFAF7; 
}

/* How to size page banners without a featured image. */

.no-featured-image .banner-title .fl-row-content-wrap {
	padding-top: 50px; 
}

/* Define button styles. */

.fl-page button,
.fl-page .button,
.fl-page input[type=button],
.fl-page input[type=submit],
.fl-page .fl-builder-content a.fl-button,
.fl-page .fl-builder-content a.fl-button:visited,
.fl-page .wp-block-button__link,
.fl-content button,
.fl-content .button,
.fl-content input[type=button],
.fl-content input[type=submit],
.fl-content a.fl-button,
.fl-content a.fl-button:visited,
.fl-content .wp-block-button__link {
	font-family: "Rokkitt",serif;
	padding: 15px 24px;
	border: 0px; 
	border-radius: 100px;
	-moz-border-radius: 100px;
	-webkit-border-radius: 100px;
	text-decoration: none; 
	-webkit-transition: background 0.5s; 
	transition: background 0.5s;
	/* background-color: #000000; */
	/* text-transform: none; */
	/* font-weight: 700; */
}

.fl-page .reverse button,
.fl-content .reverse button,
.fl-page .reverse input[type=button],
.fl-content .reverse input[type=button],
.fl-page .reverse input[type=submit],
.fl-content .reverse input[type=submit],
.fl-page .fl-builder-content .reverse a.fl-button,
.fl-content .reverse a.fl-button,
.fl-page .fl-builder-content .reverse a.fl-button:visited,
.fl-content .reverse a.fl-button:visited,
.fl-page .reverse .wp-block-button__link,
.fl-content .reverse .wp-block-button__link {
	background-color: #fff;
	border: 3px solid #4158A1;
	color: #4158A1;
}


.fl-page .reverse button *,
.fl-content .reverse button *,
.fl-page .reverse input[type=button],
.fl-content .reverse input[type=button],
.fl-page .reverse input[type=submit],
.fl-content .reverse input[type=submit],
.fl-page .fl-builder-content .reverse a.fl-button *,
.fl-content .reverse a.fl-button *,
.fl-page .fl-builder-content .reverse a.fl-button:visited,
.fl-content .reverse a.fl-button:visited,
.fl-page .reverse .wp-block-button__link,
.fl-content .reverse .wp-block-button__link {
	color: #4158A1;
}


.fl-page .alt button,
.fl-content .alt button,
.fl-page .alt input[type=button],
.fl-content .alt input[type=button],
.fl-page .alt input[type=submit],
.fl-content .alt input[type=submit],
.fl-page .fl-builder-content .alt a.fl-button,
.fl-content .alt a.fl-button,
.fl-page .fl-builder-content .alt a.fl-button:visited,
.fl-content .alt a.fl-button:visited,
.fl-page .alt .wp-block-button__link,
.fl-content .alt .wp-block-button__link {
	background-color: #8DD163;
}


.fl-page button:hover,
.fl-content button:hover,
.fl-page input[type=button]:hover,
.fl-content input[type=button]:hover,
.fl-page input[type=submit]:hover,
.fl-content input[type=submit]:hover,
.fl-page a.fl-button:hover,
.fl-content a.fl-button:hover,
.fl-page .fl-builder-content a.fl-button:hover,
.fl-content a.fl-button:hover,
.fl-page .wp-block-button__link:hover,
.fl-content .wp-block-button__link:hover {
	color: #fff;
	border: 0px;
	/* background-color: #444444; */
	/* text-transform: none; */
}

.fl-page .reverse button:hover,
.fl-content .reverse button:hover,
.fl-page .reverse input[type=button]:hover,
.fl-content .reverse input[type=button]:hover,
.fl-page .reverse input[type=submit]:hover,
.fl-content .reverse input[type=submit]:hover,
.fl-page .fl-builder-content .reverse a.fl-button:hover,
.fl-content .reverse a.fl-button:hover,
.fl-page .reverse .wp-block-button__link:hover,
.fl-content .reverse .wp-block-button__link:hover {
	background-color: #fff;
	border: 3px solid #8DD163;
	color: #8DD163;
}


.fl-page .reverse button:hover,
.fl-content .reverse button:hover,
.fl-page .reverse input[type=button]:hover,
.fl-content .reverse input[type=button]:hover,
.fl-page .reverse input[type=submit]:hover,
.fl-content .reverse input[type=submit]:hover,
.fl-page .fl-builder-content .reverse a.fl-button:hover *,
.fl-content .reverse a.fl-button:hover *,
.fl-page .reverse .wp-block-button__link:hover,
.fl-content .reverse .wp-block-button__link:hover {
	color: #8DD163;
}


.fl-page button:hover *,
.fl-content button:hover *,
.fl-page input[type=button]:hover *,
.fl-content input[type=button]:hover *,
.fl-page input[type=submit]:hover *,
.fl-content input[type=submit]:hover *,
.fl-page a.fl-button:hover *,
.fl-content a.fl-button:hover *,
.fl-page .fl-builder-content a.fl-button:hover *,
.fl-content a.fl-button:hover * {
	color: #fff;
}


.fl-page .alt button:hover,
.fl-content .alt button:hover,
.fl-page .alt input[type=button]:hover,
.fl-content .alt input[type=button]:hover,
.fl-page .alt input[type=submit]:hover,
.fl-content .alt input[type=submit]:hover,
.fl-page .fl-builder-content .alt a.fl-button:hover,
.fl-content .alt a.fl-button:hover,
.fl-page .alt .wp-block-button__link:hover,
.fl-content .alt .wp-block-button__link:hover {
	background-color: #52AA1C;
}


.wp-block-button__link {
	margin-top: 10px; 
}

#mc_embed_signup .mc-field-group label {
	font-family: "Rokkitt",serif!important;
}

#mc_embed_signup .nowrap,
#mc_embed_signup .indicates-required {
	font-family: "IBM Plex Sans",sans-serif;
}

#mc_embed_signup .button {
	background-color: #8DD163!important;
	border-radius: 100px!important;
}

@media screen and (min-width: 768px) {
		.larger h2 {
		font-size: 48px; 
		color: #4054A5; 
	}
}

/*****************************************************************************/
/********************************* HEADER ************************************/
/*****************************************************************************/

.fl-page-bar {
	border: 0px; 
}

.fl-page-header-primary {
	position: relative; 
	z-index: 99; 
}

.fl-page-nav-right .fl-page-header-wrap {
	border-bottom: 0px; 
}

.fl-page-bar .fl-social-icons i.fas, .fl-page-bar .fl-social-icons i.fab {
	margin-right: 2px; 
}

.fl-page-nav-search form {
	background-color: #fff; 
}

.fl-page-nav-search form input.fl-search-input {
	border-color: #ddd; 
	background-color: #fff; 
	color: #333!important; 
}

.fl-page-header-fixed .fl-page-logo-wrap {
	width: 15%; 
}

.fl-page-fixed-nav-wrap {
	width: 85%; 
}

.fl-page-header-fixed .fl-page-nav .navbar-nav a {
	text-transform: none; 
	font-size: 13px; 
    letter-spacing: -0.5px;
}


.fl-page-header-fixed .fl-page-nav .navbar-nav a br {
	display: none; 
}

.custom-subtitle h4 {
	font-weight: 400; 
    font-family: "IBM Plex Sans",sans-serif;
	color: #888; 
	text-align: center; 
}

@media screen and (min-width: 768px) {
	.navbar-default #menu-primary-navigation-1 > li a {
		max-width: 150px; 
	}


	.navbar-default #menu-primary-navigation-1 > li li a {
		max-width: 100%;
	}

	.navbar-default .fl-page-nav-search {
		margin-top: 10px; 
	}
}

.mobile-nav-search {
	margin-top: 10px; 
}

.mobile-nav-search label {
	width: 82%; 
	display: block; 
	float: left; 
}
.mobile-nav-search input[type=search] {
	
}

.mobile-nav-search button {
	background: rgba(0,0,0,0);
	padding: 6px 20px; 
}

.fl-page-nav-toggle-icon.fl-page-nav-toggle-visible-mobile .fl-page-nav-collapse ul.navbar-nav>li:last-of-type {
	border: 0px; 
}

.fl-page-header-container {
	padding: 10px 0;
}


/*****************************************************************************/
/********************************* FOOTER ************************************/ 
/*****************************************************************************/

.footer-main {
		font-size: 14px; 
}

.footer-main .fl-row-content-wrap .menu .fl-has-submenu .sub-menu {
	display: none; 
}

.footer-main .fl-menu-toggle {
	display: none; 
}

.footer-sub {
	font-size: 13px; 
}

.footer-sub {
	color: #A9B9EB; 
}

.footer-sub a {
	color: #A9B9EB; 
}

.footer-main .menu a {
	padding-left: 0px; 
		font-size: 14px; 
	padding: 8px 8px 8px 0px; 
}

.footer-main a:hover {
	text-decoration: underline; 
}



/*****************************************************************************/
/******************************* COMPONENTS **********************************/
/*****************************************************************************/

.home-banner .fl-col-small {
    width: 50%;
    float: left;
    min-height: 1px;
}

.home-banner .fl-col-group.fl-col-group-equal-height {
	display: flex;
}

.sig-grid .fl-post-grid-post {
	border-top: 5px solid #4054A5; 
}

.apa-post-banner .fl-post-feed-post {
	border: 1px solid #ddd; 
	padding: 40px;
}

.apa-post-banner .fl-post-feed-text {
	padding-top: 50px; 
	padding-right: 20px; 
}

.fl-col-group-equal-height, .fl-col-group-equal-height .fl-col, .fl-col-group-equal-height .fl-col-content {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}


.fl-post-feed .fl-post-feed-post  h2, .fl-post-grid .fl-post-grid-post h2 {
	margin-bottom: 0px; 
}

.fl-post-feed h2 a, .fl-post-grid h2 a {
	font-weight: 400; 	
	color: #4158A1; 
	font-size: 30px; 
}

.apa-post-grid .fl-post-grid-post {
	border: 0px; 
}

.apa-post-grid .fl-post-grid-text {
	padding: 20px 0px; 
}

.fl-post-feed-terms, .fl-post-grid-terms {
	color: #aaa; 
}

.fl-post-feed .fl-post-feed-terms a, .fl-post-grid .fl-post-grid-terms a {
	color: #aaa;
	text-transform: uppercase; 
	font-size: 11px; 
}


h3, h3 a {
	font-weight: 400; 
	color: #4158A1; 
}

blockquote, .fl-page .fl-content .wp-block-quote {
	padding: 20px; 
	border: 4px solid #eee; 
	border-left: 4px solid #eee; 
	font-size: 1.3em; 
}

.search-results .fl-post-feed-content {
	color: #888; 
}

.fl-post-feed-post {
	padding-bottom: 40px; 
}

.blog-sidebar .fl-widget + .fl-widget {
	border-top: 1px solid #ddd; 
	padding-top: 30px; 
}

h2.widgettitle {
	font-size: 21px; 
}

.widget_recent_entries li + li {
	margin-top: 15px; 
}

.widget_recent_entries .post-date {
	display: block; 
	font-size: 13px;
	opacity: 0.5; 
}

.post-meta-category, .post-meta-author, .fl-post-feed-meta {
	color: #888; 
}

.post-sharing {
	text-align: right; 
	color: #888; 
}

.preshare-text {
	display: inline; 
}

.addtoany_shortcode {
	float: right; 
	margin-left: 10px; 
}

.header-content-col {
	border-bottom: 1px solid #eee; 
}

.breadcrumbs {
	font-size: 13px; 
	opacity: 0.5; 
	text-align: center; 
}

.side-article-feed, .article-feed-item {
	list-style-type: none; 
	padding: 0px; 
	margin: 0px; 
}

.side-article-feed .addtoany_content {
	display: none; 
}

.article-feed-item {
	margin-bottom: 30px; 
}

.article-feed-item h4 {
	margin-bottom: 2px; 
}

.article-feed-item .article-date {
	font-size: 14px; 
	color: #888; 
	margin-bottom: 10px; 
}

.article-feed-item .article-more {
	font-size: 14px; 
}

.fl-module-sidebar .fl-widget {
	box-shadow: 0px 0px 20px rgba(0,0,0,0.1); 
	-moz-box-shadow: 0px 0px 20px rgba(0,0,0,0.1); 
	-webkit-box-shadow: 0px 0px 20px rgba(0,0,0,0.1); 
	padding: 20px; 
}

.fl-widget + .fl-widget {
	margin-top: 30px; 
}

.floating-box-featured-image .fl-row-content-wrap {
	border-top: 8px solid #8dd163;
}

.inline-cta {
	border: 1px solid #eee; 
	border-top: 8px solid #8DD163;
	box-shadow: 0px 0px 16px rgba(0,0,0,0.1);
	-moz-box-shadow: 0px 0px 16px rgba(0,0,0,0.1);
	-webkit-box-shadow: 0px 0px 16px rgba(0,0,0,0.1);
}

.footer-cta-row .fl-row-content {
	border-top: 8px solid #8DD163;
}

.sidebar-cta-block {
	background: #4054A5;
	border-top: 8px solid #8DD163;
}

.sidebar-cta-block button {
	background-color: #8DD163;
}

/*****************************************************************************/
/**************************** CUSTOM POST TYPES ******************************/
/*****************************************************************************/

.team-grid-meta {
	opacity: 0.5; 
}

.bio-meta {
	opacity: 0.5; 
	font-weight: 400; 
}

.bio-meta h2, .bio-meta h3, .bio-meta h4, .bio-meta h5, .bio-meta h6 {
	font-weight: 400; 
}

.tribe-events-meta-group .tribe-events-single-section-title {
	font-size: 24px; 
}

.tribe-venue {
	font-weight: 700; 
}

.tribe-events-cal-links .tribe-events-button {
	border-radius: 30px;
	-moz-border-radius: 30px;
	-webkit-border-radius: 30px;
}

#tribe-events .tribe-events-button, #tribe-events .tribe-events-button:hover, #tribe_events_filters_wrapper input[type=submit], .tribe-events-button, .tribe-events-button.tribe-active:hover, .tribe-events-button.tribe-inactive, .tribe-events-button:hover, .tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-], .tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-]>a {
	background-color: #555; 
}

.tribe-events-page-title {
	text-align: left; 	
}

.reusable-header {
	padding: 20px; 
}

.reusable-header h2 {
	color: #bbb; 
}

.job-category-link {
	font-size: 12px; 
	margin-bottom: 8px; 
}

.job-feed-grid .fl-post-grid-post {
	border-top: 4px solid #8DD163; 
}

.job-filters .facetwp-dropdown {
	width: 100%; 
	max-width: 300px; 
}

.facetwp-sort {
	text-align: right; 
}

@media screen and (min-width: 767px) {
	.archive-board .fl-post-image {
		max-height: 260px; 
		overflow: hidden; 
	}
}

.ecs-events:after {
  display: table;
  clear: both;
  content: '';
}

@media screen and (min-width: 768px) {
	.ecs-event {
		width: calc((100% - 40px * 2) / 3);
		margin-right: 40px; 
		float: left; 
	}
}
.ecs-event h2 {
	font-size: 24px; 
}

.ecs-event .tribe-street-address, .ecs-event .tribe-postal-code {
	display: none; 
}

.ecs-event .ecs-venue-details {
	font-size: 14px; 
}
/*****************************************************************************/
/********************************** FORMS ************************************/
/*****************************************************************************/

.gform_wrapper label.gfield_label, .gform_wrapper legend.gfield_label {
	font-weight: 400; 
}

body .gform_wrapper ul li.gfield {
	margin-top: 20px;
}

.gform_wrapper {
    border: 1px solid #ddd;
    padding: 10px 18px 30px 32px;
	border-radius: 6px; 
	-moz-border-radius: 6px; 
	-webkit-border-radius: 6px; 
}

.gform_wrapper .top_label li.gfield.gf_left_half .ginput_container:not(.gfield_time_hour):not(.gfield_time_minute):not(.gfield_time_ampm):not(.ginput_container_date):not(.ginput_quantity):not(.datepicker), .gform_wrapper .top_label li.gfield.gf_right_half .ginput_container:not(.gfield_time_hour):not(.gfield_time_minute):not(.gfield_time_ampm):not(.ginput_container_date):not(.ginput_quantity):not(.datepicker) {
	margin-top: 4px; 
}

/*****************************************************************************/
/****************************** MEDIA QUERIES ********************************/ 
/*****************************************************************************/

@media only screen and (max-width: 1100px) and (min-width: 992px) {
	
}



/****************************** IPAD LANDSCAPE ********************************/ 

@media only screen and (max-width: 1024px) {
	
}


/********************************* BB MEDIUM **********************************/ 

@media only screen and (max-width: 1024px) {
	.trans-banner .fl-row-content-wrap {
		margin-top: 0px; 
	}
}




/****************************** IPAD PORTRAIT ********************************/ 

@media only screen and (max-width: 769px) and (min-width: 768px) {
	
}



/******************************* SMARTPHONE **********************************/ 

@media only screen and (max-width: 767px) {
	h1 {font-size: 30px;}
	h2 {font-size: 24px;}
	h3 {font-size: 21px;}
	h4,h5,h6 {font-size: 18px;}
	.fl-page-header-logo img {
		max-height: 44px; 
		width: auto; 
	}
	
	.fl-page-nav-toggle-icon.fl-page-nav-toggle-visible-mobile .fl-page-nav .navbar-toggle {
		font-size: 29px; 
		line-height: 26px; 
		margin-top: 6px; 
	}
	.footer-sub .fl-rich-text p {
		text-align: center; 
	}
	.fl-page-bar {display: none;}
	.post-sharing, .addtoany_shortcode {
		text-align: left; 
	}
	.addtoany_shortcode, .preshare-text {
		float: left; 
	}
	.team-grid .person {
    max-width: 300px;
    margin: 0 auto;
	}
	.fl-page-nav-toggle-icon.fl-page-nav-toggle-visible-mobile .fl-page-nav .navbar-toggle * {
		color: #4054A5; 
	}
	.fl-submenu-toggle .fl-page-nav-toggle-icon.fl-page-nav-toggle-visible-mobile .fl-page-nav ul.navbar-nav li a br {
	 	display: none; 
	}
}