.cookieBarWrapper {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(57, 57, 57, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    color: #393939;
    font-size: 17px;
    z-index: 100;
}

.cookieBarWrapper.active {
    display: flex;
}

.cookieBar {
    display: none;
    opacity: 0;
    transition: opacity 1s linear;
}

.cookieBar.active {
    display: block;
    width: 70%;
    max-width: 1065px;
    background: white;
    z-index: 1000;
    opacity: 1;
    transition: opacity 1s linear;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.33);
}

.cookieContent {
    display: flex;
    flex-flow: row wrap;
    padding: 47px;
    align-content: center;
}

.cookieContent > h2 {
    font-size: 25px !important;
    font-weight: bold;
    color: #393939;
    margin: 10px 0;
}

.cookieContent > .txt p {
    flex-basis: 100%;
    line-height: 25px;
    margin: 25px 0;
}

.cookieContent > .select {
    margin-top: 45px;
    display: flex;
    flex-flow: row wrap;
    flex-basis: 100%;
    justify-content: space-between;
}

.cookieContent > .select > .accept {
    flex-basis: auto;
    display: flex;
    flex-flow: row wrap;
    align-content: center;
    justify-content: center;
}

.cookieContent > .select > .decline {
    display: flex;
    flex-flow: row wrap;
    justify-content: left;
    align-content: center;
    flex-basis: 250px;
}

.cookieContent > .select > .decline > span {
    color: #393939;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    padding: 18px;
    text-align: center;
    width: 100%;
}

.cookieContent > .select > .accept > span {
    text-decoration: none;
    width: 100%;
    text-align: center;

    background: #393939;
    font-size: 18px;
    color: white;
    cursor: pointer;
    font-weight: 500;
    padding: 10px 50px;
    border: 3px solid #393939;
    border-radius: 60px;
    overflow: hidden;
    transition: all .5s;
}

body {
    height: 100%;
    position: relative;
}

.cookiePrefsOverlay {
    display: none;
}

.cookiePrefsOverlay.active {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    width: 100vw;
    height: 100vh;
    flex-flow: row wrap;
    align-content: center;
    justify-content: center;
    z-index: 100000;
    color: #393939;
    font-size: 14px;
    background-color: rgba(57, 57, 57, 0.8);
}

.cookieBarWrapper.active + .cookiePrefsOverlay.active {
    background-color: transparent;
}

.cookiePrefsOverlay.active > .cookiePrefsWrapper {
    background: white;
    width: 70%;
    max-width: 1065px;
    padding: 47px;
    display: flex;
    flex-flow: row wrap;
    position: relative;
}

.cookiePrefsWrapper > .close {
    width: 20px;
    height: 20px;
    background: no-repeat url('./close.svg') center center / contain;
    position: absolute;
    top: 55px;
    right: 47px;
    cursor: pointer;
}

.cookiePrefsWrapper > .heading {
    flex-basis: 100%;
    font-size: 25px;
    margin-bottom: 30px;
    color: #393939;
    font-weight: bold;
}

.cookiePrefsWrapper > .content {
    flex-basis: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.cookiePrefsWrapper > .content:last-of-type {
    margin-bottom: 0;
}

.cookiePrefsWrapper > .content > .left {
    flex: 1;
    display: flex;
    flex-flow: row wrap;
    align-content: center;
    height: 26px;


    margin-left: 13px;
    margin-bottom: 22px;
}

.cookiePrefsWrapper > .content > .info {
    display: flex;
    flex-basis: 100%;
    flex-flow: row wrap;
}

.cookiePrefsWrapper > .content > .left > .heading {
    font-weight: bold;
    margin-bottom: 2px;
    color: #393939;
    font-size: 14px;
}

.cookiePrefsWrapper > .content > .left > .explanation {
    padding-right: 25px;
}

.cookiePrefsWrapper > .content > .right {
    width: 26px;
    height: 26px;
    border-radius: 90%;
    border: 2px solid #393939;
    cursor: pointer;
}

.cookiePrefsWrapper > .content > .right.active {
    width: 26px;
    height: 26px;
    background-color: #393939;
    border-radius: 90%;
    border: 2px solid #393939;
    cursor: pointer;
    opacity: 0.4;
}

.cookiePrefsWrapper > .content > #essential.right {
    width: 26px;
    height: 26px;
    background-color: #393939;
    border-radius: 90%;
    border: 2px solid #393939;
    opacity: 0.4;
}

.cookiePrefsWrapper > .save {
    flex-basis: 100%;
    justify-content: space-between;
    display: flex;
    flex-flow: row wrap;
}

.save > .policyLink {
    display: flex;
    flex-flow: row wrap;
    align-content: center;
    font-size: 18px;
}

.save > .policyLink > a {
    color: #393939;
    font-weight: 500;
    cursor: pointer;
    padding: 18px;
}

.cookiePrefsWrapper > .save > .confirm {
    background: #393939;
    font-size: 18px;
    color: white;
    cursor: pointer;
    font-weight: 500;
    padding: 10px 50px;
    border: 3px solid #393939;
    border-radius: 60px;
    max-height: 53px;
}

.info > .explanation.legend, .info > .explanation.details {
    display: flex;
    flex-basis: 100%;
    flex-flow: row wrap;
}

.explanation.legend > .legendRow, .explanation.details > .detailsRow {
    flex-basis: 100%;
    display: flex;
    flex-flow: row wrap;
}

.explanation.legend > .legendRow {
    margin-top: 20px;
}

.explanation.details > .detailsRow {
    padding: 3px 0;
}

.legendRow, .detailsRow {
    display: flex;
    flex-basis: 100%;
    flex-flow: row wrap;
}

.legendRow > .name, .detailsRow > .name {
    flex-basis: 30%;
}

.legendRow > .name, .legendRow > .duration, .legendRow > .purpose {
    font-weight: bold;
}

.legendRow > .duration, .detailsRow > .duration {
    flex: 1;
}

.legendRow > .purpose, .detailsRow > .purpose {
    flex: 2;
    display: flex;
    flex-flow: row wrap;
    align-content: center;
}

.legendRow > .duration, .detailsRow > .duration {
    min-width: 30%;
    display: flex;
    flex-flow: row wrap;
    align-content: center;
}

body > div.cookiePrefsOverlay.active > div > hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
    margin-bottom: 20px;
}


@media all and (max-width: 1000px) {
    .cookieBar.active, .cookiePrefsOverlay.active > .cookiePrefsWrapper {
        width: 75%;
    }
}

@media all and (max-width: 768px) {
    .cookiePrefsOverlay.active > .cookiePrefsWrapper, .cookieContent {
        padding: 20px;
    }

    .cookiePrefsWrapper > .close {
        top: 28px;
        right: 20px;
    }

    .cookieContent > .txt {
        flex-basis: 100%;
        margin-bottom: 20px;
    }

    .cookieBar.active, .cookiePrefsOverlay.active > .cookiePrefsWrapper {
        width: 85%;
    }
}

@media all and (max-width: 450px) {
    .cookieContent > .select {
        justify-content: center;
    }

    .cookieContent {
        justify-content: center;
    }

    .cookieContent > .decline, .cookieContent > .accept {
        flex-basis: 100%;
    }

    .cookieContent > .decline {
        margin-bottom: 10px;
    }

    .cookieContent > .decline > span, .cookieContent > .accept > span {
        width: 100%;
        text-align: center;
    }

    .cookieBar.active, .cookiePrefsOverlay.active > .cookiePrefsWrapper {
        width: 90%;
    }

    .content > .left > .explanation.details {
        padding-right: 0;
    }

    .cookiePrefsOverlay.active {
        font-size: 14px;
    }

    .info > .explanation.legend, .info > .explanation.details {
        font-size: 10px;
    }
}

@media all and (max-width: 400px) {
    .cookieBarWrapper.active, .cookiePrefsOverlay.active {
        position: absolute;
        display: block;
        height: 100%;
    }

    .cookieContent, .cookiePrefsOverlay.active > .cookiePrefsWrapper {
        position: absolute;
        top: 20px;
        left: 20px;
        right: 20px;
        margin: auto;
        background-color: white;
    }

    .cookieContent > .select {
        margin-top: 0;
    }

    .cookieContent > .select > .decline {
        flex-basis: 100%;
        margin-bottom: 10px;
    }

    .cookieContent > .select > .decline > span {
        width: 100%;
        text-align: center;
    }

    .cookiePrefsWrapper > .save > .confirm {
        width: 100%;
        text-align: center;
    }

    .save > .policyLink {
        width: 100%;
        justify-content: center;
        margin-bottom: 7px;
    }

    .cookieContent > .select > .accept {
        flex-basis: 100%;
    }
}

@media screen and (min-width: 401px) and (max-height: 810px) {
    .cookieBarWrapper.active,
    .cookiePrefsOverlay.active {
        position: absolute;
        display: block;
        height: 100%;
    }

    .cookieBar.active,
    .cookiePrefsOverlay.active > .cookiePrefsWrapper {
        margin: 30px auto;
    }
}







