/* ========================== 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 .h3 {
    margin: 0 0 10px;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.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: 12px 18px;
    border-radius: 6px;
    font-size: 14px;
    transition: .2s; */
    display: block;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    /* font-weight: 500; */
    font-size: 1rem;
    border: 2px solid var(--colore-terz-h);
    cursor: pointer;
    font-family: var(--font-secondary);
}

.btn-accept {
    /* background: #198754;
    color: #fff; */
    background: var(--background-pag);
    color: var(--colore-terz-h);
}

.btn-reject {
    background: #dc3545;
    color: #fff;
}

.btn-customize {
    background: #0d6efd;
    color: #fff;
}

.btn-save {
    background: #0d6efd;
    color: #fff;
}

.btn-secondary {
    background: #6c757d;
    color: #fff;
}

.btn-cookie:hover {
    opacity: .9;
    background: #f0f6fb;
}

/* ========================== 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: #fff;
    cursor: pointer;
    /* display: none; */
}

/* ========================== 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 h4 {
    margin: 0 0 5px;
}

.cookie-row p {
    /* margin: 0; */
    color: #6c757d;
    font-size: 0.9rem;
}

/* ========================== 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);
}
