.logo {
    width: 270px;
    height: 65px;
    background-size: auto;
    background-size: 100% auto;
    display:block;
    margin-left:5px;
    padding-top:8px;
}

.gdpr-bar-description {
    width: 100%;
}

.background-image-wrapper {
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}
#home {height: 100vh;}
@media screen and (max-width: 820px) {#home {height: 60vh;}.background-image-wrapper {background-position: top;}}
@media screen and (max-width: 430px) {#home {height: 50vh;}.background-image-wrapper {background-position: top;}}

/* ==========================================================================
   Finestra cookie (consenso GDPR) - come su RGV
   markup in inc/footer.asp, script in js/custom.js
   ========================================================================== */
.rgv-consent{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;align-items:center;justify-content:center;padding:16px;background:rgba(0,0,0,.75);}
.rgv-consent.is-open{display:flex;}
.rgv-consent-box{width:100%;max-width:560px;max-height:calc(100vh - 32px);overflow-y:auto;background:#fff;color:#212529;border-radius:6px;padding:24px;box-shadow:0 10px 40px rgba(0,0,0,.4);font-size:1rem;line-height:1.5;}
.rgv-consent-box:focus{outline:none;}
.rgv-consent-title{margin:0 0 12px 0;font-size:1.25rem;line-height:1.3;font-weight:700;letter-spacing:0;text-transform:none;color:#212529;}
.rgv-consent-text{margin:0 0 8px 0;color:#212529;}
.rgv-consent-note{margin:0 0 20px 0;font-size:.875rem;color:#495057;}
.rgv-consent-text a{color:#0b4f9e;text-decoration:underline;font-weight:600;}
.rgv-consent-actions{display:flex;flex-wrap:wrap;gap:12px;}
.rgv-consent-btn{flex:1 1 160px;min-height:48px;padding:10px 16px;border-radius:4px;font-size:1rem;font-weight:700;line-height:1.2;cursor:pointer;text-align:center;}
.rgv-consent-btn-main{background:#212529;color:#fff;border:2px solid #212529;}
.rgv-consent-btn-main:hover{background:#000;border-color:#000;color:#fff;}
.rgv-consent-btn-alt{flex-basis:100%;background:#fff;color:#212529;border:2px solid #212529;}
.rgv-consent-btn-alt:hover{background:#e9ecef;color:#212529;}
.rgv-consent-btn:focus,.rgv-consent-btn:focus-visible,.rgv-consent-text a:focus,.rgv-consent-text a:focus-visible{outline:3px solid #0b4f9e;outline-offset:3px;}
html.rgv-consent-lock,html.rgv-consent-lock body{overflow:hidden;}
@media (prefers-reduced-motion: reduce){.rgv-consent,.rgv-consent *{transition:none !important;animation:none !important;}}
@media (forced-colors: active){.rgv-consent-box{border:2px solid CanvasText;}.rgv-consent-btn{border:2px solid ButtonText;}}
/* impostazioni cookie: la X e "Reset" ora sono pulsanti, senza l'aspetto del pulsante */
.gdpr-preferences-popup .gdpr-close-popup{background:none;border:0;padding:0;line-height:1;}

/* ==========================================================================
   Header sul telefono (sotto 992px): logo piu' piccolo e colonna delle icone larga quanto serve,
   cosi' ricerca, carrello e pulsante del menu a panino stanno nello schermo.
   (il logo ha larghezza e altezza scritte nell'<object> dell'header: per questo !important)
   ========================================================================== */
@media (max-width: 991px) {
    #header .header-logo a.logo { width: 160px; height: 39px; padding-top: 0; }
    #header .header-logo object { width: 160px !important; height: 39px !important; }
    #header .header-container .header-column.w-100pct { width: auto !important; }
    #header .header-container .header-column .header-row.px-4 { padding-left: .5rem !important; padding-right: .5rem !important; }
}
