/**
 * @file
 * Subtheme specific CSS.
 */
body, html {
    margin:0;
    padding:0;
    font-family: "DM Sans", sans-serif;

}


#main-wrapper {
    padding-bottom: 80px;
}

.page-heading {
    width:100%;
    box-sizing: border-box;
    padding-top: 8vw;
    padding-bottom: 6vw;
    position: relative;
    background-color: rgb(170, 36, 60);;
    text-align: left;
}

.page-heading .container-fluid {
    padding: 0 29vw 0 12vw;
    box-sizing: border-box;
}

.page-node-1 .page-heading .container-fluid {
    padding: 0 12vw 0 12vw;
}



.page-heading h2 {
    font-size: 4.5vw;
    font-family: "Noto Serif", serif;
    color:#ffffff;
}

.page-heading h3 {
    font-size: 2vw;
    font-family: "Noto Serif", serif;
    color:#ffffff;
    float:right;
}

.page-content {
    background-color: #ffffff;
    margin-top:80px;

    /*padding-bottom: 80px;*/
}

.node-content {

    padding-bottom: 80px;
}

.col img.arrowicon, .col .arrowicon img {
    width:4.5vw;
    height:4.5vw;
    margin: 10px 0 80px;
}
.col img {
    height:auto;
}

.page-node-13 .col-4 img {
    width:100%;
    height:auto;
}

h1 {
    font-family: "Noto Serif", serif;
    font-size: 5.6vw;
    line-height: 6.4vw;
    margin-top:80px;
}

.page-node-16 h1 {
    margin-top:0;
    margin-bottom: 30px;
}

h4 {
    font-weight: 400;
    max-width: 760px;
    margin-bottom: 60px;
}

[type=submit]:not(:disabled), [type=submit]:hover {
    width:4.5vw;
    height:4.5vw;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('/sites/default/files/styles/thumbnail/public/2022-05/WKSS_pfeil_red.png');
    float:right;
    background-color: transparent !important;
    border-color: transparent;
    border-radius: 0;
    color:rgb(170, 36, 60);
    text-align: right;

    position:relative;
    font-size: 0;
}

[type=submit]:not(:disabled):after {
    content: "Nachricht abschicken";
    font-size:1.3vw;
    line-height:1.5vw;
    position:relative;
    left:-9vw;
}

.view-header .section_header {
    padding-top: 150px;
}

.foerder_jahr {
    font-size: 50px;
    font-weight: 500;
    font-family: 'Noto Serif';
    border-top: 3px solid rgb(170, 36, 60);
    border-bottom: 3px solid rgb(170, 36, 60);
    margin-top: 11px;
    margin-bottom: 20px;
    min-width: 10px;
    max-width: fit-content;
    padding: 0;
    line-height: 64px;
}

.foerder_archive {
    margin-bottom:40px !important;
}

.site-footer {
    padding:70px 0;
    background-color: #f2f2f2 !important;
}

#footer {

    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight:400;

}

footer a {
    text-decoration:none;
    color:#000000;
}

.page-content a {
    color:#000000;
    text-decoration: none;
}

.page-node-16 a .arrowicon{
    margin-right:10px;
    margin-top: 0;
    margin-bottom:0;
    transform: translateY(-6px);
}

.page-node-16 .main-content a {
    display:flex;
    align-items: flex-end;
}

.preview a {
    color:#000000;
    text-decoration: none;
}


#white-bar {
    margin-top:10px;
    width: 100%;
    height:4px;
    background-color: #ffffff;
    float:none;
    clear:both;
}

#footer-left {
    margin-bottom:16px;
}
.text-ankaufsjahr, .foerder_datum {
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 20px;

}
.text-titel, .foerder_title, .page-content h2 {
    margin: 12px 0;
    font-family: "Noto Serif", serif;
    font-size: 2.3vw;
    line-height: 2.8vw;
    color: rgb(170, 36, 60);

}

.page-content h2 {
    margin-bottom:22px;
    margin-top: 50px;
}

.page-node-13 .page-content h2 {
    margin-top: 0px;
}

.text-body {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight:400;

}
.text-werkjahr {
    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    line-height: 22px;
    margin-bottom:36px;
    color: rgb(170, 36, 60);
    font-weight: 500;
}

.foerder_image img {
    width:100%;
    height:auto;
    margin:1vw 0;
}

.form-check-input:checked {
    background-color: rgb(170, 36, 60);
    border-color: rgb(170, 36, 60);
}


.field--name-field-nachname, .field--name-field-vorname, .field--name-field-e-mail, .field--name-field-telephon {
    width:48%;
    float:left;
}

textarea.form-control, input[type=text] {
    border: 0;
    border-radius: 0;
    border-bottom: solid 2px;
}
.field--name-field-nachname, .field--name-field-e-mail {
    margin-right:2%;
}
.field--name-field-vorname, .field--name-field-telephon {
    margin-left:2%;
}

.field--name-field-nachricht {
    width:100%;
    float:none;
    clear:both;
}

.foerder_bu {
    font-size: 12px;
    font-style: italic;
    margin-bottom: 40px;
}

.foerder_teaser {
    font-size: 22px;
    line-height: 30px;
    font-weight: 500;
    margin-bottom:40px;
}

figcaption {
    margin-top:10px;
}


.ak_image {
    max-width: 100%;
    heigth:auto;
    max-height: 100%;
}
.imagekeeper {
    width:100%;
    aspect-ratio: 1 / 0.7;
    background-color: #efefef;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fline {
    display:block;
    margin-right:8px;
}


.gbcontent figure {
    margin-bottom:0;
}


.view-spacer, hr {
    background-color: #bcbcbc;
    height:4px !important;
    width:100%;
    margin:90px 0;
    border: none !important;
}

.page-node-16 hr {
    background-color: #ac0441;
    opacity: 1;
    margin:55px 0;
}

 hr.whitehr {
    background-color: #ffffff;
    height:1px !important;
    width:100%;
    margin:40px 0;
}


.view-id-0_ankaeufe .views-infinite-scroll-content-wrapper .row:last-child .view-spacer {
    background-color: #ffffff;
    margin:0;
}

.page-node-6 .row:last-child{
    margin-bottom: 0;
}

.spacer {
    width:100%;
    clear:both;
    float:none;
    height:1px;
}

.preview .col-md-10 {
    padding-left:30px;
}

.preview .col-md-2 {
    padding-top:10px;
}
#edit-field-datenschutz-value--description {
    float:none;
    clear:both;
    display:inline-block;
    width:100%;
}


@media only screen and (min-width: 768px) {

    .view-id-0_ankaeufe .views-infinite-scroll-content-wrapper .row:nth-child(odd) {
        flex-direction: row-reverse;
    }

    .view-id-0_ankaeufe .views-infinite-scroll-content-wrapper .row:nth-child(odd) .irow {
        padding-left: 3vw;
    }

    .view-id-0_ankaeufe .views-infinite-scroll-content-wrapper .row:nth-child(odd) .trow {
        padding-right: 3vw;
    }

    .view-id-0_ankaeufe .views-infinite-scroll-content-wrapper .row:nth-child(even) .irow {
        padding-right: 3vw;
    }

    .view-id-0_ankaeufe .views-infinite-scroll-content-wrapper .row:nth-child(even) .trow {
        padding-left: 3vw;
    }

    .foerder_main {
        column-count: 2;
        column-gap: 80px;
    }

    .node--type-gutenberg-powered-seite .row .col:nth-child(even), .node--type-gutenberg-powered-seite .row .col-md-6:nth-child(even) {
        padding-left: 3vw;
    }

    .node--type-gutenberg-powered-seite .row .col:nth-child(odd), .node--type-gutenberg-powered-seite .row .col-md-6:nth-child(odd) {
        padding-right: 3vw;
    }


}
/*
@media only screen and (min-width: 1220px) {


    .page-heading h2 {
        font-size: 54.9px;
    }

    .page-heading .container-fluid {
        padding: 0 146.4px;
    }

    .page-heading h3 {
        font-size: 24.4px;
    }

    .page-heading {
        padding-top: 97.6px;
        padding-bottom: 73.2px;
    }
}
*/
@media only screen and (min-width: 992px) {
    #footer-left {
        float: left;
        margin-bottom: 0;
    }

    .fline {
        display: inline;
    }

    #footer-right {
        float: right;
    }
}

@media only screen and (max-width: 767px) {
    .page-heading {
        padding-top: 17vw;
        padding-bottom: 10vw;
        text-align: left;
    }

    .page-heading .container-fluid {
        padding:0 12vw;
        box-sizing: border-box;
    }


    .page-heading h2 {
        font-size: 32px;
    }

    .page-heading h3 {
        font-size: 14px;
    }

    h1 {
        font-size:32px;
        line-height:44px;
        padding-top:28px;
    }

    .col img.arrowicon, .col .arrowicon img {
        width:38px;
        height:38px;
        margin-top:12px;
    }

    [type=submit]:not(:disabled), [type=submit]:hover {
        width:38px;
        height:38px;
    }

    [type=submit]:not(:disabled):after {
        content: "Nachricht abschicken";
        font-size:12px;
        line-height:12px;
        position:relative;
        left:-90px;
    }

    .page-content {
        padding-bottom:20px;
    }

    .text-ankaufsjahr, .foerder_datum {
        margin-top:18px;
        font-size: 16px;
    }

    .text-titel, .foerder_title, .page-content h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .text-werkjahr {
        margin-bottom: 20px;
    }

    .view-spacer {
        height: 2px;
        margin: 40px 0 60px;
    }

    .col img.arrowicon, .col .arrowicon img {
        margin: 10px 0 40px;
    }
}

@media only screen and (min-width: 1600px) {
    h1 {
        font-family: "Noto Serif", serif;
        font-size: 89.6px;
        line-height: 102.4px;
        margin-top: 80px;
    }

    .text-titel, .foerder_title, .page-content h2 {
        font-size: 36.8px;
        line-height: 44.6px;
    }

    .page-heading h2 {
        font-size: 72px;
    }

    .page-heading h3 {
        font-size: 32px;
    }

    .page-heading .container-fluid {
        padding: 0 464px 0 192px;
    }

    .page-node-1 .page-heading .container-fluid {
        padding: 0 192px 0 192px;
    }

    .col img.arrowicon, .col .arrowicon img {
        width: 72px;
        height: 72px;
    }

    .view-id-0_ankaeufe .views-infinite-scroll-content-wrapper .row:nth-child(odd) .irow {
        padding-left: 48px;
    }

    .view-id-0_ankaeufe .views-infinite-scroll-content-wrapper .row:nth-child(odd) .trow {
        padding-right: 48px;
    }

    .view-id-0_ankaeufe .views-infinite-scroll-content-wrapper .row:nth-child(even) .irow {
        padding-right: 48px;
    }

    .view-id-0_ankaeufe .views-infinite-scroll-content-wrapper .row:nth-child(even) .trow {
        padding-left: 48px;
    }

    .node--type-gutenberg-powered-seite .row .col:nth-child(even), .node--type-gutenberg-powered-seite .row .col-md-6:nth-child(even) {
        padding-left: 48px;
    }

    .node--type-gutenberg-powered-seite .row .col:nth-child(odd), .node--type-gutenberg-powered-seite .row .col-md-6:nth-child(odd) {
        padding-right: 48px;
    }

}

.page-user-login #main-wrapper {
    display: flex;
    justify-content: center;
}