/*
Theme Name: GFA Basic Theme
Description: Das GFA Basic-Theme wurde eigens für Kunden entwickelt. Es bedarf keinerlei zusätzliche Lizenz, jedoch darf die Gestaltung die durch die FGR vorgegeben wurde nicht verändert werden - es erlischt umgehend das Nutzungsrecht. Inhaltliche Änderungen dürfen selbstverständlich getätigt werden. Im Zweifelsfall steht die <a href="http://fgrepublik.com/">Freie Gestalterische Republik</a> jederzeit bereit, um Fragen zu beantworten.
Author: Malzkorn
Author URI: https://www.malzkorn.de
Version: 1.3.4
License: Keine Nutzung ohne vorherige Absprache erlaubt.
License URI: license.txt
Tags: GFA, basic, Widgetfähig, Menü, Responsive
*/

/* #####################################################

1.1 Viewport
1.2 Variablen
1.3 Hauptdeklarationen
1.4 Typografie & Globale Elemente
1.5 Globale Klassen

2.1 Header
2.2 Hauptnavigation - Wrap & Burgericon
2.3 Menü

3.1 Gutenberg

4. CPTs

5. Footer

6. Plugins

##################################################### */

/* 1.1 Viewport
##################################################### */

@-webkit-viewport {
    width: device-width;
}

@-moz-viewport {
    width: device-width;
}

@-ms-viewport {
    width: device-width;
}

@-o-viewport {
    width: device-width;
}

@viewport {
    width: device-width;
}

/* 1.2 Variablen
##################################################### */
:root {
    --app-height: 100%;
}

body {
    /*colors*/
    --lightColor: #fff;
    --darkColor: #000;

    /*Font-Sizes*/
    --primaryHead: 5rem;
    --secondaryHead: 2.375rem;
    --tertiaryHead: 1.75rem;
    --quaternaryHead: 1.375rem;

    --btnFS: 1.325rem;
    --paragraphs: 1.125rem;
    --smallFS: 0.875rem;
    --smallerFS: 0.875rem;

    --headermenuFS: 3.75rem;
    --footermenuFS: 1rem;
}

@media screen and (max-width: 991px) {
    body {
        --primaryHead: 3.375rem;
        --secondaryHead: 1.875rem;
        --tertiaryHead: 1.5rem;
        --headermenuFS: 2.375rem;
    }
}

@media screen and (max-width: 781px) {
    body {
        --primaryHead: 3.125rem;
        --secondaryHead: 1.25rem;
        --tertiaryHead: 1.25rem;
        --btnFS: 1.25rem;
        --headermenuFS: 2rem;
        --paragraphs: 1rem;
    }
}

/* 1.3 Hauptdeklarationen
##################################################### */
html {
    -webkit-font-smoothing: antialiased;
}

html, body {
    height: 100%;
}

body {
    line-height: 1;
    overflow: overlay;
}

@media screen and (max-width:991px) {
    body.no-scroll {
        overflow: hidden;
    }
}

#overallwrap {
    display: flex;
    flex-wrap: wrap;
    row-gap: 0px;
    width: 100%;
    overflow: hidden;
    min-height: 100%;
    margin: 0 auto;
}

body:not(.home, .single-kritik, .single-leseprobe, .page-datenschutzerklaerung) #overallwrap {
    flex-direction: column;
}

header {
    flex: 0 0 100%;
    transition: 0.35s all;
    z-index: 12;
}

#contentwrap {
    flex: 0 0 100%;
    width: 100%;
    padding-bottom: 45px;
}

/* 1.4 Typografie & Globale Elemente
##################################################### */

html, body, h1, h2, h3, h4, h5, p, ul {
    margin: 0px;
    padding: 0px;
}

h1, .h1 {
    font: normal 500 var(--primaryHead) 'Noto Sans', sans-serif;
    color: var(--darkColor);
    line-height: 1.125;
    word-break: initial;
    overflow-wrap: initial;
    margin-bottom: 25px;
}

h2, .h2 {
    font: normal 700 var(--secondaryHead) 'Noto Sans', sans-serif;
    color: var(--darkColor);
    line-height: 1.1575;
    margin-bottom: 20px;
    word-break: initial;
    overflow-wrap: initial;
}

h3, .h3 {
    font: normal 700 var(--tertiaryHead) 'Noto Sans', sans-serif;
    color: var(--darkColor);
}

h4, .h4 {
    font: normal 700 var(--quaternaryHead) 'Noto Sans', sans-serif;
    margin-bottom: 10px;
}

p, #contentwrap li {
    font: 400 normal var(--paragraphs) 'Noto Sans', serif;
}

p:not(:last-of-type) {
    margin-bottom: 30px;
}

#contentwrap ul {
    padding-left: 20px;
    margin-bottom: 30px;
}

#contentwrap ol {
    padding-left: 25px;
    margin-bottom: 30px;
}

strong {
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: 0.35s all;
    cursor: pointer;
    pointer-events: auto;
    cursor: hand;
    position: relative;
    z-index: 2;
    outline: none;
    color: #000;
}

a:hover {
    cursor: pointer;
    text-decoration: underline;
}

#contentwrap section,
#contentwrap article {
    padding-top: 60px;
    padding-bottom: 60px;
}


@media screen and (max-width:781px) {

    #contentwrap section,
    #contentwrap article {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    h1, .h1,
    h2, .h2 {
        margin-bottom: 15px;
    }
}

/* 1.5 Globale Custom Klassen (Paddings, Colors, Display Elemente)
##################################################### */

/*Paddings*/
.p-0 {
    padding: 0px !important;
}

.p-h-0 {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.p-v-0 {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.p-t-0 {
    padding-top: 0px !important;
}

.p-b-0 {
    padding-bottom: 0px !important;
}

.p-t-small {
    padding-top: 30px !important;
}

.p-t-large {
    padding-top: 60px !important;
}

.p-b-small {
    padding-bottom: 30px !important;
}

.p-b-large {
    padding-bottom: 60px !important;
}

@media screen and (max-width:781px) {
    .p-t-small {
        padding-top: 20px !important;
    }

    .p-t-large {
        padding-top: 40px !important;
    }

    .p-b-small {
        padding-bottom: 20px !important;
    }

    .p-b-large {
        padding-bottom: 40px !important;
    }
}

/*Margins*/
.m-0 {
    margin: 0px !important;
}

.m-h-0 {
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.m-v-0 {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.m-t-0 {
    margin-top: 0px !important;
}

.m-b-0 {
    margin-bottom: 0px !important;
}

.m-t-small {
    margin-top: 30px !important;
}

.m-t-large {
    margin-top: 75px !important;
}

.m-b-small {
    margin-bottom: 30px !important;
}

.m-b-large {
    margin-bottom: 75px !important;
}

@media screen and (max-width:781px) {
    .m-t-small {
        margin-top: 15px !important;
    }

    .m-t-large {
        margin-top: 45px !important;
    }

    .m-b-small {
        margin-bottom: 15px !important;
    }

    .m-b-large {
        margin-bottom: 45px !important;
    }
}

/**/

input.not(type="radio") {
    appearance: none;
    border-radius: 0;
}
input[type="radio"]{
transform: translateY(22.5px);
}

/*Positions*/
.p-r {
    position: relative !important;
}

.p-a {
    position: absolute !important;
}

/*Colors*/

.TextlightColor {
    color: var(--lightColor) !important;
}

.TextdarkColor {
    color: var(--darkColor) !important;
}

.BGlightColor {
    background-color: var(--lightColor);
}

.BGdarkColor {
    background-color: var(--darkColor);
    color: var(--lightColor);
}

/*Display Elemente */
body .d-none {
    display: none;
}

@media screen and (max-width:991px) {
    .md-off {
        display: none !important;
    }

    .md-block {
        display: block !important;
    }
}

@media screen and (max-width:781px) {
    .sm-off {
        display: none !important;
    }

    .sm-block {
        display: block !important;
    }
}

@media screen and (max-width:624px) {
    .xs-off {
        display: none !important;
    }
}

/*Images*/
.full-width-img {
    width: 100%;
    height: auto;
    line-height: 1;
}

.img-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.img-wrap.wrap-normal {
    padding-bottom: 75%;
}

.img-wrap.wrap-ws {
    padding-bottom: 56.25%;
}

.img-wrap.wrap-pm {
    padding-bottom: 122.75%;
}

.img-wrap.wrap-square {
    padding-bottom: 100%;
}

.img-wrap img,
.img-wrap svg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}

/*Textausrichtung*/
.center {
    text-align: center;
}

/*Row Spacer*/
@media screen and (max-width:781px) {
    .row-spacer {
        height: 30px !important;
    }

    .row-spacer-large {
        height: 45px !important;
    }
}

/*Buttons*/
body .wp-block-button__link,
input[type="submit"] {
    font: 700 normal var(--btnFS) 'Noto Sans', serif;
    text-align: left;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
    height: 68px;
    display: flex;
    align-items: center;
    align-content: flex-start;
    padding-left: 30px;
    padding-right: 30px;
    line-height: 0;
    transition: 0.35s all;
}

body .wp-block-button__link:hover,
input[type="submit"]:hover {
    padding-left: 45px;
    text-decoration: none;
}

@media screen and (max-width:781px) {

    body .wp-block-button__link,
    input[type="submit"] {
        height: 60px;
        padding-left: 20px;
        padding-right: 20px;
    }

    body .wp-block-button__link:hover,
    input[type="submit"]:hover {
        padding-left: 20px;
    }
}

/*Font-Sizes*/
body .has-small-font-size {
    font: 400 normal var(--smallFS) 'Noto Sans', serif;
    font-size: var(--smallFS) !important;
}

body .has-medium-font-size {
    font: 400 normal var(--paragraphs) 'Noto Sans', serif;
    font-size: var(--paragraphs) !important;
}

body .has-large-font-size {
    font: 400 normal var(--quaternaryHead) 'Noto Sans', serif;
    font-size: var(--quaternaryHead) !important;
}

body .has-xlarge-font-size {
    font: 400 normal var(--tertiaryHead) 'Noto Sans', serif;
    font-size: var(--tertiaryHead) !important;
}

body .has-xxlarge-font-size {
    font: 700 normal var(--secondaryHead) 'Noto Sans', serif;
    font-size: var(--secondaryHead) !important;
}

body .has-xxxlarge-font-size {
    font: 500 normal var(--primaryHead) 'Noto Sans', serif;
    font-size: var(--primaryHead) !important;
}

body .has-medium-font-size strong,
body .has-small-font-size strong {
    font-weight: 700 !important;
}

/* 3.1 Gutenberg
##################################################### */
.wp-block-image img {
    width: 100%;
}

.wp-block-columns.is-layout-flex {
    width: 100%;
}

@media screen and (min-width:782px) {
    .sub-hero .wp-block-image img {
        max-width: calc(100% - 15px);
    }
}

@media screen and (max-width:781px) {
    .sub-hero {
        margin-bottom: 0;
    }
}

/*Rows: Bild Text*/
.text-bild-row {
    overflow: hidden;
}

.text-bild-row>div {
    gap: 0;
    position: relative;
    margin-bottom: 0;
}

.text-bild-row>div .has-background:first-of-type {
    padding: 35px 120px 40px 30px;
    position: static;
    z-index: 0;
}

@media screen and (max-width:991px) {
    .text-bild-row>div .has-background:first-of-type {
        padding: 35px 90px 40px 30px;
    }
}

.text-bild-row>div .has-background:first-of-type:after {
    position: absolute;
    height: 100%;
    width: 41.66%;
    background-color: inherit;
    top: 0;
    content: "";
    left: 0;
    z-index: -1;
    transition: 0.35s all;
}

.text-bild-row>div:first-of-type .has-background:hover:after {
    width: 50%;
}

.text-bild-row>div figure {
    margin: 0;
    height: 100%;
}

.text-bild-row>div figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-bild-row>div .has-background .wp-block-image.link-arrow a {
    position: absolute;
    height: 100%;
    width: 41.66%;
    top: 0;
    left: 0
}

.text-bild-row>div .has-background:hover .wp-block-image.link-arrow a {
    width: 50%;
}

.text-bild-row>div .has-background:first-of-type .wp-block-image.link-arrow a img {
    width: 53px;
    height: 55px;
    position: absolute;
    bottom: 30px;
    left: calc(100% - 80px);
    object-fit: contain;
    transition: 0.35s all;
}

@media screen and (max-width:781px) {
    .text-bild-row>div .has-background:first-of-type {
        position: relative;
        padding: 20px 70px 20px 15px;
    }

    .text-bild-row>div .has-background .wp-block-image.link-arrow a,
    .text-bild-row>div .has-background:hover .wp-block-image.link-arrow a {
        width: 100%;
    }

    .text-bild-row>div .has-background:first-of-type .wp-block-image.link-arrow a img {
        bottom: 15px;
        left: calc(100% - 55px);
    }
}

/*Reverse*/
.text-bild-row.text-bild-row-reverse>div .has-background {
    position: static;
    transform-style: preserve-3d;
    z-index: 1;
}

.text-bild-row.text-bild-row-reverse>div .has-background:after {
    position: absolute;
    height: 100%;
    width: 50vw !important;
    top: 0;
    content: "";
    left: 0;
    z-index: 1;
    transition: 0.35s all;
    transform: translateZ(-1px)
}

.text-bild-row.text-bild-row-reverse>div {
    flex-direction: row-reverse;
}

.text-bild-row.text-bild-row-reverse>div .has-background {
    padding: 30px 120px 90px 30px;
    transform: translateX(0);
    transition: 0.35s all;
}

@media screen and (max-width:991px) {
    .text-bild-row.text-bild-row-reverse>div .has-background {
        padding: 30px 90px 90px 30px;
    }
}

.text-bild-row.text-bild-row-reverse>div .has-background .wp-block-image.link-arrow a {
    transition: 0s;
}

.text-bild-row.text-bild-row-reverse>div .has-background .wp-block-image.link-arrow a img {
    left: auto !important;
    right: 30px;
    transition: 0s;
}

.text-bild-row.text-bild-row-reverse>div .has-background .wp-block-group {
    transition: 0.35s all;
    transform: translateX(calc(0% + 0px));
    height: 100%;
    background-color: inherit;
    transform-style: preserve-3d;
}

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


    .text-bild-row.text-bild-row-reverse>div .has-background:hover .wp-block-group {
        transform: translateX(calc(-25% + 0px));
        position: relative;
        height: 100%;
        background-color: inherit;
        transition: 0.35s all;
    }
}

.text-bild-row.text-bild-row-reverse>div .has-background .wp-block-group:after {
    background-color: inherit;
    width: 100%;
    height: calc(100% + 120px);
    content: "";
    position: absolute;
    left: -30px;
    top: -30px;
    transform: translateZ(-1px);
}

.text-bild-row.text-bild-row-reverse>div .has-background .wp-block-image.link-arrow a {
    left: auto !important;
    right: 0 !important;
}

.text-bild-row.text-bild-row-reverse>div .has-background:hover .wp-block-image.link-arrow a {
    width: calc(125% - 27px);
}

@media screen and (max-width:781px) {
    .text-bild-row.text-bild-row-reverse>div .has-background:first-of-type {
        position: relative;
        padding: 20px 70px 20px 15px;
    }

    .text-bild-row.text-bild-row-reverse>div .has-background .wp-block-group:after {
        left: -15px;
    }

    .text-bild-row.text-bild-row-reverse>div .has-background .wp-block-image.link-arrow a img {
        right: 15px;
    }
}

/*Text-bild-row Termine*/
.text-bild-row.text-bild-row-termine>div .has-background:last-of-type {
    margin-left: auto;
    z-index: 0;
}

.text-bild-row.text-bild-row-termine>div .has-background:first-of-type {
    z-index: 1;
}

.text-bild-row.text-bild-row-termine>div .has-background:last-of-type:before {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: inherit;
    top: 0;
    content: "";
    right: 0;
    z-index: -2;
    transition: 0.35s all;
}

@media screen and (max-width:781px) {
    .text-bild-row.text-bild-row-termine>div .has-background .wp-block-image.link-arrow a {
        width: 100%;
    }

    .text-bild-row.text-bild-row-termine>div .has-background .wp-block-image.link-arrow a img {
        bottom: 26.5px;
    }
}

/*Text-bild-row News*/

.text-bild-row.text-bild-row-news>div .has-background .wp-block-image.link-arrow a {
    width: 25%;
}

.text-bild-row.text-bild-row-news>div:first-of-type .has-background:after {
    width: 25%;
}

.text-bild-row.text-bild-row-news>div .has-background:first-of-type .wp-block-image.link-arrow a img {
    bottom: auto;
    top: 30px;
    left: auto;
    right: 30px;
    transition: 0.35s;
}

.text-bild-row.text-bild-row-news>div .has-background:first-of-type:hover .wp-block-image.link-arrow a img {
    right: -10px;
}

.text-bild-row.text-bild-row-news>div .has-background:last-of-type {
    margin-left: auto;
    z-index: 0;
    padding: 30px;
}

.text-bild-row.text-bild-row-news>div .has-background:first-of-type:hover:after {
    width: calc(25% + 40px);
}

.text-bild-row.text-bild-row-news>div .has-background:first-of-type {
    z-index: 1;
}

.text-bild-row.text-bild-row-news>div .has-background:last-of-type:before {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: inherit;
    top: 0;
    content: "";
    right: 0;
    z-index: -2;
    transition: 0.35s all;
}

@media screen and (max-width:781px) {
    .text-bild-row.text-bild-row-news>div .has-background .wp-block-image.link-arrow a {
        width: 100%;
    }

    .text-bild-row.text-bild-row-news>div .has-background .wp-block-image.link-arrow a img {
        bottom: 26.5px !important;
        right: 15px !important;
        transform: none !important;
    }

    .text-bild-row.text-bild-row-news>div .has-background:last-of-type {
        padding: 15px;
    }
}

/*Mobil*/
@media screen and (max-width:991px) {
    .text-bild-row>div .has-background:first-of-type .wp-block-image.link-arrow a img {
        width: 39px;
        height: 40px;
    }
}

@media screen and (max-width:781px) {
    .text-bild-row:not(.text-bild-row.text-bild-row-news):not(.text-bild-row.text-bild-row-termine)>div>div {
        flex-basis: 50% !important;
    }

    .text-bild-row>div figure img {
        aspect-ratio: 1/1;
    }
}

/*text Bild Row Half*/

@media screen and (min-width:782px) {
    .text-bild-row-half .has-background {
        align-content: center !important;
    }

    .text-bild-row.text-bild-row-half>div .has-background .wp-block-image.link-arrow a {
        width: 50%;
    }

    .text-bild-row.text-bild-row-half>div:first-of-type .has-background:hover:after {
        width: 58.33%;
    }

    .text-bild-row.text-bild-row-half>div .has-background:hover .wp-block-image.link-arrow a {
        width: 58.33%;
    }

    .text-bild-row.text-bild-row-half.text-bild-row-reverse .wp-block-image:not(.link-arrow) img {
        max-width: calc(100% - 30px);
    }

    .text-bild-row.text-bild-row-half.text-bild-row-reverse .wp-block-group {
        position: relative;
        margin-left: -30px;
    }

    .text-bild-row.text-bild-row-half.text-bild-row-reverse .wp-block-group>div {
        position: relative;
        top: 50%;
        transform: translateY(-50%);
        padding-top: 50px;
    }

    .text-bild-row.text-bild-row-half>div .has-background:first-of-type:after {
        width: 50%;
    }

    .text-bild-row.text-bild-row-half>div .has-background:first-of-type .wp-block-image.link-arrow a img {
        left: auto;
        right: 30px;
    }
}

/*Date Row*/
.date-row:first-of-type {
    margin-top: 45px;
}

.date-row:last-of-type {
    margin-bottom: 45px;
}

.date-row a {
    color: var(--darkColor);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: 0s;
    position: relative;
}

.date-row a:hover {
    text-decoration: underline;
}

.date-row em {
    font: normal 700 var(--tertiaryHead) 'Noto Sans', sans-serif;
}

.date-row em:after {
    content: " ";
}

p.date-row {
    margin: 15px 0;
    padding-left: 30px;
    margin-bottom: 0;
}

@media screen and (max-width:991px) {
    .date-row em {
        display: block;
    }
}

@media screen and (max-width:781px) {
    .date-row:first-of-type {
        margin-top: 25px;
    }

    .date-row:last-of-type {
        margin-bottom: 25px;
    }

    p.date-row {
        padding-left: 15px;
    }
}

/*Post Feed*/
.post-feed {
    display: flex;
    padding-left: 40px !important;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.post-feed li {
    flex: 0 0 50%;
    padding: 0 15px;

}

.post-feed a.wp-block-latest-posts__post-title {
    font: normal 700 var(--tertiaryHead) 'Noto Sans', sans-serif;
    color: var(--darkColor);
    color: var(--darkColor);
}

.post-feed a {
    width: 100%;
}

.post-feed .wp-block-latest-posts__post-excerpt a {
    color: #000;
    font-weight: 700;
    text-decoration: underline;
    margin-left: 5px;
    transition: 0s;
}

.post-feed .wp-block-latest-posts__post-excerpt a:hover {
    text-decoration: none;
}

.post-feed .wp-block-latest-posts__featured-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;

}

.post-feed .wp-block-latest-posts__post-title {
    display: block;
    margin: 15px 0;
}

@media screen and (max-width:781px) {
    .post-feed {
        display: flex;
        padding-left: 0px !important;
        flex-wrap: wrap;
        margin-top: -15px;
        margin-bottom: -15px;
        margin-left: -15px;
        margin-right: -15px;
    }

    .post-feed .wp-block-latest-posts__featured-image {
        margin-left: -15px;
        margin-right: -15px;
    }

    .post-feed li {
        flex: 0 0 100%;
        padding-bottom: 15px;
    }
}

/*Sidebar*/
body .sidebar {
    padding-left: 30px;
    margin-left: 120px !important;
    border-left: 1px solid #000;
    overflow: hidden;
}


@media screen and (max-width:1400px) {
    body .sidebar {
        margin-left: 90px !important;
    }
}

@media screen and (max-width:991px) {
    body .sidebar {
        margin-left: 30px !important;
    }
}

@media screen and (max-width:781px) {
    body .sidebar {
        margin-left: 0px !important;
        border-left: 0px solid #000;
        border-top: 1px solid #000;
        padding-top: 30px;
        padding-left: 0px;
        margin-top: 30px !important;
    }

    .sidebar .wp-block-buttons:first-of-type .wp-block-button__link {
        margin-top: 0px;
    }
}

.sidebar .wp-block-button__link {
    max-width: 295px;
}

.sidebar .wp-block-buttons:last-of-type .wp-block-button__link {
    margin-bottom: 0px;
}

/*Team Row*/
.team-row {
    margin-top: 40px;
    margin-bottom: 0;
}

.team-row img {
    margin-bottom: 10px;
}

.team-row .has-medium-font-size {
    margin-top: 5px;
}

@media screen and (max-width:991px) {
    .team-row .has-medium-font-size {
        margin-top: 2.5px;
    }

}

@media screen and (max-width:781px) {
    .team-row {
        margin-top: 30px;
    }
}

/* 4. Custom Post Types (CPT)
##################################################### */

.single-content {
    margin-top: 60px;
}

.single p:not(.h1) {
    font-size: var(--tertiaryHead);
}

.single-content {
    margin-bottom: 45px;
}

@media screen and (max-width:781px) {
    .single-content {
        margin-top: 15px;
        margin-bottom: 30px;
    }
}

@media screen and (max-width:781px) {
    .single .img-wrap {
        margin-bottom: 30px;
    }
}

/*Referenten*/
.referenten-row {
    margin-top: 30px;
}

.referent-item {
    margin-top: 30px;
    margin-bottom: 30px;
}

.referenten-row .img-wrap {
    margin-bottom: 30px;
}

.referenten-row .h4 {
    margin-bottom: 0;
}

.referenten-row p.h4,
.single-referent p.h1 {
    color: #a6a6a6;
}

.single-referent h1 {
    margin-bottom: 0;
}

.referenten-row p:not(.h4) {
    margin-top: 30px;
}

.referenten-row>div svg {
    transform: translate3d(0, 0, 0);
    transition: 0.35s all;
    margin-bottom: -7px;
}

.referenten-row a:hover svg {
    transform: translate3d(15px, 0, 0);
}

/*Posts*/
.archive-post {
    padding-left: 0 !important;
}

.post-item {
    margin-top: 30px;
    margin-bottom: 30px;
}

.archive-post .post-item p a {
    font-weight: 700;
    text-decoration: underline;
}

.archive-post .post-item p a:hover {
    text-decoration: none;
}

/* 4.6 Pagination*/
.pagination-row .page-numbers {
    font: normal 300 var(--tertiaryHead) 'Noto Sans', sans-serif;
    width: auto;
    width: 40px;
    color: var(--darkColor);
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 0;
    transition: 0s;
}

.pagination-row .nav-links .page-numbers:first-of-type {
    padding-left: 0;
}

.pagination-row a.page-numbers:hover {
    text-decoration: none;
    font-weight: 700;
}

.pagination-row .page-numbers.current {
    font-weight: 700;
}

.pagination-row .page-numbers.next,
.pagination-row .page-numbers.prev {
    font: normal 300 var(--tertiaryHead) 'Noto Sans', sans-serif;
    transform: translateX(0px) translateY(1.5px);
    transition: 0.35s all;
}

.pagination-row .page-numbers.next:hover {
    transform: translateX(15px) translateY(1.5px);
}

.pagination-row .page-numbers.prev:hover {
    transform: translateX(-15px) translateY(1.5px);
}

.pagination-row .nav-links {
    display: flex;
}

.pagination-row .pagination {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 30px;
    padding-bottom: 0px;
}

@media screen and (max-width:781px) {
    .pagination-row .pagination {
        padding-top: 15px;
        padding-bottom: 0px;
    }
}

/* 5. Footer
##################################################### */

footer {
    margin-top: auto;
    flex: 0 0 100%;
    background-color: var(--darkColor);
}

footer #footer-logo {
    width: 100%;
    max-width: 281px;
    height: auto;
}

#footer-bottom {
    background-color: var(--darkColor);
    color: var(--lightColor);
    padding-top: 80px;
    padding-bottom: 120px;
}

#footer-nav {
    display: flex;
    justify-content: space-between;
}

footer #menu li {
    display: block;
    margin-bottom: 5px;
    list-style-type: none;
}

footer #menu a {
    color: var(--lightColor);
    font: 500 normal var(--footermenuFS) 'Noto Sans', sans-serif;
}

#sm-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#sm-wrap a {
    display: inline-block;
    margin-left: 7.5px;
    transition: 0.35s all;
    transform: scale(1) translate3d(0, 0, 0)
}

#sm-wrap a:hover {
    transform: scale(0.95) translate3d(0, 0, 0);
}

#sm-wrap a img {
    width: 31.5px;
    height: 31.5px;
    object-fit: contain;
}

@media screen and (max-width:991px) {
    footer #footer-logo {
        margin-bottom: 45px;
    }

    #footer-bottom {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

@media screen and (max-width:781px) {
    #footer-bottom {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    footer #footer-logo {
        margin-bottom: 50px;
    }

    #footer-nav {
        flex-wrap: wrap;
    }

    #footer-nav>div {
        flex: 0 0 100%;
    }

    #footer-nav>div {
        margin: 0 0 30px 0;
    }

    #sm-wrap {
        justify-content: flex-start;
    }

    #sm-wrap a {
        margin-left: 0;
        margin-right: 7.5px;
    }
}

/* 6. Plugins
##################################################### */

/* Yoast*/
.yoast-breadcrumbs {
    margin-bottom: 35px;
}

.yoast-breadcrumbs a,
.yoast-breadcrumbs span {
    font: 400 normal var(--smallerFS) 'Noto Sans', serif;
    color: var(--darkColor);
}

.yoast-breadcrumbs a:hover {
    text-decoration: underline;
}

@media screen and (max-width:781px) {
    .yoast-breadcrumbs {
        margin-bottom: 15px !important;
    }
}

/* Table Events*/
table.events-table *,
table.events-table {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1rem;
    text-align: left;
}

table.events-table p {
    margin: 0;
}

table {
    border-bottom: 1px solid #d9d9d9;
    border-collapse: collapse;
    border-spacing: 0;
}

table td {
    border-top: 1px solid #d9d9d9;
}

table a {
    transition: none;
}

table.events-table {
    margin-bottom: 45px;
}

@media screen and (max-width: 1199px) {
    table.events-table *,
    table.events-table {
            font-family: 'Noto Sans', sans-serif;
            font-size: var(--smallFS) !important;
    }
}

@media screen and (max-width: 991px) {
    table.events-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}

@media screen and (max-width:781px) {
    table.events-table {
        margin-bottom: 30px;
    }

    body.page-template-event_list .hero-sub {
        margin-bottom: 0px !important;
    }
}

/*Single Event*/
.entry-content *,
.entry-content {
    font-family: 'Noto Sans', sans-serif;
    text-align: left;
}

.page-template-event-list-template h1.entry-title {
    font: normal 500 var(--primaryHead) 'Noto Sans', sans-serif !important;
    margin-bottom: 60px !important;
}

.page-template-event-list-template h1.entry-title:has(+ .entry-title) {
    font: normal 500 var(--quaternaryHead) 'Noto Sans', sans-serif !important;
    margin-bottom: 0px !important;
    margin-top: 60px;
}

.page-template-event-list-template h1, .page-template-event-list-template h2, .page-template-event-list-template h3, .page-template-event-list-template h4 {
    font-size: var(--tertiaryHead);
    font-weight: 700;
}

.page-template-event-list-template input.input, textarea .entry-content input, .page-template-event-list-template input.zip {
    appearance: none !important;
    border-radius: 0 !important;
    border: 1px solid #d9d9d9 !important;
}

.page-template-event-list-template input[type="checkbox"] {
    appearance: checkbox !important;
    float: left;
    transform: translateY(-2px);
    margin-right: 5px;
}

.page-template-event-list-template label {
    padding-bottom: 0px !important;
}

.page-template-event-list-template input[type="submit"] {
    max-width: 185px;
    background-color: #000 !important;
    color: #fff !important;
    appearance: none;
    border: none;
    margin-top: 0px;
}

body .single-event .entry-content, body.page-template-event-list-template .entry-content {
    margin: 0 !important;
    max-width: 83.333% !important;
}

.page-template-event-list-template p {
    margin-bottom: 45px;
}

label[for="firstName"], label[for="companyName"] {
    margin-top: 30px;
}

input#comment {
    margin-bottom: 45px;
}

@media screen and (max-width:991px) {
    body .single-event .entry-content, body.page-template-event-list-template .entry-content {
        margin: 0 auto !important;
        max-width: 100% !important;
    }
}

@media screen and (max-width:781px) {
    input#comment {
        margin-bottom: 30px;
    }

    .page-template-event-list-template p {
        margin-bottom: 30px;
    }

    .page-template-event-list-template h1.entry-title {
        margin-bottom: 45px !important;
    }
}