/*
Theme Name: Ewiger Bund Theme
Theme URI: https://ewigerbund.org/
Author: Jan-Nikolas Othersen
Author URI: https://nikoothersen.de/
Description: Spezialtheme für den Ewigen Bund.
Tags: Vaterländischer Hilfsdienst, Ewiger Bund, VHD, Bismarcks Erben
Version: 0.10.2
*/


/* === FONTS === */

@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/* === SCROLLBAR === */


/*
::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border: 0.5px solid #818B91;
}

::-webkit-scrollbar-track:active {
    background: #fff;
}

::-webkit-scrollbar-thumb {
    background: #818B91;
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 15%, rgba(255,255,255,1) 16%, rgba(255,255,255,1) 84%, rgba(0,0,0,1) 85%, rgba(0,0,0,1) 100%);
    border: 2px solid #F1F1F1;
    border-radius: 35px;
}

::-webkit-scrollbar-thumb:hover {
    background: #304148;
    background: linear-gradient(0deg, rgba(187,30,16,1) 0%, rgba(187,30,16,1) 32%, rgba(255,255,255,1) 33%, rgba(255,255,255,1) 66%, rgba(0,0,0,1) 67%, rgba(0,0,0,1) 100%);
    border: 2px solid #FFF;
}

/* === GLOBALS === */

* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto';
    color: #304148;
    background-color: white;
}

a {
    color: #E42313;
    text-decoration: none;
}

a:hover {
    color: #000;
    text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Raleway';
}

img {
    max-width: 100%;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1em;
}

@media screen and (max-width: 1023px) {
    .container.headline {
        padding: 0;
    }
    .kein-mobil {
        display: none;
    }
}

@media screen and (min-width: 1024px) {
    .container {
        width: 90%;
    }
    .headline {
        height: 270px;
        display: flex;
    }
    .headline>h1 {
        display: flex;
        justify-content: left;
        align-items: center;
    }
    .kein-desktop {
        display: none;
    }
}

@media screen and (min-width:1600px) {
    .container-1700 {
        margin: 0 auto;
    }
}

@media screen and (min-width: 1920px) {
    .container,
    .container-1700 {
        width: 1600px;
    }
    .headline {
        height: 270px;
        display: flex;
    }
    .headline>h1 {
        display: flex;
        justify-content: left;
        align-items: center;
    }
}

.flex-container {
    display: flex;
}

ul,
ol {
    padding: 0;
    list-style-position: inside;
}

.slick-slide {
    margin: 1em 1em 0em;
}

.capital {
    text-transform: capitalize;
}


/* === TOP-BAR === */

.site-top-bar {
    display: none;
}

@media screen and (min-width:1024px) {
    .site-top-bar {
        display: block;
        width: 100%;
        height: 40px;
        background: #818B91;
        margin: 0;
        padding: 0;
    }
    .site-top-bar ul {
        float: right;
        padding: .75em 1rem;
        margin: 0;
    }
    .site-top-bar li {
        margin: 0;
        display: inline;
    }
    .site-top-bar li::after {
        content: "";
        padding-right: 1em;
        border-right: 1px solid white;
    }
    .site-top-bar li:nth-of-type(4):after,
    .site-top-bar li:nth-of-type(5):after {
        content: "";
        padding-right: 0;
        border-right: 0px solid white;
    }
    .site-top-bar li:nth-of-type(5):after {
        margin-right: 2em;
    }
    .site-top-bar li::before {
        color: white;
        content: "";
        padding-left: .75em;
    }
    .site-top-bar li:nth-of-type(5):before {
        content: "";
        padding-left: .2em;
        border-right: 0px solid white;
    }
    .site-top-bar li a {
        color: white;
        text-decoration: none;
    }
    .site-top-bar li a:hover {
        color: #304148;
        text-decoration: none;
    }
}


/* === HEADER === */

.site-header {
    background: white;
    width: 100%;
}

.site-header>.container {
    min-height: 152px;
}

.site-header .flex-container {
    justify-content: space-between;
    width: 100%;
}

.header-box {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0 auto;
    justify-content: center;
    text-align: center;
    align-items: center;
}

.header-suche {
    display: flex;
    align-items: center;
}

.toggle-box {
    text-align: center;
}

@media screen and (min-width:1024px) {
    .header-box {
        justify-content: flex-start;
        padding: 1em 0/* 1em 3.25em*/
        ;
        margin: 0;
        flex-direction: row;
        text-align: left;
    }
    .header-box>div {
        margin-left: .5em;
        padding-top: 1em;
    }
}


/*
@media screen and (min-width:1250px) {
    .header-box {
        width: 750px;
    }
}

@media screen and (min-width:1400px) {
    .header-box {
        width: 900px;
    }
}

@media screen and (min-width:1500px) {
    .header-box {
        width: 1000px;
    }
}

@media screen and (min-width:1650px) {
    .header-box {
        width: 1200px;
    }
}

@media screen and (min-width:1850px) {
    .header-box {
        width: 1400px;
    }
}
*/

.custom-logo {
    display: block;
}

.site-search {
    display: none;
    float: right;
}

@media screen and (min-width:1024px) {
    .site-search {
        display: inline-block;
        /*position: relative;*/
        height: 36px;
        z-index: 1;
    }
    .custom-form>input:first-of-type {
        height: 36px;
        width: 250px;
        margin-top: .2em;
    }
    form.site-search>div.custom-form>.searchsubmit {
        display: inline;
        border: none;
        background: transparent;
        height: 40px;
        width: 40px;
        color: #818B91;
    }
    .searchsubmit:before {
        height: 40px;
        width: 40px;
        font-size: 1.3em;
    }
}

.header-box>div>a {
    font-weight: 400;
    font-size: .875em;
    color: #304148;
    text-decoration: none;
    display: block;
}

.header-box>div>a:first-child {
    font-weight: 500;
    font-size: 2.125em;
    padding-bottom: .2em;
}

.header-box>div>a:last-child {
    padding-bottom: 1.2em;
}


/* === NAVIGATION === */

.js .menu-hauptnavigation-container {
    display: none;
    position: relative;
    width: 100%;
    background: white;
}

.eb-menu-on,
.eb-menu-off {
    position: relative;
    width: 100%;
    display: block;
    background: #D1D7DA;
    color: #304148;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.5em;
    padding: .5em 0 .3em;
    margin-top: 5px;
    border-top: 1px solid #D1D7DA;
}

.site-header>.header-box>.eb-menu-off {
    background: white;
    border-top: 1px solid #E42313;
    color: #818B91;
}

.eb-menu-on>span,
.eb-menu-off>span {
    display: inline-block;
    width: 1.2em;
}

.eb-menu-on>span:before {
    content: "\002630";
}

.eb-menu-off>span:before {
    content: "\002715";
}

#menu-hauptnavigation>.current-menu-item>a {
    color: #E42313;
    font-weight: bolder;
}

#menu-hauptnavigation>.current-menu-item:hover>a {
    color: white;
}

.site-header>nav>ul {
    margin: 0 auto;
    max-width: 1600px;
}

.menu-hauptnavigation-container ul>li,
.site-header>.menu ul>li {
    display: block;
    text-transform: uppercase;
    text-align: center;
    padding: 1rem;
    font-weight: 500;
}

.menu-hauptnavigation-container>ul>li>a,
.site-header>.menu>ul>li>a {
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Roboto';
    text-decoration: none;
    color: #304148;
    transition: color .2s linear 0s;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.menu-hauptnavigation-container>ul>li:hover,
.site-header>.menu>ul>li:hover {
    background-color: #C64238;
}

.menu-hauptnavigation-container>ul>li:hover>a,
.site-header>.menu>ul>li:hover>a,
.site-header>.menu>ul>li.open-parent>a {
    color: white;
}


/* hier war das menu */

@media screen and (min-width:1024px) {
    .js .site-header>nav {
        display: block;
        position: relative;
        background-color: #D1D7DA;
    }
    #toggle-nav {
        display: none;
    }
    #menu-hauptnavigation>.current-menu-item {
        background-color: white;
        border-top: .2px solid #E42313;
    }
    #menu-hauptnavigation>.current-menu-item>a {
        color: #818B91;
        font-weight: 500;
    }
    #menu-hauptnavigation>.current-menu-item:hover>a {
        color: #304148;
    }
    /*.menu-hauptnavigation-container,*/
    .site-header>nav {
        display: block;
        position: relative;
        clear: both;
        background-color: #D1D7DA;
        border-bottom: 0.2px solid white;
    }
    .site-header>nav>ul {
        display: flex;
        /*justify-content: space-around;*/
        list-style: none;
        width: 100%;
        height: 3.2em;
    }
    .site-header>nav>ul>li {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
        min-width: 10em;
        width: 20%;
        height: 100%;
        background-color: #D1D7DA;
        border: .2px solid white;
        border-top: .2px solid transparent;
        border-width: .2px 0 0 .2px;
        font-size: .75em;
        transition: background-color .2s linear 0s, border-top .2s linear 0s;
    }
    .site-header>nav>ul>li:hover {
        background-color: white;
        border-top: .2px solid #E42313;
    }
    .site-header>nav>ul>li:hover>a {
        color: #818B91;
    }
}

@media screen and (min-width:1275px) {
    .menu-hauptnavigation-container>ul>li,
    .site-header>.menu>ul>li {
        background-color: #D1D7DA;
        text-align: center;
        min-width: 10rem;
        font-weight: 500;
    }
    .menu-hauptnavigation-container>ul>li:first-of-type,
    .site-header>.menu>ul>li:first-of-type {
        margin-left: 1.35%;
    }
    .menu-hauptnavigation-container>ul>li:last-of-type,
    .site-header>.menu>ul>li:last-of-type {
        margin-right: 1.35%;
        border-right: .2px solid white;
    }
    .menu-hauptnavigation-container>ul>li:hover,
    .site-header>.menu>ul>li:hover {
        background-color: white;
        border-top: .2px solid #E42313;
    }
    .menu-hauptnavigation-container>ul>li:hover>a,
    .site-header>.menu>ul>li:hover>a {
        color: #818B91;
    }
}


/*
@media screen and (min-width:1700px) {
    .menu-hauptnavigation-container>ul,
    .site-header>.menu>ul {
        height: 3.8em;
    }
    .menu-hauptnavigation-container>ul>li,
    .site-header>.menu>ul>li {
        min-width: 15rem;
        font-size: 1.2em;
    }
    .menu-hauptnavigation-container>ul>li>a,
    .site-header>.menu>ul>li>a {
        font-family: 'Roboto';
        font-size: .938em;
        text-decoration: none;
        color: #304148;
        transition: color .2s linear 0s;
    }
    .menu-hauptnavigation-container>ul>li:hover,
    .site-header>.menu>ul>li:hover {
        background-color: white;
        border-top: .2px solid #E42313;
    }
    .menu-hauptnavigation-container>ul>li:hover>a,
    .site-header>.menu>ul>li:hover>a {
        color: #818B91;
    }
}


/* === UNTERNAVIGATION === */

.eb-menu-ar {
    display: none;
}

.menu-item-has-children>.eb-menu-ar::before {
    content: '>';
}

.menu-item-has-children>.eb-menu-ab::before {
    content: '<';
}

.sub-menu .eb-menu-ar::before {
    display: none;
}

.menu-item-has-children>.eb-menu-ar,
.menu-item-has-children>.eb-menu-ab {
    position: absolute;
    display: inline;
    right: 0;
    top: 0;
    padding: 1em;
}

ul>li>ul.sub-menu,
ul.sub-menu .eb-menu-ar~ul.sub-menu {
    display: none;
    position: relative;
    font-size: 1em;
}


/* zweiter Teil vom menu */

.eb-menu-ab~ul.sub-menu .eb-menu-ab~ul.sub-menu {
    z-index: 2;
}

.eb-menu-ab~ul.sub-menu .eb-menu-ab~ul.sub-menu .eb-menu-ab~ul.sub-menu {
    z-index: 3;
}


/*
.eb-menu-ab ~ ul.sub-menu > li:hover {
    background-color: #C64238;
}

.eb-menu-ab ~ ul.sub-menu > li:hover > a {
    color: #E42313;
}
*/

.eb-menu-ab~ul.sub-menu>li:first-of-type {
    border-top: 1.5px solid #304148;
}

.eb-menu-ab~ul.sub-menu>li:last-of-type {
    border-bottom: 1px solid #E42313;
}

@media screen and (min-width:1024px) {
    .menu-item-has-children .eb-menu-ar,
    .menu-item-has-children .eb-menu-ab,
    .eb-menu-ab~ul.sub-menu {
        display: none;
        clear: both;
    }
    .menu-hauptnavigation-container ul.sub-menu>li>a {
        font-size: .9rem;
        text-decoration: none;
        text-transform: none;
        font-weight: 500;
        color: #304148;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        width: 100%;
    }
    /*.menu-hauptnavigation-container>ul>.current-menu-parent>ul.sub-menu,*/
    .menu-hauptnavigation-container ul>li:hover>ul.sub-menu {
        background-color: white;
        display: flex;
        justify-content: space-between;
        position: absolute;
        top: 100%;
        left: 0;
        list-style: none;
        width: 100%;
        height: 3.2rem;
        z-index: 1;
    }
    .menu-hauptnavigation-container>ul>.current-menu-parent>ul.sub-menu {
        z-index: 0;
    }
    ul>li>ul.sub-menu>li:hover ul.sub-menu {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        list-style: none;
        width: 100%;
        height: 4.6em;
    }
    ul.menu>.current-menu-parent {
        background-color: white;
        border-top: .2px solid #E42313;
    }
    ul>li>ul.sub-menu>li {
        background: white;
        padding: .8em 0 0;
        margin: 0 auto;
        width: 100%;
        height: 100%;
        position: relative;
        border-right: .5px solid #304148;
        display: flex;
    }
    ul>li>ul.sub-menu .current-menu-item {
        background-color: rgba(048, 065, 072, 0.7);
    }
    .menu-hauptnavigation-container>ul>li>ul.sub-menu>.current-menu-item>a {
        color: white;
    }
    .menu-hauptnavigation-container>ul>li>ul.sub-menu>li {
        justify-content: center;
        align-items: center;
        padding: 0;
    }
    .menu-hauptnavigation-container>ul>li>ul.sub-menu>li:last-of-type {
        border-right: .5px solid transparent;
    }
    #menu-hauptnavigation>.current-menu-item:hover {
        background-color: rgba(255, 255, 255, 0.9);
        border-top: .2px solid #E42313;
    }
    .menu-hauptnavigation-container ul.sub-menu>li ul.sub-menu>li {
        display: flex;
        justify-content: center;
        align-items: center;
        background: white;
        width: 100%;
        height: 2.6em;
        margin: 0 auto;
        padding: 0;
        border-right: 0px solid transparent;
        position: relative;
    }
    .menu-hauptnavigation-container>ul>li ul.sub-menu>li:hover {
        background-color: rgba(048, 065, 072, 0.7);
    }
    .menu-hauptnavigation-container>ul>li ul.sub-menu>li:hover>a {
        color: white;
    }
    .menu-hauptnavigation-container ul.sub-menu li ul.sub-menu li:hover {
        background-color: rgba(228, 35, 19, 0.7);
    }
    ul.sub-menu li ul.sub-menu li ul.sub-menu {
        display: none;
    }
    ul.sub-menu li ul.sub-menu li:hover ul.sub-menu {
        display: block;
        position: absolute;
        top: 0;
        left: 100%;
    }
    ul.sub-menu li:last-of-type ul.sub-menu li:hover ul.sub-menu {
        left: -100%;
    }
    ul.sub-menu li ul.sub-menu li:hover ul.sub-menu>li {
        border: 1px solid #304148;
    }
    ul.sub-menu li ul.sub-menu li:hover ul.sub-menu>li:hover {
        background-color: rgb(048, 065, 072);
        border: 1px solid white;
    }
    ul.sub-menu li ul.sub-menu li:hover ul.sub-menu>li>a {
        width: 100%;
        white-space: nowrap;
        padding: 0 1em;
    }
}


/*
@media screen and (min-width:1700px) {
    .menu-hauptnavigation-container>ul>.current-menu-parent>ul.sub-menu,
    .menu-hauptnavigation-container ul>li:hover>ul.sub-menu {
        height: 4.6rem;
    }
    ul>li>ul.sub-menu>li:hover ul.sub-menu {
        top: 100%;
        height: 4.6rem;
    }
    .menu-hauptnavigation-container ul.sub-menu>li>a {
        font-size: 1rem;
        text-decoration: none;
        text-transform: none;
        font-weight: 400;
        color: #304148;
        width: 100%;
    }
    .menu-hauptnavigation-container>ul>.current-menu-parent>ul.sub-menu,
    .menu-hauptnavigation-container>ul>li:hover>ul.sub-menu {
        display: flex;
        justify-content: space-between;
        position: absolute;
        top: 100%;
        left: 0;
        list-style: none;
        width: 100%;
        height: 2.6rem;
    }
}


/* === BANNER === */

.eb-seiten-banner,
.eb-banner {
    position: absolute;
    z-index: -1;
}

.eb-banner {
    width: 100%;
    height: 270px;
}

@media screen and (max-width:1023px) {
    #front-page>.eb-seiten-banner {
        width: 100%;
        height: 480px;
    }
    #front-page>.eb-banner-text {
        height: 400px;
        display: flex;
        align-items: center;
    }
    .eb-banner {
        width: 100%;
        height: 270px;
    }
    .site-main>div:nth-of-type(2) {
        padding-top: 214px;
    }
}

@media screen and (min-width:1024px) {
    #front-page>.eb-seiten-banner {
        width: 100%;
        height: 760px;
    }
    #front-page>.eb-banner-text {
        height: 660px;
        display: flex;
        align-items: center;
    }
}


/* === FRONT-PAGE === */

#front-page {
    min-height: 760px;
}

#front-page .eb-banner-text>article:first-of-type {
    width: 100%;
    height: auto;
    background: none;
}

#front-page .eb-banner-text>article:first-of-type h1 {
    letter-spacing: 3px;
    font-weight: 400;
    margin: 0;
    /*text-shadow: 0px 0px 5px #818B91;*/
    font-size: 5.255vw;
}

#front-page .eb-banner-text>article:first-of-type h2 {
    margin: 0;
    /*text-shadow: 0px 0px 5px #818B91;*/
    font-size: 4.7vw;
}

#front-page .eb-banner-text>article:first-of-type p {
    font-size: 1.1em;
    /*text-shadow: 0px 0px 5px #818B91;*/
    font-size: 1.84vw;
}

@media screen and (min-width:400px) {
    #front-page .eb-banner-text>article:first-of-type h1 {
        font-weight: 600;
        /*font-size: 2em;*/
        margin: 0;
    }
    #front-page .eb-banner-text>article:first-of-type h2 {
        margin: 0;
        /*font-size: 1.8em;*/
    }
    #front-page .eb-banner-text>article:first-of-type p {
        margin: 0;
        padding: .5em 1.5em 0;
    }
}

@media screen and (min-width:480px) {
    #front-page .eb-banner-text>article:first-of-type p {
        padding: .5em 4.5em 0;
    }
}

@media screen and (min-width:600px) {
    #front-page .eb-banner-text>article:first-of-type h1 {
        font-weight: 600;
        /*font-size: 3em;*/
        padding-top: 1.3em;
        margin: 0;
    }
    #front-page .eb-banner-text>article:first-of-type h2 {
        margin: 0;
        /*font-size: 2.5em;*/
    }
    #front-page .eb-banner-text>article:first-of-type p {
        /*font-size: 1.5em;*/
        margin: 0;
        padding: 1em 1em 0;
    }
}

@media screen and (min-width:700px) {
    #front-page .eb-banner-text>article:first-of-type p {
        padding: 1em 3em 0;
    }
}

@media screen and (min-width:770px) {
    #front-page .eb-banner-text>article:first-of-type p {
        padding: 1em 5em 0;
    }
}

@media screen and (min-width:800px) {
    #front-page .eb-banner-text>article:first-of-type h1 {
        font-weight: 600;
        /*font-size: 4.5em;*/
        padding-top: 1.3em;
        margin: 0;
    }
    #front-page .eb-banner-text>article:first-of-type h2 {
        margin: 0;
        /*font-size: 3.5em;*/
    }
    #front-page .eb-banner-text>article:first-of-type p {
        /*font-size: 2em;*/
        margin: 0 auto;
        padding: 1em 0em 0;
        width: 60%;
    }
}

@media screen and (min-width:1600px) {
    #front-page .eb-banner-text>article:first-of-type h1 {
        /*font-size: 6.25em;*/
        padding-top: 1.2em;
        margin: 0;
    }
    #front-page .eb-banner-text>article:first-of-type h2 {
        margin: 0;
        /*font-size: 5.625em;*/
    }
    #front-page .eb-banner-text>article:first-of-type p {
        /*font-size: 2.1875em;*/
        width: 45%;
    }
}

@media screen and (min-width:1920px) {
    #front-page .eb-banner-text>article:first-of-type h1 {
        font-size: 6.25em;
        padding-top: 1.2em;
        margin: 0;
    }
    #front-page .eb-banner-text>article:first-of-type h2 {
        margin: 0;
        font-size: 5.625em;
    }
    #front-page .eb-banner-text>article:first-of-type p {
        font-size: 2.1875em;
        width: 45%;
    }
}

#front-page .eb-banner-text>article:first-of-type a,
#front-page .eb-banner-text>article:first-of-type {
    text-decoration: none;
    text-transform: uppercase;
    color: white;
    text-align: center;
}

#front-page>.flex {
    /*
    display: grid; 
    grid-gap: 1em; 
    justify-content: space-evenly; 
    margin: 1em auto;
    grid-template-columns: repeat(auto-fill, 480px);
    */
    margin-top: 3em;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#front-page>.flex>article {
    width: 100%;
    min-height: 410px;
    height: auto;
    background: white;
    margin: .1em;
    padding: 1em;
}

#front-page>.flex>article::before {
    content: "";
    display: block;
    margin: 1em auto;
    width: 100%;
    border-bottom: 1px solid #D1D7DA;
}

#front-page>.flex>article:first-of-type::before {
    content: "";
    display: block;
    margin: 0 auto;
    width: 92.5%;
    border-bottom: 0px solid #D1D7DA;
}

.loopbild {
    margin: 0 auto;
    width: 100%;
    /*min-width: 278px;*/
    min-height: 150px;
    background-size: cover;
    background-position: center;
}

.stabiges-img {
    height: 54%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.site-page>div>h2,
.site-page>div>div>h2 {
    color: #E42313;
    font-size: 1em;
}

.site-page>div>p,
.site-page>div>div>p {
    font-family: 'Raleway';
    color: #304148;
    font-size: 1.25em;
}

.site-page>div>p.fp-link,
.site-page>div>div>p.fp-link {
    font-size: .875em;
}

.site-page>div>p.fp-link>a,
.site-page>div>div>p.fp-link>a {
    text-decoration: none;
    color: #818B91;
    line-height: 2em;
}

.site-page>div>p.fp-link>a>span,
.site-page>div>div>p.fp-link>a>span {
    font-size: 2em;
    color: #818B91;
    margin-left: .5em;
}

.site-page>div>p.fp-link>a:hover span,
.site-page>div>div>p.fp-link>a:hover span,
.site-page>div>p.fp-link>a:hover,
.site-page>div>div>p.fp-link>a:hover {
    text-decoration: none;
    color: #304148;
}

@media screen and (min-width:600px) {
    #front-page>.flex>article {
        width: 90%;
        margin: 1em;
        border: 1px solid #D1D7DA;
    }
    #front-page>.flex>article:first-of-type {
        margin: 0em;
    }
    #front-page>.flex>article:last-of-type {
        margin-bottom: 2em;
    }
    #front-page>.flex>article:before {
        content: "";
        display: block;
        margin: 0 auto;
        width: 92.5%;
        border-bottom: 0px solid #D1D7DA;
    }
}

@media screen and (min-width:800px) {
    #front-page>.flex>article {
        width: 80%;
        margin: 1em;
        border: 1px solid #D1D7DA;
    }
}

@media screen and (min-width:1024px) {
    #front-page>.flex>article.site-page {
        width: 420px;
        margin: .7em;
    }
    #front-page>div>article.site-page:last-of-type {
        width: 862.4px;
        margin: .7em .7em 3em;
    }
    #front-page>div>article.site-page:last-of-type>div {
        display: flex;
    }
    #front-page article.site-page:last-of-type>div>a {
        width: 50%;
        margin: 0 1em 0 0;
    }
    #front-page>div>article.site-page:last-of-type>div .loopbild {
        width: 100%;
        height: 360px;
        margin: 0 1em 0 0;
    }
}

@media screen and (min-width:1335px) {
    #front-page>div>article.site-page:last-of-type {
        width: 1304.8px;
        margin: .7em .7em 3em;
    }
}

@media screen and (min-width:1700px) {
    .site-page>div>p,
    .site-page>div>div>p {
        font-family: 'Raleway';
        color: #304148;
        font-size: 1.5625rem;
        padding-right: 4em;
    }
    #front-page>.flex>article.site-page {
        width: 480px;
        margin: 1em;
    }
    #front-page>div>article.site-page:last-of-type {
        width: 1504px;
    }
    #front-page>div>article.site-page:last-of-type>div>h2,
    #front-page>div>article.site-page:last-of-type>div>p {
        display: block;
    }
}


/* === AKTUELLES === */


/*
.site-main {
    padding-top: 214px;
}*/

.page>.container {
    background: white;
}

.aktuelles h1,
.site-main h1 {
    font-family: 'Raleway';
    margin: 0;
    padding: 1em;
    background: white;
    font-size: 1.125em;
    text-align: center;
    text-decoration: none;
}

@media screen and (max-width:1023px) {
    .site-content>.container {
        background: white;
    }
    .site-main h1.suche {
        margin-top: 5em;
    }
}

.aktuelles h1 a,
.site-main h1 a {
    color: #304148;
    text-decoration: none;
}

.akt-loops {
    padding: 1em 0 2em;
}

.bundesstaaten-loop,
.vhd-loop {
    background: #D1D7DA;
}

.bibliothek-loop {
    background-color: #14451D;
}

.kaisers-loop {
    background-color: #003B82;
}

.bibliothek-loop>div>div>h2,
.kaisers-loop>div>div>h2 {
    color: white;
}

@media screen and (min-width:1024px) {
    .header-aktuelles {
        float: left;
    }
    .suchen-aktuelles {
        float: right;
    }
}

.header-aktuelles h2 {
    color: #304148;
    margin: 1rem auto 0;
}

.header-aktuelles>p a,
.header-aktuelles>p {
    display: inline-block;
    color: #818B91;
    font-size: 1.125em;
    font-weight: 400;
    text-decoration: none;
    margin: .5em 0;
}

.header-aktuelles>p:hover a {
    color: #304148;
}

.suchen-aktuelles>form {
    margin-top: 1em;
}


/*
.wissensschatz-loop {
    padding: 1em 0;
    background: white;
}
*/

.akt-loops .slick-slider {
    display: flex;
}

.aktuelles-loop {
    clear: both;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 1em;
}

@media screen and (max-width:1023px) {
    .aktuelles-loop {
        clear: both;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 1em;
    }
}

@media screen and (max-width:800px) {
    .aktuelles-loop {
        clear: both;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 1em;
    }
}

@media screen and (max-width:600px) {
    .aktuelles-loop {
        clear: both;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 1em;
    }
}

.dunkel .aktuelles-loop article {
    background-color: white;
}

.aktuelles-loop article {
    background-color: #f8f8f8;
}

.aktuelles-loop button {
    background: transparent;
    align-self: center;
    display: inline-block;
    padding: 0 .3em;
    font-size: 2.2em;
}

.aktuelles-loop button.slick-prev {
    background-color: #f1f1f1;
    color: #304148;
}

.aktuelles-loop button.slick-next {
    background-color: #f1f1f1;
    color: #304148;
}

.aktuelles-loop button:hover {
    background-color: white;
    color: black;
}

.round {
    border-radius: 50%;
}

.bundesstaat-artikel {
    width: auto;
    height: auto;
    background: white;
    margin: 0;
}

.bundesstaat-artikel>h2 {
    margin: 0;
}

.akt-inhalt {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1em;
}

@media screen and (max-width:1023px) {
    .akt-bild .akt-inhalt {
        padding: .5em .5em 0;
    }
    .bundesstaat-artikel {
        padding: 0.5em;
    }
}

@media screen and (min-width:1024px) {
    #aktuelles-loop-3 .akt-inhalt {
        padding: 1em 1em 0;
    }
    #aktuelles-loop-3>article .akt-inhalt {
        height: 50%;
    }
    #aktuelles-loop-3>article:first-of-type .akt-inhalt {
        width: 50%;
        height: 100%;
    }
}

@media screen and (min-width:1024px) and (max-width:1300px) {
    #aktuelles-loop-3>article:first-of-type .akt-inhalt {
        height: 50%;
    }
}

.akt-rubrik,
.akt-rubrik a {
    color: #E42313;
    font-size: 1.25rem;
    margin: 0;
    font-weight: 700;
}

.akt-klein>div>p:first-of-type::after {
    content: ".";
}

.akt-titel {
    font-weight: 400;
    /* font-family: 'Raleway'; */
    margin: 0;
    font-size: 1.5625rem;
    word-break: break-word;
}

.akt-titel>a {
    color: #304148;
}


/*
.bundesstaat-artikel > h3,
.akt-klein article h2,
.vhd-loop article.tag-vhd h2 {
    font-weight: 400;
    
    margin:0;
    font-size:1.5625rem;
    word-break:break-word;
}
*/

.akt-mehr a {
    color: #818B91;
    font-size: 1.125rem;
    font-weight: 400;
}


/*
.bundesstaat-artikel > p {
    margin:1.5625rem 0 0;
    color:#818B91;
    font-size:1.125rem;
}

.bundesstaat-artikel > p > a{
    color:#818B91;
}
*/

.content-bundesstaat-img {
    margin-bottom: 1em;
    width: auto;
    height: 200px;
    background-size: cover;
    background-position: center center;
}

.akt-klein,
#aktuelles-loop-4,
#aktuelles-loop-8 {
    justify-content: flex-start;
}

.akt-klein article {
    display: flex;
    align-content: space-between;
    flex-direction: column;
}

.keinSlick article {
    width: calc(25% - 1.5em);
    margin: 0 1em;
}

.keinSlick article:first-of-type {
    margin: 0 1em 0 0;
}

.keinSlick article:last-of-type {
    margin: 0 0 0 1em;
}

.akt-klein article>div>p:last-of-type {
    margin: 1.5625rem 0 0;
}


/*
.akt-klein article > div > p:last-of-type > a {
    color:#818B91;
    font-size:1.125rem;
    font-weight: 400;
}
*/

.akt-klein article>div>p:last-of-type>a>span {
    font-weight: 900;
}

@media screen and (max-width:1023px) {
    .akt-klein article {
        min-height: 160px;
    }
    #aktuelles-loop-2,
    #aktuelles-loop-4 {
        flex-direction: column;
    }
    .akt-klein article {
        background-color: #f1f1f1;
        margin-top: 2em;
        padding: .5em;
    }
}

@media screen and (min-width:1024px) {
    .akt-klein article {
        height: 160px;
    }
    .akt-klein article {
        width: calc(50% - 2em);
        margin: 0 1em;
    }
    .akt-klein article:first-of-type {
        width: calc(50% - 1em);
        margin-left: 0;
    }
    .akt-klein article:last-of-type {
        width: calc(50% - 1em);
        margin-right: 0;
    }
}

.akt-foot {
    display: flex;
    background-color: #f6f7f8;
    height: 460px;
}

.akt-foot p {
    font-family: 'Raleway';
}

@media screen and (max-width:1023px) {
    .akt-foot {
        flex-wrap: wrap;
    }
    .akt-foot>div {
        display: inline-block;
        background-color: rgba(0, 0, 0, 0.5);
        height: 100%;
        width: 100%;
    }
    .akt-foot>.img {
        display: none;
    }
    .akt-foot>.zitat {
        background-color: pink;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .akt-foot p {
        font-size: calc(16px + (28 - 16) * ((100vw - 320px) / (2600 - 320)));
        text-align: center;
        padding: 0 20%;
    }
}

@media screen and (min-width:1024px) {
    .akt-foot>div {
        display: inline-block;
        background-color: rgba(0, 0, 0, 0.5);
        height: 100%;
        width: 50%;
    }
    .akt-foot>.zitat {
        background-color: pink;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .akt-foot p {
        text-align: center;
        font-size: calc(16px + (28 - 16) * ((100vw - 320px) / (1600 - 320)));
        padding: 0 20%;
    }
}


/* === VHD-LOOP === */

#aktuelles-loop-3 article {
    background-color: white;
    display: flex;
}

@media screen and (max-width:1023px) {
    #aktuelles-loop-3 {
        flex-direction: column;
    }
    #aktuelles-loop-3 article {
        margin-top: 2em;
        flex-direction: column;
    }
    #aktuelles-loop-3 article:first-of-type {
        margin-top: 1em;
    }
}

@media screen and (min-width:600px) and (max-width:1023px) {
    .akt-bild .akt-inhalt {
        width: 50%;
    }
    #aktuelles-loop-3 article {
        flex-direction: row;
        height: 300px;
    }
}

@media screen and (min-width:1024px) {
    #aktuelles-loop-3 article {
        width: 23%;
        height: 400px;
        flex-wrap: wrap;
        align-content: flex-start;
    }
    #aktuelles-loop-3 article:first-of-type {
        width: 48%;
        flex-wrap: nowrap;
    }
    #aktuelles-loop-3 article>.loopbild {
        height: 50%;
        width: 100%;
    }
    #aktuelles-loop-3 article:first-of-type>.loopbild {
        height: 100%;
        width: 50%;
    }
    #aktuelles-loop-3 article>div>p:first-of-type {
        margin-top: 1em;
    }
    #aktuelles-loop-3 article:nth-of-type(2) div.akt-inhalt>div>p:first-of-type,
    #aktuelles-loop-3 article:nth-of-type(3) div.akt-inhalt>div>p:first-of-type {
        display: none;
    }
}

@media screen and (min-width:1024px) and (max-width:1300px) {
    #aktuelles-loop-3 article:first-of-type {
        flex-wrap: wrap;
    }
    #aktuelles-loop-3 article:first-of-type>.loopbild {
        height: 50%;
        width: 100%;
    }
    #aktuelles-loop-3>article:first-of-type .akt-inhalt {
        width: 100%;
    }
    #aktuelles-loop-3 article div.akt-inhalt>div>p:first-of-type {
        display: none;
    }
    #aktuelles-loop-3 .akt-inhalt {
        padding: 1em 1em 0;
        height: 50%;
    }
}

@media screen and (min-width:1700px) {
    #aktuelles-loop-3 article {
        width: 25%;
        height: 400px;
        margin: 0 1em;
    }
    #aktuelles-loop-3 article:first-of-type {
        margin: 0 1em 0 0;
        width: calc(51% + 1em);
        ;
    }
    #aktuelles-loop-3 article:last-of-type {
        margin: 0 0 0 1em;
    }
    /*
    #aktuelles-loop-3 article:first-of-type > .loopbild {
        height:100%;
        width:50%;
    }
    */
    #aktuelles-loop-3 article>div>p:first-of-type {
        margin-top: 1em;
    }
    #aktuelles-loop-3 article div>p:nth-of-type(2) {
        display: none;
    }
}


/* === Aktuelles-Schule-und-Bildung === */

#aktuelles-loop-4 article {
    background-color: #F8F8F8;
    height: 160px;
}


/*
@media screen and (max-width:1023px) {

    #aktuelles-loop-4 article {
        padding:1em;
    }

}
*/

@media screen and (min-width:1024px) {
    #aktuelles-loop-4 article {
        padding: 1em;
    }
}


/* === Aktuelles-StaBi-Filmothek === */

#aktuelles-loop-5 article {
    background-color: white;
}

@media screen and (max-width:1023px) {
    #aktuelles-loop-5 {
        flex-direction: column;
    }
    #aktuelles-loop-5 article {
        background-color: white;
        /*padding:1em;*/
        margin: 0 0 1em;
    }
    #aktuelles-loop-5 article:first-of-type {
        margin-top: 1em;
    }
}

@media screen and (min-width:1024px) {
    #aktuelles-loop-5 article {
        background-color: white;
        width: calc(25% - 2em);
    }
}

@media screen and (min-width:1700px) {
    #aktuelles-loop-5 article {
        background-color: white;
        margin: 1em;
        /*padding:1em;*/
        width: 24%;
    }
    #aktuelles-loop-5 article:first-of-type {
        margin-left: 0;
    }
    #aktuelles-loop-5 article:last-of-type {
        margin-right: 0;
    }
}


/* === Aktuelles-Geschichte === */

#aktuelles-loop-6 article {
    background-color: #F8F8F8;
}

@media screen and (max-width:1023px) {
    #aktuelles-loop-6 {
        flex-direction: column;
    }
    #aktuelles-loop-6 article {
        padding: 1em;
        margin: 0 0 1em;
    }
    #aktuelles-loop-6 article:first-of-type {
        margin-top: 1em;
    }
    #aktuelles-loop-6 article>div>p {
        padding: 0 1rem;
    }
    #aktuelles-loop-6 article>div>p:first-of-type {
        padding: 1em 1rem .5em;
    }
    #aktuelles-loop-6 article>div>h2 {
        padding: 0 1rem;
    }
    #aktuelles-loop-6 article>div>p.fp-link {
        padding: 2em 1rem 1em;
    }
}

@media screen and (min-width:1024px) {
    #aktuelles-loop-6 article {
        margin: 1em;
        /*padding:1em;*/
        width: 25%;
    }
    #aktuelles-loop-6 article:first-of-type {
        margin-left: 0;
    }
    #aktuelles-loop-6 article:last-of-type {
        margin-right: 0;
    }
}


/* === Aktuelles-KaisersZeit === */

#aktuelles-loop-7 article {
    background-color: white;
    margin: 1em 1em;
    width: 25%;
    height: 400px;
}

#aktuelles-loop-7 article:first-of-type {
    width: calc(51% + 1em);
    margin-left: 0;
}

#aktuelles-loop-7 article:last-of-type {
    margin-right: 0;
}


/* === Aktuelles-Recht-und-Gesetze === */

#aktuelles-loop-8 article {
    background-color: #F8F8F8;
    padding: 1em;
    height: 160px;
}


/* === Aktuelles-Allgemein === */

@media screen and (min-width:1024px) {
    .page>.container {
        background: transparent;
    }
    .aktuelles,
    .site-main {
        padding-top: 0;
    }
    .aktuelles h1,
    .site-main h1 {
        font-family: 'Raleway';
        margin: 0;
        padding-left: 0;
        background: transparent;
        font-size: 3.375em;
        font-weight: 400;
        text-align: left;
    }
    /*
    .search-site h1 {
        padding: 1.5em 1em 2.16em 0;
        margin-bottom:.4em;
    }
    */
    .aktuelles h1 a,
    .site-main h1 a,
    .aktuelles-main h1,
    .site-main h1 {
        /*text-shadow: 0px 0px 10px #304148;*/
        color: white;
        text-transform: uppercase;
        text-decoration: none;
    }
}

@media screen and (min-width:1500px) {
    .aktuelles h1,
    .site-main h1 {
        font-size: 4.375em;
    }
}

.aktuelles-bar {
    display: none;
}

@media screen and (min-width:1024px) {
    .aktuelles-bar {
        width: 100%;
        background: #F8F8F8;
        height: 70px;
        padding: 1em 0 0;
        display: flex;
    }
    .aktuelles-bar span {
        font-size: 2em;
        width: 18px;
        height: 18px;
        text-decoration: none;
        color: #304148;
    }
    .aktuelles-bar>div>a:nth-of-type(2),
    .aktuelles-bar>div>a:nth-of-type(3) {
        margin: 0.7em 0 0 2em;
        font-size: 1em;
        text-decoration: none;
        color: #818B91;
    }
}


/* === AKTUELLES-SUCHEN === */

.search-form .bundesstaatensuche-submit {
    display: inline;
    border: none;
    background: transparent;
    height: 40px;
    width: 40px;
    color: #818B91;
}

.search-form>label>input.date-picker {
    height: 36px;
    margin: .2em 0 1em;
}

@media screen and (max-width:1023px) {
    .search-form>label {
        position: relative;
    }
    .search-form>label>div {
        position: relative;
    }
    .search-form>label>input[type="search"],
    .search-form>label>select {
        height: 36px;
        width: 100%;
        margin-top: .2em;
    }
    .search-form .bundesstaatensuche-submit {
        position: absolute;
        top: -1.05em;
        right: 0.1em;
    }
    .search-form>label>input.date-picker {
        width: 49.5%;
    }
    .search-form>label>input.date-picker:last-of-type {
        float: right;
    }
}

@media screen and (min-width:1024px) {
    .search-form>label>div {
        display: inline;
    }
    main.aktuelles>div.akt-loops form>label .bundesstaatensuche-submit {
        display: inline;
        border: none;
        background: transparent;
        height: 40px;
        width: 40px;
        color: #818B91;
    }
    .bundesstaatensuche-submit::before {
        height: 40px;
        width: 40px;
        font-size: 1.3em;
    }
    .search-form>label>input[type="search"],
    .search-form>label>select {
        height: 36px;
        width: 250px;
        margin-top: .2em;
    }
    .search-form>label>input[type="search"] {
        margin-left: 3em;
    }
    .search-form>label>input.date-picker {
        height: 36px;
        margin-left: 3.35em;
    }
    .search-form>label>input.date-picker:last-of-type {
        margin-left: 1em;
    }
}


/* === BUNDESSTAATEN-SEITE === */

.bss-loop>.container>section {
    display: grid;
    /* 1 */
    grid-gap: 1em;
    /* 3 */
    justify-content: space-evenly;
    /* 4 */
    margin: 1em auto;
}

.bss-loop .bundesstaat-artikel {
    width: 100%;
    height: 400px;
    border: 1px solid #D1D7DA;
    margin: auto;
}

@media screen and (max-width:599px) {
    .bss-loop>.container>section {
        grid-template-columns: repeat(auto-fill, 100%);
        background: aliceblue;
    }
}

@media screen and (min-width: 600px) and (max-width:899px) {
    .bss-loop>.container>section {
        grid-template-columns: repeat(auto-fill, 527px);
    }
}

@media screen and (min-width: 900px) and (max-width:1399px) {
    .bss-loop>.container>section {
        grid-template-columns: repeat(auto-fill, 400px);
    }
}

@media screen and (min-width: 1024px) {
    .bss-zitat-1 {
        height: 420px;
        width: 100%;
        background: #D1D7DA;
    }
    .bss-zitat-1 p {
        margin: 0;
        padding: 0;
    }
    .bss-loop {
        margin: -2.25em 0 4em;
    }
    .bss-zitat-2 {
        display: flex;
        height: 460px;
        width: 100%;
        background: #F6F7F8;
    }
}

@media screen and (min-width:1400px) {
    .bss-loop>.container>section {
        grid-template-columns: repeat(auto-fill, 480px);
        width: 1500px;
    }
}


/* === SEITEN-ALLGEMEIN === */


/* === SEITEN-LEISTEN === */

.site-content>section>.container:last-of-type>* {
    /*background: #F8F8F8;*/
    padding: 1em;
}

.sidebars {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

@media screen and (max-width:1023px) {
    .sidebars {
        flex-direction: column;
    }
    .sidebars>*:nth-of-type(2) {
        order: 1;
    }
    .sidebars>*:first-of-type {
        order: 2;
    }
    .sidebars>*:last-of-type {
        order: 3;
    }
}

@media screen and (min-width:1024px) {
    .sidebar {
        flex: 0 0 22%;
    }
    .linke-sidebar {
        margin-right: 1em;
    }
    .rechte-sidebar {
        margin-left: 1em;
    }
    .sidebar-content {
        flex: 1 0 600px;
        overflow: hidden;
    }
    .sidebars,
    .nosidebar {
        margin: auto;
        padding: 1em;
        /*background-color: #F8F8F8;*/
    }
}


/* === BEITRÄGE-FOOTER === */

.eb-beitrag-footer {
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin-bottom: 1em;
}

.eb-beitrag-footer>div {
    width: 49%;
    text-align: center;
    /*background: #F8F8F8;*/
    padding: 1em;
    margin: 0 1em;
}

@media screen and (max-width:1023px) {
    .eb-beitrag-footer>div {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 1em;
    }
}


/* === FOOTER === */

.home-bar {
    width: 100%;
    background: #D1D7DA;
    height: 70px;
    padding: 1em 0 0;
    display: flex;
}

.home-bar span {
    font-size: 2em;
    width: 18px;
    height: 18px;
    text-decoration: none;
    color: #304148;
}

span.hb-pfeil,
span.hb-pfeil~a {
    display: none;
}

.aktuelles-bar>div>a:nth-child(n+2),
.home-bar>div>a:nth-child(n+2) {
    margin: 0.7em 0 0 2em;
    font-size: 1em;
    text-decoration: none;
    color: #818B91;
}

.site-footer {
    color: #818B91;
}

.site-footer ul li a {
    text-decoration: none;
    color: #818B91;
}

.site-footer ul li a:hover {
    text-decoration: underline;
}

.copy {
    clear: both;
    margin: 2em 0;
    text-align: center;
}

.copy>a {
    color: #818B91;
}

.nav-links ul,
.nav-rechts ul {
    display: flex;
    justify-content: space-around;
}

.nav-rechts li {
    display: blocK;
    width: 100%;
}

.nav-rechts ul {
    display: blocK;
    width: 90%;
    border-top: 1px solid #D1D7DA;
    border-bottom: 1px solid #D1D7DA;
    margin: 0 auto;
}

.nav-links li,
.nav-rechts li {
    display: inline-block;
    margin: 1em 0 0.5em;
    text-align: center;
}

.nav-rechts li:last-of-type {
    margin: 0 0 1em;
}

@media screen and (min-width:800px) {
    span.hb-pfeil,
    span.hb-pfeil~a {
        display: inline-block;
    }
    span.hb-pfeil:first-of-type {
        padding: .2em .2em 0 1em;
        color: #818B91;
    }
    span.hb-pfeil {
        padding: .2em .2em 0 .6em;
        color: #818B91;
        font-size: 1.5em;
    }
}

@media screen and (min-width:1024px) {
    .nav-links {
        float: left;
    }
    .nav-rechts {
        float: right;
    }
    .nav-links ul,
    .nav-rechts ul {
        margin: 0 auto;
    }
    .nav-rechts ul {
        display: inline;
        border: none;
    }
    .nav-links li,
    .nav-rechts li {
        width: auto;
        padding-left: 2em;
    }
    .nav-links li:first-of-type {
        padding-left: 0;
    }
    .home-bar span {
        justify-content: flex-start;
    }
    .copy {
        text-align: left;
    }
}


/* === GUTENBERG-BLOCKS === */


/*
.wp-block-quote {
    margin: 0;
    padding:1em;
}

.wp-block-quote > * {
    margin: 0;
    padding:0;
}

.wp-block-quote > p::before {
    content: '”';
    display:block;
    font-size:calc(150px + (292 - 150) * ((100vw - 320px) / (1920 - 320)));
    color:#E42313;
    margin-bottom: -0.6em;
}
*/