 /*
Theme Name: Hill and Smith
Author: GWP Inc.
Description: Hill and Smith Child Theme
Version: 1.0
Template: bootstrap-component-blox
*/

:root {
	--hs-navy: #193761;
	--hs-blue: #1066B1;
	--hs-orange: #CD5928;
	--hs-dark: #000;
	--hs-light: #fff;
	--hs-light-navy: #F0F1F4;
	--hs-font: "din-2014", sans-serif;
}

/* ===== Global ===== */

html,
body { 
	overflow-x: hidden;
	font-family: var(--hs-font);
	color: var(--hs-dark);
}

a,
a:hover {
	text-decoration: none!important;
}

/* ===== Custom Classes ===== */

.z-front {
	z-index: 5;
}

.z-back {
	z-index: 1;
}

.fw-600 {
	font-weight: 600;
}

.mw-1800 {
	max-width: 1800px
}

.pointer {
    cursor: pointer;
}

.hs-swiper-nav i {
	height: 60px;
	width: 60px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	font-size: 24px;
}

.hs-swiper-nav i:hover {
	background: var(--hs-orange)!important;
	color: #fff;
}

.h-200 {
	height: 200px;
}

.h-250 {
	height: 250px;
}

.h-350 {
	height: 350px;
}

.lh-sm {
    line-height: 1em!important;
}

#hs-common-breadcrumbs a {
	color: var(--hs-navy);
}

#hs-common-breadcrumbs p {
	color: var(--hs-orange);
}

.last-li-mb-0 li:last-child {
    margin-bottom: 0!important;
}

.fs-12 {
    font-size: 12px;
}

.last-p-mb-0 p:last-child {
	margin-bottom: 0!important;
}

.has-links a {
    color: var(--hs-blue);
    font-weight: 600;
}

.hs-icons i {
	display: inline-flex;
	width: 30px;
	height: 30px;
	justify-content: center;
	align-items: center;
	transition: all .3s;
	border: 2px solid var(--hs-navy);
	background: var(--hs-navy);
	color: #fff;
}

.hs-icons i:hover {
	border: 2px solid var(--hs-navy);
	background: #fff;
	color: var(--hs-navy);
}

.pb-90px {
	padding-bottom: 90px;
}

/* ===== Text Color ===== */

.hs-text-navy {
	color: var(--hs-navy);
}

.hs-text-blue {
	color: var(--hs-blue);
}

.hs-text-dark {
	color: var(--hs-dark);
}

.hs-text-orange {
	color: var(--hs-orange);
}

/* ===== Background Color ===== */

.hs-bg-navy {
	background-color: var(--hs-navy);
}

.hs-bg-orange {
	background-color: var(--hs-orange);
}

.hs-bg-blue {
	background-color: var(--hs-blue);
}

.hs-bg-dark {
	background-color: var(--hs-dark);
}

.hs-bg-light {
	background-color: var(--hs-light);
}

.hs-bg-light-navy {
	background-color: var(--hs-light-navy);
}

#hs-pagination {
    border: none;
    display: inline-flex!important;
    gap: 5px;
}

#hs-pagination .page-link,
#hs-pagination .current {
    color: var(--hs-navy);
}

/* ===== Button ===== */

.hs-btn-skew {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	isolation: isolate;
}

.hs-btn-skew::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: var(--hs-orange);
	transform: skewX(-18deg);
	z-index: 0;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hs-btn-skew:hover:before {
	background-color: var(--hs-navy);
}

.hs-btn-skew .btn {
	position: relative;
	z-index: 1;
	padding: 0.9rem 2.6rem;
	background: transparent;
	border: none;
	color: #fff;
	font-weight: 600;
}

.hs-btn-skew .btn:hover,
.hs-btn-skew .btn:focus {
	color: #fff;
	opacity: 1;
}

.hs-btn-skew .btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 4px;
}


.btn {
	font-weight: 600;
	border-radius: 0;
	padding: 10px 25px;
	text-transform: uppercase;
}

.hs-btn-navy {
	background-color: var(--hs-navy);
	color: #fff;
}

.hs-btn-navy:hover {
	background-color: var(--hs-navy);
	color: #fff;
}

.hs-btn-blue {
	background-color: var(--hs-blue);
	color: #fff;
}

.hs-btn-blue:hover {
	background-color: var(--hs-blue);
	color: #fff;
}

.hs-btn-orange {
	background-color: var(--hs-orange);
	color: #fff;
}

.hs-btn-orange:hover {
	background-color: var(--hs-orange);
	color: #fff;
}

.hs-btn-dark {
	background-color: var(--hs-dark);
	color: #fff;
}

.hs-btn-dark:hover {
	background-color: var(--hs-dark);
	color: #fff;
}

.hs-btn-outline-primary {
    border: 1px solid var(--hs-navy);
}

/* ===== Navbar ===== */


#navbar-main-menu .nav-link {
	color: var(--hs-navy);
	text-transform: uppercase;
}

#navbar-main-menu .nav-link:hover {
	color: var(--hs-orange);
}

#navbar-brand-logo img {
	max-width: 200px
}

.navbar-nav li {
	margin-left: 30px;
	margin-right: 30px;
}

#navbar-main-menu .sub-menu {
    border-radius: 0;
    border: none;
    padding: 20px;
    left: -25px;
}

#navbar-main-menu .sub-menu li {
    margin-left: 0px;
	margin-right: 0px;
}

#navbar-main-menu .sub-menu li a {
    font-weight: 300;
}

.navbar-nav li a {
	font-weight: bold;
}


/* ===== Accordion ===== */
.accordion-button {
    background-color: var(--hs-light-navy);
    border-left: 4px solid var(--hs-blue) !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--hs-blue);
    color: #fff;
}

.accordion-button:not(.collapsed)::after {
    content: "";
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
}

/* ===== Single Product ===== */

#hs-product-intro .swiper {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}

#hs-product-intro .mySwiper {
    height: 25%;
    box-sizing: border-box;
    padding: 10px 0;
}

#hs-product-intro .mySwiper2 {
    height: 75%;
    width: 100%;
}

#hs-product-intro .mySwiper .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.6;
}

#hs-product-intro .mySwiper .swiper-slide-thumb-active {
    opacity: 1;
}

#hs-product-intro .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

#hs-product-intro .mySwiper .swiper-slide:hover img {
    opacity: 0.6;
}

#hs-product-intro .swiper-button-next {
    height: 50px;
    width: 50px;
    background: #fff;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

#hs-product-intro .bi-chevron-right {
    top: 50%;
    right: 10px;
    z-index: 10;
    background: #fff;
    display: inline-flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}

#hs-product-intro .bi-chevron-left {
    top: 50%;
    left: 10px;
    z-index: 10;
    background: #fff;
    display: inline-flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}

/* ===== Resouce Center ===== */

#hs-resource-center-archive .form-select,
#hs-resource-center-archive .form-control {
    border: 1px solid var(--hs-navy);
}

#hs-resource-center-archive .card,
#hs-resource-center-archive .border {
    border-color: var(--hs-orange)!important;
}

#hs-resource-center-archive .card-footer .btn {
    padding-top: 5px;
    padding-bottom: 5px;
}

/* ===== Toggler ===== */

#toggler:focus, 
#toggler:active {
    outline: 0;
}

#toggler span {
    width: 30px;
    height: 3px;
    display: block;
    background-color: var(--hs-dark);
    margin: 7px 0;
    -webkit-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
}

#toggler span:nth-child(1) {
    -webkit-transform: translatey(10px) rotate(-45deg);
        -ms-transform: translatey(10px) rotate(-45deg);
            transform: translatey(10px) rotate(-45deg);
}

#toggler span:nth-child(2) {
    opacity: 1;
    width: 0;
}

#toggler span:nth-child(3) {
    -webkit-transform: translatey(-10px) rotate(45deg);
        -ms-transform: translatey(-10px) rotate(45deg);
            transform: translatey(-10px) rotate(45deg);  
}

/* ===== Home Hero ===== */

#hs-home-hero .col-lg-8 {
    height: 700px;
}

#hs-home-hero h1 {
    font-size: 100px!important;
}

#hs-home-hero .hs-box {
    position: absolute;
    background: var(--hs-navy);
    width: 700px;
    height: 700px;
    border-right: 15px solid white;
    border-top: 15px solid white;
    top: 50%;
    transform: translatey(-50%) rotate(45deg);
    right: -250px;
    clip-path: inset(0 0 25% 25%);
}

#hs-home-hero .col-lg-4 > div {
    margin-left: 20%;
}

#hs-home-hero .swiper-pagination {
    position: absolute;
    display: flex;
    justify-content: start;
    margin-left: 8%;
    bottom: 80px;
}

#hs-home-video {
    margin-bottom: 160px;
}

.swiper-pagination {
	position: static;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.75rem;
}

.swiper-pagination-bullet {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.45);
	background: transparent;
	opacity: 1;
	transition: border-color 0.3s ease, background-color 0.3s ease;
}

.swiper-pagination-bullet-active {
	background: var(--hs-orange);
	border-color: var(--hs-orange);
}

/* ===== Home Services ===== */

#hs-home-services .hs-services-card {
	position: relative;
	display: flex;
	height: 100%;
	padding-left: 20px;
	color: var(--hs-light);
	text-decoration: none;
	clip-path: polygon(0 0, calc(100% - 72px) 0, 100% 50%, calc(100% - 72px) 100%, 0 100%);
	left: -2px;
}

#hs-home-services .hs-services-card--roadside {
	background: var(--hs-blue);
}

#hs-home-services .hs-services-card--worksite {
	background: var(--hs-navy);
}

#hs-home-services .hs-services-card--its {
	background: var(--hs-blue);
	position: relative;
	right: 1px;
}

#hs-home-services .hs-services-card-inner {
	width: 100%;
	max-width: 24rem;
}

#hs-home-services .hs-services-heading {
	gap: 1.25rem;
}

#hs-home-services .hs-services-title {
	font-weight: 600;
}

#hs-home-services .hs-services-copy {
	font-size: 1rem;
	line-height: 1.6;
}

#hs-home-services .hs-services-arrow {
	position: relative;
	display: inline-block;
	width: 1.1rem;
	height: 0.85rem;
}

#hs-home-services .hs-services-arrow::before,
#hs-home-services .hs-services-arrow::after {
	content: "";
	position: absolute;
	width: 100%;
	height: 2px;
	background-color: var(--hs-orange);
	right: 0;
}

#hs-home-services .hs-services-arrow::before {
	top: 0;
	transform: rotate(40deg);
	transform-origin: right center;
}

#hs-home-services .hs-services-arrow::after {
	bottom: 0;
	transform: rotate(-40deg);
	transform-origin: right center;
}

#hs-home-services i {
    transition: all .3s;
}

#hs-home-services .hs-services-card-inner:hover i {
    transform: translate(10px);
}

/* ===== Home About ===== */

#hs-home-about {
	background-color: var(--hs-light);
}

#hs-home-about .hs-home-about-media {
	height: 100%;
	min-height: 320px;
	overflow: hidden;
}

#hs-home-about .hs-home-about-media img {
	display: block;
	height: 100%;
	width: 100%;
	object-fit: cover;
}

#hs-home-case-studies {
    margin-bottom: 160px;
}

#toggler.collapsed span {
    -webkit-transform: translatey(0) rotate(0deg);
        -ms-transform: translatey(0) rotate(0deg);
            transform: translatey(0) rotate(0deg);
    opacity: 1;
    width: 30px;   
}

/* ===== Header ===== */

#hs-header .row {
	padding-top: 150px;
	padding-bottom: 150px;
}

/* ===== Has Form ===== */

.has-form .wpforms-container {
	margin-bottom: 0!important;
	margin-top: 0!important;
}

.has-form .wpforms-submit {
	color: #fff!important;
	background: var(--hs-navy)!important;
	padding: 10px 20px!important;
	text-transform: uppercase!important;
	border: none!important;
	font-weight: bold!important;
}

/* ===== Footer ===== */

footer {
	display: none;
}

#hs-footer-widgets ul {
	list-style: none
}

#hs-footer-widgets ul li {
	margin-bottom: 5px;
}

#hs-footer-widgets ul li a {
	color: #fff;
}

#hs-footer-widgets ul li:hover a {
    opacity: 0.8;
}

#hs-footer-widgets .hs-icons i {
	display: inline-flex;
	width: 30px;
	height: 30px;
	background: #fff;
	color: var(--hs-primary);
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

#hs-footer-widgets i:hover {
    opacity: 0.8;
}

footer {	
	background: var(--hs-navy);
	color: var(--hs-light);
}

footer a {
	color: var(--hs-dark);
}

footer a:hover {
	color: var(--hs-dark);
}

@media (max-width: 1600px) {

	#hs-home-hero .hs-hero-title {
		font-size: 70px
	}

	#hs-home-services .fs-2 {
		font-size: 22px!important;
	}
}

@media (max-width: 1400px) {
	
	.navbar-nav li {
		margin-left: 5px;
		margin-right: 5px;
	}

	#navbar-brand-logo img {
		max-width: 150px
	}
}

@media (max-width: 992px) {
    
    #hs-home-about .h-100,
	#hs-home-case-studies .h-100 {
        height: 250px !important;
    }
    
    #hs-home-hero .hs-box {
        display: none;
    }
    
    #hs-home-hero h1 {
        font-size: 60px!important;
    }
    
    #hs-home-hero .col-lg-8 {
        height: auto;
    }
    
    #hs-home-hero .col-lg-4 > div {
        margin-left: 0%;
    }
    
    #hs-home-hero .swiper-pagination {
        position: relative;
        display: flex;
        justify-content: start;
        margin-left: 3%;
        bottom: 20px;
    }
    
    #hs-home-hero .col-lg-8 {
        height: 300px;
    }
    
    #hs-home-about .hs-home-about-pane {
		padding-top: 2rem;
		padding-bottom: 2rem;
	}

	#hs-home-about .hs-home-about-title {
		font-size: 2.125rem;
	}
	
	#hs-home-services {
		background-color: transparent;
	}

	#hs-home-services .row {
		--bs-gutter-y: 1.5rem;
	}

	#hs-home-services .hs-services-card {
		clip-path: polygon(0 0, calc(100% - 72px) 0, 100% 50%, calc(100% - 72px) 100%, 0 100%);
	}

	#hs-home-services .col {
		background: #fff!important;
	}
	
	.float-start {
		float: none!important;
	}
	
	#hs-home-services,
	#hs-home-video,
    #hs-home-case-studies {
        margin-bottom: 0px!important;
    }
    
    #hs-home-case-studies .position-absolute {
        position: static!important;
        justify-content: center;
        margin-top: 20px;
    }
    
    #navbar-main-menu .sub-menu {
        padding: 0;
        left: 0;
    }
    
    #navbar-main-menu .sub-menu .nav-link {
         padding-left: 0!important;
    }
	
	.h-200 {
		height: 100%;
	}
    
}

@media (max-width: 768px) {}

@media (max-width: 576px) {}
