/* CSS Document */
@-ms-viewport {
width: device-width;
}

@viewport {
width: device-width;
}

/* Tablet Portrait  */
@media only screen and (max-width: 995px) {

#wrapper, #footer{
  width: calc(100% - 40px);
  padding: 10px 20px 0;
}

.mainnav ul li{
	width: calc(100% / 8);
}

.mainnav ul li a, .mainnav ul li > span, .mainnav ul li strong{
	width: calc(100% - 15px);
}

}




/* smartphone optimierung */
@media only screen and (max-width: 767px) {

#mobilnav{
	position: fixed;
	z-index: 20;
	top: 0;
}


.mobil-button{
display: block;
box-shadow: inset 0 6px #ff440e, inset 0 12px #FFFFFF, inset 0 18px #ff440e, inset 0 24px #FFFFFF, inset 0 30px #ff440e, inset 0 36px #FFFFFF;
position: fixed;
text-indent: -65px;
width: 40px;
height: 40px;
top: 5px;
cursor: pointer;
z-index: 9995;
background-color: #ff440e;
border: 0;
right: 12px !important;
}

.mobil-button:before{
content: 'Menü';
color: #FFFFFF;
font-weight: bold;
line-height: 1.8em;
font-size: 1.3em;
margin-right: 40px;
}

.mobile_menu .inner{
background-color: #ff440e;	
}

#navigation .mainnav{
	display: none;
}

body,html{
background-image: none;
background-color: #D8D8D8;
  position: relative;
  overflow-x: hidden;
}

#topnav{display: none;}
.custom #animation{display: none;}


#wrapper{
width: 94%;
max-width: 910px;
background: none;
padding: 10px 3%;
background-color: #ffffff;
margin-top: 50px;
}


#navigation{
width: 100%;
position: fixed;
height: 50px;
top: 0;
background-color: #ff440e;
z-index: 9;
left: 0;

}

.custom{width: 100%;}

.mobile_menu .mod_customnav ul{
margin: 0px 0 0;
  padding: 0;
  list-style-type: none;	
}

.mobile_menu .mainnav ul{
	flex-direction: column;
}

.mobile_menu .mainnav ul li:first-child strong, .mobile_menu .mainnav ul li:first-child span, .mobile_menu .mainnav ul li:first-child a {
    width: calc(100% - 30px);
}


.mobile_menu .mainnav ul li:first-child span, .mobile_menu .mainnav ul li:first-child a , .mobile_menu .mod_customnav ul li:first-child span, .mobile_menu .mod_customnav ul li:first-child a {
width: 100%;
height: auto;
min-height: 1em;
}

.mobile_menu .mainnav ul li a, .mobile_menu .mainnav ul li span, .mobile_menu .mainnav ul li strong,
.mobile_menu .mod_customnav ul li a, .mobile_menu .mod_customnav ul li span, .mobile_menu .mod_customnav ul li strong
{
width: 100%;
height: auto;
min-height: 1em;
display: block;
text-align: left;
background-color: transparent;
border-bottom: 0;
font-size: 1.1em;
text-decoration: none;
color: #FFF;
margin: 0px 0px 0px 0px;
padding: 10px 0px 10px 15px !important;
}

.mobile_menu .mainnav ul li:last-child strong, .mobile_menu .mainnav ul li:last-child span, .mobile_menu .mainnav ul li:last-child a {
width: 100%;
height: auto;
min-height: 1em;
}





.mobile_menu .mainnav ul li a br,.mobile_menu  .mainnav ul li span br,.mobile_menu  .mainnav ul li strong br{
display: none;
}

.mobile_menu .mainnav ul li, .mobile_menu .mod_customnav ul li {
width: 100%;
display: block;
list-style-type: none;
margin: 0px 0px 0px 0px;
border-bottom: solid 1px #fff;
height: auto;
min-height: auto;
padding-left: 0px;
}


.mobile_menu .mainnav ul li.active, .mobile_menu .mainnav ul li:hover a, .mobile_menu .mod_customnav ul li.active, .mobile_menu .mod_customnav ul li:hover a, .mobile_menu .mainnav ul li.trail, .mobile_menu .mod_customnav ul li.trail{
background-color: #8b8b8b;
font-weight: 600;
}

.mobile_menu .mainnav ul li.active strong, .mobile_menu .mod_customnav ul li.active strong{
padding: 10px 0px 10px 15px !important;	
font-weight: 600;
}

#header{
height: auto;
max-height: 260px;
margin-bottom: 1em;
}

#header h4{
width: 100%;
padding: 5px 0px 5px 0px;
margin: 0.8em 0px 0px 0px;
position: absolute;
display: inline-block;
font-size: 1.2em;
background-color: #ffffff;
opacity: 0.8;
z-index: 9;
}

#header h4 span {
margin-right: 5px;
opacity: 1;
}

.zhsblock{
margin: 0;
max-width: 45px;
top: 8px;
}


.head-rplogo {
width: 89px;
right: 0px;
top: 65px;
}

#logo {
clear: both;
margin: 0;
max-width: 160px;
}

#logo img, .zhsblock img{
width: 100%!important;
height: auto;
}

#bildbereich{
width: 100%!important;
height: auto!important;
min-height: 100px;
max-height: 245px;
}

#bildbereich .inside {
width: 100%;
height: 100%;
max-height: 264px;
margin: 0px 0;
overflow: hidden;
}

#bildbereich img, #bildbereich .keyimage img {
width: 100%;
height: auto;

  object-fit: cover;

}


#animation{
	display: none;
}
#container{
	margin-top: 0;
	display: block;
	align-items: unset;
}

#container #right{
float: none; 
width: 100%;
border-left:0;
margin-left: 0px;
min-height: 50px;
padding-left: 0px;
height: auto;
max-height: 100%;
}

#right .inside{
border-top: 1px solid #003000;
margin-top: 1em;
}


.kontakt #right .inside .mod_article:first-child .ce_text:first-child, .anfahrt #right .inside .mod_article:first-child .ce_text:first-child{
	display: none;
}

#main .ce_text ul{
padding-left: 1em;
}

#container #main{float: none; width: 100%; margin-right: 0px;	display: block;
	align-items: unset;}

#oeffnungszeiten .image_container{
text-align: center;
}

#footer {
background: #ffffff url("../designpics/footer-ende.png") no-repeat scroll center bottom;
min-height: 285px;
height: 412px;
margin: 0 auto;
padding: 10px 3% 0;
text-align: center;
max-width: 910px;
width: 94%;
}

#footer .inside{
font-size: 1em;
}


#footer p {
line-height: 0.8em;
margin: 0;
padding: 0;
text-align: left;
color: #ffffff;
}

#footer p span{
display: block;
width: 100%;
color: #007f13;
}

#footer #zslogo {
float: none;
margin: 0px 0 0 0px;
}


#footer .fb2.first, #footer .fb3.first{
margin-top: 12px;
}


#footer #hfslogo {
float: none;
top: 0px;
right: 0px;
position: relative;
margin: 0px 0 0 0px;
}

.footer-block.partner{
	  flex-wrap: wrap;
	  flex-direction: row;
}

#footer .inside{
float: left;
width: 100%;
}


.footer-block{
display: inline-block;
width: 100%;
float: none;

}


.footer-block:nth-child(1){
width: 100%;
margin-bottom: 2rem;
}

.footer-block:nth-child(2){
width: 100%;
margin-bottom: 0rem;
}



#right #zsright {
    max-height: 315px;
	min-height: 210px;
	height: auto;
    background-position: right center;
    background-repeat: no-repeat;
	display: block;
}

.repaircare .image_container.float_right{
	float: none;
	width: 100%;
	text-align: center;
}

.repaircare .image_container[style]{
	margin-left: 0px!important;
}


.repaircare .ce_text.first .image_container img{
	width: 80%;
	height: auto;
}


.zhsvideo, #zhsvideo{
    text-align: center;
    width: 100%;
	height: auto;
}

.zhsvideo iframe, #zhsvideo iframe{
    width: 100%;
	height: 100%;
}


.isvideo {
    margin: 0 auto;
    width: 100%;
}

.formbody{
	width: 100%;
	display: inline-block;
}

.formbody{
	display: inline-block;
	width: 100%;
	padding: 0px;
}

.formbody label {
    padding-bottom: 3px;
    border-bottom: 0px solid;
}



.formbody .widget.fileupload{
background-color: rgba(0, 126, 17, 0.2);
width: 100%;
padding: 5px 0px 5px 0px;
margin-top: 0px;
	width: calc(100% - 8px);
	border-top: solid 10px #ffffff;
}



.formbody .widget.form-picture-info{
	width: calc(100% - 18px);
}


.formbody .widget.datenschutz {
	width: calc(100% - 28px);
}

.widget-checkbox.datenschutz fieldset{
width: calc(100% - 20px);	
}

.formbody input{
	padding-bottom: 15px;
}

.formbody .row_last .col_0{
	display: none;
}

input.text{
	max-width: 100%;
	width: 96%;
	margin-left: 0px;
	padding: 4px;
	font-size: 1.2em;
}

textarea.textarea {
    width: 98%;
    height: 100px;
    margin-left: 0px;
    padding: 2px;
    border: 1px solid #007F13;
	font-size: 1.2em;
}


.submitbutton{
	width: 100%;
	margin: 0px;
	padding: 8px 0px 6px 0px;
	font-size: 1.1em;
}

.ce_dlh_googlemaps {
clear: both;
display: block;
height: auto;
margin-left: 0px;
overflow: visible;
position: relative;
width: 100%;
max-width: 100%;
}

.dlh_googlemap[style]{
width: 100%!important;
max-width: 100%!important;
}


.pagination p{
	width: 100%;
	margin-right: 0px;
padding-right: 0px;
border-right: 0;
float: none;
text-align: center;
}

/* Produkte Referenzen */
.subreferenzen #header h4, .referenzen #header h4{
	display: none;
}
.subreferenzen  #bildbereich, .referenzen  #bildbereich{
	min-height: 10px;
}

#referenzen .ce_teaser .ce_teasertext{
	width: 100%;
	padding: 0;
	margin: 170px 0 0;
}

#referenzen .ce_teaser{
	width: 100%;
	min-height: 266px;
	max-width: 100%;
}

#referenzen .ce_teaser h2 {
    width: 90%;
    position: absolute;
    margin-top: 144px;
    margin-left: auto;
    padding: 6px 0px 0px 10px;
    background-color: rgba(255,255,255,.8);
    line-height: 20px;
    text-align: left;
}


#referenzen .ce_teaser .ce_teasertext p{
padding: 10px 10px 0;
margin: 0;
}

#referenzen .ce_teaser .ce_teasertext p br{
display: none;
}

#referenzen .ce_teaser .image_container{
	float: none;
}

#referenzen .image_container a{
	display: inline-block;
	width: 100%;
}

#referenzen .image_container img{
	height: 100%;
	width: auto;
	max-width: 100%;
	margin-left: 0%;
}

.ce_gallery table{
	width: 100%;
	position: relative;
}

.ce_gallery table td{
	position: relative;
	padding: 4px;
}

.ce_gallery{
	width: 100%;
		position: relative;
}

.ce_gallery .image_container{
	width: 100%;
}

.ce_gallery .image_container a img{
	width: 100%;
	height: auto;
}

.ce_gallery .image_container[style]{
	margin: 0px 0px 0px 0px!important;
}

.ce_gallery .caption{
	display: none;
}

.ce_gallery > ul li{
	width: 45%;
	margin-right: 0px !important;
}

.ce_gallery > ul li:nth-child(even){
	margin-left: 12px;
}

.ce_player video{
max-width: 100%!important;
height: auto;
}


#main .paxinfo .float_right[style], #main .moebelplaner-box  .float_right[style]{
    margin-top: 0em!important;
    margin-left: 0em!important;
}

#main .paxinfo .float_right, #main .moebelplaner-box  .float_right {
    float: none;
    width: 100%;
    position: relative;
}

#main .paxinfo .float_right img, #main .moebelplaner-box  .float_right img{
    width: 100%;
    height: auto;
}

.ce_text .float_right, .ce_text .float_left{
    float: none;
    width: 100%;
    position: relative;
	text-align: center;
}

.ce_text .float_right img, .ce_text .float_left img{
margin: 20px auto;
}


.ce_text .float_right.image_container[style] , .ce_text .float_left.image_container[style]{
margin: 0px 0px !important;
}

iframe.mplaner{
    width: 100%;
	height: auto!important;
	min-height: 720px;
}


#hinweis{
/*position: absolute;*/
/*top: 220px;*/
/*border-top: 0px solid #b40c20;*/
/*width: calc(100% - 4px);*/
/*z-index: 8;*/
}

#hinweis{
position: relative;
top: 0px;
border-top: 0px;
width: calc(100% - 4px);
z-index: 8;
}


.box-red .innerbox > div{
border: solid 1px #ffffff;
padding: 8px;
}


.box-red .innerbox{
border: solid 2px #b40c20;

}

.repaircare #right {
    height: auto;
}


.hinweisliste .logoimg {
width: 100px;
max-width: 100px;
min-width: 80px;
}

.hinweisliste .hinweistext {
margin-left: 15px;
}

.hinweisliste .hinweistext p.pdflink > a{
padding-bottom: 0px!important;
margin-bottom: 0px !important;
}

.hinweisliste .hinweistext p.pdflink span, .hinweisliste .hinweistext p.pdflink em{
display: inline-block;
width: 100%;
margin-left: 30px;
margin-top :5px;
}

.hinweisliste:last-child{
border-bottom: 0px;
}


fieldset.checkbox-liste {
  margin: 0px 0px 0px 0px;
}


fieldset.checkbox-liste legend{
margin-left: 0px;
width: 100%;
}


.formbody .widget.checkbox-liste span{
	width: auto;
}


.formbody .widget .checkbox-liste > span{
	min-width: 50%;
}

.widget-select select.select{
	width: 100%;
  margin-left: 0px;
}


.formbody .widget-select label, fieldset.noborder legend{
	padding-bottom: 5px;
  border-bottom: 1px solid #007E11;
width: 100%;
}

fieldset.noborder legend{
	margin-left: 0px;
}


fieldset.noborder{
margin: 0px 0px 0px 0px;	
}

}