/*
 * =========================================================================== LAYOUT
 */
html, body {
	width:100%;
	height:100%;
	padding:0;
	margin:0;
	border:0;
	background:#ffffff url("img/bg.png") repeat-x top left;
	font-family:Arial, Helvetica, sans-serif;
	font-size:14px;
	line-height:1;
}

div, p, span, h1, h2, h3, h4, h5, h6, ul, ol, li {
	margin:0;
	padding:0;
}

a {
	color:#000000;
	outline:none;
}

img,
a img {
	border:0 !important;
}

p {
	line-height:1.2em;
	margin-bottom:20px;
}

h2 {
	margin-bottom:30px;
}

h3 {
	margin-bottom:10px;
}

ul {
	margin-bottom:20px;
	list-style-type:square;
	list-style-position:inside;
}

ul li {
	line-height:1.4em;
}

#page {
	position:relative;
	width:980px;
	height:auto !important;
	height:100%;
	min-height:100%;
	margin:0px auto;
	margin-bottom:-35px;
}

#header {
	position:relative;
	width:980px;
	height:56px;
	margin:0px auto;
	background:transparent url("img/header.png") no-repeat 10px 0;
}

#logo {
	position:absolute;
	top:0;
	left:0;
	width:350px;
	height:56px;
}

#languages {
	position:absolute;
	top:65px;
	right:10px;
	width:60px;
	height:20px;
	font-size:0.85em;
	text-align:right;
	z-index:1;
}

#languages span {
	color:#E5E5E5;
	margin:0 1px;
	font-size:1.5em;
}

#languages a.active {
	font-weight:bold;
	text-decoration:none;
	cursor:default;
}

#panorama380 {
	position:absolute;
	top:75px;
	left:9px;
	font-weight:bold;
	text-transform:uppercase;
	text-decoration:none;
}

#underconstruction {
	position:absolute;
	top:0;
	left:688px;
	width:92px;
	height:83px;
	background:url("img/underconstruction.png") no-repeat 0 0;
	z-index:1;
}

#gregorcalendaraward {
	position:absolute;
	top:70px;
	right:10px;
	width:86px;
	height:86px;
	background:url("img/btn-gregor-calendar-award-2015.png") no-repeat 0 0;
	z-index:1;
}

#nav {
	position:absolute;
	top:0;
	right:0;
	width:390px;
	height:56px;
}

#nav a {
	position:relative;
	height:38px;
	display:block;
}

#nav a.active:after {
	position:absolute;
	bottom:0;
	height:2px;
	background:#000000;
	display:block;
	content:"";
}

#nav-home {
	width:60px;
	float:left;
}

#nav-home.active:after {
	left:11px;
	width:38px;
}

#nav-press {
	width:75px;
	margin-left:160px;
	float:left;
}

#nav-press.active:after {
	left:11px;
	width:54px;
}

#nav-contact {
	width:85px;
	float:right;
}

#nav-contact.active:after {
	left:11px;
	width:64px;
}

#content {
	position:absolute;
	top:50%;
	margin-top:-353px;
	width:980px;
	height:auto;
	text-align:center;
	float:left;
}

#content.align-left {
	position:relative;
	top:0;
	margin-top:40px;
	width:960px;
	padding:10px;
	text-align:left;
}

#minheight {
	font-size:0px;
	line-height:0px;
	clear:both;
	display:block;
	height:0px;
	padding-bottom:35px;
}

#footer {
	position:absolute;
	bottom:0px !important;
	width:980px;
	height:25px;
	margin:0px auto;
	padding-top:10px;
	background-color:#ffffff;
	text-transform:uppercase;
	text-align:center;
	clear:both;
}

#img-target {
	cursor:pointer;
}

#img-caption {
	-webkit-user-select:none;
	-moz-user-select:none;
	-ms-user-select:none;
	-o-user-select:none;
	user-select:none;  
}

#img-nav-left,
#img-nav-right {
	position:absolute;
	bottom:0;
	left:0;
	width:32px;
	height:35px;
	background:#ffffff url("img/header.png") no-repeat -960px -10px;
	cursor:pointer;
}

#img-nav-right {
	left:auto;
	right:0;
	background-position:-982px -10px;
}

/*
 * =========================================================================== MEDIA QUERIES
 */

@media (max-height:866px) {
	#content {
		top:50%;
		margin-top:-237px;
	}
	
	#content img {
		width:600px;
		margin:20px 0;
	}
}

@media (max-height:580px) {
	#content {
		position:relative;
		margin-top:0;
	}
}