/**
* Theme Name: Printec Child
* Description: This is a child theme of Printec, generated by Merlin WP.
* Author: <a href="https://pavothemes.com/">Pavothemes</a>
* Template: printec
* Version: 1.3.7
*/

header{
    .wpml-ls-legacy-list-horizontal{
        padding:0!important;
    }
    .wpml-elementor-ls{
        ul {
            text-align: right;
            li {
                margin-bottom: 0 !important;
            }
        }
    }

    .header-right-col{
        .elementor-button-default {
            width: auto;
            margin-left: 30px;
        }
    }
}

.elementor-widget-container .select-selected{
    background: #EDEEF1;
    padding: 8px 30px;
    border-radius: 50px;
}

/*.elementor-widget-container > .woocommerce{*/
/*    display:flex;*/
/*    flex-wrap:wrap;*/
/*    justify-content: space-between;*/
/*}*/
.elementor-widget-container > .woocommerce > .woocommerce-notices-wrapper,
.elementor-widget-container > .woocommerce > .woocommerce-pagination-wrap{
    flex: 0 100%;
    max-width: 100%;
    align-items:center;
}
.elementor-widget-container > .woocommerce > .products{
    flex: 0 calc(100% + 30px);
    max-width: calc(100% + 30px);
    align-items:center;
}

.bannerxb-wbtn .elementor-cta__content{
    padding-bottom:25px;
}

.elementor-cta--skin-cover .elementor-cta__content{
    min-height: 230px!important;
}

/*.elementor-widget-container{*/

    .content-product-imagin{
        display: none!important;
    }
    .product-caption-bottom{
        visibility: visible!important;
        opacity: 1!important;
        position: relative!important;
    }

    .product-style-default{

        padding-left: 8px;
        padding-right: 8px;

        > div.product-block {
            background: white !important;
            padding-left: 16px;
            padding-right: 16px;
            padding-top: 16px;
        }
    }

/*}*/

ul.products li.product .product-caption-bottom a[class*=product_type_], ul.products .wc-block-grid__product .product-caption-bottom a[class*=product_type_], .wc-block-grid__products li.product .product-caption-bottom a[class*=product_type_], .wc-block-grid__products .wc-block-grid__product .product-caption-bottom a[class*=product_type_]{
    padding: 5px 10px!important;
}


.box-anchorlink{
    background: white!important;
    padding:60px 24px 30px!important;
    border-radius: 30px!important;

    &:after{
        content:'';
        position:absolute;
        right:20px;
        top:20px;
        width:30px;
        height:27px;
        background-image:url('assets/img/arrow-anchorlink.svg');
        background-repeat:no-repeat;
        background-position:center;
        background-size:contain;
        transform: rotate(0deg);
        transition: all .3s ease-in-out;
    }

    &:hover:after{
        transform: rotate(135deg);
    }

    .box-anchorlink-icon{
        margin-bottom:18px!important;

        svg{
            width:20px;
            height:20px;
        }
    }

    .box-anchorlink-title{
        font-size:22px;
        line-height:20px
    }

    .box-anchorlink-title + .box-anchorlink-subtitle{
        margin-top: 10px;
    }

    .box-anchorlink-subtitle{
        font-size: 12px;
        line-height: 19px;
    }

}

.xbslideproduct + .xbslideproduct{
    margin-top: 60px;
}

.xbslideproduct h3{
    font-weight: 700;
    font-size:45px;
    letter-spacing: -1px;
    text-align: center;
    margin-bottom: 60px;
}

.vedi-tutti{
    font-size: 36px;
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    color:#5900FF;
    font-weight: 700;
    background-image: url('assets/img/bg-vedi-tutti.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 30px;
}
.vedi-tutti > span{
    position: relative;
    z-index: 1;
}
.vedi-tutti > span:after{
    content:'';
    display: inline-block;
    left:0;
    top:0;
    width: 26px;
    height:24px;
    background-image:url('assets/img/arrow-veditutti.svg');
    background-repeat:no-repeat;
    background-position:bottom center;
    background-size:contain;
    margin-left: 10px;
    content: '';
    transition: all .3s ease-in-out;
}

.vedi-tutti:hover > span:after{
    transform: rotate(45deg);
}

.nomb-last-p p:last-child{
    margin-bottom: 0!important;
}

.qnt-woocommerce{
    display: block;
    padding-left: 30px;
    background-image: url('assets/img/icon-shipping.svg');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 20px;
    font-size: 12px;
    margin-bottom: 28px;
}
.qnt-green{
    color:#0F834D;
}

.elementor-widget-printec-banner .elementor-printec-banner:hover .letter_text span{
    animation: none!important;
}
.footer-product-banner .elementor-cta__title{
    margin-bottom: 30px!important;
    max-width: 500px;
}


.header-cat {
    height: 750px;
    background-size: cover;
    background-position: center right;
    position: relative;

    div[data-element_type="container"]{
        height: 100%!important;
    }

    @media (max-width: 1440px) {
        background-position: center;
    }
    @media (max-width: 991px) {
        height: 550px;
    }
    @media (max-width: 767px) {

        .mobile-color-black{
            color: black!important;
        }

        &:before{
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background:rgba(255,255,255,0.9);
            z-index:0;
        }
    }
}


.mb-xl{
    margin-bottom: 120px!important;
    @media (max-width: 767px) {
        margin-bottom: 60px!important;
    }
}
.mt-xl{
    margin-top: 120px!important;
    @media (max-width: 767px) {
        margin-top: 60px!important;
    }
}
.pb-xl{
    padding-bottom: 120px!important;
    @media (max-width: 767px) {
        padding-bottom: 60px!important;
    }
}
.pt-xl{
    padding-top: 120px!important;
    @media (max-width: 767px) {
        padding-top: 60px!important;
    }
}
.pb-m{
    padding-bottom: 80px!important;
    @media (max-width: 767px) {
        padding-bottom: 40px!important;
    }
}
.pt-m{
    padding-top: 80px!important;
    @media (max-width: 767px) {
        padding-top: 40px!important;
    }
}
.box-banner .elementor-cta.elementor-printec-banner{
    border-radius: 40px!important;

    @media (max-width: 1199px) and (min-width: 768px) {
        .elementor-cta__content {
            padding: 30px !important;
        }
    }

    .elementor-cta__title {
        color: white;
        font-size: 30px;
        line-height: 36px;
        letter-spacing: -1px;
        font-weight: 600;
        margin-bottom: 100px;
        text-transform:initial!important;

        @media (max-width: 1199px) {
            font-size: 24px;
            line-height: 30px;
            margin-bottom: 60px;
        }
        @media (max-width: 991px) and (min-width: 768px) {
            font-size: 22px;
        }

    }

    .elementor-button{
        background: white;
        color:black;
        position: relative;
        /*padding-left: 55px;*/

        /*&:before{*/
        /*    background-image: url(assets/img/arrow-veditutti-nero.svg);*/
        /*    content: '';*/
        /*    width: 15px;*/
        /*    display: inline-block;*/
        /*    height: 15px;*/
        /*    background-size: contain;*/
        /*    position: absolute;*/
        /*    top: 19px;*/
        /*    left: 30px;*/
        /*    transition: all .3s ease-in-out;*/
        /*    transform: rotate(0deg);*/
        /*}*/

        /*&:hover:before{*/
        /*    transform: rotate(45deg);*/
        /*}*/

    }

}

.h-r3{
    .elementor-widget-image{
        z-index: 3;
        img{
            border-radius: 30px;
        }
    }
    @media(max-width: 880px){

        &.h-r3-reverse{
            > div > div {
                &:first-child {
                    order: 2;
                }
                &:last-child {
                    order: 1;
                }
            }
        }

    }

}


.h-r4 {
    padding-top: 120px !important;
    padding-bottom: 120px !important;
    background-size: cover;
    background-position: center;
    position: relative;

    &:before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at top center, transparent, black);
    }

    .elementor-icon-box-title,
    .elementor-icon-box-title span,
    .elementor-icon-box-description {
        color: white;
    }

    @media (max-width: 880px) {
        padding-top: 0!important;
        padding-bottom: 0!important;
    }

}

.banner-full-stb{
    .elementor-button{
        background: white!important;
        color:black!important;
    }
    @media (max-width: 880px) {
        .elementor-cta__bg.elementor-bg{
            background-position: left center;
        }
    }
}


.page_fullwidth #content > .col-full{
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.bg-white{
    background-color:white;
}
.c-white{
    .elementor-headline span,
    p{
        color:white!important;
    }
}

.banner-full-stb .elementor-cta__content{
    padding-top: 64px!important;
    padding-bottom: 64px!important;
}

.xbtabs-products{
    .elementor-tab-desktop-title{
        padding:12px 20px;
        background: white;
        border-radius: 50px!important;
    }
    .elementor-tab-title{
        margin-left: 10px!important;
        margin-right: 10px!important;
    }
    .elementor-tabs-header{
        margin-bottom: 0!important;
    }
}

.elementor-widget-xbproductsshowmore,
.woocommerce-carousel .vedi-tutti{
    width: calc(100% - 30px);
    margin-left: 15px;
}

.show-more-container {

    .show-more-toggle {
        text-align: center;
        display: none;
        i {
            font-size: 40px;
        }
    }

    @media (max-width: 880px) {
        .show-more-text{
            position:relative;
            overflow: hidden;
            height: 195px;
            transition: height .3s ease-in-out;
            &:after{
                content: '';
                position: absolute;
                left: 0;
                bottom: 0;
                width: 100%;
                height: 50px;
                background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(245, 247, 250,0.8) 100%);
                transition: transform .3s ease-in-out;
                transform: rotate(0deg);
            }
        }

        .show-more-toggle {
            display: block!important;
        }

        &.open{
            .show-more-text{
                height: auto;
                &:after{
                    display: none;
                }
            }
            .show-more-toggle{
                transform: rotate(180deg) !important;
            }
        }
    }
}

@media (max-width: 880px) {
    .elementor-widget-printec-products-tabs.elementor-tabs-view-horizontal .elementor-tabs-header .scrollbar-macosx{
        display: flex!important;
        max-height: auto!important;
        overflow: auto!important;
        max-width: initial!important;
        flex-wrap: wrap!important;
        gap: 15px;

        span{
            margin: 0!important;
        }

    }
    .elementor-widget-printec-products-tabs.elementor-tabs-view-horizontal .elementor-tab-title:hover:before, .elementor-widget-printec-products-tabs.elementor-tabs-view-horizontal .elementor-tab-title.elementor-active:before{
        display: none!important;
    }
}

.woocommerce-carousel .slick-slider .slick-list{
    padding-bottom: 35px!important;
    margin-bottom: -35px!important;
}

.hc2-r1 {
    .elementor-icon {
        border-radius:30px!important;
        box-shadow: 0 0 8px -3px rgba(0, 0, 0, 0.1);
        font-size: 50px !important;
    }
    .elementor-icon-box-title,
    .elementor-icon-box-title a{
        font-size:18px;
        color:#5900FF;
        font-weight: 800;
    }
}

body.nobreadcrump #content{
    margin-top: 0!important;
}