/* ==========================================================================
   Page-scoped styles, relocated out of inline <style> blocks.

   These rules previously lived inline in individual templates. Many use generic
   selectors (.main-heading, .nav .nav-link, .owl-nav) that only behaved because
   they were confined to one page, so each block is namespaced to a scope class
   applied to that template's #content wrapper. Behaviour is unchanged; the rules
   simply can no longer leak into other templates.
   ========================================================================== */


/* ---------------------------------------------------------------------------
   home.php  ->  .p-home
   --------------------------------------------------------------------------- */

.p-home .cwrap {
	z-index:3;position:relative;  width:100%; height:100%;
}
.p-home video, .p-home .video {
	width:100%;
}
.p-home .main-heading {
	position: absolute;
	bottom: 25rem;
	width: 60%;
}
.p-home .video {
	position: relative;
	width: 100%;
}
.p-home .video video {
	width: 100%;
	height: 100vh;
	object-fit: cover;
}

				/* Overlay */
.p-home .video-overlay {
	position: absolute;
	top:0;
	left:0;
	width:100%;
	height:99%;
	background: rgba(0,0,0,0.5);
	z-index:1;
}
.p-home .cwrap {
	z-index:3;
	position:relative;
	width:100%;
	height:100%;
}

#subheader .container.py-5{
	    padding-top: 3rem !important;
	padding-bottom:0!important;
}
@media (min-width:2000px) and (max-width:2560px){

.p-home .main-heading {
	bottom: 35rem;
	width: 45%!important;
}
.p-home .video-overlay {
	height: 99.5%;
}
}

@media (min-width:1280px) and (max-width:1366px){
#mainmenu>li {
    margin-right: 10px;
}
.p-home .main-heading {
	position: absolute;
	bottom: 18rem;
	width: 80%;
}
	a.btn-main{
		padding: 5px 15px 5px 15px!important;
	}
}

@media  (max-width:1280px){

.p-home .main-heading {
bottom: 25rem !important;
        width: 65% !important;
        font-size: 48px;
}
}

@media screen and (max-width: 1152px) and (min-width: 1000px){
	header.smaller {
    max-height: 100px;
}
	#subheader h1{
		    font-size: var(--cc-h1);
	}
}

@media screen and (max-width: 991px) and (min-width: 768px){

   .p-home .main-heading {
        bottom: 25rem !important;
        width: 85% !important;
       
    }
.p-home .loction-desk {
	display:none;
}
}

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

.p-home .video video {
	height: 100%;
}
.p-home .main-sec {
	height: 88vh;
}
.p-home .video {
	height: 100vh;
}
.p-home .main-heading {
	width:90%!important;
	bottom: 33rem!important;
	font-size: 32px;
}
}

.p-home .bannerswipe .mobile {
	display:none;  background-size: cover !important; background-position: center bottom !important
}
.p-home .bannerswipe .desktop {
	display:block;
}
@media all and (max-width:767px){

.p-home .bannerswipe .desktop {
	display:none;
}
.p-home .bannerswipe .mobile {
	display:block;
}
.p-home .loction-desk {
	display:none;
}
.p-home .abs-centered {
	top: 40%;
}
.p-home #section-intro h1 {
	font-size: 40px;
	margin-top:-175px;
}
.p-home .banner-bottom {
	position: relative;
	top: -130px;
}
}

.p-home .principles {
	background:#2e2e22;
}
.p-home .principles .de__pcard {
	padding:20px 15px; min-height:330px; border-radius:10px;
}
.p-home .principles h3, .p-home .principles p {
	color: #fff !important; margin-bottom:0px;
}
.p-home .principles h3 {
	margin-bottom:15px;
}
.p-home .principles .de__pcard img {
	filter: brightness(0) invert(1);
}
.p-home .de-overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, .65), rgba(0, 0, 0, .65));
}
.p-home .industries span {
	color:#9F8A38;
}
.p-home .industries span span {
	color:#FFFFFF;
}
.p-home .badge {
	transition:all ease-in-out 0.25s;
	background: rgba(255, 255, 255, 1);
	padding: 15px;
	border-radius: 100px;
	margin: 0 0 15px 0;
	font-weight: 500;
	letter-spacing: 0;
	font-size:14px;
	color: #354e33;
	font-family: "Plus Jakarta Sans", Helvetica, Arial, sans-serif;
	border:1px solid rgba(159, 138, 56, 1);
}
.p-home .badge:hover {
	background: #354e33;
	color:#fff;
	border:1px solid  #354e33;
}
.p-home .closing h3, .p-home .closing h3, .p-home .closing p {
	color:#fff;
}

/* ---------------------------------------------------------------------------
   index.php  ->  .p-index
   --------------------------------------------------------------------------- */

.p-index .cwrap {
	z-index:3;position:relative;  width:100%; height:100%;
}
.p-index video, .p-index .video {
	width:100%;
}
.p-index .main-heading {
	position: absolute;
	bottom: 25rem;
	width: 60%;
}
.p-index .video {
	position: relative;
	width: 100%;
}
.p-index .video video {
	width: 100%;
	height: 100vh;
	object-fit: cover;
}

				/* Overlay */
.p-index .video-overlay {
	position: absolute;
	top:0;
	left:0;
	width:100%;
	height:99%;
	background: rgba(0,0,0,0.5);
	z-index:1;
}
.p-index .cwrap {
	z-index:3;
	position:relative;
	width:100%;
	height:100%;
}
@media (min-width:2000px) and (max-width:2560px){

.p-index .main-heading {
	bottom: 35rem;
	width: 45%!important;
}
.p-index .video-overlay {
	height: 99.5%;
}
}

@media screen and (max-width: 991px) and (min-width: 768px){


}

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

.p-index .video video {
	height: 100%;
}
.p-index .main-sec {
	height: 88vh;
}
.p-index .video {
	height: 100vh;
}
.p-index .main-heading {
	width:90%!important;
}
}

.p-index .bannerswipe .mobile {
	display:none;  background-size: cover !important; background-position: center bottom !important
}
.p-index .bannerswipe .desktop {
	display:block;
}
@media all and (max-width:767px){

.p-index .bannerswipe .desktop {
	display:none;
}
.p-index .bannerswipe .mobile {
	display:block;
}
.p-index .abs-centered {
	top: 40%;
}
	
	#subheader .row.pt-5{
		padding-top:0!important;
	}
.p-index #section-intro h1 {
	font-size: 40px;
	margin-top:-175px;
}
.p-index .banner-bottom {
	position: relative;
	top: -130px;
}
}

.p-index .principles {
	background:#2e2e22;
}
.p-index .principles .de__pcard {
	background:#f2f3e7; padding:30px; min-height:325px; border-radius:10px;
}
.p-index .principles h3, .p-index .principles p {
	color: var(--cc-on-light) !important; margin-bottom:0px;
}
.p-index .principles h3 {
	margin-bottom:15px;
}
.p-index .industries span {
	color:#9F8A38;
}
.p-index .industries span span {
	color:#FFFFFF;
}
.p-index .badge {
	transition:all ease-in-out 0.25s;
	background: rgba(255, 255, 255, 1);
	padding: 15px;
	border-radius: 100px;
	margin: 0 0 15px 0;
	font-weight: 500;
	letter-spacing: 0;
	font-size:14px;
	color: #354e33;
	font-family: "Plus Jakarta Sans", Helvetica, Arial, sans-serif;
	border:1px solid rgba(159, 138, 56, 1);
}
.p-index .badge:hover {
	background: #354e33;
	color:#fff;
	border:1px solid  #354e33;
}
.p-index .closing h3, .p-index .closing h3, .p-index .closing p {
	color:#fff;
}

/* ---------------------------------------------------------------------------
   page-contact.php  ->  .p-contact
   --------------------------------------------------------------------------- */

.p-contact section#subheader:before {
	content: '';
	background: rgba(0, 0, 0, 0.5);
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}
.p-contact .field-set {
	position:relative;
}
.p-contact .field-set label {
	transition:all ease-in-out 0.25s;
	color: #606060;
	position: absolute;
	left: 5px;
	top: 10px;
	background: var(--background);
	padding: 0 10px;
	font-size:14px;
	margin-top:-22px;
}
.p-contact .field-set input, .p-contact .field-set selec, .p-contact .field-set textarea {
	padding:10px 15px !important;
}
.p-contact .clicked  label, .p-contact .field-set input:focus + label, .p-contact .field-set select:focus + label, .p-contact .field-set textarea:focus + label {
	font-size:14px;
	margin-top:-22px;
}

/* ---------------------------------------------------------------------------
   page-care.php  ->  .p-care
   --------------------------------------------------------------------------- */

.p-care section#subheader:before {
	content: '';
	background: rgba(0, 0, 0, 0.5);
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

/* ---------------------------------------------------------------------------
   page-compliance.php  ->  .p-compliance
   --------------------------------------------------------------------------- */

.p-compliance section#subheader:before {
	content: '';
	background: rgba(0, 0, 0, 0.5);
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}
.p-compliance .nav .nav-item {
	display:block; width:100%;
}
.p-compliance .nav .nav-link {
	color:#fff !important; background:var(--primary-color) !important; width:100%; padding:1rem; border-radius:5px; margin-bottom:15px; font-size:20px;  text-align:left; position:relative; padding-right:50px;
}
.p-compliance .nav .nav-link h4 {
	margin-bottom:0; padding:0;
}
.p-compliance .nav .nav-link.active {
	background:var(--secondary-color) !important;
}
.p-compliance #aboutTabDropdown {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-color: var(--secondary-color);
	color: #fff;
	padding: 0.5rem 1rem;
	border-radius: 0.25rem;
	border: none;
	width: 100%;
	font-size: 1.2rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='white' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	background-size: 0.6rem auto;
}
.p-compliance #aboutTabDropdown {
	appearance: none;
	-webkit-appearance: none;
}
.p-compliance #aboutTabDropdown {
	white-space: normal !important;
	height: auto !important;
	line-height: 1.4;
}
.p-compliance #aboutTabDropdown option {
	white-space: normal !important;
}
@media (max-width: 767px){

.p-compliance #aboutTab {
	display: none;
}
}


/* ---------------------------------------------------------------------------
   single-locations.php  ->  .p-location
   --------------------------------------------------------------------------- */

@media screen and (max-width: 991px) and (min-width: 768px){

.p-location .loction-desk {
	display:none;
}
}

.p-location .principles {
	background:#2e2e22;
}
.p-location .principles .de__pcard {
	background:#f2f3e7; padding:30px; min-height:325px; border-radius:10px;
}
.p-location .principles h3, .p-location .principles p {
	color: var(--cc-on-light) !important; margin-bottom:0px;
}
.p-location .principles h3 {
	margin-bottom:15px;
}
.p-location .bg-white-text {
	background-color:#000;
	color:#fff;
}
.p-location .services-testimonial {
	background: none;
	color: #000!important;
	font-size: 13px!important;
}
.p-location .btn-main.services-testimonial:hover {
	background:none;
}
.p-location .badge {
	transition:all ease-in-out 0.5;
	background: rgba(255, 255, 255, 1);
	padding: 15px;
	border-radius: 100px;
	margin: 0 0 15px 0;
	font-weight: 500;
	letter-spacing: 0;
	font-size:14px;
	color: #354e33;
	font-family: "Plus Jakarta Sans", Helvetica, Arial, sans-serif;
	border:1px solid rgba(159, 138, 56, 1);
}
.p-location .badge:hover {
	background: #354e33;
	color:#fff;
	border:1px solid  #354e33;
}
.p-location .closing h3, .p-location .closing h3, .p-location .closing p {
	color:#fff;
}
.p-location .faq-item {
	background: #fff;
	border-bottom: 1px solid rgba(159, 138, 56, 0.3);
	transition: 0.3s;
}
.p-location .faq-question {
	width: 100%;
	background: none;
	border: none;
	padding: 18px 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	text-align: left;
}
.p-location .faq-question h3 {
	font-size: var(--cc-h4);
	margin: 0;
	font-weight: 500;
}
.p-location .faq-item .icon {
	width: 22px;
	height: 22px;
	position: relative;
}
.p-location .faq-item .icon::before, .p-location .faq-item .icon::after {
	content: "";
	position: absolute;
	background: rgba(159, 138, 56, 1);
	transition: 0.3s ease;
}
.p-location .faq-item .icon::before {
	width: 100%;
	height: 2px;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}
.p-location .faq-item .icon::after {
	width: 2px;
	height: 100%;
	left: 50%;
	top: 0;
	transform: translateX(-50%);
}
.p-location .faq-item.active .icon::after {
	height: 0;
	opacity: 0;
}
.p-location .faq-item.active .faq-item .icon::after {
	transform: translateX(-50%) scaleY(0);
}
.p-location .faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease;
	padding: 0 15px;
}
.p-location .faq-answer p {
	margin: 0 0 15px;
	color: #555;
	line-height: 1.6;
}

		/* spacing when open */
.p-location .faq-item.active .faq-answer {
	padding-top: 5px;
}
.p-location .field-set {
	position:relative;
}
.p-location .field-set label {
	transition:all ease-in-out 0.25s;
	color: #606060;
	position: absolute;
	left: 5px;
	top: 10px;
	background: var(--background);
	padding: 0 10px;
	font-size:14px;
	margin-top:-22px;
}
.p-location .field-set input, .p-location .field-set selec, .p-location .field-set textarea {
	padding:10px 15px !important;
}
.p-location .clicked  label, .p-location .field-set input:focus + label, .p-location .field-set select:focus + label, .p-location .field-set textarea:focus + label {
	font-size:14px;
	margin-top:-22px;
}

/* ---------------------------------------------------------------------------
   archive-services.php  ->  .p-servicearchive
   --------------------------------------------------------------------------- */

.p-servicearchive .principles {
	background:#f2f3e7;
}
.p-servicearchive .principles .de__pcard {
	background:#2e2e22; padding:30px; min-height:325px; border-radius:10px;
}
.p-servicearchive .principles h3, .p-servicearchive .principles p {
	color: #fff !important; margin-bottom:0px;
}
.p-servicearchive .principles h3 {
	margin-bottom:15px;
}
.p-servicearchive .principles img {
	filter: brightness(0) invert(1);
}

/* ---------------------------------------------------------------------------
   core-services.php  ->  .p-coreservices
   --------------------------------------------------------------------------- */

.p-coreservices .closing h3, .p-coreservices .closing h3, .p-coreservices .closing p {
	color:#fff;
}

/* ---------------------------------------------------------------------------
   specialties.php  ->  .p-specialties
   --------------------------------------------------------------------------- */

.p-specialties .closing h3, .p-specialties .closing h3, .p-specialties .closing p {
	color:#fff;
}

/* ---------------------------------------------------------------------------
   engineering-service.php  ->  .p-engineering
   --------------------------------------------------------------------------- */

.p-engineering .closing h3, .p-engineering .closing h3, .p-engineering .closing p {
	color:#fff;
}


@media all and (max-width: 360px) {
	.all-timelines::before {
		top: 32px;
	}
	.main-heading{
		font-size: 28px!important;
		  
	}
}