/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    BDA Child Theme
 Author:         Canyon
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0

------------------------------------------------------- */
body{
	font-size:18px;
	font-family: linotype-sabon, serif;
	font-weight: 400;
	font-style: normal;
}

/* TYPOGRAHY  */
h1, h2, h3, h4, h5, h6,p{
	color:#fff;
	font-family: itc-avant-garde-gothic-pro,sans-serif;
	font-weight: 700;
	font-style: normal;
}

h2{
	font-size:3em;
	margin:.5em auto !important;
	padding: 0;
	line-height: 1.25;
	letter-spacing: -0.025em;
	max-width: 55vw;
}

h3{
	font-size:1.5em;
	margin:.5em auto !important;
	padding: 0;
	line-height: 1.25;
	letter-spacing: -0.02em;
	max-width: 55vw;
}

h4{
	font-size:1.25em;
}

h5{
	font-size:1em;
	font-weight: 400;
	margin-bottom:1em;
}

p{
	line-height: 1.5;
	font-size:19px;
	font-weight: 400;
	font-family: linotype-sabon, serif;
}

.button{
	padding:.6em 1.2em;
	color:#fff;
	background:#0064aa;
	font-family: itc-avant-garde-gothic-pro,sans-serif;
	font-weight:500;
	margin:2em auto;
	font-size:.9em;
	display: inline-block;
}

.wrap-text h2{
	margin:1em auto !important;
}

.wrap-text p{
	margin:1em auto;
	padding: 0 1em;
	max-width: 500px;
}

.vertical-space-md{
	margin:16vh 0 !important;
}


/* BUTTON TO NEXT AREA  */
.next-area a{
    background: none !important;
    border: none !important;
    top: unset !important;
    position: fixed !important;
    left: 50%;
    height: 90px;
    width: 50px;
    bottom: 0; 
    transform: translateX(-50%);
    display: none !important;
}

.fp-completely .next-area a{
	display: block !important;
}

/* CHANGES TO THEME LAYOUTS  */
#main-content .container {
    padding-top: 0;
    max-width: 100vw;
    width:100%;
}

.main_title{
	display: none;
}

.fp-section.fp-table, .fp-slide.fp-table{
	margin: 0;
	background-size: cover !important;
    background-position: center center !important;
}

.vc_column_container>.vc_column-inner{
	padding: 3em 15px !important;
}

.fp-tableCell{
	padding-bottom: 10vh;
}

.vc_custom_1542776541174 .fp-tableCell{
	padding-bottom: 0;
}

.vc_custom_1542776541174 .vc_column_container>.vc_column-inner {
    padding-bottom: 0 !important;
}

.vc_col-sm-4{
	padding: 0 2em !important;
}

.vc_col-sm-6{
	padding: 0 3em !important;
}

.tight-row{
    padding: 0 10vw;
    max-width: 1500px;
    margin: auto !important;
}

.tight-row .vc_column_container{
	padding: 0 1em !important
}

.tight-row .vc_column-inner {
	padding:0 !important
}

.mobile-only{
	display: none;
}


 /* Image Grid */
#client-gallery .wpb_image_grid_ul{
	text-align:center;
    padding: 0;
    margin: 0;
    display: flex;
  	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}

#client-gallery .wpb_image_grid_ul li{
	display: flex;
	flex-grow: 1;
	width: 33%;
	align-items: center;
	justify-content: center;
	position: static !important;
}

#client-gallery .wpb_image_grid_ul img {
	margin:2em auto;
    display: inline-block;
    max-width: 150px;
    height: auto;
    max-height: 100px;
    width: auto;
}

 /* Custom slide classes */
 .logo img{
 	display: block;
 	max-width:250px;
 	margin:5vh auto 5vh !important;
 }

 .down-arrow{
	position: relative;
 }

 .down-arrow:after{
 	content:" ";
	position: absolute;
	bottom:3em;
	left:50%;
	transform: translateX(-50%);
	height:35px;
	width:35px;
	background-size: contain;
	background-position: center center;
	background-image:url('img/arrow.svg');
	background-repeat: no-repeat;
	pointer-events: none;
}

.down-arrow-blue:after{
	background-image:url('img/arrow-blue.svg');
}

 .down-line,.up-line{
	position: relative;
 }

 .down-line:after, .up-line:before{
 	content:" ";
	position: absolute;
	bottom:0;
	left:50%;
	transform: translateX(-50%);
	height:30vh;
	width:20px;
	background-size: contain;
	background-position: center center;
	background-image:url('img/down-line.svg');
	background-repeat: no-repeat;
}

.up-line:before{
	bottom:unset;
	top:-10vh;
}

.middle-divider .vc_column-inner {
	position: relative;
}

.middle-divider .vc_column-inner:after{
	content: " ";
    position: absolute;
    background: #fff;
	top: 52%;
	right: -20px;
	transform: translateY(-52%);
	height: 6px;
	width: 40px;
}

.scrolling-content-right p{
	position: absolute;
	bottom: 1em;
}

.fixed-left .vc_column-inner {
	opacity:0;
	position: fixed;
    top: 43%;
    transform: translateY(-45%);
    max-width: 50%;
    width:100%;
    left: 0;
    padding: 0 4em !important;
}

.active .fixed-left .vc_column-inner {
	opacity: 1;
}

.first-slide .fixed-left .vc_column-inner{
	opacity:0;
	transition: .2s ease all;
}

.first-slide.active .fixed-left .vc_column-inner {
	opacity: 1;
}


.back-to-top img{
	position: absolute;
	top: 1em;
	right: 3em;
	width:30px;
	height: auto;
}

.side-logo-blue,.fp-tableCell{
	position: relative;
}

 /* Top left logos */
.fp-tableCell:before{
	content:" ";
	position: fixed;
	top:2em;
	left:2em;
	height:100px;
	width:50px;
	background-size: contain;
	background-image:url('img/bda-side-logo.svg');
	background-repeat: no-repeat;
	opacity:0;
}

 /* Don't include the blue logos in fixed transitions */
.side-logo-blue .fp-tableCell:before{
	background-image:url('img/bda-side-logo-blue.svg');
}


/*Hide the first slide logo*/
.fullpage-wrapper > .vc_row:first-child .fp-tableCell:before,
.fullpage-wrapper > .vc_row:last-child .fp-tableCell:before{
	display: none
}

/* Hide white logos until scrolled use .active to trigger on scroll or .fp-completely to trigger on scroll completed */
.fp-section.active:not(.first-slide) .fp-tableCell:before{
	opacity: 1;
}

.first-slide.fp-section.active .fp-tableCell:before{
	opacity: 1;
}


.column-label p{
	position: absolute;
    top: -1em;
	font-family: itc-avant-garde-gothic-pro,sans-serif;
	font-size:.9em;
	font-weight: 600;
}


.slide-label p{
	display: none;
	position: fixed;
    top: 8em;
    right: 3em;
	font-family: itc-avant-garde-gothic-pro,sans-serif;
	font-size:.75em;
	font-weight: 500;
	transform: rotate(90deg);
	transform-origin: center;
	opacity: 0;
}

.fp-section.active .slide-label p{
	opacity: 1;
}


.slide-white .tdt-slider {
	margin: 0 5vw;
}

.slide-white .tdt-slider .carousel-caption{
	padding:1em 10vw !important;
}

.slide-white .tdt-slider .slick-dots{
	bottom: -5vh;
	padding: 0 !important;
}

.slide-white .tdt-slider p{
	font-size:16px;
}


.slide-white h2, .slide-white h4, .slide-white h5, .slide-white p{
	color:#0064aa !important;
}

 /* Slider Controls */
.fp-controlArrow.fp-prev{
    border-width: 20px 15px 20px 0;
}
.fp-controlArrow.fp-next{
    border-width: 20px 0 20px 15px;
}


.fp-slidesNav{
	text-align: center;
}

.fp-slidesNav.bottom {
    bottom: 4em;
}

.fp-slidesNav ul{
	padding:1em 0 !important;
}

.fp-slidesNav ul li a span{
	background:#fff;
}


/* FOOTER */
#footer{
	padding:5vh 2em 10vh;
}

#footer p{
	font-size:.8em;
	font-family: itc-avant-garde-gothic-pro,sans-serif;
}

#footer .wpb_content_element{
	margin:0;
}



/* MEDIA QUERIES */

/*  DESKTOP */
@media(min-width: 1500px) {
	h2{
		font-size:4em;
	}

	h3{
		font-size:2.1em;
	}

	h4{
		font-size:1.6em;
	}

	h5{
		font-size:1.2em;
	}

	p{
		font-size:21px;
	}

	.wrap-text p {
	    margin: 2em auto;
	}

	.slide-white .tdt-slider p {
	    font-size: 17px;
	}

	.fp-tableCell:before{
		top:3em;
		left:3em;
		height:150px;
		width:75px;
	}

	.vertical-space-md{
		margin:20vh 0 !important;
	}

	 .down-arrow:after{
		bottom:4em;
		height:50px;
		width:50px;
	}

	.middle-divider .vc_column-inner:after {
	    top: 55%;
	    right: -25px;
	    transform: translateY(-55%);
	    height: 8px;
	    width: 50px;
	}

	.logo img {
	    max-width: 300px;
	    margin: 30vh auto 20vh !important;
	}
}

/* LARGE DESKTOP */
@media(min-width: 2000px) {
	h2{
		font-size:4.5em;
		max-width: 50vw;
	}

	h3{
		font-size:2.25em;
	}

	h4{
		font-size:1.75em;
	}

	h5{
		font-size:1.25em;
	}

	p{
		font-size:22px;
	}

	.down-arrow:after{
		bottom:5em;
	}

	.next-area a {
		height:100px;
	}

}



/* TABLET AND MOBILE */
@media(max-width: 768px) {

	h2{
		font-size:1.75em;
		max-width: 90vw;
	}

	h3{
		font-size:1.3em;
		margin: .2em auto !important;
	}

	h4{
		font-size:1em;
	}

	h5{
		font-size:.8em;
	}

	p{
		font-size:17px;
	}

	html.vc_mobile {
	    margin-top: 0 !important;
	}

	.show-small{
		display: block !important;
	}

	.hide-small{
		display: none !important;
	}

	.vc_col-sm-4,
	.vc_col-sm-6 {
	    width: 100% !important;
	}

	.vc_col-sm-4{
		max-width:100vw;
	}

	.fp-tableCell {
	    padding-bottom: 0;
	}

	.middle-divider .vc_column-inner:after{
		top: 40%;
	    right: -20px;
	    height: 6px;
	    width: 40px;
	}

	.fixed-left .vc_column-inner {
	    transform: translateY(-20%);
	}

	.wrap-text p {
	    margin: .5em auto;
	    padding: 0 .5em;
	}

	.logo img {
	    max-width: 200px;
	    margin: 10vh auto !important;
	}

	.vc_col-sm-6 {
	    padding: 0 2em !important;
	}

	.wpb_button, .wpb_content_element, ul.wpb_thumbnails-fluid>li {
	    margin-bottom: 20px;
	}

	.vc_column_container>.vc_column-inner {
	    padding:.5em 15px !important;
	}

	.fp-tableCell:before{
		top:3vh;
		left:5vw;
		height:60px;
		width:30px;
	}

	.vertical-space-md{
		margin:10vh 0 !important;
	}

	.down-arrow:after{
		bottom:2em;
		height:25px;
		width:25px;
	}

	.next-area a {
		height:60px;
	}

	.middle-divider .vc_column-inner:after{
		right: 50%;
		height: 8px;
		width: 40px;
		bottom: 0;
		top: unset;
		transform: translate(50%,-100%) rotate(90deg);
	}

	.column-label p{
		right: 20vw;
		top: -30vw;
	}


	.fixed-left .vc_column-inner {
	    top:41%;
	    max-width: 100%;
	    transform: translateY(-50%);
	}

	.fixed-left .vc_column-inner h2 {
		text-align: center !important;
	}

	.scrolling-content-right .wpb_wrapper{
		text-align: center !important;
	}

	.scrolling-content-right p{
		position: static;
	}

	.tight-row{
		padding: 0
	}

	.slide-white .tdt-slider .carousel-caption {
	    padding: 0 !important;
	}

	.ultimate-slide-img{
		height: 100px !important;
		width: 100px !important;
	}

	/* SLIDER MOBILE */

	.slider-mobile .slick-slide{
		/*position: relative;*/
		margin-top: 33vh;
	}

	.slider-mobile .slick-slider
	{
		width: 100vw !important;
		position: absolute;
    	left: 0;
	}

	.slider-mobile .slick-prev:before, .slider-mobile .slick-next:before{
		color: #fff !important;
	}

	.slider-mobile .slick-list{
		width:100vw;
		left:0;
	}


	/* CENTERED FIXED MOBILE */
	#mcw_full_page .side-scroll-small{
		background-image: url(img/bda-bg-mob.png) !important;
	}

	.active.side-scroll-small:before{ 
		content:" ";
		position: fixed;
		left:0;
		top:0;
		width: 100%;
    	height: 100%;
		z-index: 0;
		background-size: cover;
		background-image:url('img/bda-bg-mob.png');
		background-repeat: no-repeat;
		background-position: center center;
	}

	.scrolling-content-right{
		position: absolute !important;
	    top: 50%;
	}

	#footer {
	    padding: 1em;
	}

	#footer p{
	    margin: .5em 0;
	    padding: 0
	}

	#footer .vc_col-sm-2{
		width:50%;
		float: left
	}

	#footer .vc_column_container>.vc_column-inner {
	    padding: 0 10px !important;
	}


}




/* TABLET ONLY */
@media(min-width: 400px) and (max-width: 768px) {
	h2{
		font-size:3em;
	}

	h3{
		font-size:2em;
	}

	p{
		font-size:20px;
	}

	/* top left logo */
	.fp-tableCell:before{
		top:1em;
		left:1em;
		height:80px;
		width:40px;
	}

	.fixed-left .vc_column-inner h2{
		margin: 1em !important;
	}

	.middle-divider .vc_column-inner:after{
		width: 50px;
    	bottom: -10px;
	}

	.fixed-left .vc_column-inner {
	    top: 48%;
	    transform: translateY(-100%);
	}

}