/*
Theme Name: JA Sewell
Theme URI: https://vexingmedia.com
Version: 1.0
Description: Website theme designed by Vexing Media for JA Sewell
Author: Vexing Media
Author URI: https://vexingmedia.com
template: bb-theme
*/

/*** Header ***/

/* Logo */
header {
/* 	overflow: hidden; */
}

#header-logo-col::before {
    content: '';
    background: #fff;
    width: 100%;
    height: 150%;
    display: block;
    position: absolute;
    top: -50%;
    left: -90%;
}

#header-logo {
	background: #fff;
	border-radius: 50%;
	position: absolute;
	z-index: 1;
	width: 225px;
	padding: 25px 25px 0 25px;
  transform: translate(-10%, -30%);
}

body.home #header-nav-col {
	width: 100%;
}

/* Highlight Active/Hover Menu Items */
/*
#menu-main-menu li a:hover,
#menu-main-menu li.current-menu-item > a,
#menu-main-menu li.current-menu-item > div > a,
#menu-main-menu li.current_page_ancestor > div > a {
	color: #0f0;
}
*/
#menu-main-menu .sub-menu li {
	border: 0;
}

/* Equal Width Nav */
@media screen and (min-width: 769px) {
	#menu-main-menu {
		display: flex;
		justify-content: center;
		width: 100%;
	}

	#menu-main-menu > li {
		flex: 1 0 auto;
	}
/*
	#menu-main-menu .fl-has-submenu-container > a:after {
		content: "";
		display: inline-block;
		width: 9px;
		height: 9px;
		position: relative;
		left: 10px;
		border-right: 2px solid;
		border-bottom: 2px solid;
		-webkit-transform-origin: right bottom;
		-ms-transform-origin: right bottom;
			transform-origin: right bottom;
		-webkit-transform: translateX( -5px ) rotate( 
	45deg
	 );
		-ms-transform: translateX( -5px ) rotate( 45deg );
		transform: translateX( -5px ) rotate( 
	45deg
	 );
	}
	
	#menu-main-menu .fl-has-submenu-container .fl-menu-toggle {
		display: none;
	}
*/
}

@media screen and (min-width: 993px) and (max-width: 1057px) {
	#menu-main-menu > li {
		font-size: 1.05em;
	}
}

@media (max-width: 992px) {
	#header-nav-col nav .fl-menu-mobile-flyout {
		background: #333;
	}
	
	#menu-main-menu .sub-menu > li > a {
		font-weight: 100;
	}
}

/*** Footer ***/

#footer-logo {
	position: absolute;
	left: 50%;
	top: -125%;
	transform: translatex(-50%);
	z-index: 1;
}

#footer-logo img {
	width: 150px;
	background: #fff;
	border-radius: 50%;
	padding: 10px;
}

@media screen and (max-width: 768px) {
	#footer-logo {
		top: -115%;
	}
}

/*** Home Page ***/

.home-project-fallback_img {
	background: #fff;
	height: 100%;
	width: 100%;
	display: block;
	text-align: center;
	padding: 20px 0 60px;
}

.home-project-fallback_img img {
	max-width: 250px;
}

@media screen and (min-width: 769px) {
	#home-masthead-row {
		position: relative;
		overflow: hidden;
	}

	#home-masthead-row .fl-col {
		position: relative;
	}

	.home-masthead-logo:before {
		content: '';
		width: 150%;
		height: 150%;
		position: absolute;
		top: -25%;
		left: -20%;
		border-radius: 50%;
		display: block;
		background: #fff;
	}

	.home-masthead-logo img {
		width: 85%;
		position: relative;
		left: -10%;
	}
}

@media screen and (max-width: 768px) {
	#home-masthead-row {
		overflow: hidden;
	}
	
	#home-masthead-row .logo-col {
		padding-bottom: 30%;
	}

	.home-masthead-logo {
		background: #fff;
    border-radius: 50%;
    width: 120% !important;
    padding: 20px 0 0 0;
    position: absolute;
    z-index: 1;
	}

	.home-masthead-logo img {
		width: 40%;
	}
}

/* Project Pod */

.home-project-item {
	position: relative;
}

.home-project-overlay {
	background: rgba(255,255,255,0.8);
	position: absolute;
	z-index: 1;
	bottom: 0;
	width: 100%;
	padding: 15px;
	display: flex;
	align-content: center;
	justify-content: space-between;
	align-items: center;
}

.home-project-item .home-project-overlay h3 {
	color: #333;
	font-size: 1em;
	font-weight: 500;
	display: inline;
	margin: 0;
}

.home-project-item .home-project-overlay .project-summary-link,
.home-project-item .home-project-overlay .project-summary-link a {
	color: #b20838 !important;
	font-size: 0.9em;
}

.home-project-item .home-project-overlay .project-summary-link span {
	display: block;
	width: 35%;
}

/*** Interior Pages ***/

.staff-member-item {
	border-bottom: 0;
}

/* Project Summaries */
#project-summaries .fl-post-grid-post {
	border: 0;
}

#project-summaries h2 {
	font-size: 1.4em;
	line-height: 1.2em;
	margin-top: 5px;
}

.project_summary-fallback_img {
    display: block;
    text-align: center;
}

.project_summary-fallback_img img {
	max-width: 64%;
}

.fl-post-grid #infscr-loading {
	bottom: -50px;
	z-index: 1000;
}

/* Project Singular */
#project-quote {
	background: #b20838;
	border-radius: 10px;
	padding: 20px;
	font-size: 1.1em;
	font-weight: 600;
	position: relative;
}

@media screen and (max-width: 768px) {
	#project-quote {
		margin: 0 20px;
	}
}

#project-quote .fl-module-content {
	position: relative;
	z-index: 100;
	color: #fff;
}

#project-quote::before {
	content: '\f10d';
	font-family: "Font Awesome 5 Free";
	font-weight: 600;
	color: rgba(255,255,255,0.3);
	font-size: 5em;
	position: absolute;
	top: -0.1em;
	left: -0.1em;
	line-height: 0.8em;
	z-index: 1;
}

#project-quote::after {
	content: '\f10e';
	font-family: "Font Awesome 5 Free";
	font-weight: 600;
	color: rgba(255,255,255,0.3);
	font-size: 5em;
	position: absolute;
	bottom: -0.1em;
	right: -0.1em;
	line-height: 0.8em;
	z-index: 1;
}

.project_contact_name {
	font-size: 1.2em;
	margin-bottom: 10px;
}

/*** Sidebar ***/

/*** MISC ***/

body:not(.home) #fl-main-content .fl-row-content-wrap {
	background-color: #fff;
}

body.home .fl-page-content {
	background-color: #fff;
}

.bg-red {
	background: #b20838;
}

.bg-red h2 span {
	color: #fff;
}

.reticle-heading {
	position: relative;
	padding-left: 50px;
}

.reticle-heading:before {
	content: '';
	background: url(https://jasewell.com/wp-content/uploads/2022/11/reticle.png);
	background-size: cover;
	height: 45px;
	width: 45px;
	display: block;
	position: absolute;
	top: 50%;
	left: 15px;
	transform: translatey(-50%);
}

/* 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-gray a.fl-button {
	background: #e5e3e4;
	color: #b20838;
	border-color: #b20838;
}

.fl-page .btn-gray a.fl-button span {
	color: #b20838;
}

.fl-page .btn-gray a.fl-button:hover {
	background: #b20838;
}

.fl-page .btn-gray a.fl-button:hover span {
	color: #e5e3e4;
}




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

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

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