@font-face {
    font-family: 'comfortaa';
    src: url('/fonts/comfortaa/comfortaa-light.woff2') format('woff2'),
    url('/fonts/comfortaa/comfortaa-light.woff') format('woff'),
    url('/fonts/comfortaa/comfortaa-light.ttf') format('ttf');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'comfortaa';
    src: url('/fonts/comfortaa/comfortaa-regular.woff2') format('woff2'),
    url('/fonts/comfortaa/comfortaa-regular.woff') format('woff'),
    url('/fonts/comfortaa/comfortaa-regular.ttf') format('ttf');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'comfortaa';
    src: url('/fonts/comfortaa/comfortaa-bold.woff2') format('woff2'),
    url('/fonts/comfortaa/comfortaa-bold.woff') format('woff'),
    url('/fonts/comfortaa/comfortaa-bold.ttf') format('ttf');
    font-weight: 700;
    font-style: normal;
}
/*-----------Allgemein---------*/
html {
    font-size: 100%;
}

body {
    background-color: #CECECE;
}

* {
    font-family: comfortaa;
    color: #190a53;
}
ul, li, p, a{
    font-size: 1.5rem;
    line-height: 1.7em;
    font-weight: 400;
}
p{
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}
main, header, footer {
    width: 100%;
    max-width: 1060px;
    margin: auto;
    box-sizing: border-box;
}


/*-------------Header-----------*/
header{
    margin-top: 3rem;
}

#logo {
    margin-bottom: 3rem;
    /*----display:flex----*/
    display: box;
    display: flexbox;
    display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: -moz-box;
    display: flex;
    /*----justify-content:between----*/
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    -moz-box-pack: justify;
    justify-content: space-between;
    /*----------------*/
}
#logo_qsq {
    margin-right: 3vw;
    height: 100%;
    width: 100%;
    max-width: calc(14% - 3vw);
}
#logo_schriftzug{
    height: 100%;
    width: 100%;
    max-width: 86%
}
header nav ul {
    list-style: none;
    width: 100%;
    margin-left: 0;
    padding-left: 0;
    /*-----display:box----*/
    display: box;
    display: flexbox;
    display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox; /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: -moz-box;
    display: flex;
    /*----justify-content:center----*/
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    -moz-box-pack: justify;
    justify-content: space-between;
    /*--------*/
}

header nav ul li {

}

header nav ul li:after {
    content: "|";
    font-size: 1.8rem;
    margin-left: 1.5rem;
}

header nav ul li:last-of-type:after {
    content: "";
    margin: 0;
}

header nav ul li a {
    font-size: 1.8rem;
    text-decoration: none;
    cursor: pointer !important;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

header nav ul li a:hover {
    text-decoration: underline;
}


header nav ul .has_children{
    position: relative;
}
header nav ul .sub_menu{
    display: none;
    position: absolute;
    background: white;
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
    -webkit-box-orient:vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    -webkit-box-direction:normal;
    -webkit-flex-direction:column;
    -ms-flexbox-direction:column;
    -ms-flex-direction: column;
    flex-direction:column;
}
header nav ul .sub_menu li:after{
    content: "";
}

header nav ul .has_children:hover>.sub_menu{
    display: box;
    display: flexbox;
    display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: -moz-box;
    display: flex;
}


/*----------------Main-------------*/
main {
    background-image: url("/images/qsq-hintergrund.png");
    background-repeat: repeat-y;
	background-position: 50% 0%;
	background-size: contain;
}
#content_container a{
    word-wrap: break-word;
}
#info_icon{
    display: block;
    width: 2rem;
    margin: auto;
    margin-top: 3rem;
    margin-bottom: -2rem;
}
.icon{
    display: block;
    width: 4rem;
    margin: auto;
    margin-top: 3rem;
    margin-bottom: -2rem;
}

ul.flush{
    padding-left: 1.15em;
}

#page_heading{
    font-size: 1.5rem;
    font-weight: bold;
    width: 100%;
    text-align: center;
    margin-top: 3rem;
}


#post_svg_img {
    width: 100%;
    max-width: 10rem;
}
#impressum #content_container{
    text-align: center;
}
#impressum #content_container address ul{
    list-style: none;
    font-style: normal;
    padding-left: 0;
}
/*----------------Footer-------------*/
#footer_top,
#footer_top address {
    /*-----display:box----*/
    display: box;
    display: flexbox;
    display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox; /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: -moz-box;
    display: flex;
    /*----justify-content:center----*/
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    -moz-box-pack: justify;
    justify-content: space-between;
    /*--------*/
}
 footer img{
    height: 100%;
    max-width: 33rem;
    width: 100%;
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    align-self: center;
}
#footer_address_left,
#footer_address_right{
    list-style: none;
}

#footer_address_left li,
#footer_address_right li,
#footer_address_right li a,
#footer_address_left li a{
    font-size: 1rem;
    text-decoration: none;
    font-style: normal;
}
#footer_address_right li a:hover,
#footer_address_left li a:hover{
    text-decoration: underline;
}
#footer_address_right li>span{
    width: 4rem;
    display: inline-block;
}


.zwischen_titel{
    font-weight: 300;
    font-size: 3.5rem;
    text-align: center;
}


.zwischen_titel1{
    font-weight: 400;
    font-size: 1.5rem;
    text-align: center;
}

.i_text{
    width: 0.4em;
    height: 0.9em;
    display: inline-block;
}

.i_text img{
    width:100%;
}

.i_text1{
    width: 0.3em;
    height: 0.7em;
    display: inline-block;
}

.i_text1 img{
    width:100%;
}

.i_text2{
    width: 1.5em;
    height: 3.0em;
    display: inline-block;
}

.i_text2 img{
    width:100%;
}

.i_text3{
    width: 0.5em;
    height: 1.0em;
    display: inline-block;
}

.i_text3 img{
    width:100%;
}

.i_text4{
    width: 0.7em;
    height: 1.4em;
    display: inline-block;
}

.i_text4 img{
    width:100%;
}

.i_text5{
    width: 1.0em;
    height: 2.0em;
    display: inline-block;
}

.i_text5 img{
    width:100%;
}

.i_text6{
    width: 1.8em;
    height: 3.6em;
    display: inline-block;
}

.i_text6 img{
    width:100%;
}

.i_text7{
    width: 1.7em;
    height: 3.4em;
    display: inline-block;
}

.i_text7 img{
    width:100%;
}

.zwischen_grafik{
    display: block;
    height: 8rem;
    width: auto;
    min-width: 8rem;
    margin: auto;
    margin-top: 8rem;
    margin-bottom: 2rem;
}

.zwischen_grafik1{
    display: block;
    height: 16rem;
    width: auto;
    min-width: 16rem;
    margin: auto;
    margin-top: 8rem;
    margin-bottom: 2rem;
}

.zwischen_grafik2{
    display: block;
    height: 20rem;
    width: auto;
    min-width: 10rem;
    margin: auto;
    margin-top: 8rem;
    margin-bottom: 2rem;
}

.zwischen_grafik2a{
    display: block;
    height: 10rem;
    width: auto;
    min-width: 5rem;
    margin: auto;
    margin-top: 8rem;
    margin-bottom: 2rem;
}   

.zwischen_grafik2b{
    display: block;
    height: 5rem;
    width: auto;
    min-width: 5rem;
    margin: auto;
    margin-top: 8rem;
    margin-bottom: 2rem;
}   

.zwischen_grafik2c{
    display: block;
    height: 15rem;
    width: auto;
    min-width: 5rem;
    margin: auto;
    margin-top: 8rem;
    margin-bottom: 2rem;
}   



#copyright_info p{
    text-align: center;
    font-size: 0.5rem;
}

@media(max-width: 1059px){

    body{
        padding-left: 1rem;
        padding-right: 1rem;
    }
    header nav{
        max-height: 0px;
        overflow: hidden;
        -webkit-transition: max-height .3s ease;
        -moz-transition: max-height .3s ease;
        -ms-transition: max-height .3s ease;
        -o-transition: max-height .3s ease;
        transition: max-height .3s ease;
    }
    header nav.active{
        max-height: 3000px;
    }
    header nav ul{
        -webkit-box-orient:vertical;
        -moz-box-orient: vertical;
        box-orient: vertical;
        -webkit-box-direction:normal;
        -webkit-flex-direction:column;
        -ms-flexbox-direction:column;
        -ms-flex-direction: column;
        flex-direction:column;
        text-align: center;
        width: 100%;
    }
    header nav ul li:after {
        content: "";
        margin: 0;
    }
    #footer_top{
        -webkit-box-orient:vertical;
        -moz-box-orient: vertical;
        box-orient: vertical;
        -webkit-box-direction:normal;
        -webkit-flex-direction:column;
        -ms-flexbox-direction:column;
        -ms-flex-direction: column;
        flex-direction:column;
    }
    #footer_top address{
        -webkit-justify-content: space-around;
        -ms-flex-pack: distribute;
        justify-content: space-around;
    }
    #footer_top address ul{
        padding-left: 0;
    }
    header nav ul .has_children .sub_menu{
        background: none;
        margin-left: 5rem;
        position: relative;
        display: box;
        display: flexbox;
        display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
        display: -ms-flexbox;  /* TWEENER - IE 10 */
        display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
        display: -moz-box;
        display: flex;
    }

}
@media(max-width: 900px){
    .zwischen_titel{
        font-size: 2.5rem;
    }
}
@media(max-width: 768px){
    ul, li, p, a{
        font-size: 1rem;
    }
    header nav ul a.nav_link{
        font-size: 1.25rem;
    }
    #footer_top address{
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        -moz-box-pack: justify;
        justify-content: space-between;
    }
    main{
        background-size: 15rem;
    }
    .zwischen_titel{
        font-size: 2rem;
    }
}
@media(max-width: 530px){

    #footer_top address{
        -webkit-box-orient:vertical;
        -moz-box-orient: vertical;
        box-orient: vertical;
        -webkit-box-direction:normal;
        -webkit-flex-direction:column;
        -ms-flexbox-direction:column;
        -ms-flex-direction: column;
        flex-direction:column;
    }
    #footer_top address ul{
        text-align: center;
    }
}
@media(min-width: 1060px){
    #logo_baum {
        margin-right: 3rem;
        height: 100%;
        width: 100%;
        max-width: calc(15% - 3rem);
    }
    #logo_schriftzug{
        height: 100%;
        width: 100%;
        max-width: 85%
    }
    #info_icon{
        width: 4rem;
    }
    .icon{
        width: 10rem;
    }

}

.heading,
#page_heading{
    font-size: 1rem;
    text-align: center;
}
#copyright_heading_impressum{
    margin-top: 2.5rem;
}

@media(min-width: 768px){
    .heading,
    #page_heading {
        font-size: 1.5rem;
    }
}

@media(min-width: 1025px){
    .heading,
    #page_heading {
        font-size: 2rem;
    }
}

@media(min-width: 1500px){
    .heading,
    #page_heading {
        font-size: 2.5rem;
    }
}