/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: ICT Studio
Author URI: http://www.ictstudio.it/
Version: 2.6.1.1770720674
Updated: 2026-02-10 11:51:14

*/

/* Post grid con filtri */ 
.gridFilter .dce-post-button a:hover {
    background-color: #fff !important;
}
.gridFilter .filters-item a {
    padding-inline-start: 10px;
    padding-inline-end: 10px ;
    padding-top: 5px ;
    padding-bottom: 5px ;
    border-radius: 10px ;
    border: 3px solid var(--e-global-color-secondary ) !important;
}
.gridFilter .filters-item a {
    background-color: var(--e-global-color-secondary ) !important;
}
.gridFilter .filters-item a:hover, .gridFilter .filter-active a {
    background-color: #fff !important;
}
  
/* pulsante programma attivo */
.pulsanteAttivo {
    background-color: #fff !important;
}
.pulsanteAttivo .premium-button-text-icon-wrapper span{
    color: var(--e-global-color-b743165) !important;}

.titoloSottolineato h2, .titoloSottolineatoLeft h2{
    position: relative;
    line-height: normal;
    display: inline-block;
}
.titoloSottolineatoLeft{
    font-family: var(--e-global-typography-primary-font-family );
}
.boxHome figcaption{
    position: absolute;
    bottom: 8%;
    left: 8%;
    line-height: normal;
}
.cantineHome figcaption{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: normal;
}
.bannerHome figcaption{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: normal;
    background-color: rgba(41, 70, 80, 0.6);
    width: 75%;
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.boxHome figcaption h2::before, .bannerHome figcaption h2::before, .titoloSottolineato h2::before, .titoloSottolineatoLeft h2::before, .cantineHome figcaption::before {
    content: '';
    position: absolute;
    left: -15px;
    background-color: var(--e-global-color-secondary );
}
.titoloSottolineato h2::before, .boxHome figcaption::before{
    bottom: 4px;
    width: 35% !important;
    height: 5px;
}
.bannerHome figcaption h2::before{
    bottom: 4px;
    width: 50% !important;
    height: 5px;
}
.boxHome figcaption h2::before{
    bottom: 4px;
    width: 50% !important;
    height: 5px;
}
.bannerHome figcaption span{
    position: relative;
}
.boxHome figcaption h2, .bannerHome figcaption h2{
    margin: 0 !important;
}

.listaCantine .dce-item_title{
    z-index:100;
}

.selectRegioni{
    font-family: var(--e-global-typography-primary-font-family );
    border: 1px solid var(--e-global-color-primary );
}

.bottoneModuli{
    display: inline-block;
    font-family: var(--e-global-typography-primary-font-family );
}
.containerBoxModuli{
    display: flex;
    align-items: center;
    padding: 15px 25px;
    border: 3px solid var(--e-global-color-secondary );
    border-radius: 13px;
    transition: all 0.3s ease-in-out;
}
.boxModuliImg{
    flex: 0 0 20%;
    max-width: 20%;
    display: flex;
    align-items: center;
}
.boxModuliImg i{
    color: var(--e-global-color-secondary );
    font-size: 40px;
    transition: all 0.3s ease-in-out;
}
.boxModuliInfo{
    flex: 0 0 80%;
    max-width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.boxModuliInfo p{
    margin: 0;
    font-size: 18px;
    padding-right: 20px;
    color: var(--e-global-color-secondary );
    transition: all 0.3s ease-in-out;
}
.boxModuliInfo i{
    color: var(--e-global-color-secondary );
    font-size: 35px;
    transition: all 0.2s ease-in-out;
}
.bottoneModuli:hover .containerBoxModuli{
    background-color: var(--e-global-color-secondary );
    transition: all 0.3s ease-in-out;
}
.bottoneModuli:hover .boxModuliInfo p, .bottoneModuli:hover i{
    color: #fff;
    transition: all 0.3s ease-in-out;
}

.infoEvento {
    text-align: center;    
    font-family: var(--e-global-typography-primary-font-family );
    color: #000000;
    background-color: var(--e-global-color-secondary );
}

@media (min-width: 992px) {
    .titoloSottolineatoLeft h2{
        font-size: 30px;
    }
    .titoloSottolineatoLeft h2::before{
        bottom: 4px;
        width: 35% !important;
        height: 4px;
        font-size: 30px;
    }
    .cantineHome figcaption::before{
        bottom: 10px;
        height: 6px;
        width: 35% !important;
    }
    .bottoneModuli{
        width: 33%;
        padding: 14px 10px;
    }
    .containerInfoEventi .elementor-widget-container {
        text-align: right;
    }
    .infoEvento {
        font-size: 20px;
        text-align: right;
        padding: 6px 12px;
        display: inline-block;
    }
    .infoEvento .infoEvento1{
        display: inline-block;
        padding-right: 22px;
        border-right: 2px solid #fff;
    }
    .infoEvento .infoEvento2{
        display: inline-block;
        padding-left: 17px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .titoloSottolineatoLeft h2{
        font-size: 20px;
    }
    .titoloSottolineatoLeft h2::before{
        bottom: 3px;
        width: 35% !important;
        height: 2px;
    }
    .cantineHome figcaption::before{
        bottom: 10px;
        height: 6px;
        width: 35% !important;
    }
    .bottoneModuli{
        width: 49%;
        padding: 15px 10px;
    }
    .gridFilter .filters-item{
        padding-bottom: 35px;
    }
    .infoEvento {
        font-size: 19px;
        text-align: right;
        padding: 6px 12px;
        display: inline-block;
        
    }
    .infoEvento .infoEvento1{
        display: inline-block;
        padding-right: 22px;
        border-right: 2px solid #fff;
    }
    .infoEvento .infoEvento2{
        display: inline-block;
        padding-left: 17px;
    }
}

@media (max-width: 767.98px) {
    .infoEvento {
        font-size: 18px;
        text-align: center;
        padding: 6px 0px;
        display: block;
    }
    .infoEvento .infoEvento1{
        display: block;
    }
    .infoEvento .infoEvento2{
        display: block;
    }
    .titoloSottolineatoLeft h2{
        font-size: 30px;
    }
    .titoloSottolineatoLeft h2::before{
        bottom: 4px;
        width: 35% !important;
        height: 4px;
    }
    .gridFilter .dce-filters{
        flex-direction: column;
        align-items: center;
    }
    .gridFilter .filters-item{
        padding-bottom: 20px;
    }
    .cantineHome figcaption::before{
        bottom: 4px;
        width: 35% !important;
        height: 5px;
    }
    .gridSelezionaCantine .dce-posts-wrapper, .listaCantine .dce-posts-wrapper{
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .gridSelezionaCantine .cantine, .listaCantine .cantine{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .bottoneModuli{
        width: 100%;
        padding: 14px;
    }
}