/*
@media only screen and (max-device-width: 640px) {
*/

#header, #content, #content-header, #main-menue, #imznav, #footer{
	min-width:200px!important;
	
}

/*
#header{
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:10vh;
	z-index:999;
	min-height:90px;
	border-bottom:1px solid #f2f2f2;
    transition: margin-left .5s;
}
*/

#header{
	height:auto !important;
}

#imztop{
	height:auto !important;
}

#breichsmenue2020{
float:left;
width:calc(100% - 20px);
}

#breichsmenue2020 li{
	display:none;
	float:left !important;
	width:100%;
	border-bottom:1px solid #ccc;
}

#breichsmenue2020 li.hauptmenuemobil, #breichsmenue2020 li.active{
	display:block;
}

#main2020oeffnen{
display:block !important;
color:#fff;
float:right;
cursor:pointer;
font-size:30px;
padding: 10px;
}

#shortul li{
	float:left;
	width:calc(100% - 20px) !important;
	padding:0px !important;
	border-bottom:1px solid #ccc;
}

#logoblock{
	display:block !important;
}

#footer a{
	color:#ffffff !important;
}

#footer-social-media{
	overflow:hidden;
	overflow-x:scroll;
}

#footer{
	padding:20px 0 30px 0;
}

.footer-imz-logo-smartphone{
	float:left;
	margin-bottom:20px;
	width:60%;
}

#footer-social-media{
	padding-top:10px;
}

.innen{
	margin:0 auto;
	width: calc(100% - 20px);
}

.einleitung{
	margin-top:10px !important;
}

h1{
	float: left;
    font-weight: bold;
    font-size: 35px;
    line-height: 36px;
    margin-left: 10px;
    margin-bottom: 30px;
    width: calc(100% - 20px);
    text-transform: uppercase;
}

.ce-bodytext {
	font-size: 14px;
line-height: 18px;
font-weight: 300;
}

.ce-bodytext a {
	color:#000000;
	font-weight:bold;
	text-decoration:underline;
}

#imzbody {
	float:left;
	width:100%;
	margin:0;
	padding:0;
	overflow-y:hidden !important;
}

#header .innen{
	float:left;
	width:100%;
	position:relative;
}

#main{
	margin-bottom:0px;
	background:#ffffff !important;
}

#main-left, #main-right, #main-center, #main-center .center-rahmen{
	width:100% !important;
	margin-bottom:30px !important;
}

#main-right{
	margin-top:0 !important;
	float:left;
	margin-left:0px;
}

#main-center .center-rahmen{
	padding:0 !important;
}

#content-header .quadratlogo{
	width: auto !important;
	height:60vh;
	max-height:80vw;
	margin:-40vw;
	margin-top:calc(-30vh + 30px);
}

.tcon{
	margin-top: 10px;
	float:left;
}


#mobilefooter{
	position:fixed;
    z-index:100;
	bottom:0;
	left:0;
	width:100%;
	height:auto;
	background:#ffffff;
	border-top:1px solid #f2f2f2;
    transition: margin-left .5s;
}

#mobilefooter #mobilefooter{
	float:left;
	width:100%;
	display:inline-block;
	text-align:center;
}

#mobilefooter li{
	float:left;
	margin:0;
	padding:10px 0;
	border-right:1px solid #f2f2f2;
	transition:.3s;
	background:#ffffff;
}

#mobilefooter li:hover{
	background:#f2f2f2 !important;
}

#mobilefooter li.drei{
	width:calc((100% / 3) - 1px);
}

#mobilefooter li div{
	margin:0 auto;
	width:80px;
}

#mobilefooter li .mobile-icon{
	height:20px !important;
	float:left;
	margin:5px;
}

#mobilefooter li span{
	float:left;
	font-weight:bold;
	font-size:0.8em;
	padding-top:8px;
}


.content-header-bg-image, .main-menue-ul .main-menue-li-login-icon, #content-header video,#main-center-right, #main-center-left, .desktop-only{
	display:none !important;
}


#content-header{
	overflow:hidden;
	
}

#shortul li.main-li.logo{
	text-align:center !important;
	padding:10px !important;
}

.main-menue-li-logo-img{
	max-width:80%;
	padding:10px;
	float:inherit !important;
}

#shortul li.main-li.dropdown .main-menue-dropdown, #shortul li.main-li.dropdown:before {
	display:none !important; 

}

#content-header {
	margin-bottom:30px;
}

.main-menue.fixed{
	position:inherit !important;
	top:inherit;
	background:inherit;
	
}

#imznavm{
	height: 100%; /* 100% Full-height */
    width: 100vw; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1000000; /* Stay on top */
    top: 0;
    left: -100vw;
    background-color: #fff !important; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}

#imznavm.slidenav{
	padding-top:0;
}

#imznavm .innen{
	position:relative;
	float:left;
	width:100%;
}

#imznavm .closebtn {
    position: absolute;
    top: 20px;
	right:20px;
	color:#000;
	font-weight:100;
    font-size:60px;
	z-index:1000;
	cursor:pointer;
}

input#off-canvas-menu[type=checkbox]:checked ~ #imznavm{
	left:0;
}

#mobile-menue{
	padding-top:100px;
	float:left;
	width:100%;
	
}

#mobile-menue h2{
	font-weight:bold;
	font-size:2em;	
	margin-top:30px;
	margin-left:10px;
	margin-bottom:20px;
}

#mobile-menue li, #mobile-menue .footer-menue-sub-li{
	float:left;
	width:100%;
	padding:10px;
	border-bottom:1px solid #f2f2f2 !important;
}

#mobile-menue a{
	color:#000000;
	text-decoration:none;
	font-size:1.25em;
}

#mobile-menue .footer-menue-sub {
	float:left;
	width:100%;
	max-height:40px;
	transition: max-height 0.5s ease-in-out;
	overflow:hidden;
	margin:0;
}

#mobile-menue .footer-menue-li{
	padding:0 !important;
}


#main-menue{
	display:none;
}

.sichtbarmobil > #content-header{
	height:auto !important;
}

.main-menue-li-normal.active.dropdown, .main-menue-ul .main-menue-li-normal.active .main-menue-li-normal-link{
	display:block !important;
}


.item{
	width:100% !important;
	height: auto !important;
	margin:10px auto !important;
	padding-bottom: 30px !important;
}

.footer-imz-logo{
	filter: invert(100%);
	margin:30px 0 20px 0;

}

#footer-imz-adresse b, #footer-imz-adresse span{
	float:left; 
	width:100%;
	line-height:1.2em;
}

#mobile-menue li.footer-menue-li.login{
	border-bottom:1px solid #ffffff !important;
	text-align:center;
	font-weight:bold;
	font-size:1.25em;
	min-height:70px;
}

.footer-menue-li.login .main-li-login-img{
	float:inherit;
	margin:0 auto;
	height:50px;
	width:50px;
}



#footer-imz-adresse span a {
	color:#000; text-decoration:none;
}

.zitat{
	display:none;
}

.zitat:first-child{
	display:block; 
}

.main-video-einbettung{
	height:calc((100vw / 16) * 8);
	width:100%;
	margin-left:0;
}

.item.anzeige .anzeige-img{
	width:100% !important;
}

.list-with-grafik{
	padding-bottom:0 !important;
}

.list-with-grafik .item-img-wrap, .list-with-grafik .item-content-wrap, .item.firma.directory .item-img-wrap, .item.firma.directory .firm{
	width:100%;
	float:left;
}

.list-with-grafik .item-img-wrap, .item.firma.directory .item-img-wrap{
	text-align:center;
}

.list-with-grafik .item-img-wrap img{
	margin:0 auto;
}

.item.firma.directory .item-img-wrap img{
	float:none !important; 
	width:200px !important;
	height:auto !important;
}

.item.firma .mehr{
	width:calc(100% - 20px);
}

.news-beitrag{
	padding:0 !important;
}

#main-center .center-rahmen, #main-center .author-news{
	margin:0 !important;
}

#main-center .center-rahmen h1, #main-center .center-rahmen .ce-bodytext, .slider, #main-center .author-news{
	margin-left:0 !important;
	margin-right:0 !important;
	width:100% !important;
}

.loginform div input[type="submit"]{
	width:calc(100% - 40px) !important;
}
.loginsignup button{
	margin-bottom:20px;
	width:100% !important;
}

#mobilemenuimContent{
	float:left;
	margin:20px 0;
	padding:10px;
	width:calc(100% - 20px);
	background:#f2f2f2;
	font-size:1em;
	min-height:20px;
	font-weight:300;
	position:relative;
	text-transform:uppercase;
}

#mobilemenuimContent .menueimContent{
	position:absolute;
	top:50%;
	right:10px;
	margin-top:-15px;
	padding-left:10px;
	height:calc(100% - 10px);
	width:40px;
	z-index:100;
	background:#f2f2f2;
	overflow:hidden;
}

.footer-copyright-left, .footer-imprint, .footer-copyright-right{
	float:left;
	width:100%;
}

.item.einsquer img.item-img, .item.einsquer .text-wrap{
	width:100% !important;
}

@media screen and (orientation:portrait) {
   /* Portrait styles here */
  .header-startpage {
  	height:80vh !important;
	max-height:500px;
  }
  
  .content-header-bg-image-mobile {
	display:block !important;
	width:auto;
	height:100%
}

}
/* Landscape */
@media screen and (orientation:landscape) {
   /* Landscape styles here */
  .header-startpage {
  	height:100vh !important;
  }
  
  .content-header-bg-image-mobile {
		display:block !important;
		width:100%;
		min-height:100%;
	}
	
	#content-header .quadratlogo{
		width: auto !important;
		height:60vh;
		max-height:80vw;
		margin-left:calc(-30vh);
		margin-top:calc(-30vh + 30px);
		
	}

}
