@-ms-viewport { width:device-width; }
/* @media only screen and (min-device-width:800px) { html { overflow:hidden; } } */
html { height:100%; width: 100%; }
body {
	height:100%;
	/* overflow:hidden; */
	margin:0;
	padding:0;
	font-family:Arial, Helvetica, sans-serif;
	font-size:16px;
	color:#000000;
	position: relative;
}

#splash {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 101;
	background: #eeedee url('../images/bg.jpg') 0 0 repeat scroll;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
#splash .inner {
	width: 443px;
	height: 443px;
	background: transparent url('../images/index_white_circle.svg') 0 0 repeat scroll;
	display: flex;
	align-items: center;
	justify-content: center;
}
#splash a {
	display: block;
	width: 275px;
	overflow: hidden;
	outline: none;
}
#splash a img.logo {
	max-width: 170px;
	display: block;
}
#splash a img.finlab {
	display: block;
	margin: 30px 0;
	width: 274px;
}
#splash a .buttons {
	display: flex;
	justify-content: space-between;
}
#splash a .buttons .open {
	
}
#splash a .buttons .title {
	width: 120px;
}
@media (max-height: 480px) and (orientation: landscape) {
	#splash .inner {
		width: 300px;
		height: 300px;
		background-size: cover;
	}
	#splash a { width: 180px; }
	#splash a img.logo { max-width: 120px; }
	#splash a img.finlab { width: 100%; margin: 20px 0; }
	#splash a .buttons .open { width: 80px; }
	#splash a .buttons .title { width: 85px; }
}
@media (max-width: 480px) and (orientation: portrait) {
	#splash .inner {
		width: 300px;
		height: 300px;
		background-size: cover;
	}
	#splash a { width: 180px; }
	#splash a img.logo { max-width: 120px; }
	#splash a img.finlab { width: 100%; margin: 20px 0; }
	#splash a .buttons .open { width: 80px; }
	#splash a .buttons .title { width: 85px; }
}

/* #pano { display: none; } */


#bottom_menu {
	display: none;
	position: absolute;
	bottom: 0px;
	width: 100%;
	z-index: 150;
	background: transparent url('../images/bg_light.jpg') 0 0 repeat scroll;
}
#bottom_menu a:focus { outline: none; }
#bottom_menu a.logo {
	width: 100px;
	height: 37px;
	position: absolute;
	top: 18px;
	left: 25px;
}
#bottom_menu a.logo img { width: 100%; }
#bottom_menu .splash_bottom_txt {
	text-align: center;
	margin-top: 25px;
	margin-bottom: 24px;
	font-size: 18px;
}
#bottom_menu .splash_bottom_txt > div { height: 21px; }
#bottom_menu .icons_container {
	position: absolute;
	top: 20px;
	bottom: 0px;
	right: 20px;
	width: 335px;
}
#bottom_menu .icons_container_inner {
	position: absolute;
	top: 0px;
	bottom: 0px;
	right: 0px;
	left: 0px;
	width: 335px;
}

#bottom_menu a.item {
	display: block;
	position: absolute;
	top: 0;
}
#bottom_menu a.lang {
	right: 237px;
	width: 33px;
	height: 28px;
}
#bottom_menu.mobile a.lang { right: 255px; }
#bottom_menu a.back {
	right: 188px;
	width: 33px;
	height: 28px;
}
#bottom_menu.mobile a.back { right: 212px; }
#bottom_menu a.menu {
	right: 139px;
	width: 30px;
	height: 28px;
}
#bottom_menu.mobile a.menu { right: 172px; }
#bottom_menu a.vr { display: none;  }
#bottom_menu.mobile a.vr {
	right: 112px;
	width: 45px;
	height: 28px;
	display: block;
}
#bottom_menu a.fullscreen {
	right: 90px;
	width: 28px;
	height: 28px;
}
#bottom_menu.mobile a.fullscreen { right: 70px; }
#bottom_menu a.map {
	right: 45px;
	width: 28px;
	height: 28px;
}
#bottom_menu.mobile a.map { right: 32px; }
#bottom_menu a.info {
	right: 0px;
	width: 28px;
	height: 28px;
}

@media (max-width: 900px) {
	#bottom_menu a.logo { display: none; }
	#bottom_menu .splash_bottom_txt {
		text-align: left;
		padding-left: 25px;
	}
}
@media (max-width: 710px) {
	#bottom_menu {
		background: #f1eae2;
	}
	#bottom_menu .icons_container {
		position: relative;
		background: transparent url('../images/bg_light.jpg') 0 0 repeat scroll;
		top: auto;
		right: auto;
		width: 100%;
		height: 65px;
	}
	#bottom_menu .icons_container_inner {
		position: relative;
		top: 20px;
		bottom: auto;
		right: auto;
		margin: 0 auto;
		width: 290px;
	}
	#bottom_menu .splash_bottom_txt {
		text-align: center;
		padding-left: 25px;
		padding-right: 25px;
		margin-top: 15px;
		margin-bottom: 14px;
	}
}



.pin_text p {
	text-align: center;
	padding-left: 15px;
	padding-right: 15px;
	font-size: 12px;
}
.pin_open {
	text-align: center;
	background-color: #CC6F0F;
	height: 24px;
	padding-top: 11px;
}
.red .pin_open { background-color: #900000; }
.pin_open a {
	color: white;
	font-family: Arial;
	font-size: 12px;
}


.textbox {
	background: transparent url('../images/bg_light.jpg') 0 0 repeat scroll;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	z-index: 200;
	display: flex;
	justify-content: center;
}
.stupid_circle {
	background: transparent url('../images/index_white_circle.svg') 50% 50% no-repeat scroll;
	background-size: 800px;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	z-index: 201;
	display: flex;
	justify-content: center;
}
.textbox .text {
	align-self: center;
	padding: 30px;
	max-width: 850px;
}
.textbox .stupid_circle .text {
	max-width: 600px;
}
@media (max-width: 480px) and (orientation: portrait) {
	.stupid_circle {
		background-size: 600px;
	}
}
@media (max-height: 340px) and (orientation: landscape) {
	.textbox .text.flexmetoo {
		height: calc(100% - 60px);
		overflow: scroll;
	}
}
.textbox .close {
	display: flex;
	width: 63px;
	height: 63px;
	position: absolute;
	top: 0px;
	right: 0px;
	background-color: #35a1ad;
	justify-content: center;
	align-items: center;
}
.textbox .close img {
	width: 23px;
	height: 23px;
}
.textbox a {
	color: #e65d11;
	/*text-decoration: none;*/
}

.textbox.links {
	align-items: center;
}
.textbox .header {
	font-size: 24px;
	padding-bottom: 50px;
	font-weight: bold;
	color: #e65d11;
}
.textbox.links .header {
	padding-bottom: 20px;
	text-align: center;
}
.textbox.links .address {
	font-size: 12px;
	font-weight: bold;
	text-align: center;
	padding-bottom: 25px;
}
.textbox.links .links_container {
	display: flex;
	justify-content: center;
	padding: 10px 0;
}
.textbox.links .left, .textbox.links .right { min-width: 158px; }
.textbox.links ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.textbox.links a {
	font-size: 16px;
	color: #000000;
	text-decoration: none;
}
.textbox.links li {
	padding-bottom: 5px;
	text-align: center;
}
.textbox.links li:last-child { padding-bottom: 0px; }
.textbox.links li a span.num {
	color: #f47216;
	font-weight: bold;
}

.textbox.links a:hover, .textbox.links a.active {
	text-decoration: underline;
	color: #ef5f23;
}
.textbox.links a:hover span.num, .textbox.links a.active span.num {
	color: #ef5f23;
}

.textbox.split img.pic {
	width: 50%;
	max-width: 50%;
}
.textbox.split .text {
	width: 50%;
	max-width: 50%;
	padding: 30px 100px;
}
.textbox.split .header {
	font-size: 26px;
	padding-bottom: 16px;
}
.textbox.split .header span {
	font-size: 18px;
	font-weight: normal;
}


.textbox.links.langos li a {
	display: flex;
	width: 140px;
	justify-content: center;
	align-items: center;
}
.textbox.links.langos li a img {
	margin-right: 15px;
}
.textbox.links.langos .left, .textbox.links.langos .right { padding: 10px 0; }


.textbox.mapas {
	opacity: 1;
	justify-content: flex-start; /* IE fix*/
}
.textbox.mapas .close {
	z-index: 250;
}

.textbox.video {
	align-items: stretch;
}
.textbox .video {
	width: 100%;
	height: 100%;
    max-width: 100%;
    min-width: 100%;
    max-height: 100%;
    min-height: 100%;
	align-self: stretch;
	background-color: green;
}

.textbox.photo div.photo {
	width: 100%;
	background-size: contain;
	background-repeat:no-repeat;
	background-position: center;
}
.textbox.photo img.pic {
	max-width: 100%;
	max-height: 100%;
	margin: auto auto;
}


@media (max-height: 600px) and (orientation: landscape) {
	.textbox.split .text {
		padding: 20px 40px;
		height: calc(100% - 40px);
		overflow: scroll;
	}
}
@media (max-width: 800px) and (orientation: portrait) {
	.textbox.split {
		flex-direction: column;
		justify-content: start;
	}
	.textbox.split img.pic {
		width: auto;
		max-width: unset;
		height: 50%;
	}
	.textbox.split .text {
		padding: 20px 40px;
		width: auto;
		max-width: unset;
		height: calc(50% - 40px);
		overflow: scroll;
	}
	.textbox.split .header {
		padding-bottom: 0px;
	}
}

@media (max-width: 520px) {
	.textbox.langos { flex-direction: column; }
	.textbox.video { flex-direction: row; }
}


.box_of_three {
	display: flex;
	margin: 50px 0 0 0;
	list-style: none;
	padding: 0;
	justify-content: space-between;
}
.box_of_three li {
	flex-grow: 0;
	max-width: 250px;
	margin-right: 20px;
}
.box_of_three li:last-child {
	margin-right: 0;
}
.box_of_three a {
	display: block;
}
.box_of_three img {
	width: 100%;
	display: block;
}
@media (max-width: 580px) and (orientation: portrait) {
	.textbox.video_thumbs {
		overflow: scroll;
		display: block;
		top: 0px;
		left: 0px;
		right: 0px;
		bottom: 1px;
		height: calc(100% - 1px);
	}
	.box_of_three {
		flex-direction: column;
		align-items: center;
	}
	.box_of_three li {
		margin-right: 0;
		margin-bottom: 20px;
	}
}
@media (max-height: 500px) and (orientation: landscape) {
	.textbox.video_thumbs {
		overflow: scroll;
		display: block;
		top: 0px;
		left: 0px;
		right: 0px;
		bottom: 1px;
		height: calc(100% - 1px);
	}
	.box_of_three {
		flex-direction: column;
		align-items: center;
	}
	.box_of_three li {
		margin-right: 0;
		margin-bottom: 20px;
	}
}
/*body.video_shown .textbox.video_thumbs {
	height: 0;
	overflow: hidden;
}*/