/*
Theme Name: Keystone Child
description: Client Theme - Keystone
Template: keystone-parent
Version: 1.0.0
Text Domain: keystone-child
Author: BCW
*/
.logo-container img {
	max-height: 150px;
	width: auto;
}
#text-feature {
	display: none;
}
.photo-feature-2-box img {
	width: 100%;
}
.map-section {
	padding: 30px 0 0;
}
.map-section .content {
	margin-bottom: 30px;
}
.map-section .map {
	display: flex;
}
.map-section .map iframe {
	width: 100%;
	border: none;
}
.form-section {
	background-color: var(--color-one);
	padding: 50px 0;
}
.form-section .content {
	max-width: 800px;
	margin: 0 auto;
}
.form-section h2 {
	margin-bottom: 20px;
}
.form-section .gform_legacy_markup_wrapper .gform_footer input.gform_button,
.form-section .gform_wrapper.gravity-theme .button {
	background-color: var(--color-two);
	max-width: 200px;
	margin: 0 auto;
	display: block;
}
html {
	scroll-behavior: smooth;
}
[id] {
	scroll-margin-top: 250px;
}
.content-section {
	margin: 20px 0;
}
.location-container h2 {
	margin-top: 20px;
}
.review-section {
	margin: 50px 0;
	text-align: center;
}
.review-section .reviews {
	margin-top: 20px;
}
.review-section .rating {
	color: var(--color-one);
}
.review-section .owl-carousel {
	margin: 20px auto 0;
}
.review-section .owl-carousel .owl-nav button.owl-prev,
.review-section .owl-carousel .owl-nav button.owl-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 24px;
}
.review-section .owl-carousel .owl-nav button.owl-prev {
	left: -45px;
}
.review-section .owl-carousel .owl-nav button.owl-next {
	right: -45px;
}
.review-section .heading {
	font-weight: 700;
	font-style: italic;
	font-size: 1.2em;
}
.team-section {
	margin: 50px 0;
}
.team-section .content {
	margin-bottom: 20px;
}
.team-section .owl-carousel {
	max-width: calc(100% - 90px);
	margin: 20px auto 0;
}
.team-section .owl-carousel .owl-nav button.owl-prev,
.team-section .owl-carousel .owl-nav button.owl-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 24px;
}
.team-section .owl-carousel .owl-nav button.owl-prev {
	left: -45px;
}
.team-section .owl-carousel .owl-nav button.owl-next {
	right: -45px;
}
.owl-carousel .owl-dots {
	display: flex;
	column-gap: .33em;
	justify-content: center;
	align-items: center;
	margin-top: 20px;
}
body .owl-carousel .owl-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: transparent;
	border: 1px solid var(--color-one)
}
.owl-carousel .owl-dot.active {
	background-color: var(--color-one);
}
.team-section .member {
	position: relative;
}
.team-section .member .inner {
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	text-align: center;
	color: #fff;
	background-color: rgba(0,0,0,.7);
	transition: all ease .3s;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	row-gap: 10px;
}
.team-section .member .heading {
	font-size: 1.2em;
	font-weight: 700;
}
.team-section .member:hover .inner {
	opacity: 1;
}
.social-box {
	display: flex;
	justify-content: center;
	align-items: center;
	column-gap: .25em;
}
.service-container:nth-of-type(odd) a {
	color: var(--color-one);
}
.service-container:nth-of-type(odd) a:hover,
.service-container:nth-of-type(odd) a:focus {
	color: var(--color-one);
}
.faqs{
	position: relative;
	padding: 25px 50px;
}
.faqs .faq {
	border: none;
	border-bottom: 1px solid var(--color-one);
	margin-bottom: 0;
	padding: 40px 0;
}
.faqs .faq .toggle-heading {
	padding: 0;
	border: none;
	transition: color ease .3s;
}
.faqs .faq .toggle-content {
	border: none;
	padding: 0;
	padding-top: 20px;
}
.faqs .faq h3 {
	margin-bottom: 0;
}
.faqs .faq.active .toggle-heading .icon {
	color: var(--color-3);
}
.faqs .faq.active .toggle-heading .heading {
	color: var(--color-2);
}
.faqs .toggle-content{
	background-color: transparent;
	color: var(--color-1);
}
.toggle-item {
	border: 2px solid var(--color-one);
	margin-bottom: 5px;
}
.toggle-item .toggle-heading {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 30px;
	cursor: pointer;
}
.toggle-item .icon {
	transition: transform ease-in-out .4s;
	font-size: 22px;
}
.toggle-item>.toggle-content {
	display: none;
	border-top: 1px solid var(--color-1);
	padding: 5px 15px;
}
.toggle-item.active>.toggle-content {
	display: block;
}
.toggle-item .toggle-content p {
	margin: 10px 0;
}
.toggle-item .icon.active {
	transform: rotate(180deg);
}


#employment-team {margin: 50px auto;}
#employment-team .container {width: 1440px; max-width:100%;}
#employment-team .members {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 30px;
    row-gap: 15px;
    flex-wrap: wrap;
}
#employment-team .members .member {
    width: 330px;
    max-width: 100%;
    height: 265px;
}
.members .member a {color:#fff;}

#employment-team .members .member .image img {width:auto; height: 265px; background:#fff; }


/* -- YOUTUBE VIDEO -- */
.youtube { position: relative;  max-width: none; margin: 15px auto; padding-top: 56.2%;}
.youtube iframe, .youtube object, .youtube embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%;  }
.youtube-outter {width:590px;}

#videos {display: flex; justify-content: center; flex-wrap: wrap; row-gap: 15px; column-gap: 15px;}

@media screen and (max-width: 1800px) {
#videos {width: 1196px; max-width: 100%; margin: 0 auto;}
}

@media screen and (max-width: 767px) {
	#videos {padding:0 15px;}
	.main-nav .mobile-nav {
		font-size: 14px;
	}
	.team-section .owl-carousel {
		max-width: calc(100% - 50px);
	}
	.team-section .owl-carousel .owl-nav button.owl-prev {
		left: -25px;
	}
	.team-section .owl-carousel .owl-nav button.owl-next {
		right: -25px;
	}
	.service-container:nth-of-type(even):before {
		background-image: linear-gradient(to left, rgb(255, 255, 255), rgba(255, 255, 255, .9), rgba(255, 255, 255, .9), rgba(255, 255, 255, .85), rgba(255, 255, 255, .8), rgba(255, 255, 255, 0.75));
	}
}
@media screen and (min-width: 767px) {
	.faqs .faq {
		width: 70%;
	}
}