/*
Theme Name: Foundry Child
Theme URI: 
Description: Child theme for the Foundry theme
Author: <a href="http://www.madeinebor.com">Tom Rhodes</a>
Author URI: 
Template: foundry
Version: 1.0.0
*/

@import url('../foundry/style.css');

.hidden { display: none !important; }

body {
	font-size: 15px;
	line-height: 26px;
}

.centered {
	margin: 0 auto;
	float: none;
}

.image-square .background-image-holder {
	background-color: transparent;
	background-size: contain !important;
	background-repeat: no-repeat;
}

.accordion-1 .title {
	overflow: hidden;
}

.accordion p {
	margin-bottom: 0;
	padding-bottom: 0;
}

.accordion-1 .title span {
	float: left !important;
	clear: left !important;
	font-size: 11px;
}

.parallax:first-child .slides li > .background-image-holder, .parallax:first-child .background-image-holder {
	background-size: cover;
}

.overlay:before, .slider-all-controls .overlay .background-image-holder:before {
    opacity: 0.5;
}

.accordion li.active .content {
    max-height: 600px;
}

.team-member img {
	width: 100%;
}

input[type="submit"], button[type="submit"] {
    border: 2px solid #b2ccd3;
    background: #b2ccd3;
}

.light-wrapper section:nth-child(even) {
	background-color: #b2ccd3;
}

.accordion-1 .active .title, .accordion-1 .active .title:hover {
    background: #b2ccd3;
}

.wpb_wrapper p:last-child {
	margin-bottom: 0;
}


@media (min-width: 991px) {
	.image-square {
		max-height: 540px;
	}
}

@media (min-width: 768px) {
	.hide-large {
		display: none;
	}
	br.small {
		display: none;
	}
}

@media (max-width: 767px) {
	.cover.fullscreen .slides li {
		padding: 50px 0;
	}
	.image-square > .content {
		padding: 0 30px;
	}
	.vc_column-inner .vc_column_container > .vc_column-inner {
		padding: 0;
	}
	section {
		padding: 25px 0;
	}
	.small-pad {
		padding-bottom: 0;
	}
	.container {
		padding-right: 30px;
    padding-left: 30px;
	}
	
}

@media (max-width: 990px) {
	.image-square {
		display: flex;
		flex-direction:column;
	}
	.image-square > .content {
		order: -1;
		margin-top: 75px;
	}
	.image-square .image {
		margin-bottom: 0;
		height: initial;
		height: auto;
	}
		.parallax > .background-image-holder, .parallax .slides li > .background-image-holder {
		height: 100%;
	}
	.image-square {
		max-height: 700px;
	}
.image-square .background-image-holder img {
	display: block !important;
}
	.image-square .background-image-holder {
		background-image: none !important;
	}
	.image-square .background-image-holder {
		position: relative;
	}
	
}

@media (min-width: 768px) and (max-width: 1200px) {
	.cover.fullscreen .slides > li {
		height: 70vh !important;
	}
	.cover.fullscreen {
		height: 100% !important;
	}
	.parallax:first-child .slides li > .background-image-holder, .parallax:first-child .background-image-holder {
		top: 0 !important;
	}
}

.nav-container nav {
	position: fixed !important;
	top: 0;
    width: 100%;
    z-index: 999;
    left: 0;
    right: 0;
	opacity: 1;
	visibility: visible;
}

nav.outOfSight {
    -ms-transform: translateY(0px);
    transform: translateY(0px);
    -webkit-transform: translateY(0px);
}

.hided {
	height: 0;
}