@font-face {
    font-family: 'bpg_supersquare';
    src: url('bpg_supersquare.eot');
	src: url('bpg_supersquare.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@media (max-width: 990px) {
	#logo {
		height: 50px;
		margin: 10px;
	}

	nav {
		width: 100%;
		display: none;
		border-bottom: solid 5px #1f1d23;
	}
	
	nav > a {
		display: block;
		width: 100%;
		float: right;
		padding: 20px 0;
		border-top: solid 1px #1f1d23;
	}
	
	nav > a:hover {
		background-color: #1f1d23
	}
	
	#chooser {
		display: block;
		float: right;
		min-width: 160px;
		text-align: right;
		height: 50px;
		line-height: 50px;
		padding-right: 50px;
		margin: 10px;
		background-image: url(../images/layout/chooser.png);
		background-repeat: no-repeat;
		background-position: top right;
		cursor: pointer;
	}
	
	#chooser:hover {
		color: #FFFFFF;
	}
	
	#chooser.active {
		background-position: bottom right;
		color: #888888;
	}
	
	#current_menu {
		display: block;
		float: right;
		line-height: 50px;
		margin: 10px;
		cursor: pointer;
	}
	
	#about_header {
		background-position: top 50%;
	}
	
	#about_header .container {
		overflow: auto;
	}
	
	.head_clear {
		display: block;
		width: 100%;
		height: 70px;
	}
	
	.child_menu {
		line-height: 50px;
	}
	
	.gallery_name {
		background-color: #000000;
	}
	
	.press {
		background-color: #000000;
	}
}

@media (min-width: 991px) {
	.left_arrow, .right_arrow {
		opacity: 0.4;
		transition: all 0.4s;
		-webkit-transition: all 0.4s;
	}
	
	.left_arrow:hover, .right_arrow:hover {
		opacity: 1;
	}
	
	#logo {
		height: 80px;
		margin: 20px;
	}
	
	nav {
		margin-top: 20px;
		margin-right: 10px;
		float: right;
	}
	
	nav > a {
		line-height: 80px;
		padding: 10px;
	}
	
	#chooser {
		display: none;
	}
	
	#current_menu {
		display: none;
	}
	
	.head_clear {
		display: block;
		width: 100%;
		height: 120px;
	}
	
	.child_menu {
		line-height: 60px;
		-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
		filter: alpha(opacity=50);
		-moz-opacity:0.5;
		-khtml-opacity: 0.5;
		opacity: 0.5;
		transition: all 0.4s;
		-webkit-transition: all 0.4s;
	}
	
	.child_menu:hover, .current_child_menu {
		-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
		filter: alpha(opacity=100);
		-moz-opacity:1;
		-khtml-opacity: 1;
		opacity: 1;
	}
	
	.gallery_img {
		opacity: 0.8;
		transition: opacity 0.4s;
		-webkit-transition: opacity 0.4s;
	}
	
	.gallery_name {
		background-color: rgba(0, 0, 0, 0.4);
		transition: all 0.4s;
		-webkit-transition: all 0.4s;
		background-image: url(../images/layout/small_arrow.png);
		background-repeat: no-repeat;
		background-position: -80px center;
	}
	
	.gallery:hover > .gallery_img {
		opacity: 1;
	}
	
	.gallery:hover > .gallery_name {
		padding-left: 25px;
		background-color: rgba(0, 0, 0, 1);
		background-position: -43px center;
	}
	
	.press {
		transition: all 0.4s;
		-webkit-transition: all 0.4s;
		background-color: rgba(0, 0, 0, 0.4);
	}
	
	.press:hover {
		background-color: rgba(0, 0, 0, 1);
	}
}

/* Windows */
nav a {
	color: #AAAAAA;
	white-space: pre-wrap;
}

nav a:hover {
	color: #FFFFFF;
}

.window {
	width: 100%;
	min-height: 600px;
	position: relative;
	overflow: hidden;
	z-index: 3;
}

.container {
	position: relative;
	max-width: 990px;
	margin: 0 auto;
}

.fixed_content {
	padding: 0 20px;
}

.content {
	width: 100%;
	padding: 20px;
	font-size: 14px;
	line-height: 20px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	position: absolute;
	overflow-y: auto;
	text-align: justify;
}

.left_arrow, .right_arrow {
	position: absolute;
	top: 50%;
	margin-top: -40px;
	width: 40px;
	height: 80px;
	background-image: url(../images/layout/arrow.png);
    background-repeat: no-repeat;
	cursor: pointer;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.left_arrow {
	left: 10px;
    background-position: left;
	display: none;
}

.right_arrow {
	right: 10px;
    background-position: right;
}

/* Header */
#header {
	width: 100%;
	z-index: 100;
	background-color: #000000;
}

#logo {
	float: left;
	cursor: pointer;
	display: none;
}

/* Footer */
#footer {
	width: 100%;
	position: absolute;
	bottom: 0;
	z-index: 999;
	background-color: #222222;
	padding: 10px 0;
}

/* Child Menu */
.child_menu {
	float: left;
	text-align: center;
	cursor: pointer;
	color: #CCCCCC;
}

.child_menu:hover, .current_child_menu {
	color: #FFFFFF;
	background-color: rgba(0, 0, 0, 0.5);
}

.icon_menu {
	padding-left: 50px;
	background-repeat: no-repeat;
	background-position: center left;
	overflow: hidden;
}

.child_container .content {
	display: none;
}

/* Home */
#home {
	background-image: url(../video/video.jpg);
	background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

#html_video {
	position: absolute;
	z-index: 1;
}

#intro {
	margin-top: 0;
	margin-left: 0;
	position: absolute;
	z-index: 2;
	background-image: url(../images/layout/dots.png);
	background-repeat: repeat;
}

#intro_logo {
	display: none;
	position: absolute;
	cursor: pointer;
}

#intro_text {
	display: none;
	position: absolute;
	text-align: center;
}

#languages {
	position: absolute;
	display: none;
	width: 350px;
	text-align: center;
}

#languages .lang {
	margin: 0 10px;
}

#scroll_down {
	display: none;
	position: absolute;
	width: 160px;
	height: 50px;
	background-image: url(../images/layout/scroll.png);
	background-repeat: no-repeat;
	background-position: center bottom;
	cursor: pointer;
	text-align: center;
}

/* About */
#about_header {
	width: 100%;
	overflow: hidden;
	background-image: url(../images/company/background.jpg);
	background-size: cover;
    background-repeat: no-repeat;
	text-align: left;
	font-size: 16px;
	text-shadow: 1px 1px 1px #000;
}

#about_header .container {
	font-size: 14px;
	max-height: 150px;
}

/* Gallery */
.gallery_window {
	position: relative;
	overflow: hidden;
	margin: auto 20px;
}

.gallery_container {
	position: absolute;
	left: 0;
	top: 0;
}

.gallery {
	float: left;
	cursor: pointer;
}

.gallery_img {
	background-image: url(../images/layout/no_image.png);
    background-repeat: no-repeat;
    background-position: center;
	background-color: #000000;
	background-size: cover;
	background-position: 50% 50%;
}

.gallery_name {
	padding: 7px 0 5px 7px;
	overflow: hidden;
	text-align: left;
}

/* News */
#news .gallery_name {
	padding: 10px 0 10px 10px !important;
	background-image: none !important;
}

#news .gallery_description {
	margin-top: 10px;
	overflow-y: auto;
	padding: 0 10px 0 0;
}

/* Press */
.press {
	padding: 10px;
	margin-bottom: 10px;
}

.press_date {
	float: right;
}

/* Contact */
#contact_container {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	background-image: url(../images/layout/dots.png);
	background-repeat: repeat;
	z-index: 8;
}

#contact_block {
	position: absolute;
	height: 500px;
	bottom: 0;
	padding: 20px;
	background-color: rgba(240, 240, 240, 0.8);
}

#map-canvas {
	position: absolute;
	width: 100%;
	height: 100%;
	height: 100%;
	z-index: 7;
}

#captcha_img {
	border-left: solid 1px #000000;
	float: left;
}

#captcha {
	position: relative;
	width: 32px !important;
	float: left;
}

#captcha_description {
	position: relative;
	margin-left: 20px;
	float: left;
	line-height: 32px;
}

#captcha_arrow {
	position: relative;
	top: -1px;
	width: 20px;
	height: 35px;
	background-image: url(../images/layout/dark_arrow.png);
    background-repeat: no-repeat;
	background-position: center;
	float: left;
}