/* barlow-300 - latin-ext */
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/barlow-v12-latin-ext-300.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('fonts/barlow-v12-latin-ext-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('fonts/barlow-v12-latin-ext-300.woff2') format('woff2'), /* Super Modern Browsers */
    url('fonts/barlow-v12-latin-ext-300.woff') format('woff'), /* Modern Browsers */
    url('fonts/barlow-v12-latin-ext-300.ttf') format('truetype'), /* Safari, Android, iOS */
    url('fonts/barlow-v12-latin-ext-300.svg#Barlow') format('svg'); /* Legacy iOS */
}
/* barlow-regular - latin-ext */
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/barlow-v12-latin-ext-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('fonts/barlow-v12-latin-ext-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('fonts/barlow-v12-latin-ext-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('fonts/barlow-v12-latin-ext-regular.woff') format('woff'), /* Modern Browsers */
    url('fonts/barlow-v12-latin-ext-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('fonts/barlow-v12-latin-ext-regular.svg#Barlow') format('svg'); /* Legacy iOS */
}
/* barlow-700 - latin-ext */
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/barlow-v12-latin-ext-700.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('fonts/barlow-v12-latin-ext-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('fonts/barlow-v12-latin-ext-700.woff2') format('woff2'), /* Super Modern Browsers */
    url('fonts/barlow-v12-latin-ext-700.woff') format('woff'), /* Modern Browsers */
    url('fonts/barlow-v12-latin-ext-700.ttf') format('truetype'), /* Safari, Android, iOS */
    url('fonts/barlow-v12-latin-ext-700.svg#Barlow') format('svg'); /* Legacy iOS */
}

/* lato-regular - latin-ext */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/lato-v23-latin-ext-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('fonts/lato-v23-latin-ext-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('fonts/lato-v23-latin-ext-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('fonts/lato-v23-latin-ext-regular.woff') format('woff'), /* Modern Browsers */
    url('fonts/lato-v23-latin-ext-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('fonts/lato-v23-latin-ext-regular.svg#Lato') format('svg'); /* Legacy iOS */
}

* {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
body {
    height: 100%;
    width: 100%;
    padding: 0;
    color: #666161;
    margin: 0;
    background-color: #fdfdfd;
}
ul {
    font-size: 14px;
}
h1 {
    font-family: 'Barlow', sans-serif;
    font-weight: 300;
    color: #254E58; 
    font-size: 36px;
    margin-bottom: 2px;
}
h2 {
    margin-top: 8px;
    font-family: 'Barlow', sans-serif;
    font-weight: 300;
    color: #88BDBC; 
    font-size: 24px;
}
p {
    font-family: 'Lato', serif;
    color: #666161;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.5em;
    text-align: justify;
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto
}
img { -ms-interpolation-mode: bicubic; } /*For rendering images correctly in IE*/
.main_sidebar {
    height: 100%;
    /* Full-height: remove this if you want "auto" height */
    width: 100%;
    /* Set the width of the sidebar */
    position: fixed;
    /* Fixed Sidebar (stay in place on scroll) */
    z-index: 2;
    /* Stay on top */
    top: 0;
    /* Stay at the top */
    left: -100vw;
    background-color: #fdfdfd;
    /* Black */
    overflow-x: hidden;
    /* Disable horizontal scroll */
    border-right: solid 0.25px #d3cece;
    -webkit-transition: all 0.25s ease-in;
    -o-transition: all 0.25s ease-in;
    transition: all 0.25s ease-in;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    opacity: 0;
}

.main_content {
    width: 100%;
    padding-left: 0;
    padding-top: 70px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    /* Same as the width of the sidenav */
}
.main_sidebar>a {
    width: 50%;
    display: none;
}
.main_sidebar>a>img {
    width: 100%;
}

.main_sidebar>ul {
    margin-top: 48px;
    padding: 0;
    z-index: 100;
    list-style-type: none;
    text-align: center;
}

.main_sidebar>ul>li>a {
    z-index: 100;
    text-transform: uppercase;
    font-size: 20px;
    margin-top: 18px;
    display: inline-block;
    font-family: 'Barlow', sans-serif;
    font-weight: 300;
    text-decoration: none;
    color: #254E58;
    -webkit-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    border-bottom: transparent solid 2px;
}

.main_sidebar>ul>li>a:hover {
    color: #88BDBC;
    text-shadow: black;
    border-bottom: #88BDBC solid 2px;
}

footer {
    position: absolute;
    bottom: 0;
    height: auto;
    width: 100%;
}
.main_content > footer {
    z-index: 1;
    position: relative;
}
.index_wrapper > footer{
    position: relative;
}
.main_schraege {
    width: 100%;
    margin-bottom: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
}
.main_content .main_schraege >img {
    width: 100vw;
    height: 12vw;
}



.main_footer_content {
    letter-spacing: 0.2px;
    padding: 15px;
    background-color: black;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    color: #eaeaea;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    font-weight: 300;
    font-family: 'Lato', serif;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.main_footer_content>ul {
    margin-top: 0;
    margin-bottom: 15px;
    padding-left: 0;
    font-size: 12px;
    list-style-type: none;
    text-align: justify;
}

.main_footer_content>p {
    color: #fdfdfd;
    padding-left: 0;
    font-size: 9px;
    margin-bottom: 15px;
    text-align: center;
    width: 100%;
}

.main_footer_kontaktdaten>li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 154px;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.main_footer_content>ul>li>a {
    color: #eaeaea;
    text-decoration: none;
}

.main_impressum_link {
    width: 100%;
    padding-bottom: 15px;
    font-size: 12px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.main_impressum_link a {
    color: #eaeaea;
    text-decoration: none;
}

.main_mobile_menu_button {
    font-size: 47px;
    cursor: pointer;
}

.main_mobile_menu_button_close {
    font-size: 60px;
    cursor: pointer;
    -ms-flex-item-align: start;
        align-self: flex-start;
    margin: 0 15px 15px 15px;
}

.main_mobile_menu_bar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100%;
    height: 70px;
    padding: 15px;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    background: transparent;
}
.main_mobile_menu_bar>a {
    display: block;
    height: 100%;
}

.main_mobile_menu_bar>a>img {
    height: 100%;
}

.main_mobile_menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100vw;
    min-height: 100vh;
    background: #fdfdfd;
    position: absolute;
    top: -300vh;
    left: 0;
    z-index: 3;
    -webkit-transition: all 0.25s ease-in;
    -o-transition: all 0.25s ease-in;
    transition: all 0.25s ease-in;
}
.main_mobile_menu>a {
    display: block;
    width: 70%;
}
.main_mobile_menu>a>img {
    width: 100%;
}
.main_mobile_menu>ul {
    margin-top: 20px;
    margin-bottom: 15px;
    padding-left: 0;
    font-size: 14px;
    list-style-type: none;
    text-align: center;
}
.main_mobile_menu>ul>li>a {
    text-transform: uppercase;
    font-size: 20px;
    margin-top: 25px;
    display: inline-block;
    font-family: 'Barlow', sans-serif;
    font-weight: 300;
    text-decoration: none;
    color: #254E58;
    -webkit-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}

.main_mobile_menu>ul>li>a:hover {
    color: #88BDBC;
    text-shadow: black;
}
.main_content .main_footer_content {
    padding-bottom: 2px;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
}
.main_sidebar>ul { 
    margin-top: 0px;
}
.main_active_nav {
    color: #88BDBC !important;
    font-weight: 500 !important;
    border-bottom: 2px solid #88BDBC !important;
}
@media only screen and (min-width: 750px)  {
    .main_content footer {
        display: none;
    }
    .main_mobile_menu {
        display: none;
    }
    .main_sidebar {
        height: 100%;
        /* Full-height: remove this if you want "auto" height */
        
        position: fixed;
        /* Fixed Sidebar (stay in place on scroll) */
        z-index: 1;
        /* Stay on top */
        background-color: #fdfdfd;
        /* Black */
        overflow-x: hidden;
        /* Disable horizontal scroll */
        border-right: none;
    }
}

@media only screen and (max-height: 420px) and (max-width:745px) {
    .main_mobile_menu>a {
        display: none;
    }
    .main_mobile_menu>ul {
        margin:0 ;
    }
    .main_mobile_menu>ul>li:first-child>a {
        margin:0 ;
    }
}
@media only screen and (min-height: 780px){
    .main_sidebar>a {
        width: 50%;
        display: block;
    }
    .main_sidebar>ul { 
        margin-top: 48px;
    }
}
@media only screen and (min-width: 1025px)  and (max-height: 670px) {
    .main_sidebar>ul {
        margin-top: 0px;
        padding: 0 0 0 52px;
        list-style-type: none;
        text-align: left;

    }
    .main_sidebar>ul>li>a {
        font-size: 18px;
    }

    .main_sidebar {
        height: 100%;
        /* Full-height: remove this if you want "auto" height */
        width: 345px;
        /* Set the width of the sidebar */
        position: fixed;
        /* Fixed Sidebar (stay in place on scroll) */
        z-index: 1;
        /* Stay on top */
        top: 0;
        /* Stay at the top */
        left: 0;
        background-color: #fdfdfd;
        /* Black */
        overflow-x: hidden;
        /* Disable horizontal scroll */
        border-right: solid 0.25px #d3cece;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        opacity: 1;
    }
    .main_mobile_menu_button {
        display: none;
    }
    .main_mobile_menu_button_close {
        display: none;
    }
    .main_content {
        padding-top: 0;
        padding-left: 345px;
        /* Same as the width of the sidenav */
    }
    .main_mobile_menu_bar {
        display: none;
    }
    .main_sidebar>a>img {
        padding: 47px 28px 0px 28px;
        width: 100%;
    }
    .main_sidebar>a {
        width: 100%;
        display: block;
    }
    .main_footer_content {
        padding-top: 15px;
        background-color: black;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        padding-left: 53px;
        padding-right: 15px;
        color: #eaeaea;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        font-weight: 300;
        font-family: 'Lato', serif;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
    .main_footer_content>p {
        padding-left: 0;
        font-size: 9px;
        text-align: left;
        margin-bottom: 15px;
    }
}
@media only screen and (min-width: 1025px)  and (max-height: 605px) {
    .main_sidebar>ul>li>a {
        font-size: 16px;
    }
}
@media only screen and (min-width: 1025px)  and (min-height: 670px) {
    .main_sidebar>ul {
        padding: 0;
        list-style-type: none;
        text-align: left;
    }
    
    .main_sidebar {
        height: 100%;
        /* Full-height: remove this if you want "auto" height */
        width: 345px;
        /* Set the width of the sidebar */
        position: fixed;
        /* Fixed Sidebar (stay in place on scroll) */
        z-index: 1;
        /* Stay on top */
        top: 0;
        /* Stay at the top */
        left: 0;
        background-color: #fdfdfd;
        /* Black */
        overflow-x: hidden;
        /* Disable horizontal scroll */
        border-right: solid 0.25px #d3cece;
        -webkit-box-align: start;
            -ms-flex-align: start;
                align-items: flex-start;
        opacity: 1;
    }
    .main_mobile_menu_button {
        display: none;
    }
    .main_mobile_menu_button_close {
        display: none;
    }
    .main_content {
        padding-top: 0;
        padding-left: 345px;
        /* Same as the width of the sidenav */
    }
    .main_mobile_menu_bar {
        display: none;
    }
    .main_sidebar>a>img {
        padding: 47px 28px 0px 28px;
        width: 100%;
    }
    .main_sidebar>a {
        width: 100%;
        display: block;
    }
    .main_sidebar>ul {
        padding-left: 52px;
        padding-top: 48px;
        
    margin-top: 0;
        list-style-type: none;
    }
    .main_footer_content {
        padding-top: 15px;
        background-color: black;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        padding-left: 53px;
        padding-right: 15px;
        color: #eaeaea;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        font-weight: 300;
        font-family: 'Lato', serif;
        -webkit-box-align: start;
            -ms-flex-align: start;
                align-items: flex-start;
    }
    .main_footer_content>p {
        padding-left: 0;
        font-size: 9px;
        text-align: left;
        margin-bottom: 15px;
    }
}