/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
.hidden {
    display: none;
}

.elementor-widget-text-editor p:last-child,
.elementor-widget-container p:last-child {
	margin-bottom: 0px;
}

/* !New homepage modifications */
.elementor-loop-container.homepage-flex {
	display: flex;
	gap: 2rem;
	flex-wrap: wrap;
}

.elementor-loop-container.homepage-flex .post-box {
	width: 30.65%;
	overflow: hidden;
	position: relative;
}

.post-box-header {
	position: absolute;
	top: 0;
	width: 100%;
	padding: 1.063rem 1.25rem;
	background-color: #000;
	z-index: 2;
}

.post-box-header h2 {
	font-family: "Hanken Grotesk", Sans-serif;
	font-size: 1.25rem;
	font-weight: 600;
	text-transform: uppercase;
	line-height: 1.5rem;
}

.post-box-header h2 a {
	color: #fff;
}

.post-box-header h2 a:hover {
	color: #fff;
	text-decoration: underline;
}

.post-box-image a {
	display: flex;
}

.post-box-image img {
	min-height: 480px;
	object-fit: cover;
}

.post-box-header::before {
	content: "";
	position: absolute;
	bottom: -18.5px;
	left: 0px;
	height: 20px;
	width: 20px;
	background: url("/wp-content/uploads/2024/02/triangle.svg") no-repeat center;
	background-size: contain;
	z-index: 2;
}

.elementor-loop-container.homepage-flex .single-product-loop .single-loop-video, 
.elementor-loop-container.homepage-flex .single-product-loop .single-loop-video video {
	min-height: 480px;
	object-fit: contain !important;
	background-color: rgb(50,50,50) !important;
}

@media (481px <= width <= 768px) {
	.elementor-loop-container.homepage-flex .post-box {
		width: 47%;
	}
}

@media (width <= 480px) {
	.elementor-loop-container.homepage-flex .post-box {
		width: 100%;
	}
	
	.elementor-loop-container.homepage-flex .post-box-image img {
		min-height: 510px;
	}
}

@media (width >= 1920px) {
	.elementor-loop-container.homepage-flex .post-box {
		width: 31.55%;
	}
	
	.elementor-loop-container.homepage-flex .single-product-loop .single-loop-video,
	.elementor-loop-container.homepage-flex .single-product-loop .single-loop-video video,
	.elementor-loop-container.homepage-flex .single-product-loop .post-box-image img {
		min-height: 686px;
	}
}

@media (width >= 2300px) {
	.elementor-loop-container.homepage-flex .post-box {
		width: 23.55%;
	}
	
	.elementor-loop-container.homepage-flex .single-product-loop .single-loop-video,
	.elementor-loop-container.homepage-flex .single-product-loop .single-loop-video video,
	.elementor-loop-container.homepage-flex .single-product-loop .post-box-image img {
		max-height: 539px;
	}
}
/* !End new homepage modifications */

div#primary {
    padding-left: 260px;
}

.main-menu nav ul li a:hover,
.main-menu nav ul li.current-menu-item a {
    padding-left: 25px !important;
}

.main-menu nav ul li.current-menu-item a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    position: relative;
}

.main-menu nav ul li.current-menu-item a:after {
    content: "";
    display: block;
    width: 100%;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33.3%;
    flex: 0 0 33.3%;
    height: 1px;
    background-color: #000000;
    margin-left: 20px;
    position: relative;
}

.homepage-video .e-con-inner {
	margin-right: 0;
}

.single-product-loop .elementor-widget-image img {
    min-height: 480px;
    object-fit: cover;
}

@media (width <= 480px) {
    .single-product-loop .single-loop-video,
    .single-product-loop .single-loop-video video,
    .single-product-loop .elementor-widget-image img {
        min-height: 510px;
    }

    .single-product-images .gallery-thumbs .swiper-slide {
        margin-bottom: 70px;
        opacity: 1;
    }

    .single-product-images .gallery-thumbs .color-type {
        opacity: 1;
    }
}

@media (width >= 1920px) {
    .single-product-loop .single-loop-video,
    .single-product-loop .single-loop-video video,
    .single-product-loop .elementor-widget-image img {
        min-height: 686px;
    }
}

@media (width >= 2400px) {
    .single-product-loop .single-loop-video,
    .single-product-loop .single-loop-video video,
    .single-product-loop .elementor-widget-image img {
        max-height: 539px;
    }
}

body.home .single-product-loop:has(.single-loop-video) .elementor-widget-image {
    display: none;
}

.single-product-loop .single-loop-video,
.single-product-loop .single-loop-video video {
    max-height: 480px;
    object-fit: contain !important;
    background-color: rgb(50,50,50) !important;
}

body:not(.home) .single-product-loop .single-loop-video {
    display: none;
}

.single-product-loop-title:before {
    content: "";
    position: absolute;
    top: 57.5px;
    left: 0px;
    height: 20px;
    width: 20px;
    background: url("/wp-content/uploads/2024/02/triangle.svg") no-repeat center;
    background-size: contain;
    z-index: 2;
}

.zoom img {
    transition: transform 1s;
    height: 100%;
}

.zoom:hover img {
    transform: scale(1.1) perspective(1000px);
    transition: all 0.3s ease-in-out;
}

.secondary-heading {
    left: 0 !important;
    right: 0;
    top: -38px !important;
}

.heading-container:before {
    content: "";
    display: block;
    height: 60px;
    width: 1px;
    background-color: #737373;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    top: -120px;
}

.single-category .text-container {
    width: 100%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    text-align: left;
    padding: 17px 20px;
    background-color: #000;
}

.single-category .text-container h2 {
    margin: 0 !important;
    line-height: 0;
}

.single-category .text-container h2 a {
    color: #fff;
    font-family: "Hanken Grotesk", Sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    text-transform: uppercase;
    -webkit-transition: 0.3s ease color;
    transition: 0.3s ease color;
}

.single-category .text-container h2::before {
    content: "";
    position: absolute;
    bottom: -18px;
    left: 0px;
    height: 20px;
    width: 20px;
    background: url("/wp-content/uploads/2024/02/triangle.svg") no-repeat center;
    background-size: contain;
}

/* Single product */
.single-product-title h1.product_title::before {
	content: '';
	position: absolute;
	top: 70px;
	left: 0;
	right: auto;
	display: block;
	height: 2px;
	width: 80px;
	background-color: #4a4a4a;
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
}

.thumb-gallery-shortcode,
.thumb-gallery-shortcode .single-product-images {
    height: 100%;
    overflow: hidden;
}

@media (width <= 480px) {
    .thumb-gallery-shortcode,
    .thumb-gallery-shortcode .single-product-images {
        height: auto;
    }
}

.gallery-thumbs {
	position: relative;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	height: 100%;
	max-height: 778px;
	padding: 50px 0 10px;
}

.gallery-thumbs .swiper-slide {
    position: relative;
    width: 100% !important;
    height: 208px;
    opacity: .7;
    cursor: pointer;
    -webkit-transition: .4s ease-in-out;
    transition: .4s ease-in-out;
}

.gallery-thumbs .swiper-slide:hover {
	opacity: 1;
}

.gallery-thumbs .swiper-slide {
    background-size: cover;
    background-position: center;
}

.gallery-thumbs .swiper-slide a {
    position: absolute;
    top: 0;
    left: 0;
    height: 208px;
    width: 100%;
}

.gallery-thumbs .swiper-slide a img {
    position: absolute;
    z-index: -1;
    visibility: hidden;
}

.gallery-thumbs .color-type {
    -webkit-transform: translate(27px,-42px);
    transform: translate(27px,-42px);
    font-style: normal;
    display: inline-block;
    font-weight: 600;
    font-size: 20px;
    line-height: 32px;
    color: #4a4a4a;
    position: relative;
    padding-left: 14px;
    opacity: 0;
    -webkit-transition: .4s ease-in-out;
    transition: .4s ease-in-out;
}

.gallery-thumbs .swiper-slide:hover .color-type {
    opacity: 1;
}

.gallery-thumbs .color-type::before {
	content: '';
	position: absolute;
	top: 23px;
	left: 0;
	width: 2px;
	height: 44px;
	background-color: #4a4a4a;
}

.single-product-description {
	box-shadow: 0 4px 4px rgba(0,0,0,0.07);
    -webkit-transform: translateY(-60px);
    transform: translateY(-60px);
    -webkit-box-flex: 0;
    -ms-flex: 0 1 900px;
    flex: 0 1 900px;
    max-width: 900px;
}

.next-prev-navigation {
	width: 100%;
	display: flex;
	flex-direction: row;
}

.next-prev-navigation > div {
	position: relative;
	flex-grow: 1;
	z-index: 50;
}

.next-prev-navigation > div:first-child {
	text-align: left;
}

.next-prev-navigation > div:last-child {
	text-align: right;
}

.next-prev-navigation > div > div {
	position: relative;
	display: inline-block;
}

.next-prev-navigation > div > div a {
	z-index: 98;
}

.next-prev-navigation > div > div a:first-child {
	position: absolute;
	left: 0;
	top: 20px;
	width: 100%;
	background-color: #FFF;
	color: #4a4a4a;
	padding: 4px 4px;
	text-align: center;
	z-index: 99;
}

.next-prev-navigation > div > div a:last-child {
	position: relative;
	padding: 0;
    display: inline-block;
}

.next-prev-navigation > div > div a:last-child::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255,255,255,0.4);
}

.next-prev-navigation > div > div:hover a:last-child::before {
    display: none;
}

.next-prev-navigation > div > div a:last-child img {
    max-height: 159px;
    object-fit: cover;
    object-position: center;
}

.related.products > h2 {
	display: inline-block;
	font-size: 3.5rem;
	line-height: 5rem;
    font-weight: 400 !important;
    padding-left: 35px;
    margin-bottom: 100px;
}

.related.products > h2:before {
    content: "";
    display: block;
    height: 70px;
    width: 2px;
    background-color: #000;
    margin-left: auto;
    margin-right: auto;
    float: left;
    margin-right: 45px;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    margin-top: 4px;
}

.related.products .products .woocommerce-LoopProduct-link.woocommerce-loop-product__link {
	display: flex !important;
	flex-direction: column-reverse;
}

.single-product .related.products ul.products li.product .woocommerce-loop-product__title {
	color: #000000;
    font-size: 32px;
    font-weight: 500;
    padding-left: 70px;
    padding-bottom: 0px;
    line-height: 1.2;
    height: 111px;
}

.related.products ul.products li.product .woocommerce-loop-product__title::before {
	content: '';
	position: absolute;
	top: 85px;
	left: 0;
	right: auto;
	display: block;
	height: 2px;
	width: 80px;
	background-color: #4a4a4a;
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
}

.request-offer-shortcode {
    width: 100%;
}

.request-offer-shortcode .elementor-widget-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#product_inq,
#price_calculator label {
    width: 100%;
}

#price_calculator input.wpcf7-form-control.wpcf7-text,
#price_calculator textarea.wpcf7-form-control.wpcf7-textarea {
    border: none;
    border-bottom: 1px solid;
    border-radius: 0;
    margin-top: 10px;
}

#price_calculator p {
	margin-bottom: 25px;
}

#price_calculator p:last-of-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0px;
}

#price_calculator .req {
    color: red;
}

.related .products li .price {
    display: none !important;
}

/* Materials */

.material-heading:before {
    content: "";
    position: absolute;
    top: -19px;
    left: -1px;
    height: 19px;
    width: 20px;
    background: url('/wp-content/uploads/2024/02/triangle.svg') no-repeat center;
    background-size: contain;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.material-heading h2 {
    min-height: 3rem;
}

.material-heading h2 a:hover {
    text-decoration: none;
}

.material-item .elementor-widget-image a,
.material-item .elementor-widget-image a img {
    width: 100%;
}

/* Single Material */
.specifications-container img {
    max-height: 430px;
    width: auto;
    object-fit: cover;
}

.instructions-container h2:before {
    content: '';
    position: absolute;
    top: -167px;
    left: -22px;
    display: block;
    height: 185px;
    width: 1px;
    border-left: 1px solid #000;
    z-index: -1;
}

.instructions-container ul {
    list-style: none;
    padding-left: 0px;
}

.instructions-container ul li {
    margin-bottom: 1rem;
}

.instructions-container ul li:last-child {
    margin-bottom: 0px;
}

@media (width <= 480px) {
    .specifications-container .elementor-widget-text-editor {
        margin: 0 auto;
        margin-top: -1rem;
    }
    .instructions-container h2::before {
        display: none;
    }
}

/* Projects */
.project-title-loop::after {
    content: "";
    position: absolute;
    bottom: -18px;
    left: -1px;
    height: 19px;
    width: 20px;
    background: url('/wp-content/uploads/2024/02/triangle.svg') no-repeat center;
    background-size: contain;
}

.project-title-loop .elementor-heading-title a:hover {
    text-decoration: none;
}

/* Single project */
.project-title h1 {
    display: flex;
}

span.before-project-title {
    font-size: .625rem;
    font-weight: 500;
    letter-spacing: .91px;
    /* line-height: .75rem; */
    text-transform: uppercase;
    margin-right: 15px;
}

.project-featured-image a:before {
    top: 0;
    left: 0;
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 30px 30px 0 0;
    border-color: #fff transparent transparent;
}

a#back-to-all-projects:before {
    content: "";
    position: absolute;
    top: 33px;
    left: -30px;
    height: 1px;
    width: 40px;
    background: #4a4a4a;
}

/* Footer */
.footer-menu nav ul li:first-child a {
    padding-left: 0 !important;
}

@media (width <= 480px) {
    .footer-menu nav ul li:nth-child(4) a {
        padding-left: 0 !important;
    }
}