body.no-media .hide_desktop {
	display: none !important;
}

/* desktop */
@media (min-width: 960px) {

.hide_desktop {
	display: none !important;
}



}

/* tablet */
@media (max-width: 959px) {

/* basics */
.hide_mobile {
	display: none !important;
}

button,
.button,
input,
select {
	min-height: 30px !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	line-height: 1;
}

/* body */
body {
	width: 100%;
}


/* basic reset */
#footer,
#header {
	margin: 0;
	padding: 0;
}

/* basic widths */

.innerwrap,
.outerwrap {
	width: 100%;
}

ul#navigation li {
	width: 25%;
}

#navigation li a {
	width: auto;
	background-position: 98% 95%;
}

#navigation li a h3 {
	font-size: 16px;
}

.wrapheader {
	height: auto;
	}
	
	
.textcontainer, .headercontainer {
	display: block;
	width: 100%;
	padding: 20px;
	-webkit-box-sizing: border-box; /* nötig, damit padding nicht zu 100% addiert wird*/
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.textcontainer2 {
	margin: 0px 0 30px 0px;
}

.textcontainer, .headercontainer:nth-child(1) {
	padding: 20px 20px 0 20px;
}

.textcontainer2, .headercontainer:nth-child(2), .textcontainer:nth-child(3) {
	margin-top: 0px;
	padding: 0px 20px 20px 20px;
}

/* #footer */

#footer02, #footer03  {
	width: auto;
	padding-left: 10px;
	}

/* #header */
#header {
	height: auto;
	padding: 0 0 10px 0;
	position: relative;
}

/* .ui-dialog */
.ui-dialog {
	border-radius: 0;
	padding: 0 !important;
	width: 100% !important;
}
.ui-dialog img {
	display: block;
	width: 100%;
}
.ui-dialog .ui-dialog-titlebar-close {
	display: block;
	margin: 0;
	right: auto;
	text-align: center;
	top: 6px;
	width: 100%;
}
.ui-dialog .ui-resizable-se {
	display: none !important;
}
.ui-widget-content {
	border: 0;
}
.ui-dialog .ui-dialog-content#myDialog {
	padding: 10px;
}
.ui-dialog .ui-dialog-content {
	min-height: 120px !important;
}

/* .dialog-gallery */
.ui-dialog.dialog-gallery .ui-dialog-titlebar {
	display: none;
}

/* different settings */
div.button_red input,
div.button_grey input,
.login input[type="submit"] {
	margin-top: 10px;
	outline: 0 none;
	width: 100%;
}
div.button_grey,
div.button_red {
	overflow: hidden;
	width: 100%;
}
.login {
	padding: 10px 0;
}
.login label {
	line-height: 20px;
}

} /* ende tablet */


/* tablet smaller */
@media (max-width: 750px) {

ul#navigation li {
	width: 100%;
	height: auto;
}

#navigation li a {
	width: auto;
	background-position: 95% 50%;
}

#navigation li a h2 {
	padding: 5px 0px 0 20px;
}

#navigation li a h3 {
	font-size: 16px;
	padding: 0px 40px 10px 20px;	
}

.wrapheader {
	margin-top: 50px;
	}

.textcontainer3 .profil img {
	width: 75%;
	height: auto;
}

#unten, #footer {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.footer {
	margin: 0;
}
	
#footer01  {
	width: 100%;
	padding: 20px;
	border-right: 0px solid #9A9999;
	border-bottom: 1px solid #9A9999;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	}
	
#footer02, #footer03  {
	padding: 20px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	}

#footer02 {
	width: 62%;
	}

#footer03 {
	width: 33%;
	}
	
}




@media (max-width: 500px) {

#header {
	height: 120px;
	width: 100%;
}

#logo {
    width: 100%;
    text-align: center;
}

#logo img {
	position: static;
	width: 280px;
	height: auto;
	margin: 20px 0 0 0;
}

#navigation li a {
	width: auto;
	background-position: 98% 50%;
}

#navigation li a h2 {
	padding: 10px 0px 10px 20px;
}

#navigation li a h3 {
	display: none;	
}

.textcontainer2 img {
	display: none;
}

.textcontainer3 .profil, .textcontainer3 .profil2 {
	display: block;
	width: 100%;
}

.textcontainer3 .profil2 {
	border-bottom: 1px solid #868175;
}


.textcontainer3 .profil img {
	width: 33%;
	height: auto;
}

#footer02, #footer03  {
	width: 100%;
	padding: 20px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	}
	
#footer03  {
	padding-top: 0;
	}

}



/* phone */
@media (max-width: 320px) {

#footer #footeraddress, #footer div.sitemap {
	width: 100%;
	}

}

@media (max-width: 275px) {


}