/*Das Bordermodell von CSS3 verwenden*/
*{
	box-sizing: border-box;
}

/*Die Grundeistellungen*/
body{
	background-color: white;
	margin: 0px 0px;
	padding: 0px 0px;
	font-size: 100%;
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	color: gray;
	
}

p{
	color: #00395d;
	font-size: 1.2em;	
}

a{
	text-decoration: none;
	color: #00395d;
}

a:hover{
	color: #59a5d6;
}

/*Das Grid*/
@media only screen and (max-width: 767px){
	#wrapper{
		width: auto;
		max-width: 760px;
		margin-left: auto;
		margin-right: auto;
		
	}	

	#menunav, .headerdiv8{
		 display: none; 
	}

	 /*Der Headerbereich*/

	 headerlogodiv{		
		max-width: 120px;
		float: left;
	 }

	 #headerlogo{
		position: absolute;
		height: auto;
		width: 140px;
		max-height: 100px;
	}

	#headernav ul li {
		text-align: center;
		width: 80px;
		background-color: none;   
		list-style-type: none;
		font-size: 0.9em;
		margin-top: 10px;
		
		position: relative;
		left: -14px;
		top: 60px;
	}

	#sprache, #login{
		font-size: 0.8em;
		width: 80px;
		text-align: right;
		position: relative;
		left: 176px;
		top: 70px;
	}

	address{
		clear: both;
	}

	address .grid8{
		width: 100%;
	}	

	#arichvspan1, #arichvspan2{
		clear: both;
	}

	#divfooter{
		display: none;
	}

	#haupt{
		height: 500px;
	} 
	#linkstext{
		min-width: 390px;
		font-size: 0.6em;
	}

	#rechtsbild{
		min-width: 390px;
		
	}
	/*nur bei mobile sonst in aktuelles.css*/
	#archivsuchen{
		margin: 5px 0px 5px 76px;
		width: 200px;
	}

	#arichvspan1{
		width: 76px !important;
	}
	
	#arichvspan2{
		min-width: 70px !important;
	}

	

}

@media only screen and (min-width: 767px) and (max-width: 960px){
	#wrapper{
		width: auto;
		max-width: 744px;
		margin-left: auto;
		margin-right: auto;
		
	}

	#menunav{
		display: none;
	}

	
	/*Der Headerbereich*/
	#headerlogo{
		position: absolute;
		height: 100px;
		width: auto;
	}

	#headernav ul li {
		text-align: right;
		background-color: none;   
		list-style-type: none;
		font-size: 0.9em;
		margin-top: 10px;
	}

	#sprache, #login{
		font-size: 0.8em;
		text-align: right;
	}

	#login{
		position: relative;
		left: -30px;
	}

	#divfooter{
		display: none;
	}

    

	#haupt{
		height: 350px;
	} 
	
}



@media only screen and (min-width: 961px){
	#wrapper{
		width: auto;
		max-width: 1280px;
		margin-left: auto;
		margin-right: auto;
		
	}

	/*Der Headerbereich*/
	#headerlogo{
		position: absolute;
		height: 100px;
		width: auto;
	}

	#headernav ul li {
		text-align: right;
		background-color: none;   
		list-style-type: none;
		font-size: 1.0em;
		margin-top: 10px;		
	}

	.linktextpos1{
		position: relative;
		left: 125px;
	}

	.linktextpos2{
		position: relative;
		left: 90px;
	}

	.linktextpos3{
		position: relative;
		left: 55px;
	}

	#sprache, #login{
		font-size: 0.8em;
		text-align: right;
		
	}

	#divfootermobile{
		display: none;
	}

	#haupt{
		height: 350px;
	} 
}




.grid1{width: 6.25%;} /* eine Spalte*/
.grid2{width: 12.5%;} /* zwei Spalte*/
.grid3{width: 18.75%;} /* drei Spalte*/
.grid4{width: 25%;} /* vier Spalte*/
.grid5{width: 31.25%;} /* fünf Spalte*/
.grid6{width: 37.5%;} /* sechs Spalte*/
.grid7{width: 43.75%;} /* sieben Spalte*/
.grid8{width: 50%;} /* acht Spalte*/
.grid9{width: 56.25%;} /* neun Spalte*/
.grid10{width: 62.5%;} /* zehn Spalte*/
.grid11{width: 68.75%;} /* elf Spalte*/
.grid12{width: 75%;} /* zwölf Spalte*/
.grid13{width: 81.25%;} /* dreizehnte Spalte*/
.grid14{width: 87.5%;} /* vierzehnte Spalte*/
.grid15{width: 93.75%;} /* fünfzehnte Spalte*/
.grid16{width: 100%;} /* sechszehnte Spalte*/

.grid1, .grid2, .grid3, .grid4, .grid5, .grid6, .grid7, .grid8, .grid9, .grid10, .grid11, .grid12, .grid13, .grid14, .grid15, .grid16{
	margin-left: 0px;
	margin-right: 0px;
	float: left;
	
}
 
.row {
	 clear: both; 	
}


/*Navigation im Header*/
#headermenu{
	margin-top: 20px;
	margin-bottom: 40px;
}


/*Adresseteil*/

#addrlinks, #addrrechts{
	padding: 10px 20px 10px 20px;
	font-style: normal;
	min-height: 250px;
}

#addrlinks{
	background-color: #cde4f3;
	color: black;
	font-weight: 300 !important;
}

#addrrechts{
		background-color: #c1def0;
		color: black;
		font-weight: 300 !important;
}

.addrueberschrift{
	color: #00395d;
}


/*Footer*/

#divfooter, #divfootermobile{
	background-color: #00395d;
	color: white;
	font-size: 0.8em;
	height: 85px; 
}


footer a{
	color: white;	
	padding-top: 34px;
	/* padding-bottom: 33px; */
	padding-left: 10px;
}


/*textbearbeitung*/

#meldungausgabe{
	position: absolute;
	height: 100%;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 500;
}

#divform{
	position: relative;	
	height: 400px;
	width: 600px;
	top: 50%;
	left: 50%;
	margin-top: -200px;
	margin-left: -300px;

}

/*Infobereich mit Text und Bild under Header der in allen seiten auser in der Index vorkommt*/

#haupt{
    background-color: #f2f2f2;   
	overflow: hidden;
	
} 

#linkstext, #rechtsbild{
	background-color: #f2f2f2;
	
}

#linkstext{
	padding: 20px 40px;
}

#linkstext p:first-child{
	font-size: 1.7em;
}

#bildleistung{	
	width: 100%;	
}

/*Draggable menuleiste für admin*/

.adminmenu{
	position: absolute;
	width: 200px;
	right: 2px;
	min-height: 500px;
	border: 2px solid black;
	background-color: #00395d;
	color: white;
}

.adminmenulink{
	color: white;
	
}

.adminmenu ul li{
	margin: 0px 0px 2px 0px;
	padding:2px 4px 2px 4px;
	
}

.adminmenu ul li:hover{
	background-color: black;
}
/*bearbeitenbutton für admin mindestgrösse*/
.btbearbeiten{
	min-width: 40px;
	min-height: 20px;
}


/*Cookie*/
#cookie{
	position: absolute;
	top: 0px;
	padding: 30px 10px 30px 10px;
	background-color: rgba(89, 165, 214, 1);
	width: 100%;
	max-width: 1280px;
	display: none;
	z-index: 1000;
	/* text-align: right; */
	font-size: 0.9em;
	border-radius: 2px 2px 20px 20px;
}

#divcookietext{
	float: left;
	width: 800px;
}

#btcookie{
	margin-left: 20px;
	border: 1px solid black;
    border-radius: 7px;
	font-size: 1.0em;
	padding: 10px 10px 10px 10px;
	background-color:rgba(89, 165, 214, 1);
}

#btcookie:hover{
	background-color: #00395d;
	border-color: #eaeaea;
	color: white;
}

#linkcookie{
	margin-left: 20px;
	color: #00395d;
	
}

#linkcookie:hover{
	color: black;
}

#textcookie{
	color: black;
	
}




