/*
Theme Name:   Yellow Theme Child
Template:     kdgs-yellow
Version: 	  1.0.0
*/

:root {
    --c-base: var(--theme-colour-1);
    --font-family-regular: 'Satoshi-Regular', sans-serif;
    --font-family-bold: 'Satoshi-Bold', sans-serif;
}

@font-face {
    font-family: 'Satoshi-Regular';
    src: url("fonts/Satoshi-Regular.woff2") format('woff2'), url("fonts/Satoshi-Regular.woff") format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi-Bold';
    src: url("fonts/Satoshi-Bold.woff2") format('woff2'), url("fonts/Satoshi-Bold.woff") format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* 
 * 'xs'     => max-width: 575px
 * 'sm'     => min-width: 576px
 * 'md'     => min-width: 768px
 * 'lg'  	=> min-width: 992px
 * 'xl'  	=> min-width: 1200px
 * 'xxl' 	=> min-width: 1400px
 * 'xxxl'	=> min-width: 1800px
*/

/* 
 * Fontsize, Font Family, Line Height 
 */


/* If you hit enter, it makes a new line of height "fontsize" */
p {
    margin-bottom: 1em;
}

/* Fixing Font-weight */
.mod-header .header-wrapper .mobile-menu .mobile-main-nav .menu .menu-item a,
.mod-header .header-wrapper .mobile-menu .mobile-meta-nav .menu .menu-item a {
    font-weight: 400;
} 

b, strong,
.mod-header .header-wrapper .mobile-menu .mobile-main-nav .menu .menu-item a {
    font-family: 'Satoshi-Bold', sans-serif;
}

h1, .h1 {
    font-family: 'Satoshi-Bold', sans-serif;
    font-size: calc(50 / 16 * 1rem);
    line-height: 1.25;
    margin-bottom: 0.24em;
}
@media screen and (min-width: 768px) {
    h1, .h1 {
        font-size: calc(105 / 16 * 1rem);
    }
}
@media screen and (min-width: 1200px) {
    h1, .h1 {
        font-size: calc(160 / 16 * 1rem);
    }
}

h2, .h2, 
.mod-header-mit-bild .content-wrapper .text-wrapper .title,
.mod-header-ohne-bild .title-wrapper  {
    font-family: 'Satoshi-Bold', sans-serif;
    font-size: calc(30 / 16 * 1rem);
    line-height: 1.25;  
    margin-bottom: 0.5em;
}
@media screen and (min-width: 768px) {
    h2, .h2, 
    .mod-header-mit-bild .content-wrapper .text-wrapper .title, 
    .mod-header-ohne-bild .title-wrapper {
        font-size: calc(50 / 16 * 1rem);
    }
}
@media screen and (min-width: 1200px) {
    h2, .h2,  
    .mod-header-mit-bild .content-wrapper .text-wrapper .title,
    .mod-header-ohne-bild .title-wrapper {
        font-size: calc(80 / 16 * 1rem);
    }
}

.plakativ {
    font-family: 'Satoshi-Bold', sans-serif;
    font-size: calc(26 / 16 * 1rem);
    line-height: 1.25;  
    margin-bottom: 0.5em;
}
@media screen and (min-width: 768px) {
    .plakativ {
        font-size: calc(42 / 16 * 1rem);
    }
}
@media screen and (min-width: 1200px) {
    .plakativ {
        font-size: calc(60 / 16 * 1rem);
    }
}

h3, .h3,
.mod-seitenteaser .link,  
.lead {
    font-family: 'Satoshi-Bold', sans-serif;
    font-size: calc(22 / 16 * 1rem);
    line-height: 1.25;  
    margin-bottom: 0.35em;
}
.lead {
    font-family: 'Satoshi-Regular', sans-serif;
    margin-bottom: 1.2em;
}
@media screen and (min-width: 768px) {
    h3, .h3, 
    .mod-seitenteaser .link,
    .lead {
        font-size: calc(29 / 16 * 1rem);
    }
}
@media screen and (min-width: 1200px) {
    h3, .h3,
    .mod-seitenteaser .link,
    .lead {
        font-size: calc(42 / 16 * 1rem);
    }
}

h4, .h4 {
    font-family: 'Satoshi-Bold', sans-serif;
    font-size: calc(20 / 16 * 1rem);
    line-height: 1.25;  
    margin-bottom: 0.7em;
}
@media screen and (min-width: 768px) {
    h4, .h4 {
        font-size: calc(24 / 16 * 1rem);
    }
}
@media screen and (min-width: 1200px) {
    h4, .h4 {
        font-size: calc(35 / 16 * 1rem);
    }
}

body, .body, 
h5, .h5, 
.mod-blog h2, 
.mod-blog .blog-teaser-list .blog-teaser .permalink .text-wrapper .fake-link,
.mod-single-post .info-wrapper .text-wrapper .date, 
.mod-blog .blog-teaser-list .blog-teaser .permalink .text-wrapper .date, 
/* Ninja Forms stuff */
.nf-form-cont .nf-form-content .field-wrap.file_upload-wrap .nf-field-element button,
.nf-form-cont .nf-form-content .field-wrap:not(.listcheckbox-wrap):not(.listradio-wrap) .nf-field-label label, 
.nf-form-cont .nf-error-msg, 
.nf-form-cont .nf-form-content .field-wrap.listradio-wrap li label, 
.nf-form-cont .nf-form-content .field-wrap.submit-wrap .nf-field-element input[type=submit],
.nf-form-cont .nf-form-content .field-wrap.listselect-wrap .nf-field-element select, 
.nf-form-cont .nf-form-content .field-wrap.listcountry-wrap .nf-field-element select {
    font-family: 'Satoshi-Bold', sans-serif;
    font-size: calc(18 / 16 * 1rem);
    line-height: 1.5;
    margin-bottom: 0;
}
body, .body, 
.mod-blog .blog-teaser-list .blog-teaser .permalink .text-wrapper .fake-link,
.mod-blog .blog-teaser-list .blog-teaser .permalink .text-wrapper .date,
.nf-form-cont .nf-form-content .field-wrap:not(.listcheckbox-wrap):not(.listradio-wrap) .nf-field-label label, 
.nf-form-cont .nf-error-msg, 
.nf-form-cont .nf-form-content .field-wrap.listradio-wrap li label, 
.nf-form-cont .nf-form-content .field-wrap.listselect-wrap .nf-field-element select,
.nf-form-cont .nf-form-content .field-wrap.listcountry-wrap .nf-field-element select {
    font-family: 'Satoshi-Regular', sans-serif;
}
@media screen and (min-width: 768px) {
    body, .body, 
    h5, .h5,
    .mod-blog h2, 
    .mod-blog .blog-teaser-list .blog-teaser .permalink .text-wrapper .fake-link,
    .mod-single-post .info-wrapper .text-wrapper .date, 
    .nf-form-cont .nf-form-content .field-wrap.file_upload-wrap .nf-field-element button, 
    .nf-form-cont .nf-form-content .field-wrap:not(.listcheckbox-wrap):not(.listradio-wrap) .nf-field-label label, 
    .nf-form-cont .nf-error-msg, 
    .nf-form-cont .nf-form-content .field-wrap.listradio-wrap li label, 
    .nf-form-cont .nf-form-content .field-wrap.submit-wrap .nf-field-element input[type=submit], 
    .nf-form-cont .nf-form-content .field-wrap.listselect-wrap .nf-field-element select,
    .nf-form-cont .nf-form-content .field-wrap.listcountry-wrap .nf-field-element select  {
        font-size: calc(19 / 16 * 1rem);
    }
}
@media screen and (min-width: 1200px) {
    body, .body, 
    h5, .h5,
    .mod-blog h2, 
    .mod-blog .blog-teaser-list .blog-teaser .permalink .text-wrapper .fake-link,
    .mod-single-post .info-wrapper .text-wrapper .date, 
    .nf-form-cont .nf-form-content .field-wrap.file_upload-wrap .nf-field-element button, 
    .nf-form-cont .nf-form-content .field-wrap:not(.listcheckbox-wrap):not(.listradio-wrap) .nf-field-label label, 
    .nf-form-cont .nf-error-msg, 
    .nf-form-cont .nf-form-content .field-wrap.listradio-wrap li label, 
    .nf-form-cont .nf-form-content .field-wrap.submit-wrap .nf-field-element input[type=submit], 
    .nf-form-cont .nf-form-content .field-wrap.listselect-wrap .nf-field-element select,
    .nf-form-cont .nf-form-content .field-wrap.listcountry-wrap .nf-field-element select {
        font-size: calc(22 / 16 * 1rem);
    }
}

/* non-standard font sizes */

/* Header Home Page */
.mod-text.header-home .text h1 {
    font-family: 'Satoshi-Bold', sans-serif;
    font-size: calc(35 / 16 * 1rem);
    line-height: 1.25;  
    margin-bottom: 0.5em;
}
@media screen and (min-width: 450px) {
.mod-text.header-home .text h1 {
        font-size: calc(40 / 16 * 1rem);
    }
}
@media screen and (min-width: 768px) {
.mod-text.header-home .text h1 {
        font-size: calc(60 / 16 * 1rem);
    }
}
@media screen and (min-width: 1200px) {
.mod-text.header-home .text h1 {
        font-size: calc(100 / 16 * 1rem);
    }
}

/* Teaser Gross */
.mod-teaser-gross .body {
    font-family: 'Satoshi-Bold', sans-serif;
    font-size: calc(26 / 16 * 1rem);
    line-height: 1.25;
}
@media screen and (min-width: 768px) {
    .mod-teaser-gross .body {
        font-size: calc(42 / 16 * 1rem);
    }
}
@media screen and (min-width: 1200px) {
    .mod-teaser-gross .body {
        font-size: calc(60 / 16 * 1rem);
    }
}

/* Header mit Bild Link */
.mod-header-mit-bild .content-wrapper .img-link-wrapper .link {
    font-family: 'Satoshi-Bold', sans-serif;
    font-size: calc(18 / 16 * 1rem);
    line-height: 1.25;
}
@media screen and (min-width: 992px) {
    .mod-header-mit-bild .content-wrapper .img-link-wrapper .link {
        font-size: calc(24 / 16 * 1rem);
    }
}
@media screen and (min-width: 1400px) {
    .mod-header-mit-bild .content-wrapper .img-link-wrapper .link {
        font-size: calc(35 / 16 * 1rem);
    }
}

/* Accordion & Footer & Team Seite */
.mod-accordion .accordion .accordion-item .accordion-header .accordion-button, 
.mod-footer .lead, 
.kdgs-team-item .team-name {
    font-family: 'Satoshi-Bold', sans-serif;
    font-size: calc(18 / 16 * 1rem);
    line-height: 1.25;  
}
@media screen and (min-width: 768px) {
    .mod-accordion .accordion .accordion-item .accordion-header .accordion-button, 
    .mod-footer .lead, 
    .kdgs-team-item .team-name {
        font-size: calc(21 / 16 * 1rem);
    }
}
@media screen and (min-width: 1200px) {
    .mod-accordion .accordion .accordion-item .accordion-header .accordion-button, 
    .mod-footer .lead, 
    .kdgs-team-item .team-name {
        font-size: calc(30 / 16 * 1rem);
    }
}

/* Desktop Navigation */
/**********************/

/* Main Navigation */
.mod-header .main-nav .menu-item {
    font-family: 'Satoshi-Bold', sans-serif;
    font-size: calc(24 / 16 * 1rem);
    line-height: 1.25;
}
@media screen and (min-width: 1200px) {
    .mod-header .main-nav .menu-item {
        font-size: calc(27 / 16 * 1rem);
    }
}
/* Main Navigation (Submenu) & Footer Navigation */
.mod-header .main-nav .sub-menu .menu-item, 
.mod-footer .menu .menu-item {
    font-family: 'Satoshi-Regular', sans-serif;
    font-size: calc(16 / 16 * 1rem);
    line-height: 1.55;
}
@media screen and (min-width: 1200px) {
    .mod-header .main-nav .sub-menu .menu-item,
    .mod-footer .menu .menu-item {
        font-size: calc(18 / 16 * 1rem);
    }
}

/* Meta Navigation */
.mod-header .meta-nav .menu-item {
    font-family: 'Satoshi-Bold', sans-serif;
    font-size: calc(18 / 16 * 1rem);
    line-height: 1.25;
}
@media screen and (min-width: 1200px) {
    .mod-header .meta-nav .menu-item {
        font-size: calc(20 / 16 * 1rem);
    }
}

/* Mobile Navigation */
/**********************/
.mod-header .mobile-main-nav .menu-item {
    font-family: 'Satoshi-Bold', sans-serif;
    font-size: calc(30 / 16 * 1rem);
    line-height: 1.25;
}
.mod-header .mobile-main-nav .sub-menu .menu-item {
    font-family: 'Satoshi-Regular', sans-serif;
    font-size: calc(19 / 16 * 1rem);
    line-height: 1.25;
}
.mod-header .mobile-meta-nav .menu-item {
    font-family: 'Satoshi-Bold', sans-serif;
    font-size: calc(19 / 16 * 1rem);
    line-height: 1.25;
}


/* 
 * Font Color 
 */

body, .body,
.lead, 
h1, .h1, 
h2, .h2,
h4, .h4,
h5, .h5 {
    color: var(--theme-colour-1);
}

h3, .h3 {
    color: var(--theme-colour-2);
}

/*
 * Buttons
 */
.kdgs-button {
    padding: 12px 15px 12px; /* Padding is different from filter list buttons */
    color: var(--theme-colour-1);
    background-color: transparent !important; /* important is necessary bc there is an !important in parent theme */
    border: 2px solid var(--theme-colour-1) !important;
    border-radius: 10px;
    transition: all 0.3s;
    font-family: 'Satoshi-Bold';
}
.kdgs-button:hover {
    color: var(--theme-colour-5);
	background-color: var(--theme-colour-1) !important;
}

/*
 * Links
 */
a:hover {
    text-decoration: none;
}

/**
 * Divider
 */

hr {
    border-top: var(--theme-colour-3) 5px solid;
    padding-top: 20px;
    margin-top: 20px;
    margin-bottom: 0px;
    opacity: 1;
}
@media screen and (min-width: 768px) {
    hr {
        padding-top: 40px;
        margin-top: 40px;
    }
}

/*
 * Navigation
 */

/* General */
/***********/

/* login / logout menu item */
body.logged-in .mod-header .header-wrapper .meta-nav .menu .menu-item-344,
body.logged-in .mod-header .header-wrapper .mobile-meta-nav .menu .menu-item-344 {
    display: none !important;
}
body:not(.logged-in) .mod-header .header-wrapper .meta-nav .menu .menu-item-4153,
body:not(.logged-in) .mod-header .header-wrapper .mobile-meta-nav .menu .menu-item-4153 {
    display: none !important;
}

/* Styling */
/***********/
@media only screen and (min-width: 992px) {
    .mod-header .header-wrapper .main-nav, .mod-header .header-wrapper .meta-nav {
        transition: all .5s;
    }
}
.mod-header .header-wrapper {
    transition: all .5s;
}
@media only screen and (min-width: 992px) {
    body.page-scrolled .mod-header .header-wrapper .main-nav, body.page-scrolled .mod-header .header-wrapper .meta-nav {
        display: block;
        transform: translateY(10px);
        transition: all .5s;
    }
}
@media only screen and (min-width: 992px) {
    body.page-scrolled .mod-header .header-wrapper {
        height: 100px;
        transition: all .5s;
    }
}


/* Desktop Navigation */
/**********************/

/* Space between Main Nav and Meta Nav*/
.mod-header .header-wrapper {
    justify-content: space-between;
}
/* Space between individual Main Nav (and Meta Nav) items */
.mod-header .header-wrapper .main-nav .menu .menu-item:not(:last-child), .mod-header .header-wrapper .meta-nav .menu .menu-item:not(:last-child) {
    margin-right: 20px;
}

/* Main Navigation & Meta Navigation item is underlined when selected or hovered over*/
.mod-header .main-nav .menu-item.current-menu-ancestor,
.mod-header .meta-nav .menu-item.current-menu-ancestor,
.mod-header .main-nav .menu-item.current-menu-item,
.mod-header .meta-nav .menu-item.current-menu-item,
.mod-header .main-nav .menu-item a:hover,
.mod-header .meta-nav .menu-item a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 9px;
}

/* Sub Navigation arrow is hidden */
.mod-header .main-nav .menu-item .sub-menu-arrow {
    display: none;
}
/* Sub Navigation item is bold when selected or hovered over*/
.mod-header .main-nav .sub-menu .menu-item.current-menu-item,
.mod-header .header-wrapper .main-nav .menu .sub-menu .menu-item a:hover {
    font-family: 'Satoshi-Bold', sans-serif;
    text-decoration: none;
}
/* Sub Navigation padding */
.mod-header .header-wrapper .main-nav .menu .menu-item .sub-menu, 
.mod-header .header-wrapper .meta-nav .menu .menu-item .sub-menu {
    padding: 20px 20px;
    width: 320px;
    border-radius: 10px;
    box-shadow: 0px 20px 20px 0px rgba(0,0,0,0.05);
}
.mod-header .header-wrapper .main-nav .menu .menu-item a, .mod-header .header-wrapper .meta-nav .menu .menu-item a {
    text-decoration: none;
    text-underline-offset: 9px;
}

/* Mobile Navigation */
/*********************/

/*  */
.mod-header .header-wrapper .mobile-menu {
    overflow: scroll;
}
/* Hamburger */
.mobile-menu-trigger {
    font-size: 1.5em;
}
/* Sub Nav items is bold when selected */
.mod-header .mobile-main-nav .sub-menu .menu-item.current-menu-item {
    font-family: 'Satoshi-Bold', sans-serif;
}
/* Sub Nav menu padding */
.mod-header .header-wrapper .mobile-menu .mobile-main-nav .menu .menu-item.menu-item-has-children .sub-menu.open {
    padding-bottom: 20px;
}
/* Main Nav item is not indented, and is colored when selected */
.mod-header .header-wrapper .mobile-menu .mobile-main-nav .menu>.menu-item.current_page_item a {
    margin-left: 0px;
    color: var(--theme-colour-3);
}
/* Meta Nav */
.mod-header .mobile-meta-nav .menu {
    display: flex;
    gap: 36px;
}
.mod-header .header-wrapper .mobile-menu .mobile-meta-nav .menu .menu-item a {
    color: var(--theme-colour-3);
}
/* Color */
.mod-header .header-wrapper .mobile-menu {
    background-color: var(--theme-colour-6);
    color: var(--theme-colour-5);
}
.mod-header .header-wrapper .mobile-menu .mobile-main-nav .menu>.menu-item {
    border: none;
}



/* 
 * Header
 */

/* Logo Header */
.mod-header .header-wrapper .home-link .img-wrapper .a-image .a-image__picture img {
    width: 80%;
    margin: auto;
}

/*
 * Footer
 */

/* font styling */
.mod-footer .lead {
    color: var(--theme-colour-2);
}
.mod-footer a {
    text-decoration-color: var(--theme-colour-2);
    text-decoration-thickness: 2px;
    text-underline-offset: 9px;  
}

/* general styling */
.footer-main {
    background-color: var(--theme-colour-4);
    padding: 50px 0;
}
.footer-main .address {
    line-height: 1.6;
}
.mod-footer .footer-main .socials-wrapper {
    display: flex;
    justify-content: center;
    align-items: initial;
    flex-direction: initial;
    gap: 20px;
    padding-bottom: 30px;
}
.mod-footer .socials-wrapper .footer-social-item {
    width: initial;
}
.footer-main .img-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-bottom: 20px;
}
.footer-main .img-wrapper img {
    width: 160px;
    object-fit: contain;
}
.footer-main .text {
    text-align: center;
}
@media screen and (min-width: 576px) {
    .mod-footer .footer-main .socials-wrapper {
        align-items: initial;
        justify-content: flex-start;
        padding-bottom: 0px;
    }
    .footer-main .img-wrapper {
        justify-content: end;
        gap: 30px;
        padding-bottom: 20px;
    }
    .footer-main .img-wrapper img {
        width: 220px;
    }
    .footer-main .text {
        text-align: right;
    }
}


.mod-footer .footer-bottom {
    /* Formerly: --theme-colour-7 */
    background-color: var(--theme-colour-2);
}
.mod-footer .footer-bottom .menu {
    justify-content: center;
}
.footer-bottom .menu .menu-item a {
    color: var(--theme-colour-5); 
}
@media screen and (min-width: 576px) {
    .mod-footer .footer-bottom .menu {
        justify-content: flex-start;
    }
}

.wpml-ls-statics-footer {
    display: none;
}

/* 
 * News CPT
 */

.mod-teaserkacheln hr {
    display: none;
}
.mod-filter-list .taxonomy-filter .filter-label {
    display: none;
}
/* styling buttons */
.kdgs-filter-list-filters .radio-filter-label { /* Standard styling */
    padding: 8px 15px 8px;
    color: var(--theme-colour-1);
    background-color: transparent;
    border: 2px solid var(--theme-colour-1) !important;
    border-radius: 10px;
    transition: all 0.3s;
    font-family: 'Satoshi-Bold';
}
.kdgs-filter-list-filters .radio-filter:checked + .radio-filter-label, /* If the button is selected (one filter is always selected) */
.kdgs-filter-list-filters .radio-filter-label:hover  { /* if the button is hovered over */
    color: var(--theme-colour-5);
	background-color: var(--theme-colour-1);
}
/* Filter Buttons Margins */
.kdgs-filter-list-filters .taxonomy-filter > * {
    margin: 0 !important; /* Needed because stylesheet of filter-list is loaded after style sheet of child theme */
}
.kdgs-filter-list-filters .taxonomy-filter {
    gap: 16px;
}
.mod-filter-list .kdgs-filter-list-filters {
    padding-bottom: 1.2em;
    padding-left: 8px
}


/* 
 * Blog CPT (Standard Beitrag)
 */

/* Single Post */
.mod-single-post{
    padding-bottom: 70px;
}
.mod-single-post .svg-icon {
    display: none;
}
.mod-single-post .info-wrapper .backlink {
    position: relative;
    padding-left: 4em;
    margin-bottom: 20px;
    margin-top: 40px;
    font-family: 'Satoshi-Bold', sans-serif;
}
.mod-single-post .icon-wrapper::after {
    content: '';
    display: block;
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 27.4.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Ebene_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 75.374 27.918' style='enable-background:new 0 0 75.374 27.918;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23418BCA;%7D%0A%3C/style%3E%3Cpath id='Pfad_178' class='st0' d='M61.418,0L58.5,2.918l8.959,8.957H0v4.166h67.46L58.5,25l2.919,2.918l13.955-13.959L61.418,0z'/%3E%3C/svg%3E%0A");
    width: 3em;
    height: 1em;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 0.25em; /* (0.125 from lineheight, 0.125 from height (1 - 0.75)) */
    transition: left 0.5s;
    transform: scaleX(-1);
}
.mod-single-post .info-wrapper .text-wrapper {
    font-family: 'Satoshi-Bold', sans-serif;
}

/* Comments */
/************/

/* Comment */
.mod-single-post .comment-list li.comment {
    border-top: 3px solid var(--theme-colour-7);
    margin-top: 3em;
    padding-top: 1.8em;
}
.mod-single-post .comment-profile img {
    display: none;
}
.mod-single-post .author-text {
    padding-left: 0px;
}
.mod-single-post .comment-list {
    padding-left: 0;
}
.mod-single-post .comment {
    padding: 0 5px;
}

/* Reply Form: Title above textarea */
.mod-single-post .logged-in-as,
.mod-single-post .comment-form-comment label,
.mod-single-post .comment-reply-login {
    display: none;
}
.mod-single-post .comment-author a {
    pointer-events: none;
    text-decoration: none;
}
.mod-single-post .comment-author cite {
    font-style: normal;
}
.mod-single-post .comment-author {
    font-family: 'Satoshi-Bold';
}
.mod-single-post .commentmetadata {
    font-size: 1rem;
    padding: 10px 0 15px;
}
.mod-single-post .comment-author .says {
    display: none;
}
/* Cancel reply link */
.mod-single-post .comment-reply-title {
    display: flex;
    justify-content: space-between;
}
.comment-body {
    position: relative;
}
.reply {
    position: absolute;
    right:0;
    top:0;
}
.comment-reply-title {
    padding-top: 10px;
}


/* Comment Metadata */
.mod-single-post .commentmetadata a {
    pointer-events: none;
    text-decoration: none;
}
.mod-single-post .comment-edit-link {
    display: none;
}

/* Reply Form: textarea */
.mod-single-post .comment-form-comment {
    margin-bottom: 0;
}
.mod-single-post .comment-form-comment textarea {
    border: 2px solid var(--theme-colour-1);
    border-radius: var(--form-field-border-radius);
    transition: all .5s;
    padding: 10px 22px;
    width: 100%;
}
@media screen and (min-width: 992px) {
    .mod-single-post .comment-form-comment textarea {
        width: 50%;
    }
}
.mod-single-post .comment-form-comment textarea:focus-visible {
    outline: none;
    border-width: 5px;
    transition: all .5s;
}
/* Reply Form: button */
.mod-single-post .form-submit {
    margin-top: 20px;
}
.mod-single-post .submit { /* Standard styling */
    padding: 8px 15px 8px;
    color: var(--theme-colour-1);
    background-color: transparent;
    border: 2px solid var(--theme-colour-1) !important;
    border-radius: 10px;
    transition: all 0.3s;
    font-family: 'Satoshi-Bold';
}
.mod-single-post .submit:hover  { /* if the button is hovered over */
    color: var(--theme-colour-5);
	background-color: var(--theme-colour-1);
}

/*
 * User CPT
 */

/* Archive Seite*/
.kdgs-filter-list-user .kdgs-filter-row {
    align-items: center;
}
.kdgs-filter-list-user .horizontal-rule {
    border-bottom: 3px solid var(--theme-colour-4);
}
.kdgs-filter-list-user .horizontal-rule:first-of-type {
    border-top: 3px solid var(--theme-colour-4);
}
.kdgs-filter-list-user .item--content {
    padding: 3px 0px;
}
.kdgs-filter-list-user .kdgs-filter-item:not(:last-of-type) {
    border-bottom: 1px solid var(--theme-colour-4);
}
@media screen and (min-width: 992px) {
    .kdgs-filter-list-user .kdgs-filter-item:not(:last-of-type) {
        border: none;
    }
}
/* Text overflow */
.kdgs-filter-list-user .item--content {
    overflow: hidden;
    text-overflow: ellipsis;
}

/**
 * Individual Pages
 */

/* Home Page  */
/**************/

.mod-text.header-home .text h1 {
    position: relative;

    padding-top: 0.5em;
    padding-bottom: 0.5em;
    margin-top: 1em;
    margin-bottom: 1em;
}
.mod-text.header-home .text h1::after {
    content:'';
    background-color: var(--theme-colour-3);
    display: inline-block;
    width: 4.75em;
    height: 4.75em;
    border-radius: 2.375em;
    position: absolute;
    right: 10px;
    top: 0;
    z-index: -1;
}
@media screen and (min-width: 768px) {
    .mod-text.header-home .text h1::after {
        right: 10px;
    }
}
@media screen and (min-width: 768px) {
    .mod-text.header-home .text h1::after {
        right: -30px;
    }
}
@media screen and (min-width: 992px) {
    .mod-text.header-home .text h1::after {
        right: 70px;
    }
}
@media screen and (min-width: 1200px) {
    .mod-text.header-home .text h1::after {
        right: -35px;
    }
}
@media screen and (min-width: 1400px) {
    .mod-text.header-home .text h1::after {
        right: -10px;
    }
}
@media screen and (min-width: 1800px) {
    .mod-text.header-home .text h1::after {
        right: 105px;
    }
}


/* 
 * 'xs'     => max-width: 575px
 * 'sm'     => min-width: 576px
 * 'md'     => min-width: 768px
 * 'lg'     => min-width: 992px
 * 'xl'     => min-width: 1200px
 * 'xxl'    => min-width: 1400px
 * 'xxxl'   => min-width: 1800px
*/

/*
 * Blöcke
 */

/* Header mit Bild*/
/******************/

/* Remove br on small viewport */
.mod-header-mit-bild br {
    display: initial;
}
@media screen and (min-width: 420px) {
    .mod-header-mit-bild br {
        display: none;
    }
}
@media screen and (min-width: 768px) {
    .mod-header-mit-bild br {
        display: initial;
    }
}

/* column width */
@media screen and (min-width: 768px) {
    .mod-header-mit-bild .content-wrapper {
        height: 220px;
        padding-bottom: 30px;   
    }
    .mod-header-mit-bild .column-left {
        width: 50%;
    }
    .mod-header-mit-bild .column-right {
        width: 50%;
    }
}
@media screen and (min-width: 992px) {
    .mod-header-mit-bild .content-wrapper {
        height: 290px;
    }
}
@media screen and (min-width: 1200px) {
    .mod-header-mit-bild .content-wrapper {
        height: 330px;
    }
}
@media screen and (min-width: 1400px) {
    .mod-header-mit-bild .content-wrapper {
        height: 420px;
    }
    .mod-header-mit-bild .column-left {
        width: 45%;
    }
    .mod-header-mit-bild .column-right {
        width: 55%;
    }
}
@media screen and (min-width: 1800px) {
    .mod-header-mit-bild .content-wrapper {
        height: 490px;
    }
}
.mod-header-mit-bild .content-wrapper .img-link-wrapper .link {
    padding: 20px;
}

/* Accordion */
/*************/
.mod-accordion .accordion .accordion-item {
    border-color: var(--theme-colour-4);
}
.accordion-flush .accordion-item {
    border-width: 4px;
}
.mod-accordion .accordion .accordion-item:last-child {
    border-bottom: 4px solid var(--theme-colour-4);
}

/* Teaser Gross */
/****************/
.mod-teaser-gross .teaser-wrapper {
    border-radius: var(--image-border-radius);
    overflow: hidden;
}
.mod-teaser-gross .teaser-wrapper .img-wrapper {
    filter: brightness(0.8);
}
.mod-teaser-gross .link-wrapper {
    display: flex;
    justify-content: center;
}
/* Padding top, bottom &&& Padding between text and link */
.mod-teaser-gross .teaser-wrapper .text-wrapper {
    padding: 35px 15px;
}
.mod-teaser-gross .teaser-wrapper .text-wrapper .link-wrapper {
    padding-top: 10px;
}
@media screen and (min-width: 768px) {
    .mod-teaser-gross .teaser-wrapper .text-wrapper {
        padding: 50px;
    }
    .mod-teaser-gross .teaser-wrapper .text-wrapper .link-wrapper {
        padding-top: 15px;
    }
}
@media screen and (min-width: 1200px) {
    .mod-teaser-gross .teaser-wrapper .text-wrapper {
        padding: 80px 50px 80px;
    }    
    .mod-teaser-gross .teaser-wrapper .text-wrapper .link-wrapper {
        padding-top: 25px;
    }
}

/* Teaserkacheln */
/*****************/
.mod-teaserkacheln .title {
    font-family: 'Satoshi-Bold', sans-serif;
}
.mod-teaserkacheln .teaser-container .link {
    font-family: 'Satoshi-Bold', sans-serif;
    text-decoration-color: var(--theme-colour-3);
    text-decoration-thickness: 2px;
    text-underline-offset: 9px;  
}
.mod-teaserkacheln .teaser-container .teaser-link:hover .link {
    text-decoration: none;
}
.mod-teaser-gross .teaser-wrapper .text-wrapper a {
    font-family: 'Satoshi-Bold', sans-serif;
    color: var(--theme-colour-5);
    text-decoration-color: var(--theme-colour-3);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}
@media screen and (min-width: 1200px) {
    .mod-teaser-gross .teaser-wrapper .text-wrapper a {
        text-underline-offset: 9px;
    }
}

/* Blog Block */
/**************/
.mod-blog h2 {
    margin-bottom: 0px;
}
.mod-blog .filter-container .filter-radio-container {
    flex-wrap: wrap;
}
.mod-blog .blog-teaser-list .blog-teaser .permalink .text-wrapper .fake-link {
    font-family: 'Satoshi-Bold', sans-serif;
    text-decoration-color: var(--theme-colour-3);
    text-decoration-thickness: 2px;
    text-underline-offset: 9px;
}
.mod-blog .blog-teaser-list .blog-teaser .permalink .text-wrapper .date {
    margin: 1.8em 0 0.3em;
    height: initial;
}
/* styling buttons */
.mod-blog .filter-container .filter-radio-container .filter-item-label { /* Standard styling */
    padding: 8px 15px 8px;
    color: var(--theme-colour-1);
    background-color: transparent;
    border: 2px solid var(--theme-colour-1) !important;
    border-radius: 10px;
    transition: all 0.3s;
    font-family: 'Satoshi-Bold';
}
.mod-blog .filter-container .filter-radio-container .filter-item-radio:checked+.filter-item-label, /* If the button is selected (one filter is always selected) */
.mod-blog .filter-container .filter-radio-container .filter-item-label:hover  { /* if the button is hovered over */
    color: var(--theme-colour-5);
	background-color: var(--theme-colour-1);
}
/* Distance between Categories and content */
.mod-blog .filter-container .filter-radio-container {
    margin-bottom: 1.2em;
}
@media screen and (min-width: 768px) {
    .mod-blog .filter-container .filter-radio-container {
        margin-bottom: 1.2em;
    }
}
/* styling categories */
.mod-blog .filter-container .filter-radio-container .filter-item-label:first-of-type {
    margin-right: 0px;
}
.mod-blog .filter-container .filter-radio-container .filter-item-label {
    margin: 0px;
}
.filter-radio-container {
    display: flex;
    gap: 16px;
}
/* hover action */
.mod-blog .blog-teaser-list .blog-teaser .permalink:hover .fake-link {
    text-decoration: none;
}

/* Seitenteaser */
/****************/
.mod-seitenteaser .link {
    position: relative;
    padding-left: 2.5em;
}
.mod-seitenteaser .icon-wrapper::after {
    content: '';
    display: block;
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 27.4.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Ebene_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 75.374 27.918' style='enable-background:new 0 0 75.374 27.918;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23418BCA;%7D%0A%3C/style%3E%3Cpath id='Pfad_178' class='st0' d='M61.418,0L58.5,2.918l8.959,8.957H0v4.166h67.46L58.5,25l2.919,2.918l13.955-13.959L61.418,0z'/%3E%3C/svg%3E%0A");
    width: 1.8em;
    height: 0.75em;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 0.25em; /* (0.125 from lineheight, 0.125 from height (1 - 0.75)) */
    transition: left 0.5s;
}
.mod-seitenteaser .link:hover .icon-wrapper::after {
    left: 10px;
}
.mod-seitenteaser .svg-icon {
    display: none;
}
/* Remove margin right */
.mod-seitenteaser .image-teaser-container .row .text-wrapper .link .icon-wrapper {
     margin-right: 0; 
}

/* Video */
/*********/
.mod-video-lightbox .img-wrapper .a-image {
    filter: brightness(0.8);
}

/* Text-Bild */
/*************/
.mod-text-bild .img-pos-right {
    flex-direction: column-reverse;
}
.mod-text-bild .column-mid {
    padding: 10px 0 10px;
}
@media screen and (min-width: 400px) {
    .mod-text-bild .img-wrapper img {
        width: 50%;
        margin: auto;
    }
}
@media screen and (min-width: 768px) {
    .mod-text-bild .img-pos-right {
        flex-direction: row;
    }
    .mod-text-bild .img-wrapper img {
        width: 100%;
    }
}
/* Left and right padding */
@media screen and (min-width: 992px) {
    .mod-text-bild .row {
        padding: 0px 60px;
    }
}
@media screen and (min-width: 1200px) {
    .mod-text-bild .row {
        padding: 0px 100px;
    }
}


/* 
 * Plugins 
 */

/* KDGS Team */
.kdgs-team-item .team-image {
    padding-top: 100%;
    border-radius: var(--image-border-radius);
    overflow: hidden;
}
.kdgs-team-item .team-name {
    padding-bottom: 0.8em;
}
.kdgs-team-item .team-content {
    font-family: 'Satoshi-Bold', sans-serif;
    padding-top: 0.8em;
}
.kdgs-team-item .team-telefon a, 
.kdgs-team-item .team-email a {
    text-decoration-color: var(--theme-colour-3);
    text-decoration-thickness: 2px;
}


/* Ninja Forms */
.nf-form-content {
    margin-left: 0 !important;
}
/* Margin between form items */
.nf-form-cont .nf-form-content .nf-field-container {
    margin-bottom: 30px;
}
@media screen and (min-width: 1200px) {
    .nf-form-cont .nf-form-content .nf-field-container {
        margin-bottom: 35px;
    }
}
.nf-form-cont .nf-response-msg.show-tick:before {
    display: none;
}
/* style User management "wrong password" Error message properly */
.nf-error-msg.nf-error-user-management::before {
    display: none;
}
.nf-form-cont .nf-error .nf-error-user-management {
    padding-left: 0px;
}
textarea::-webkit-resizer {
    display: none;
}
/* Remove blue border checkbox and radiobutton */
input[type=checkbox]:focus+label:after, input[type=radio]:focus+label:after {
    box-shadow: none !important;
}


/**
 * Pages
 */

/* 404 Page */
.mod-404 {
    padding: 30px 0;
}

.mod-404 .back-home a {
    text-decoration-thickness: 2px;
    text-underline-offset: 9px;
}


/* Become a member Page */
.ninja-forms-noscript-message + a {
    pointer-events: none;
    text-decoration: none;
}
