/*
Theme Name: Themify Ultra Child
Description: A child theme of Themify Ultra
Template: themify-ultra
Author: Your Name (magento@binarycode.co.nz)
*/

/* Woohoo! Let's customize! */

/*.home .row_inner { width: 100%; max-width: 1920px; padding: 0 30px; }*/
.radius-img-30 img { border-radius: 30px; }
.radius-img-20 img { border-radius: 20px; }
.home-client-box .module-text { border-radius: 20px; }
.home-top-right .tb-column-inner { height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.home-client-box { height: calc(50% - 15px); border-radius: 20px; }
.home-metatrail-box { border-radius: 20px; height: calc(50% - 15px); }
.home-top-right .button-link a { border: 1px solid #1b2620; padding: 7px 15px 6px; min-width: 100px; text-align: center; transition:none;
border-radius: 30px; color: #1b2620; text-decoration: none; display: inline-block; line-height: 20px; margin-bottom: 20px; }
.home-top-right h4 { text-transform: none; margin: 0 0 20px; font-size: 18px; }
.home-top-right h3 { text-transform: none; font-weight: 600; font-size: 28px; line-height: 1.2; }

.home-top-right .home-metatrail-box .button-link a { border-color: #fff; color: #fff; }
.home-top-right .home-metatrail-box .button-link a:hover { background: #fff; color: #1b2620; }
.home-top-right .button-link a:hover { background: #1b2620; color: #fff; }
.home-top-right .home-metatrail-box h4 { color: #fff; }
.home-top-right .home-metatrail-box h3 { color: #fff; }

.home-tabs-section .ui.minimal .tab-content { padding: 35px 0 0; }
.home-tabs-section .tab-nav { display: flex; gap:12px; justify-content: flex-end; flex-wrap: wrap; }
.home-tabs-section .ui.minimal .tab-nav li { margin: 0; }
.home-tabs-section .ui.minimal .tab-nav li a { border: 1px solid #505050; border-radius: 30px; padding: 6px 18px; font-size: 14px; }
.home-tabs-section .ui.minimal .tab-nav li.current a { background: #505050; color: #fff; }
.home-tabs-section .ui.minimal .tab-nav li.current { border: 0; }
.home-tabs-section .module-title { font-weight: 500; font-size: 30px; margin: 0 0 -34px; line-height: 1.2; }
.home-tabs-section .woocommerce .wc-products .product:hover, 
.home-tabs-section .woocommerce ul.products li.product:hover { box-shadow: none; }
.home-tabs-section .woocommerce ul.products li.product .product_title { text-align: left;  font-weight: 500; font-size: 18px; margin: 0 0 3px;
height: auto; }
.home-tabs-section .product-content { position: relative; }
.home-tabs-section .woocommerce ul.products li.product .add_to_cart_button { font-size: 0; 
position: absolute; top: -55px; right: -6px; width: 48px; height: 48px; border-radius: 12px; display: flex;
opacity: 1; visibility: visible; transform: none; justify-content: center; align-items: center; border: 6px solid #fff; z-index: 9; } 

.home-tabs-section .woocommerce ul.products li.product .add_to_cart_button:before { font-size: 14px; margin:0; } 
.home-tabs-section .ui.module.module-tab { margin-bottom: 10px; }
.home-tabs-section .woocommerce ul.products li.product .product_title a { margin:0; }
.home-tabs-section .woocommerce ul.products li.product .price, 
.home-tabs-section .woocommerce div.product p.price, 
.home-tabs-section .woocommerce div.product span.price { text-align: left; }

.home-crafting-structural {  }
.image-overlap-text .button-link a,
.home-crafting-structural .button-link a { border: 1px solid #1b2620; padding: 7px 15px 6px; min-width: 70px; text-align: center;
border-radius: 30px; color: #1b2620; text-decoration: none; display: inline-block; line-height: 20px; margin-bottom: 20px; transition: none; }
.image-overlap-text .button-link a:hover,
.home-crafting-structural .button-link a:hover { background: #1b2620; color: #fff; }

.home-crafting-structural h4 { text-transform: none; margin: 0 0 20px; color: #000; }
.home-crafting-structural .home-crafting-box h4:last-child { margin-bottom: 0; }
.home-crafting-box .module-text { padding-top: 20px; }
.home-structural-box .module-text {  }
.home-structural-box.module_column { display: flex; flex-direction: column; justify-content: flex-end; }
.home-block-link .link-arrow,
.home-crafting-structural .link-arrow { background: #000; border-radius: 100%; float: right; width: 50px; height: 50px;
position: relative; z-index: 9; border: 5px solid #fff; margin: -38px -8px 0 0; }
.home-block-link .link-arrow a,
.home-crafting-structural .link-arrow a { background: transparent; padding: 0; font-size: 8px; color: #fff !important; }
.home-block-link .link-arrow .tf-lb-content,
.home-crafting-structural .link-arrow .tf-lb-content { display: none; }
/*.home-crafting-structural h3 { text-transform: none; font-weight: 500; font-size: 24px; line-height: 1.2; }*/

.home-top-right {}
.woocommerce ul.products li.product a,
.woocommerce-page.columns-3 ul.products li.product, 
.woocommerce.columns-3 ul.products li.product { overflow: hidden; }
.woocommerce ul.products li.product a img, 
.woocommerce .wc-products .product .post-image img { transition: transform .2s; border-radius: 20px; }
.woocommerce ul.products li.product:hover a img, 
.woocommerce .wc-products .product:hover .post-image img { transform:none; }
.home-top-right.module_column { display: flex; flex-direction: column; }
.home-tabs-section afterpay-placement { display: none; }

.home-bottom-section .bottom-btn { text-align: right; }
.home-bottom-section .module-buttons.bottom-btn a { padding: 10px 25px 10px;
border-radius: 30px; color: #fff !important; text-decoration: none; display: inline-block; line-height: 20px; margin-bottom: 0px; 
background: #000; font-weight: 400; text-transform: none; }
.home-bottom-section .module-buttons.bottom-btn a:hover { background: #333; }
.home-bottom-section h4 { text-transform: none; }
.home-bottom-section h3 { font-size: 20px; font-weight: 500; }
.wood-origin-box { position: relative; }
.image-overlap-text h3 { font-size: 24px; font-weight: 500; margin: 0; }
.image-overlap-text { position: relative; }
.image-overlap-text .module.module-text { position: absolute; bottom: 0; left: 0; padding: 35px 45px 30px 30px; background: rgba(255,255,255,0.9);
border-radius: 0 120px 0 18px; }
.builder_row_cover { border-radius: 20px; }
.home-structural-box .link-arrow { position: absolute; right: -8px; bottom: -8px; margin: 0; }
.home-block-link .module_column { position: static; }
.home-block-link .link-arrow { position: absolute; right: -5px; bottom: -6px; margin: 0; }

.image-overlap-text.overlap-left-top .module.module-text { top: 0; border-radius: 18px 0px 80px 0px; bottom: auto; }
.image-overlap-text .tf_box { position: relative; }
 

h2 { font-size: 26px; }
.banner-top {  }
.home-crafting-box h4 { font-size: 24px; font-weight: 500; line-height: 1.3; }
.home-structural-box h4 { font-size: 24px; font-weight: 500; line-height: 1.3; }
.home-bottom-section .row_inner { align-items: center; }
.banner-top .module-text { max-width: 90%; }

.validate-state .optional {display: none;}

.woocommerce ul.products li.product .button::before, 
.cart-wrap a i::before { -webkit-mask: url('images/font-icons.svg#c') no-repeat;
mask: url('images/cart.svg') no-repeat; }

@media(min-width: 1024px) {
.image-overlap-text.cirrus-rugs-box .module.module-text { border-radius: 0 80px 0 18px; }	
}
@media(min-width: 1280px) and (max-width: 1440px) {
.home-top-right h3 br { display: none; }
.home-top-right h3 { font-size: 21px; }
.home-top-right h4 { margin-bottom: 8px; }
.home-top-right .module-text { padding: 25px !important; }
}
@media(max-width: 1279px) {
.home-top-right h3 br { display: none; }
}
@media(max-width: 1200px) {
#headerwrap #main-nav a, 
#headerwrap #main-nav ul a { color: #fff !important; }	
.header-horizontal .search-button { color: #fff; display: none; }
#menu-icon-close::before, #menu-icon-close::after { color: #fff; } 

}
@media(min-width: 1024px) and (max-width: 1279px) {
.home-top-right h3 { font-size: 19px; }
.home-top-right h4 { margin-bottom: 8px; }
.home-top-right .module-text { padding: 20px !important; }
.home-top-right .button-link a { margin-bottom: 8px; }
.home-top-right .module-text { padding-bottom: 0px !important; }
.home-client-box { height: calc(50% - 8px); }
.home-metatrail-box { height: calc(50% - 8px); }
.image-overlap-text h2 { font-size: 22px; line-height: 1.2; }
.home-tabs-section .module-title { font-size: 22px; }
.image-overlap-text .module.module-text { padding: 30px 45px 25px 30px; border-radius: 0 70px 0 18px; }
.home-top-right h4 { font-size: 15px; }
.home-crafting-box h4,
.home-structural-box h4 { font-size: 20px; }
.home-crafting-box h4 br,
.home-structural-box h4 br { display: none; }
.home-bottom-section h3 { font-size: 16px; }

}

@media(min-width: 768px) and (max-width: 1023px) {
.home-top-right h3 { font-size: 14px; line-height: 1.2; }
.home-top-right h4 { margin-bottom: 5px; font-size: 13px; line-height: 1.3; }
.home-top-right .module-text { padding: 15px !important; }
.home-top-right .button-link a { margin-bottom: 8px; }
.home-top-right .module-text { padding-bottom: 0px !important; }
.home-client-box { height: calc(50% - 8px); }
.home-metatrail-box { height: calc(50% - 8px); }
.image-overlap-text h2 { font-size: 20px; line-height: 1.2; margin: 0; }
.home-tabs-section .module-title { font-size: 22px; }
.image-overlap-text .module.module-text { padding: 20px 15px 15px 15px; border-radius: 0 40px 0 18px; }
.image-overlap-text.overlap-left-top .module.module-text { border-radius: 18px 0px 30px 0px; }
.image-overlap-text .button-link a, .home-crafting-structural .button-link a { margin-bottom: 10px; }
.home-tabs-section .tab-nav { gap: 8px; }
.home-tabs-section .loops-wrapper.products.grid3 > .product:nth-of-type(2n+1), 
.home-tabs-section .loops-wrapper.grid3 > .post:nth-of-type(2n+1) { clear: none; }
.image-overlap-text h3 { font-size: 18px; }
.home-crafting-structural h4 { line-height: 1.2; font-size: 14px; }
.image-overlap-text .button-link a, .home-crafting-structural .button-link a { font-size: 14px; }
.home-bottom-section h3 { font-size: 16px; }
.home-bottom-section .module_column:last-child { min-width: 150px; }

.home-top-right h4 { font-size: 14px; letter-spacing: 0.5px; line-height: 1.1; }
.home-crafting-box h4,
.home-structural-box h4 { font-size: 18px; letter-spacing: 0.5px; }
.home-crafting-box h4 br,
.home-structural-box h4 br { display: none; }

}
@media(min-width: 768px) and (max-width: 900px) {
.home-tabs-section .loops-wrapper.products.grid3 > .product:nth-of-type(3n+3), 
.home-tabs-section .loops-wrapper.grid3 > .post:nth-of-type(3n+3) { margin-left: 3.2%; }	
}

@media(min-width: 480px) and (max-width: 767px) {
.woocommerce ul.products li.product a, 
.woocommerce ul.products li.product .price { font-size: 15px; }	
.woocommerce ul.products li.product .price, 
.woocommerce div.product p.price, 
.woocommerce div.product span.price { font-size: 13px; }

}
@media(max-width: 767px) {
.home-top-right h3 { font-size: 18px; line-height: 1.2; }
.home-top-right .module-text { padding: 20px 30px 20px 20px !important; }
.home-top-right .button-link a { margin-bottom: 12px; }
.home-client-box { height: calc(50% - 8px); }
.home-metatrail-box { height: calc(50% - 8px); }
.image-overlap-text h2 { font-size: 20px; line-height: 1.2; margin: 0; }
.home-tabs-section .module-title { font-size: 22px; margin: 0 0 20px; text-align: center; }
.image-overlap-text .module.module-text { padding: 20px 15px 15px 15px; border-radius: 0 40px 0 18px; }
.image-overlap-text.overlap-left-top .module.module-text { border-radius: 18px 0px 30px 0px; }
.image-overlap-text .button-link a, .home-crafting-structural .button-link a { margin-bottom: 10px; }
.home-tabs-section .tab-nav { gap: 8px; justify-content: center; }
.home-tabs-section .ui.minimal .tab-content { padding-top: 30px; }
.home-tabs-section .loops-wrapper.products.grid3 > .product:nth-of-type(2n+1), 
.home-tabs-section .loops-wrapper.grid3 > .post:nth-of-type(2n+1) { clear: none; }
.image-overlap-text h3 { font-size: 18px; }
.home-crafting-structural h4 { line-height: 1.2; font-size: 14px; }
.image-overlap-text .button-link a, .home-crafting-structural .button-link a { font-size: 14px; }
.home-bottom-section h3 { font-size: 16px; }

.home-top-right h4 { font-size: 14px; letter-spacing: 0.5px; margin-bottom: 12px; }
.home-crafting-box h4,
.home-structural-box h4 { font-size: 18px; letter-spacing: 0.5px; }
.home-crafting-box h4 br,
.home-structural-box h4 br { display: none; }
.home-tabs-section .loops-wrapper.products.grid3 > .product:nth-of-type(3n+3), 
.home-tabs-section .loops-wrapper.grid3 > .post:nth-of-type(3n+3) { margin-left: 3.2%; }

.home-bottom-section .row_inner,
.home-crafting-structural .row_inner,
.two-block-section .row_inner,
.home-top-section .row_inner { display: flex; flex-direction: column; gap: 20px; }
.home-crafting-structural .row_inner { gap:30px; }
.module-image .image-wrap img { min-height: 170px; object-fit: cover; }
.home-bottom-section { text-align: center; }
.home-tabs-section .ui.minimal .tab-nav li a { padding: 6px 16px; }

}
@media(max-width: 479px) {

.home-tabs-section .loops-wrapper.products.grid3 > .product:nth-of-type(3n+3), 
.home-tabs-section .loops-wrapper.grid3 > .post:nth-of-type(3n+3),	
.woocommerce-page.columns-3 ul.products li.product, 
.woocommerce.columns-3 ul.products li.product { width: 100%; margin: 0 0 20px; }	
.image-overlap-text h2 { font-size: 18px; }

}