
/*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;
}

/*Unter-Navigation*/

#navSub-Mobil{
        display:block;
        width:90%;
        float: left;
        margin:7% 5%;
        padding:0;
        list-style:none;
        text-align: center;
}

#navSub-Mobil li{
 margin: 3% 0 0 0;
 padding:4% 0;
 background:#FFF;
 opacity:0.9;
    filter: alpha(opacity=90); /* For IE8 and earlier */
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

#navSub-Mobil li ul a{
 text-align: right;
 text-decoration:none;
 font-family: arial;
 font-size: 0.8em;
 font-weight: bold;
 color:black;
}

#navSub-Mobil li ul{
  width:90%;
  margin:0 0 0 5%;
  padding:0;
}

#navSub{
    display: none;
}

/* Content-Bereich*/

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


.infotext-Phone{
    display:block;
    float:left;
    width:90%;
    margin:0 5% 3% 5%;
    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: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    text-align:center;
    line-height: 1.3;

}
.infotext-Tablet{
    display: none;
}

.infotext-Desktop{
    display: none;
   }

.infotext-Tablet{
    display: none;
}


.text-Content{
    display: none;
}

/*Page-Styles*/

a{
 color:#FFF;
}

h2{ 
    
    color: rgb(0,56,130); 
}


#header-desktop{
 display:none;
}



@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-Content{
    width: 76%;
    margin-top:7%;
    margin-left:12%;
    margin-right: 12%;
        margin-bottom: 3%;
    padding: 0.5% 8.5% 2% 2%;
    font:1.125em Arial;
    background:#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;
    float: left;
    display: block;
}
    .infotext-Phone{
        display: none;
    }
    
    .infotext-Tablet{
        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: 8px;
        -moz-border-radius: 8px;
        border-radius: 8px;
        text-align:left;
        float: left;
        display: block;
}
    
         
    .infotext-Tablet p{
        margin: 0;
        padding: 0;
        line-height: 1.3;
        display: block;
    }
    
  
    .infotext-Phone{
        display: none;
    }
    
    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;
    }
    
    ul#navSub{
        display:block;
        width: 80%;
        margin: 0 10% 3% 10%;
        padding:0;
        float: left;
}
    
    #navSub li {
      margin-left: 3%;
      margin-right: 1%;
      margin-top: 3%;
      margin-bottom: 0;
      padding:0.2%;
      list-style-type: none;   
      display: inline;
      float: left;
        display: block;
}

    #navSub a:hover{
        color:blue;
}
    
    ul#navSub-Mobil{
        display: none;
    }
    
    
 
}






@media screen and (min-width: 933px){
    
  header img#header-mobil{
        display: none;
    }
    header img#header-desktop{
        width: 100%;
        display: block;
    }
    
    .infotext-Tablet{
        display: none;
    }
    
    .infotext-Tablet p{
        display: none;
    }
    
    
    .infotext-Desktop p{
        margin: 4% 0 4% 0;
    }
    .infotext-Desktop{
        width: 18%;
        margin-top: 7%;
        margin-right: 4%;
        margin-left: 0;
        padding: 1% 2% 1.5% 1%; 
        background:rgb(0,56,130);
        font: 0.900em 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;
}
    
        .text-Content{
    width: 74%;
    margin-top: 7%;
    margin-left: 2%;
    margin-right: 0;
    padding: 0.5% 8.5% 2% 2%;
    font:1.500em 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.7;
    float: left;
    display: block;
}
    
    .text-Content i{
        font-size: 0.8em;
    }
    
    
    ul#navSub{
        display:block;
        width: 96%;
        margin: 7% 2% 15% 2%;
        padding:0;
        float: left;
}
    
    #navSub li{
        float: left;
        margin:0 1.2% 0 0;
        }
    #navSub li:nth-of-type(2){
        margin: 0 1.2% 0 0;
        float: left;
    }
    #navSub li:nth-of-type(3){
        margin: 0 1.2% 0 0;
        float: left;
    }
    #navSub li:nth-of-type(4){
        margin: 0 1.2% 0 0;
        float: left;
    }
    
    #navSub li:nth-of-type(5){
        margin: 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;
    }
    
    
    
    
    
    
    
}





