/*
 Theme Name:   Dekoro Child
 Theme URI:    https://wordpress.com
 Description:  This is a child theme for Dekoro
 Author:       Goalthemes
 Author URI:   #
 Template:     dekoro
 Version:      1.0.21
 Text Domain:  dekoro-child
*/

:root{
    --primary-red : #9a1f1d;
    --dekoro-link-hover-color: #9a1f1d !important;
}
::selection {
	background-color: var(--primary-red) !important;
	color: #fff;
}

a:hover, a:focus {
    color: var(--primary-red);
}

.product_meta .sku_wrapper,
.product_meta .tagged_as{
    display: none !important;
}

.tabs-v1 .nav-tabs > li.active > a {
    color: #fff !important;
}

#goal-header-mobile i.ti-menu{
	color:#000 !important
}

#mobile-menu-container .active > a{
    border-color: var(--primary-red) ;
    color: var(--primary-red) ;
}
.woocommerce-error, .woocommerce-info, .woocommerce-message {
    border-color: var(--primary-red) !important;
}
.woocommerce-error:before,
.woocommerce-info:before, 
.woocommerce-message:before,
.product-block.grid .name a:hover,
.product-block.grid .name a:focus,
.entry-title > a:hover,
.cat-item:hover > a{
    color: var(--primary-red) !important;
}
article.post:hover a.readmore,
input.wpcf7-submit{
    background-color: var(--primary-red) !important;
}

.blog-time > a {
    color: #fff !important;
}

.button-arrow .elementor-button .elementor-button-icon{
    font-size: 15px;
}

#swiper-content {
    width: 100%;
}

#swiper-offerte {
    width: 100%;
    border-top: 1px solid #000000 ;
    border-bottom: 1px solid #000000 ;
}

#swiper-offerte .swiper-slide {
    width: 100% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 600px !important;
}
.offerte-img{
    width: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: inherit;
}
.offerte-text{
    width: 50%;
    /*background-color: #4d4d4d;*/
    background-color: var(--primary-red);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: inherit;
    padding: 10px 50px;
    position: relative;
}

.offerte-text .offerte-description{
    text-transform: uppercase;
}
.offerte-text * {
    color: #fff;
}

.offerte-text h4 {
    font-size: 40px;
    font-weight: 800;
}
.offerte-text h5{
    font-size: 28px;
}
.circle-price{
    position: absolute;
    top: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background-color: #fff ;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.offerte-text .circle-price > text{
    color: #2b2b2b;
    font-size: 25px;
    font-weight: 800;
}
.offerte-text a{
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 800;
    padding: 7px 15px;
    background-color: #fff;
    color: #2b2b2b;
    border-radius: 25px;
    border: 1px solid #2b2b2b;
}
.offerte-text a:hover{
    color: #fff ;
    background-color: var(--primary-red);
}

#offerte_page{
    display: grid;
    grid-template-columns: 75% 25%;
    margin-bottom: 15px;
    padding: 0px 15px;
}

@media screen and (max-width : 768px) {
    #swiper-offerte .swiper-slide{
        flex-direction: column;
    }
    .offerte-img{
        width: 100% ;
    }
    .offerte-text{
        width: 100%;
        height: fit-content ;
        padding: 10px 25px;
    }

    .offerte-text h4 {
        font-size: 26px;
    }

    .offerte-text h5{
        font-size: 22px;
    }

    .circle-price {
        width: 50px;
        height: 50px;
    }
    
    .offerte-text .circle-price > text{
        font-size: 18px;
    }
    
}

@media screen and (max-width : 1200px) {
    #offerte_page{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .offerte_page_text > p {
        font-size: 14px !important;
    }
}

.button#scheda_tecnica{
    margin-top: 10px !important;
    font-size: 16px !important;
}
#contattaci-prodotto{
    display: flex;
    align-items: center;
    column-gap: 20px;
}
#contattaci-prodotto > a ,
.button#scheda_tecnica{
    padding: 7px 20px;
    color: #fff !important;
    background-color: #b92a2a !important;
    border: 1px solid #2b2b2b;
    border-radius: 20px !important;
    font-weight: 600;
}   

#contattaci-prodotto > a:hover,
.button#scheda_tecnica:hover{
    background-color: #fff !important;
    color: #b92a2a !important;
    text-decoration: none !important;
}

#consulenza_form_overlay{
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    z-index: 999;
}
#consulenza_form_overlay.active{
    display: flex;
}

#consulenza_form{
    background-color: #fff;
    border-radius: 25px;
    padding: 30px;
    margin: 0px 15px;
    position: relative;
    z-index: 20;
}

#consulenza_form .wpcf7-form > p:last-of-type{
    display: none !important;
}

#consulenza_close{
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: var(--primary-red);
    z-index: 30;
}
#consulenza_close:hover{
    cursor: pointer;
}

@media screen and (max-width: 500px) {
    #contattaci-prodotto{
        flex-direction: column;
        align-items: start;
        row-gap: 10px;
    }
}

.tawcvs-swatches{
    column-gap: 15px;
}

.woocommerce #single-product .quantity.buttons_added,
.woocommerce #single-product .single_add_to_cart_button.button{
    display: none !important;
}

#wp-pointer-0{
    display: none !important;
}

.categories-inner:hover .icon-arrow-right-3,
.btn:hover > .icon-arrow-right-3{
    color: #fff !important;
}
aside.widget.widget_block{
    margin-bottom: 20px !important;
}
aside.widget.widget_block h2.wp-block-heading{
    margin-bottom: 0px !important;
}

aside.widget.woocommerce.widget_products .percentuale-sconto{
    color: var(--primary-red) !important;
    font-weight: 700;
}

#back-to-top > .ti-arrow-up {
    color: #fff;
    margin-bottom: 0px;
    transition: margin-bottom 0.2s ease, transform 0.2s ease;
}

#back-to-top:hover > .ti-arrow-up {
    animation: back-to-top 300ms ease forwards;
}

@keyframes back-to-top {
    0% {
        margin-bottom: 0px;
        transform: translateY(0);
    }
    100% {
        margin-bottom: 10px;
        transform: translateY(-5px);
    }
}

p.title2{
    color: #2b2b2b !important;
}

.widget-nav-menu.style2 .menu li:last-child{
    margin: 0 15px !important;
}

#category-home-carousel .product-nb{
    display: none;
}

#product-home-carousel .sale-perc,
.product-block .sale-perc{
    background-color: var(--primary-red);
    font-size: 15px;
}
.product-sale-perc{
    z-index: 999;
    position: absolute;
    top: 15px;
    left: 65px;
    background-color: var(--primary-red);
    color: white;
    border-radius: 5px;
    padding: 6px 10px;
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
}
.single-product .onsale{
    font-size: 20px !important;
}

.link-bottom > .btn-theme{
    background-color: var(--primary-red) !important;
}

#div_dispositivo_medico{
    margin-top: 50px;
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 10px;
    font-size: 14px;
    align-items: center;
}

.category-description{
    margin-bottom: 10px ;
}
.category-description > h1 {
    margin-top: 0px;
}

.details-product .delivery-shipping-info .item-btn:focus,
.details-product .delivery-shipping-info .item-btn:hover,
ul.wc-block-product-categories-list *:hover,
ul.wc-block-product-categories-list > li.wc-block-product-categories-list-item:hover > a,
.product-title > a:hover,
h3.name > a:hover,
h3.name > a:focus,
.product-block.grid .view .quickview:active,
.product-block.grid .view .quickview:hover,
.single-blog a:hover,
.post-navigation .nav-links .post-title:hover,
.text-theme > a:hover,
.text-theme > a:focus,
.post-layout .entry-title a:hover,
.post-layout .entry-title a:focus{
    color: var(--primary-red) !important;
}

.details-product .goal-woocommerce-product-gallery-wrapper .woocommerce-product-gallery__trigger:hover,
.details-product .goal-woocommerce-product-gallery-wrapper .woocommerce-product-gallery__trigger:active{
    border-color: var(--primary-red) !important;
    color: #fff;
    background: var(--primary-red) !important;
}
.btn.btn-showmenu:hover,
.btn.btn-showmenu:focus
{
    background-color: transparent !important;
}

#reviews .wp-gr .wp-google-place .wp-google-left{
    display: none !important;
}

.home-text{
    font-size: 18px !important;
    text-align: center;
}

@media screen and (max-width : 1024px) {
    .home-text{
        font-size: 15px !important;
    }
}

.home-text .read_more{
    font-weight: 700;
}

.ul-center ul{
    display: flex;
    flex-direction: column;
    align-items: start;
    width: fit-content;
    justify-self: center;
}

.force-red a{
    color: var(--primary-red) !important;
}

.page-id-209 a:hover,
.page-id-209 a:focus{
    color: var(--primary-red) ;
}

.sliding-menu li a:hover,
.sliding-menu li a:focus
{
    color: var(--primary-red) !important;
}

.footer-menu-list p{
    margin-bottom: 5px !important;
}

.grecaptcha-badge{
    display: none;
}

.btn.btn-theme{
    background-color: transparent !important;
}
@media screen and (max-width : 992px) {
    #goal-header-mobile{
        position: fixed;
        z-index: 998;
        top: 0;
        left: 0;
        right: 0;
    }
    #goal-main-content{
        margin-top: 60px !important;
    }

    .cc-revoke.cc-bottom.cc-right{
        bottom: 150px;
        right: -25px !important;
        rotate: -90deg !important;
    }

    #back-to-top{
        bottom:80px ;
    }
    #custom-tag-sidebar{
        display: none;
    }
}

.row-blog .top-info{
    display: none !important;

}

#custom-tag-sidebar h2{
    font-size: 22px !important;
}

.wpcf7-tel{
    display: block;
    width: 100%;
    height: 45px;
    padding: 12px 30px;
    font-size: 16px;
    line-height: 1.7;
    color: #555555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #e6e6e6;
    border-radius: 25px;
    transition: all 0.3s ease-in-out;
    margin-bottom: 30px;
}

.wpcf7-tel::placeholder{
    color: #999999;
}

#goal-shop-products-wrapper .row-products-wrapper{
    display: flex;
    flex-wrap: wrap;
}