@charset "utf-8";
@viewport {
width: device-width;
}
img, object, embed, video {
	
	max-width: 100%;
}
/* IE 6 unterstützt keine maximale Breite, verwenden Sie daher eine Standardbreite von 100% */
.ie6 img {
	width:100%;
}

/* ~~ Element-/Tag-Selektoren ~~ */

a img { 
	border: none;
}


a:link {
	color:#414958;
	text-decoration: underline; 
}
a:visited {
	color: #4E5869;
	text-decoration: underline;
}
a:hover, a:active, a:focus { 
	text-decoration: none;
}

/* Diese Klasse kann in einem <br />-Tag oder leeren div-Tag als letztes Element nach dem letzten fließenden div-Tag (im #container) platziert werden, wenn #footer entfernt oder aus dem #container herausgenommen wird. */
.clearfloat { 
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}
.linie-re-li {
	border-left: thin #D3E8F8 solid;
	border-right: thin #D3E8F8 solid;
	}
	
/* Layout für Mobilgeräte: 480 px oder weniger. */

#gridContainer {
	margin-left: auto;
	margin-right: auto;
	width: 98.36%;
	border-left: thin #D3E8F8 solid;
	border-right: thin #D3E8F8 solid;
		}

#header {
	clear: both;
	float: left;
	margin-left: 0;
	margin-bottom:1px;
	width: 100%;
	display: block;
	}

#content {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
	
}
#footer {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
	min-height: 80px;
	border-top: double solid #003300;
}
.flex-container {
    
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	flex-direction: column;
}

/* große Viewports */
@media all and (min-width: 30em) {
.flex-container {
    flex-direction: row;
  }
}
.flex-item {
	
	margin: 0;
	padding: 0;
	opacity: 1;
	flex: 1 1 6em;                /* NEW, Spec - Opera 12.1, Firefox 20+ */
}
		
/* Layout für Tablet-PCs: 481 bis 768 px. Erbt Stile vom: Layout für Mobilgeräte. */

@media only screen and (min-width: 481px) {
#gridContainer {
	width: 90.675%;
	margin-left: 1.1625%;
	margin-right: 1.1625%;
	}

#header {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}

#content {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
#footer {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
	border-top: double solid #003300;
}

.flex-container {
  list-style: none;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: stretch;
    -moz-align-items: stretch;
    -ms-align-items: stretch;
    align-items: stretch;
  flex-wrap: wrap;
  -webkit-flex-flow: row wrap;
  justify-content: space-around;
}
.flex-item {
	margin: 0;
	padding: 0;
	-webkit-box-flex: 1;      /* OLD - iOS 6-, Safari 3.1-6 */
	-moz-box-flex: 1;         /* OLD - Firefox 19- */
	width: 60%;               /* For old syntax, otherwise collapses. */
	-webkit-flex: 1;          /* Chrome */
	-ms-flex: 1;              /* IE 10 */
	flex: 1;   	              /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

.flex-item1 {
	
	margin: 0px 10px 0px 0px;
	padding: 8px;
	-webkit-box-flex: 1 1 auto;      /* OLD - iOS 6-, Safari 3.1-6 */
	-moz-box-flex: 1 1 auto;         /* OLD - Firefox 19- */
	-webkit-flex: 1 1 auto;          /* Chrome */
	-ms-flex: 1 1 auto;              /* IE 10 */
	flex: 1 1 auto;                  /* NEW, Spec - Opera 12.1, Firefox 20+ */
	border:#666 thin solid;
}
.flex-item1:nth-child(1) {
   -webkit-flex: 1;
	-moz-flex: 1;
	-ms-flex: 1;
	flex: 1;
	
    }

.flex-item1:nth-child(2) {
	-webkit-flex: 4;
	-moz-flex: 4;
	-ms-flex: 4;
	flex: 4;
	margin-right: auto;
    }
		
.flex-item3 {
	
	margin: 0px;
	padding: 8px;
	-webkit-box-flex: 1 1 auto;      /* OLD - iOS 6-, Safari 3.1-6 */
	-moz-box-flex: 1 1 auto;         /* OLD - Firefox 19- */
	-webkit-flex: 1 1 auto;          /* Chrome */
	-ms-flex: 1 1 auto;              /* IE 10 */
	flex: 1 1 auto;                  /* NEW, Spec - Opera 12.1, Firefox 20+ */
	}
.flex-item3:nth-child(1) {
	-webkit-flex: 1;
	-moz-flex: 1;
	-ms-flex: 1;
	flex: 1;
	margin-right: auto;
    }		
.flex-item3:nth-child(2) {
   -webkit-flex: 3;
	-moz-flex: 3;
	-ms-flex: 3;
	flex: 3;
	padding-left: 20px;
    }
.flex-item3:nth-child(3) {
	-webkit-flex: 1;
	-moz-flex: 1;
	-ms-flex: 1;
	flex: 1;
	margin-right: auto;
	
	    }		
.flex-item3:nth-child(4) {
	-webkit-flex: 1;
	-moz-flex: 1;
	-ms-flex: 1;
	flex: 1;
	margin-right: auto;
	
	    }		
		
}

/* Desktoplayout: 769 bis maximal 1232 px.  Erbt Stile von: den Layouts für Mobilgeräte und Tablet-PCs. */

@media only screen and (min-width: 769px) {
#gridContainer {
	width: 98.2%;
	max-width: 1432px;
	margin-left: 0.1%;
	margin-right: 0.1%;
	margin: auto;
	border-left: thin #D3E8F8 solid;
	border-right: thin #D3E8F8 solid;
}

#header {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
	
}

#content {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
#footer {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
	border-top: 1px solid #003300;
}

.flex-container {
  display: block;
	display: -webkit-flex;
	display: -webkit-box;
    display: -moz-flex;
    display: -ms-flex;
    display: flex;
	
    -webkit-align-items: stretch;
    -moz-align-items: stretch;
    -ms-align-items: stretch;
    align-items: stretch;
  justify-content: space-around;
  
}

.flex-item {
	
	margin: 0px;
	padding: 0;
	-webkit-box-flex: 1;      /* OLD - iOS 6-, Safari 3.1-6 */
	-moz-box-flex: 1;         /* OLD - Firefox 19- */
	width: 80%;               /* For old syntax, otherwise collapses. */
	-webkit-flex: 1;          /* Chrome */
	-ms-flex: 1;              /* IE 10 */
	flex: 1;                  /* NEW, Spec - Opera 12.1, Firefox 20+ */
}


.flex-item1 {
	
	margin: 0px;
	padding: 8px;
	-webkit-box-flex: 1 1 auto;      /* OLD - iOS 6-, Safari 3.1-6 */
	-moz-box-flex: 1 1 auto;         /* OLD - Firefox 19- */
	-webkit-flex: 1 1 auto;          /* Chrome */
	-ms-flex: 1 1 auto;              /* IE 10 */
	flex: 1 1 auto;                  /* NEW, Spec - Opera 12.1, Firefox 20+ */
	
}
.flex-item1:nth-child(1) {
   -webkit-flex: 1;
	-moz-flex: 1;
	-ms-flex: 1;
	flex: 1;
	
    }

.flex-item1:nth-child(2) {
    -webkit-flex: 2;
	-moz-flex: 2;
	-ms-flex: 2;
	flex: 2;
	   }
	   
.flex-item1:nth-child(3) {
    -webkit-flex: 3;
	-moz-flex: 3;
	-ms-flex: 3;
	flex: 3;
	    }

}
.to-top {
	margin-top: 10rem;
	margin-bottom: 15px;
	padding-top: 15px;
}
.kopfzeile {
	position: fixed;
    z-index: 9;
    top: 0;
    left: 0;
    right: 0;
	}
.navbar-fixed-top {
  position:relative;
  top: 0;
}
.abstand {
	 margin: 2em;
}

@media (min-width: 992px) {
.navbar-fixed-top,
.navbar-fixed-bottom {
	position: fixed;
	right: 0;
	left: 0;
	z-index: 1030;
}
.navbar-fixed-top {
  top: 0;
  border:medium #666 solid;
}

.navbar-fixed-bottom {
  bottom: 0;
}
 
}
