/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 *
 * 2do barva selekce
 */

::-moz-selection {
    background: #d2eeff;
    text-shadow: none;
}

::selection {
    background: #fef5ff;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }

body, html {
	min-width: 310px;
	min-height: 600px;
}

html {
}

body {
	font-family: 'Roboto', sans-serif;
	font-size: 15px;
	color: #ffffff;
	font-weight: 300;
	background-color: #000000;
}

a {
	color: #c1d82f;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

ul.plain {
	margin: 0px;
	padding: 0px;
}

ul.plain li {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}

/* PROJECT */

.wholeScreen {
	width: 100%;
	position: relative;
	max-width: 1920px;
	min-width: 320px;
	min-height: 600px;
	margin: 0 auto;
}

#homepage {
	background-image: url("../img/main_bcg.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

#hpCenter {
	position: absolute;
	width: 100%;
	max-width: 700px;
	height: 345px;
	padding: 0 40px;
	box-sizing: border-box;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}

#hpCenter img {
	margin-bottom: 75px;
	width: 100%;
	max-width: 589px;
}

.greenButton {
	background-color: #bfd636;
	color: #000000;
	display: inline-block;
	font-weight: 500;
	padding: 16px 30px;
	text-transform: uppercase;
}

nav {
	width: 100%;
	background-color: #1b1b1b;
	position: fixed;
	top: 0px;
	z-index: 3;
	text-align: center;
	transform: translateY(0);
	transition: transform 0.3s ease;
}

nav.nav-closed { transform: translateY(-100%); }


nav ul.plain li {
	display: inline-block;
	position: relative;
	line-height: 50px;
	text-transform: uppercase;
	margin: 0px 9px;
}

nav a.mainHref {
	color: #ffffff;
	display: block;
	line-height: 50px;
}

nav a.mainHref:hover {
	text-decoration: none;
}

nav a.mainHref:hover:before, nav a.mainHref.over:before {
	content: ' ';
	position: absolute;
	height: 2px;
	background-color: #ffffff;
	top: 35px;
	width: 100%;
}

nav ul.plain li ul.plain {
	position: absolute;
	display: none;
	min-width: 160px;
	margin-top: 2px;
	background-image: url("../img/green_80.png");
	background-repeat: repeat;
	z-index: 2;
}

nav ul.plain li ul.plain li {
	display: block;
	white-space: nowrap;
}

nav a.secHref {
	color: #000000;
	display: block;
	line-height: 30px;
	text-transform: lowercase;
}

nav a.secHref:hover {
	text-decoration: none;
	color: #ffffff;
}

#menuTrigger, #mobileLogo { display: none; }

@media screen and (max-width: 900px) {
	nav {
		bottom: auto;
		top: 0;
		padding: 10px 20px;
		box-sizing: border-box;
		z-index: 6;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	#mobileLogo {
		display: inline-block;
		width: 100px;
	}

	#mainMenu {
		transform: scaleY(0);
		transform-origin: top center;
		transition: transform 0.4s ease;
		position: absolute;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		overflow: auto;
		text-align: center;
		background-color: #1b1b1b;
	}

	.opened #mainMenu {
		transform: scaleY(1);
	}

	#mainMenu li {
		display: block;
	}

	nav ul.plain li ul.plain {
		display: block;
		position: static;
		background-image: none;
	}

	nav a.secHref { color: #c6c6c6; }

	#menuTrigger {
		position: relative;
		display: inline-block;
		position: relative;
		z-index: 2;
	}

	#menuTrigger:before {
		content: " ";
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-image: url("../img/menu_close.png");
		background-repeat: no-repeat;
		background-size: contain;
		background-position: center center;
		opacity: 0;
	}

	.opened #menuTrigger img { opacity: 0; }

	.opened #menuTrigger:before { opacity: 1; }

	nav a.mainHref:hover::before, nav a.mainHref.over::before { display: none; }

	nav a.mainHref:hover, nav a.mainHref.over { text-decoration: underline; }
}

.contentScreen {
	position: absolute;
	display: none;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.contentCont { position: relative; }

.contentText, .contentTextCover, .contentTextStatic {
	position: absolute;
	width: calc(100% - 90px);
	height: calc(100% - 60px);
	max-width: 670px;
	left: 50%;
	transform: translateX(-50%);
	background-color: rgba(0,0,0,0.8);
}

.contentText.noInt { pointer-events: none; }

.contentTextStatic {
	display: inline-block;
	height: auto;
	position: static;
	top: auto;
	left: auto;
	margin: 0;
	transform: none;
}

.contentTextInner {
	position: relative;
	text-align: left;
	line-height: 25px;
	padding: 35px 55px;
	width: 100%;
	height: 86.3%;
	box-sizing: border-box;
}

.elasticScreenChildPadded {
	padding: 30px 0;
	text-align: center;
}

.contentTextInner .scroll {
	position: absolute;
	width: calc(100% - 80px);
	height: 100%;
	box-sizing: border-box;
}

.contentTextHalf {
	width: 47%;
	float: left;
}

.contentTextHalfLeft { margin-right: 3%; }
.contentTextHalfRight { margin-left: 3%; }

.contentText h2, .contentPhotogal h2 {
	font-weight: 500;
	text-transform: uppercase;
	margin: 0px;
	padding: 0px;
	font-size: 15px;
}

.contentTextCover {
	z-index: 2;
}

.centerText {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	font-weight: bold;
	text-align: center;
}

a.textSwitch {
	display: block;
	position: absolute;
	top: 15px;
	right: 25px;
	width: 19px;
	height: 19px;
	background-image: url("../img/close_text.png");
	background-position: top left;
	background-repeat: no-repeat;
	z-index: 5;
}

a.textSwitch span {
	display: none;
}

a.textSwitch:hover { text-decoration: none; }

.arrow {
	position: absolute;
	width: 36px;
	height: 100%;
	background-position: center center;
	background-repeat: no-repeat;
}

.arrow span { display: none; }

#prevArrow { left: 0px; background-image: url("../img/arrow_prev.png"); }
#nextArrow { right: 0px; background-image: url("../img/arrow_next.png"); }

@media screen and (max-width: 650px) {
	.contentTextHalf {
		width: 100%;
		float: none;
	}

	.contentTextHalfLeft { margin-right: 0; }
	.contentTextHalfRight { margin-left: 0; }
}

@media screen and (max-width: 480px) {
	.contentText, .contentTextCover, .contentTextStatic {
		width: 100%;
		height: 100%;
	}
}

.elasticScreen {

}

.elasticScreenChild {
	position: static;
}

.contentPhotogal {}

.contentPhotogal h2 {
	padding: 80px 0 20px 0;
	text-align: center;
}

.photoGrid {
	text-align: center;
}

.photoGrid img {
	display: block;
}

.photoGrid span {
	width: 320px;
	height: 320px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.photoGrid a {
	width: 320px;
	height: 320px;
	display: inline-block;
	margin: 15px 15px;
	background-color: #777;
}

.photoGrid a:hover { text-decoration: none; }

#contact {
	width: 100%;
	max-width: 660px;
	box-sizing: border-box;
	margin: 50px auto;
	padding: 50px 15px 0 15px;
	text-align: center;
	font-size: 14px;
	line-height: 25px;
}

#contact h2 {
	font-size: 14px;
	text-transform: uppercase;
}

#partners {
	padding-top: 50px;
	background-color: #ffffff;
}

#partnersInner {
	background-color: #ffffff;
	text-align: center;
	padding: 15px;
}

#partners h2 {
	font-size: 14px;
	text-transform: uppercase;
	color: #000000;
}

#partners img {
	padding: 0px 30px 30px 30px;
	max-width: calc(100vw - 30px - 60px);
}

.partnerGroup {
	margin-bottom: 30px;
}

.registration {
	font-size: 14px;
}

input, select, textarea {
	width: 100%;
	border: 0px;
	background-color: #6c6c6c;
	color: #bfd636;
	padding: 5px;
	font-size: 12px;
	font-weight: 500;
	margin-bottom: 10px;
	font-family: 'Roboto', sans-serif;
}

textarea { height: 80px; }

input.button {
	background-color: #bfd636;
	color: #000000;
	width: auto;
	line-height: 35px;
	text-transform: uppercase;
	padding: 0px 35px;
	font-weight: 700;
}

.captcha { text-align: center; }

.captcha > div { display: inline-block; }

.submit { text-align: center; }

#newCompany, #frmregistration-luggage, #frmregistration-roommate {
	display: none;
}

#frmregistration-transport {
	margin-bottom: 0;
}

#startFee {
	margin-bottom: 10px;
}

footer {
	width: 100%;
	max-width: 660px;
	margin: 50px auto;
	padding: 0 15px;
	box-sizing: border-box;
	text-align: center;
	font-size: 14px;
	line-height: 25px;
	font-weight: 700;
}

footer img { margin-top: 35px; }

#loader {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 49;
	background-image: url("../img/loader_bcg.png");
	background-repeat: no-repeat;
	background-position: center center;
}

#loader div {
	width: 100%;
	height: 100%;
	background-image: url("../img/loader.gif");
	background-repeat: no-repeat;
	background-position: center center;
}

/* FLASHES */
ul.error {
	padding: 0px;
}

ul.error li {
	list-style-type: none;
	padding-left: 0px;
	color: red;
}

figure.flashes {
	position: fixed;
	width: 90%;
	box-sizing: border-box;
	max-width: 370px;
	padding: 15px;
	top: 50%;
	left: 50%;
	transform: translateX(-50%);
	background-color: #bfd636;
	color: #ffffff;
	font-weight: bold;
	z-index: 10;
}

figure.flashes a {
	color: #ffffff;
}

figure a.closeFlashes {
	display: block;
	float: right;
	font-weight: bold;
	color: #ffffff;
}

#cover {
	position: fixed;
	width: 100%;
	height: 100%;
	background-image: url("../img/white_40.png");
	background-repeat: repeat;
	z-index: 9;
}

/* SCROLLBAR */

div.jsScroll {
}

div.jsScroll .viewport {
	overflow: hidden;
	position: relative;
}

div.jsScroll .overview {
	list-style: none;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
}

div.jsScroll .thumb .end, div.jsScroll .thumb {
	background-color: transparent;
}

div.jsScroll .scrollbar {
	position: relative;
	float: right;
	width: 28px;
}

div.jsScroll .track {
	background-color: transparent;
	height: 100%;
	width: 18px;
	position: relative;
	padding: 1px;
	margin-left: 10px;
	/*
	background-image: url("../img/track.png");
	background-position: top left;
	background-repeat: repeat-y;
	*/
}
div.jsScroll .thumb {
	height: 139px;
	width: 18px;
	cursor: pointer;
	overflow: hidden;
	position: absolute;
	top: 0px;
	background-image: url("../img/scrollbar.png");
	background-position: 0px 2px;
	background-repeat: no-repeat;
}

div.jsScroll .thumb .end {
	overflow: hidden;
	height: 1px;
	width: 18px;
	background-color: transparent;
}

div.jsScroll.horizontal .thumb .end {
	height: 18px;
	width: 1px;
}

div.jsScroll .disable{
	display: none;
}

/* PAGINATOR */

div.paginator {
	text-align: center;
	color: #14405C;
	clear: both;
	margin-bottom: 20px;
}

div.paginator .number {
	border: 1px solid #14405C;
	padding: 3px 8px 3px 8px;
	margin: 0px 2px 0px 2px;
}

div.paginator .button {
	margin: 0px 2px 0px 2px;
}

div.paginator .current {
	background-color: #14405C;
	color: #ffffff;

}

div.paginator a {
	text-decoration: none;
}

/* UTILS */

a[href^="error:"] {
	background: red;
	color: white;
}

pre.dump {
	position: fixed;
	top: 0px;
	z-index: 1000;
	background-color: #ccc;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

.clear {
	display: block;
	clear: both;
	height: 0px;
	line-height: 0px;
	font-size: 0px;
	overflow: hidden;
}