/* libre-baskerville-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/libre-baskerville-v16-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* libre-baskerville-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/libre-baskerville-v16-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}/* teachers-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Teachers';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/teachers-v4-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* teachers-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Teachers';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/teachers-v4-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
:root {
    --bg-dark: #222;
    --marrone: #571E00;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

a{
    text-decoration: none;
}

html, body {
    height: 100%;
    font-family: 'Teachers', sans-serif;
    color:#222;
    scrollbar-width: thin;
    scrollbar-color: var(--marrone);
    font-size: 16px;
}

/* Works on Chrome, Edge, and Safari */
body::-webkit-scrollbar {
    width: 2px;
    border-radius: 20px;
    color: var(--marrone);
}

body::-webkit-scrollbar-track {
    background: rgba(0,0,0,0);
}

body::-webkit-scrollbar-thumb {
    background-color: var(--marrone);
    border-radius: 20px;
    border: 0;
}

h1{
    font-size: calc(28px + (40 - 28) * ((100vw - 360px) / (1700 - 360)));
}
h2{
    font-size: calc(24px + (34 - 24) * ((100vw - 360px) / (1700 - 360)));
}
h3{
    font-size: calc(20px + (28 - 20) * ((100vw - 360px) / (1700 - 360)));
}
h4{
    font-size: calc(18px + (24 - 18) * ((100vw - 360px) / (1700 - 360)));
}

h1, h2, h3, h4{
    font-family: "Libre Baskerville", sans-serif;
}


.font-18{
    font-size: 18px !important;
}

.prezzo-evidenza{
    font-size: 140%;
}

.struttura-piramide-img{
    max-width: 300px;
}

.shop-prodotto-card-lista{
    position: relative;
    padding-bottom: 60px !important;
}

.shop-prodotto-card-prezzo-bottom{
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.25rem;
}

.btn-checkout-large{
    font-size: 28px;
}

.carrello-popup-titolo-riga{
    margin-bottom: -2px;
}

.carrello-conferma-page{
    padding-bottom: 4rem;
}

.carrello-conferma-subtitle{
    color: #66564c;
    font-size: calc(16px + (20 - 16) * ((100vw - 360px) / (1920 - 360)));
}

.carrello-conferma-box{
    position: relative;
    height: 100%;
    padding: clamp(1.2rem, 2vw, 2rem);
    background: #fff;
    border: 1px solid rgba(87, 30, 0, 0.18);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(34, 34, 34, 0.08);
}

.carrello-conferma-box:before{
    content: "";
    position: absolute;
    top: 0;
    left: 1.2rem;
    right: 1.2rem;
    height: 4px;
    background: var(--marrone);
    border-radius: 0 0 8px 8px;
}

.carrello-conferma-box-heading{
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.carrello-conferma-box-heading h2{
    margin: 0;
    font-size: calc(22px + (30 - 22) * ((100vw - 360px) / (1920 - 360)));
}

.carrello-conferma-icon{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    color: white;
    background: var(--marrone);
    border-radius: 50%;
}

.carrello-conferma-pill{
    display: inline-block;
    padding: 0.25rem 0.75rem;
    color: var(--marrone);
    border: 1px solid rgba(87, 30, 0, 0.25);
    border-radius: 999px;
    font-weight: 700;
}

.carrello-conferma-item{
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid #eee2dc;
}

.carrello-conferma-item:first-child{
    padding-top: 0;
}

.carrello-conferma-item-price{
    min-width: 110px;
    text-align: right;
    font-weight: 700;
    color: var(--marrone);
}

.carrello-conferma-totals{
    padding-top: 0.4rem;
}

.carrello-conferma-totals > div{
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0;
}

.carrello-conferma-grand-total{
    margin-top: 0.4rem;
    padding: 0.8rem 1rem !important;
    color: white;
    background: var(--marrone);
    border-radius: 8px;
    text-transform: uppercase;
}

.carrello-conferma-address{
    display: grid;
    gap: 0.25rem;
    font-size: 18px;
}

.carrello-conferma-payment{
    background: linear-gradient(145deg, #fff 0%, #fff8f4 100%);
}

.carrello-conferma-payment-total{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(87, 30, 0, 0.08);
    border-radius: 10px;
}

.carrello-conferma-payment-total strong{
    color: var(--marrone);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1;
}

.carrello-gift-card{
    padding: 1rem;
    border: 1px solid rgba(87, 30, 0, 0.16);
    border-radius: 12px;
    background: #fffaf4;
}

.carrello-gift-card label{
    display: block;
    margin-bottom: 0.45rem;
    color: var(--marrone);
    font-weight: 700;
}

.carrello-gift-card-form,
.carrello-gift-card-applied{
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.carrello-gift-card-form input{
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(87, 30, 0, 0.22);
    border-radius: 8px;
    padding: 0.7rem 0.8rem;
    text-transform: uppercase;
}

.carrello-gift-card-form button,
.carrello-gift-card-applied button{
    border: 0;
    border-radius: 8px;
    padding: 0.7rem 1rem;
    background: var(--marrone);
    color: #fff;
    font-weight: 700;
}

.carrello-gift-card-applied{
    justify-content: space-between;
    flex-wrap: wrap;
}

.pagina-gift-card{
    position: relative;
}

.gift-card-box{
    padding: clamp(1.2rem, 3vw, 3rem);
    border: 1px solid rgba(87, 30, 0, 0.14);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(34, 34, 34, 0.09);
}

.gift-card-selector{
    position: sticky;
    top: 110px;
    height: 100%;
    padding: clamp(1.2rem, 2vw, 2rem);
    border: 1px solid rgba(87, 30, 0, 0.18);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(87, 30, 0, 0.1);
}

.gift-card-options{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.gift-card-choice-area{
    position: relative;
}

.gift-card-login-overlay{
    position: absolute;
    inset: -0.6rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.5);
    color: var(--marrone);
    font-weight: 700;
    text-align: center;
    backdrop-filter: blur(1px);
    cursor: pointer;
}

.gift-card-option{
    border: 1px solid rgba(87, 30, 0, 0.2);
    border-radius: 14px;
    padding: 1rem 0.5rem;
    background: #fff;
    color: var(--marrone);
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(34, 34, 34, 0.06);
    transition: all 0.2s ease;
}

.gift-card-option:hover,
.gift-card-option.active{
    background: var(--marrone);
    color: #fff;
    transform: translateY(-2px);
}

.gift-card-custom{
    padding: 0.85rem;
    border: 1px solid rgba(87, 30, 0, 0.2);
    border-radius: 14px;
    background: #fff;
    transition: all 0.2s ease;
}

.gift-card-custom label{
    display: block;
    margin-bottom: 0.35rem;
    color: var(--marrone);
    font-weight: 700;
}

.gift-card-custom input{
    width: 100%;
    border: 1px solid rgba(87, 30, 0, 0.2);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
}

.gift-card-custom.active{
    background: var(--marrone);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(34, 34, 34, 0.12);
}

.gift-card-custom.active label{
    color: #fff;
}

.gift-card-custom.active input{
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.95);
}

.gift-card-total{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 14px;
    background: #f6ede4;
    color: var(--marrone);
}

.gift-card-total strong{
    font-size: 1.45rem;
}

.gift-card-buy-btn{
    width: 100%;
    text-align: center;
    border-radius: 12px;
}

.gift-card-loading{
    position: sticky;
}

.gift-card-loading:before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 5;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
}

.gift-card-loading:after{
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 6;
    width: 46px;
    height: 46px;
    margin: -23px 0 0 -23px;
    border-left: 5px solid rgba(92, 28, 3, 0.25);
    border-right: 5px solid rgba(92, 28, 3, 0.25);
    border-bottom: 5px solid rgba(92, 28, 3, 0.25);
    border-top: 5px solid rgba(92, 28, 3, 0.8);
    border-radius: 100%;
    animation: rotation .6s infinite linear;
}

@media (max-width: 991px){
    .gift-card-selector{
        position: static;
    }
}

@media (max-width: 575px){
    .gift-card-options{
        grid-template-columns: 1fr;
    }

    .carrello-gift-card-form{
        flex-direction: column;
        align-items: stretch;
    }
}

.carrello-conferma-pay-btn{
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: var(--marrone);
    border-color: var(--marrone);
    border-radius: 10px;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(87, 30, 0, 0.28);
}

.carrello-conferma-pay-btn:before,
.carrello-conferma-pay-btn:after{
    background: #fff4ec;
}

.carrello-indirizzo-box{
    max-width: 980px;
    margin: 0 auto;
}

.carrello-form-group label{
    display: block;
    margin-bottom: 0.35rem;
    color: var(--marrone);
    font-weight: 700;
}

.carrello-form-group .form-control{
    min-height: 48px;
    border-color: rgba(87, 30, 0, 0.24);
    border-radius: 8px;
    background-color: #fffdfb;
}

.carrello-form-group .form-control:focus{
    border-color: var(--marrone);
    box-shadow: 0 0 0 0.2rem rgba(87, 30, 0, 0.12);
}

.carrello-indirizzo-submit{
    width: auto;
    min-width: 260px;
    font-size: clamp(20px, 2.2vw, 28px);
}

.carrello-riepilogo-box{
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.carrello-riepilogo-item{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee2dc;
}

.carrello-riepilogo-item-info{
    flex: 1 1 auto;
    min-width: 0;
}

.carrello-riepilogo-title-row{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.carrello-riepilogo-item:first-of-type{
    padding-top: 0;
}

.carrello-riepilogo-product-link{
    display: inline-block;
    color: #222;
    font-weight: 700;
}

.carrello-riepilogo-product-link:hover{
    color: var(--marrone);
}

.carrello-riepilogo-controls{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    flex: 0 0 auto;
}

.carrello-riepilogo-qty{
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem;
}

.carrello-riepilogo-qty .qta-prodotto{
    min-width: 28px;
    text-align: center;
    font-weight: 700;
}

.carrello-riepilogo-price{
    min-width: 105px;
    color: var(--marrone);
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.carrello-riepilogo-price-mobile{
    display: none;
}

.carrello-riepilogo-money{
    white-space: nowrap;
}

.carrello-riepilogo-delete{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: var(--marrone);
    background: white;
    border: 1px solid rgba(87, 30, 0, 0.25);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.carrello-riepilogo-delete:hover{
    color: white;
    background: var(--marrone);
}

.carrello-riepilogo-shipping{
    align-items: center;
}

.carrello-riepilogo-shipping span{
    flex: 1 1 auto;
}

.carrello-riepilogo-shipping select{
    max-width: 220px;
    margin-left: auto;
    border: 1px solid rgba(87, 30, 0, 0.24);
    border-radius: 8px;
    padding: 0.35rem 0.6rem;
    background: #fffdfb;
}

.carrello-riepilogo-checkout{
    width: auto;
    min-width: 280px;
    padding: 1rem 2rem;
    font-size: clamp(24px, 3.2vw, 38px);
}

@media (max-width: 575.98px){
    .carrello-conferma-item,
    .carrello-conferma-payment-total{
        display: block;
    }

    .carrello-conferma-item-price{
        min-width: 0;
        margin-top: 0.4rem;
        text-align: left;
    }

    .carrello-conferma-payment-total strong{
        display: block;
        margin-top: 0.35rem;
    }

    .carrello-indirizzo-submit,
    .carrello-riepilogo-checkout{
        width: 100%;
        min-width: 0;
    }

    .carrello-riepilogo-item{
        display: block;
    }

    .carrello-riepilogo-controls{
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        margin-top: 0.8rem;
    }

    .carrello-riepilogo-qty,
    .carrello-riepilogo-delete{
        margin-top: 0.6rem;
    }

    .carrello-riepilogo-price-desktop{
        display: none;
    }

    .carrello-riepilogo-price-mobile{
        display: block;
        min-width: 0;
        margin-top: 0;
        text-align: right;
    }

    .carrello-riepilogo-shipping{
        display: grid !important;
        grid-template-columns: 1fr auto;
        align-items: start;
        gap: 0.4rem 1rem;
    }

    .carrello-riepilogo-shipping select{
        display: block;
        grid-column: 1 / -1;
        max-width: none;
        width: 100%;
        margin: 0;
    }
}

.ico-header-lg{
    font-size: 28px;
}


input:focus, select:focus, button:focus, a:focus{
    outline: none;
}

.overlayed{
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.4);
    transition: all 0.2s;
}

.slider-home-container{
    height: 72vh;
    overflow: hidden;
}

.slide-home{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 72vh;
    float:left;
}

.slide-home-testo{
    position: absolute;
    width: 94%;
    max-width: 1400px;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    color: white;
}

.slide-home-titolo{
    text-transform: uppercase;
    font-size: calc(24px + (46 - 24) * ((100vw - 360px) / (1700 - 360)));
    font-weight: bold;
}

.slide-home-sottotitolo{
    font-size: calc(18px + (34 - 18) * ((100vw - 360px) / (1700 - 360)));
}


.navbar{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
}

.menu_desktop a, .menu_desktop a > span {
    position: relative;
    color: inherit;
    text-decoration: none;
}

.trasparente .menu_desktop a:not(.lingua),.trasparente  .menu_desktop a:not(.lingua) > span{
    text-shadow: 1px 1px 3px #222;
}

.trasparente .menu_desktop a.lingua,
.trasparente .menu_desktop a.lingua:hover{
    color: white !important;
    text-shadow: 1px 1px 3px #222;
}

.menu_desktop a:before, .menu_desktop a:after,.menu_desktop a > span:before, .menu_desktop a > span:after {
    content: "";
    position: absolute;
    transition: transform 0.2s ease;
}


a.lingua{
    position: relative;
    display: inline-block;
    padding: 5px 10px;
    background-color: transparent;
    border: 1px solid transparent;
    color: #222 !important;
    margin-left: 6px;
    transition: all 0.3s;
}

a.lingua:hover{
    background-color: transparent;
    border-color: transparent;
    color: #222 !important;
}

header:not(.trasparente) a.lingua{
    background-color: transparent;
    border: 1px solid transparent;
    color: #222 !important;
}

header:not(.trasparente) a.lingua:hover{
    background-color: transparent;
    border-color: transparent;
    color: #222 !important;
}

.ristretto{
    width:92vw;
    margin-left: auto;
    margin-right: auto;
    max-width: 1800px;
}

.strettissimo{
    width:90vw;
    margin-left: auto;
    margin-right: auto;
    max-width: 1400px;
}

main{
}
.resetmargin:before{
    content: "";
    display: block;
    height: 136px;
}

.copertina{
    width: 100%;
    height: clamp(260px, 42vw, 620px);
    background-size: cover;
    background-position: center;
}

@media (orientation: landscape){
    .copertina{
        height: clamp(260px, 30vw, 520px);
    }
}


.btn-mio{
    color: white !important;
    border-radius: 4px;
    outline: none;
    background-color:var(--bg-dark);
    border: 2px solid var(--bg-dark);
    padding: 0.2rem 1.2rem;
    text-align: center !important;
    position: relative;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    transition: all .2s ease;
    transform-style: preserve-3d;
    font-size: calc(14px + (18 - 14) * ((100vw - 360px) / (1920 - 360)));
    min-width: 100px;
}

.btn-mio:before{
    z-index: -2;
    transform: translate3D(0,0,0);
}

.btn-mio:before, .btn-mio:after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    background: white; /* onhover background color */
    z-index: -1;
    transition: all .2s ease-in-out;
    transform-origin: center center;
    transform: scale(1,0);
}

.btn-mio:not(.btn-disabled):hover:after{
    transform: translate3D(0,0,0);
    transition: all .2s ease-in-out;
}

.btn-mio:not(.btn-disabled):hover{
    color: #222 !important;
}

.btn-mio.btn-disabled:hover{
    color: white;
}

.btn-mio:not(.btn-disabled):hover:before,
.btn-mio:not(.btn-disabled):hover:after{
    transform: scale(1);
}

.btn-mio-inverted{
    background-color: white;
    color: #222 !important;
    border: 2px solid white;
}

.btn-mio-inverted:before, .btn-mio-inverted:after{
    background: #222;
}

.btn-mio-inverted:hover{
    color: white !important;
}

.menu-prefooter .btn-mio-inverted:hover{
    color: white !important;
}

.btn-mio-scuro{
    background-color: #222;
    border: 2px solid #222;
}

.btn-mio-marrone{
    background-color: var(--marrone);
    border-color: var(--marrone);
}

.btn-mio-marrone-chiaro{
    background-color: #9f7903;
    border-color: #9f7903;
}

.carica-workshop-spiegazione{
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    color: #66564c;
    line-height: 1.5;
}

.carica-workshop-field label{
    color: var(--marrone);
}

.carica-workshop-container .carica-workshop-field .form-control{
    min-height: 52px;
    padding: 0.75rem 1rem;
    background-color: #fffdfb;
    border: 1px solid rgba(87, 30, 0, 0.24);
    border-radius: 8px !important;
    box-shadow: 0 8px 22px rgba(87, 30, 0, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.carica-workshop-container .carica-workshop-field .form-control:focus{
    background-color: white;
    border-color: var(--marrone);
    box-shadow: 0 0 0 0.2rem rgba(87, 30, 0, 0.12);
}

.carica-workshop-container .btn-carica-workshop{
    width: 100%;
    height: 54px;
    min-height: 54px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1.25;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}

.lightGallery a{
    max-width: 500px;
    color: #222;
    font-size: 18px;
    cursor: pointer;
}

.lightGallery .immagine{
    padding-bottom: 56.25%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.lightGallery-small .immagine{
    padding-bottom: 56.25%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border: 2px solid white;
    border-radius: 4px;
}

.blocco-foto-container{
    position: absolute;
    bottom: 10px;
    left: 2.5rem;
    width: 100%;
}

.lightGallery{
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr) ) ;
}

.lightGallery-small{
    display: grid;
    grid-gap: 0.5rem;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr) ) ;
}


@media(max-width: 1199px){

    .lightGallery{
        display: grid;
        grid-gap: 0.5rem;
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr) ) ;
    }

    .lightGallery.a4{
        white-space: nowrap;
        display: block;
        overflow-x: scroll;
    }

    .lightGallery.a4 .immagine{
        width: 280px;
        display: inline-block;
    }
}

.lightGallery a .video{
    cursor: pointer;
}

.flex-container {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    justify-content: space-between;
}

.bg-cover{
    width: 100%;
    padding-bottom: 56.25%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.bg-cover.bg-cover-quadrato{
    padding-bottom: 100%;
}

.bg-contain{
    width: 100%;
    padding-bottom: 100%;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

footer{
    background-color: white;
    border-top: 1px solid #ccc;
}



.social-container a{
    font-size: 42px;
    transition: all 0.2s;
}

.social-container a:hover{
    color: var(--marrone) !important;
}
.breadcrumb{
    padding: 1rem 0;
    margin-top: 3rem;
    text-align: center;
}

.breadcrumb-item {
    padding-left: 0!important;
}

.breadcrumb a{
    color: #666;
}

.is_personalizza .breadcrumb a{
    color: white;
}

.breadcrumb li.active{
    color:#222;
}

.is_personalizza .breadcrumb li.active{
    color:white;
}

.breadcrumb-item+.breadcrumb-item:before{
    padding-left: 4px;
    padding-right: 4px;
}

@media (max-width: 700px) {
    .breadcrumb-item{
        font-size: 12px !important;
        max-width: 120px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.testo a{
    color: #666;
    transition: all 0.2s;
}

.testo a:hover{
    color: #222;
}

.responsive-video, .rwd-video{
    height: 0;
    overflow: hidden;
    padding-bottom: 54%;
    padding-top: 30px;
    position: relative;
}

.responsive-video iframe, .rwd-video iframe{
    position: absolute;
    top:0;
    bottom: 0;
    left:0;
    width: 100%;
    height: 100%;
}

.spinner{
    position: relative;
}

.spinner:before{
    display:block;
    content: " ";
    position: absolute;
    top:0;
    bottom:0;
    left:0;
    right: 0;
    background-color: rgba(255,255,255, 0.7);
    z-index:998;
}

.spinner:after{
    display:block;
    content: "";
    z-index:999;
    position: absolute;
    left: 50%;
    top: 50%;
    height:60px;
    width:60px;
    margin:-30px  auto auto -30px;
    -webkit-animation: rotation .6s infinite linear;
    -moz-animation: rotation .6s infinite linear;
    -o-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
    border-left:6px solid rgba(92, 28, 3, 0.25);
    border-right:6px solid rgba(92, 28, 3, 0.25);
    border-bottom:6px solid rgba(92, 28, 3, 0.25);
    border-top:6px solid rgba(92, 28, 3, 0.8);
    border-radius:100%;
}

@media (max-width: 960px){
    .spinner:after{
        position: fixed;
    }
}

@-webkit-keyframes rotation {
    from {-webkit-transform: rotate(0deg);}
    to {-webkit-transform: rotate(359deg);}
}
@-moz-keyframes rotation {
    from {-moz-transform: rotate(0deg);}
    to {-moz-transform: rotate(359deg);}
}
@-o-keyframes rotation {
    from {-o-transform: rotate(0deg);}
    to {-o-transform: rotate(359deg);}
}
@keyframes rotation {
    from {transform: rotate(0deg);}
    to {transform: rotate(359deg);}
}

.my-menu-container{
    position: fixed;
    top: 0;
    left:0;
    min-height: 100vh;
    width: 100%;
    background-color: rgba(0,0,0,0.95);
    color:white;
    z-index: 10;
    transform: translateX(-100vw);
    transition: all 0.3s ease-in-out;
}

#my-page.bg_personalizza{
    background-image: url('../img/personalizza.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#my-page.bg_personalizza #my-main > .ristretto > .text-white h1,
.h1-bg-image{
    text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

.pagina-workshop-box{
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
}

.pagina-workshop-row{
    --bs-gutter-x: 4rem;
}

.pagina-workshop-content,
.pagina-workshop-block{
    text-align: left;
}

.pagina-workshop-block .bg-cover{
    min-height: 260px;
}

.my-menu-proposte-container{
    position: fixed;
    top: 0;
    left:0;
    min-height: 100vh;
    width: 40vw;
    background-color: #1b1b1b;
    color:white;
    z-index: 10000;
    transform: translateX(100vw);
    transition: all 0.3s ease-in-out;
}

.text-arancio{
    color: var(--marrone);
}

.my-menu{
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.my-menu-container.visible{
    transform: translateX(0);
}

.my-menu-proposte-container.visible{
    transform: translateX(60vw);
}


.my-menu ul, .my-menu-proposte ul{
    list-style-type: none;
    text-align: center;
    padding: 0;
    margin: 0;
    width: 100%;
}

.my-menu-proposte{
    padding-top: 100px;
}

.my-menu a{
    padding-top: calc(6px + (12 - 6) * ((100vw - 360px) / (1920 - 360))) !important;
    padding-bottom: calc(6px + (12 - 6) * ((100vw - 360px) / (1920 - 360))) !important;
    font-size: calc(20px + (32 - 20) * ((100vw - 360px) / (1920 - 360))) !important;
    color:white;
    text-decoration: none;
    display: block;
    transition: all 0.2s;
}

.my-menu-proposte a{
    padding-top: calc(4px + (8 - 4) * ((100vw - 360px) / (1920 - 360))) !important;
    padding-bottom: calc(4px + (8 - 4) * ((100vw - 360px) / (1920 - 360))) !important;
    font-size: calc(14px + (18 - 14) * ((100vw - 360px) / (1920 - 360))) !important;
    color:white;
    text-decoration: none;
    display: block;
    transition: all 0.2s;
}

.my-menu a:hover, .my-menu-proposte a:hover{
    color: var(--marrone);
}

.bg-grigio{
    background-color: #f9f9f9;
    border: 1px solid #ccc;
}
.responsive-map{
    height: 0;
    overflow: hidden;
    padding-bottom: 30%;
    padding-top: 30px;
    position: relative;
}

.responsive-alta{
    padding-bottom: 75%;
}

@media (max-width: 992px){
    .responsive-map{
        padding-bottom: 75%;
    }
}

.responsive-map iframe{
    position: absolute;
    top:0;
    bottom: 0;
    left:0;
    width: 100%;
    height: 100%;
}
a.lingua{
    cursor: pointer;
}

header{
    transition: all 0.2s ease !important;
    z-index: 9999;
    background-color: transparent;
}

header{
    background-color: white;
    height: 136px;
}

#my-header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    transition: background-color 0.2s ease, transform 0.4s ease !important;
}

.mm-wrapper--position-left.mm-wrapper--opened #my-header{
    transform: translate3d(var(--mm-translate-horizontal), 0, 0);
}

.mm-wrapper--opened .mm-menu{
    z-index: 10001;
}

.mm-wrapper--opened .mm-wrapper__blocker{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: auto;
    z-index: 10000;
}

#my-header.is_personalizza{
    background-color: transparent;
}

#my-header.is_personalizza .menu_desktop,
#my-header.is_personalizza .menu_desktop .row{
    background-color: transparent;
}

#my-page.bg_personalizza #my-main{
    padding-top: 136px;
}

#my-page.bg_personalizza #my-main > .ristretto:first-child{
    margin-top: 2.5rem !important;
}

#my-page:not(.is_home):not(.bg_personalizza):not(.con_copertina) #my-main{
    padding-top: 136px;
}

header a{
    color: #222 !important;
}

header a.logo-home{
    height: 222px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-38%));
    background-image: url(../img/logo.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: all 0.2s;
}

header.is_personalizza a.logo-home{
    background-image: url('../img/logo_white.png');
}

.marginato{
    width: 100%;
}

.pb-118{
    padding-bottom: 118% !important;
}

.pb-100{
    padding-bottom: 100% !important;
}

@media(min-width: 992px){
    .marginato{
        width: 96vw;
        margin: 0 auto;
    }
}

.bg-f9{
    background-color: #f9f9f9;
}

.logo-home{
}


.logo-home .riga{
    width: 80%;
    margin: 0.5rem 0;
    height: 2px;
    background-color: white;
}

.overflow-y {
    max-height: 500px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.4) rgba(0,0,0,0);
}
/* Works on Chrome, Edge, and Safari */
.overflow-y::-webkit-scrollbar {
    width: 3px;
}

.overflow-y::-webkit-scrollbar-track {
    background: rgba(0,0,0,0);
}

.overflow-y::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    border: 0;
}


.menu-footer-container a {
    display: inline-block;
    border-bottom: 1px solid white;
    border-top: 1px solid white;
    padding: calc(6px + (12 - 6) * ((100vw - 360px) / (1700 - 360)));
    margin: 1rem 0;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.2s;
    font-size: calc(12px + (16 - 12) * ((100vw - 360px) / (1700 - 360)));
}

.menu-footer-container a:hover{
    border-top: 1px solid var(--marrone);
    border-bottom: 1px solid var(--marrone);
    color: white !important;
}

.logo-menu-container{
    position: absolute;
    top: 0.7rem;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: calc(9vw);
    min-height: 60px;
    max-height: 90px;
}

.p-6{
    justify-content: center;
    min-height: 30vh;
    padding-top: 14rem;
    padding-bottom: 14rem;
    vertical-align: middle;
    display: flex;
    flex-direction: column;
}
.animation-appear:not(.slick-slide){
    animation: animateAppear linear 0.2s;
    animation-iteration-count: 1;
    animation-fill-mode: backwards;
    overflow: hidden;
}

@keyframes animateAppear {
    0% {
        opacity: 0;
        transform: scale(0.98);
        transition: transform 0.1s, opacity 0.2s;
    }
    100% {
        opacity: 1;
        transform: scale(1);
        transition-delay: 0s;
    }
}

.mw-1200{
    width: 94%;
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
}

.mw-800{
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}


@media(orientation: portrait){
    .slider-home-container{
        height: 67vh;
    }
    .slide-home{
        height: 67vh;
    }
}

@media(max-width: 1199px){

    .pagina-home > div{
        margin: 0 auto;
    }

    .p-6{
        min-height: 30vh;
        padding-top: 4rem;
        padding-bottom: 4rem;
        vertical-align: middle;
        display: flex;
        flex-direction: column;
    }

    .box-con-ombra:not(:last-of-type){
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        display: block;
    }

.box-con-ombra:not(:last-of-type):after{
    position: absolute;
    display: block;
    top: 100%;
        left: 50%;
        transform: translateX(-50%);
        height:1px;
        width: 100px;
        content: " ";
        background-color: var(--marrone);
    }

    .contact-us-box > h3{
        position: absolute;
        margin: 0 auto;
        left: 0;
        right: 0;
        width: fit-content;
        top: 0;
        transform: translateY(-60%);
        color: #222;
        background-color: white;
        padding: 0 10px;
    }
}

@media(max-width: 767px){
    .crea-elenco-container{
        background-color: transparent !important;
        box-shadow: none;
    }

    .crea-elenco-container > h1{
        color: white;
        margin-bottom: 0.5rem;
    }
}

@media (min-width: 1200px) {
    .reset-margin-desktop{
        margin-left: -1rem !important; margin-right: -1rem !important;
    }
}
.arrow{
    position: relative;
    cursor: pointer;
}

.arrow:after {
    transition: all 0.2s ease-in-out;
    content:"\f078 ";
    font-family: FontAwesome;
    color: #222;
    position: absolute;
    right: 10px;
    top: 0;
    z-index: 1;
    pointer-events: none;
}


.arrow.attivo:after{
    transform: rotate(180deg);
}

.h-100-pagina{
    height: 100%;
    min-height: 300px;
}


@media (max-width: 960px){

    .ristretto .fullwidth-mobile{
        width: 100vw !important;
        margin-left: -3vw;
    }

    .logo_footer img{
        max-width: 150px;
    }

    .blocco-foto-container{
        position: revert;
        margin-top:0.5rem;
    }
    .lightGallery-small .immagine{
        border: none;
        border-radius: 0;
    }

    .h-small-100{
        height: 100%;
    }
}

.setpadding .pb-32{
    padding-bottom: 3.2rem !important;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

@media (max-width: 500px) {

    .setpadding .pb-32{
        padding-left: 0;
        padding-right: 0;
    }

    .myCarousel .slick-arrow{
        display: none !important;
    }
}



.logo_footer img{
    width: 100%;
    height: auto;
    max-width: 180px;
}

.myCarousel:not(.slick-initialized) .news-carousel-immagine:not(:first-of-type) {
    display: none;
}

.myCarousel:not(.slick-initialized) .news-carousel-immagine:first-of-type {
    visibility: hidden;
}

.slider-home-container:not(.slick-initialized) .slide-home:not(:first-of-type) {
    display: none;
}

.slider-home-container:not(.slick-initialized) .slide-home:first-of-type {
    visibility: hidden;
}

.slider-for:not(.slick-initialized) .js-img:not(:first-of-type) {
    display: none;
}

.slider-for:not(.slick-initialized) .js-img:first-of-type {
    visibility: hidden;
}

.slider-prodotto:not(.slick-initialized) div:not(:first-of-type) {
    display: none;
}

.slider-prodotto:not(.slick-initialized) div:first-of-type {
    visibility: hidden;
}

.slide-prodotto{
    background-position: center;
    background-size: contain;
    width:100%;
    padding-bottom: 150%;
    background-repeat: no-repeat;
}

.myCarousel{
    width: 100%;
}

.social-container-contatti{
    margin-top: -15px;
}

.social-container-contatti a{
    font-size: 42px;
    color: #222;
    transition: all 0.2s;
}

.social-container-contatti a:hover{
    color: #666;
}

.blocco a{
    color: #222;
    text-decoration: none;
    transition: all 0.2s;
}

.blocco a:hover{
    opacity: 0.8;
}

.blocco a i{
    display: inline-block;
    margin-right: 0.2rem;
}

.whatsapp-link{
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #128c7e;
    z-index: 9999;
    border-radius: 50%;
    font-size: 40px;
    line-height: 60px;
    text-align: center;
}

.card-body{
    position: absolute;
    bottom: 10px;
    background-color: rgba(255,255,255,0.8);
    color: #222;
    text-align: center;
    width: 100%;
}

.carousel-image{
    width: 100%;
    padding-bottom: 56%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

a.carousel-item{
    color: #222;
}

.carousel-indicators{
    bottom: -42px;
}

.carousel-indicators li{
    background-color: var(--blu);
}

.pb-75{
    padding-bottom: 75%;
}
.myCarousel:not(.slick-initialized) .news-carousel-immagine:not(:first-of-type) {
    display: none;
}

.myCarousel:not(.slick-initialized) .news-carousel-immagine:first-of-type {
    visibility: hidden;
}

.myCarousel{
    width: 100%;
}

.effect-5 {
    position: relative;
    display: inline-block;
    overflow: hidden;
}
.effect-5:before, .effect-5:after {
    right: 0;
    bottom: 0;
    background: #222;
}
.effect-5:before {
    width: 100%;
    height: 1px;
    transform: translateX(-100%);
}
.effect-5:after {
    width: 1px;
    height: 100%;
    transform: translateY(100%);
}
.effect-5 > span {
    display: block;
    padding: 6px 12px;
}
.effect-5 > span:before, .effect-5 > span:after {
    left: 0;
    top: 0;
    background: #222;
}
.effect-5 > span:before {
    width: 100%;
    height: 1px;
    transform: translateX(100%);
}
.effect-5 > span:after {
    width: 1px;
    height: 100%;
    transform: translateY(-100%);
}
.effect-5:hover:before, .effect-5:hover:after, .effect-5:hover > span:before, .effect-5:hover > span:after {
    transform: translate(0, 0);
}

.proposta-card{
    border: 1px solid #ccc;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    overflow: hidden;
}

.proposta-card ul li{
    text-align: left !important;
}

.box{
    padding: 3rem 0;
}

.box_1 h3{
    font-size: calc(26px + (40 - 26) * ((100vw - 360px) / (1920 - 360)));
    font-weight: bold;
}

.box_1{
    font-size: 120%;
}

.tipologia-img{
    width:100%;
    padding-bottom: 125%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.tipologia-hover .tipologia-img{
    transition: all 0.2s;
}
.tipologia-hover:hover .tipologia-img{
    opacity: 0.7;
}

.mw-80{
    max-width: 80px;
}

.mw-600{
    max-width: 600px;
}

.mw-1000{
    max-width: 1000px;
}

.slider-nav{
    background-color: #efefef;
}
.slider-arrow{
    position: absolute;
    top:0;
    bottom:0;
    width: 20px;
    background-color: #dedede;
    color: #999;
    z-index:999;
    font-size: 28px;
    display: flex;
    align-items: center;
}

.slick-slide .js-img{
    float: left;
}



.arrow-left{
    left: 0;
}

.arrow-right{
    right: 0;
}

.slider-nav .slick-list{
    padding: 0 !important;
}

.slider-nav .slick-track{
    transform: translate3d(0, 0, 0) !important;
}

.slider-nav .slick-slide{
    border-left: 1px solid white;
}

.border-ccc{
    border-color: #ccc;
}

.border-radius{
    border-radius: 6px;
}

.container-tabella table{
    width: 100% !important;
    border: none !important;
    border-collapse: collapse !important;
}

.container-tabella td{
    vertical-align: top;
}

.container-tabella tr td{
    padding-bottom: 1.2rem;
    border-bottom: 1px solid white !important;
}

.container-tabella tr td:first-child{
    text-transform: uppercase;
    padding-right: 1.2rem;
    vertical-align: top;
    white-space: nowrap;
}

.container-tabella tr td:last-of-type{
    color: #666;
}

.container-tabella{
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.magazine a{
    text-shadow: 1px 1px 3px #222;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.3);
    transition: all 0.2s;
}

.magazine a:hover{
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,0);
}

.text-shadow{
    text-shadow: 1px 1px 3px #222;
}

.lingue-container{
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 42px;
}

@media(max-width: 1199px){
    .lingue-container{
        top: 12px;
    }
    .btn-mio{
        min-width: 130px;
    }

    .resetmargin:before{
        height: 76px;
    }

    .font-18{
        font-size: 16px !important;
        line-height: 18px;
    }

    .copertina{
        height: auto !important;
        padding: 4rem 1.2rem !important;
    }

    .box_1 {
        font-size: 100%;
    }

    .container-tabella tr, .container-tabella td{
        display: block;
    }

    .container-tabella tr td:first-child{
        padding-bottom:0;
    }
}

.lingue-container a{
    display: block;
    width: 48px;
    height: 48px;
    padding: 6px;
    cursor: pointer;
}

.lingue-container a img{
    width: 36px;
    height: 36px;
}

.lingue-list{
    width: 48px;
    background-color: white;
    margin-top: 10px;
    display: none;
    transition: all 0.2s;
}

.mburger b{
    left: 0;
}


.menu-item {
    position: relative;
    padding: 6px 12px;
}

.main-menu a {
    text-decoration: none;
    color: black;
    display: block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 1000;
}

.menu-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    padding: 10px 15px;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: #f0f0f0;
}

.box1_container{
    position: relative;
    z-index: 2;
    margin-top: -100px;
}

.box1_container .box{
    background-color: white;
    border-radius: 10px;
    border: 1px solid #ccc;
}

.vetrina-prodotto-card{
    font-size: 0.9rem;
}

.vetrina-prodotto-img{
    width: 100%;
    padding-bottom: 72%;
}

.vetrina-prodotto-card p{
    margin-bottom: 0;
    line-height: 1.35;
}

.vetrina-prodotto-prezzo{
    font-size: 0.9rem;
}

.vetrina-prodotto-card .shop-prodotto-card-prezzo{
    position: static !important;
}

.home-section-block{
    margin-top: 2.5rem;
}

.home-section-grid .row{
    row-gap: 2.5rem;
}

.homepage-scuola-box{
    display: flex;
    flex-direction: column;
}

.homepage-scuola-img{
    display: block;
    width: 100%;
    height: auto;
}

.homepage-scuola-text{
    flex: 1;
}

.home-bottom-grid > [class*='col-']{
    align-items: stretch;
}

.home-action-card{
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    min-height: 360px;
    flex-direction: column;
    justify-content: center;
}

.home-top-grid,
.home-masterclass-grid,
.home-bottom-grid{
    margin-left: 0 !important;
    margin-right: 0 !important;
    --bs-gutter-y: 0;
}

.pagina-corsi-grid{
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.pagina-corsi-card{
    height: 100%;
}

.bokun-warning{
    margin-top: 1rem;
    padding: 1.25rem;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(87, 30, 0, 0.18);
    border-radius: 10px;
    color: #222;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.bokun-widget-shell{
    position: relative;
    min-height: 420px;
}

.bokunWidget{
    min-height: 420px;
}

.bokun-loading-block{
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    padding: 1.25rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--marrone);
    font-weight: 700;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.bokun-widget-shell.bokun-ready,
.bokun-widget-shell.bokun-ready .bokunWidget{
    min-height: 0;
}

.bokun-widget-shell.bokun-ready .bokun-loading-block{
    display: none;
}

.bokun-warning.hidden{
    display: none !important;
}

.bokun-warning-text{
    margin: 0;
    line-height: 1.5;
}

.bokun-warning-text.small{
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: #666;
}

.bokun-warning-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.bokun-btn{
    appearance: none;
    border-radius: 6px;
    border: 2px solid var(--bg-dark);
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    font-weight: bold;
}

.bokun-btn-primary{
    background-color: var(--bg-dark);
    color: white;
}

.bokun-btn-primary:hover{
    background-color: white;
    color: #222;
}

.bokun-btn-secondary{
    background-color: transparent;
    color: #222;
}

.bokun-btn-secondary:hover{
    background-color: #222;
    color: white;
}

.claims-container img{
    max-width: min(145px, 92%);
    height: auto;
}

.claims-container .claim-text{
    margin-top: 0;
    line-height: 1.25;
    font-weight: 700;
}

.box2_container p{
    padding: 0.2rem 0;
    margin: 0;
}

.box2_container{
    border-radius: 10px;
}

.bg-marrone{
    background-color: var(--marrone);
}

#my-page:not(.is_home):not(.bg_personalizza):not(.con_copertina) .menu_desktop{
    border-bottom: 1px solid #222;
}

ul.shop_menu, .shop_menu ul{
    list-style-type: none;
}

ul.shop_menu{
    padding: 0;
}

ul.shop_menu a{
    color: #222;
}
.shop_menu > li > a {
    font-size: 120%;
}

.shop_menu > li a.attivo{
    font-weight: bold;
}

.shop-prodotto-note-col{
    border-top: 1px solid #ccc;
}

ul.nascosto{
    display: none;
}

#qty {
    width: 4ch;
    text-align: center;
    border: 1px solid #ccc;
    outline: none;
    padding: 4px;
    border-radius: 4px;
    /* rimuovi frecce su/giù */
    -moz-appearance: textfield;
}

#qty::-webkit-outer-spin-button,
#qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-btn {
    background: none;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    color: #333;
    user-select: none;
}

.qty-btn:active {
    color: #000;
}

.cursor-pointer{
    cursor: pointer;
}
.table-biciclette-header{
    padding: 0.5rem 0.4rem;
    background-color: var(--marrone);
    color:white;
    text-transform: uppercase;
    font-weight: bold;
}
.table-biciclette{
    align-items: center;
    padding: 0.6rem 0.2rem;
    border-bottom: 1px solid #dee2e6;
}
.table-biciclette:last-of-type{
    border-bottom: none;
}

.font-big{
    font-size: 150%;
}

.text-marrone{
    color: var(--marrone);
}

.totalone{
    background-color: var(--blu);
    color:white;
    border-radius: 6px;
    border: 1px solid var(--blu);
}

.totalino{
    background-color: var(--blu);
    color:white;
    border-radius: 6px;
    padding: 0.2rem 0.6rem;
}
.changeQtaDettaglio{
    background-color: var(--blu);
    color: white !important;
    font-weight: bold;
    font-size: 24px;
    height: 38px;
    width:36px;
    text-align: center;
    border-radius: 6px;
}

.changeQtaRiepilogo{
    background-color: var(--marrone);
    color: white !important;
    font-weight: bold;
    height: 28px;
    width:26px;
    text-align: center;
    border-radius: 6px;
}

.changeQta{
    background-color: #444;
    width:30px;
    height:30px;
    text-align: center;
    border-radius: 4px;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}


.ico-carrello{
    position: relative;
}

header div.carrello-popup{
    display:none;
    position: absolute;
    right:0;
    top:50px;
    background-color: white;
    box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 20%), 0 1px 5px 0 rgb(0 0 0 / 12%);
    border-radius: 6px;
    border: 1px solid #dee2e6;
    max-width: 400px;
    min-width: 300px;
    padding: 1rem;
    color: #222 !important;
    font-size: 80%;
}

header div.carrello-popup div, header:not(.trasparente) div.carrello-popup div{
    color: #222 !important;
}

header:not(.trasparente) div.carrello-popup a:hover, header div.carrello-popup a:hover {
    color: #222 !important;
}

#badge_prodotti{
    position:absolute;
    display: inline-block;
    width: 18px;
    height: 18px;
    font-weight: bold;
    font-size: 12px;
    line-height: 18px;
    color:white;
    background-color: var(--marrone);
    border-radius: 100%;
    top: -16px;
    right: -8px;
    text-align: center;
}

#my-header.is_personalizza .menu_desktop a{
    color:white !important;
}

#my-header.is_personalizza .menu_desktop .mburger,
#my-header.is_personalizza .menu_desktop .ico-header i,
#my-header.is_personalizza .menu_desktop .ico-header,
#my-header.is_personalizza .menu_desktop a.lingua{
    color: white !important;
}

@media (min-width: 1200px) {
    .shop-prodotto-note-col{
        border-top: 0;
        border-left: 1px solid #ccc;
    }
}

@media (max-width: 1199px) {
    header{
        height: 110px;
    }

    #my-page.bg_personalizza #my-main{
        padding-top: 110px;
    }

    #my-page.bg_personalizza #my-main > .ristretto:first-child{
        margin-top: 2rem !important;
    }

    #my-page:not(.is_home):not(.bg_personalizza):not(.con_copertina) #my-main{
        padding-top: 110px;
    }

    .menu_desktop{
        min-height: 110px;
        background-color: white;
    }

    .menu_desktop .row{
        min-height: 110px;
    }

    .menu_desktop .logo-home{
        max-width: 124px;
        margin: 0 auto;
    }

    header a.logo-home{
        height: 162px;
        transform: translate(-50%, -34%);
    }

    .menu_desktop .mburger{
        --mb-button-size: 46px;
        color: #222;
    }

    .menu_desktop .ico-header i{
        font-size: 24px !important;
    }

    header div.carrello-popup{
        right: -10px;
        top: 46px;
        max-width: calc(100vw - 24px);
    }

}

@media (max-width: 767px) {
    header{
        height: 92px;
    }

    #my-page.bg_personalizza #my-main{
        padding-top: 92px;
    }

    #my-page.bg_personalizza #my-main > .ristretto:first-child{
        margin-top: 1.5rem !important;
    }

    #my-page:not(.is_home):not(.bg_personalizza):not(.con_copertina) #my-main{
        padding-top: 92px;
    }

    .menu_desktop,
    .menu_desktop .row{
        min-height: 92px;
    }

    header a.logo-home{
        height: 135px;
        transform: translate(-50%, -42%);
    }

    .menu_desktop .logo-home{
        max-width: 104px;
    }

    .slider-home-container,
    .slide-home{
        height: 44vh;
    }

    .breadcrumb{
        margin-top: 1rem;
        padding: 0.5rem 0 0.75rem;
    }

    .home-section-block{
        margin-top: 1.5rem;
    }

    .box1_container{
        margin-top: -42px;
    }

    .box1_container .p-5,
    .box2_container.p-5,
    .ristretto .bg-cover.p-5{
        padding: 1.5rem !important;
    }

    .box1_container .row.g-5{
        row-gap: 1.5rem !important;
    }

    .home-top-grid,
    .home-masterclass-grid,
    .home-bottom-grid{
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
        row-gap: 0 !important;
    }

    .home-top-grid > [class*='col-'] + [class*='col-'],
    .home-bottom-grid > [class*='col-'] + [class*='col-']{
        margin-top: 24px;
    }

    .bokun-warning{
        padding: 1rem;
    }

    .bokun-warning-actions{
        flex-direction: column;
    }

    .bokun-btn{
        width: 100%;
    }

    .vetrina-prodotto-card p{
        font-size: 0.78rem;
        line-height: 1.25;
    }

    .vetrina-prodotto-card{
        padding: 0.75rem !important;
    }

    .vetrina-prodotto-card h4{
        font-size: 0.95rem;
        margin-bottom: 0.35rem !important;
    }

    .vetrina-prodotto-prezzo{
        font-size: 0.85rem;
        text-align: center;
    }

    .vetrina-prodotto-img{
        padding-bottom: 82%;
    }

    .vetrina-prodotto-inner{
        align-items: center;
    }

    .button-home-container a{
        padding: 1rem !important;
        text-shadow: none;
    }

    .button-home-container .fa{
        font-size: 34px;
    }

    .button-home-container h2{
        font-family: 'Teachers', sans-serif;
        font-size: 0.78rem;
        line-height: 1.18;
    }

    .button-home-container .mt-3{
        margin-top: 0.75rem !important;
    }

    .vetrina-prodotto-card .shop-prodotto-card-prezzo{
        margin-top: 0.5rem !important;
    }

    .box1_container .box h2,
    .box2_container h3,
    .claims-container h3{
        margin-bottom: 1rem;
    }

    .box2_container .bg-contain{
        min-height: 180px;
    }

    .home-section-grid .row{
        row-gap: 1.5rem;
    }

    .pagina-corsi-section{
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .pagina-corsi-grid{
        row-gap: 1rem;
    }

    .pagina-corsi-card .p-4{
        padding: 1rem !important;
    }

    ul.shop_menu{
        padding: 1rem;
        border: 1px solid #ccc;
        border-radius: 10px;
        background-color: white;
        max-height: 320px;
        overflow-y: auto;
    }

    .shop_menu ul{
        padding-left: 1rem;
    }

    .shop_menu > li > ul{
        display: none;
    }

    .shop_menu > li.active-group > ul{
        display: block;
    }

    .shop_menu > li > a{
        font-size: 1.1rem;
    }

    .shop_menu ul a{
        font-size: 0.95rem;
        line-height: 1.3;
    }

    .shop_menu li + li{
        margin-top: 0.35rem;
    }

    .shop-prodotti-box{
        padding: 1.25rem !important;
    }

    .shop-prodotti-grid{
        margin-top: 1rem !important;
    }

    .shop-prodotto-card{
        padding: 1rem !important;
        padding-bottom: 56px !important;
    }

    .shop-prodotto-card h4{
        margin-top: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .shop-prodotto-card p{
        font-size: 0.95rem;
        line-height: 1.35;
        margin-bottom: 0;
    }

    .shop-prodotto-card-prezzo{
        left: 1rem !important;
        right: 1rem !important;
        bottom: 1rem !important;
    }

    .slide-prodotto{
        padding-bottom: 118%;
    }

    .dettaglio-container h2{
        margin-bottom: 0.75rem;
    }

    .dettaglio-container .my-4{
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }

    .dettaglio-container .prezzo{
        margin-top: 1rem !important;
    }

    .dettaglio-container .btn-mio{
        width: 100%;
    }
}

#my-header.is_personalizza .menu_desktop .dropdown-menu a{
    color: #222 !important;
}

#my-header.is_personalizza .effect-5 > span:before, #my-header.is_personalizza .effect-5 > span:after, #my-header.is_personalizza .effect-5:before, #my-header.is_personalizza .effect-5:after{
    background-color:white;
}

.is_personalizza .breadcrumb,
.is_personalizza .breadcrumb a,
.is_personalizza .breadcrumb li.active,
.is_personalizza .breadcrumb-item+.breadcrumb-item:before{
    color: white;
}

.bg-marroncino{
    background-color: #f6f4f2;
}
.btn-scelta{
    transition: all 0.2s;
    border: 2px solid white;
    cursor: pointer;
}

.btn-scelta:hover{
    opacity: 0.7;
}

.btn-scelta.attivo{
    background-color: white !important;
    color: var(--marrone) !important;
    border: 2px solid var(--marrone) !important;
}

.mw-140{
    min-width: 140px;
}

.btn-disabled{
    opacity: 0.3;
    cursor: text;
}

.to_replace_personalizza h3{
    font-size: calc(19px + (24 - 19) * ((100vw - 360px) / (1700 - 360)));
}

.swal2-container{
    z-index: 12000 !important;
}

.toast-normal-font,
.toast-normal-font .swal2-title,
.toast-normal-font .swal2-html-container{
    font-weight: 400 !important;
}

.auth-password-page{
    min-height: 58vh;
    padding-top: clamp(140px, 18vh, 230px);
}

.auth-password-page h1{
    margin-bottom: 2rem;
}

.auth-password-form{
    max-width: 620px;
    margin: 0 auto;
}

.auth-password-fields{
    margin-top: 2.5rem;
}

.auth-password-fields .form-group{
    margin-bottom: 1rem;
}

.auth-password-fields .form-control{
    min-height: 44px;
}

.auth-password-actions{
    margin-top: 1rem;
}

.auth-password-actions .btn-mio{
    min-height: 44px;
    padding: 0.55rem 1.6rem;
    line-height: 1.25;
}

.btn-scelta.button-nota{
    flex: 1 1 auto;
    min-width: max-content;
}

.btn-nota-dominante{
    background-color: rgba(87, 30, 0, 0.22);
    border-color: rgba(255,255,255,0.75);
}

.btn-nota-dominante:hover{
    background-color: rgba(87, 30, 0, 0.32);
    opacity: 1;
}

.navbar-spedisci-nazione{
    background-color: white;
    padding: 8px 16px;
    border-radius: 8px;
}

#info_privacy_breve{
    height: 130px;
    border: 1px solid #ccc;
    padding: 15px;
    box-sizing: border-box;
    overflow-y: scroll;
    margin-bottom: 20px;
}

.no-scroll{
    overflow:hidden;
}


.login-content{
    margin-top: 80px;
    overflow-y: auto;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    padding-bottom: 80px !important;
}
.login-container{
    position: fixed;
    top: 0;
    bottom:0;
    right: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 11000;
    display: none;
    -webkit-overflow-scrolling: touch;
}

.login-panel{
    max-width: 850px;
}

.login-panel{
    float:right;
    height: 100%;
    width: 100%;
    background-color: white;
    border-left: 1px solid #ccc;
    overflow-y: auto;
    transform: translateX(100%);
    transition: all 0.6s ease-out;
}

.login-container.visibile{
    display: block;
}

.login-container .login-panel.visibile{
    transform: translateX(0%);
    transition: all 0.6s ease-in;
    overflow: hidden;
}

.login-header{
    padding: 2%;
    border-bottom: 1px solid #ccc;
    position: fixed;
    width:100%;
}

.login-header .login-close-button{
    float:left;
    padding-right: 2%;
    border-right: 1px solid #ccc;
}

.login-header .login-title{
    float:right;
}

.generic_form input{
    border-radius: 0 !important;
    border: 1px solid #ccc !important;
    padding: 4px 16px;
}
.search-icon {
    position: relative;
    z-index: 1;
    left: -40px;
    color: #333;
    cursor:pointer;
    width: 0;
}

.text-scelta{
    border: 1px solid #ccc;
    width: 100%;
    max-width: 800px;
    border-radius: 4px;
    padding: 0.5rem;
}


.contact-us-box{
    border-radius: 4px;
    border: 2px solid var(--marrone);
}

.contact-us-box > h3{
    position: absolute;
    left: 20px;
    top: 0;
    transform: translateY(-60%);
    color: #222;
    background-color: white;
    padding: 0 10px;
    font-size: calc(20px + (24 - 20) * ((100vw - 360px) / (1700 - 360)));
}

.box-con-ombra{
    position: relative;
    font-size: 90%;
}

.box-con-ombra a{
    color: #222;
    display: inline-block;
    margin-top: 0.5rem;
}

.box-con-ombra a:hover{
    color: var(--marrone) !important;
}

.box-con-ombra .fa{
    font-size: calc(24px + (32 - 24) * ((100vw - 360px) / (1700 - 360)));
    margin-bottom: 0.4rem;
}

.box-con-ombra:not(:last-of-type):after{
    position: absolute;
    right: -1px;
    top: 20%;
    display: block;
    content: " ";
    width: 1px;
    background-color: var(--marrone);
    height: 80%;
}

@media(max-width: 1199px){

    .box-con-ombra:not(:last-of-type){
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        display: block;
    }

    .box-con-ombra:not(:last-of-type):after{
        position: absolute;
        display: block;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        height:1px;
        width: 100px;
        content: " ";
        background-color: var(--marrone);
    }

    .contact-us-box > h3{
        position: absolute;
        margin: 0 auto;
        left: 0;
        right: 0;
        width: fit-content;
        top: 0;
        transform: translateY(-60%);
        color: #222;
        background-color: white;
        padding: 0 10px;
    }
}

.progress{
    font-size: 1rem;
    height: 1.25rem;
}

.dominante-container .dominante-bg:nth-of-type(1) .dominante-bg-2{
    background-color: #944E08;
}
.dominante-container .dominante-bg:nth-of-type(2) .dominante-bg-2{
    background-color: #987A34;
}
.dominante-container .dominante-bg:nth-of-type(3) .dominante-bg-2{
    background-color: #CCBD7E;
}


.button-home-container a{
    padding: 1.6rem;
    font-family: 'Teachers', sans-serif;
    color: #222;
    text-shadow: none;
    position: relative;
}

.button-home-container .fa{
    font-size: 58px;
    color: #333;
}

.button-home-container h2{
    margin-bottom: 0;
    font-family: 'Teachers', sans-serif;
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
}

.button-home-container a:hover:before{
    transform: scale(1.05);
}

@media (max-width: 575.98px){
    .button-home-container a{
        padding: 0.9rem !important;
        text-shadow: none;
        -webkit-text-stroke: 0;
    }

    .button-home-container .fa{
        font-size: 34px;
    }

    .button-home-container h2{
        font-family: 'Teachers', sans-serif;
        font-size: 0.78rem;
        line-height: 1.18;
        text-transform: none;
        text-shadow: none;
    }
}
