
/*Layout*/
/*Body-Bereich*/
*, *:before, *:after{
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box; /*Präfixe!*/
}


html{
    font-size: 100%;
}

body{
    background-color: mintcream;
    color: black; /*#1A1F2B*/
    font-family: Arial;
    font-size: 1em; /*16px*/
    line-height: 1.5em; /*24px*/
}



/*Page-Wrapper (max. 960px)*/
.page-wrapper{
    max-width: 960px;
    overflow:hidden;
    margin:0 auto;
    padding: 0 0 5em 0;
    background-image:
    url(../img/hintergrund_janine-herden.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -ms-box-shadow: -5px 5px 10px #333333,
                 5px 5px 10px #333333;
box-shadow: -5px 5px 10px #333333,
             5px 5px 10px #333333;
}

/*Header-Bereich*/

header img#header-desktop{
    display: none;
}
header img#header-mobil{
    max-width: 100%;
    display: block;
}
header {
    position: relative;
}

/*Haupt-Navigation*/
a.toggle-nav {
    display: inline-block;
    position: absolute;
    right: 0.5em;
    top: 0.2em;
    text-decoration: none;
    cursor: pointer;
}
.toggle-nav img{
    width: 30px;
    height: 30px;
    background-color: white;
}


#navMain {
    display: none;
}

#navMain:target {
    display: block;
}

#MainNav{
    width: 100%;
    float: left;
}
#MainNav ul, #MainNav ol{
    padding: 0;
    margin: 0 0 0.625em 20px;
}
#MainNav ul{
    margin: 0;
}
#MainNav ul > li{
    margin-left: 0;
    border-bottom: 1px solid rgba(250, 250, 250, 0.6);
}
#MainNav ul > li > a, #MainNav ul > li > strong{
    padding: 0.6em 20px;
    text-align: center;
    display: block;
}
#MainNav ul a:link{
    text-decoration: none;
}

.main-nav a{
        display: block;
        text-decoration: none;
        color: black;
        padding: 1rem;
    }
    .main-nav a.active{
        color: rgb(0,56,130);
        text-decoration: none;
    }
    
    .main-nav a:hover{
        color: rgb(0,56,130);
        text-decoration: none;
    }
    
    .main-nav a:focus{
        color: rgb(0,56,130);
        text-decoration: none;
    }

/*Navigation allgemein*/

nav{
    background-color: #FFF;
    color: black;
    font-family: Arial;
    font-size: 1.25em; /*20px*/
}
nav ul li{
    list-style: none;
}



/* Content-Bereich*/

#content{
 margin:0;
 width:100%;
 float:left;
}



.text-rechts_gross{
    display:none;
    margin-top:3%;
    margin-right:1.5%;
    padding: 1% 1.5% 8% 1.5%;
    background:blue;
    font: 0.875em Arial;
    color:#FFF;
    opacity:0.9;
    filter: alpha(opacity=90); /* For IE8 and earlier */
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    text-align:left;
    line-height: 1.7;
}



.text-rechts_klein{
    display:block;
    float:left;
    width:80%;
    margin:0 10% 3% 10%;
    padding: 0;
    background:rgb(0,56,130);
    font: 0.875em Arial;
    color:#FFF;
    opacity:0.9;
    filter: alpha(opacity=90); /* For IE8 and earlier */
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    text-align:center;
    line-height: 1.3;
}

.text-rechts_tab{
    display: none;
}

.beschreibung a{
    color: black;
}

.beschreibung a:hover, .beschreibung a:focus{
    color: rgb(0,56,130);
    
}

p.beschreibung{
   
   margin: 0% 5% 3% 5%;
    
}



.text-links a{
    color: rgb(0,56,130);
    text-decoration: none;
}



.text-links{
    width: 80%;
    margin:7% 10%;
    padding: 0.5% 8.5% 2% 2%;
    font-size: 0.875em;
    font-family: Arial;
    background:#FFF;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    text-align: left;
    line-height: 1.4;
    float: left;
    display: block;
}
/*Page-Styles*/



.text-links img{
   margin:  5% 5% 3% 5%;
   border: 1px grey solid;
}

.beschreibung a{
    color:black;
}

.beschreibung a:hover, .beschreibung a:hover{
    color: rgb(0,56,130);
    text-decoration: none;
}




a{
 color:#FFF;
}


#header-desktop{
 display:none;
}



h2{
    margin: 2% 0 5% 2%;
    
    font-family: Arial;
    color: rgb(0,56,130);
}

p.galerie{
        width: 100%;
        margin: 2% 2%;
        padding: 0;
        float: left;
    }
    
    .galerie img{
        margin: 0 7% 4% 0;
        text-align: center;
        float:left;
    }



@media screen and (min-width: 756px){
    
    
    a.toggle-nav {
    display: inline-block;
    position: absolute;
    right: 0.5em;
    top: 0.3em;
    text-decoration: none;
    cursor: pointer;
}
.toggle-nav img{
    width: 60px;
    height: 60px;
    background-color: white;
}
    
   
    
    .text-links{
    width: 76%;
    margin-top:7%;
    margin-left:12%;
    margin-right: 12%;
    margin-bottom: 3%;
    padding: 0.5% 8.5% 2% 2%;
    font:0.938em Arial;
    background:#FFF;
    opacity:0.9;
    filter: alpha(opacity=90); /* For IE8 and earlier */
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    text-align:left;
    line-height: 1.2;
    float: left;
    display: block;
}
    
 .text-links img{
   margin:  5% 0 0 0;
   border: 1px grey solid;
   float: right;
} 
    

    
    h2{
    font-family: Arial;
    
    color: rgb(0,56,130);
    margin:5% 5% 5% 2%;
    padding:0;
}
    
  
    
    
    .text-rechts_klein{
        display: none;
    }
    
    .text-rechts_tab{
        width: 76%;
        margin-top: 0;
        margin-left: 12%;
        margin-right: 12%;
        margin-bottom: 7%;
        padding: 2%;
        display: flex;
        justify-content: space-between; background:rgb(0,56,130);
        font: 0.875em Arial;
        color:#FFF;
        opacity:0.9;
        filter: alpha(opacity=90); /* For IE8 and earlier */
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        text-align:left;
        float: left;
        display: block;
}
    
         
    .text-rechts_tab p{
        margin: 0;
        padding: 0;
        line-height: 1.3;
        display: block;
    }
    
    p.info{
        margin: 0 3%;
        float: left;
    }
    
    p.info:nth-of-type(2){
        margin: 0 0 0 14%;
        float: left;
    }
    
    p.info:nth-of-type(3){
        margin-right: 3%;
        float: right;
    }
    
    p.beschreibung{
        width: 100%;
        margin: 2% 0 0 2%
    }
    
    
    p.galerie{
        width: 100%;
        margin: 2% 2%;
        padding: 0;
        float: left;
    }
    
    .galerie img{
        margin: 0 3% 2% 0;
        float:left;
    }
    
   
    
    
 
}






@media screen and (min-width: 933px){
    
  header img#header-mobil{
        display: none;
    }
    header img#header-desktop{
        width: 100%;
        display: block;
    }
   
    .text-links{
    width: 74%;
    margin-top: 7%;
    margin-left: 2%;
    margin-right: 0;
    padding: 0.5% 8.5% 2% 2%;
    font:1.000em Arial;
    background:#FFF;
    opacity:0.9;
    filter: alpha(opacity=90); /* For IE8 and earlier */
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    line-height: 1.2;
    float: left;
    display: block;
}
    
    .text-rechts_tab{
        display: none;
    }
    
    .text-rechts_tab p{
        display: none;
    }
    
    .text-links i{
        font-size: 0.8em;
    }
    
    .text-rechts_gross p{
        margin: 4% 0 4% 0;
    }
    .text-rechts_gross{
        width: 18%;
        margin-top: 7%;
        margin-right: 4%;
        margin-left: 0;
        padding: 1% 2% 1.5% 1%; 
        background:rgb(0,56,130);
        font: 0.875em Arial;
        color:#FFF;
        opacity:0.9;
        filter: alpha(opacity=90); /* For IE8 and earlier */
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        float: right;
        text-align: left;
        display: block;
}
    
    
    p.galerie{
        width: 100%;
        margin: 2% 2%;
        padding: 0;
        float: left;
    }
    
    .galerie img{
        margin: 0 5% 2% 0;
        float:left;
    }
    
     #navMain {
        display: block;
    }

    /* Menü-Link verstecken in großen Viewports */
    a.toggle-nav {
        display: none;
    }
    #MainNav{
        width: 100%;
        overflow: hidden;
        border-top: 1px black solid;
        border-bottom: 1px black solid;
        font-size: 1.2em;
        float: left;
    }
    #MainNav ul{
        margin: 0 20px;
    }
    
    #MainNav li{
        margin: 0 1em 0 0;
    }
    #MainNav ul li{
        float: left;
        border: none;
        width: auto;
    }
    
    
    
    
    
}





