.cookie-modal {
    position: fixed;
    z-index: 1000;
    width: 100%;
    /* height: 100%;
    background-color: #0000004d;*/
    left: 0;
    bottom: 0;
    pointer-events: none
}


.cookie-modal--hidden {
    display: none
}

.cookie-modal__content {
    max-width: 100%;
    padding: 16px;
    background-color: var(--color-code-yellow);
    margin: 0;
    pointer-events: auto;
    border-radius: 0;
    border-top: 1px solid var(--color-code-yellow);
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md);
}


@media (min-width: 400px) {
    .cookie-modal__content {
        margin: 22vh auto 0;
        padding: 32px
    }
}

.cookie-modal__title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    margin-top: 0
}

.cookie-modal__text {
    margin-bottom: 20px;
    line-height: 1.4
}

.cookie-modal__text a {
    text-decoration: underline
}

.cookie-modal__options {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 8px;
}

.cookie-modal__option {
    width: 100%;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    cursor: pointer
}

.cookie-modal__option.disabled {
    opacity: .7
}

.cookie-modal__checkbox {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: block;
    width: 20px;
    height: 20px;
    border: 2px solid #000000;
    margin: 0 6px 0 0;
    flex-shrink: 0;
    border-radius: 4px
}

.cookie-modal__checkbox:checked {
    background-color: #000
}

.cookie-modal__checkbox:checked:focus-visible {
    outline: none;
    background-color: #81a2be
}

.cookie-modal__checkbox:focus-visible {
    outline: none;
    border-color: #81a2be
}

.cookie-modal__check {
    position: absolute;
    left: 0;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0
}

.cookie-modal__check svg {
    stroke: var(--color-code-yellow);
}

.cookie-modal__label {
    line-height: 22px
}

.cookie-modal__buttons {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start
}

.cookie-modal__button {
    display: block;
    margin-right: 8px;
    padding: 6px 20px;
    white-space: nowrap;
    border: 2px solid #000000;
    text-decoration: none;
    color: #000;
    border-radius: 4px
}

@media (min-width: 400px) {
    .cookie-modal__button {
        margin-right: 10px;
        padding: 10px 24px
    }
}

.cookie-modal__button.primary {
    background-color: #000;
    color: var(--color-code-yellow);
}

.cookie-modal__button.primary:focus-visible,
.cookie-modal__button.primary:hover {
    background-color: #81a2be
}

.cookie-modal__button:focus-visible,
.cookie-modal__button:hover {
    outline: none;
    border-color: #81a2be
}

.cookie-modal__button.hide {
    display: none
}