/* ------------------------------ */
/* ------- Cookie Toggle -------- */
/* ------------------------------ */

.section > div.section__cookie, .section > div.section__cookie + .section__text {
    padding-top: .75rem;
}
  
.section__cookie p, .section__cookie button {
    display: inline-block;
}
  
.section__cookie p {
    margin-bottom: 0;
}
  
.section__cookie button {
    position: relative;
    font-size: 1rem;
    padding: 0;
    margin-left: .5rem;
    color: var(--brand-black);
    background-color: var(--brand-white);
    border: none;
}

.no-touchevents .section__cookie button:hover {
    cursor: pointer;
}

.section__cookie button::before, .section__cookie button::after,
.cookie_box a::before, .cookie_box a::after {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -1px;
    left: 0;
}

.section__cookie button::before, .cookie_box a::before {
    width: 100%;
    background-color: var(--brand-link-color);
}

.section__cookie button::after, .cookie_box a::after {
    width: 0;
    background-color: var(--brand-color);
    -webkit-transition: .75s;
    -o-transition: .75s;
    transition: .75s;
}

.no-touchevents .section__cookie button:hover::after, .no-touchevents .cookie_box a:hover::after {
    width: 100%;
}



/* ------------------------------ */
/* ---- Cookie Notification ----- */
/* ------------------------------ */

.cookie_box {
    position: fixed;
    z-index: 5;
    right: 1rem;
    max-width: 455px;
    padding: 1rem 1rem 1.05rem;
    line-height: 1.5;
    background: var(--brand-color);
    -webkit-box-shadow: 0px 0px 20px 0px rgba(255, 255, 255, .18);
            box-shadow: 0px 0px 20px 0px rgba(255, 255, 255, .18);
    z-index: 100;
    -webkit-transition: 1s;
    -o-transition: 1s;
    transition: 1s;
}
    
.cookie_box, .cookie_box.hide {
    bottom: -220px;
}
    
.cookie_box.is-active {
    bottom: 1rem;
}

.cookie_box p, .cookie_box a {
    color: var(--brand-white);
    font-size: 18px;
}

.cookie_box p {
    margin-bottom: 0;
}
    
.cookie_box a {
    position: relative;
    display: inline-block;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.cookie_box a::before, .cookie_box a::after {
    bottom: 1px;
}

.cookie_box a::before {
    background-color: rgba(255, 255, 255, .2);
}

.cookie_box a::after {
    background-color: var(--brand-white);
}

.cookie_box button {
    display: inline-block;
    position: relative;
    font-size: 15px;
    padding: 9px 11px 7px;
    margin-top: 15px;
    color: var(--brand-color);
    cursor: pointer;
    border: 0;
    border-radius: 0;
    background-color: var(--brand-white);
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.macos .cookie_box button, .ios .cookie_box button {
    padding: 7px 11px 8px;
}


.no-touchevents .cookie_box button:hover {
    opacity: .75;
}


@media all and (max-width: 1199.98px) {

    .cookie_box p, .cookie_box a {
        font-size: 17px;
    }

    .cookie_box button {
        font-size: 15px;
        padding: 7px 9px 4px;
    }

}
  
  
@media all and (max-width: 767.98px) {
  
    .cookie_box {
        left: 0;
        right: auto;
        width: 100%;
        max-width: unset;
        background: var(--brand-white);
        -webkit-box-shadow: 0px 0px 20px 0px rgb(0 29 20 / 18%);
                box-shadow: 0px 0px 20px 0px rgb(0 29 20 / 18%);
    }
  
    .cookie_box.is-active {
        bottom: 0;
    }

    .cookie_box p, .cookie_box a {
        font-size: 16px;
        color: var(--brand-color);
    }

    .cookie_box button {
        padding: 7px 9px;
        color: var(--brand-white);
        background-color: var(--brand-color);
    }

    .android .cookie_box button {
        padding-top: 8px;
    }

    .cookie_box a::before {
        background-color: var(--brand-link-color);
    }

    .cookie_box a::after {
        background-color: var(--brand-color);
    }
  
}