* {
	font-family: 'Gesta-Regular';
	font-size:16px;
	border:0px;
	border-collapse:collapse;
	webkit-font-smoothing: anitaliased;
    -webkit-text-size-adjust:none;
    outline: 0;

    margin: 0px;
    padding: 0px;

    text-transform: none;
    text-decoration: none;
    color: #000;
    font-weight: normal;
}

html,body {
	padding:0px;
	margin:0px;
	height:100%;
	width:100%;

	background-color: #ececec;
}
body.detailOpen{
	overflow: hidden;
}
header, aside, main, section, article, footer, nav {
    display: block;
}

h1,h2,h3{
	font-family: "Gesta-Bold";
}

#wildcard{
	width: 100%;
	height: 135px;
}

/*--------------HEADER------------*/

header{
	position: fixed;
	top: 0px;
	left: 0px;

	width: 100%;
	height: 135px;

	background-color: #FFF;

	z-index: 2;

	/*-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.4);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.4);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.4);*/
}

header #headerposition{
	position: relative;

	width: 100%;
	max-width: 1366px;
	margin: 0 auto;
}

#logo{
	display: inline-block;
	margin-left: 55px;
}

	#logo img{
		height: 132px;
	}

#lang{

}

.language{
	text-transform: uppercase;
}

.sel{
	color: #000;
}

	/*--------------NAV----------------*/


	nav li,nav li a{
		color: #aaaaaa;
		font-family: "Gesta-Bold";
		cursor: pointer;
	}

	nav li#selected, nav > ul > li#selected > a, .active a, header li:hover > a, header li:hover{
		color: #000;
	}

	nav#mainnav{
		position: absolute;

		right: 75px;
		top: 70px;
	}

	nav#mainnav ul{
		list-style-type: none;
	}

	nav#mainnav > ul > li{
		z-index: 5;
		display: inline-block;
		padding-left: 63px;

		vertical-align: top;

		position: relative;
	}
	@media (max-width: 1366px ){
		nav#mainnav > ul > li{
			padding-left: 20px;
		}	
	}
	nav#mainnav > ul > li > a,
	nav#mainnav > ul > li{
		z-index: 5;
		font-size: 16px;
		text-transform: uppercase;

		position: relative;
		cursor: pointer;
		letter-spacing: 2px;
		display: inline-block;
    	max-width:150px; /* limit width */
		break-after: auto;

	}

	nav#mainnav > ul > li#selected > a:after{
		content : "";
		position: absolute;
		left    : 0;
		bottom  : -20px;
		height  : 2px;
		width   : 30px;  /* or 100px */
		border-bottom:2px solid #000;
	}

	nav#mainnav > ul > li > ul{
		display: none;
		position: absolute;
		left: calc(67% - 25px);
		background-color: #FFF;
		-webkit-transform: translateX(-50%);
		-moz-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
		-o-transform: translateX(-50%);
		transform: translateX(calc(-50% + 15px));
		
		padding: 25px 25px 20px;
		margin-top: 0px;
		min-width: 100px;
	}
	@media (max-width: 1366px){
		nav#mainnav > ul > li > ul{
			left: 50%;
		}
	}

	nav#mainnav > ul > li:hover > ul{
		display: block;
	}
	
	nav#mainnav > ul > li > ul > li{
		margin-top: 15px;
	}

	nav#mainnav > ul > li > ul > li {
		margin-top: 5px;
	}

	nav#secondnav{
		position: absolute;

		right: 75px;
		top: 15px;
	}

	nav#secondnav ul{
		
	}

	nav#secondnav > ul > li{
		display: inline-block;
		padding-left: 15px;
	}



	/*--------------BURGER--------------*/
	#navbutton {
		position: fixed;
		z-index: 9998;
		cursor: pointer;
		top: 20px;
		left: 30px;
		width: 40px;
		height: 40px;

		display: none;
	}

	#navbutton img{
		width: 40px;
	}

	#navbutton #navl1 {
	    position: absolute;
	}

	#navbutton #navl2 {
	    position: absolute;
	}

	#navbutton #navl3 {
	    position: absolute;
	}


.headerimg{
	width: 100%;
	max-height: 300px !important;
	/*max-height: calc(100% - 135px) !important;*/

	background-position: center top;
	background-size: cover;
	background-repeat: no-repeat;
}

.headerimg img{
	display: none;
}

/*--------------HEADER SLIDER--------------*/


.headslider {
    width: 100%;
    /*height: 100% !important;*/
    min-height: 200px;
    position: relative;
    z-index: 1;
}

.headslider .slides li, .flex-viewport {
    height: 100% !important;
}

.headslider .slides li{
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

.headslider .slides {
    min-height: 100%;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0px;
}

.slides {
    padding: 0px !important;
    margin: 0px;
}

.headslider .fleximg {
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

.headslider img {
    display: none;
}

.headslider .flex-control-nav {
	position: absolute;
	bottom: 20px;
	width: 100%;
	text-align: center;
	z-index: 2;
	padding: 0px;
}

.headslider .flex-control-nav li {
    margin: 0 6px;
    display: inline-block;
    zoom: 1;
}

.headslider ol li a {
	width: 15px;
	height: 15px;
	color: transparent;
	background-color: rgba(255, 255, 255, 0.48);
	display: block;
	border-radius: 20px;
}

.headslider a.flex-active {
    background-color: #FFF;
}

.inslider{
	width: 50%;
	position: absolute;
	bottom: 0px;
	margin: 20px 20px 100px 75px;

	color: #FFF;
}

.inslider h1,.inslider h2,.inslider p,.inslider a{
	color: #FFF;
	/*font-family: "Gesta-Bold";*/
}

.inslider h1{
	font-size: 90px;
	text-transform: uppercase;
}

.inslider h2{
	font-size: 40px;
	line-height: 70px;
}

.inslider p, .inslider a{
	text-transform: none;
	font-size: 18px;
	line-height: 26px;
}

.banner{
	position: absolute;

	height: 120px;
	width: 427px;

	right: 0px;
	bottom: 100px;

	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
}

.banner p{
	font-family: "Gesta-Bold";

    color: #FFF;
    line-height: 100px;
    margin-left: 90px;
    font-size: 42px;/*50*/
}


#headid{
	height: 230px;
	width: 100%;
	background-color: #c6ddb5;
	border-bottom: 6px solid #000;
	position: relative;
}
#headid.bgRed{
	background-color: #cc98a0;
}

#headid h1{
	position: absolute;
	text-transform: uppercase;
	bottom: 36px;
	left: 75px;
	font-size: 34px;
	letter-spacing: 2px;
}
@media (max-width: 900px){
	#headid h1{
		left: 40px;
	}
}
/*--------------LINKS--------------*/
#links{
	min-height: 150px;
	background-color: #c6ddb5;
	padding: 30px 0px;
}

#links nav{
	width: calc(100% - 122px);

	margin: 0 auto;
}

#links li{
	display: inline-block;
	height: 240px;
	min-height: 160px;
	width: calc(25% - 28px);
	background-color: #000;
	margin: 0px 14px;
	overflow: hidden;
}

#links li p{
	color: #FFF;
	line-height: 60px;
	text-align: center;

	font-size: 18px;
	text-transform: uppercase;

	letter-spacing: 2px;
}

#links li div{
	height: 180px;

	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	transition: all 1s;
}

#links li:hover div{
	transform: scale(1.1);
	transition: all 1s;
}

/*--------------MAIN--------------*/

main{
	min-height: calc(100% - 465px);
	max-width: 1366px;
	margin: 0 auto;
	background-color: #f8f8f8;
}

	/*--------------SECTION-------------*/

	section{

	}

		/*-----------------ARTICLE---------------*/

		.button{
			padding: 10px 30px;
			background-color: #FFF;
			text-transform: uppercase;
			font-family: "Gesta-Bold";
		}
		div.headertext{	
			padding: 50px 75px 20px 75px;
			width: calc(100% - 150px) !important;
			height: auto !important;
		}
		@media (max-width: 900px){

			div.headertext{	
				padding: 50px 40px 20px 40px;
				width: calc(100% - 80px) !important;
			}	
		}
		article.headertext{
			padding: 50px 0 50px 0;
			width: 100% !important;
			height: auto !important;
		}
			.headertext > p{
				font-size: 24px;
				line-height: 30px;
			}
			.headertext > h1{
				margin-bottom: 10px;
			}
			.headertext > h1:after{
				border:none;
			}
		.wtext{
			padding-bottom: 55px;
			width: 100% !important;
			height: auto !important;
			background-color: #FFF;
		}

		.wtext .inart{
			width: calc(100% - 125px);
		}

		@media (max-width: 900px){

			.wtext .inart{
				width: calc(100% - 80px);
			}
		}
		.wtext h1 {
			font-size: 24px;
			line-height: 30px;
			margin-bottom: 40px;
			position: relative;
		}

		div.newsHeader h1{
			display: inline-block;
			width: 250px;
		}
		div.newsHeader p{
			display: inline-block;
			width: calc(100% - 260px);
		}
		@media(max-width: 600px){

			div.newsHeader p{
				display: block;
				width: 100%;
			}
		}
		
		.wtext h2,.wtext h3{
			font-size: 26px;
		}

		.wtext h3{
			color: #949393;
		}

		article ul{
			list-style: none;
			margin: 30px 0px;
		}

		article ul li{
			background-image: url(../img/bullet.png);
			background-repeat: no-repeat;
			background-position: 0px 5px;
			background-size: 12px;

			padding-left: 25px;
			padding-bottom: 7px;
		}

		article .inimg{
			width: 50%;
			height: 100%;
			display: inline-block;

			background-repeat: no-repeat;
			background-size: cover;
			background-position: center center;
		}

		article:nth-child(2n+2) .inimg{
			float: left;
		}

		article .inart{
			display: inline-block;
			width: calc(50% - 125px);
			padding-top: 55px;
			margin: 0px 50px 0px 75px;
			vertical-align: top;
			position: relative;
		    height: calc(100% - 60px);
		}
		article .twoText{
			display: inline-block;
			width: 50%;
			padding-top: 55px;
			padding-bottom: 55px;
			margin: 0;
			vertical-align: top;
			background-color: black;
			height: calc(100% - 110px);
		}
		@media (max-width: 1200px){
			article .inart,
			article .twoText{
			    padding-top: 30px;
			}

			article .inart{
				height: calc(100% - 30px);
			}
			article .twoText{
				height: calc(100% - 55px);
			}
		}

		@media(max-width: 1100px){
			article .inart {
			    display: inline-block;
			    width: calc(50% - 125px);
			    /*width: calc(50% - 95px);*/
			    padding-top: 55px;
			    margin: 0px 40px 0px 55px;
			}

			.banner{
				display: none;
			}
		}

		@media (max-width: 950px){

			article .inart,
			article .twoText{
				padding-top: 20px;
			}	
		}
			article .twoText h1{
				color: white;
				padding-left: 75px;
				font-size: 34px;
			}
			article .twoText h1:after{
				border: none;
			}
			article .twoText p{
				color: white;
				width: calc(100% - 150px);
				padding-left: 75px;
				margin: 0;
				line-height: 40px;
			}


		@media (max-width: 900px){

			article .twoText{
				display: block;
				float: none !important;
				width: 100% ;
				margin: 0 auto;
				padding-top: 40px;
			}

			article .twoText h1,
			article .twoText p{				
				padding-left: 40px;
				width: calc(100% - 80px);
			}

			table.accordion{
				top: 0px;
				transform: none;
			}
		}

		article h1{
			font-size: 24px;
			line-height: 30px;
			margin-bottom: 40px;
			position: relative;
		}

		article h1:after{
			content : "";
			position: absolute;
			left    : 0;
			bottom  : -20px;
			height  : 2px;
			width   : 30px;  /* or 100px */
			border-bottom:2px solid #000;
		}

		article.wa .inart h1:after{
			border-bottom:2px solid #FFF;	
		}

		article h2{
			font-size: 20px;
			line-height: 30px;
			margin-bottom: 15px;
		}

		article p{
			vertical-align: top;
			color: #949393;
			margin: 0 auto;
			line-height: 20px;
			font-size: 16px;
		}
			div.highLineHeight h1{
				font-size: 34px;
			}
			div.highLineHeight h1:after{
				border: none;
			}
			div.highLineHeight p{
				line-height: 30px;
			}
			div.highLineHeight td{
				vertical-align: top;
				padding-bottom: 10px;
				color: #949393;
				line-height: 30px;
				font-size: 16px;
			}

		article table{
		    width: 100% !important;
		}

		table.accordion{
			display: block;
		    position: absolute;
		    top: 50%;
		    left: 50%;
		    transform: translateY(-50%) translateX(-50%);
		}

		article td{
			vertical-align: top;
			padding: 20px 0px;
			color: #949393;
			line-height: 30px;
			font-size: 16px;
		}

		article.wa{
			background-size: cover;
			background-repeat: no-repeat;
			background-position: center center;
			position: relative;
		}

		article.wa div.inart{
			position: relative;
		}

		article.wa > img{
			position: absolute;
			right: 0px;
			bottom: 0px;
			width: 600px;
			max-width: 45%;
		}

		article.wa .inart h1{
			color: #FFF;
			font-size: 24px;
			line-height: 30px;
			margin-bottom: 20px;
		}

		article.wa .inart p, article.wa .inart li{
			color: #FFF;
			font-size: 18px;
		}

		@media(max-width: 1024px){
			table.accordion{
				transform: none;
				top: 0px; 
				left: 0px;
			}

			article .inart {
			    display: inline-block;
			    width: calc(50% - 125px);
			    /*width: calc(50% - 35px);*/
			    padding-top: 55px;
			    margin: 0px 20px 0px 15px;
			}

			article td {
			    padding: 5px 0px;
			}
		}

/*------EMPLOYEE------*/

.team{
	width: calc(100% - 110px);
	margin: 0 auto;
	padding-bottom: 10px;
	/*margin: 0 auto;
	width: calc(100% + 200px);
    transform: translateX(-100px);

	position: relative;
	text-align: center;
	vertical-align: top;*/
}

.team h1{
	text-align: center;
	margin: 40px 0px;
	font-size: 34px;
}


.employee,
.news{
	margin: 20px 0;
	display: inline-block;
	position: relative;
	vertical-align: top;
}
.employee{
	width: calc(33.3333% - 27px);
    margin: 10px;
    margin-right: 20px;
    margin-bottom: 20px;
}

.employee:nth-of-type(3n+3) {
    margin-right: 0px;
}

@media (max-width: 768px){
	.news{
		margin-left:0;
	}
	div.galleryy > .news{
		margin-left:20px;
	}
}

.usercontent,
.galleryimg{
	background-color: #FFF;
}

.userimg,
.pimg{
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

.userimg img{
	display: none;
}

.employee:hover .userinfo, .employee:hover .userinfo > div{
 z-index: 2;
 height: 100%;
 opacity: 1;
}

.employee p{
	text-align: center;
	line-height: 26px;
}

	.employee p b{
		font-weight: 600;
		font-size: 18px;
		line-height: 26px;
		text-transform: uppercase;
	}

.employee .bo{
	padding-top: 10px;
	padding-bottom: 10px;
	height: 68px;
}

.employee .bo.gallery{
	height: auto;
	margin-top: 0px;
}

.userinfo{
	position: absolute;
	z-index: -1;
	left: 0px;
	top: 0px;
	width: 100%;
	/*height: 100%;*/
	height: 0px;
	/*display: none;*/
	background-color: #485761;

	-webkit-transition: height 500ms;
	-moz-transition: height 500ms;
	-ms-transition: height 500ms;
	-o-transition: height 500ms;
	transition: height 500ms;

}

.userinfo *{
	color: #FFF;
}

.userinfo > div{
	margin-top: 60px;

	opacity: 0;

	-webkit-transition: opacity 700ms ease-in;
	-moz-transition: opacity 700ms ease-in;
	-o-transition: opacity 700ms ease-in;
	-ms-transition: opacity 700ms ease-in;
	transition: opacity 700ms ease-in;
}

.userinfo img{
	margin-top: 20px;
	width: 18px;
	margin-bottom: 5px;
}


/*--------------------Fashion Detail--------------------*/

section#messen_details{
	padding: 60px 50px 60px 75px;
}

section#messen_details h1{
	font-size: 24px;
	font-family: "Gesta-Bold";
	margin: 15px 0px 40px 0;
}

section#messen_details h2{
	font-size: 20px;
	font-family: "Gesta-Bold";
}

section#messen_details div.content{
	margin-top: 0;
	display: inline-block;
	width: calc(50% - 20px);
	vertical-align: top;
}

@media (max-width:800px){

	section#messen_details div.content{
		display: block;
		width: 100%;
	}
}
section#messen_details a.back{
	text-decoration: underline;
}

section#messen_details div.content.eckdaten p{
	border-bottom: 1px solid #000;
	padding: 10px 10px;
}

section#messen_details div.content.eckdaten p#eckdaten{
	background-color: #000;
	color: #FFF;
	font-family: "Gesta-Bold";
}

section#messen_details div.content.eckdaten p b{
	font-family: "Gesta-Bold";
}


/*-------------Gallery-------------*/
.galleryy{
	width: calc(100% - 40px);
	margin-left: 20px;
	padding-top: 20px;
	padding-bottom: 20px;
}

.gallery{
	margin: 40px 10px;

	margin: 0 auto;
	width: calc(100% - 40px);
	max-width: 900px;
	margin-top: 20px;
}

.gallery p{
	color: #485761;
}

.gallery h3{
	padding-bottom: 0px !important;
	text-align: center;
}

.gallery > table > tbody > tr, .gallery > table > tbody, .gallery > table{
	width: 100%;
}

.gallery > table > tbody > tr > td{
	width: calc(33.333% - 40px);
	padding: 30px 20px;
	display: inline-block;
}

.gallery > table > tbody > tr > td > div, .gallery table table{
    display: block;
}

.gallery table table td{
	vertical-align: top;
}

.gallery table table td:nth-child(2){
	width: 120px;
}

.gallery table table td:nth-child(2) p{
	text-align: right;
	font-size: 12px;
}

.gallery img{ 
	width: 100%;
	cursor: pointer;
}

.morelink, .lesslink{
    text-decoration:underline;
    font-weight:400;
}

.remaining-content span {
    display:none;
}

#swipebox-overlay {
	background: rgba(0, 0, 0, 0.8);
}

#swipebox-overlay .slide{

}

/*-------------NEWS-------------*/

.newscontent{
    background-color: #f8f8f8;
    width: calc(50% - 88px);
    display: inline-block;
    margin: 20px 32px 20px 0;
    padding: 30px;
    border-bottom: 4px solid #000;
    vertical-align: top;
}
.newscontent:nth-child(even){
	margin: 20px 0 20px 0;	
}

.newscontent hr{
	border-bottom: 1px solid #949393;
	margin: 30px 0px 10px 0px;
}

.newscontent h3{
	color: #000;
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 15px;
}

.newscontent p{
	font-family: "Gesta-Bold";
}

.newscontent p:last-of-type{
	font-size: 12px;
}


/*-------------Map---------------*/

div#map{
	height: 500px;
	max-height: 500px;
	min-height: 250px;
}

/*-------------FOOTER-------------*/

footer{
	position: relative;

	min-height: 330px;
	width: 100%;

	color: #949393;
	background-color: #232323;
}

footer p, footer a{
	color: #aaaaaa;
	font-size: 16px;
	line-height: 20px;
}

footer .active a, footer #selected a, footer h1{
	color: #FFF !important;
}

footer h1{
	font-size: 30px;
	margin-bottom: 20px;
}

#contfooter{
	width: 100%;
	max-width: calc(1366px - 150px);

	margin: 0 auto;
}

.footerd{
	width: calc(24% - 100px);
	display: inline-block;
	vertical-align: top;
	margin-top: 50px;
	margin-right: 100px;
}

footer #footernavigation{
	width: 50%;
	display: inline-block;
	
	margin-top: 50px;
}

footer #footernavigation ul{
	list-style: none;
	margin: 30px 0px;
	width: 50%;
	display: inline-block;

	vertical-align: top;
}

footer #footernavigation li{
	background-image: url(../img/bullet.png);
	background-repeat: no-repeat;
	background-position: 0px 5px;
	background-size: 12px;

	padding-left: 25px;
	padding-bottom: 10px;
}
footer > div#contfooter > div#socialfooter{
	float: right;
	width: 135px;
	margin-right: 14%;
	margin-top: 0;
}
footer > div#contfooter > div#socialfooter  > a{
	display: inline-block;
	padding: 30px 20px 0 0;
}
footer > div#contfooter > div#socialfooter > a > img{
	height: 20px;
}

footer #copyright{
	/*position: absolute;*/

	bottom: 0px;
	left: 0px;

	height: 65px;
	width: 100%;
	margin-top: 20px;
	background-color: #2b2b2b;
}

footer #copyright p{
	color: #949393;
	text-align: center;
	line-height: 65px;
}

/*------------Login-------------------------*/
div.lightbox-login{
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
	z-index: 100;	
}
	div.lightbox-login .lightbox-container{
		position: absolute;
		width: calc(100% - 20px);
		max-width: 740px;
		height: auto;
		padding: 40px 30px;
		background-color: white;
		border: 1px solid #bcbcbc;	
		top: calc(50% - 250px);
		left: calc(50% - 400px);
	}
		div.lightbox-login .lightbox-container img{
			position: absolute;
			right: 10px;
			top: 10px;
			cursor: pointer;
		}
		div.lightbox-login .lightbox-container .lightbox-content{
			width: 400px;
			max-width: 100%;
			margin: 0 auto;
			text-align: left;
		}
			div.lightbox-login .lightbox-container .lightbox-content h1{
				font-size: 24px;
			}
			div.lightbox-login .lightbox-container .lightbox-content input{
				border: 1px solid #bcbcbc;
				color: black;
				width: calc(100% - 22px);
				border-radius: 5px;
				padding: 5px 10px;
				margin-top: 5px;
				background-color: #f1f1f1;
			}
			div.lightbox-login .lightbox-container .lightbox-content input.error{
				border: 1px solid red;
			}
			div.lightbox-login .lightbox-container .lightbox-content input[type="submit"]{
				border: 1px solid #bcbcbc;
				color: white;
				width: 100%;
				border-radius: 5px;
				padding: 5px 10px;
				background-color: #000;
				margin-top: 20px;
			}
			div.lightbox-login .lightbox-container .lightbox-content span{
				font-size: 14px;
				text-decoration: underline;
				margin-top: 6px;
				color: #aaaaaa;
				cursor: pointer;
				margin-right: 20px;
			}
			div.lightbox-login .lightbox-container .lightbox-content span:hover{
				color: black;
			}


/*-------------RESPONSIVE-------------*/

/*+++SCREEN+++*/
@media only screen and (max-width : 1366px) {
	footer{

	}

	#contfooter {
		width: calc(100% - 150px);
	}
}

/*+++IPAD LANDSCAPE+++*/
@media only screen and (max-width : 1024px) {
	header {
		height: auto;
		min-height: 80px;
	}

	.headslider,.headslider .slides li {
		min-height: 250px !important;
	}

	.headslider .slides {
		min-height: 250px;
		height: auto;
	}

	.banner{
		position: static;
		float: right;

		width: 250px;
	}

	.banner p {
		color: #FFF;
		line-height: 105px;
		margin-left: 60px;
		font-size: 25px;
	}

	.inslider{
		top: 10px;
		left: 20px;
		margin: 0;
	}

	.inslider h1 {
		font-size: 40px;
	}

	.inslider h2 {
		font-size: 22px;
		line-height: 35px;
	}

	.inslider p{
		display: none;
	}

	#wildcard {
		height: 80px;
	}

	#navbutton {
		display: block;
	}

	#logo {
		position: absolute;
		right: 0px;
		height: 80px;
		margin: 0px;
	}

	#logo img{
		height: 80px;
	}

	nav#mainnav{
		margin: 0 auto;
		padding-top: 70px;
	}

	nav#mainnav, nav#secondnav {
		position: static;
		display: none;
	}	
	
	nav#mainnav > ul > li, nav#secondnav > ul > li {
		display: block;
		padding: 0px;
		text-align: center;
		padding-bottom: 5px;
		max-width: 100%;
	}

	nav#mainnav > ul > li, nav#secondnav > ul > li:last-of-type{
		padding-bottom: 15px;
	}

	nav#mainnav > ul > li#selected > a:after {
		bottom: 0px;
	}

	nav#mainnav > ul > li > ul{
		display: block;
		position: static;
		left: initial;
		transform: initial;
		padding: 0px;
	}

	main{
		min-height: calc(100% - 410px);
	}

	article.wa {
		height: auto !important;
	}

	article .inart {
		padding-bottom: 100px;
	}

	.employee{
		width: calc(50% - 40px);
	}

}
.lb {
  display: none;
  background-color: rgba(0,0,0,0.7);
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0px;
  left: 0px;
  z-index: 1000000;
  overflow-y: auto;
}
.lb > div {
    width: 100%;
    height: calc(100% - 143px);
    padding: 25px 0px;
    margin-top: 93px;
    overflow-y: scroll;
}
.lb.rentOpen{
	display: block;
}
.lb.rentOpen > div{
	height: auto;
	overflow: auto;
}
.lb.rentOpen > div:last-of-type{
	/*height: calc(100% - 250px);*/
	max-width: 600px;
	width:  calc(100% - 50px);
	margin: 0px auto;
	background-color: #FFF;
}
.lb.rentOpen > div:last-of-type iframe{
	height: 750px;
	width: 100%;
	max-height: 100%;
}
.lb.rentOpen > div:last-of-type table{
	width: calc(100% - 50px);
	margin: 0px auto;
	height: 400px;
}
.lb.rentOpen > div:last-of-type table tr td{
	text-align: center;
	border: 1px solid #000;
	vertical-align: top;
	padding:  5px 0px;
	vertical-align: middle;
}
.lb.rentOpen > div:last-of-type table tr td.possibleDate{
	cursor: pointer;
}
.lb.rentOpen > div:last-of-type table.calendar tr:nth-child(2) td{
	background-color: #000;
	color: #FFF;
	height: 30px;
	vertical-align: middle;
	font-size: 20px;
}
.lb.rentOpen > div:last-of-type table tr td.grey{
	background-color: #f5f5f5;
}
.lb.rentOpen > div:last-of-type table tr td div.monthDate{
	font-size: 26px;
}
.lb.rentOpen > div:last-of-type table tr td.past div.monthDate{
	color: #aaa;
}
.lb.rentOpen > div:last-of-type table tr td.reserved{
	background-color: #9f3747;
}
.lb.rentOpen > div:last-of-type table tr td.reserved div.monthDate{
	color: #FFF;
}
.lb.rentOpen > div:last-of-type table tr th{
	font-size: 30px;
	font-weight: bold;
	position: relative;
	padding-bottom: 20px;
}
.lb.rentOpen > div:last-of-type table tr th img.calendarArrow{
	position: absolute;
	height: 30px;
	left: 0px;
	cursor: pointer;
}
.lb.rentOpen > div:last-of-type table tr th img.calendarRight{
	right: 0px;
	left: auto;
}
img.bigDetailImg{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999999999;
    cursor: none;
    overflow-y: auto;
}
@media only screen and (max-height : 725px) {
	img.bigDetailImg{
	    left: 50%;
	    top: 100px;
	    transform: translate(-50%, 0px);
	}
}
img.detailPic{
	width: 100px;
	float: right; 
	margin-right: 10px; 
	cursor: pointer;
	max-width: 100px;
}
img#closeDetail{
    top: 30px;
    position: fixed;
    right: 30px;
    cursor: pointer;
}
@media only screen and (max-width : 466px) {
	div.setBlock{
		display: block !important;
	}
	img.detailPic{
		float: unset; 
		margin-top: 5px;
	}
}
@media only screen and (max-width : 900px) {
	
	article {
		height: auto !important;
		padding-bottom: 20px;
	}

	article .inart, article .inimg{
		display: block;
		float: none !important;
		width: calc(100% - 125px);
		/*width: calc(100% - 80px);*/
		margin: 0 auto;
	}

	article .inart{
		padding-top: 30px;
		padding-bottom: 30px;
	}

	article .inimg{
		min-height: 300px;
	}

	footer{
		height: auto;
	}

	#contfooter {
		width: 100%;
	}

	.footerd {
		display: block;
		margin: 0 auto;
		min-width: 200px;
		width: calc(100% - 80px);
	}

	#tmcfooter{
		padding-top: 50px;
	}

	#kontaktfooter{
		padding-bottom: 50px;
	}

	footer #footernavigation {
		width: calc(100% - 80px);
		display: block;
		margin: 0 auto;
	}

	footer #copyright {
		position: static;
	}

	footer > div#contfooter > div#socialfooter{
		float: left;
		width: 130px;
		margin-right: 0;
		margin-left: 40px;
	}

}

@media only screen and (max-width: 840px){
	div.lightbox-login .lightbox-container{
		width: calc(100% - 80px);
		left: 10px;
	}
}
/*+++IPAD PORTRAIT+++*/
@media only screen and (max-width : 768px) {
	#links li {
		height: auto !important; 
		min-height: auto !important;
		display: block;
		width: 100%;
		margin-bottom: 20px;
		margin-left: 0px;
	}

	#links nav {
		width: calc(100% - 80px);
		margin: 0 auto;
	}

	#links li div {
		display: none;
	}

	.employee{
		width: calc(100% - 40px);
	}

	.newscontent{
        width: calc(100% - 60px);
        display: block;
        margin: 0px;
        margin-bottom: 40px;
    }


}

@media only screen and (max-width : 480px) {

}