.cookieconsent-dialog {
    width: 95em;
    max-width: 100vw;
    border-width: 0;
    overflow: auto;
    min-width: 260px;
    padding: 3em;
    margin: 0 auto;
    font-size: 14px;
    background-color: white;
}
.cookieconsent-dialog[data-mode="modeless"] {
    width: 100vw;
    padding: 1.5em;
    border-top: 2px solid hsl(0, 0%, 59%);
}

/* The backdrop should only be visible when the cookie-dialog is set to modal.
 * When the dialog is modeless, however, the backdrop-container cannot be
 * hidden completely because it contains the dialog-element.
 */
.cookieconsent-backdrop {
    z-index: 10000;
    display: flex;
    position: fixed;
    justify-content: center;
    width: 100vw;
    left: 0;

}
.cookieconsent-backdrop[data-mode="modal"] {
    height: 100vh;
    top: 0;
    overflow: auto;
    background: rgba(73, 73, 73, 0.747);
    text-align: left;
    align-items: center;
    width: 100%;
}
.cookieconsent-backdrop[data-mode="modeless"] {
    bottom: 0;
    overflow: visible;
    text-align: left;
    align-items: flex-end;
}

.csc-default > .cookieconsent-form {
    margin-bottom:2em;
}

.cookieconsent-backdrop * {
    box-sizing:border-box;
}
.cookieconsent-backdrop[hidden] {
    display: none;
}
.cookieconsent-notification {
    margin-bottom: 1em;
    flex-basis: 100%;
}
.cookieconsent-showdetail {
    margin-bottom: 2em;
    display: block;
    cursor: pointer;
    flex-basis: 100%;
	background: transparent;
	border: none;
	text-align: left;
}

.cookieconsent-columns {
    display: flex;
    flex-wrap: nowrap;
    max-width: 94.2em;
    margin: 0 auto;
}


.cookieconsent-option:not(:last-child) {
    margin-bottom: 2em;
}
.cookieconsent-options-column {
    display: flex;
    flex-basis: 100%;

}
dialog .cookieconsent-options-column {
    flex-basis: 68%;
    border-right: 2px solid rgb(151, 151, 151);
    padding-right: 2em;
    transition-property: height;
    transition-delay: 500ms;
    transition-timing-function: linear;
    display: flex;
    flex-wrap: wrap;
}
.cookieconsent-description-column {
    display: flex;
    flex-direction: column;
    vertical-align: top;
    overflow:hidden;
    flex-basis: 90%;
}
.cookieconsent-privacy-statement-column {
    flex-basis: 32%;
    vertical-align: top;
    padding-left: 2em;
}
.cookieconsent-label {
    font-weight: normal;
    cursor: pointer;
    margin-right: 1em;
}
.cookieconsent-description {
    color: #595959;
    flex-grow: 1;
    font-size: 0.9em;
}
.cookieconsent-children .cookieconsent-label-child {
    margin-right: 10px;
}
#wrapMain + .cookieconsent-backdrop .cookieconsent-description,
#wrapMain + script + .cookieconsent-backdrop .cookieconsent-description{
    font-size: 1em;
}
.cookieconsent-button {
    text-transform: uppercase;
    padding: 1em;
    color: white;
    background-color: #525252;
    border-width: 0;
    min-width: 10em;
    cursor:pointer;
}
.cookieconsent-button:focus {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}
.cookieconsent-privacy-statement-link {
    color: #525252;
    font-weight: normal;
    margin-bottom: 1em;
    display: block;
}

.cookieconsent-hidden {
    visibility: hidden;
    height: 0!important;
}
#cookieconsent-lifetime-label {
    margin-left: 1rem;
}
#caret-down{
    margin-left: 0.5rem;
    font-size: 1.2rem;
    -moz-transition: all 400ms linear;
    -webkit-transition: all 400ms linear;
    transition: all 400ms linear;
    display: inline-block;
    top: 2px;
    position: relative;
}

#caret-down.down{
    -ms-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}
@media screen and (max-width: 1024px) {
    .cookieconsent-backdrop[data-mode="modal"] .cookieconsent-dialog {
        top: 120px;
        left: 0;
        position: absolute;
    }
}

@media screen and (max-width: 600px) {
    .cookieconsent-dialog {
        padding: 2em;
        font-size:11px;
    }
    .cookieconsent-columns {
        flex-wrap: wrap;
    }

    dialog .cookieconsent-options-column {
        border-right: none;
        flex-basis: 100%;
    }
    dialog .cookieconsent-privacy-statement-column {
        border-left: none;
        flex-basis: 100%;
    }
    .cookieconsent-description-column {
        padding-right: 0;
        flex-basis: 84%;
    }
    .cookieconsent-privacy-statement-column {
        padding-top: 1em;
        padding-left: 0;
        flex-basis: 100%;
    }
    .cookieconsent-showdetail {
        margin-bottom: 0.5em;
    }
    #caret-down {
        font-size: 1.5rem;
        top:5px;
    }
    .cookieconsent-privacy-statement-link, .cookieconsent-dialog p {
        margin-bottom:0;
    }
    #cookieconsent-lifetime-label {
        margin-left: 0.5rem;
        margin-top: 10px;
        position: relative;
        top: -3px;
    }
    .cookieconsent-button {
        padding: 0.75em;
    }
}
@media screen and (max-height: 454px) {
    .cookieconsent-backdrop {
        align-items: normal;
    }
}
@media screen and (max-width: 600px) and (max-height: 630px) {
    .cookieconsent-backdrop {
        align-items: normal;
    }
}
@media screen and (max-width: 330px) {
    .cookieconsent-backdrop {
        align-items: normal;
        justify-content: flex-start;
    }
}
/* Hacks for Internet Explorer */
@media all and (-ms-high-contrast:none) {
    dialog, .cookieconsent-dialog {
        display: block;
    }
    .cookieconsent-privacy-statement-column {
        max-width: 36%;
    }
}
/*ie10-11*/
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .cookieconsent-dialog {
        margin: 0;
    }

    dialog .cookieconsent-options-column, .cookieconsent-dialog .cookieconsent-options-column{
        width: 60%;
        float:left;
    }
    .cookieconsent-privacy-statement-column {
        width: 40%;
        float:left;
    }
    .cookieconsent-button {
        clear:both;
        float:left;
        margin-top:2em;
    }
    .cookieconsent-option {
        position:relative;
        z-index:99;
        background:#fff;
    }
}

.cookieconsent-description-column[data-policy="required"] .cookieconsent-label[for="cookieconsent-required"]:before {
    background-position:0 0;
}

.cookieconsent-description-column[data-policy="thirdparty"] .cookieconsent-label:before {
    background-position:0 0;
}

#wrapMain + .cookieconsent-backdrop .cookieconsent-dialog,
#wrapMain + script + .cookieconsent-backdrop .cookieconsent-dialog{
    font-size: 15px;
    line-height: 140%;
}
@media screen and (max-width: 600px) {
    #wrapMain + .cookieconsent-backdrop .cookieconsent-dialog,
    #wrapMain + script + .cookieconsent-backdrop .cookieconsent-dialog{
        font-size: 12px;
    }
}

.cookieconsent-option .radiowrapper {
    display: none;
}

@media screen and (max-width: 767px) {
    .cookieconsent-backdrop[data-mode="modal"] .cookieconsent-dialog {
        padding-bottom: 100px;
    }
}

.sr-only {
    border: 0;
    clip: rect(0,0,0,0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.cookieconsent-option:focus-within {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.ui-state-focus {
    outline: thin dotted !important;
    outline: 5px auto -webkit-focus-ring-color !important;
    outline-offset: 1px !important;
    background:#444 !important;
}