/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

.cookie-popup-container {
    display: none;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;

    width: 100%;
    height: 100vh;

    position: fixed;
    top: 0;
    left: 0;

    background-color: rgba(0, 0, 0, .7);

    z-index: 100;
    overflow: hidden;

    -webkit-transition: display .5s ease-out;

    -o-transition: display .5s ease-out;

    transition: display .5s ease-out;
}

.cookie-popup-container--visible {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.cookie-popup {
    width: 90%;
    max-width: 550px;

    -webkit-box-sizing: border-box;

    box-sizing: border-box;
    padding: 2em;

    background: white;
    font-size: 12px;

    border-radius: 6px;
}

.cookie-popup > * + :not(:last-child) {
    margin-bottom: 2em;
}

.cookie-popup__header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row;
    flex-flow: row;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.cookie-popup__link {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding-top: 1em;
}

div.cookie-popup__header .cookie-popup__close {
    -ms-flex-item-align: start;
    align-self: flex-start;
}

div.cookie-popup__header .cookie-popup__close .close__icon {
    font-size: 2.5em;
    cursor: pointer;
}

.cookie-consent__content {
    font-size: .8rem;
    line-height: 1.5em;
}

.cookie-popup__logo {
    display: inline;
    margin-bottom: .5em;
    height: clamp(40px, 10vw, 50px);
}

.cookie-popup__title {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin: .75em 0 .4em;
}

.cookie-popup__feature {
    display: -ms-grid;
    display: grid;
    -ms-grid-rows: auto auto;
    grid-template-rows: auto auto;
    -ms-grid-columns: auto auto;
    grid-template-columns: auto auto;

    background: rgba(0, 0, 0, 0.05);
}

.cookie-popup__feature > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

.cookie-popup__feature > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
}

.cookie-popup__feature > *:nth-child(3) {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
}

.cookie-popup__feature > *:nth-child(4) {
    -ms-grid-row: 2;
    -ms-grid-column: 2;
}

.cookie-popup__feature:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.cookie-popup__feature div {
    padding: 1em;
}

.cookie-popup__feature div p {
    margin: .3em 0;

    font-size: .8rem;
    font-weight: 500;
}

.cookie-popup__controls {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column wrap;
    flex-flow: column wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;

    justify-self: flex-end;
}

.cookie-popup__button--more {
    padding: .5em;
    border: none;
    background: none;
    color: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.cookie-popup__icon {
    display: inline-block;
    margin-left: .5em;
    -webkit-transition: -webkit-transform 0.3s ease-in-out;
    transition: -webkit-transform 0.3s ease-in-out;
    -o-transition: transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}

.cookie-popup__button--more.explanation--open .cookie-popup__icon {
    -webkit-transform: rotate3d(1, 0, 0, 180deg);
    transform: rotate3d(1, 0, 0, 180deg);
}

.cookie-popup__explanation {
    display: none;
    -ms-grid-row: 2;
    grid-row-start: 2;
    -ms-grid-column: 1;
    grid-column-start: 1;
    -ms-grid-column-span: 2;
    grid-column-end: 3;

    max-height: 200px;
    overflow-y: scroll;
}

.cookie-popup__buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.cookie-popup__button {
    padding: 1em;

    font-size: .8rem;
    text-transform: uppercase;

    border-radius: 4px;
    background: none;
    border: none;
    -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.cookie-popup__button--accept-none {
    text-decoration: underline;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.cookie-popup__button--accept-selection {
    background: #27A1E5;
}

.cookie-popup__button--accept-all {
    color: white;
    background: #2a992a;
}

/* Toogle Button */

/* The switch - the box around the slider */
.cookie-popup .switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
}

/* Hide default HTML checkbox */
.cookie-popup .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.cookie-popup .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
}

.cookie-popup .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;

    -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cookie-popup input:checked + .slider {
    background-color: #34bb34;
}

.cookie-popup input:focus + .slider {
    -webkit-box-shadow: 0 0 1px #34bb34;
    box-shadow: 0 0 1px #34bb34;
}

.cookie-popup input:checked + .slider:before {
    -webkit-transform: translateX(18px);
    -ms-transform: translateX(18px);
    transform: translateX(18px);
}

/* Rounded sliders */
.cookie-popup .slider.round {
    border-radius: 34px;
}

.cookie-popup .slider.round:before {
    border-radius: 50%;
}