.as__cookie-banner {
    display: none;
    position: fixed;
    left: 0;
    bottom: 0;
    height: auto;
    max-height: 80%;
    padding: 5% ;
    margin-left: auto;
    margin-right: auto;
    background-color: #78b2e0 ;
    overflow: hidden;
    -ms-overflow-y: auto;
    overflow-y: auto;
    z-index: 9999;
    width: auto;
    max-width: 100%;
}

@media (min-width: 540px){
    .as__cookie-banner {
        padding: 1rem 2rem;
    }
}

@media (min-width: 992px){
    .as__cookie-banner {
        padding: 1rem 0;
        width: 100%;
    }
    .as__cookie-banner > *{
         width: 1006px;
         margin: auto;
         padding: 0 35px 0 42px;
         max-width: 59rem;
         margin-bottom: 1rem;
    }
}
.as__checkbox__control{

    position: absolute;
    margin-top: auto;
    z-index: 999;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    left:0;
}

.as__checkbox-icon{
    margin-right: 0.5rem;
}
.as__label.as__checkbox__label.as__checkbox-icon:after{
    content: '';
    border: solid 1px #323334;
    color: #323334;
    display:block;
    top: 2px;
    left: 0;
    width: 0.9rem;
    height: 0.9rem;
    text-align: center;
    line-height: 12px;
    padding: .05rem;
    margin-right: .2rem;
    float:left;
}
.as__checkbox__control:checked + .as__label.as__checkbox__label.as__checkbox-icon:after {
    content: '\2714';
    color:#323334;
    border: solid 1px #323334;
    font-size: 1rem;
}

.as__cookie-banner>.as__h2{
    color: #2d4d7c;
}
.as__cookie-banner__btn-details {
    position: relative;
    top: 0;
    left: 0;
    right: .8rem;
    height: 100%;
}
.as__cookie-banner__btn-details__icon {
    display: inline-block;
    width: .6rem;
    height: .6rem;
    position: absolute;
    right: 1rem;
    top: 0;
    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 currentColor;
    border-left: 2px solid currentColor;
    z-index: 1;
}
.as__cookie-banner__btn-details--active .as__cookie-banner__btn-details__icon {
    top: .5rem;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}
.as__cookie-banner .as__btn {
    font-size: 12px;
    height: 2rem;
    min-width: 9rem;
    margin: 0 0.25rem 1rem 0;
    padding: 0 1.5rem;
    cursor:pointer;
    border:none;
    background-color: #555a5c;
    color: white;
    font-weight: bold;
}
.as__cookie-banner .as__btn:hover,
.as__cookie-banner .as__btn:focus{
    background-color: rgba(100,100,100,.8);
}
.as__cookie-banner .as__cookie-banner__submit--all {
    margin-bottom: 2rem;
    background-color:  #2863bd;
    border: none;
    float: none;
    display: block;
    width: 18.5rem;
}
.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: 1rem;
}

.as__cookie-banner .as__link{
    color: #2d4d7c;
    text-decoration: underline;
}

.as__cookie-banner__table__head, .as__cookie-banner__table__content {
    padding: 0.5rem 1rem;
    border: 1px solid #dddddd;
}
.as__cookie-banner__table__head {
    width: calc(50% - 2.15rem);
    color: white;
    background: #555a5c;
}

.as__cookie-banner__table__content {
    width:calc(50% - 2.15rem);
    font-size: 80%;
}
@media (min-width: 992px){
    .as__cookie-banner__table__head {
        width: calc(40% - 2.15rem);
    }
    .as__cookie-banner__table__content {
        width:calc(60% - 2.15rem);
        font-size: 90%;
    }
}
@media (min-width: 1200px){
    .as__cookie-banner__table__head {
        width: calc(30% - 2.15rem);
    }
    .as__cookie-banner__table__content {
        width:calc(70% - 2.15rem);
        font-size: 100%;
    }
}


.as__cookie-banner__table:last-child {
    margin-bottom: 0;
}
.as__cookie-banner__form__list{
    margin-bottom: 0.5rem;
}
.as__cookie-banner__form__list__item {
    display: inline-block;
    position:relative;
}
.as__cookie-banner__form__list__item--not-changeable {
    pointer-events: none;
    opacity: .5;
}
.as__cookie-banner__details {
    display: none;
    margin-top: 1rem;
}
.as__cookie-banner__details__item {
    margin-bottom: 2rem;
    padding: 1rem;
    background:  rgba(242,240,240,0.2);
}
.as__cookie-banner__details__item:last-child {
    margin-bottom: 0;
}
.as__cookie-banner__details__cookies {
    display: none;
}
.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;
}
 