/*
Theme Name: America's Blood Centers
Theme URI: https://americasblood.org
Version: 1.0
Description: A custom child theme for America's Blood Centers
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: #054483; 
}

.bg2 {
	background-color: #EDF3F9; 
}

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

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

/* Define button styles. */

button, input[type=button], input[type=submit], .fl-builder-content a.fl-button, .fl-builder-content a.fl-button:visited, .wp-block-button__link, .button {
	padding: 12px 24px;
	border: 0px; 
	border-radius: 50px; 
	-moz-border-radius: 50px; 
	-webkit-border-radius: 50px; 
	background: #054483;
	margin-bottom: 10px;
}

.fl-builder-content .invert a.fl-button, .fl-builder-content .invert a.fl-button:visited {
	background: #fff; 
}

.fl-builder-content .invert a.fl-button *, .fl-builder-content .invert a.fl-button:visited * {
	color: #054483; 
}

.fl-builder-content .invert a.fl-button:hover {
	background: #054483; 
}


.button, button.alt-button, input[type=button].alt-button, input[type=submit].alt-button, .fl-builder-content .alt-button a.fl-button, .fl-builder-content .alt-button a.fl-button:visited  {
	background: #022547; 	
}

.button:hover, button:hover, input[type=button]:hover, input[type=submit]:hover, a.fl-button:hover, .fl-builder-content a.fl-button:hover, .wp-block-button__link:hover, .fl-builder-content .alt-button a.fl-button:hover {
	color: #fff; 
	border: 0px; 
	background: #A90000;
}

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

.fl-widget .button {
	margin-top: 15px; 
	display: inline-block; 
}


.fl-widget .button:hover {
	background: #054483; 
}

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

#mc_embed_signup .button {
	background-color: #0F5DA9!important;
	border-radius: 50px!important;
}

.tribe-events-event-url-label {
	display: none;
}

.tribe-events-event-url {
	margin: 20px 0!important;
}

.tribe-events-event-url .button {
	color: #fff;
}

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

.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; 
}

.custom-subtitle h3 {
	font-weight: 400; 
}

.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-bar {
	border-bottom: 0px; 
}

.fl-page-bar .fl-social-icons {
	margin-top: 3px; 
}

.fl-page-bar .navbar-nav li.top-highlight>a {
	background: #59A1EA; 
	padding: 6px 18px; 
	font-weight: 700; 
}


.fl-page-bar .navbar-nav li.top-highlight>a:hover {
	background: #A90000; 
	color: #fff; 
}

.fl-page-bar .navbar-nav li.blue-button>a {
	background: #A90000;
	padding: 6px 18px; 
	font-weight: 700; 
}


.fl-page-bar .navbar-nav li.blue-button>a:hover {
	background: #59A1EA; 
	color: #fff; 
}

.fl-page-bar .fl-page-bar-container {
	max-width: 100%; 
}

.fl-page-bar .row {
	margin: 0px; 
	padding: 0px; 
}

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

.fl-page-bar .text-right {
	padding-right: 10px; 
}

.banner-title .fl-row-content-wrap {
	background-blend-mode: multiply;
}

.home-dual-banner .alt-button a.fl-button {
	background-color: #59A1EA!important; 
}

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

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

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

.footer-main .menu a {
	padding: 10px 0px; 
}

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

.footer-main .top-highlight {
	display: none; 
}



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

.icon-top .fl-icon {
	vertical-align: top; 
}

.bigger h2 {
	font-size: 48px; 
}

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

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

.blog-sidebar .fl-widget + .fl-widget {
}

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; 
}

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

.ecs-grid .ecs-wrap {
	box-shadow: 0px 0px 12px rgba(0,0,0,0.1);
	-moz-box-shadow: 0px 0px 12px rgba(0,0,0,0.1);
	-webkit-box-shadow: 0px 0px 12px rgba(0,0,0,0.1);
	border-radius: 6px; 
	-moz-border-radius: 6px; 
	-webkit-border-radius: 6px; 
	border: 1px solid #eee; 
}

.ecs-grid .ecs-wrap img {
	border-top-left-radius: 6px; 
	border-top-right-radius: 6px; 
}

.ecs-grid .ecs-event-title {
	font-size: 21px; 
}

.ecs-grid .ecs-date {
	color: #888; 
}

.fl-module-content .compact.compact-1 .ecs-event .date_thumb {
	color: #054483; 
	background-color: #EDF3F9;
}

.ecs-grid .ecs-wrap .summary {
	padding: 0px 20px 20px; 
}


.advanced-sidebar-menu {
	background-color: #EDF3F9; 
	padding: 12px 20px; 
	border-radius: 6px; 
	-moz-border-radius: 6px; 
	-webkit-border-radius: 6px; 
	font-size: 21px; 
}

.parent-sidebar-menu .child-sidebar-menu {
	margin-top: 15px; 
	font-size: 16px; 
}

.parent-sidebar-menu .child-sidebar-menu li {
	padding-left: 15px; 
	border-top: 1px solid #d9e2ea; 
	padding-top: 7px; 
	margin-top: 5px; 
}

.parent-sidebar-menu .current_page_item > a {
	font-weight: 700; 
	color: #333;
}

.parent-sidebar-menu .current_page_parent > a {
	margin-bottom: 10px; 
}

.sidebar-find-blood-center {
	background-color: #A90000; 
	background-image: url('/wp-content/uploads/2019/02/bg-droplets-red-small.png');
	background-size: 200%;
	padding: 12px 20px; 
	border-radius: 6px; 
	-moz-border-radius: 6px; 
	-webkit-border-radius: 6px; 
}

.stat-counter .fl-number .fl-number-text, .stat-counter .fl-number .fl-number-circle-container {
	text-align: left; 
}

.simple-sidebar-item {
	border: 1px solid #eee;
    border-radius: 6px;
    padding: 10px 20px 20px;
	margin-top: -20px;
}

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

.team-grid-title {
	margin-bottom: 20px; 
	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; 	
}

.job-list .fl-post-feed-post {
	padding-bottom: 0px; 
	margin-bottom: 20px; 
}

/*****************************************************************************/
/********************************** 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; 
}

/*****************************************************************************/
/****************************** STORE LOCATOR ********************************/ 
/*****************************************************************************/

.wpsl-search {
	background: #EDF3F9;
}

#wpsl-search-wrap div label {
	line-height: 38px;
}

#wpsl-category, .wpsl-input, .wpsl-select-wrap {
	margin-bottom: 6px;
}

#wpsl-search-btn {
    font-size: 16px;
    line-height: 18px;
    padding: 10px 24px;
    border-radius: 34px!important;
    -moz-border-radius: 34px!important;
    -webkit-border-radius: 34px!important;
    color: #fff!important;
    background: #0F5DA9;
    border: 1px solid #0F5DA9!important;
    height: auto!important;
    margin-bottom: 15px;
}


#wpsl-search-btn:hover {
	background: #A90000;
	border: 1px solid #A90000!important;
}

.wpsl-search .wpsl-input label, .wpsl-search #wpsl-search-wrap div label {
	width: 110px; 
	text-align: right; 
}

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

@media only screen and (max-width: 1100px) and (min-width: 992px) {
	
}
@media screen and (min-width: 1200px) {
	.home-main-header h1 {
		font-size: 40px; 
		font-weight: 700; 
	}
}


/****************************** 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, .bigger h2 {font-size: 24px;}
	h3 {font-size: 21px;}
	h4,h5,h6 {font-size: 18px;}
	.fl-page-header-primary .fl-logo-img {
		max-height: 60px!important; 
		width: auto!important;
	}
	.no-featured-image .banner-title .fl-row-content-wrap {
	padding-top: 80px; 
		background-position: right;
	}
	.fl-page-nav-toggle-icon.fl-page-nav-toggle-visible-mobile .fl-page-nav .navbar-toggle {
		top: 15px; 
	}
	.fl-page-nav-toggle-icon.fl-page-nav-toggle-visible-mobile .fl-page-nav .navbar-toggle {
		font-size: 29px; 
		line-height: 26px; 
		margin-top: 4px; 
	}
	.bio-photo img {
		max-width: 220px; 
		display: block; 
		margin: 0 auto; 
	}
	.footer-main .fl-menu-toggle {
		display: none; 
	}
	.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; 
	}
}