.mobilshow,.mobilephone
{
    display: none;
}
@media only screen and (max-width: 1300px) {
    .fb
    {
        display: none;
    }    
}
@media only screen and (max-width: 500px) {
.fancybox-lock {
	overflow: visible!important;
}


#content img
{
    visibility: hidden;
}

.mobile
{
    display: block;
}
.desktop
{
    display: none;
} 
body {
	min-width: 100%;
	width: auto!important;
	width: 100%;
    line-height: 1.5em;
    font-size: 16px!important;
}
#header, #footer, .row
{
    width: 100%;
    min-width: 0;
}
.fb,.schnellkontakt,.news,.termine,#access {
	display: none;
}
.mobilshow
{
    display: block;
} 
#content div,
#content span,
#content p {
	margin: 0px!important;
	padding: 0px!important;
	left: auto!important;
	top: auto!important;
	bottom: auto!important;
	right: auto!important;
    width: auto!important;
    height: auto!important;
    background: transparent!important;
    -moz-transform: none!important;
    -o-transform: none!important;
    -webkit-transform: none!important;
    transform: none!important;
    font-style: normal!important;
    font-size: 16px!important;
    overflow: visible!important;
    float: none!important;
}

/*HEADER*/
#container-top {
	height: auto;
    background: none;
}
#header {
	overflow: hidden;
    height: 110px;
    background: url('images/mheader.svg') no-repeat bottom left;
    background-size: 140%;
}
#toplogo {
  background: none;
  width: 40%;
  height: 110px;
  position: relative;
  float: left;
  left: 0px;
  top: 0px; 
  display: block;
  z-index: 1000;
} 
.rev_slider_wrapper, .rev_slider, .rev_slider ul, .rev_slider li, .rev_slider div
{
    height: 180px!important;
}
.cycle-slideshow img
{
    width: 100%;
    height: auto;
}
.mobiletop
{
    width: 50%;
    float: right;
    text-align: right;
}
.mobiletop a
{
    display: inline-block;
    margin-right: 15px;
    z-index: 1000;
    cursor: pointer;
    
}
#buttonmenu {
  background: url('images/nav.svg') no-repeat center center;
  width: 40px;
  height: 80px;
  margin-right: 30px;  
  /*background-size: 36px 80px; */
  background-size: 100% 100%;
}
#buttonmenu.close {
  background: url('images/navzu.svg') no-repeat center center;
  background-size: 90% 90%;  
}
#buttonphone {
  background: url('images/phone.svg') no-repeat center center;
  width: 37px;
  height: 80px;
  background-size: 37px 80px;
}
#mobilemenu {
	display: block;
	background: url('images/mmenu.png') repeat;
	right: 0px;
	float: none;
    position: absolute;
    z-index: 1000;
	width: 100%;
    border-top: solid 1px #fff;
}
#mobilemenu a {
	color: #fff;
    font-size: 16px;
    padding-left: 2em;
    border-bottom: solid 1px #fff;
}
#mobilemenu li li a
{
    padding-left: 4em;
} 
#mobilemenu .cleaner {
	display: none;
}
.mobilephone
{
    border-top: solid 1px #fff;
    background: url('images/mmenu.png') repeat;
    position: absolute;
    width: 100%;
    z-index: 1000;
}
.mobilephone-inside
{
    font-size: 16px;
    padding: 1em 2em;
    color: #fff;
    border: solid 1px #fff;
    border-left: none;
    border-right: none;
    border-top: none;
}
/*CONTENT*/
h1,h2,h3
{
    font-style: normal!important;
}
#content
{
    padding: 0px 5%!important; 
}
img:hover
{
    opacity: 1;
}
#content img
{
    margin: 10px 0px!important;
    width: 112%!important;
    height: auto!important;
    position: relative;
    left: -6%;
    max-width: initial;
}
#content div.sp, #content div.sp1
{
    display: inline;
    margin-right: 2px!important;
}
#content div.sp.red,#content div.sp1.red,#content div.sp strong,#content div.sp bold
{
    display: block!important;
    font-size: 18px!important;
    padding-bottom: 5px!important;
    margin-top: 20px!important;
}

h1.entry-title
{
    padding-left: 0px;
    width: auto;
}
/*tuv*/
.tuv
{
    padding: 20px 20px 14px 20px;
    background: #f6f6f2;
    margin: 20px 0px;
}
.footermobile
{
    padding: 0px 20px;
}
/*kontakt*/
.wrap.kontakt .alignleft,.alignleft, img.alignleft
{
    display: block!important;
    float: none!important;    
}
div.wpcf7 img.ajax-loader
{
    display: none;
}
#content .wpcf7-form
{
    margin: 20px 0px!important;
}
#content .kontakttext
{
    font-weight: bold;
    font-size: 18px!important;
    margin-bottom: 10px!important;
}
#content .wpcf7-form input:not([type='checkbox']),#content .wpcf7-form textarea
{
    background: #F0F0F0!important;
    height: 50px!important;
    line-height: 50px!important;
    -webkit-box-sizing: border-box!important;
    -moz-box-sizing: border-box!important;
    box-sizing: border-box!important;
    width: 100%!important;
    -webkit-appearance: none!important;
    border-radius: 0!important;
    border: none!important;
}
#content .wpcf7-form textarea
{
    line-height: 25px!important;
    padding-top: 20px!important;
    height: 125px!important; 
    -webkit-appearance: none!important;
     border-radius: 0!important;
}
#content .wpcf7-form input[type="submit"]
{
    background: #A60703!important;
    color: #fff!important;
    height: 52px!important;
    line-height: 52px!important;
    -webkit-appearance: none!important; 
     border-radius: 0!important;  
}
textarea,
input[type="text"]:not([type='checkbox']),
input[type="button"],
input[type="submit"] {
     -webkit-appearance: none!important;
     border-radius: 0!important;

}
/*fixfix*/
#content .nowrap div.sp,#content .nowrap div.sp1
{
    display: block!important;    
}

#main p
{
    margin-bottom: 10px!important;
}
.page-id-17 #main a
{
    color: #f00;

}
#content h2
{
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 20px;
}
.red
{
    font-weight: bold;
}
table td
{
    padding: 0px;
    width: 50%;
}

.footermobile.mobile a
{
    color: #f00;
    
}

.verlinkungbereich
{
    height: 78px;
    background-color: #110b07;
    background-image: linear-gradient(to left, #9b1512 0%, #cc0b11 100%);
}
.verlinkungbereich a
{
    width: 49%;
    display: inline-block;
    height: 38px;
    margin-top: 20px;    
}
.verlinkungbereich a.firstlink
{
    background: url('images/verlinkungbereich/doc-icon-knorr.svg') no-repeat center center;
    background-size: 28px;
    border-right: solid 2px #fff;
}
.verlinkungbereich a.secondlink
{
    background: url('images/verlinkungbereich/phone-icon-knorr.svg') no-repeat center center;
    background-size: 36px;
}
#content .mobile .wp-image-736
{
    margin-top: 0!important;
}

.introintro img
{
	width: 100%!important;
	height: auto!important;
}
.fancybox-wrap,.fancybox-overlay {
    display: none!important;
}
.mobilejob {
    margin-top: 5px;
    margin-bottom: 30px;
}
.mobilejob img {
    width: 100%;
    height: auto;
}

@media only screen and ( min-width: 400px ) and ( max-width: 500px ) {
    
    #header
    {
        background-size: 120%;
    }
    
}
 