/* Hauptcontainer des Popups */
#tqconsent-detailsprivacy-all form {
    overflow: hidden;
}

/* Hauptcontainer des Popups im Mode category */
#tqconsent-popup-category {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 200px;
    border: 1px solid #808080;
    background-color: #ffffff;
    padding: 10px;
    z-index: 99999;
}

/* Hauptcontainer des Popups im Mode service */
#tqconsent-popup-service {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 200px;
    border: 1px solid #808080;
    background-color: #ffffff;
    padding: 10px;
    z-index: 99999;
}


/* Hauptcontainer des Popups im Mode essential_or_all */
#tqconsent-popup-essential_or_all {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    position: fixed;
    display: block;
    background-color: rgba(0, 0, 0, .8);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    overflow-y: auto;
}

#tqconsent-popup-essential_or_all .tqconsent-content h1 {
    font-size: 30px;
    line-height: 1.1;
    font-weight: 500;
    margin: 10px 0;
    padding: 0 !important;
    text-transform: none;
    color: #212529;
}

#tqconsent-popup-essential_or_all .tqconsent-content p {
    font-size: 16px;
    font-weight: 400;
    line-height: 23px;
    margin-bottom: 10px;
}

#tqconsent-popup-essential_or_all .tqconsent-content p.small {
    font-size: 14px;
    font-weight: 400;
    line-height: 19px;
}

#tqconsent-popup-essential_or_all .tqconsent-content .buttons {
    margin: 20px 0;
    text-align: center;
}

#tqconsent-popup-essential_or_all .tqconsent-content .buttons button,
#tqconsent-popup-essential_or_all .tqconsent-content .buttons a {
    border-radius: 4px;
    display: inline-block;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    margin: 10px 5px;
    min-width: 196px;
    text-align: center;
    text-transform: none;
}

div.tqconsent-modal .tqconsent-content {
    background-color: #efefef;
    margin: auto;
    padding: 20px;
    width: 50%;
    height: auto;
    position: relative;
    top: 25%;
    bottom: 25%;
    border-radius: .5rem;
    text-align: center;
}

.holder {
    justify-content: center;
    display: flex;
}

.tqconsent-content-info {
    text-align: justify;
    width: 75%;
}


.tqconsent-content-info p.small {
    margin-top: 16px;
}

.buttons {
    margin: 3rem 0;
    text-align: center;
}

.tqconsent-modal div.buttons button,
.tqconsent-modal div.buttons a {
    min-width: 25%;
    font-size: 1.5rem;
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 12px;
    line-height: 1.428571429;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.tqconsent-modal button:hover {
    filter: brightness(75%);
}

.tqconsent-modal button.btn.btn-essential {
    color: #fff;
    background-color: #bfbfbf;
    border-color: #cfcfcf;
}

.tqconsent-modal a.btn.btn-configure {
    color: #fff;
    background-color: #bfbfbf;
    border-color: #cfcfcf;
}

.tqconsent-modal button.btn.btn-all {
    color: #fff;
    background-color: #38610b;
    border-color: #21610b;
}

/* ALTER Title des Contsents als h1. Wollen wir wegen SEO nicht mehr */
.tqconsent-modal h1 {
    font-size: 3rem;
    text-align: center;
}

/* NEUER Title des Contsents als p.*/
#tqconsent-popup-essential_or_all p.tqconsent-content-title {
    font-size: 3rem;
    text-align: center;
}


/* Container um eine Kategorie mit allem (auch Services) darin */
div.tqconsent-category {
    margin: 5px 0px 5px 0px;
    padding: 5px;
    border: 1px solid #a0a0a0;
}

/* Kategorie-Name links, dazugehöriges div.tqconsent-options rechts */
div.tqconsent-category-name {
    font-size: 110%;
    font-weight: bold;
    float: left;
}

div.tqconsent-content div.tqconsent-options {
    float: right;
}

div.tqconsent-description {
    clear: both;
}

/* Modus accept-per-category: Container um alle Services einer Kategorie */
#tqconsent-popup-category div.tqconsent-services {
    margin-left: 0;
}

/* Modus: accept-per-service: Container um alle Services einer Kategorie  */
#tqconsent-popup-service div.tqconsent-services {
    margin-left: 20px;
}


/* Service-Name links, dazugehöriges div.tqconsent-options rechts */
#tqconsent-popup-service div.tqconsent-service-name {
    font-weight: bold;
    float: left;
}

#tqconsent-detailsprivacy-all div.tqconsent-service-name {
    font-weight: bold;
}

/* Container um einen Service */
div.tqconsent-service {
    margin: 4px 0px 4px 0px;
    padding: 4px;
    font-size: 90%;
}

/* Markiert Services, denen zugestimmt wurde */
div.tqconsent-service.tqconsent-service-allowed {
}

/* Markiert Services, denen nicht zugestimmt wurde */
div.tqconsent-service.tqconsent-service-notallowed {
}

/* Label bei einem Radio */
#tqconsent-popup-category div.tqconsent-content label,
#tqconsent-popup-service div.tqconsent-content label {
    display: inline-block;
    width: auto;
    margin-right: 20px;
}

div.tqconsent-content input[type="radio"] {
    display: inline-block;
    width: auto;
}

@media (max-width: 1368px) {
    .tqconsent-content-info {
        width: 100%;
    }
}

@media (max-width: 918px) {
    div.tqconsent-modal .tqconsent-content {
        width: 90vw;
        top: 5vw;
        bottom: 25vw;
    }
}

@media (max-width: 768px) {
    div.tqconsent-modal .tqconsent-content {
        width: 90vw;
        top: 5vw;
        bottom: 25vw;
    }

    .tqconsent-content-info {
        width: 100%;
    }
}

@media (max-width: 568px) {
    .buttons .btn {
        margin-bottom: 1rem;
        width: 98%;
    }
}

@media (max-width: 320px) {
    div.tqconsent-modal .tqconsent-content {
        max-height: 90%;
        overflow-y: scroll;
    }
}
