/*
Theme Name: Superintendent Search - Beaver Builder Child Theme
Theme URI: https://vexingmedia.com
Version: 1.0
Description: Website theme designed by Vexing Media for Northwest Leadership Associates
Author: Vexing Media
Author URI: https://vexingmedia.com
template: bb-theme
*/

/*** MISC ***/

/* Headings */
h2 {
	color: #00a886;
}

h3 {
	color: #395083;
	font-family: "Work Sans",sans-serif;
}

h4 {
	color: #725f4e;
	font-family: "Work Sans",sans-serif;
}

/* Remove Bottom Margin From Last P in BB Text Module */
.fl-rich-text p:last-child {
   margin-bottom: 0;
}

/* Underline Body Links */
#fl-main-content a {
	text-decoration: underline;
}

#fl-main-content h1 a,
#fl-main-content h2 a,
#fl-main-content h3 a,
#fl-main-content h4 a,
#fl-main-content h5 a,
#fl-main-content h6 a,
#fl-main-content a.fl-button,
#fl-main-content .wp-block-button a {
	text-decoration: none;
}

/* BB Button Alternate Styles */
.fl-page .btn-white a.fl-button {
	background: none;
	color: #f9fafa;
	border-color: #f9fafa;
}

.fl-page .btn-white a.fl-button span {
	color: #f9fafa;
}

.fl-page .btn-white a.fl-button:hover {
	background: #f9fafa;
}

.fl-page .btn-white a.fl-button:hover span {
	color: #725f4e;
}

/*** Header ***/
header {
	background-color: #fff;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center, right center;
	background-image: url(https://beta.superintendentsearch.com/wp-content/uploads/2024/01/bg-header-internal.jpg), url(https://beta.superintendentsearch.com/wp-content/uploads/2024/01/bg-header-star.gif);
}

body.home header {
	background-image: url(https://beta.superintendentsearch.com/wp-content/uploads/2024/01/bg-header-home.jpg), url(https://beta.superintendentsearch.com/wp-content/uploads/2024/01/bg-header-star.gif);
}

@media screen and (max-width: 768px) {
	header,
	body.home header {
		background-image: none;
		background: #fff;
	}
}

body.home header .header-logo {
	margin-top: 40px;
	margin-bottom: 40px;
}

@media screen and (max-width: 768px) {
	body.home header .header-logo {
		margin-top: 20px;
		margin-bottom: 20px;
	}
}

#menu-main-menu li:first-child a {
	font-size: 1.6em;
}

/*** Footer ***/

footer .contact-info a {
	margin-left: 5px;
	margin-right: 10px;
}

footer .contact-info i.fa-linkedin {
	font-size: 1.4em;
}

/*** Home Page ***/

/* Banner-Style Headings */
body:not(.fl-builder-edit) .h_banner-row {
	overflow: hidden;
}

.h_banner-left,
.h_banner-right {
	position: relative;
}

.h_banner-left .fl-module-content:before,
.h_banner-right .fl-module-content:before {
	content: '';
	height: 100%;
	width: 100vw;
	background: #00a886;
	position: absolute;
	z-index: 1;
}

.h_banner-left .fl-module-content:before {
	top: 0;
	right: -60px;
	border-radius: 0 0 10px 0;
}

.h_banner-right .fl-module-content:before {
	top: 0;
	left: -60px;
	border-radius: 0 0 0 10px;
}

.h_banner-left h1, .h_banner-left h2,
.h_banner-right h2 {
	color: #fff;
	position: relative;
	z-index: 100;
}

@media screen and (max-width: 768px) {
	.h_banner-left .fl-module-content:before,
	.h_banner-right .fl-module-content:before {
		left: 0;
		right: 0;
		border-radius: 0 0 0 0;
	}
}

/*** Interior Pages ***/

/* Current Openings */
.listings-list {
	display: flex;
	flex-wrap: wrap;
}

#fl-main-content .listings-list .listing-item {
	flex: 0 1 calc(50% - 20px);
	background: #fff;
	margin: 0 20px 20px 0;
	padding: 20px;
	border-radius: 8px;
	border: 3px solid #725f4e;
	box-shadow: 7px 7px 0 0 #725f4e;
	display: flex;
	flex-direction: column;
	color: #725f4e;
}

#fl-main-content #home-listings .listings-list .listing-item {
	flex: 0 1 calc(33% - 20px);
}

#fl-main-content #sidebar .listings-list .listing-item {
	flex: 0 1 100%;
	margin-right: 0;
}

@media screen and (max-width: 768px) {
	#fl-main-content .listings-list .listing-item {
		flex-basis: 100%;
		margin-right: 5px;
	}
	
	#fl-main-content #home-listings .listings-list .listing-item {
		flex-basis: 100%;
	}
}

.listing-item .listing-title {
	font-weight: bold;
	margin-bottom: 5px;
	font-size: 1.2em;
}

#fl-main-content .listing-item .listing-title a {
	text-decoration: none;
	color: #725f4e;
}

.listing-item .listing-district,
.listing-item .listing-excerpt {
	margin-bottom: 10px;
}

#fl-main-content .listing-item .listing-link a {
	text-decoration: underline;
}

#fl-main-content .listing-item .listing-link a:hover {
	text-decoration: none;
}

.listing-item .listing-button {
	text-align: center;
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	margin-top: 20px;
}

#fl-main-content .listing-item .listing-button a {
	background: transparent;
	text-align: center;
	padding: 0.6em 2.2em;
	text-decoration: none;
	display: inline-block;
	border: 2px solid #395083;
	border-radius: 8px;
	margin: 0 auto;
	color: #395083;
}

#fl-main-content .listing-item .listing-button a:hover {
	background: #395083;
	color: #fff;
}

/* Consultants */
.consultant {
	border: 0;
}

.consultant img {
	margin-bottom: 20px;
}

/* Clients */
.client-item {
	border: 0;
}

/* Contact */
.contact-info .fl-html {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.contact-info a,
.contact-info i {
	line-height: 1;
}

.contact-info a {
	text-decoration: underline;
}

.contact-info a.social {
	font-size: 1.6em;
}

.contact-info i {
	margin: auto 3px auto 12px;
}

@media screen and (max-width: 768px) {
	.contact-info .fl-html {
		justify-content: center;
	}
	
	header span.contact-linkedin {
		display: none;
	}
	
	footer .contact-info .fl-html {
		flex-direction: column;
	}
	
	footer .contact-info .fl-html span {
		margin-bottom: 20px;
	}
	
	footer .contact-info .fl-html span:last-of-type {
		margin-bottom: 0;
	}
}

/*** Sidebar ***/

/* Sidebar Listings */
.sidebar-listings .fl-post-feed {
	display: flex;
	flex-wrap: wrap;
}

#fl-main-content .sidebar-listings .listing-item {
	width: 100%;
	flex: 1 1 auto;
	margin: 0 0 20px 0;
}



/*
@media screen and (min-width: 993px) {}

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

@media screen and (max-width: 768px) {}
*/