/* === Farben === */

/*
Blau:         #2d4b9b
Dunkel Grau:  #3D3F45
Hell Grau:    #F0F0F0
Rot:          #A62C21
 */



/* === GLOBAL === */

html{
    font-size: 16px;
}

body {
    margin: 0;
    font-family: 'Helvetica Neuche', 'Arial', sans-serif;
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

section {
    padding-top: 1rem;
    padding-bottom: 1rem;
}


@media (max-width: 1366px)  {

    section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

@media (max-width: 1024px)  {

    section {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

@media (max-width: 768px)  {

    section {
        padding-top: .5rem;
        padding-bottom: .5rem;
    }
}

/* :focus {
  outline: none;
  -webkit-box-shadow: 0 0 0 2px #F0F0F0, 0 0 10px #F0F0F0;
          box-shadow: 0 0 0 2px #F0F0F0, 0 0 10px #F0F0F0;
}*/


/* === GENERELLES === */

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.active {
    background-color: #A62C21 !important;

}

.wichtiger-text {
    font-weight: bold;
}

.screenreader {
    display: none;
}

.intro-container {
    text-align: center;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.intro-container  > h1 {
    font-size: 1.6rem;
    text-transform: uppercase;
}

.intro-container  > p {
    font-size: 1.2rem;
}


@media (max-width: 1366px)  {

    .intro-container {
        width: 90%;
    }
    .intro-container  > p {
        margin-bottom: .5rem;
    }
}

@media (max-width: 1024px)  {

    .intro-container {
        width: 100%;
    }
    .intro-container  > p {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .intro-container {
        margin-bottom: 1rem;
    }
    .intro-container  > h1 {
        font-size: 1.4rem;
        text-transform: uppercase;
    }

}

/* === BUTTONS === */

.btn-typ-1 {
  background-color: #A62C21;
  border: 2px solid #A62C21;
  color: #FFF;
  padding: .4rem .6rem;
  -webkit-transition: border .5s ease-in-out;
  transition: border .5s ease-in-out;
}

.btn-typ-1:hover {
  border: 2px solid #FFF;
  font-weight: normal;
}

.btn-typ-2 {
  background-color: transparent;
  border: 2px solid #A62C21;
  color: #A62C21;
  padding: .4rem .6rem;
  -webkit-transition: color .5s ease-in-out, border .5s ease-in-out;
  transition: color .5s ease-in-out, border .5s ease-in-out;
}

.btn-typ-2:hover {
  color: #A62C21;
  border: 2px solid #A62C21;
  font-weight: normal;
}

.btn-typ-3 {
  background-color: transparent;
  border: 2px solid #3D3F45;
  font-size: 1rem;
  color: #3D3F45;
  -webkit-transition: border .5s ease-in-out;
  transition: border .5s ease-in-out;
}

.btn-typ-3:hover {
  border: 2px solid #A62C21;
  font-weight: normal;
}




/* Navigationsleiste */

#header-nav {
    width: 100%;
    height: 75px;
    background-color: #2d4b9b;
    position:relative;
    font-weight: bold;
    font-size: 1.1rem;
}

#header-nav a > img {
    height: 56px;
    width: auto;
    float: left;
    margin: .55rem;
}

#header-nav ul {
    margin: 0px;
    padding: 0px;
    float: right;
    height: 100%;
}

#header-nav ul > li  {
    display: inline-block;
    height: 100%;
    padding: 0 .4rem 0 .4rem;
}

#header-nav  ul > li > a {
    margin-top: 1.7rem;
    display: inline-block;
}


#header-nav  ul > li > a:link {
    color: #FFF;
    text-decoration: none;
}
#header-nav  ul > li > a:visited {
    color: #FFF;
    text-decoration: none;
}
#header-nav  ul > li > a:active {
    color: #F0F0F0;
    text-decoration: none;
}
#header-nav  ul > li > a:hover {
    color: #F0F0F0;
    text-decoration: none;
}

#header-nav .col-6 {
    padding-top: 0;
    padding-bottom: 0;
}

#header-nav .container,
#header-nav .row,
#header-nav .col-6 {
    height: 100%
}

.logo-link {
    display: inline-block;
}




/* === Navigationsleiste mobil === */

#mobile-nav-button {
    color: #FFF;
    float: right;
    font-size: 2rem;
    border: 2px solid #FFF;
    width: 37px;
    height: 37px;
    position: relative;
    margin-top: 1.2rem;
    margin-bottom: .5rem;
    padding: 0;
    background-color: transparent;
}

#mobile-nav-button > span {
   position: absolute;
   bottom: 0px;
   left: 5px;

}

#mobile-nav-content > ul > li {
    display: block;
    background-color:  #2d4b9b;
    height: 70px;
    padding: 0 1.2rem;
    text-align: center;
}	


#mobile-nav-dropdown {
    position: relative;
    display: inline-block;
    float: right;
}

#mobile-nav-content {
    position: absolute;
    right: 0;
    top: 60px;
    display: none;
	z-index: 10;
}

#mobile-nav-dropdown:focus-within #mobile-nav-content,
#mobile-nav-dropdown:hover #mobile-nav-content {
    display: block;
}

#mobile-nav {
    display: none;
}

@media (max-width: 900px) {
    #desktop-nav {
        display: none;
    }
    #mobile-nav {
        display: block;
    }

    #mobile-nav a > img {
        height: 56px;
        width: auto;
        float: left;
        margin: .55rem;
    }


}


/* === STARTSEITE === */

#start-bereich {
  
}

.start-box {
  text-align: left;
  width: 90%;
  background-color: #F0F0F0;
  padding: 1rem 3rem 2.5rem;
  max-width: 500px;
}

.start-box h2 {
  font-size: 1.5rem;
  
}

.start-box h3 {
  font-size: 1.3rem;
  margin-bottom: 3px;
}


#start-bereich .row:nth-of-type(2) > .col-2:first-of-type > .start-box {
  margin-left: auto;
  margin-right: 0;
  
}

#start-bereich .row:nth-of-type(2) > .col-2:nth-of-type(2) > .start-box {
  margin-left: auto;
  margin-right: auto;
}

#start-bereich .row:nth-of-type(2) > .col-2:nth-of-type(3) > .start-box {
  margin-left: 0;
  margin-right: auto;
}



.start-box strong{
	font-size: 1.1rem;
}

.wmsbox {
		float: left;
		width: 50%;
		padding-top: 0.5rem;
		padding-bottom: 0.5rem;
		padding-left: 0;
		padding-right: 0;
}

#wetterwarnungen h2 {
	margin-bottom: 5px;
}
#wetterwarnungen h3 {
	margin-top: 0px;
}

.wmsbild {
  width: 100%;
}

#uhr {
	font-size: 3.5rem;
	margin: 1rem auto;
	
}

.start-box hr { 
    height: 5px; 
    margin: 0 auto;
    color: #2d4b9b;
    background: #2d4b9b;
}

#beschreibung {
	margin-top: 2rem;
}






@media (max-width: 1300px) {
	

		#start-bereich .row:nth-of-type(2) > .col-2:first-of-type > .start-box {
		  margin-left: auto;
		  margin-right: 0;
		}

		#start-bereich .row:nth-of-type(2) > .col-2:nth-of-type(2) > .start-box {
		  margin-left: 0;
		  margin-right: auto;
		}

		#start-bereich .row:nth-of-type(2) > .col-2:nth-of-type(3) > .start-box {
		  margin-left: auto;
		  margin-right: 0;
		}
}




@media (max-width: 1050px) {

		#start-bereich .row:nth-of-type(2) > .col-2:first-of-type > .start-box {
		  margin-left: auto;
		  margin-right: auto;
		  padding: 1rem 1rem;
		}

		#start-bereich .row:nth-of-type(2) > .col-2:nth-of-type(2) > .start-box {
		  margin-left: auto;
		  margin-right: auto;
		  padding: 1rem 1rem;
		}

		#start-bereich .row:nth-of-type(2) > .col-2:nth-of-type(3) > .start-box {
		  margin-left: auto;
		  margin-right: auto;
		  padding: 1rem 1rem;
		}
}


@media (max-width: 480px) {

		  .start-box {
			width: 100%;	
		  }

		.start-box h2 {
		  font-size: 1.3rem;
		  
		}

		.start-box h3 {
		  font-size: 1.1rem;
		  margin-bottom: 3px;


		}
		#uhr {
			font-size: 2.5rem;
			margin: 1rem auto;
			
		}

}



/* === EINZELDARSTELLUNG SCHNEEREGEN-KARTE=== */


#einzeldarstellung {
  padding-top: 1rem;
}


.darstellung-teaser-box {
  background-color: #2d4b9b;
  text-align: left;
  color: #FFF;  
  padding: 1rem 3rem 2.5rem;
  margin-bottom: 1.6rem;
  font-size: 1rem;
  margin-right: auto;
  margin-left: auto;
  max-width: 800px;

}

.darstellung-teaser-box h2 {
  font- color: #FFF;
  font-size: 1.5rem;
    }


.darstellung-teaser-box a:link {
    text-decoration: none;
	color: #FFF;
}


.darstellung-teaser-box a:visited {
    color: #FFF;
}

.darstellung-teaser-box a:active {
    color: #FFF;
}

.darstellung-teaser-box a:hover {
    color: #F0F0F0;
}





/* === RADARNANWENDUNG === */

#kartencontainer {
  width: 100%;
  height: 80vh;
  /*width: 1000px;
  min-height: 800px;*/
  position: relative;
  z-index: 1;
  /*align: center;*/
  float: left;
  
}



/* coner ribbons from https://codepen.io/eode9/pen/twkKm */
/* The ribbons */

.corner-ribbon{
  width: 250px;
  background: #e43;
  position: absolute;
  top: 25px;
  right: -50px;
  left: auto;
  height: 40px;
  display: flex;
  align-items: center;

  letter-spacing: 1px;
  color: #f0f0f0;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  z-index: 999;
  font: 16px/2 "Helvetica Neue", Arial, Helvetica, sans-serif, bold;
  box-shadow: 0 0 3px rgba(0,0,0,.3);
}

/* font weight in layercontrol reduced */
.leaflet-control-layers-group span:first-child{
  color:rgba(0,0,0,.8)  !important;
  font-weight:500  !important;
}

/* move scale out of attribution button */
.leaflet-control-scale-line{
  transform: translate(-40px, 5px);
}


.legend {
  padding: 6px 8px;
  font: 12px/16px "Helvetica Neue", Arial, Helvetica, sans-serif;
  color: #333;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  border-radius: 5px;
  overflow-y: scroll;
}


/* === INHALTSBEREICH === */


#inhalt--bereich {
    background-color: #FFF;
}

#inhalt--container {
    position: relative;
    width: 80%;
    margin-right: auto;
    margin-left: auto;
}


#inhalt--container p {
    margin-top: 0;
}

#inhalt--container > img {
    position: absolute;
    top: 0;
    right: 100px;
    height: 100%;
}

#inhalt--container > p {
    width: 75%;
    font-size: 1.2rem;
}


@media (max-width: 1140px) {

    #inhalt--container > p {
        width: 70%;
    }

}

@media (max-width: 1024px) {

    #inhalt--container > p {
        width: 100%;
    }

    #inhalt--container > img {
        display: none;
    }
}



/* SCHALTFLAECHEN   */

.bt_blau {
    -moz-box-shadow: 0px 10px 14px -7px #595959;
    -webkit-box-shadow: 0px 10px 14px -7px #595959;
    box-shadow: 0px 10px 14px -7px #595959;
    background-color: #2D4B9B;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    padding: 13px 32px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #9c9c9c;
    width: auto;
	margin-bottom: 5px;
    
}

.bt_blau:hover {
    background-color:#999999;
}
.bt_blau:active {
    position:relative;
    top:1px;
}

.bt_rot {
    -moz-box-shadow: 0px 10px 14px -7px #595959;
    -webkit-box-shadow: 0px 10px 14px -7px #595959;
    box-shadow: 0px 10px 14px -7px #595959;
    background-color: #A62C21;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    padding: 13px 32px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #9c9c9c;
    width: auto;
	margin-bottom: 5px;
    
}

.bt_rot:hover {
    background-color:#999999;
}
.bt_rot:active {
    position:relative;
    top:1px;
}


/* === BERICHTE-BEREICH === */

#berichte-bereich {
  padding-top: 1rem;
}

.berichte-teaser-box {
  background-color: #2d4b9b;
  text-align: left;
  color: #FFF;
  padding: 1rem 3rem 2.5rem;
  width: 60%;
  margin-bottom: 1.6rem;
  font-size: 1rem
}

#berichte-bereich .row > .col-3:nth-of-type(even) > .berichte-teaser-box {
  margin-right: auto;
  margin-left: 1rem;
}

#berichte-bereich .row > .col-3:nth-of-type(odd) > .berichte-teaser-box {
  margin-right: 1rem;
  margin-left: auto;
}

.berichte-teaser-box > h2 {
  font-size: 1.4rem;
}


@media (max-width: 1366px) {

  .berichte-teaser-box {
    width: 80%;
  }

}

@media (max-width: 1024px) {

  .berichte-teaser-box {
    width: 100%;
    margin-bottom: .6rem;
  }

  #berichte-bereich .row > .col-3:nth-of-type(even) > .berichte-teaser-box {
    margin-left: .5rem;
  }

  #berichte-bereich .row > .col-3:nth-of-type(odd) > .berichte-teaser-box {
    margin-right: .5rem;
  }

}

@media (max-width: 768px) {

  #berichte-bereich .row > .col-3:nth-of-type(even) > .berichte-teaser-box {
    margin-left: 0;
  }

  #berichte-bereich .row > .col-3:nth-of-type(odd) > .berichte-teaser-box {
    margin-right: 0;
  }

}

@media (max-width: 480px) {

  .berichte-teaser-box {
    padding: 1rem 1.5rem 2.5rem;
  }

}


/* === KONTAKTE-BEREICH === */




.kontakte-box {
  text-align: left;
  width: 80%;
  background-color: #F0F0F0;
  padding: 1rem 3rem 2.5rem;
}

.kontakte-box h2 {
  font-size: 1.5rem;
  
}

.kontakte-box h3 {
  font-size: 1.3rem;
  
}


#kontakte-bereich .row:nth-of-type(2) > .col-2:first-of-type > .kontakte-box {
  margin-right: 0;
  margin-left: auto;
}

#kontakte-bereich .row:nth-of-type(2) > .col-2:nth-of-type(2) > .kontakte-box {
  margin-left: auto;
  margin-right: auto;
}

#kontakte-bereich .row:nth-of-type(2) > .col-2:nth-of-type(3) > .kontakte-box {
  margin-left: 0;
  margin-right: auto;
}

#kontakte-bereich .row:nth-of-type(2) > .col-2:nth-of-type(4) > .kontakte-box {
  margin-right: 0;
  margin-left: auto;
}

#kontakte-bereich .row:nth-of-type(2) > .col-2:nth-of-type(5) > .kontakte-box {
  margin-left: auto;
  margin-right: auto;
}


.kontakte-box strong{
	font-size: 1.4rem;
}



.kontakte-mail-btn {
  text-decoration: none;
  height: 40px;
  display: inline-block;
  padding-top: .5rem;
  min-width: 100px;
  margin-top: 1rem;
}

.kontakte-mail-btn:link {
  color: #A62C21;
}

.kontakte-mail-btn:visited {
  color: #A62C21;
}

.kontakte-mail-btn:active {
  color: #A62C21;
}

.kontakte-mail-btn:hover {
  color: #3D3F45;
  border: 2px solid #3D3F45;
}



@media (max-width: 1580px) {

		.kontakte-box {
		  padding: 1rem 1rem;
			}
}


@media (max-width: 1300px) {
	
				

		#kontakte-bereich .row:nth-of-type(2) > .col-2:first-of-type > .kontakte-box {
		  margin-right: 0;
		  margin-left: auto;
		}

		#kontakte-bereich .row:nth-of-type(2) > .col-2:nth-of-type(2) > .kontakte-box {
		  margin-left: 0;
		  margin-right: auto;
		}

		#kontakte-bereich .row:nth-of-type(2) > .col-2:nth-of-type(3) > .kontakte-box {
		  margin-left: auto;
		  margin-right: 0;
		 }

		#kontakte-bereich .row:nth-of-type(2) > .col-2:nth-of-type(4) > .kontakte-box {
		  margin-right: auto;
		  margin-left: 0;
		  padding: 1rem 3rem;
		  
		}

		#kontakte-bereich .row:nth-of-type(2) > .col-2:nth-of-type(5) > .kontakte-box {
		  margin-left: auto;
		  margin-right: 0;
		 }

		#kontakte-bereich .row:nth-of-type(2) > .col-2:nth-of-type(6) > .kontakte-box {
		  margin-left: 0;
		  margin-right: auto;
		}

}




@media (max-width: 1050px) {

		#kontakte-bereich > .container > .row:nth-of-type(2) > .col-2 > .kontakte-box {
		  margin-right: auto;
		  margin-left: auto;
		  }
  
  		#kontakte-bereich .row:nth-of-type(2) > .col-2:nth-of-type(4) > .kontakte-box {
		  padding: 1rem 1rem;
		  
		}
  

}


@media (max-width: 480px) {

  .kontakte-box {
    width: 100%;
  }

}


/* === SWITCH - Bereich Index-Seite  === */




#switch-bereich {
  
}

.switch-box {
  text-align: left;
  width: 90%;
  background-color: #F0F0F0;
  padding: 1rem 3rem 2.5rem;
  max-width: 500px;
}

.switch-box h2 {
  font-size: 1.5rem;
  
}

.switch-box h3 {
  font-size: 1.3rem;
  
}


#switch-bereich .row:nth-of-type(2) > .col-3:first-of-type > .switch-box {
  margin-right: 0;
  margin-left: auto;
}

#switch-bereich .row:nth-of-type(2) > .col-3:nth-of-type(2) > .switch-box {
  margin-left: 0;
  margin-right: auto;
}


}


.switch-box strong{
	font-size: 1.1rem;
}






@media (max-width: 1050px) {

		#switch-bereich > .container > .row:nth-of-type(2) > .col-3 > .switch-box {
		  margin-right: auto;
		  margin-left: auto;
		  }
  
  		#switch-bereich .row:nth-of-type(2) > .col-3:nth-of-type(4) > .switch-box {
		  padding: 1rem 1rem;
		  
		}
  

}


@media (max-width: 480px) {

  .switch-box {
    width: 100%;
  }

}



/* === VIDEO-BEREICH === */

#video-bereich {
  background-color: #FFF;
  color: #2d4b9b;
}

#video-bereich video {
  width: 35%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

@media (max-width: 1440px) {

  #video-bereich video {
    width: 45%;
  }

}

@media (max-width: 1024px) {

  #video-bereich video {
    width: 60%;
  }

}

@media (max-width: 768px) {

  #video-bereich video {
    width: 75%;
  }

}

@media (max-width: 480px) {

  #video-bereich video {
    width: 100%;
  }

}







/* === SWITCH - Bereich Index-Seite  === */




#switch-bereich {
  
}

.switch-box {
  text-align: left;
  width: 90%;
  background-color: #F0F0F0;
  padding: 1rem 3rem 2.5rem;
  max-width: 500px;
}

.switch-box h2 {
  font-size: 1.5rem;
  
}

.switch-box h3 {
  font-size: 1.3rem;
  
}


#switch-bereich .row:nth-of-type(2) > .col-3:first-of-type > .switch-box {
  margin-right: 0;
  margin-left: auto;
}

#switch-bereich .row:nth-of-type(2) > .col-3:nth-of-type(2) > .switch-box {
  margin-left: 0;
  margin-right: auto;
}





.switch-box strong{
	font-size: 1.1rem;
}






@media (max-width: 1050px) {

		#switch-bereich > .container > .row:nth-of-type(2) > .col-3 > .switch-box {
		  margin-right: auto;
		  margin-left: auto;
		  }
  
  		#switch-bereich .row:nth-of-type(2) > .col-3:nth-of-type(4) > .switch-box {
		  padding: 1rem 1rem;
		  
		}
  

}


@media (max-width: 480px) {

  .switch-box {
    width: 100%;
  }

}







/* === FOOTER  === */

#footer {
    background-color: #2d4b9b;
    height: 5rem;
    color: #FFF;
    font-size: 0.8rem;
}



#footer span {
		font-size: 0.7rem;
		/* float: left; */
		margin-right: 10px;
}

#footer img {
		float: left;
		margin-right: 10px;
}

#footer-nav {
    display: inline-block;
    float: right;
}


#footer-nav a:link {
    text-decoration: none;
}

#footer-nav a:link {
    color: #FFF;
}

#footer-nav a:visited {
    color: #FFF;
}

#footer-nav a:active {
    color: #FFF;
}

#footer-nav a:hover {
    color: #F0F0F0;
}

@media (max-width: 680px) {
    #footer span {
        display: none;
    }
	
	#footer {
		background-color: #2d4b9b;
		height: 2.5rem;
	}
}


.footerIFrame {

	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;

}






/* === GRID-SYSTEM === */

.container {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.row::after {
    content: "";
    clear: both;
    display: block;
}

[class*='col-'] {
    float:left;
    min-height: 1px;
    padding: .8rem;
}
/* === normale Breite === */
.col-1 {  width: 16.666%;}
.col-2 {  width: 33.333%;}
.col-3 {  width: 50%;    }
.col-4 {  width: 66,666%;}
.col-6 {  width: 98%;   }


@media (max-width: 1300px) {

    .col-2 {  width: 50%;  }
}


@media (max-width: 1050px) {

    .col-2 {  width: 100%;}

}



/* === Tablet-Breite === */
@media (max-width: 1024px) {

    .col-1 {  width: 33.333%;}

}



/* === Smartphone breit === */
@media (max-width: 768px) {

    .col-1 {  width: 50%;  }
    .col-2 {  width: 100%; }
    .col-3 {  width: 100%; }
    .col-4 {  width: 100%; }
}

/* === Smartphone hoch === */
@media (max-width: 480px) {

    .col-1 {  width: 100%; }
    .col-2 {  width: 100%; }
    .col-3 {  width: 100%; }
    .col-4 {  width: 100%; }
}
