/* ========================== BANNER ========================== */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; width: 100%; background: #fff; border-top: 1px solid #ddd; box-shadow: 0 -3px 15px rgba(0, 0, 0, .15);
    z-index: 9999; padding: 25px; animation: slideUp .4s ease;
}

.aperto {
    display: block;
}

.chiuso {
    display: none;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content { display: flex; justify-content: space-between; align-items: center; gap: 25px; }

.cookie-text {
    flex: 1;
}

/* .cookie-text p { font-size: 0.9rem; line-height: 1.5; }

.cookie-text .h3 { margin: 0 0 10px;} */

.cookie-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: none;
    font-size: 28px;
    cursor: pointer;
}

/* ========================== BOTTONI ========================== */
.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-cookie {
    border: none;
    text-decoration: none;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: .2s;
}

.btn-accept {
    background: #198754;
    color: #fff;
}

.btn-reject {
    background: #dc3545; color: #fff; }

.btn-customize {
    background: #0C4288; color: #fff; }

.btn-save {
    background: #0C4288;
    color: #fff;
}

.btn-secondary {
    background: #252525; color: #fff;
}

.btn-cookie:hover {
    opacity: .9;
}

.cookie-buttons input[type=submit], .cookie-modal-footer input[type=submit] {
background-color: #296600; border: 0; color: #fff; padding: 0.5rem 0.75rem; border-radius: 10px; font-family: 'Lexend Deca'; font-size: 0.9rem; font-weight: 500; cursor: pointer;}

.cookie-buttons input[type=submit]:hover, .cookie-modal-footer input[type=submit]:hover {opacity: 0.9;}

/* ========================== PULSANTE RIAPERTURA ========================== */
.cookie-settings-btn {
    position: fixed;
    bottom: 20px;
    left: 40px;
    z-index: 9998;
    border: none;
    border-radius: 30px;
    padding: 12px 18px;
    background: #f09000;
    color: #1C1C1C;
    cursor: pointer;
    /* display: none; */ display: flex; align-items: center; gap:0.25rem
}

/* ========================== MODALE ========================== */
.cookie-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 10000;
}

.cookie-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cookie-modal-content {
    width: 700px;
    max-width: 95%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    animation: zoomIn .25s ease;

    max-height: 90vh;
    overflow-y: auto;

    scrollbar-width: thin;
    /* Firefox */
}

.cookie-modal-content::-webkit-scrollbar {
    width: 8px;
}

.cookie-modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.cookie-modal-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.cookie-modal-content::-webkit-scrollbar-thumb:hover {
    background: #999;
}

@keyframes zoomIn {
    from {
        transform: scale(.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.cookie-modal-header,
.cookie-modal-footer {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.cookie-modal-footer {
    border-bottom: none;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-modal-body {
    padding: 20px;

}

.cookie-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.cookie-row-txt { width: 90%; }
/* .cookie-row-txt p {font-weight: 0.8rem;} */

/* .cookie-row .h4 { font-size: 1rem;
    margin: 0 0 5px;
} */

/* .cookie-row p {
    margin: 0;
    color: #6c757d;
} */

/* ========================== SWITCH ========================== */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 32px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 30px;
    transition: .3s;
}

.slider:before {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    left: 4px;
    top: 4px;
    background: white;
    border-radius: 50%;
    transition: .3s;
}

.switch input:checked+.slider {
    background: #0d6efd;
}

.switch input:checked+.slider:before {
    transform: translateX(28px);
}

.hp-wrapper {
    position: absolute;
    left: -9999px;
    top: -9999px;
    height: 0;
    width: 0;
    overflow: hidden;
}

@media only screen and (max-width: 1024px) {
    .cookie-content {
        flex-direction: column;
    }
}

a.new:link {
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: .2s;
}

nav.breadcrumbs ol {
  list-style: none;
  padding: 6px 0 0 0;
  margin: 0;
}

nav.breadcrumbs li {
  display: inline;
}

nav.breadcrumbs li + li::before {
  content: " / ";
  color: rgb(196, 59, 10);
}
