.cookie-consent-container {
    --color-primary: hsl(79deg, 62%, 35%);
    --color-white: hsl(0deg, 0%, 100%);
    --color-black: hsl(0deg, 0%, 0%);
    --color-gray: hsl(0deg, 0%, 60%);
    --color-gray-10: hsl(0deg, 0%, 50%);
    --color-gray-20: hsl(0deg, 0%, 30%);
    --color-dark-primary: hsl(83deg, 62%, 16%);
    --color-dark-primary-10: hsl(79deg, 62%, 30%);
    --color-hsla-primary-50: hsla(79deg, 62%, 35%, 50%);
    --color-hsla-black-50: hsla(0deg, 0%, 0%, 50%)
}

.cookie-consent-container .details {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 250ms ease
}

.cookie-consent-container .details .detail {
    min-height: 0
}

.cookie-consent-container .details .detail input[type=checkbox] {
    visibility: hidden
}

.cookie-consent-container .details:has(.detail.open) {
    grid-template-rows: 1fr
}

.cookie-consent-container .details:has(.detail.open) input[type=checkbox] {
    visibility: visible
}

.cookie-consent-container {
    border: none;
    background: none;
    position: fixed;
    z-index: 999999;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    /* background-color: rgba(0, 0, 0, .5); */
    font-family: Helvetica Light, sans-serif;
    font-weight: 300;
    font-size: 1rem;
    color: #4d4d4d;
    line-height: 1.5;
    margin: 0;
    max-width: 100vw;
    max-height: 100vh;
}

.cookie-consent-container::backdrop {
    background-color: var(--color-hsla-black-50)
}

.cookie-consent-container .text-center {
    text-align: center
}

.cookie-consent-container p {
    margin: 0 0 15px 0
}

.cookie-consent-container a,
.cookie-consent-container a:visited,
.cookie-consent-container a:active,
.cookie-consent-container a:focus,
.cookie-consent-container a:focus:active {
    color: #999;
    text-decoration: none
}

.cookie-consent-container a:hover,
.cookie-consent-container a:visited:hover,
.cookie-consent-container a:active:hover,
.cookie-consent-container a:focus:hover,
.cookie-consent-container a:focus:active:hover {
    color: #000;
    transition: all .5s ease-in-out
}

.cookie-consent-container a.show-details,
.cookie-consent-container a:visited.show-details,
.cookie-consent-container a:active.show-details,
.cookie-consent-container a:focus.show-details,
.cookie-consent-container a:focus:active.show-details {
    display: block;
    position: relative;
    padding-right: 20px;
    font-size: .75rem;
    margin-bottom: 25px
}

@media all and (min-width: 660px) {

    .cookie-consent-container a.show-details,
    .cookie-consent-container a:visited.show-details,
    .cookie-consent-container a:active.show-details,
    .cookie-consent-container a:focus.show-details,
    .cookie-consent-container a:focus:active.show-details {
        margin-bottom: 15px
    }
}

.cookie-consent-container a.show-details:after,
.cookie-consent-container a:visited.show-details:after,
.cookie-consent-container a:active.show-details:after,
.cookie-consent-container a:focus.show-details:after,
.cookie-consent-container a:focus:active.show-details:after {
    content: "";
    width: 0;
    height: 0;
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
    border-style: solid;
    border-width: 4px 4px 0 4px;
    border-color: #999 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
    margin: 7px 0 0 5px;
    position: absolute;
    top: 0
}

.cookie-consent-container a.show-details:hover:after,
.cookie-consent-container a:visited.show-details:hover:after,
.cookie-consent-container a:active.show-details:hover:after,
.cookie-consent-container a:focus.show-details:hover:after,
.cookie-consent-container a:focus:active.show-details:hover:after {
    transition: all .5s ease-in-out;
    border-color: #000 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0)
}

.cookie-consent-container a.show-details .less,
.cookie-consent-container a:visited.show-details .less,
.cookie-consent-container a:active.show-details .less,
.cookie-consent-container a:focus.show-details .less,
.cookie-consent-container a:focus:active.show-details .less {
    display: none
}

.cookie-consent-container a.show-details.open .more,
.cookie-consent-container a:visited.show-details.open .more,
.cookie-consent-container a:active.show-details.open .more,
.cookie-consent-container a:focus.show-details.open .more,
.cookie-consent-container a:focus:active.show-details.open .more {
    display: none
}

.cookie-consent-container a.show-details.open .less,
.cookie-consent-container a:visited.show-details.open .less,
.cookie-consent-container a:active.show-details.open .less,
.cookie-consent-container a:focus.show-details.open .less,
.cookie-consent-container a:focus:active.show-details.open .less {
    display: inline-block
}

.cookie-consent-container a.show-details.open:after,
.cookie-consent-container a:visited.show-details.open:after,
.cookie-consent-container a:active.show-details.open:after,
.cookie-consent-container a:focus.show-details.open:after,
.cookie-consent-container a:focus:active.show-details.open:after {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(1800deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg)
}

.cookie-consent-container .label {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 0;
    color: #4d4d4d;
    font-size: 1rem;
    font-weight: 300;
    margin: 0 0 12px 0;
    position: relative;
    /* padding: 0 0 0 30px; */
    padding: 0;
    line-height: 1.5;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.cookie-consent-container .label.partially-checked .checkmark {
    background-color: #6f9322
}

.cookie-consent-container .label.partially-checked .checkmark:after {
    display: none
}

.cookie-consent-container .label .checkmark {
    display: grid;
    place-items: center;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border: 1px solid #bfbfbf;
    border-radius: 2px;
    transition: background-color 250ms ease
}

.cookie-consent-container .label .checkmark::after {
    content: "";
    width: 7px;
    height: 15px;
    border: solid var(--color-white);
    border-width: 0 2px 2px 0;
    rotate: 45deg;
    translate: 0 -2px;
    scale: 0;
    transition: scale 250ms ease
}

.cookie-consent-container .label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0
}

.cookie-consent-container .label input:checked~.checkmark {
    background-color: #6f9322
}

.cookie-consent-container .label input:checked~.checkmark:after {
    scale: 1;
    display: block
}

.cookie-consent-container .label input:disabled:checked~.checkmark {
    scale: 1;
    opacity: .6
}

.cookie-consent-container .label input:focus~.checkmark {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px
}

.cookie-consent-container .label:hover .checkmark {
    background-color: var(--color-hsla-primary-50)
}

.cookie-consent-container .show-details {
    display: block;
    position: relative;
    padding: 0 18px 0 0;
    margin: 0 auto 1.25rem;
    color: var(--color-gray);
    background: none;
    border: none;
    border-radius: 2px;
    font-size: .875rem;
    transition: color 250ms ease
}

.cookie-consent-container .show-details::after {
    content: "";
    position: absolute;
    inset: 50% 0 auto auto;
    border-style: solid;
    border-width: 5px 5px 0 5px;
    border-color: var(--color-gray) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
    rotate: 360deg;
    translate: -2px -50%;
    transition: border-color 250ms ease
}

.cookie-consent-container .show-details:hover {
    color: var(--color-black)
}

.cookie-consent-container .show-details:hover::after {
    border-color: var(--color-black) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0)
}

.cookie-consent-container .show-details:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px
}

.cookie-consent-container .show-details .less {
    display: none
}

.cookie-consent-container .show-details.open .more {
    display: none
}

.cookie-consent-container .show-details.open .less {
    display: inline-block
}

.cookie-consent-container .show-details.open::after {
    rotate: 180deg
}

.cookie-consent-container .consent-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 500px;
    width: 90%;
    height: 590px;
    max-height: calc(100vh - 50px);
    min-height: 295px;
    margin: auto;
    padding: 1em;
    background-color: #fff;
    overflow-y: auto;
    box-shadow: 0 0 5px #000;
    border-radius: 5px;
    transition: all .5s ease-in-out
}

@media all and (min-width: 500px) {
    .cookie-consent-container .consent-modal {
        height: 470px
    }
}

@media all and (min-width: 900px) {
    .cookie-consent-container .consent-modal {
        height: 450px;
        max-height: calc(100vh - 100px)
    }
}

.cookie-consent-container .consent-modal .option-wrapper {
    background: #eee;
    padding: 15px;
    margin-bottom: 15px
}

/* .cookie-consent-container .consent-modal .option-wrapper:last-child {
    margin-bottom: 0
} */

.cookie-consent-container .consent-modal .option-wrapper p:last-child {
    margin-bottom: 0
}

.cookie-consent-container .consent-modal .option-wrapper .option-headline {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.25rem;
    font-weight: 400
}

.cookie-consent-container .consent-modal .option-wrapper .option-detail-wrapper {
    margin-bottom: 10px;
    border-bottom: 2px solid #afafaf
}

.cookie-consent-container .consent-modal .option-wrapper .option-detail-wrapper:last-child {
    margin-bottom: 0
}

.cookie-consent-container .consent-modal .option-wrapper .option-detail-wrapper .option-detail {
    border-bottom: 1px solid #ddd;
    padding: 7px 10px 3px;
    font-size: .875rem
}

.cookie-consent-container .consent-modal .option-wrapper .option-detail-wrapper .option-detail:last-child {
    border-bottom: none;
    padding-bottom: 6px
}

.cookie-consent-container .consent-modal .option-wrapper .option-detail-wrapper .option-detail.cookie-option {
    background: #dedede;
    font-size: 1rem;
    font-weight: 400;
    transition: all ease-in-out .5s
}

.cookie-consent-container .consent-modal .option-wrapper .option-detail-wrapper .option-detail.cookie-option:hover {
    background: #d4d0d0;
    transition: all ease-in-out .5s
}

.cookie-consent-container .consent-modal .option-wrapper .option-detail-wrapper .option-detail.cookie-option:hover~.option-detail {
    background: #f3f3f3;
    transition: all ease-in-out .5s
}

.cookie-consent-container .consent-modal .option-wrapper .option-detail-wrapper .option-detail.cookie-option .label {
    justify-content: space-between;
    color: #4d4d4d;
    text-align: left;
    font-weight: 400
}

.cookie-consent-container .consent-modal .option-wrapper .option-detail-wrapper .option-detail .option-title {
    font-weight: 400;
    width: 100%;
    text-align: left;
    display: inline-block;
    vertical-align: top
}

@media all and (min-width: 500px) {
    .cookie-consent-container .consent-modal .option-wrapper .option-detail-wrapper .option-detail .option-title {
        width: 30%
    }
}

.cookie-consent-container .consent-modal .option-wrapper .option-detail-wrapper .option-detail .option-value {
    width: 100%;
    display: inline-block;
    vertical-align: top
}

@media all and (min-width: 500px) {
    .cookie-consent-container .consent-modal .option-wrapper .option-detail-wrapper .option-detail .option-value {
        width: 69%
    }
}

.cookie-consent-container .consent-modal .option-wrapper .label {
    margin-bottom: 0;
    padding: 0 20px 0 0;
    width: 100%
}

.cookie-consent-container .consent-modal .option-wrapper .label .checkmark {
    right: 0;
    left: inherit;
    background: #eee;
    border: 1px solid #bfbfbf
}

.cookie-consent-container .consent-modal .option-wrapper .label input:checked~.checkmark {
    background-color: #6f9322
}

.cookie-consent-container .consent-modal .cookie-headline {
    line-height: 1.5;
    margin: 0 0 15px 0;
    color: #4d4d4d;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.25rem;
    font-weight: 400
}

.cookie-consent-container .consent-modal.open {
    max-width: 750px;
    height: calc(100vh - 50px)
}

.cookie-consent-container .consent-modal .options {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0
}

.cookie-consent-container .consent-modal .options li {
    margin-bottom: 5px
}

@media all and (min-width: 500px) {
    .cookie-consent-container .consent-modal .options {
        grid-template-columns: repeat(2, 1fr)
    }

    .cookie-consent-container .consent-modal .options li {
        width: 49%;
        display: inline-block
    }
}

.cookie-consent-container .consent-modal .footer-links {
    display: block;
    text-align: center;
    width: 100%;
    line-height: 90%
}

.cookie-consent-container .consent-modal .footer-links a {
    padding: .1rem;
    margin-inline: .2rem;
    border-radius: 2px
}

.cookie-consent-container .consent-modal .footer-links a:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px
}

.cookie-consent-container .buttons {
    /* display: grid; */
    /* grid-template-columns: 1fr; */
    /* gap: .75rem; */
    margin-bottom: 25px
}

@media all and (min-width: 660px) {
    .cookie-consent-container .buttons {
        /* grid-template-columns: repeat(2, 1fr); */
        margin-bottom: 15px
    }

    /* .cookie-consent-container .buttons :first-child { */
    /* grid-column: auto/span 2 */
    /* } */
}

.cookie-consent-container .buttons .btn {
    font-size: 1rem;
    padding: 11px 10px;
    cursor: pointer;
    border-radius: 3px;
    width: 100%;
    max-width: 370px;
    text-align: center;
    font-weight: 300;
    clear: both;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 100%
}

.cookie-consent-container .buttons .btn:focus-visible {
    outline: 2px solid var(--btn-outline-color, var(--color-dark-primary));
    outline-offset: 2px
}

.cookie-consent-container .buttons .btn--primary {
    background: #6f9322;
    color: #fff;
    border: 2px solid #6f9322;
    transition: border-color 250ms ease, background-color 250ms ease;
    margin-bottom: 10px
}

.cookie-consent-container .buttons .btn--primary:hover {
    background: #30400f;
    border: 2px solid #30400f
}

.cookie-consent-container .buttons .btn--secondary {
    transition: color 250ms ease, border-color 250ms ease, background-color 250ms ease;
    background: rgba(0, 0, 0, 0);
    color: #999;
    border: 2px solid #999;
    opacity: .5
}

.cookie-consent-container .buttons .btn--secondary.deny {
    margin-bottom: 10px
}

.cookie-consent-container .buttons .btn--secondary:hover {
    background: rgba(0, 0, 0, 0);
    color: #999;
    opacity: 1
}

.cookie-consent-settings {
    margin-bottom: 10px
}

.cookie-consent-settings .details {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 250ms ease
}

.cookie-consent-settings .details .detail {
    min-height: 0
}

.cookie-consent-settings .details .detail input[type=checkbox] {
    visibility: hidden
}

.cookie-consent-settings .details:has(.detail.open) {
    grid-template-rows: 1fr
}

.cookie-consent-settings .details:has(.detail.open) input[type=checkbox] {
    visibility: visible
}