/*-------------------------------------------------------------------------------------

  CSS definition for responsive Designe

-------------------------------------------------------------------------------------*/

/* Tablet Landscape */
@media only screen and (max-width: 1030px) {

	.inner {
		margin: 0 22px;
		width: calc(100% - 44px);
	}
	#nav-main ul li ul {
		padding: 60px 22px 0 22px;
		width: calc(100% - 44px);
	}


}

@media only screen and (max-width: 900px) {
	#nav-search,
	#nav-marginal ul li:last-child,
	.footer-logo {
		display: none;
	}
	.navMobileIcon {
		display:block;
	}
	#header-main {
		height: 90px;
	}
	#logo {
		width: 130px;
		height: 90px;
	}
	#slide-show {
		margin-top: 140px;
		height: calc(100vh - 140px);
	}
	@media not all and (min-resolution:.001dpcm)
	{ @supports (-webkit-appearance:none) {
		#slide-show { height: calc(100vh - 198px); }
	}}
	#main-image {
		margin-top: 140px;
		height: calc(65vh - 140px);
	}
	.distance {
		margin-top: 140px;
	}
	.raster .box,
	.headlines .headline {
		width:calc(50% - 22px);
	}
	footer .first-row .quarter {
		width: calc(33.3333% - 22px);
	}

	/* Mobile Navigation */

	#nav-main {
		position:fixed;
		right: -100%;
		top:140px;
		width:100%;
		height:calc(100% - 141px);
		min-height:calc(100% - 141px);
		background:rgb(255,255,255);
		z-index:1000;
		border-top: 1px solid rgb(204,204,204);
		-webkit-transition: all 0.3s ease-in-out;
		-moz-transition: all 0.3s ease-in-out;
		-ms-transition: all 0.3s ease-in-out;
		-o-transition: all 0.3s ease-in-out;
		transition: all 0.3s ease-in-out;
		overflow: none;
		overflow-x: hidden;
		overflow-y: auto;
	}
	.closed #nav-main {
		top:146px;
		height:calc(100% - 146px);
		min-height:calc(100% - 146px);
	}
	#nav-main.open {
		right:0;
	}

	#nav-main ul {
		display: block;
		position: relative;
		float: left;
		margin:20px 0 0 0;
		padding:0;
		border: none;
		background: none;
		width:100%;
	}
	#nav-main ul li,
	#nav-main ul li.erlebnis-flughafen,
	#nav-main ul li.reisende,
	#nav-main ul li.destinationen,
	#nav-main ul li.operational,
	#nav-main ul li.unternehmen {
		display: block;
		position: relative;
		float: left;
		margin:0;
		padding:0;
		top: inherit;
		border: none;
		background: none;
		width:100%;
		height: auto;
	}
	#nav-main ul li:hover {
		background-color: transparent;
	}
	#nav-main ul li div {
		display: block;
		position: relative;
		float: left;
		margin: 0;
		padding: 15px 20px;
		width: calc(100% - 40px);
		height: auto;
		font-weight: 500;
		font-size: 1.5rem;
	}
	#nav-main ul li ul {
		display: none;
		position: relative;
		float: left;
		margin:0;
		padding: 5px 20px;
		top: inherit;
		border: none;
		background: none;
		width: calc(100% - 40px);
	}
	#nav-main ul li ul li {
		display: block;
		position: relative;
		float: left;
		margin:0;
		padding:0 0 0 0;
		border: none;
		background: none;
		width:100%;
	}
	#nav-main ul li ul li div {
		display: block;
		position: relative;
		float: left;
		margin:0;
		padding:0;
		border: none;
		background: none;
		width:100%;
	}
	#nav-main ul li ul li ul {
		display: block;
		position: relative;
		float: left;
		margin:5px 0 15px 0;
		padding:0;
		border: none;
		background: none;
		width:100%;
	}
	#nav-main ul li ul li ul li {
		display: block;
		position: relative;
		float: left;
		margin:0;
		padding: 0;
		border: none;
		background: none;
		width:100%;
	}
	#nav-main ul li ul li ul li a {
		display: block;
		position: relative;
		float: left;
		margin:0;
		padding: 3px 0 3px 20px;
		width:calc(100% - 20px);	}
	#nav-main ul li .openSubmenu {
		display: block;
		position:absolute;
		top:0;
		right:10px;
		margin:0;
		padding:0;
		width:60px;
		height:40px;
		text-align : center;
		cursor: pointer;
	}
	#nav-main ul li.level-1 > ul.menu {
		display : none;
	}
	#nav-main ul li.level-1.starter_active > ul.menu,
	#nav-main ul li.level-2 > ul.menu {
		display : block;
	}
	#nav-main ul li.level-1 .plus {
		background: transparent url('../images/nav-plus.png') right -1px no-repeat;
	}
	#nav-main ul li.level-1 .minus {
		background: transparent url('../images/nav-minus.png') right -1px no-repeat;
	}
	.home-info ul.tabs li {
		margin: 0 1px;
		width: calc(50% - 2px);
	}
	.home-info ul.tabs li .icon {
		margin-right: 0;
		width: 30px;
		height: 30px;
	}
	.home-info ul.tabs li .desktop {
		display: none;
	}
	.home-info ul.tabs li .icon.abflug,
	.home-info ul.tabs li .ankunft,
	.home-info ul.tabs li .parkplatz,
	.home-info ul.tabs li .newsletter {
		background-size: 30px 30px;
	}

	h1 {
		font-size: 4rem;
	}

	.annualreports .report,
	.airportmagazine .magazine {
		width:calc(50% - 22px);
	}
	table.departuretable .icon ,
	table.arrivaltable .icon {
		padding-left: 10px;
		width: 120px;
	}
	table.departuretable .flightNo ,
	table.arrivaltable .flightNo {
		width: 82px;
	}

}

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

	.parkingOrder .half,
	.parkingOrder .third,
	.parkingOrder .two-third {
		width: calc(100% - 22px);
	}

}

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

	.inner {
		margin: 0 15px;
		width: calc(100% - 30px);
	}
	.separation { padding-top: 33px; padding-bottom: 33px; }

	.home #slide-show .from-bern {
		margin-top: 30px;
	}
	footer .block:last-child {
		display: none;
	}
	footer .first-row .quarter {
		width: calc(50% - 22px)
	}

	h1 {
		font-size: 3rem;
	}

	.home-info ul.tabs {
		margin: -50px -15px 0 -15px;
		width: calc(100% + 30px);
	}

	table.departuretable ,
	table.arrivaltable {
		font-family: 'Roboto Condensed', Arial, Helvetica, sans-serif;
	}
	table.departuretable .icon ,
	table.arrivaltable .icon {
		display: none;
	}
	table.departuretable .flightNo ,
	table.arrivaltable .flightNo {
		width: auto;
	}
	.quickSearch .half,
	.quickSearch .third,
	.quickSearch .two-third {
		width: calc(100% - 22px);
	}
	table.parkingOverview th {
		font-size: 0.9rem;
	}
	table.parkingOverview .distance {
		display: none;
	}
	table.parkingOverview p.button a {
		margin-top: 4px;
		padding: 10px;
		white-space:nowrap;
		font-size: 0.9rem;
	}
	table.parkingOverview img {
		margin-top: 4px;
		width: 70px;
		height: auto;
	}
	.tab-content .separation {
		padding-top: 22px;
	}
	.home-info .tab-content h2 {
		margin-top: 0;

	}

	.home h2,
	.destination h2 {
		font-size: 2.15rem;
	}
	p.teaser {
		font-size: 1.55rem;
		font-size: 1.3rem;
	}


	/* Formular */
	label,
	select,
	input,
	input[type=text],
	input[type=submit],
	input[type=button],
	input[type=reset],
	textarea,
	.newsletter input[type=submit],
	form .checkbox,
	form .radio,
	form .contactFormGroup {
		margin-left: 11px;
		margin-right: 11px;
		width: calc(100% - 22px);
	}

}


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

	.advertising {
		display: none;
	}

	.raster .box .boxContent {
		font-size: 1.6rem;
	}
	@media not all and (min-resolution:.001dpcm)
	{ @supports (-webkit-appearance:none) {
		#slide-show { height: calc(100vh - 214px); }
	}}

	.annualreports .report,
	.airportmagazine .magazine {
		width:calc(100% - 22px);
	}
	table.departuretable ,
	table.arrivaltable {
		font-size: 0.9rem;
	}
	table.departuretable .via ,
	table.arrivaltable .via {
		display: none;
	}
	table.departuretable tr td,
	table.arrivaltable tr td {
		height: 30px;
	}

	.parkingOrder .blockDate,
	.parkingOrder .blockTime,
	.parkingOrder .blockFlnr {
		width: calc(100% - 22px);
	}

}
