.content-wrapper {
    width: 90%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 9.2vw 0 5vw 0;
}

#noheader .content-wrapper {
    padding-top: calc(var(--header-height) + 5vw);
}

body:not(.home) .content-wrapper {
    padding-top: 0;
}

/*----------------- GRID REFERENZEN-------------*/
/*new*/
.pt-cv-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.pt-cv-wrapper .pt-cv-view {
    flex-basis: 100%;
    margin-top: var(--margin-bottom-row);
}

.pt-cv-page {
    display: flex;
    flex-wrap: wrap;
}

a.pt-cv-edit-view {
    display: none;
}

/*new grid template*/
div#grid-outter-wrapper {
    position: relative;
    overflow: hidden;
}

div#grid-outter-wrapper {
    --link-btn-size: 70px;
    --link-btn-margin: 25px;
    z-index: 99;
}

div#grid-outter-wrapper .gird-title {
    position: absolute;
    bottom: 0;
    padding-left: var(--link-btn-margin);
    margin-bottom: var(--link-btn-margin);
    width: 100%;
    z-index: 9;
}

div#grid-outter-wrapper .gird-title * {
    font-size: 1.1rem;
    line-height: 1.2;
    color: #ffffff;
    font-weight: 700;
    padding: 0px 0px 0px 0px;
    border-radius: 0px 0px 0px 0px;
    background: transparent;
    z-index: 2 !important;
    font-family: 'korolev';
    text-transform: none;
    letter-spacing: 0;
    display: flex;
    margin-bottom: 0;
}

div#grid-outter-wrapper .gird-title h4 {
    justify-content: space-between;
    align-items: center;
}


div#grid-outter-wrapper .meta-wrapper {
    position: absolute;
    bottom: 0;
    background-color: #fff;
    padding: 20px;
    transform: translateY(101%);
    transition: .5s ease 0s;
    z-index: 9;
}

div#grid-outter-wrapper .gird-content {
    margin-top: 15px;
}

div#grid-outter-wrapper>a:hover .meta-wrapper {
    transform: translateY(0);
}

div#grid-outter-wrapper .meta-wrapper * {
    color: var(--dunkelgruen);
}

div#grid-outter-wrapper .gird-thumbnail {
    border: 0px solid #000 !important;
    border-radius: 10px !important;
    overflow: hidden;
}

div#grid-outter-wrapper .gird-thumbnail-wrapper {
    position: relative;
    padding-bottom: 100%;
    transition: all .5s ease 0s;
}

div#grid-outter-wrapper>a:hover .gird-thumbnail>.gird-thumbnail-wrapper {
    filter: brightness(0.75);
}

div#grid-outter-wrapper .gird-thumbnail-wrapper:After {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #000;
    z-index: 1;
    opacity: 0.4;
}

div#grid-outter-wrapper .gird-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*----------------- FILTER -------------*/
label.cvp-label {
    display: none;
}

.cvp-live-filter.cvp-checkbox {
    display: flex;
    width: 100%;
    margin: 0;
}

.filter-wrapper {
    display: flex;
    max-width: 1170px;
    width: 100%;
    border: 5px solid #fff;
    border-radius: 10px;
    overflow: hidden;
}

.filter-wrapper * {
    font-family: 'KOROLEV';
    font-size: 0.9rem !important;
    font-weight: bold;
    color: #000 !important;
}

.cvp-live-button {
    order: -1;
}

span.btn-sm.btn-success.cvp-live-submit {
    display: none;
}

.filter-wrapper .cvp-live-button,
.filter-wrapper .checkbox {
    min-width: 210px;
    padding: 0 40px;
    text-align: center;
    height: var(--filter-height);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.cvp-live-filter .checkbox:not(:last-of-type) {
    border-right: 5px solid #fff;
}

.filter-wrapper .checkbox {
    pointer-events: none;
}

.filter-wrapper .cvp-live-button {
    padding: 0;
    margin: 0 !important;
    border-right: 5px solid #fff;
}

.filter-wrapper .checkbox:before,
span.btn-sm.btn-danger.cvp-live-reset::before {
    content: '';
    width: 3.15em;
    height: 3.15em;
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 0;
    pointer-events: none;
    z-index: 9;
    margin-bottom: 1em;
}

.cvp-live-filter label {
    pointer-events: none;
    z-index: 9;
}

.filter-wrapper .checkbox:first-of-type:before {
    background-image: url(/wp-content/themes/visual-composer-starter-theme-child/img/icon-fenster.svg);

}

.filter-wrapper .checkbox:nth-of-type(2):before {
    background-image: url(/wp-content/themes/visual-composer-starter-theme-child/img/icon-tueren.svg);

}

.filter-wrapper .checkbox:nth-of-type(3):before {
    background-image: url(/wp-content/themes/visual-composer-starter-theme-child/img/icon-brief.svg);

}

.filter-wrapper .checkbox:nth-of-type(4):before {
    background-image: url(/wp-content/themes/visual-composer-starter-theme-child/img/icon-sicher.svg);

}

.filter-wrapper .checkbox:nth-of-type(3):before,
.filter-wrapper .checkbox:nth-of-type(4):before {
    margin-bottom: 0.4em;
}

.filter-wrapper input[type="checkbox"] {
    position: absolute;
    height: 100%;
    width: 100%;
    opacity: 0;
    top: 0;
    left: 0;
    margin: 0;
    opacity: 1;
    background-color: var(--gray);
    border: none !important;
    appearance: none;
    pointer-events: all;
}

input[type="checkbox"]:checked {
    background-color: var(--red);
}

span.btn-sm.btn-danger.cvp-live-reset {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #c5c5c5;
    border-radius: 0 !important;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/*input[type="checkbox"]:checked, input:checked + label {

}*/
/*----------------- BILDER ABGEDUNKELT -------------*/

.abgedunkelt .vce-single-image:after {
    display: block;
    position: relative;
    background: -moz-linear-gradient(top, rgba(7, 1, 1, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(7, 1, 1, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(7, 1, 1, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#00070101', endColorstr='#4d000000', GradientType=0);
    /* IE6-9 */
    margin-top: -15vw;
    height: 15vw;
    width: 100%;
    content: ' ';
}

#cookie-law-info-bar {
    font-size: 0.8rem;
}

.cli-plugin-button,
.cli-plugin-button:visited,
.medium.cli-plugin-button,
.medium.cli-plugin-button:visited {
    font-size: 0.9rem;
    margin: 0 5px;
}


/*----------------- TABELLEN -------------*/

.tablepress {
    margin-bottom: 2.5vw !important;
}

.tablepress tbody td,
.tablepress tfoot th {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #E0DDD8;
    padding: 1vw 0;
}

.tablepress tfoot th,
.tablepress thead th {
    background-color: #fff;
}

th.column-2,
th.column-3,
th.column-4,
th.column-5,
td.column-2,
td.column-3,
td.column-4,
td.column-5 {
    text-align: center;
}


/*----------------- END TABELLEN -------------*/


/*----------------- Formulare-------------*/

h4.quform-group-title {
    margin-top: 2vw;
    margin-bottom: 2vw;
}

.quform-options-columns.quform-options-style-button>.quform-option>.quform-option-label {
    padding: 10px 20px;
}

.quform-button-style-classic button {
    border-radius: 0;
}

.quform .quform-button-submit button,
.quform .quform-element-submit.quform-button-style-theme .quform-button-submit button {
    background-color: var(--grey);
}

.quform-button-size-fat .quform-option-label,
.quform-button-size-fat>.quform-upload-button,
.quform-element-submit.quform-button-size-fat button {
    padding-top: 1.2em;
    padding-bottom: 1.2em;
    font-size: 110%;
    font-family: var(--fliesstext);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
}

@media (min-width: 1920px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}

@media (max-width: 1500px) {

    .filter-wrapper .cvp-live-button,
    .filter-wrapper .checkbox {
        height: 140px;
        min-width: 170px;
    }
}

@media (max-width: 1200px) {
    .filter-wrapper * {
        font-size: 15px !important;
        line-height: 1.3;
    }

    .filter-wrapper .cvp-live-button,
    .filter-wrapper .checkbox {
        height: 120px;
        min-width: 155px;
        padding: 0px 15px;
    }

    .filter-wrapper .cvp-live-button {
        background-color: #c5c5c5;
    }

    .pt-cv-wrapper .col-sm-6 {
        width: 33%;
        padding-left: 5px;
        padding-right: 5px;
    }


}

@media (max-width: 990px) {
    .cvp-live-filter.cvp-checkbox {
        flex-wrap: wrap;
    }

    .pt-cv-wrapper .col-sm-6 {
        width: 50%;
    }

    .filter-wrapper .cvp-live-button {
        flex-basis: 100%;
    }

    .filter-wrapper .cvp-live-button,
    .filter-wrapper .checkbox:not(:nth-of-type(odd)) {
        border-right: unset !important;
    }

    .filter-wrapper .cvp-live-button,
    .filter-wrapper .checkbox {
        flex-direction: row;
        justify-content: flex-start;
        height: 92px;
    }

    .filter-wrapper * {
        text-align: left;
    }

    .filter-wrapper {
        flex-wrap: wrap;
    }

    .cvp-live-filter .checkbox {
        border-top: 5px solid #fff;
    }

    .filter-wrapper .checkbox:before {
        margin-bottom: 0;
        margin-right: 1em;
    }

    span.btn-sm.btn-danger.cvp-live-reset::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .pt-cv-wrapper .col-sm-6 {
        width: 100%;
    }

    div#grid-outter-wrapper .gird-title * {
        font-size: 2.1rem;
    }

    .cvp-live-filter .checkbox {
        flex-basis: 100%;
    }

    .cvp-live-filter .checkbox:nth-of-type(odd) {
        border-right: none !important;
    }

    .filter-wrapper .cvp-live-button,
    .filter-wrapper .checkbox {
        height: 72px;
    }

    .filter-wrapper .checkbox:before,
    span.btn-sm.btn-danger.cvp-live-reset::before {
        width: 2.8em;
        height: 2.8em;
    }
}

@media (max-width: 576px) {
    a#cookie_action_close_header {
        display: block !important;
        margin-bottom: 5px;
    }

    div#grid-outter-wrapper .gird-title * {
        font-size: 20px;
    }
}

@media (max-width: 420px) {
    div#grid-outter-wrapper .gird-title * {
        font-size: 18px;
    }

    .filter-wrapper * {
        font-size: 14px !important;
    }

    .filter-wrapper .cvp-live-button,
    .filter-wrapper .checkbox {
        height: 65px;
    }

    .content-wrapper {
        padding: 19.2vw 0 5vw 0;
    }
}

@media (max-width: 320px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}