#quiqqer-cookieconsent-banner {
    background: #fff;
    display: none;
    flex-direction: column;
    font-size: 0.9em;
    left: 0;
    max-height: 75vh;
    overflow: auto;
    padding: 1rem 0;
    pointer-events: auto;
    position: fixed;
    width: 100%;
    z-index: 10000;
}

.quiqqer-cookieconsent-banner-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.quiqqer-cookieconsent-message-logo {
    flex-shrink: 0;
    float: left;
    margin-bottom: 1em;
    margin-right: 2em;
    max-width: 200px;
}

.quiqqer-cookieconsent-message-wrapper {
    flex-grow: 1;
    min-width: 500px;
    width: calc(100% - 200px - 2em);
}

#quiqqer-cookieconsent-categories {
    clear: both;
}

#quiqqer-cookieconsent-banner > *:not(:first-child) {
    margin-top: 20px;
}

#quiqqer-cookieconsent-banner.quiqqer-cookieconsent__top {
    box-shadow: 0 0 4px rgba(0, 0, 0, .14), 0 4px 8px rgba(0, 0, 0, .28);
    top: 0;
}

#quiqqer-cookieconsent-banner.quiqqer-cookieconsent__bottom {
    bottom: 0;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, .28);
}

#quiqqer-cookieconsent-banner.quiqqer-cookieconsent__topSlide {
    display: block;
    position: relative;
}

#quiqqer-cookieconsent-banner.quiqqer-cookieconsent__popup {
    position: fixed;
    box-shadow: 0 0 4px rgba(0, 0, 0, .14), 0 4px 8px rgba(0, 0, 0, .28);
}

#quiqqer-cookieconsent-banner.page-blocked {
    box-shadow: 0 0 0 100vh rgba(0, 0, 0, 0.6);
}

body.cookiebanner-blocks-page {
    overflow: hidden;
    pointer-events: none;
}

#quiqqer-cookieconsent-urls {
    margin: 1em 0;
}

#quiqqer-cookieconsent-categories form {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#quiqqer-cookieconsent-categories form fieldset {
    margin-bottom: 1.5em;
    margin-right: 2em;
}

#quiqqer-cookieconsent-categories form fieldset input {
    vertical-align: middle;
}

#quiqqer-cookieconsent-categories form fieldset label {
    vertical-align: middle;
}

#quiqqer-cookieconsent-categories form .quiqqer-cookieconsent-buttons {
    width: 100%;
}

@media screen and (max-width: 767px) {
    #quiqqer-cookieconsent-categories form .quiqqer-cookieconsent-buttons button {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

#quiqqer-cookieconsent-accept {
    margin-bottom: 1em;
}

#quiqqer-cookieconsent-accept-all {
    margin-bottom: 1em;
    margin-left: 1em;
}

#quiqqer-cookieconsent-toggle-info {
    cursor: pointer;
    display: block;
    margin: 1em 0 0;
}

#quiqqer-cookieconsent-toggle-info:after {
    content: '▾';
    margin-left: 5px;
}

#quiqqer-cookieconsent-toggle-info.open:after {
    content: '▴';
    margin-left: 5px;
}


#quiqqer-cookieconsent-details {
    font-size: 0.8em;
    margin-top: 1em;
    max-height: 250px;
    overflow: auto;
    padding-bottom: 5px;
}

/* disable scroll in popup */
.quiqqer-cookieconsent__popup #quiqqer-cookieconsent-details {
    max-height: initial;
}

#quiqqer-cookieconsent-details.hidden {
    display: none;
}

#quiqqer-cookieconsent-details caption {
    margin-bottom: 0.75em;
    text-align: left;
}

#quiqqer-cookieconsent-details table {
    border-collapse: collapse;
    width: 100%;
}

#quiqqer-cookieconsent-details table th {
    background: #f5f5f5;
    border: 1px solid #7d7d7d;
    padding: 6px;
    text-align: left;
}

#quiqqer-cookieconsent-details table tr {
    background: none;
}

#quiqqer-cookieconsent-details table td {
    border: 1px solid #7d7d7d;
    padding: 6px;
}

@media screen and (max-width: 767px) {
    .quiqqer-cookieconsent-banner-wrapper {
        display: block;
    }

    .quiqqer-cookieconsent-message-logo {
        margin-right: 0;
        text-align: center;
        width: 100%;
        max-width: 100%;
    }

    .quiqqer-cookieconsent-message-wrapper {
        min-width: 200px;
        width: 100%;
    }

    #quiqqer-cookieconsent-accept {
        display: block;
        width: 100%;
    }

    #quiqqer-cookieconsent-details {
        max-height: initial;
    }

    #quiqqer-cookieconsent-details table thead {
        display: none;
    }

    #quiqqer-cookieconsent-details table tr {
        float: left;
        margin-bottom: 2em;
        width: 100%;
    }

    #quiqqer-cookieconsent-details table td {
        border-bottom-width: 0;
        display: flex;
        float: left;
        padding: 1em;
        width: 100%;
    }

    #quiqqer-cookieconsent-details table td:last-child {
        border-bottom-width: 1px;
    }


    #quiqqer-cookieconsent-details table td:before {
        background: #f5f5f5;
        border-right: 1px solid #7d7d7d;
        content: attr(data-label);
        flex-shrink: 0;
        font-weight: bold;
        margin: -1em 1em -1em -1em;
        padding: 1em;
        width: 80px;
        word-wrap: break-word;
    }
}
