.as__cookie-banner {
    display: none;
    box-sizing: border-box;

    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    min-width: 320px;
    width: 60%;
    max-width: 800px;

    height: auto;
    max-height: 70%;

    padding: 20px;

    background-color: #fff;
    overflow: hidden;
    -ms-overflow-y: auto;
    overflow-y: auto;
    z-index: 9999;
}

.as__cookie-banner * {
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
    color: #333;
}

.as__cookie-banner__btn-details {
    position: relative;
    top: 0;
    left: 0;
    right: 8px;
    height: 100%;
}

.as__cookie-banner__btn-details__icon {
    display: inline-block;
    width: 8px;
    height: 8px;
    pointer-events: none;

    position: absolute;
    right: 14px;
    top: -4px;
    bottom: 0;

    margin: auto;

    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);

    z-index: 1;
}

.as__cookie-banner__btn-details__icon::before {
    content: '';

    display: block;
    width: 100%;
    height: 100%;

    position: absolute;
    top: 0;
    left: 0;

    border-top: 2px solid #fff;
    border-left: 2px solid #fff;

    z-index: 1;
}

.as__cookie-banner__btn-details--active .as__cookie-banner__btn-details__icon {
    top: 6px;

    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.as__cookie-banner__submit--all {
    margin-bottom: 10px;
}

.as__cookie-banner__table {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-direction: row;
    flex-direction: row;

    -ms-flex-pack: justify;
    justify-content: space-between;

    margin-bottom: 16px;
}

.as__cookie-banner__table__head,
.as__cookie-banner__table__content {
    box-sizing: border-box;
    padding: 5px 10px;
    border: 1px solid #ddd;
}

.as__cookie-banner__table__head {
    width: 41.666667%;

    background: #ccc;
}

.as__cookie-banner__table__content {
    width: 58.333333%;

    font-size: 80%;
    background: #fff;
}

.as__cookie-banner__table:last-child {
    margin-bottom: 0;
}

.as__cookie-banner__form__list {
    padding: 10px 0 0 0;
    margin: 0;
}

.as__cookie-banner__form__list__item {
    display: inline-block;
    padding-bottom: 10px;
}

.as__cookie-banner__form__list__item--not-changeable {
    pointer-events: none;
    opacity: .5;
}

.as__cookie-banner__details {
    display: none;
    margin-top: 30px;
}

.as__cookie-banner__details__item {
    margin-bottom: 20px;
    padding: 10px;

    background: #ddd;
}

.as__cookie-banner__details__item:last-child {
    margin-bottom: 0;
}

.as__cookie-banner__details__cookies {
    display: none;
    padding-top: 16px;
}

.as__cookie-banner__details__cookies__name {
    word-break: break-all;
}

.as__cookie-banner__details__cookies--active {
    display: block;
}

.as__cookie-banner__details--active {
    display: block;
}

.as__cookie-banner--active {
    display: block;
}

@media screen and (min-width: 480px) {
    .as__cookie-banner__table__head {
        width: 33.333333%;
    }

    .as__cookie-banner__table__content {
        width: 66.666667%;
    }

    .as__cookie-banner__details__cookies__name {
        word-break: normal;
    }
}

@media screen and (min-width: 768px) {
    .as__cookie-banner__table {
        max-width: 720px;
        margin-right: auto;
    }
}

/* custom */
.as__cookie-banner__darken {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;

    background: rgba(0, 0, 0, 0.2);
}

.as__cookie-banner--active ~ .as__cookie-banner__darken {
    display: block;
}

.as__cookie-banner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    min-width: 320px;
    width: 60%;
    max-width: 800px;
}

.as__cookie-banner .as__h2,
.as__cookie-banner .as__cookie-banner__heading {
    font-size: 28px;
    line-height: 34px;
    font-weight: 400;
    margin: 10px 0 14px;
    color: #5c5c5c;
}

.as__cookie-banner .as__p {
    font-size: 15px;
    line-height: 25px;
    font-weight: 400;
    color: #333;
}

.as__cookie-banner .as__cookie-banner__text {
    margin-bottom: 0;
}

.as__cookie-banner .as__link {
    color: #333;
    font-weight: 500;
    text-decoration: none;
}

.as__cookie-banner .as__link:hover {
    color: #630026;
}

.as__cookie-banner.as__cookie-banner__btn-details__icon {
    pointer-events: none;
}

.as__cookie-banner .as__btn {
    -webkit-appearance: none;
    display: inline-block;
    position: relative;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
    border: none;
    max-width: 100%;
    box-sizing: border-box;
    padding: 9px 25px;
    margin-bottom: 3px;
    height: 40px;
    min-width: 130px;
    color: #fff;
    outline: none;
}

.as__cookie-banner .as__btn.as__btn--primary {
    background: #630026;
}

.as__cookie-banner .as__btn.as__btn--primary:hover,
.as__cookie-banner .as__btn.as__btn--primary:active {
    background: #A00038;
}

.as__cookie-banner .as__btn.as__btn--secondary {
    background: #5c5c5c;
}

.as__cookie-banner .as__btn.as__btn--secondary:hover,
.as__cookie-banner .as__btn.as__btn--secondary:active {
    background: #919191;
}

.as__cookie-banner .as__checkbox {
    position: relative;
    display: flex;
}

.as__cookie-banner .as__checkbox input {
    opacity: 0;
    flex: 0 0 auto;
    margin: 0;
}

.as__cookie-banner .as__checkbox input + label {
    cursor: pointer;
    position: absolute;
    height: 20px;
    width: 20px;
    top: 0;
    left: 0;
    border: 2px solid #5c5c5c;
    box-sizing: border-box;
}

.as__cookie-banner .as__checkbox input:checked + label {
    border-color: #630026;
}

.as__cookie-banner .as__checkbox input:checked + label:after {
    display: block;
    content: '';
    background: #630026;
    margin: 2px;
    height: 12px;
    width: 12px;
}

.as__cookie-banner .as__checkbox .as__label {
    padding: 0 10px 0 16px;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    cursor: pointer;
}
