/*
Theme Name: BayBridge Capital Advisors
Author: SoFla Web Studio
Author URI: https://www.soflaweb.com/
*/

html {
	overflow-x: hidden;
}
body {
	font-size: 16px;
	line-height: 32px;
	color: #0a0505;
	font-family: 'Open Sans', sans-serif;
	padding: 0;
	margin: 0;
}
.wrapper {
	width: 1367px;
	margin: 0 auto;
	clear: both;
	position: relative;
}
.wrapper.subpage {
	padding: 50px 0;
}
a img {
	border: none;
}
a {
	text-decoration: none;
	color: #1c2472;
	-webkit-transition-duration: .25s;
	transition-duration: .25s;
}
a:hover {
	text-decoration: underline;
}
h1 {
	font-size: 38px;
	font-weight: 800;
	padding-bottom: 10px;
	color: #02538b;
}
h2 {
	font-size: 24px;
	color: #1c2472;
	font-weight: 500;
	margin-bottom: 26px;
}
h3 {
	padding-top: 20px;
}
h1, h2, h3 {

}
h1.subpageHeading {
	color: #fff;
	margin-top: 100px;
	font-weight: 500;
	font-size: 45px;
	position: absolute;
	top: 170px;
	left: 0;
	z-index: 4;
	text-shadow: 2px 1px rgba(0, 0, 0, 0.8);
}
.subpage ul {
	margin-top: -10px;
}
#subpage {
	box-shadow: inset 0 18px 10px -12px rgba(0, 0, 0, 0.4);
	min-height: 600px;
}
#header {
	width: 100%;
	height: 160px;
	position: absolute;
	z-index: 3;
}
#mainImage {
	width: 100%;
	height: 400px;
	position: relative;
	overflow-x: hidden;
	background-size: cover;
	overflow: hidden;
}
body.home #mainImage {
	height: 55vw;
}
#videoBG {
	z-index: -99999;
	position: absolute;
	width: 100%;
	height: 56vw;
	top: -10px;
	left: 0;
}
#overlaySlider {
	background: url(images/overlay-slider.png) 0 0 repeat;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 60vw;
	pointer-events: none;
	opacity: .5;
	z-index: 1;
}
#overlayBlue {
	background: url(images/overlay-blue.png) 0 0 repeat-x;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 60vw;
	pointer-events: none;
	opacity: 1;
	z-index: 2;
}
#mainLogo {
	width: 200px;
	height: 95px;
	background: url(images/logo-main.png) 0 0 no-repeat;
	background-size: 200px 95px; 
	display: inline-block;
	margin: 45px 0 0;
}
span.noShow {
	display: none;
}
#mainNav {
	height: 50px;
	padding-top: 5px;
	float: right;
}
#mainNav a:hover {
	text-decoration: none;
}
#mainNav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 15px;
	font-weight: 400;
	margin: 60px 0 0;
	text-transform: uppercase;
}
#mainNav ul li {
	display: inline;
	margin: 0 15px 0 0;
	padding: 0 0 0 20px;
}
#mainNav ul li:first-child {
	margin-left: 0;
	border-left: 0;
}
#mainNav ul li a {
	color: white;
	padding-top: 8px;
}
#mainNav ul li a:hover {

}

#mainNav ul li a {
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  padding-bottom: 10px;
}


#mainNav ul li a::before {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.9);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}

#mainNav ul li a:hover::before {
  transform: scaleY(1);
}
#shiftnav-toggle-main {
	top: 50px !important;
	right: 40px !important;	
}
body.shiftnav-open #shiftnav-toggle-main {
	right: 0 !important;;
}

#topNav {
	width: 100%;
	height: 33px;
	background: #000;
	font-size: 13px;
	font-weight: 100;
	float: left;
}
#topNav ul {
	list-style: none;
	color: #fff;
	margin: 3px 0 0;
	padding: 6px 10px 0 0;
	text-transform: uppercase;
	float: right;
}
#topNav ul li {
	float: left;
	display: inline;
	padding: 0 10px;
	border-left: 1px solid #fff;
	height: 15px;
	line-height: 15px;
}
#topNav ul li:first-child {
	border: none;
}
#topNav ul li a {
	text-decoration: none;
	color: #fff;
}
#topNav ul li a:hover {
	text-decoration: underline;
}
#search {
	float: right;
	color: #fff;
	margin: 71px 0 0 -8px;
}
#searchButton {
	width: 30px;
	height: 30px;
	background: url(images/icon-search.png) 0 0 no-repeat;
	background-size: 30px 30px;
	cursor: pointer;
	display: block;
	float: right;
	margin: 5px 0 0 20px;
}
#homepageTaglineBox {
	position: absolute;
	width: 100%;
	top: 25vw;
	left: 0;
	text-align: center;
	z-index: 50;
}
#homepageTaglineBox h1 {
	color: white;
	font-weight: 200;
	font-size: 55px;
	line-height: 65px;
	padding: 0;
	margin: 0;
	text-shadow: 2px 1px rgba(0, 0, 0, 0.8);
}
a.button, #gform_submit_button_1 {
	background-color: none;
	padding: 0 32px;
	text-align: center;
	color:white;
	font-size: 16px;
	font-weight: 600;
	line-height: 40px;
	margin: 25px 0;
	cursor: pointer;
	text-transform: uppercase;
	text-decoration: none !important;
	clear: both;
	display: inline-block;
	border: 1px solid #fff;
	border-radius: 7px;
	text-shadow: 2px 1px rgba(0, 0, 0, 0.8);
}
a.button:hover {
	background-color: rgba(255, 255, 255, 1);
	text-decoration: none;
	color: #1c2472;
	text-shadow: none;
}
#gform_submit_button_1 { 
	background-color: #1c2472 !important;
	border: 1px solid #1c2472 !important;
}
#gform_submit_button_1:hover {
	background-color: rgba(255, 255, 255, 1) !important;
	text-shadow: none;
	color: #1c2472 !important;
}
#section1 {
	width: 100%;
	float: left;
	min-height: 450px;
	padding: 50px 0 0 0;
	margin: 0;
	position: relative;
	text-align: center;
	background: white;
	color: #fff;
	box-shadow: inset 0 18px 10px -12px rgba(0, 0, 0, 0.4);
}
#section1 .wrapper {
	padding: 0 0 30px 0;
}
hr {
	background: #f9ce04;
	border: none;
	width: 100px;
	height: 5px;
	border-radius: 7px 7px 7px 7px;
}
#section1 h2, #section2 h2, #servicesBoxes h2 {
	font-size: 30px;
	line-height: 42px;
	font-weight: 300;
	color: #1c2472;
	margin-bottom: 0;
	padding-bottom: 10px;
}
#section1 h2 {
	display: block;
	width: 400px;
	float: left;
	margin-top: 0;
	padding: 0;
	text-align: left;
	padding-right: 70px;
}
#section2 h2 {
	text-shadow: 2px 1px rgba(0, 0, 0, 0.8);
}
#section1 .button {
	padding-left: 70px !important;
	padding-right: 70px !important;
}
#section1 h2 img {
	width: 50px;
	height: 36px;
	padding-right: 10px;
	margin-bottom: -5px;
}
#servicesBoxes {
	padding: 80px 0;
	text-align: center;
}
.servicesContainer {
	text-align: center;
	width: 100%;
	float: left;
	padding: 70px 0 95px 0;
}
a#buy-side {
	width: 400px;
	height: 27vw;
	margin-right: 75px;
	display: inline-block;
	overflow: hidden;
	position: relative;
	border-radius: 10px;
	box-shadow: 0 18px 10px -12px rgba(0, 0, 0, 0.4);
}




#buy-side h2, #sell-side h2 {
	position: absolute;
	color: #fff;
	z-index: 9999;
	width: 100%;
	text-align: center;
	margin-top: 9vw;
	background: rgba(255, 255, 255, .10);
	padding: 55px 0 55px 0;
	text-shadow: 2px 1px rgba(0, 0, 0, 0.8);
}
a#buy-side .overlay, a#sell-side .overlay {
	background: rgba(0, 0, 0, .5);
	position: absolute;
	width: 100%;
	height: 27vw;
	top: 0;
	left: 0;
} 
#buyVideo, #sellVideo {
	width: auto;
	height: 27vw;
	z-index: 1;
}
a#sell-side {
	width: 400px;
	height: 27vw;
	background: black;
	display: inline-block;
	overflow: hidden;
	position: relative;
	border-radius: 10px;
	box-shadow: 0 18px 10px -12px rgba(0, 0, 0, 0.4);
}
a#buy-side h2, a#sell-side h2, a#buy-side .overlay, a#sell-side .overlay  {
  transition: all 0.3s ease-in;
}
a#buy-side:hover h2, a#sell-side:hover h2 {
  background: rgba(28, 36, 114, .8);
}
a#buy-side:hover .overlay, a#sell-side:hover .overlay {
  background: rgba(28, 36, 114, .2);
}


#section2 {
	width: 100%;
	min-height: 300px;
	float: left;
	padding: 0 0 0 0;
	background: url(images/pexels-charles-parker-5847761.webp) 0 0 no-repeat;
	color: #fff;
	text-align: center;
	position: relative;
}
#section2 .overlay {
	background: rgba(28, 36, 114, .55);
	overflow: hidden;
	postion: absolute;
	width: 100%;
	height: 300px;
	z-index: 2;
}

#section2 a:hover {
	text-decoration: none;
}
#section2 h2 {
	color: #fff;
	width: 100%;
	text-align: center;
	font-size: 45px;
	font-weight: 400;
}
#section2 .content {
	position: absolute;
	width: 100%;
	text-align: center;
	top: 20%;
	left: 0;
	z-index: 50;
}
#section2 p {
	font-size: 16px;
	font-weight: 200;
	line-height: 20px;
	margin-top: 0;
	padding-bottom: 5px;
}
#section3 {
	width: 100%;
	float: left;
	min-height: 150px;
	padding: 70px 0 70px 0;
	background: #fff;
	text-align: center;
}
#section3 h2 {
	margin: 0;
	color: #000;
	text-transform: uppercase;
	font-size: 28px;
	font-weight: 400;
}
#section4 {
	width: 100%;
	float: left;
	min-height: 150px;
	padding: 50px 0 50px 0;
	background: #f9f9f9;
	text-align: center;
}
#section5 {
	width: 100%;
	float: left;
	min-height: 150px;
	padding: 70px 0 100px 0;
	background: #fff;
	text-align: center;
}
#section5 h2 {
	margin: 0;
	color: #000;
	text-transform: uppercase;
	font-size: 28px;
	font-weight: 400;
}


input#homeSearchBox {
	color: #fff !important;
	background-color: #8e8e8e;
	padding: 10px 50px 10px 20px;
	font-size: 20px;
	border: none;
	width: 300px;
	font-weight: 100;
	letter-spacing: 1px;
}
input#homeSearchBox::placeholder {
	color: #fff;
	text-transform: uppercase;
}


#footer {
	width: 100%;
	min-height: 150px;
	clear: both;
	font-size: 14px;
	line-height: 25px;
	background: #1c2472;
	color: #fff;
	padding: 75px 0 20px 0;
	float: left;
	text-align: left;
}
#footer a {
	color: white;
	text-decoration: underline;
}
#footer a:hover {
	text-decoration: none;
}
#footer h3 {
	padding: 0 0 10px 0;
	margin: 0 0 10px 0;
	font-size: 18px;
	text-transform: uppercase;
}
#footer .footerColumn1 p {
	clear: both;
	font-weight: 100;
	font-size: 13px;
	line-height: 20px;
	padding: 25px 0 15px 0;
}
#footer ul {
	padding: 0;
	margin: 0;
	list-style: none;
	font-size: 14px;
}
#footer ul li {
	margin: 0 0 6px 0;
}
.footerColumn1 h3 {
	width: 100px;
	float: left;
}
.footerColumn1 {
	width: 30%;
	float: left;
	padding-right: 150px;
	margin-left: 10%;
}
.footerColumn2 {
	width: 20%;
	float: left;
	padding-right: 30px;
}
.footerColumn3 {
	width: 25%;
	float: left;
}
a#footerLogo {
	width: 165px;
	height: 78px;
	float: left;
	display: block;
	cursor: pointer;
	background: url(images/logo-main.png) 0 0 no-repeat;
	background-size: cover;
	margin-left: 0;
}
#footer ul {
	padding: 0;
	margin: 0;
}
#footer ul li {
	line-height: 16px;
	padding: 0 0 6px 0;
}
#footer ul li a {
	text-decoration: none;	
}
#socialIcons {
	float: left;
	padding: 10px 0 30px 0;
	width: 100%;
}
a.socialIcon {
	display: block;
	width: 30px;
	height: 30px;
	cursor: pointer;
	background-size: contain !important;
	float: left;
	margin: 0 12px 0 0;
}
a.socialLinkedin {
	background: url(images/icon-linkedin.png) 0 0 no-repeat;
}
#copyright {
	width: 100%;
	text-align: center;
	padding: 10px 0 0;
	clear: both;
	font-size: 13px;
	font-weight: 100;
	line-height: 60px;
	color: #999898;
}
#copyright a {
	color: #999898;
}
#copyright a:hover {
	color: white;
}
@media only screen and (max-width: 1500px) {
  .wrapper {
	width: 90% !important;
	padding: 0 5%;
  }
  #section1 h2 {
	  width: 350px;
	  font-size: 25px;
  }
  a#buy-side, a#sell-side {
	  width: 340px;
  }
  h1.subpageHeading {
	  margin-left: 5%;
  }
  
}

@media only screen and (max-width: 1350px) {
  #section1 h2 {
	  width: 300px;
	  font-size: 22px;
	  line-height: 34px;
  }
  a#buy-side, a#sell-side {
	  width: 300px;
  }
  a#buy-side h2, a#sell-side h2 {
  	margin-top: 7vw;
  }
  .footerColumn1 {
	margin-left: 50px;
  }
}

@media only screen and (max-width: 1200px) {
	
	#section1 h2 {
		width: 100%;
		text-align: center;
		margin-top: -50px;
		padding-bottom: 50px;
	}
	
}

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

  a#buy-side h2, a#sell-side h2 {
	  margin-top: 6vw;
  }
  .footerColumn1 {
	margin-left: 0;
	padding-right: 50px;
  }
  #homepageTaglineBox h1 {
	  font-size: 42px;
	  line-height: 50px;
  }
}

@media only screen and (max-width: 768px) {
	
	a#buy-side, a#sell-side {
		 width: 250px;
	  }	
	a#buy-side h2, a#sell-side h2 {
		  margin-top: 4vw;
	  }
}

@media only screen and (max-width: 767px) {
	
	a#buy-side, a#sell-side {
		 width: 100%;
		 margin: 0;
	  }	
	a#buy-side h2, a#sell-side h2 {
		  margin-top: 4vw;
	  }
	  body {
		  overflow-x: hidden;
	  }
	  .footerColumn1, .footerColumn2, .footerColumn3 {
		  width: 100%;
		  margin-bottom: 50px;
	  }
	  #copyright {
		  line-height: 20px;
	  }
	  #mainImage, #videoBG, #overlayBlue, #overlaySlider {
		  height: 500px !important;
	  }
	  #videoBG {
		  width: 250%;
		  margin-left: -180px;
	  }
	  #homepageTaglineBox h1 {
			font-size: 32px;
			line-height: 40px;
			margin-top: 100px;
		}
		#mainLogo {
			width: 160px;
			height: 75px;
			background-size: 160px 75px; 
		}
		#buyVideo, #sellVideo {
			width: 500px;
			height: 400px;
			margin-top: -200px;
		}
		a#buy-side h2, a#sell-side h2 {
			  background: none;
			  margin-top: -10px;
		}
		a#buy-side {
			margin-bottom: 30px;
		}
		#section2 h2 {
			font-size: 34px;
		}
}