.cookiehint {
    position: fixed;
    z-index: 999999;
}

body:not(.cookiehint--open) .cookiehint {
    display: none;
}

.cookiehint.cookiehint--layout-default {
    right: 2vw;
    bottom: 2vw;
}

.cookiehint .cookiehint__inner {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: stretch;
    align-items: stretch;
    -webkit-flex-direction: column;
    flex-direction: column;
    max-width: 40em;
    max-height: 96vh;
    padding: 1em 1.2em;
    font-size: 1.4rem;
    -moz-box-shadow: 0 3px 6px 0 rgba(0, 0, 0, .4);
    -webkit-box-shadow: 0 3px 6px 0 rgba(0, 0, 0, .4);
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, .4);
    background-color: #fff;
}

.cookiehint .cookiehint__inner .cookiehint__text {
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    margin: 0 0 1em;
    overflow: auto;
}

.cookiehint .cookiehint__inner .cookiehint__text .cookiehint__intro {
    margin: 0 0 1em;
}

.cookiehint .cookiehint__inner .cookiehint__text .cookiehint__togglecheckboxes p {
    margin: 0 0 .3em;
}

.cookiehint .cookiehint__inner .cookiehint__text .cookiehint__checkboxes label {
    display: block;
    overflow: hidden;
    margin: 0 0 .2em;
    font: inherit;
    line-height: inherit;
}

.cookiehint .cookiehint__inner .cookiehint__text .cookiehint__checkboxes .cookiehint__checkbox__description {
    display: inline-block;
    opacity: .7;
    font-size: 90%;
}

.cookiehint .cookiehint__inner .cookiehint__text .cookiehint__checkboxes .cookiehint__checkboxes__accentry .cookiehint__checkboxes__accentry__togglebutton {
    display: inline-block;
    font-size: 150%;
    vertical-align: middle;
    line-height: .3;
}

.cookiehint .cookiehint__inner .cookiehint__text .cookiehint__checkboxes .cookiehint__checkboxes__accentry .cookiehint__checkboxes__accentry__togglebutton span:before {
    margin: 0;
}

.cookiehint .cookiehint__inner .cookiehint__text .cookiehint__checkboxes .cookiehint__checkboxes__accentry .cookiehint__checkboxes__accentry__description {
    display: none;
    margin: 0 0 1em;
}

.cookiehint .cookiehint__inner .cookiehint__text .cookiehint__checkboxes .cookiehint__checkboxes__accentry.open .cookiehint__checkboxes__accentry__description {
    display: block;
}

.cookiehint .cookiehint__inner .cookiehint__text .cookiehint__checkboxes .cookiehint__checkboxes__accentry.open .cookiehint__checkboxes__accentry__togglebutton {
    transform: rotate(180deg);
}

.cookiehint .cookiehint__inner .cookiehint__buttons {
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: stretch;
    align-items: stretch;
}

.cookiehint .cookiehint__inner .cookiehint__buttons a.button {
    -webkit-flex: 1 1 50%;
    flex: 1 1 50%;
    text-align: center;
}

.cookiehint .cookiehint__inner .cookiehint__buttons a.button.cookiehint__buttons__acceptselected {
    margin-right: .5em;
    font-weight: inherit;
    color: #555;
    background-color: #f5f5f5;
}

.cookiehint .cookiehint__inner .cookiehint__buttons a.button.cookiehint__buttons__acceptselected:hover,
.cookiehint .cookiehint__inner .cookiehint__buttons a.button.cookiehint__buttons__acceptselected:focus {
    opacity: .7;
}

.cookiehint .cookiehint__inner .cookiehint__imprintlink {
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    margin: .7em 0 0;
    text-align: right;
    font-size: 90%;
}

.cookiehint .cookiehint__inner .cookiehint__imprintlink a {
    opacity: .7;
    font-weight: inherit;
}

.cookiehint .cookiehint__inner .cookiehint__imprintlink a:hover {
    opacity: 1;
}

.cookiehint.cookiehint--enableconsentconfiguration-1 .cookiehint__inner .cookiehint__text .cookiehint__checkboxes {
    display: none;
    margin-top: 1em;
}

.cookiehint.cookiehint--enableconsentconfiguration-1 .cookiehint__inner .cookiehint__buttons {
    display: block;
}

.cookiehint.cookiehint--enableconsentconfiguration-1 .cookiehint__inner .cookiehint__buttons .button {
    width: 100%;
}

.cookiehint.cookiehint--enableconsentconfiguration-1 .cookiehint__inner .cookiehint__buttons .cookiehint__buttons__acceptselected {
    display: none;
}

.cookiehint.cookiehint--enableconsentconfiguration-1.checkboxes--open .cookiehint__inner .cookiehint__text .cookiehint__checkboxes {
    display: block;
}

.cookiehint.cookiehint--enableconsentconfiguration-1.checkboxes--open .cookiehint__inner .cookiehint__buttons .cookiehint__buttons__acceptselected {
    display: block;
}

.cookiehint.cookiehint--layout-modal {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, .7);
}

body.cookiehint--open .cookiehint.cookiehint--layout-modal {
    display: -webkit-flex;
    display: flex;
}

.cookiehint.cookiehint--layout-modal .cookiehint__inner {
    -webkit-flex: 0 1 auto;
    flex: 0 1 auto;
    max-height: 100%;
}

.js-cookiehint-mediaoverlay-templates {
    display: none;
}

.cookieconsent__mediaoverlay {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    overflow: auto;
    padding: 1em;
    text-align: center;
    font-size: 85%;
    color: #fff;
    background-color: #333;
}

.cookieconsent__mediaoverlay .cookieconsent__mediaoverlay__inner {
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    max-width: 800px;
    margin: auto;
}

.cookieconsent__mediaoverlay .cookieconsent__mediaoverlay__inner p.cookieconsent__mediaoverlay__title {
    margin-bottom: 0;
    font-weight: bolder;
}

.cookieconsent__mediaoverlay .cookieconsent__mediaoverlay__inner p:last-child {
    margin-bottom: 0;
}

.cookieconsent__mediaoverlay .cookieconsent__mediaoverlay__bgimage {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    opacity: .5;
    -moz-background-size: cover;
    -o-background-size: cover;
    -webkit-background-size: cover;
    background-size: cover;
}

.cookiehint-contentwrap {
    display: none;
}

.cookiehint-contentwrap.show {
    display: block;
}

a.cookiehint__textlink:not(.button) {
    font-weight: bolder;
}

a.cookiehint__textlink:not(.button):hover,
a.cookiehint__textlink:not(.button):focus {
    opacity: .7;
}

@media (max-width: 50em) {
    .cookiehint.cookiehint--layout-default {
        left: 2vw;
    }

    .cookiehint.cookiehint--layout-modal .cookiehint__inner {
        max-width: 100%;
    }

    .cookiehint.cookiehint--layout-default .cookiehint__inner {
        max-height: 75vh;
        max-width: 96vw;
    }

    .cookiehint .cookiehint__inner .cookiehint__buttons {
        display: block;
    }

    .cookiehint .cookiehint__inner .cookiehint__buttons a.button {
        display: block;
    }

    .cookiehint .cookiehint__inner .cookiehint__buttons a.button.cookiehint__buttons__acceptselected {
        margin-right: 0;
        margin-bottom: .5em;
    }
}
