/* Ab hier: Media-Queries für responsives Design */

@media (max-width: 799px) {
    html {
        font-size: 80%;
    }
    #menu_desktop1,
    #menu_desktop2,
    .slider-full,
    .slider-full2 {
        display: none;
    }
    .flex-slides {
        flex-wrap: wrap;
    }
    #newsgrid {
        grid-template-columns: 100%;
    }
}

@media only screen and (min-width: 800px) and (max-width: 999px) {
    #button_menu_smartphone,
    #button_menu_smartphone2,
    .menu_smartphone {
        display: none;
    }
    .flex-slides {
        flex-wrap: wrap;
    }
    #newsgrid {
        grid-template-columns: 50% 50%;
    }
}

@media only screen and (min-width: 1000px) {
    #button_menu_smartphone,
    #button_menu_smartphone2 {
        display: none;
    }
    .box-slidetexts {
        width: 400px;
        flex-shrink: 0;
        padding-left: 20px;
    }
    #newsgrid {
        grid-template-columns: 50% 50%;
    }
}

@media only screen and (min-width: 1000px) and (max-width: 1250px) {
    .slider-full,
    .slider-full2 {
        display: none;
    }
}

@media only screen and (min-width: 1251px) and (max-width: 1399px) {
    .slider-full {
        display: none;
    }
}

@media only screen and (min-width: 1425px) {
    #button_menu_smartphone,
    #button_menu_smartphone2 {
        display: none;
    }
    .box-slidetexts {
        width: 400px;
        flex-shrink: 0;
    }
    body {
        max-width: 1400px;
        margin: auto;
    }
}


/* Bis hier: Media-Queries für responsives Design */

* {
    box-sizing: border-box
}


/* Schriftart einbetten */

@font-face {
    font-family: 'OpenSansL';
    font-style: normal;
    src: local('Open SansL'), local('OpenSansL'), url('fonts/OpenSans-Light-webfont.eot') format('eot'), url('fonts/OpenSans-Light-webfont.ttf') format('truetype'), url('fonts/OpenSans-Light-webfont.woff') format('woff');
}


/* Allgemeine Elemente*/

p {
    margin-bottom: 6px;
    margin-top: 6px;
    line-height: 170%;
    font-weight: normal;
    word-break: normal;
    word-wrap: inherit;
}

h1 {
    font-size: 2.6rem;
    color: #e46450;
    font-weight: normal;
    word-break: normal;
    word-wrap: inherit;
}

h2 {
    color: #e46450;
    font-size: 2.0rem;
    font-weight: normal;
    word-break: normal;
    word-wrap: inherit;
}

h3 {
    color: #e46450;
    font-size: 1.4rem;
    font-weight: normal;
    word-break: normal;
    word-wrap: inherit;
}

h4 {
    color: #e46450;
    font-size: 1.2rem;
    font-weight: normal;
    word-break: normal;
    word-wrap: inherit;
    margin-top: 10px;
    margin-bottom: 10px;
}

body {
    font-family: HelveticaNeueLT, OpenSansL, Arial, Helvetica, sans-serif;
    font-size: 1rem;
    background-color: rgb(255, 255, 255);
}

header {
    overflow: auto;
    border-bottom-width: 5px;
    border-bottom-style: solid;
    margin-top: 20px;
    margin-bottom: 10px;
}

body a:link,
body a:active,
body a:visited {
    color: #e46450;
}

body a:hover {
    color: #000;
}

h3 a:link,
body a:active,
body a:visited {
    text-decoration: none;
}

h3 a:hover {
    text-decoration: none;
}


/* Spezialelemente Menü */

.breadcrumb {
    margin-bottom: 10px;
}

.menu-bottom-left,
.menu-bottom-right {
    margin-bottom: 5px;
    margin-top: 5px;
}

.menu-bottom-left {
    float: left;
}

.menu-bottom-right {
    float: right;
}

.menu-bottom-entry {
    padding: 5px;
}

#menu_desktop1 {
    float: right;
    margin-bottom: 20px;
}

#menu_desktop2 {
    float: right;
    clear: right;
}

.menu_smartphone {
    position: absolute;
    right: 8px;
}

#menu_smart {
    z-index: 2;
    margin-top: 0px;
    display: none;
}

.menu-sub {
    display: none;
    clear: both;
}

#button_menu_smartphone,
#button_menu_smartphone2 {
    width: 9vw;
    max-width: 60px;
    float: right;
}

.menu-box {
    float: left;
    padding-right: 10px;
    margin: 0px;
    padding-top: 10px;
}

.menu-buttons-collapsed {
    float: left;
}

.menu-buttons-expanded {
    position: absolute;
    z-index: 2;
    background-color: #ffffff;
    margin-top: 0px;
    display: none;
}

.box {
    float: left;
    margin-left: 20px;
}

.box-buttons {
    float: left;
    margin-left: 1px;
}

.box-buttons_smartmenu {
    float: left;
    display: flex;
    width: 100%
}

.box-slidetexts {
    float: left;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
}

#bottom-line {
    margin-top: 10px;
    border-top-width: 5px;
    border-top-style: solid;
}

.button-ov,
.button-ov-smartphone {
    display: flex;
    float: left;
    margin-left: 1px;
    background: red;
    padding: 5px;
    height: 45px;
}

.button-bs,
.button-bs-smartphone {
    display: flex;
    float: left;
    margin-left: 1px;
    background: grey;
    padding: 5px;
}

.button-ww,
.button-ww-smartphone {
    display: flex;
    float: left;
    margin-left: 1px;
    background: rgb(0, 140, 205);
    padding: 5px;
}

.button-jrk,
.button-jrk-smartphone {
    display: flex;
    float: left;
    margin-left: 1px;
    background: #00909B;
    padding: 5px;
}

.button-ov-smartphone,
.button-bs-smartphone,
.button-ww-smartphone,
.button-jrk-smartphone {
    clear: both;
    width: 100%
}

.navi-content {
    font-weight: normal;
    background-color: #EEEEEE;
}

.navi-content a:hover {
    background-color: #CCCCCC;
    color: rgb(0, 0, 0);
    font-weight: normal;
    text-decoration: none;
}

.navi-content a,
.navi-content a:visited {
    width: 100%;
    display: block;
    color: rgb(40, 40, 40);
    font-weight: normal;
    text-decoration: none;
    text-align: left;
    padding-left: 10px;
    vertical-align: bottom;
    line-height: 1.6rem;
}

.fehlermeldungen {
	color: red;
}


/* Grid-Definitionen */

.grid-250 {
    display: grid;
    grid-column-gap: 33px;
    grid-row-gap: 33px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-250-40 {
    display: grid;
    grid-column-gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(250px, auto));
    flex-wrap: wrap;
}

.grid-300 {
    display: grid;
    grid-column-gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(300px, auto));
    flex-wrap: wrap;
}

.grid-all-rows{
	grid-column: 1 / -1;
}

/* Sonstige Elemente */

#newsgrid {
    display: grid;
    grid-column-gap: 40px;
}

.news {
    margin-bottom: 20px;
}

.news_title {
    border-color: #CCCCCC;
    border-style: solid;
    border-width: 0pt 0px 2pt 0pt;
    margin-bottom: 0px;
    margin-top: 0px;
}

.donate-buttons {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#header-logo {
    height: 10vw;
    max-height: 60px;
    margin-bottom: 10px;
    float: left;
}

.flex-slides {
    background-color: rgb(230, 230, 230);
    clear: both;
    display: flex;
}

#slider-section.expanded {
    transition: 0.5s;
	position: absolute;
    z-index: -1;
    height: 20px;
}

.background-termin {
    margin-bottom: 10px;
    background-color: rgb(230, 230, 230);
}

.infotext-slider {
    line-height: 130%;
}

.buttons {
    font-family: Helvetica, Arial, sans-serif;
    padding: 5px;
    color: white;
    font-weight: bold;
}

.pagetitle {
    overflow: hidden;
}


/* Farben */

.color-group {
    color: red;
}

.color-bs {
    color: grey;
}

.color-ww {
    color: rgb(0, 140, 205);
}

.color-jrk {
    color: #00909B;
}


/* Abstände */

.margin10 {
    margin-top: 10px;
    margin-bottom: 10px;
}

.notopmargin {
    margin-top: 0px;
}

.nobottommargin {
    margin-bottom: 0px;
}

.marginbottom16 {
    margin-bottom: 1.6rem;
}

.textfield,
.width-100 {
    width: 100%;
}