#cookies-notice {
    position: fixed;
    left: 25px;
    bottom: 25px;
    background-color: #fff;
    max-width: calc(100% - 50px);
    width: 700px;
    min-width: 300px;
    max-height: calc(100% - 50px);
    overflow: auto;
    padding: 30px;
    z-index: 9999999;

    background-color: #fff;
    border-radius: 20px;

    box-shadow: 30px 33px 40px #02144C26;
}

#cookies-notice:not(.show){
    display: none;
}

#cookies-notice-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

#cookies-notice-content {
    margin-bottom: 20px;
}

#cookies-notice-content p {
    margin: 0;
    font-size: 14px;
    text-align: justify;
}

#cookies-notice p a {
    text-decoration: underline;
    color: inherit;
}

#cookies-notice p a:hover {
    text-decoration: none;
}

#cookies-notice-buttons {
    display: flex;
    justify-content: flex-end;
}

.cookies-notice-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    padding: 8px 30px;
    text-decoration: none;
    color: inherit;
    font-size: 14px;
    cursor: pointer;
    appearance: normal;
    -webkit-appearance: none;
    border: 0;
    background: none
}

.cookies-notice-button + .cookies-notice-button {
    margin-left: 10px;
}

#cookies-notice-button-accept {
    background-color: var(--color-text);
    color: #fff;
    font-size: 16px;
}

#cookies-notice-details-show {
    display: none;
}

#cookies-notice-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-in-out;
}

#cookies-notice-details-show:checked + #cookies-notice-details {
    max-height: 100vh;
}

.cookies-notice-detail:first-of-type {
    margin-top: 20px;
}

.cookies-notice-detail {
    display: flex;
    flex-direction: column;
}

.cookies-notice-detail-title {
    margin-bottom: 10px;
}

.cookies-notice-detail-title input {
    display: none;
}

.cookies-notice-detail-title label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.cookies-notice-detail-title label:before {
    content: "\00D7";
    display: flex;
    width: 24px;
    height: 24px;
    border: 1px solid #000;
    border-radius: 3px;
    margin-right: 10px;
    font-size: 24px;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: color 0.125s ease-in-out;
}

.cookies-notice-detail-title input[disabled] + label:before,
.cookies-notice-detail-title input[readonly] + label:before {
    opacity: 0.25;
}

.cookies-notice-detail-title input:checked + label:before {
    color: inherit;
}

.cookies-notice-detail-title {
    display: flex;
    align-items: center;
}

.cookies-notice-detail-text p {
    margin: 0;
    font-size: 14px;
}

.cookies-notice-detail {
    margin-bottom: 30px;
}

@media only screen and (max-width: 600px) {
    #cookies-notice {
        left: 10px;
        bottom: 10px;
        max-width: calc(100% - 20px);
        max-height: calc(100% - 20px);
    }
}