/* Mobil Menü texte zentriert */
.mm-panel {text-align:left;}

/* Buttons auf der Startseite für unterschiedliche Auflösungen wird bei max-width: 991px umgekehrt */
.large_screen {display:block!important;}
.small_screen {display:none!important;}

@media only screen and (max-width: 1380px)  {
    #top_nav > ul, #header > .inside, .custom > #menue, #footer .breiten_container, #main .breiten_container {max-width:94%;}
	.counter > div {margin-bottom:20px;}
	.bg .ce_image.runde_ecken figure {margin-left:0!important;}
}
@media only screen and (max-width: 1199px)  {
	#top_nav {min-width:35rem;}
	.counter h2 {font-size:1.5rem;}
	#logo {width:180px;}
	h1 {font-size:3.5rem;line-height:4rem;padding-top: 40px;}
	h2 {font-size:1.65rem;line-height:2.05rem;}	
	h3 {font-size:1.4rem;line-height:1.8rem;}
	h4 {font-size:1.2rem;line-height:1.6rem;}
   .bg .ce_image.runde_ecken figure {margin-top:60px!important;}
   .counter_inner p {margin-top: 0px;}
   .news_leseseite_img figure {margin-top: 30px;margin-left: 0px;margin-bottom: 0px;}
   .news_leseseite_img h1 {padding-top: 10px;}
}
@media only screen and (max-width: 1080px)  {
		#top_nav {min-width:30rem;}
}
@media only screen and (max-width: 991px)  {
	h1 {font-size:2.5rem;line-height:3rem;padding-top: 45px;}
	#logo {width:150px;padding: 10px 0;}
	#header {min-height:inherit;}
	.counter h2 {font-size:1.75rem;}
	#haupt_nav {height:5px;}
	#haupt_nav ul {display:none;}
	#top_nav {display:none;}
    .zweispaltig {column-count:1;column-gap: 0px;}	
    .font_serifen {padding-left: 0px;}
    .large_screen {display:none!important;}
	.small_screen {display:block!important;}
	a.nav-mobile {margin-top:10px;}
	.headersearch {margin-top: 15px;}
}
@media only screen and (max-width: 767px)  {
	#footer a {border-bottom: 1px solid #FECC16!important;}
	.bilderlink  {border-bottom:none!important;}
	.startseite .infoblock > div > div {padding:0 15px;}
	.aktuelles .infoblock > div > div, .infoblock {padding:20px 25px;}	
	.bg .ce_image.runde_ecken figure {margin:25px 0 0 0!important;}
	.ui-accordion-content {margin:0 20px;padding:10px 20px;}
	h1 {padding-top: 20px;}
	.p_rechts_30 {padding:0;}
	#startseite_counter {background-image: none;background-color:#FEF4DE;}
	#srl_layer {    
		width: 90%;
    	max-width: 90%;
    	max-height: 90vh;
    	height: auto;
    	margin: 5% auto;
    	left: 5%; 
    	right: 5%;
    	top: auto;
    	transform: none; /* Translation nicht mehr notwendig */
	}	
}
@media only screen and (max-width: 575px)  {
	.headersearch .widget-text { width: 100px;}
	.startseite  .aktuelles .infoblock > div > div, .infoblock {padding: 20px 0px;}
	.mod_search.headersearch {
		position:absolute;
		float:none;
		max-width: inherit;
		width:100%;
		margin-right: inherit;
		margin-top: 74px;
		left:0;
	}
	.news_leseseite_img figure {width: inherit;}	
	#header .submit {left: 48px;}
}