/*
Theme Name: Foundation Child
Description: Business Name
Template: foundation-parent
Version: 1.0.0
*/

.primary-header .logo-col  {background-color: var(--color-4);}

.home .content-section .image-col .image {
       background-size: contain;
    background-position: left;
    background-repeat: no-repeat;
    background-attachment: unset;
}

.home .content-section .content-col {
    padding: 75px 75px 95px 75px;
}

.home .feature-section .feature .num-row {max-width: 260px; font-size: 41px;}

.home .feature-section .feature {display: flex; justify-content: center; align-items: center; flex-direction: column;}

.gallery .image-col .image img { 
	object-fit: cover;
    object-position: center;
	height:26vw; 
width:100%; 
}
.gallery .image-col .image:nth-last-child(1) img { 
	object-fit: cover;
    object-position: center;
	height:26vw; 
width:100%; 
}

.servslider {min-height: unset !important;}
.servslider .banner-section {
	position: relative;
}
.servslider .banner-section .image {height: 500px;}
.servslider .banner-section .image img {
	      width: 100%;
    height: 100%;
    max-height: unset;
    object-position: center;
    max-width: unset;
    margin: 0;
	object-fit: contain;
}
.servslider .banner-section .overlay {
	position: absolute;
	bottom: 50px;
	left: 50%;
	transform: translateX(-50%);
	background-color: #fff;
	font-size: 18px;
	padding: 15px 30px;
	min-width: 75%;
	text-align: center;
}
.servslider .banner-section .overlay p:first-of-type {
	margin-top: 0;
}
.servslider .banner-section .overlay p:last-of-type {
	margin-bottom: 0;
}
.servslider .banner-section .carousel-control {
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 150px;
}
.servslider .carousel.fade {
	opacity: 1;
}
.servslider .carousel.fade .item {
	transition: opacity ease-in-out .7s;
	left: 0;
	opacity: 0;
	top: 0;
	position: absolute;
	width: 100%;
	display: block;
	z-index: 1;
}
.servslider .carousel.fade .item:first-child {
	top: auto;
	position: relative;
}
.servslider .carousel.fade .item.active {
	opacity: 1;
	transition: opacity ease-in-out .7s;
	z-index: 2;
}

.servslider .slideimg {
    opacity:1 !important;
}

.servslider .image {background:var(--color-2);}

.service-section-inner .content-row {position: relative;}


.vertical-slider {
	overflow: hidden;
	display: flex;
}
.vertical-slider .items {
	transition: transform ease .3s;
}
.vertical-slider .item {
	padding: 20px 0;
	border-bottom: 1px solid var(--color-3);
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	color:#fff;
}
.vertical-slider .arrows {
	flex: 0 0 auto;
	margin-left: 20px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	font-size: 30px;
}
.vertical-slider .arrow {
	cursor: pointer;
}
.vertical-slider.first.last .arrows {
	display: none;
}
.vertical-slider.first .prev,
.vertical-slider.last .next {
	opacity: .3;
	cursor: default;
}
.testimonial-section {
	margin: 40px 0;
}
.testimonial-section .testimonials {
	background-color: var(--color-2);
	padding: 25px 50px;
}
.testimonial-section .testimonial .author {
	text-align: center;
	font-weight: 700;
}
.arrow {color:#fff;}

#blog-section .date, .single .date {display: none;}
.blog-section .post .image {height:293px;}
.blog-section .post .image img {
    opacity: .5;
    transition: all ease .3s;
    width: auto;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.primary-footer .footer-row {
    
    display: flex;
    flex-wrap: wrap;
}

.primary-header {background-color:var(--color-4);}
.primary-header .nav-col .menu a {
    color: var(--color-2);
}

h2, h3 {color: var(--color-2) !important;}

.primary-footer {background-color: var(--color-4);  border-top:1px solid var(--color-2);}

.menu-item-151 a {color: var(--color-2) !important;}
.menu-item-151 a:hover {color: var(--color-3) !important;}

.contact-col, .form-col {color: var(--color-2);}
.contact-col a {color: var(--color-2); font-weight: bold;}

.primary-footer .form-col .gform_wrapper.gravity-theme .gfield input:not(.button), .primary-footer .form-col .gform_wrapper.gravity-theme .gfield textarea  {    border-bottom: 1px solid var(--color-2);}

.primary-footer .form-col .gform_wrapper.gravity-theme .button {
	background-color: var(--color-2);
    color: #fff;
}
.primary-footer .form-col .gform_wrapper.gravity-theme .button:hover {
	background-color: var(--color-3);
    color: var(--color-2);
}

.contact-col, .contact-col .copyright {text-align: center;}

.form-col {display: none;}

.page-id-138 .form-col {display: block;}

img {pointer-events: none;}

.home #feature-section, .home #gallery-section {display: none;}

.homeimg {    margin: 0 50px 0 0;
    width: 55%;}

.aboutleft {max-height: 400px; width:auto; margin-right:50px;}
.aboutright {max-height: 400px; width:auto; margin-left:50px;}

.aboutclear {height: 50px; clear:both;}


.ipheading {background:var(--color-3); color:#fff; text-align: center; padding:15px; display: block;}

.content-row .content-col p {font-size: 20px;}

.post .heading {color:#fff !important;}

.home .banner-section .content {
    position: absolute;
    top: 5%;
    transform: unset;
    left: 3%;
    z-index: 3;
}

@media screen and (max-width:991px){
	.mobile-logo {background-color: var(--color-4);}
	.servslider .banner-section .image {height: 50vw;}
	.primary-footer .footer-row {display: block;}
	.primary-footer .footer-row .form-col {margin-top:100px;}
}