/**
Theme Name: Terramec
Author: BPC Media
Author URI: http://brokenpony.club/
Description: A child theme of Asta
Version: 4.8.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: terramec
Template: astra
*/

/*--- Global styles ---*/
:root {
    /*--- Primary colours ---*/
    --primary-color: #d10200;
    --black: #000;
    --white: #fff;
    --grey-85: #222;
    --grey-50: #808080;
    --grey-20: #d1d1d1;
    --grey-7-5: #eaeaea;

    /*--- Primary fonts ---*/
    --title-font: 'Ethnocentric', sans-serif;
    --body-font: 'Acrom', sans-serif;
    
    /*--- Secondary fonts ---*/
    --fontawesome: 'FontAwesome';
    --astra: 'Astra';
    --dashicons: 'dashicons'
}

/*--- Global styles ---*/
/* #comments {
    display: none;
} */
:focus {
    outline: 0 !important;
}
ul.elementor-icon-list-items {
    list-style: none;
    margin: 0;
}

h1, h2, h3, h4, h5, h6, 
a, a:hover, a:focus, a:active {
    text-decoration: none !important;
}

a {
    color: inherit;
}

/*--- Header/Nav bar ---*/
.ast-builder-html-element p {
    margin-bottom: 0;
}
.switcher .selected {
    background: transparent;
}
.switcher .selected a {
    border: 1px solid var(--white);
    color: var(--white);
}
.ast-desktop .ast-menu-hover-style-underline > .menu-item > .menu-link:before {
    bottom: 2rem;
}
.ast-desktop .ast-menu-hover-style-underline > .menu-item:hover > .menu-link:before {
    transform: scale(1,2) translate(50%,0);
}
.woocommerce .woocommerce-breadcrumb {
    margin: 0;
}
.woocommerce-breadcrumb a:hover {
    color: var(--primary-color) !important;
}
.ast-builder-layout-element.ast-header-search {
    height: 44px;
}
.ast-header-html-1 .ast-builder-html-element {
    border: 1px solid var(--white);
    padding: 0 10px;
}
a.glink span {
    font-family: var(--body-font);
    font-weight: 400;
    color: var(--white);
}
.ast-header-social-1-wrap .ast-builder-social-element {
    background: transparent;
    border: 1px solid var(--white);
}
.ast-header-social-1-wrap .ast-builder-social-element:hover {
    background: transparent;
    border: 1px solid var(--grey-85);
}


/*--- Global product categories carousel ---*/
.sp-wcsp-cat-thumbnail {
    border: none !important;
}
#sp-wcsp-slider-section-262 .sp-wcsp-cat-details-content {
    background: var(--grey-50) !important;
    border: none !important;
    padding: 15px 7px !important;
    transition: all 0.2s ease-in-out;
}
#sp-wcsp-slider-section-262 .sp-wcsp-cat-details-content:hover {
    background: var(--primary-color) !important;
}
#sp-wcsp-slider-section-262 .sp-wcsp-cat-name a {
    color: var(--white) !important;
    text-transform: uppercase !important;
}
#sp-wcsp-slider-section-262 .swiper-pagination-bullets {
    display: none !important;
}
.sp-wcsp-slider-section {
    opacity: 1 !important;
}
.sp-wcsp-preloader {
    display: none !important;
}

.bx-wrapper {
    background: transparent;
}

.wbm-category-slider-section .term-content h3 a {
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
}
#dswbm-sliders-1919 .term-content h3 a:hover {
    color: var(--primary-color) !important;
}
#dswbm-sliders-1910 .term-content h3 a:hover {
    color: var(--grey-85) !important;
}
.dswbm-sliders-main ul.wbm-slider li {
    list-style-type: none;
}


/*--- Product attachments categories carousel ---*/
#sp-wcsp-slider-section-1350 .sp-wcsp-cat-details-content {
    background: transparent !important;
    border: none !important;
    transition: var(--global-trans)
}
#sp-wcsp-slider-section-1350 .sp-wcsp-cat-name a {
    color: var(--grey-85) !important;
    text-transform: uppercase !important;
}

/*--- Product card ---*/
.astra-shop-summary-wrap,
.woocommerce ul.products li.product, 
.woocommerce-page ul.products li.product {
    text-align: center;
}
.woocommerce ul.products li.product a img:not(img.product-card-icon), 
.woocommerce-page ul.products li.product a img:not(img.product-card-icon) {
    border-bottom: 2.5px solid var(--primary-color);
    margin-bottom: 1.2em;
    transition: all 0.2s ease-in-out;
}
.product-card-icon-wrapper {
    width: 32px;
    height: auto;
    display: inline-block;
    position: relative;
    margin-right: 2px !important;
    border-radius: 50px;
    transition: all 0.2s ease-in-out;
}
.product-card-icon {
    display: block;
    transition: all 0.2s ease-in-out;
}
/* .woocommerce ul.products li.product a img:hover, */
.product-card-icon:hover {
    transform: scale(1.3);
}
.woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title, 
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0;
    color: var(--grey-85);
    transition: all 0.2s ease-in-out;
}
.woocommerce-loop-product__title:hover,
.woocommerce ul.products li.product .woocommerce-loop-product__title:hover, 
.woocommerce-page ul.products li.product .woocommerce-loop-product__title:hover {
    color: var(--primary-color);
}
.woocommerce ul.products li.product .ast-woo-product-category, 
.woocommerce-page ul.products li.product .ast-woo-product-category {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    opacity: 1;
}
.woocommerce ul.products li.product .ast-woo-product-category:hover, 
.woocommerce-page ul.products li.product .ast-woo-product-category:hover {
    color: var(--grey-50);
}

.product_cat-attachments .woocommerce-loop-product__title,
.product_cat-rough-terrain-forklift .woocommerce-loop-product__title,
.woocommerce ul.products li.product_cat-attachments  .woocommerce-loop-product__title, 
.woocommerce ul.products li.product_cat-rough-terrain-forklift  .woocommerce-loop-product__title, 
.product_cat-attachments .woocommerce-page ul.products li.product_cat-attachments  .woocommerce-loop-product__title,
.product_cat-rough-terrain-forklift .woocommerce-page ul.products li.product_cat-rough-terrain-forklift  .woocommerce-loop-product__title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0;
}
.woocommerce ul.products li.product .woocommerce-loop-category__title, 
.woocommerce-page ul.products li.product .woocommerce-loop-category__title {
    font-size: 16px;
    color: var(--primary-color);
}
.woocommerce ul.products li.product .woocommerce-loop-category__title .count, 
.woocommerce-page ul.products li.product .woocommerce-loop-category__title .count {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--grey-85);
}

.woocommerce ul.products li.product .button, .woocommerce-page ul.products li.product .button {
    width: 100%;
    padding: 11px 30px;
    border-radius: 0;
    text-transform: uppercase;
}

/*--- Single product details ---*/
/* .easyzoom img {
    transition: all 0.2s ease-in-out;
}
.easyzoom  img:hover {
    transform: scale(1.3);
} */
.product-family .elementor-heading-title {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}
.elementor-widget-woocommerce-product-content div > p,
.woocommerce-product-details__short-description > p {
    margin-bottom: 0;
    color: var(--grey-50);
}
.icons-wrap .elementor-shortcode {
    margin: 15px 0;
}
.product-single-icon-wrapper {
    width: 110px;
    height: auto;
    display: table-cell;
    position: relative;
    /* margin-right: 2px !important; */
    border-radius: 50px;
    transition: all 0.2s ease-in-out;
    text-align: center;
}
.single-icon-title {
    text-transform: uppercase;
    font-size: 10px !important;
    font-weight: 600;
    text-align: center;
    margin-top: 10px;
}
.family .product-single-icon-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    height: auto;
    margin-left: 5px !important;
    border-radius: 50px;
    transition: all 0.2s ease-in-out;
    text-align: center;
}
.family .single-icon-title {
    text-transform: uppercase;
    font-size: 10px !important;
    font-weight: 600;
    text-align: center;
    margin: 0 10px;
}

/*--- Custom buttons ---*/
.cta-btn-tab span.elementor-button-text:after {
    display: inherit;
    content: "";
    border-top: 2px solid #eee;
    width: 5rem;
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
}
.download-btn.elementor-button {
    width: 100%;
    background-color: var(--grey-50);
    transition: all 0.2s ease-in-out;
}
.download-btn.elementor-button:hover {
    background-color: var(--grey-85);
}
.download-btn .elementor-button-text {
    font-family: var(--body-font);
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.2s ease-in-out;
}
.info-sheet-text {
    color: var(--grey-50);
    transition: all 0.2s ease-in-out;
}
.info-sheet-text:hover {
    color: var(--primary-color);
}
.info-sheet-text .fa-file-pdf {
    margin-right: 7px;
}

/*--- Single product tabs  ---*/
.woocommerce div.product .woocommerce-tabs ul.tabs {
    border-top: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    margin: 0 0 .8em 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    background-color: var(--grey-50);
    color: var(--white);
    padding: 0.8em 2.5em;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    background-color: var(--primary-color);
    color: var(--white);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active::before {
    top: 48px;
}
.yikes-custom-woo-tab-title {
    display: none;
}
.woocommerce div.product .woocommerce-tabs .panel p {
    margin-bottom: 0;
    color: var(--grey-50);
}
.woocommerce div.product .woocommerce-tabs .panel ul > li {
    color: var(--grey-50);
}
.single-product .elementor-tab-title {
    display: flex;
    justify-content: center;
}

/*--- Sidebar styles ---*/
.widget ul {
    padding-left: 0;
}
.wc-block-product-categories-list--has-images .wc-block-product-categories-list-item ul {
    padding-left: 0;
}
.wc-block-product-categories-list--has-images .wc-block-product-categories-list-item {
    margin: 4px 0 10px 20px;
}
.wc-block-product-search .wc-block-product-search__fields {
    border: 1px solid var(--primary-color);
}
.wc-block-product-search .wc-block-product-search__button {
    margin: 0;
    border-width: 0;
}
.wc-block-product-categories-list li {
    padding-left: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.wc-block-product-categories-list li:hover,
.wc-block-product-categories-list li:active {
    transform: translateX(20px);
}
.wc-block-product-categories-list li a {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 17px;
    color: var(--grey-85);
}
.wc-block-product-categories-list li a:hover {
    color: var(--primary-color);
}
ul.wc-block-product-categories-list.wc-block-product-categories-list--depth-1 {
    margin-top: 10px;
}
.sidebar-headings {
    border-bottom: 2px solid var(--primary-color);
}
.wc-block-product-categories-list > li a:before {
    content: "\f054";
    font-family: 'FontAwesome';
    font-size: 13px;
    color: var(--primary-color);
    margin-right: 5px;
}

/*--- Advance product search ---*/
.aws-container .aws-search-field {
    font-size: 13px;
    font-weight: 500;
}
.aws-container .aws-search-form .aws-form-btn {
    background: var(--primary-color);
}
.aws-container .aws-search-form .aws-form-btn:hover {
    background: var(--grey-85);
}
.aws-container .aws-search-form .aws-search-btn_icon {
    color: var(--white);
}
.aws-search-result .aws_result_title {
    color: var(--grey-85);
    font-size: 13px;
    font-weight: 500;
}
.aws-search-result .aws_search_more {
    background: var(--primary-color);
}
.aws-search-result .aws_search_more a {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s ease-in-out;
}
.aws-search-result .aws_search_more a:hover {
    background: var(--grey-85) !important;
}
.aws-container .aws-search-form .aws-loader {
    border-left: 3px solid var(--primary-color);
}
/* .aws-search-clear span {

} */

/*--- Ninja form styles ---*/
.nf-form-content .listselect-wrap .nf-field-element div, 
.nf-form-content input.ninja-forms-field, 
.nf-form-content select.ninja-forms-field:not([multiple]) {
    height: 40px;
}
.nf-form-content .list-select-wrap > div select:after {
    color: green;
    font-family: FontAwesome;
    font-size: 30px;
    content: "\f058";
    position: absolute;
    top: 0;
    right: 16px;
    height: 50px;
    line-height: 50px;
    transition: all .5s;
}

.nf-form-content .listselect-wrap .nf-field-element div, 
.nf-form-content .ninja-forms-field {
    padding: 5px;
}
.nf-form-content .listselect-wrap .nf-field-element div, 
.nf-form-content .ninja-forms-field {
    font-size: 13px;
}
.nf-error.field-wrap .nf-field-element:after {
    font-size: 16px;
    height: 38px;
    width: 40px;
    line-height: 40px;
}
#ninja_forms_required_items, .nf-field-container {
    margin-bottom: 15px;
}
.nf-form-content textarea.ninja-forms-field {
    height: 120px;
}
.nf-form-content input:not([type=button]),
.nf-form-content select.ninja-forms-field:not([multiple]) {
    background: var(--grey-7-5) !important;
    border: 1px solid var(--grey-50) !important;
    color: var(--grey-50) !important;
}
.nf-form-content input:not([type=button]):focus,
.nf-form-content select:not([multiple]):focus {
    border: 1.3px solid var(--primary-color) !important;
}
.nf-form-content .label-above .nf-field-label {
    margin-bottom: 0 !important;
}
.nf-form-content input[type=button] {
    font-family: var(--body-font);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    background: var(--primary-color) !important;
    color: var(--white) !important;
    padding: 15px 40px;
    width: 100%;
}
.nf-form-content input[type=button]:hover {
    background: var(--grey-85) !important;
    color: var(--white) !important;
}
/* .nf-field-container.submit-container {
    display: flex;
    justify-content: center;
} */
.nf-error.listimage-wrap .nf-field-element ul, 
.nf-error .ninja-forms-field {
    border-color: var(--primary-color);
}
.nf-error-msg, .ninja-forms-req-symbol {
    color: var(--primary-color);
}
.nf-error-msg.nf-error-field-errors {
    font-weight: 600;
    font-size: 15px;
    text-align: center;
}
.nf-after-field .nf-error-msg {
    font-weight: 600;
    font-size: 13px;
    color: var(--primary-color) !important;
    display: none;
}
.nf-form-fields-required, .ninja-forms-req-symbol {
    display: none;
}
.nf-error.field-wrap .nf-field-element:after {
    background: var(--primary-color) !important;
}
.list-radio-wrap .nf-field-element ul {
    display: flex !important;
}
.list-radio-wrap .nf-field-element ul > li {
    margin-right: 2rem !important; 
}

.elementor-577 .elementor-element.elementor-element-e4e06a4 .eael-ninja-form .nf-error-wrap .nf-error-required-error {
    display: none !important;
}

/*--- Hotspot ---*/
#powerTip {
    background-color: #fff;
    border-radius: 0;
}
#powerTip.n:before {
    border-top: 10px solid #fff;
}
#powerTip.s:before {
    border-bottom: 10px solid #fff;
}
#powerTip.e:before {
    border-right: 10px solid #fff;
}
#powerTip.w:before {
    border-left: 10px solid #fff;
}
#powerTip .box_view_html {
    max-width: 300px;
}

.hot-spot {
    position: absolute
}
.hot-spot .hot-spot-text {
    visibility: hidden;
    width: 475px;
    background-color: var(--white);
    color: var(--black);
    text-align: center;
    border-radius: 6px;
    padding: 20px;
    position: absolute;
    z-index: 1;
    bottom: 50px;
    left: -172px
}
.hot-spot:hover .hot-spot-text {
    visibility: visible
}
.hot-spot-title {
    font-size: 14px;
    text-align: left;
    font-weight: 700;
    color: var(--grey-85);
    border-bottom: 1px solid #ccc;
    margin-bottom: 5px;
    line-height: 1.1em;
}
.hot-spot-intro {
    font-size: 12px;
    text-align: left;
    color: var(--grey-85);
    font-weight: 400;
}

/*--- Swiper slider ---*/
.swiper {
    width: auto;
    height: auto;
}

@media only screen and (max-width: 767px) {
    /* Single products */
    .product-family .elementor-heading-title {
        text-align: center;
    }
    .product-single-icon-repeater-container {
        display: flex;
    }
    .woocommerce div.product .woocommerce-tabs ul.tabs li {
        margin: 0 0 1.3em 0;
    }
    .woocommerce div.product .woocommerce-tabs ul.tabs li a {
        padding: 16px 7px;
        text-align: center;
    }
    /* .woocommerce div.product .woocommerce-tabs ul.tabs li.active::before {
        top: 40px;
    } */
    .woocommerce div.product.elementor .woocommerce-tabs .panel {
        padding: 10px;
    }
    #dswbm-sliders-1910 .term-content h3 a,
    .wbm-category-slider-section .term-content h3 a {
        font-size: 15px;
    }
    #dswbm-sliders-1910 .term-content .cat-desc {
        display: none;
    }
    .dswbm-sliders-main .bx-wrapper .bx-pager {
        padding-top: 0;
    }
    .woocommerce-loop-product__title:not(.product-cat-attachments),
    .woocommerce-loop-product__title:not(.product-cat-rough-terrain-forklift), 
    .woocommerce ul.products li.product .woocommerce-loop-product__title:not(.product-cat-attachments), 
    .woocommerce ul.products li.product .woocommerce-loop-product__title:not(.product-cat-rough-terrain-forklift), 
    .woocommerce-page ul.products li.product .woocommerce-loop-product__title:not(.product-cat-attachments)
    .woocommerce-page ul.products li.product .woocommerce-loop-product__title:not(.product-cat-rough-terrain-forklift) {
        font-size: 24px;
    }
}

@media only screen and (max-width: 544px) {
    .single-product .row > * {
        width: 33.333%;
    }
}