/**
 * Default Desktop
 */
#header .burger {
	display: none;
}

/**
 * Tablet
 */
@media only screen and (max-width: 1023px) {
    .rapidxwpr {
        width: 100%;
    }
    .background .body-bg {
        background: rgba(255, 255, 255, 0.65);
        position: relative;
    }
    .background .body-bg-inner {
        display: none;
    }
    #right {
    	float: none;
    }
	/* Über uns / Team */
	.team {
	  *zoom: 1;
	  height: auto;
	  background: white;
	}
	.team:before,
	.team:after {
	  display: table;
	  line-height: 0;
	  content: "";
	}
	.team:after {
	  clear: both;
	}
	.img_team {
		box-sizing: border-box;
		margin: 0;
		width: 30%;
		height: auto;
	}
	.img_team img {
		max-width: 100%;
	}
	.middle_team  {
		box-sizing: border-box;
		margin: 0;
		/*width: 70%;*/
		height: auto;
		padding-bottom: 0;
	}
	.middle_team p {
		margin-bottom: 0;
	}
	.right_team {
		padding-top: 0;
		/*margin-left: 30%;*/
		height: auto;
	}

    /** Kontakt */
    #main,
    #main #mapcontainer {
    	width: 100%;
    }
}

/**
 * Phone
 */
@media only screen and (max-width : 767px) {
	/** General Design */
	body,
	.middle_team,
	.middle_team p,
	.right_team,
	.right_team p {
		font-size: 14px;
	}
	h1, h2, h3, h4 {
		line-height: 1.3;
	}
	.content p {
		line-height: 1.5;
	}
	.content li {
		line-height: 1.3;
	}
	.outerwpr {
		padding-top: 0;
	}
	.background {
		display: none;
		top: 72px;
	}

	/** Header & Navigation */
	body.navActive .outerwpr {
		overflow: hidden;
	}
	#header {
		position: relative;
		height: 100%;
		padding: 0;
	}
	#header .logo {
		width: 130px;
		padding: 15px;
	}
	#header .logo img {
		width: 100%;
		height: auto;
	}
	#header .burger {
		float: right;
		/*color: rgb(241,34,34);*/
		color: black;
		display: inline-block;
		height: 30px;
		width: 30px;
		padding: 20px;

		background: url(/style/images/menu_bars.svg);
		background-size: 24px;
		background-repeat: no-repeat;
		background-position: center center;
	}
	#header .slogan {
		display: none;
	}
	#topmenu {
		position: absolute;
		top: 0;
		left: 0;
		min-height: 100%;
		height: auto;
		background: rgba(241,34,34,0.95);
		display: none;
		overflow: hidden;
	}
	#topmenu .jwa_menu_entry a {
		font-size: 1.5em;
		display: block;
		padding-top: 10px;
		padding-bottom: 10px;
		padding-left: 40px;
	}
	#topmenu .icon-remove {
		position: absolute;
		right: 0;
		font-size: 30px;
		padding: 20px;
		cursor: pointer;
		z-index: 1;
		background: black;
		color: white;
		width: 30px;
		height: 30px;
		line-height: 30px;
		text-align: center;
	}
	#topmenu ul.menu_level_0 {
		margin-left: 0;
		margin-top: 18px;
		padding-bottom: 80px; /* Give Space for Footer */
	}
	#topmenu ul li,
	#topmenu ul li a {
		float: none;
	}
	#topmenu ul li a {
		position: relative;
		font-size: 1.2em;
	}
	#topmenu ul li a .icon {
		position: absolute;
		left: 0;
		padding-left: 5px;
	}
	.menu_level_1 {
		visibility: visible !important;
		float: none !important;
	}
	#topmenu ul li a:hover,
	#topmenu ul li.active a,
	#topmenu ul li.sfHover a {
		background: none;
		color: white;
	}
	#topmenu ul li.active > a {
		color: black;
	}
	#topmenu ul li ul {
		margin-left: 20px;
	}
	#topmenu ul li ul li {
		padding: 0;

	}
	#topmenu ul li ul li a {
		color: white;
		font-size: 1em;
	}

	/**
	 * Content
	 */


	.waxmlc_search_description{
		display: none;
	}
	
	.middle_bg {
		padding: 30px 15px 15px;
	}

	/** Partner, Referenzen */
	#faq_content {
		width: 98%;
		box-sizing: border-box;
		margin-left: -49%;
		top: 30%;
	}

	/** Über uns / Team */
	.middle_team  {
		width: 70%; 
	}
	.right_team {
		margin-left: 30%;
	}

	/** Dienstleistungen / PDFs */
	.fa.fa-file-pdf-o {
	  line-height: 1.5;
	}

	/** Dienstleistungen / Ausbildung / Formular */
	form#jwamf table table,
	form#jwamf table table tbody,
	form#jwamf table table tbody tr,
	form#jwamf table table tbody td.firstChild,
	form#jwamf table table tbody td {
		display: block;
		width: 100%;
	}
	#jwamf table tr td {
		width: 70%;
	}
	#jwamf table tr td:first-child,
	#jwamf table tr td.firstChild {
		min-width: 0;
		width: 30%;
	}
	#jwamf table tr td textarea,
	#jwamf table tr td input[type=text] {
	  min-width: 100%;
	}
	#jwamf table tr td input[name=plz] {
	  width: 30%;
	  min-width: 30%;
	}
	#jwamf table tr td input[name=ort] {
	  width: 70%;
	  min-width: 70%;
	}


	/**
	 * Footer
	 */
	#footer {
		background: black;
		border: 0 none;
		height: auto;
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		top: auto;
	}
	#footer .footer_menu {
		width: 100%;
		text-align: center;
		padding: 0;
		float: none;
	}
	#footer a,
	#footer span {
		font-size: 1.5em;
		color: white;
		display: inline-block;
		height: 45px;
		line-height: 45px;
	}

	/**
	 * Helper
	 */
	.rapidxwpr {
	  *zoom: 1;
	}

	.rapidxwpr:before,
	.rapidxwpr:after {
	  display: table;
	  line-height: 0;
	  content: "";
	}

	.rapidxwpr:after {
	  clear: both;
	}
}

/**
 * Small Devices
 */
@media only screen and (max-width : 480px) {
	/** Partner */
	.referenz_objekt {
		width: 50%;
		box-sizing: border-box;
		text-align: center;
	}
	.referenz_objekt img,
	.referenz_objekt canvas {
		width: 100%;
	}
}
