#cookie-consent-notice {
    background-color: #fff;
    padding: 20px 20px 30px;
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    z-index: 1000;
    border-top: 1px solid #e2e2e2;
}
.cookie-notice-content {
    display: inline-block;
    text-align: left;
}
.cookie-message {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    text-align: center;
}
.cookie-message p {
    margin: 0;
    padding: 0;
    font-size: 16px;
    color: #666;
}
.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.cookie-buttons button {
    padding: 5px 20px 7px;
    background-color: #245460;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 15px;
}
.cookie-buttons button:hover {
    background-color: #163942;
}
.cookie-buttons button#accept-cookies {
    background-color: #c6e5df;
    color: #454e41;
}
.cookie-buttons button#accept-cookies:hover {
    background-color: #9abcb5;
    color: #454e41;
}
.cookie-buttons button#decline-cookies {
    background-color: #dddddd;
    color: #454e41;
}
.cookie-buttons button#decline-cookies:hover {
    background-color: #b8b8b8;
    color: #454e41;
}
.cookie-policy-link {
    color: #163942;
    cursor: pointer;
    text-decoration: none;
}
@media (max-width: 600px) {
    .cookie-message {
        display: block;
        text-align: center;
    }
    .cookie-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .cookie-buttons button {
        width: 100%;
    }
    .cookie-buttons button:nth-child(1),
    .cookie-buttons button:nth-child(2) {
        grid-column: span 1;
    }
    .cookie-buttons button:nth-child(3) {
        grid-column: span 2;
    }
} /* -------------------------- */ /* Modal styles */
.cookie-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1001;
}
.cookie-modal-content {
    background-color: #fff;
    border-radius: 0;
    width: 60%;
    display: flex;
}
.cookie-modal-sidebar {
    width: 25%;
    background-color: #e2e2e2;
    padding: 20px;
    border-radius: 0;
}
.cookie-modal-sidebar ul {
    list-style-type: none;
    padding: 0;
}
.cookie-modal-sidebar ul li a {
    display: block;
    padding: 10px;
    color: #fff;
    text-decoration: none;
    background-color: #222;
    margin-bottom: 5px;
    border-radius: 4px;
    transition: background-color 0.3s;
}
.cookie-modal-sidebar ul li a:hover,
.cookie-modal-sidebar ul li a.active {
    background-color: #0073aa;
}
.cookie-modal-body {
    width: 75%;
    padding: 20px;
}
.cookie-section {
    display: none;
}
.cookie-section.active {
    display: block;
}
.cookie-modal-content form button[type="submit"],
.cookie-modal-content form #close-modal {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.cookie-modal-content form button[type="submit"]:hover {
    background-color: #005f8d;
}
.cookie-modal-content form #close-modal {
    background-color: #a8a8a8;
}
.cookie-modal-content form #close-modal:hover {
    background-color: #878787;
}
.cookie-modal-content h2 {
    margin-bottom: 10px;
    padding-bottom: 0;
    font-size: 22px;
}
.cookie-modal-content p {
    margin-bottom: 5px;
    padding-bottom: 0 !important;
}
.cookie-modal-content form label {
    display: block;
    margin-bottom: 0;
}
.cookie-modal-content form input {
    width: 16px;
    height: 16px;
    position: relative;
    top: 1px;
    left: -4px;
}
.cookie-modal-content button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #0073aa;
    color: white;
    border: none;
    cursor: pointer;
}
.cookie-modal-content button:hover {
    background-color: #005177;
}
@media (max-width: 980px) {
    .cookie-modal-content {
        width: 100%;
        margin: 30px;
    }
}
@media (max-width: 767px) {
    .cookie-modal {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        z-index: 9999;
    }
    .cookie-modal-content {
        border-radius: 0;
        width: 80%;
    }
    .cookie-modal-sidebar {
        float: none;
        width: 100%;
        margin-bottom: 20px;
    }
    .cookie-modal-sidebar ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        padding: 0;
        margin: 0 -5px;
        list-style: none;
    }
    .cookie-modal-sidebar ul li {
        flex: 1 1 45%;
        margin-bottom: 10px;
        text-align: center;
    }
    .cookie-modal-sidebar ul li:last-child {
        margin-bottom: 0;
    }
    .cookie-modal-sidebar ul li a {
        padding: 5px;
        font-size: 14px;
        margin: 0 5px 0;
    }
    .cookie-modal-body {
        clear: both;
        padding: 20px;
        width: 100%;
    }
    .cookie-section {
        display: none;
    }
    .cookie-section.active {
        display: block;
    }
    .cookie-modal-content form button {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    .cookie-modal-content {
        display: flex;
        flex-direction: column;
    }
    .cookie-modal-sidebar {
        margin-bottom: 0;
        border-radius: 0;
    }
    .cookie-modal-body {
        padding: 15px 20px 20px;
    }
    .cookie-modal-content form button {
        margin-bottom: 0;
        margin-top: 0;
    }
    .cookie-modal-content form button[type="submit"],
    .cookie-modal-content form #close-modal {
        margin-top: 10px;
    }
    .cookie-message p {
        line-height: 150%;
    }
    .cookie-message p a {
        display: inline-block;
        margin: 15px 0 10px;
    }
    #cookie-consent-notice {
        padding: 20px 0 20px;
    }
    .cookie-notice-content {
        max-width: 80%;
    }
    .cookie-modal-content h2 {
        font-size: 20px;
    }
    .cookie-modal-content p {
        font-size: 16px;
        line-height: 150%;
        margin-bottom: 5px;
    }
    .cookie-modal-content form label {
        font-size: 16px;
        line-height: 150%;
        margin-bottom: 10px;
        display: inline-block;
    }
    .cookie-modal-content label input {
        top: 2px;
    }
}
