/*! 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: #d8f8fc;
    text-shadow: none;
}

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

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1rem 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 {
	font-family: 'Agis', sans-serif;
	letter-spacing: 0.1em;
	text-shadow: none;

	background-color: #ffffff;
	min-width: 320px;
}

button, input, select, textarea {
	font-family: 'Agis', sans-serif;
	letter-spacing: 0.1em;
}

a { color: #019c9e; text-decoration: underline; }
a:hover { color: #000000; }

p, h1, h2, h3, h4, ul, ol { margin-top: 0; }

/* --- project --- */

body {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

.content {
	min-width: 320px;
	max-width: 1920px;
	margin: 0 auto;
	width: 100%;
	background-color: #ffffff;
	box-sizing: border-box;
}

.content-padded {
	padding-left: 50px;
	padding-right: 50px;
}

@media screen and (max-width: 460px) {
	.content-padded {
		padding-left: 20px;
		padding-right: 20px;
	}
}

@media screen and (max-width: 680px) {
	.content-sm-nopadded {
		padding-left: 0;
		padding-right: 0;
	}
}

header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 90px;
	z-index: 10;
	transition-duration: 0.4s;
	background-image: url("../img/header_bcg.jpg");
	background-position: right center;
	background-repeat: no-repeat;
	background-color: #000000;
}

header.closed {
	top: -90px;
}

.static-menu header {
	position: static;
}

header > .content {
	height: 100%;
	position: relative;
	background-color: transparent;
}

nav {
	display: block;
	height: 100%;
}

#main-menu {
	display: block;
	padding: 0;
	margin: 0 auto;
	width: auto;
	height: 100%;
	text-align: center;
}

#main-menu > li {
	margin: 0;
	padding: 0;
	display: inline-block;
	height: 100%;
	margin: 0 20px;
	vertical-align: middle;
	width: 145px;
	position: relative;
}

#main-menu > li:first-of-type { margin-left: 0; }

#main-menu > li:last-of-type { margin-right: 0; }

#main-menu > li > a {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 15px;
	height: 100%;
	box-sizing: border-box;
	font-size: 15px;
	text-transform: uppercase;
	color: #ffffff;
	text-decoration: none;
	white-space: nowrap;
}

#main-menu > li > a:after {
	content: " ";
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 7px;
	background-color: rgba(255,255,255,0);
	transition-duration: 0.2s
}

#main-menu > li > a:hover:after,
#main-menu > li.active > a:after,
#main-menu > li.over > a:after
{
	background-color: rgba(255,255,255,1);
}

#main-menu > li.logo > a:after { display: none; }

#main-menu > li.logo a span {
	display: none;
}

#main-menu > li.logo {
	width: 51px;
	overflow: hidden;
	background-image: url("../img/gold_logo.png");
	background-position: center center;
	background-repeat: no-repeat;
}

#main-menu > li > ul {
	position: absolute;
	top: 90px;
	left: 50%;
	margin: 0;
	padding: 0;
	opacity: 0;
	width: auto;
	height: auto;
	background-color: rgba(170, 136, 61, 0.8);
	transform-origin: top center;
	transition-duration: 0.2s;
	transform: translateX(-50%) scaleY(0);
	z-index: 2;
}

#main-menu > li > ul.opened {
	opacity: 1;
	z-index: 3;
	transform: translateX(-50%) scaleY(1);
}

#main-menu > li > ul li {
	margin: 0;
	padding: 0;
	text-align: center;
}

#main-menu > li > ul a {
	color: #ffffff;
	white-space: nowrap;
	line-height: 1.8em;
	padding: 3px 15px;
	text-decoration: none;
	display: block;
}

#main-menu > li > ul a:hover { text-decoration: underline; }

#main-menu > li > ul li:nth-of-type(2) a { padding-top: 30px; }

#main-menu > li > ul li:last-of-type a { padding-bottom: 30px; }

.social {
	position: absolute;
	left: 0;
	top: 0;
	height: 90px;
	padding-left: 40px;
}

.social a {
	float: left;
	position: relative;
	display: block;
	height: 90px;
	width: 26px;
	opacity: 0.5;
	transition-duration: 0.2s;
	margin-right: 20px;
}

.social a:nth-of-type(2), .social a:nth-of-type(3) { margin-right: 11px; }

.social a:last-of-type { margin-right: 0; }

.social a:hover { opacity: 1; }

.social img {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

#menu-trigger {
	display: none;
	position: fixed;
	width: 42px;
	height: 30px;
	right: 30px;
	top: 22px;
	z-index: 3;
	background-image: url("../img/menu_trigger.png");
	background-position: top left;
	background-repeat: no-repeat;
	text-decoration: none;
	transition-duration: 0.3s;
}

.lang-link {
	display: block;
	font-size: 15px;
	width: 90px;
	height: 90px;
	position: absolute;
	top: 0;
	right: 0;
	color: #ffffff;
	text-decoration: none;
	text-align: center;
	line-height: 90px;
}

.lang-link:hover {
	color: #ffffff;
	text-decoration: none;
}

@media screen and (max-width: 1660px)
{
	#main-menu > li > a { padding: 15px 0; }

	#main-menu > li { width: 85px; }
}

@media screen and (max-width: 1310px)
{
	#main-menu > li > a {
		font-size: 13px;
		letter-spacing: 1px;
	}

	#main-menu > li { width: 57px; }
}

.mobile-only, #main-menu > li.mobile-only { display: none; }

#main-menu > li > ul li.main-secondary {
	display: none;
	text-transform: uppercase;
}

@media screen and (max-width: 1140px) {
	#menu-trigger { display: block; }

	header { height: 70px; }

	header.closed { top: -70px; }

	header.closed #menu-trigger {
		transform: translateY(-70px);
	}

	header > .content.slide-menu {
		position: fixed;
		top: 0;
		left: 0;
		left: auto;
		background-color: transparent;
		width: 100%;
		height: 70px;
	}

	#header-logo { display: none; }

	#main-menu {
		width: 100vw;
		min-height: 100vh;
		overflow-y: auto;
		box-sizing: border-box;
		padding: 70px 14px 70px 14px;
		margin: 0;
		text-align: left;
		background-color: rgba(0,0,0,0.8);
		transform: translateY(-100%);
		transition-duration: 0.3s;
	}

	#main-menu.out {
		transform: translateX(0);
	}

	#main-menu > li {
		display: block;
		height: auto;
		margin: 0;
		width: 100%;
		text-align: center;
	}

	#main-menu > li > a {
		position: relative;
		display: inline-block;
		padding: 15px;
		height: auto;
	}

	#main-menu > li.logo { display: none; }

	#main-menu > li > ul {
		display: none;
		position: static;
		width: auto;
		height: auto;
		background: none;
		background-color: transparent;
		opacity: 1;
		transform: none;
		padding-bottom: 1em;
	}

	#main-menu > li > ul.opened {
		transform: none;
	}

	#main-menu > li > ul li {
		text-align: center;
	}

	#main-menu > li > ul a {
		line-height: 1.8em;
		padding: 3px 15px;
		text-align: center;
		white-space: normal;
		line-height: normal;
		font-size: 13px;
	}

	#main-menu > li > ul a:hover { text-decoration: underline; }

	#main-menu > li > ul li:nth-of-type(2) a { padding-top: 0; }

	#main-menu > li > ul li:first-of-type a { padding-top: 15px; }

	#main-menu > li > ul li:last-of-type a { padding-bottom: 0; }

	#main-menu > li > ul li.main-secondary { display: block; }

	.mobile-only, #main-menu > li.mobile-only { display: block; }

	.social { display: none; }

	#main-menu > li.bottom-logo { padding-bottom: 70px; }

	.lang-link {
		position: static;
		height: auto;
		line-height: normal;
		padding: 0;
		right: auto;
		left: auto;
		display: none;
		width: auto;
	}

	#main-menu > li.lang-links {
		color: #ffffff;
		padding-top: 30px;
	}

	#main-menu .social {
		display: block;
		position: static;
		padding: 20px 0 20px 0;
		height: auto;
	}

	.social a, .social a:first-of-type {
		width: 26px;
		height: 20px;
		float: none;
		display: inline-block;
		margin: 0 10px;
	}

	.social img {
		left: 50%;
		top: 50%;
		transform: translateX(-50%) translateY(-50%);
	}
}

/* changer */

.changer-content {
	box-sizing: border-box;
	position: relative;
	text-align: center;
	overflow: hidden;
	height: 100vh;
	min-height: 460px;
	background-color: #474747;
}

.changer-content:after {
	content: " ";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 140px;
	background-color: #ffffff;
	z-index: 1;
}

.changer {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 2;
}

.changer .changer-item {
	width: 100%;
	height: 100%;
	display: block;
	position: absolute;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
	top: 0;
	left: 0;
}

.changer .changer-image {
	width: 100%;
	height: 100%;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.changer .changer-image video, .changer .changer-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.changer .changer-image img {
	transform: scale(1.06);
	transition: all 6s;
}

.IIV::-webkit-media-controls-play-button,
.IIV::-webkit-media-controls-start-playback-button {
	opacity: 0;
	pointer-events: none;
	width: 5px;
}

.changer .dots { display: none; }

.changer-logo-content {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 265px;
	height: 219px;
	transform: translateX(-50%) translateY(-40%);
	z-index: 3;
	opacity: 0;
	transition-duration: 0.5s;
	transition-delay: 0.8s;
}

.changer-logo-content.changer-logo-anim {
	transform: translateX(-50%) translateY(-50%);
	opacity: 1;
}

.changer-logo-content h1 {
	margin: 0;
}

.changer-slogan {
	font-size: 35px;
	line-height: 40px;
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 100%;
	box-sizing: border-box;
	padding: 0 15px;
	color: #ffffff;
	transform: translateX(-50%) translateY(10%);
	margin: 0;
	z-index: 3;
	opacity: 0;
	transition-duration: 0.5s;
	transition-delay: 1.2s;
	text-shadow: 0px 0px 6px rgb(0, 0, 0);
	font-family: 'Agis-Medium', sans-serif;
	font-weight: normal;
	color: #ffffff;
}

#image-name { color: #decd83; }

.changer-slogan.changer-slogan-anim {
	transform: translateX(-50%) translateY(0);
	opacity: 1;
}

.changer-slogan span {
	display: block;
	font-size: 25px;
	margin: 5px 0 20px 0;
}

#rpr-2020 {
	position: absolute;
	top: 90px;
	right: 80px;
	z-index: 5;
}

#rpr-2020 img { width: 375px; }

#bor-ea-2021 {
	position: absolute;
	top: 120px;
	left: 50px;
	z-index: 5;
}

#bor-ea-2021 img { width: 397px; }

.changer-arrow-down {
	display: block;
	text-align: center;
	padding: 5px 0 40px 0;
	animation: scroll 4s infinite ease-in-out;
	animation-delay: 2s;
}

@keyframes scroll {
	0%   { transform: translateY(0); }
	10%  { transform: translateY(15px); }
	20%  { transform: translateY(0); }
	100% { transform: translateY(0); }
}

.hp-text {
	width: 100%;
	height: 100vh;
	max-width: 1370px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	background-color: #ffffff;
	box-sizing: border-box;
	padding: 60px 20px;
}

.hp-text h1 {
	font-size: 35px;
	margin: 0;
}

.hp-text h2 {
	font-size: 18px;
	margin: 0;
	margin-bottom: 40px;
}

.hp-text-logo {
	text-align: center;
}

.hp-text-article {
	padding: 0 40px 40px 40px;
	max-width: 1024px;
	box-sizing: border-box;
	font-size: 15px;
	text-align: center;
	margin: 0 auto;
}

.button {
	display: inline-block;
	font-size: 18px;
	text-transform: uppercase;
	padding: 10px 25px;
	border: 2px solid #000000;
	background-color: #ffffff;
	color: #000000;
	text-decoration: none;
	transition: all 0.3s ease;
	font-family: 'Agis-Medium', sans-serif;
	font-weight: normal;
	letter-spacing: 0.15em;
	transition-duration: 0.3s;
}

.button.button-small {
	font-size: 16px;
	text-transform: none;
	background-color: rgba(0,0,0,0.5);
	color: #ffffff;
	border: 2px solid #ffffff;
	padding: 7px 20px;
}

.button:hover {
	background-color: #000000;
	color: #ffffff;
}

.button.trans-button {
	background-color: transparent;
	color: #ffffff;
	border-color: #ffffff;
}

.button.trans-button:hover {
	background-color: #ffffff;
	color: #474747;
}

.hp-text .button {
	margin-top: 60px;
}

@media screen and (max-width: 1365px)
{
	.hp-text { padding-bottom: 0; }

	#rpr-2020 { right: 40px; }

	#bor-ea-2021 {
		left: 40px;
		top: 110px;
	}

	#rpr-2020 img, #bor-ea-2021 img { width: 20vw; }
}

@media screen and (max-width: 1140px)
{
	#rpr-2020 { top: 70px; }

	#bor-ea-2021 { top: 90px; }
}

@media screen and (max-width: 980px)
{
	.hp-text { padding-top: 70px; }

	.hp-text h2 { margin-bottom: 20px; }

	.hp-text-logo { padding-top: 0; }

	.hp-text-logo img { width: 70px; }
}

@media screen and (max-width: 359px) {
	.hp-text-logo { display: none; }
}

@media screen and (max-height: 639px) {
	.hp-text-logo { display: none; }
}

@media screen and (max-height: 670px) {
	.changer-logo-content { top: 40%; }
}

@media screen and (max-width: 890px) {
	#rpr-2020 { right: 20px; }

	#rpr-2020 img, #bor-ea-2021 img { width: 25vw; }

	#bor-ea-2021 { left: 20px; }
}

@media screen and (max-width: 650px) {
	.changer-slogan {
		font-size: 25px;
		line-height: 35px;
	}

	.changer {
		width: 100%;
		height: 100%;
	}

	.hp-text h1 { font-size: 17px; }

	.hp-text h2 {
		font-size: 15px;
		margin-bottom: 0.5em;
	}

	.hp-text .button { margin-top: 10px; }

	.hp-text-logo img { width: 70px; }
}

@media screen and (max-width: 560px) {
	#rpr-2020 img, #bor-ea-2021 img { width: 110px; }
}

@media screen and (max-width: 460px) {
	#rpr-2020, #bor-ea-2021 { display: none; }
}

@media screen and (max-width: 420px) {
	.changer-logo { width: 200px; }
}

@media screen and (max-height: 500px) {
	.changer-logo-content {
		top: 50%;
	}

	.changer-slogan {
		font-size: 22px;
		line-height: 30px;
	}

	.changer-arrow-down { padding: 20px 0; }
}

/* hp text tiles */
.hp-text-tiles {
	display: flex;
	justify-content: space-between;
	box-sizing: border-box;
	text-align: center;
	height: 43vh;
	max-height: 360px;
}

.hp-text-tiles a {
	width: calc(50% - 17.5px);
	position: relative;
	color: #ffffff;
	overflow: hidden;
}

.hp-text-tiles a:after {
	content: " ";
	position: absolute;
	top: 0;
	left: 0;
	width: 200%;
	height: 200%;
	z-index: 1;
	background: linear-gradient(to right, rgba(0,0,0,0.75) 0%,rgba(0,0,0,0.15) 50%);
	transform-origin: top left;
	transform: rotate(41deg) translateY(40%);
	transition-duration: 0.5s;
}

.fp-completely .hp-text-tiles a:after {
	transform: rotate(41deg) translateY(-20%);
	transition-delay: 0.6s;
}

.hp-text-tiles img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hp-text-tiles h2 {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	font-family: 'Agis-Medium', sans-serif;
	font-weight: normal;
	font-size: 22px;
	line-height: 35px;
	text-transform: uppercase;
	z-index: 2;
}

@media screen and (max-width: 1023px)
{
	.hp-text {
		justify-content: flex-end;
		padding-top: 70px;
	}
}

@media screen and (max-height: 820px)
{
	.hp-text-article { height: 70vh; }

	.hp-text-tiles { height: 30vh; }

	.fp-completely .hp-text-tiles a:after { transform: rotate(41deg) translateY(-50%); }
}

@media screen and (max-width: 650px) {
	.hp-text-article {
		padding: 20px 15px 20px 15px;
		font-size: 12px;
		line-height: 1.5em;
	}

	.hp-text-tiles h2 {
		font-size: 16px;
		line-height: 1.5em;
	}
}

@media screen and (max-width: 580px)
{
	.hp-text h1 {
		margin-bottom: 0.3em;
	}

	.hp-text-tiles h2 { width: 100%; }

	.hp-text-article {
		height: auto;
		flex-grow: 1;
		font-size: 11px;
		line-height: 1.2em;
		overflow: hidden;
		padding: 80px 0 20px 0;
	}

	.hp-text-tiles {
		flex-grow: 0;
		flex-direction: column;
		height: 34vh;
		justify-content: center;
		align-items: center;
		overflow: hidden;
	}

	.hp-text-tiles a {
		width: 100%;
		max-width: 320px;
	}

	.hp-text-tiles a:first-of-type { margin-bottom: 1em; }
}


/* tiles */
.tile-content {
	height: 100vh;
}

.tile-container {
	height: 100vh;
	background-color: #474747;
	padding: 90px 0 0 0;
	position: relative;
	box-sizing: border-box;
}

.tile-nav {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	padding-right: 40px;
	box-sizing: border-box;
	height: 90px;
	text-align: right;
	background-image: url("../img/header_bcg.jpg");
	background-position: right center;
	background-repeat: no-repeat;
	background-color: #000000;
	z-index: 5;
}

.tile-nav .arrow {
	display: inline-block;
	height: 90px;
	line-height: 90px;
	position: relative;
}

.tile-nav.fixed {
	position: fixed;
}

.tile-row {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.tile-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 2;
}

.tile-image > img {
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 3;
}

.tile-image:after {
	content: " ";
	position: absolute;
	top: 0;
	left: 0;
	width: 170vw;
	height: 300vh;
	z-index: 3;
	background: linear-gradient(to right, rgba(0,0,0,0.75) 0%,rgba(0,0,0,0.15) 50%);
	transform-origin: top left;
	transform: translateX(-100%) translateY(-230px) rotate(41deg);
	transition-duration: 0.5s;
}

.fp-completely .tile-image:after {
	transform: translateX(182px) translateY(-230px) rotate(41deg);
}

.tile-text {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 70px 90px;
	box-sizing: border-box;
	color: #ffffff;
	width: 100%;
	max-width: 750px;
	font-size: 15px;
	line-height: 25px;
	z-index: 4;
}

.tile-text .entry-anim { transition-delay: 0.5s; }

.tile-text h2 {
	font-size: 22px;
	font-weight: 500;
	margin: 45px 0 25px 0;
	font-family: 'Agis-Medium', sans-serif;
	font-weight: normal;
}

@media screen and (max-width: 980px)
{
	.tile-nav { display: none; }

	.tile-container { padding: 70px 0 0 0; }
}

@media screen and (max-width: 760px) {
	.tile-container { padding: 0; }

	.tile-text { padding: 30px; }
}

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

	.tile-image:after {
		width: 100%;
		height: 100%;
		background: linear-gradient(to right, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0.15) 40%);
		transform-origin: top left;
		transform: none;
		opacity: 0;
		transition-duration: 0.5s;
	}

	.fp-completely .tile-image:after {
		transform: none;
		opacity: 1;
	}
}

@media screen and (max-width: 550px) {
	.tile-text {
		font-size: 12px;
		line-height: normal;
	}
}

@media screen and (max-width: 370px) {
	.tile-crown { display: none; }
}

/* small tiles */
.small-tiles {
}

.small-tile {
	height: 41.6666vw;
	min-height: 590px;
	max-height: 800px;
	box-sizing: border-box;
	padding: 0 0 55px 0;
	display: flex;
	justify-content: flex-start;
	position: relative;
	overflow: hidden;
}

.small-tile:before {
	position: absolute;
	content: " ";
	width: 100%;
	height: 100%;
	top: 0;
	right: 0;
	background-image: url("../img/tiles_cover_big.png");
	background-position: top right;
	background-repeat: no-repeat;
	background-size: cover;
	z-index: 2;
}

@media screen and (max-width: 1200px) { .small-tile:before { background-image: url("../img/tiles_cover_mid.png"); } }

@media screen and (max-width: 800px) { .small-tile:before { background-image: url("../img/tiles_cover_sm.png"); } }

.small-tile-image {
	width: 67%;
	position: relative;
	z-index: 1;
}

.small-tile-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top right;
}

.small-tile-text {
	width: 33%;
	box-sizing: border-box;
	position: relative;
	z-index: 3;
}

.small-tile-text-inner {
	text-align: right;
	color: #ffffff;
	font-size: 15px;
	padding: 70px;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	z-index: 4;
}

.small-tile-text-inner h2 {
	color: #cfa64d;
	font-size: 22px;
	margin-bottom: 37px;
	font-weight: normal;
}

.small-tile-crown { margin-top: 25px; }

.small-tile:nth-of-type(2n) {
	background-image: none;
	background-color: #ffffff;
}

.small-tile:nth-of-type(2n):before { display: none; }

.small-tile:nth-of-type(2n) .small-tile-image { order: 2; }

.small-tile:nth-of-type(2n) .small-tile-image img {
	object-position: top left;
}

.small-tile:nth-of-type(2n) .small-tile-text {
	order: 1;
	background-color: #ffffff;
}

.small-tile:nth-of-type(2n) .small-tile-text:after {
	position: absolute;
	content: " ";
	width: 100%;
	height: 150%;
	bottom: 0;
	right: 0;
	background-color: #ffffff;
	z-index: 2;
	transform-origin: bottom right;
	transform: rotate(20deg);
}

.small-tile:nth-of-type(2n) .small-tile-text-inner {
	text-align: left;
	color: #000000;
}

.small-tile:nth-of-type(2n) .button-small { border: none; }

.small-tiles .button {
	margin: 1em 0;
}

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

	.small-tile-image { width: 70%; }

	.small-tile-text { width: 30%; }

	.small-tile-text-inner { padding: 30px 30px 30px 0; }

	.small-tile:nth-of-type(2n) .small-tile-text-inner { padding: 30px 0 30px 30px; }

	.small-tile:before { background-position: 70% 0%; }
}

@media screen and (max-width: 1023px)
{
	.small-tile {
		height: auto;
		flex-direction: column;
		min-height: 0;
		max-height: none;
	}

	.small-tile:before, .small-tile:nth-of-type(2n) .small-tile-text:after { display: none; }

	.small-tile-image {
		width: 100%;
		height: 60vh;
		padding: 0;
		box-sizing: border-box;
	}

	.small-tile-image img, .small-tile:nth-of-type(2n) .small-tile-image img {
		object-position: center center;
	}

	.small-tile-text {
		width: 100%;
		height: auto;
	}

	.small-tile-text-inner {
		position: static;
		transform: none;
		text-align: center;
		color: #000000;
	}

	.small-tile:nth-of-type(2n) .small-tile-image {
		order: 1;
		padding: 0;
		box-sizing: border-box;
	}

	.small-tile:nth-of-type(2n) .small-tile-image svg { object-position: top left; }

	.small-tile:nth-of-type(2n) .small-tile-text { order: 2; }

	.small-tile:nth-of-type(2n) .small-tile-text-inner { text-align: center; }

	.small-tile-text-inner, .small-tile:nth-of-type(2n) .small-tile-text-inner { padding: 55px 20px 0 20px; }
}

/* hero text */
.main-text, .standard-text {
	width: 100%;
	max-width: 1015px;
	padding-top: 70px;
	padding-bottom: 125px;
	text-align: center;
	margin: 0 auto;
}

.main-text.main-text-shortpad { padding-bottom: 4em; }

.standard-text { padding: 0; }
.standard-text {
	text-align: left;
}

@media screen and (max-width: 680px) {
	.standard-text {
		box-sizing: border-box;
		padding-left: 20px;
		padding-right: 20px;
	}
}

.main-text h1 {
	font-size: 25px;
	font-weight: normal;
	margin-top: 0;
	margin-bottom: 30px;
}

/* karty */

.cards {
	width: 100%;
	text-align: center;
	padding: 0 0 60px 0;
}

.cards-menu {
	margin: 0;
	padding: 0;
	width: 100%;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	position: relative;
}

.cards-menu:after {
	content: " ";
	position: absolute;
	bottom: 3px;
	left: 0;
	width: 100%;
	height: 1px;
	background-color: #decd83;
}

.cards-menu li { list-style-type: none; }

.cards-menu a {
	display: block;
	font-family: 'Agis-Medium', sans-serif;
	font-weight: normal;
	font-size: 15px;
	line-height: 46px;
	text-decoration: none;
	text-transform: uppercase;
	color: #000000;
	padding: 0 25px;
}

.cards-menu a.active {
	border-bottom: 3px solid #decd83;
}

.sub-cards-menu {
	margin: 0;
	padding: 0;
	width: 100%;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	position: relative;
}

.sub-cards-menu.sub-cards-menu-mb { margin-bottom: 2em; }

.sub-cards-menu li { list-style-type: none; }

.sub-cards-menu a {
	display: block;
	font-family: 'Agis-Medium', sans-serif;
	font-weight: normal;
	font-size: 15px;
	line-height: 50px;
	text-decoration: none;
	text-transform: lowercase;
	color: #000000;
	padding: 0 7px;
}

.sub-cards-menu.nolower a {
	text-transform: none;
}

.sub-cards-menu a.active {
	color: #decd83;
}

.cards.cards-padded .card { padding-top: 60px; }

.cards.cards-padded .card.no-padding { padding-top: 0; }

/* body */

.points {
	position: relative;
	overflow: hidden;
}

.points a {
	text-decoration: none;
	overflow: hidden;
	z-index: 1;
}

.points img {
	width: 100%;
}

.points .point {
	position: absolute;
	width: 60px;
	height: 60px;
	transform: translateX(-50%) translateY(-50%);
	opacity: 1;
	transition-duration: 0.2s;
}

.points .point.point-hidden {
	opacity: 0;
	width: 0;
	height: 0;
}

.points .marker {
	display: block;
	position: relative;
	width: 60px;
	height: 60px;
	border-radius: 1000px;
	background-image: url("../img/point_marker.png");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	z-index: 2;
	opacity: 0.8;
	transition-duration: 0.3s;
}

.points .active .marker {
	opacity: 1;
}

.points .text {
	position: absolute;
	top: calc(100% - 13px);
	left: 50%;
	transform: translateX(-50%);
	display: block;
	background-color: rgba(207,166,77,0.9);
	width: 270px;
	padding: 20px 40px;
	box-sizing: border-box;
	z-index: 0;
	color: #ffffff;
	letter-spacing: 1pt;
	font-size: 15px;
	text-align: left;
	opacity: 0;
	transition-duration: 0s;
	transition-delay: 0s;
	z-index: -1;
}

.points .active {
	overflow: visible;
	z-index: 3;
}

.points .active .text {
	opacity: 1;
	transition-duration: 0.3s;
	transition-delay: 0.1s;
}

.points .text.left { transform: none; }
.points .text.right { transform: translateX(-100%); }
.points .text.top { transform: translateY(-100%); }
.points .text.top.right { transform: translateX(-100%) translateY(-100%); }

.points .point h3, .points .point p {
	color: #ffffff;
	letter-spacing: 1pt;
	font-size: 15px;
	margin: 0;
	padding: 0;
}

@media screen and (max-width: 1023px) {
	.points .text {
		top: calc(100% - 6px);
		padding: 5px 10px;
		font-size: 13px;
		text-align: center;
	}

	.points .point {
		width: 28px;
		height: 28px;
	}

	.points .marker {
		position: relative;
		width: 28px;
		height: 28px;
	}
}

.points.category-points .point {
	width: auto;
	height: auto;
}

.points.category-points .marker {
	width: auto;
	height: auto;
	border-radius: 0;
	background-image: none;
	opacity: 1;
}

.points.category-points .text {
	width: auto;
	top: calc(100% - 6px);
	padding: 5px 10px;
	color: #000000;
	font-size: 13px;
	text-align: center;
	white-space: nowrap;
}

.points.category-points .point h3, .points.category-points .point p {
	color: #000000;
	font-size: 13px;

}

.points.category-points .text.top.right { transform: translateX(-103%) translateY(-120%); }

.points.category-points .point.point-hidden {
	opacity: 0;
	width: 0;
	height: 0;
}

@media screen and (max-width: 1023px) {
	.points.category-points .point {
		width: 28px;
		height: 28px;
	}

	.points.category-points .marker {
		width: 28px;
		height: 28px;
		border-radius: 0;
		background-image: none;
		opacity: 1;
	}
}

/* kontakt */

.contacts .logo {
	margin-bottom: 60px;
}

.companies {
	width: 100%;
	margin: 0 auto;
	max-width: 950px;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	flex-wrap: wrap;
}

.company {
	width: 33.3333%;
	margin-bottom: 2.5em;
}

.companies h4 {
	font-size: 18px;
	text-transform: uppercase;
	font-weight: 400;
}

.whole-title {
	width: 100%;
	text-align: center;
}

.contact {
	font-size: 18px;
	line-height: 30px;
	margin: 0;
}

.contact a {
	text-decoration: none;
	color: #000000;
}

.contact-content { padding-bottom: 60px; }

@media screen and (max-width: 800px) {
	.company {
		width: 50%;
	}
}

@media screen and (max-width: 580px) {
	.company { width: 100%; }
}


.persons {
	margin: 30px 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: center;
}

.persons li {
	list-style-type: none;
	padding: 0 20px;
	margin: 20px 0;
}

.persons img {
	margin-bottom: 1em;
	border-radius: 1000px;
}

/* fotogalerie */

.center-text {
	text-align: center;
	padding-bottom: 60px;
}

.center-text h2 {
	font-size: 25px;
	font-weight: 400;
	margin: 0;
	padding: 50px 0 45px 0;
	text-transform: lowercase;
}

.center-text p {
	margin: 0 auto;
	max-width: 1000px;
	line-height: 30px;
	margin-bottom: 1em;
}

.page-submenu {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: flex-end;

	height: 90px;
	margin: 0;
	background-image: url("../img/header_bcg_big.jpg");
	background-position: right center;
	background-repeat: no-repeat;
	background-color: #000000;
}

.page-submenu li {
	list-style-type: none;
	margin: 0 30px;
	padding: 0;
}

.page-submenu li a {
	position: relative;
	display: inline-block;
	padding: 15px 0;
	text-transform: uppercase;
	text-decoration: none;
	color: #ffffff;
}

.page-submenu a.active:after {
	content: " ";
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 100%;
	transform: translateX(-50%);
	font-size: 18px;
	height: 3px;
	background-color: #decd83;
}

@media screen and (max-width: 1020px) {
	.page-submenu { padding: 0 80px; }
}

@media screen and (max-width: 950px) {
	.page-submenu {
		border-bottom: none;
		padding: 0;
	}

	.page-submenu li:after { content: ""; }

	.page-submenu li { margin: 0 15px; }

	.page-submenu li:after { padding: 0; }
}

@media screen and (max-width: 560px) {
	.page-submenu { flex-wrap: wrap; }

	.page-submenu li {
		width: 100%;
		text-align: center;
	}

	.page-submenu li a {
		padding: 8px 0;
		font-size: 14px;
	}
}

/* fotogalerie */

.photogallery {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
}

.photogallery a.image {
	width: calc(33.3333% - 46.6666px);
	margin: 0 70px 50px 0;
	position: relative;
	overflow: hidden;
}

.photogallery a.image:nth-of-type(3n) {
	margin-right: 0;
}

.photogallery img {
	width: 100%;
}

.photogallery .video {
	position: relative;
}

.photogallery .video:before {
	content: " ";
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	background-image: url("../img/video_play.png");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 25%;
}

@media screen and (max-width: 1360px) {
	.photogallery { padding: 0 70px; }
}

@media screen and (max-width: 840px) {
	.photogallery { padding: 0 20px; }

	.photogallery a.image { width: calc(50% - 35px); }

	.photogallery a.image:nth-of-type(3n) { margin-right: 70px; }

	.photogallery a.image:nth-of-type(2n) { margin-right: 0; }
}

@media screen and (max-width: 480px) {
	.photogallery a.image { width: 100%; }

	.photogallery a.image { margin-right: 0; }

	.photogallery a.image:nth-of-type(3n) { margin-right: 0; }

	.photogallery a.image:nth-of-type(2n) { margin-right: 0; }
}

/* lokalita */
.google-map {
	height: 635px;
}

/* katalog seznam */

.properties-list-containter {
	text-align: center;
	width: 100%;
	max-width: 1120px;
	padding: 70px 0 0 0;
	margin: 0 auto;
}

.main-title {
	margin: 0 0 70px 0;
	font-size: 35px;
	font-weight: normal;
}

.remark {
	display: block;
	font-size: 15px;
	font-style: italic;
	text-align: left;
	font-weight: 700;
}

.remark.remark-right p { text-align: right; }

.remark.remark-bottom {
	padding: 55px 0 80px 0;
}

.properties-list {
	width: 100%;
	margin-bottom: 30px;
}

.properties-list th, .properties-list td {
	height: 50px;
	line-height: 50px;
	font-style: italic;
	font-size: 16px;
	text-align: center;
	border-bottom: 1px solid #bbbbbb;
	box-sizing: border-box;
	white-space: nowrap;
}

.properties-list th {
	 text-transform: lowercase;
}

.properties-list th.terrace { text-transform: none; }

.properties-list .garten, .properties-list .terrace { padding: 0 15px; }

.properties-list .pdf { padding: 0 15px 0 0; }
.properties-list .gal { padding: 0 15px 0 0; }

.properties-list .pdf img { width: 16px; }

.properties-list tr:hover td {
	background-color: rgba(0,0,0,0);
	transition-duration: 0.2s;
}

.properties-list tr:hover td {
	background-color: rgba(0,0,0,0.02);
}

.properties-list a {
	text-decoration: none;
	display: block;
	height: 50px;
	line-height: 50px;
	color: #000000;
	text-decoration: none;
}

.properties-list th a.active span {
	position: relative;
	display: inline-block;
}

.properties-list th a.active span:before {
	position: absolute;
	top: 0;
	left: -13px;
	font-size: 13px;
}

.properties-list th a.asc span::before { content: "\25B4"; }

.properties-list th a.desc span::before { content: "\25BE"; }

.properties-list .flat {
	text-align: left;
	padding-left: 15px;
	width: 8%;
}

.properties-list .disposition {
	text-align: right;
	width: 11%;
}

.properties-list .floor { width: 18%; }

.properties-list .area { width: 13%; }

.properties-list td.price, .properties-list th.price {
	text-align: right;
	padding-right: 15px;
	width: 21%;
}

.properties-list .show-demand { text-transform: lowercase; }

.status.status2, .status.status4, .status.status5 { color: #bbbbbb; }

.status.status3 { color: #86754d; }

.sm-padded {
	box-sizing: border-box;
	padding-left: 20px;
	padding-right: 20px;
}

@media screen and (max-width: 1100px)
{
	.properties-list th, .properties-list td { font-size: 12px; }
}

@media screen and (max-width: 970px)
{
	.remark.remark-bottom { margin: 50px 0 50px 0; }

	.properties-list .pdf { display: none; }
	.properties-list .gal { display: none; }
}

@media screen and (max-width: 900px)
{
	.properties-list .garten { display: none; }
}

@media screen and (max-width: 720px)
{
	.properties-list .terrace { display: none; }

	.properties-list td.price { font-size: 12px; }
}

@media screen and (max-width: 620px)
{
	.properties-list .floor { display: none; }

	.properties-list .disposition { padding-right: 10px; }
}

@media screen and (max-width: 520px)
{
	.properties-list .area { display: none; }
}

@media screen and (max-width: 380px)
{
	.properties-list th, .properties-list td { font-size: 11px; }
}

@media screen and (max-width: 359px)
{
	.properties-list .term { display: none; }

	.properties-list th, .properties-list td { font-size: 12px; }
}

/* filters */

.filters {
	width: 100%;
	max-width: 790px;
	padding: 20px;
	box-sizing: border-box;
	text-align: center;
	margin: 0 auto;
	padding-top: 100px;
}

.filters h3 {
	font-size: 15px;
	text-transform: uppercase;
	font-weight: 300;
}

.filter-texts {
	margin-top: 20px;
	font-size: 15px;
	display: flex;
	justify-content: space-between;
}

.sliders { padding: 0 80px; }

.cancel-filters {
	color: #000000;
	text-decoration: none;
}

@media screen and (max-width: 560px)
{
	.sliders { padding: 0; }
}

.checkboxlist {
	display: flex;
	justify-content: center;
	margin-bottom: 5px;
	margin-top: 2em;
	flex-wrap: wrap;
}

.checkboxlist label { padding: 8px; }

.checkboxlist input {
	margin-right: 15px;
	box-shadow: 2px 2px 2px 0px rgba(50, 50, 50, 0.75);
}

.loading { position: relative; }

.loading:after {
	content: " ";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255,255,255,0.6);
	background-image: url("../img/loader.svg");
	background-position: center 80px;
	background-repeat: no-repeat;
	background-size: 150px 150px;
	z-index: 5;
}

/* katalog detail */

.property-containter {
	width: 100%;
	max-width: 750px;
	text-align: center;
	margin: 0 auto;
	padding-top: 120px;
}

.brown-title {
	font-size: 26px;
	color: #c2af65;
	font-weight: 400;
}

.flat-data {
	font-size: 20px;
	font-weight: 500;
	margin-bottom: 15px;
}

.flat-data span {
	display: inline-block;
}

.flat-data span:after {
	content: "\2022";
	display: inline-block;
	padding: 0 15px;
	font-size: 50px;
	color: #d2a84e;
	vertical-align: text-top;
	line-height: 20px;
}

.flat-data span:last-of-type:after { content: ""; }

.property-head { margin-bottom: 30px; }

.flat-tools {
	line-height: 30px;
	margin-bottom: 3em;
}

.flat-tools a {
	text-decoration: none;
	font-size: 18px;
	color: #000000;
}

.flat-tools .nav, .flat-tools .nav a {
	color: #cbbb7d;
	font-weight: 700;
}

.flat-tools .price { font-size: 26px; }

.property-floorplan {
	width: 100%;
	max-width: 610px;
}

@media screen and (max-width: 620px) {
	.property-containter {
		box-sizing: border-box;
		padding-left: 20px;
		padding-right: 20px;
	}
}


/* tabulka ploch */

.areas-table-containter {
	margin: 80px 0 45px 0;
}

.sub-title {
	font-size: 25px;
	font-weight: 300;
	margin: 0 0 25px 0;
}

.areas-table {
	width: 100%;
	max-width: 440px;
	margin: 0 auto;
	text-align: left;
	font-weight: 400;
}

.areas-table td {
	border-bottom: 1px solid #e6e6e6;
	height: 30px;
	vertical-align: middle;
}

.areas-table .number {
	padding: 0 8px 0 8px;
	width: 2%;
	text-align: right;
}

.areas-table .name {
	width: 73%;
}

.areas-table .name-only {
	padding-left: 8px;
}

.areas-table .value {
	padding-right: 8px;
	text-align: right;
	width: 25%;
	white-space: nowrap;
}

.areas-table .sqm { color: #929292; }

.areas-table .living-area {
	color: #d2a84e;
	border-top: 2px solid #e6e6e6;
	font-weight: 700;
}

.areas-table .living-area .sqm { color: #d2a84e; }

.areas-table .floor-area { background-color: #86754d; }

.areas-table .floor-area {
	background-color: #f0ebd8;
}

.areas-table .usable-area {
	background-color: #d2a84e;
}

.areas-table .floor-area .sqm,
.areas-table .floor-area .value,
.areas-table .usable-area .sqm
{ color: #000000; }

.goodwill {
	width: 100%;
	max-width: 515px;
	margin: 50px auto 0 auto;
	padding-bottom: 50px;
}

@media screen and (max-width: 420px) {
	.areas-table {
		font-size: 14px;
	}
}

/* animace */
.entry-anim {
	transform: translateY(150px);
	opacity: 0;
	transition-duration: 0.5s;
}

.entry-anim-d1 { transition-delay: 0.3s; }

.fp-completely .entry-anim {
	transform: translateY(0);
	opacity: 1;
}

/* soubory */
.downloads {
	text-align: center;
}

.downloads h1 span {
	display: inline-block;
	padding-left: 15px;
	border-left: 5px solid #ccbd78;
}

.downloads h2 {
	display: inline-block;
	border: 1px solid #ccbd78;
	padding: 8px 20px;
	color: #000000;
	text-decoration: none;
	font-size: 1.3em;
}

.downloads-text { padding-bottom: 50px; }

.downloads-files { text-align: center; }

.downloads-items {
	display: inline-table;
	text-align: left;
}

.downloads-items td {
	position: relative;
	padding-right: 22px;
}

.downloads-items td:after {
	content: "|";
	position: absolute;
	top: 0;
	left: calc(100% - 12px);
}

.downloads-items td:last-of-type { padding-right: 0; }

.downloads-items td:last-of-type:after { display: none; }

.files-categories {
	margin: 2em 0 0 0;
	padding: 0;
	text-align: center;
}

.files-categories li {
	margin: 0 10px;
	padding: 0;
	display: inline-block;
	border: 1px solid #000000;
	text-align: center;
	list-style-type: none;
}

.files-categories a {
	display: block;
	padding: 8px 20px;
	color: #000000;
	text-decoration: none;
}

.file-header {
	text-align: center;
	margin-bottom: 1.5em;
}

.files {
	margin: 0 0 0 0;
	padding: 0 0 2.5em 0;
	text-align: center;
}

.files li {
	margin: 0 0 1.5em 0;
	padding: 0;
	list-style-type: none;
}

.files a {
	text-decoration: none;
	color: #000000;
}

/* webcam */
.webcam {
	background-color: #000000;
}

.webcam img {
	max-height: calc(100vh - 90px);
	min-height: 450px;
	margin: 0 auto;
	display: block;
}

.webcam-images { text-align: center; }

/* instagram */
.instagram {
	text-align: center;
	padding: 90px;
}

.instagram > strong {
	font-family: 'Agis', sans-serif;
	font-size: 20px;
	display: block;
	font-weight: 400;
	padding: 30px 0 50px 0;
}

.instagram-inner {
	background-color: #ffffff;
	color: #ffffff;
	overflow: hidden;
}

.instagram-logo {
	margin-bottom: 18px;
	margin-top: 18px;
}

.single-button {
	text-align: center;
	padding: 0 15px 75px 15px;
}

@media screen and (max-width: 980px) {
	.instagram { padding-top: 80px; }
}

@media screen and (max-width: 820px) {
	.instagram { padding: 80px 0 90px 0; }

	.instagram-inner { padding: 0 8px; }
}

/* sigle text */
.single-text {
	padding: 20px 70px;
}

/* selector */
#selector {
	margin-top: 90px;
	max-height: 820px;
	position: relative;
	overflow: hidden;
	top: -1px;
}

#selector .layer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#selector svg {
	display: block;
	object-fit: contain;
	width: 100%;
	height: 100%;
}

#buildings-image {
	width: 100%;
}

#buildings-covers > g {
	opacity: 0;
	transition-duration: 0.2s;
}
#buildings-covers > g.active { opacity: 1; }

#buildings-cover {
	opacity: 0;
	transition-duration: 0.2s;
}

#buildings-cover.active { opacity: 0.6; }

#buildings-areas g {
	opacity: 0;
	cursor: pointer;
	transition-duration: 0.3s;
}

#buildings-areas.active g { opacity: 1; }

#buildings-areas circle.white {
	fill: #ffffff;
	opacity: 0.6;
}

#buildings-areas circle.brown {
	fill: #D0A640;
	opacity: 0;
	transition-duration: 0.3s;
}

#buildings-areas .active circle.brown { opacity: 1; }

#buildings-top-summaries {
	opacity: 1;
	transition-duration: 0.3s;
}

.background #buildings-top-summaries { opacity: 0; }

.buildings-summary {
	position: absolute;
	top: 10%;
	left: 50%;
	transform: translateX(-50%);
	opacity: 0;
	transition-duration: 0.3s;
}

.buildings-summary.active {
	opacity: 1;
}

.buildings-summary h3 {
	font-size: 22px;
	font-family: 'Agis-Medium', sans-serif;
	font-weight: normal;
	color: #c3b065;
	text-align: center;
}

.buildings-summary h3 span { font-size: 30px; }

.summary-list {
	font-size: 18px;
	color: #ffffff;
	text-align: center;
	margin: 0;
	padding: 0;
}

.summary-list li {
	display: inline-block;
	list-style-type: none;
	margin: 0 0 22px 0;
	padding: 0 27px;
	font-family: 'Agis-Medium', sans-serif;
	font-weight: normal;
	position: relative;
}

.summary-list li:after {
	position: absolute;
	right: 0;
	top: 45%;
	transform: translateY(-50%) translateX(50%);
	content: "\2022";
	color: #c2af65;
	font-size: 32px;
}

.summary-list li:last-of-type:after { display: none; }

@media screen and (max-width: 1770px) {
	.buildings-top-summary h3 { font-size: 30px; }

	#buildings-top-summaries .summary-list { font-size: 16px; }

	.buildings-top-summary { left: 5%; }

	.buildings-top-summary h3 { margin-bottom: 18px; }

	#buildings-top-summaries .summary-list li {
		margin: 0 0 15px 0;
		padding: 0 15px;
	}
}

@media screen and (max-width: 1420px) {
	.buildings-top-summary { top: 4%; }

	#buildings-top-summaries .summary-list { font-size: 13px; }
}

@media screen and (max-width: 1100px) {
	.buildings-summary h3 { font-size: 30px; }

	.summary-list { font-size: 16px; }

	.buildings-summary h3 { margin-bottom: 18px; }

	.summary-list li {
		margin: 0 0 15px 0;
		padding: 0 15px;
	}
}

@media screen and (max-width: 1023px) {
	#selector { margin-top: 70px; }
}

#floors-container {
	display: none;
	opacity: 0;
	transition-duration: 0.3s;
}

#floors-container.active {
	display: flex;
	opacity: 1;
}

#building-badge {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20%;
	max-width: 369px;
	transform: translateX(-50%) translateY(-50%);
	display: none;
	opacity: 1;
	transition-duration: 0.3s;
}

#building-badge.background {
	opacity: 0;
}

#building-badge.active {
	display: block;
}

#building-badge div { position: relative; }

#building-badge img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	opacity: 0;
	transition-duration: 0.5s;
	z-index: 1;
	width: 100%;
}

#building-badge img.active {
	opacity: 1;
	z-index: 2;
	transition-delay: 0.5s;
}

#top-view, #floors {
	width: 50%;
	position: relative;
}

#buildings-top-areas g {
	opacity: 0;
	cursor: pointer;
}

#buildings-top-cover { opacity: 0.6; }

#buildings-top-covers > g {
	opacity: 0;
	transition-duration: 0.3s;
}

#buildings-top-covers > g.active { opacity: 1; }

#buildings-top-covers circle {
	filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.75));
}

#buildings-top-covers circle, #buildings-top-covers text {
	opacity: 1;
	transition-duration: 0.3s;
}

.background #buildings-top-covers circle, .background #buildings-top-covers text { opacity: 0; }

.buildings-top-summary {
	left: 50%;
	width: 100%;
	box-sizing: border-box;
	padding: 0 20px;
	transform: translateX(-50%);
}

#floors {
	display: flex;
	flex-direction: column;
	background-color: #000000;
}

#floors-svg-container {
	width: 100%;
	height: 83%;
}

#selector .svg-cont {
	width: 100%;
	height: 100%;
}

#selector svg#floors-svg {
	width: 100%;
}

#floors-desc {
	height: 17%;
	flex-grow: 0;
	font-size: 18px;
	color: #ffffff;
	font-style: italic;
	display: flex;
	text-align: center;
	justify-content: center;
	align-items: center;
}

#floor-areas g {
	cursor: pointer;
	opacity: 0;
	transition-duration: 0.3s;
}

#floor-areas g:hover, #floor-areas g.active { opacity: 1; }

#floor-areas.floors-only circle, #floor-areas.floors-only text { opacity: 0; }

#flats { background-color: rgba(255,255,255,0.9); }

#selector svg#flats-svg {
	width: auto;
	height: auto;
	max-width: 870px;
	max-height: 457px;
	margin: 0 auto;
}

#floor-areas g {
	opacity: 0;
}

#flats {
	transition-duration: 0.3s;
	text-align: center;
	opacity: 0;
}

#flats.active {
	opacity: 1;
}

#floor-title {
	font-family: 'Agis-Bold';
	font-size: 35px;
	color: #c2af65;
	padding: 30px 0 30px 0;
	text-transform: uppercase;
}

#floors-nav {
	font-size: 18px;
	color: #000000;
	padding-top: 35px;
}

#floors-nav a {
	font-family: 'Agis-Medium';
	color: #000000;
	text-decoration: none;
}

#floors-nav a:hover {
	text-decoration: none;
}

.selector-close {
	position: absolute;
	top: 50px;
	right: 50px;
	z-index: 1;
}

#flats-container {
	height: 100%;
	display: flex;
	justify-content: center;
}

#flats-container-center {
	flex-shrink: 0;
	width: 60%;
}

#flats-container-left, #flats-container-right {
	width: 20%;
	flex-shrink: 1;
}

#flats-container-right { position: relative; }

#flat-desc {
	font-family: 'Agis-Medium';
	position: absolute;
	top: 54%;
	left: 45%;
	transform: translateX(-50%) translateY(-50%);
	font-size: 20px;
	line-height: 1.75em;
	white-space: nowrap;
}

#flat-desc .number, #flat-desc .sep, #flat-desc .status {
	color: #d1a742;
}

#flat-desc .number {
	font-family: 'Agis-Bold';
}

#flats-svg .flats { display: none; }

#flats-svg .flats.active { display: block; }

.flats-areas g, .flats-covers g {
	opacity: 0;
	cursor: pointer;
}

.flats-covers g.active {
	opacity: 1;
	transition-duration: 0.3s;
}

#flats {
	display: flex;
	justify-content: center;
	flex-direction: column;
}

#flats-inner {
	height: 100%;
	padding-bottom: 30px;
}

@media screen and (max-width: 1560px)
{
	#flats-inner { height: 100%; }

	#flats-container { height: 100%; }

	#flats-container-center { width: 56%; }

	#selector svg#flats-svg {
		height: 70%;
	}

	#floors-nav { padding-top: 10px; }

	#floor-title { padding: 30px 0 15px 0; }

	/*
	#flat-desc {
		top: 39%;
		left: auto;
		right: 7%;
		transform: none;
	}
	*/
}

@media screen and (max-width: 1279px) {
	#floors-desc { font-size: 14px; }
}

@media screen and (max-width: 1023px)
{
	#selector { display: none; }
}

.selector-content { position: relative; }

#selector-down {
	opacity: 0;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%) translateY(50%);
	transition-duration: 0.3s;
}

#selector-down.active { opacity: 1; }

#select-building {
	opacity: 0;
	position: absolute;
	top: 13%;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;
	font-size: 35px;
	font-family: 'Agis-Light', sans-serif;
	text-align: center;
	color: #c3b065;
	transition-duration: 0.3s;
}

#select-building.active { opacity: 1; }

@media screen and (max-width: 1420px)
{
	#selector-down { bottom: -12px; }

	#selector-down img { width: 60px; }
}

/* animace */

.screen-anim {
	transform: translateY(120px);
	opacity: 0;
	transition-duration: 0.8s;
	transition-timing-function: ease-out;
	transition-delay: 0.5s;
}

.screen-anim.screen-visible, .screen-anim.screen-enter {
	transform: translateY(0);
	opacity: 1;
}

.screen-anim.screen-anim-left {
	transform: translateX(-120px);
}

.screen-anim.screen-anim-right {
	transform: translateX(120px);
}

.screen-anim.screen-anim-left.screen-visible, .screen-anim.screen-anim-left.screen-enter,
.screen-anim.screen-anim-right.screen-visible, .screen-anim.screen-anim-right.screen-enter
{
	transform: translateY(0);
}

/* footer */

footer {
	font-family: 'Agis-Light', sans-serif;
	font-size: 15px;
}

footer > .contact {
	font-size: 15px;
	line-height: 1.4em;
}

footer > .contact > .content {
	background-color: #474747;
	color: #ffffff;
}

footer > .contact a {
	color: #ccbd78;
	text-decoration: none;
}

footer > .contact a.email, footer > .contact a.phone { color: #ffffff; }


footer > .contact .logo > img {
	width: 100%;
	max-width: 155px;
}

footer > .contact .logo .button {
	margin-top: 50px;
}

footer h3 {
	text-transform: uppercase;
	font-size: 20px;
	margin: 0 0 20px 0;
	color: #ccbd78;
}

footer .col:last-of-type h3 {
	margin-bottom: 30px;
}

footer .col-content {
	display: flex;
	flex-wrap: nowrap;
	flex-direction: row;
	justify-content: space-between;
	min-width: 0;
	padding: 85px 160px 75px 160px;
	box-sizing: border-box;
}

footer .contact .col-content {
	background-image: url(../img/footer_bcg.jpg);
	background-position: center center;
	background-repeat: no-repeat;
	background-color: #000000;
}

footer .col {
	width: 33.3333%;
	box-sizing: border-box;
}

footer .col:first-of-type { text-align: left; }
footer .col:nth-of-type(2) { text-align: center; }
footer .col:last-of-type { text-align: right; }

footer .investor strong {
	display: block;
	margin-bottom: 20px;
}

footer .investor .company { margin-bottom: 35px; }

footer .investor .company:last-of-type { margin-bottom: 0; }

footer > .legal {
	font-size: 12px;
	text-transform: uppercase;
	font-family: 'Agis', sans-serif;
}

footer > .legal > .col-content {
	background-color: #ffffff;
	padding: 25px 160px 70px 160px;
}

footer > .legal > .col-content > .col { line-height: 2em; }

footer > .legal {
	font-size: 15px;
	font-weight: 500;
}

footer > .legal .content { padding-top: 15px; }

footer > .legal .copy-sign {
	font-size: 21px;
	position: relative;
	top: 6px;
}

footer > .legal a {
	color: #000000;
	text-decoration: none;
	text-transform: uppercase;
}

.center-text { text-align: center; }

footer > .contact .legal-links a {
	text-transform: lowercase;
}

@media screen and (max-width: 1170px) {
	footer .col-content { padding: 85px 90px 75px 90px; }

	footer .legal .col-content { padding: 25px 90px 70px 90px; }
}

footer .spacer { display: none; }

@media screen and (max-width: 960px) {
	footer .col-content {
		flex-wrap: nowrap;
		flex-direction: column;
		justify-content: space-between;
	}

	footer > .contact .col {
		width: 100%;
		padding: 30px 0;
	}

	footer > .contact .logo {

	}

	footer > .contact .col:nth-of-type(2) { order: 2; }
	footer > .contact .col:nth-of-type(3) { order: 1; }
	footer > .contact .col:nth-of-type(1) { order: 3; }

	footer .col:first-of-type { text-align: center; }
	footer .col:last-of-type { text-align: center; }

	footer > .legal .col {
		width: 100%;
		padding: 15px 0;
	}

	footer .contact .col-content {
		background-image: url(../img/footer_bcg_vert.jpg);
		background-position: 50% 40%;
	}

	footer > .contact .col.investor {
		position: relative;
		top: -10px;
	}

	footer .spacer {
		display: block;
		margin-bottom: 200px;
	}

	footer .company {
		width: 50%;
		margin: 0 auto;
	}
}

@media screen and (max-width: 610px) {
	footer .company img {
		width: 100%;
	}
}

@media screen and (max-width: 1170px) {
	footer .col-content { padding: 45px 40px 45px 40px; }

	footer .opening, footer > .legal .content { font-size: 12px; }
}

/* stage 2 interest */
.stage2-form .close {
	background-image: url("../img/popup_close.png");
	background-position: center center;
	background-repeat: no-repeat;
	width: 35px;
	height: 35px;
	border-radius: 0;
	margin: -35px -35px 0 0;
}

.stage2-form .close span { display: none; }

.stage2-form .over-content {
	font-family: 'Agis-Medium', sans-serif;
	width: calc(100% - 100px);
	max-width: 800px;
	min-height: 520px;
	box-sizing: border-box;
	padding: 10px;
	margin-top: 15rem;
	margin-bottom: 2rem;
}

.stage2-form .over-content:before {
	content: " ";
	position: absolute;
	top: -116px;
	left: 50%;
	transform: translateX(-50%);
	width: 174px;
	height: 174px;
	background-image: url("../img/mai_square.png");
	background-position: center center;
	background-repeat: no-repeat;
	z-index: 2;
}

#stage2interest {
	height: 100%;
	min-height: 530px;
}

.stage2-form form {
	height: 100%;
	min-height: 530px;
}

.half-form {
	width: 50%;
	color: #ffffff;
	background-color: rgba(0,0,0,0.75);
	height: 100%;
	min-height: 530px;
	position: relative;
}

.half-form-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	height: 100%;
	min-height: 530px;
	padding: 30px 35px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

#form-slide1 p {
	font-size: 14px;
	line-height: 30px;
	font-family: 'Agis-Light', sans-serif;
}

#form-slide1 strong, .half-form-slide p strong { color: #e2b554; }

#form-slide2 { display: none; }

.show-form #form-slide1 { display: none; }

.show-form #form-slide2 { display: flex; }

.half-form h3 {
	font-size: 20px;
	text-transform: uppercase;
}

.half-form h3 span { color: #e2b554; }

.half-form input[type=text] {
	font-family: 'Agis-Light', sans-serif;
	width: 100%;
	max-width: 260px;
	padding: 5px 17px;
	box-sizing: border-box;
	margin-bottom: 10px;
	font-size: 15px;
	color: #ffffff;
	border: 1px solid #ffffff;
	background-color: rgba(255,255,255,0.2);
}

.half-form .agree-container {
	font-family: 'Agis-Light', sans-serif;
	padding: 17px 0 33px 0;
	font-size: 13px;
	letter-spacing: 0.03em;
}

.half-form .agree-container a { color: #ffffff; }

.half-form .checkbox label {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	padding: 0 0 5px 13px;
}

.half-form .checkbox label span { padding-left: 10px; }

.half-form .data-info { padding: 0 0 5px 37px; }


.half-form input[type=submit], .half-form-button {
	display: inline-block;
	width: 100%;
	max-width: 260px;
	padding: 13px 7px;
	font-size: 15px;
	color: #ffffff;
	border: 2px solid #ffffff;
	background-color: rgba(0,0,0,0);
	box-sizing: border-box;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	transition-duration: 0.2s;
}

.half-form-button { margin-top: 3em; }

.half-form input[type=submit]:hover, .half-form-button:hover {
	color: #ffffff;
	background-color: rgba(0,0,0,0.3);
}

@media screen and (max-width: 1023px) {
	.stage2-form .over-content {
		margin-top: 140px;
	}
}

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

	.half-form h3 { font-size: 17px; }

	.half-form-slide { padding-top: 4em; }
}

@media screen and (max-width: 690px) {
	.half-form { width: 100%; }

	.half-form-inner {
		width: 100%;
		max-width: 320px;
		margin: 0 auto;
	}

	.half-form .checkbox label { padding-left: 0; }

	.half-form .data-info { padding-left: 24px; }

	.half-form input[type=text], .half-form input[type=submit], .half-form-button { max-width: 320px; }

	#stage2interest { min-height: 660px; }

	.stage2-form form { min-height: 660px; }

	.half-form { min-height: 660px; }

	.half-form-slide { min-height: 660px; }
}

@media screen and (max-width: 450px) {
	.half-form-slide {
		padding-left: 20px;
		padding-right: 20px;
	}
}

/* stages banner */
#stage2interest {
	background-image: none;
}

#stages-banner {
	display: flex;
	justify-content: center;
	height: 100%;
}

#stages-banner .stage {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	width: 50%;
	height: 100%;
	min-height: 530px;
	box-sizing: border-box;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 35px 55px 30px 55px;
	text-align: center;
}

#stages-banner .stage:before {
	content: " ";
	position: absolute;
	width: 100%;
	height: 40%;
	top: 0;
	left: 0;
	background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0));
	z-index: 1;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}

#stages-banner .stage:hover:before {
	opacity: 1;
}

#stages-banner .stage-1 {
	border-right: 5px solid #ffffff;
	background-image: url("../img/stage_banner_1_2.jpg");
}

#stages-banner .stage-2 {
	border-left: 5px solid #ffffff;
	background-image: url("../img/stage_banner_2.jpg");
}

#stages-banner h3 {
	font-family: 'Agis', sans-serif;
	font-size: 20px;
	text-transform: uppercase;
	color: #e2b554;
	line-height: 35px;
	position: relative;
	z-index: 2;
	text-shadow: 0px 0px 2px rgba(0, 0, 0, 1);
}

#stages-banner h3 span { color: #ffffff; }

#stages-banner .button.button-small {
	padding: 11px 15px;
	width: auto;
	display: inline-block;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 0.1em;
}

@media screen and (max-height: 825px) {
	.stage2-form .over-content {
		margin-top: 10em;
	}
}

@media screen and (max-height: 700px), (max-width: 680px) {
	#stage2interest { min-height: 0; }

	#stages-banner {
		display: flex;
		flex-direction: column;
	}

	#stages-banner .stage {
		width: 100%;
		height: 50%;
		min-height: 260px;
		padding-top: 55px;
	}
}

/* recomandation banner */
#recomandation {
	background-image: none;
}

.recomandation-popup .close {
	background-image: url("../img/popup_close.png");
	background-position: center center;
	background-repeat: no-repeat;
	width: 35px;
	height: 35px;
	border-radius: 0;
	margin: -35px -35px 0 0;
}

.recomandation-popup .close span { display: none; }

.recomandation-popup .over-content {
	font-family: 'Agis-Medium', sans-serif;
	width: calc(100% - 100px);
	max-width: 800px;
	min-height: 520px;
	box-sizing: border-box;
	padding: 10px;
	margin-top: 15rem;
	margin-bottom: 2rem;
}

.recomandation-popup .over-content:before {
	content: " ";
	position: absolute;
	top: -116px;
	left: 50%;
	transform: translateX(-50%);
	width: 174px;
	height: 174px;
	background-image: url("../img/mai_square.png");
	background-position: center center;
	background-repeat: no-repeat;
	z-index: 2;
}

#recomandation-banner {
	display: flex;
	justify-content: center;
	height: 100%;
	position: relative;
	text-decoration: none;
}

#recomandation-banner:hover { text-decoration: none; }

#recomandation-banner .bcg-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#recomandation-banner .half {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	width: 50%;
	height: 100%;
	min-height: 500px;
	box-sizing: border-box;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	text-align: center;
}

#recomandation-banner .half.text {
	background-color: rgba(0,0,0,0.75);
	padding-top: 70px;
}

#recomandation-banner .half .flat {
	color: #FFFFFF;
	font-size: 25px;
	text-align: left;
	font-weight: 600;
	padding: 0 40px;
	width: 100%;
	box-sizing: border-box;
}

#recomandation-banner em {
	font-style: normal;
	color: #e2b554;
}

#recomandation-banner h3 {
	font-size: 50px;
	text-transform: uppercase;
	margin-bottom: 0.5em;
}

#recomandation-banner h3 span { color: #ffffff; }

#recomandation-banner .button.button-small {
	padding: 11px 35px;
	width: auto;
	display: inline-block;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 0.1em;
	background-color: transparent;
}

#recomandation-banner .movein {
	background-color: #e2b554;
	color: #ffffff;
	font-size: 24px;
	width: 100%;
	box-sizing: border-box;
	padding: 25px 15px;
	text-transform: uppercase;
}

@media screen and (max-height: 825px) {
	.stage2-form .over-content {
		margin-top: 10em;
	}
}

@media screen and (max-height: 700px), (max-width: 680px) {
	#recomandation { min-height: 0; }

	.recomandation-popup .over-content {
		min-height: 0;
		margin-top: 10rem;
	}

	#recomandation-banner {
		display: flex;
		flex-direction: column;
	}

	#recomandation-banner .half {
		width: 100%;
		height: 50%;
		min-height: 260px;
	}

	#recomandation-banner .half.text { padding-top: 0; }

	#recomandation-banner .half .flat { padding: 60px 20px 20px 20px; }

	#recomandation-banner .half:nth-of-type(2) { display: none; }
}

@media screen and (max-width: 520px) {
	#recomandation-banner .half .flat { font-size: 20px; }

	#recomandation-banner h3 { font-size: 40px; }

	#recomandation-banner .movein {
		font-size: 20px;
		padding: 20px 15px;
	}
}

@media screen and (max-width: 380px) {
	#recomandation-banner .half .flat {
		padding: 60px 15px 15px 15px;
		font-size: 14px;
	}

	#recomandation-banner h3 { font-size: 20px; }

	#recomandation-banner .movein {
		font-size: 16px;
		padding: 20px 15px;
	}

	#recomandation-banner .movein { font-size: 16px; }

	#recomandation-banner .button.button-small { display: none; }
}

/* splash banner */
#splash-background {
	position: fixed;
	z-index: 150;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.8);
}

#splash-banner {
	position: fixed;
	z-index: 151;
	top: 76px;
	left: 50%;
	transform: translateX(-50%);
}

#splash-close {
	position: absolute;
	display: inline-block;
	top: 80px;
	right: -35px;
	z-index: 152;
}

@media screen and (max-width: 800px ) {
	#splash-click img {
		width: 96vw;
	}

	#splash-close {
		position: absolute;
		display: inline-block;
		top: 0px;
		right: 0px;
		z-index: 152;
	}
}

/*
@media screen and (max-width: 900px ) {
	#splash-background {
		display: none;
	}
	#splash-banner {
		display: none;
	}
}
*/


/* preliminterest */

.fix-content.single-form {
	background-image: none;
	width: 100%;
}

.single-form .over-content {
	text-align: center;
	background-color: #ffffff;
	color: #000000;
	width: 100%;
	max-width: 100%;
	min-height: 100vh;
	margin-top: 0;
	line-height: 25px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
}

.single-form form {
	width: 80%;
	max-width: 835px;
	margin: 0 auto;
}

.single-form p {
	margin-top: 0;
	font-size: 13px;
}

.single-form .over-content h3 {
	font-size: 17px;
	font-family: 'Agis-Medium', sans-serif;
	font-weight: normal;
	text-transform: uppercase;
	text-align: center;
	max-width: 525px;
	margin: 0 auto 40px auto;
}

.single-form .over-content h3 span {
	font-family: 'Agis-Light', sans-serif;
	display: block;
}

.single-form .over-content a { color: #000000; }

.single-form .over-content a.close {
	top: 32px;
	right: 32px;
	background-color: transparent;
	color: transparent;
	width: 29px;
	height: 29px;
	border-radius: 0;
	margin: 0;
	background-image: url("../img/popup_close.png");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	box-shadow: none;
}

.single-form .form-elements {
	width: 100%;
	max-width: 320px;
	margin: 0 auto;
}

.single-form .form-elements-wide {
	max-width: 400px;
}

.single-form input, .single-form select, .single-form textarea {
	padding: 10px 0;
	width: 100%;
	margin-bottom: 20px;
	text-align: center;
	background-color: #ececec;
	border: none;
	color: #000000;
	font-size: 15px;
	font-weight: normal;
	font-size: 15px;
	font-family: 'Agis-Light', sans-serif;
	font-weight: normal;
}

.single-form textarea { height: 5.6em; }

.single-form .agree-container {
	padding: 20px 0 20px 0;
}

.single-form input[type=checkbox], .single-form input[type=radio] {
	width: auto;
	margin-bottom: 0;
	line-height: normal;
	margin-right: 10px;
}

.single-form .radio { margin-bottom: 20px; }

.single-form .radio br { display: none; }

.single-form .radio label { margin-right: 15px; }

.single-form .radio label:last-of-type { margin-right: 0; }

.single-form .radio label:first-of-type {
	margin-right: 0;
	display: block;
}

.dispositions label {
	display: inline-block;
}

.single-form .changer-interest {
	display: inline-block;
	margin: 25px 0 50px 0;
}

.single-form input[type=submit] {
	width: auto;
	font-size: 20px;
	padding: 10px 25px;
	border: 2px solid #000000;
	background-color: #ffffff;
	font-family: 'Agis-Medium', sans-serif;
	font-weight: normal;
	letter-spacing: 0.15em;
}

.single-form input[type=submit]:hover {
	background-color: #000000;
	color: #ffffff;
}

.single-form .button { margin-top: 45px; }


.single-form ::-webkit-input-placeholder { opacity: 0.5; color: #000000; text-transform: uppercase; font-size: 15px; font-family: 'Agis-Light', sans-serif; font-weight: normal; }
.single-form :-moz-placeholder { opacity: 0.5; color: #000000; text-transform: uppercase; font-size: 15px; font-family: 'Agis-Light', sans-serif; font-weight: normal; }
.single-form ::-moz-placeholder { opacity: 0.5; color: #000000; text-transform: uppercase; font-size: 15px; font-family: 'Agis-Light', sans-serif; font-weight: normal; }
.single-form :-ms-input-placeholder { opacity: 0.5; color: #000000; text-transform: uppercase; font-size: 15px; font-family: 'Agis-Light', sans-serif; font-weight: normal; }
.single-form ::-ms-input-placeholder { opacity: 0.5; color: #000000; text-transform: uppercase; font-size: 15px; font-family: 'Agis-Light', sans-serif; font-weight: normal; }
.single-form ::placeholder { opacity: 0.5; color: #000000; text-transform: uppercase; font-size: 15px; font-family: 'Agis-Light', sans-serif; font-weight: normal; }

.single-form .sm-logo {
	width: 160px;
}

#demand .recaptcha-container.absolute {
	margin: -260px 0px 0px -152px
}

@media screen and (max-height: 800px) and (min-width: 1024px) {
	.single-form .form-elements {
		max-width: 640px;
	}

	.single-form .row {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: space-between;
	}

	.single-form .row input {
		width: calc(50% - 10px);
	}
}

@media screen and (max-width: 980px) {
	.fix-content.single-form { width: 100%; }
}

@media screen and (max-width: 720px) {
	.single-form form { width: 100%; }

	.single-form .over-content h3 { padding: 0 50px; }
}

@media screen and (max-width: 580px) {
	.single-form input[type="submit"] {
		font-size: 14px;
	}

	.single-form .changer-interest {
		padding: 0 10px;
		min-width: 0;
	}
}

/* preload */
#preloader-cover {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #000000;
	z-index: 100;
	background-image: url("../img/loader.svg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 150px 150px;
}

/* gallery */

.gallery {
	position: fixed;
	display: none;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	padding: 1% 0;
	top: 0;
	left: 0;
	background-color: rgba(0,0,0,0.8);
	z-index: 500;
}

.gallery.loading {
	background-color: rgba(0,0,0,0.8);
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url(../img/gallery/loading.svg);
}

.gallery.loading:after { display: none; }

.gallery a.prev, .gallery a.next {
	position: absolute;
	width: 20%;
	height: 100%;
	top: 0;
	background-repeat: no-repeat;
	background-size: 14px auto;
	z-index: 5;
}

.gallery a.prev {
	left: 0;
	background-position: calc(0% + 35px) center;
	background-image: url(../img/gallery/left.png);
}

.gallery a.next {
	right: 0;
	background-position: calc(100% - 35px) center;
	background-image: url(../img/gallery/right.png);
}

.gallery .canvas {
	display: flex;
	justify-content: center;
	align-content: center;
	margin: 0 auto;
	width: calc(100% - 208px);
	height: 100%;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	position: relative;
}

.gallery .canvas-image {
	object-fit: contain;
	max-width: 100%;
	height: auto;
}

.gallery .thumbnails {
	position: absolute;
	top: 100%;
	width: 100%;
	margin-top: -85px;
	text-align: center;
	z-index: 6;
}

.gallery .thumbnails a {
	display: inline-block;
	margin: 0 10px;
	height: 75px;
	line-height: 75px;
	vertical-align: top;
	margin-bottom: 10px;
}

.gallery .thumbnails a.active {
	opacity: 0.6;
}

.gallery .thumbnails img {
	width: 100px;
	max-height: 75px;
}

.gallery a.close {
	position: absolute;
	top: 25px;
	right: 25px;
	width: 34px;
	height: 29px;
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url("../img/popup_close_white.png");
	background-size: cover;
	background-color: transparent;
	z-index: 7;
}

@media screen and (max-width: 1023px) {
	.gallery a.prev {
		background-size: 17px 46px;
		background-position: calc(0% + 17px) center;
	}

	.gallery a.next {
		background-size: 17px 46px;
		background-position: calc(100% - 17px) center;
	}

	.gallery .canvas { width: calc(100% - 102px); }

	.gallery a.close {
		width: 22px;
		height: 22px;
		top: 12px;
		right: 12px;
	}

	.gallery .thumbnails img {
		width: 50px;
		max-height: 37px;
	}

	.gallery .thumbnails a {
		height: 50px;
		line-height: 50px;
		margin-bottom: 5px;
	}

	.gallery .thumbnails {
		margin-top: -50px;
	}
}

iframe { /* display: none; */ }

.recaptcha-container iframe { display: block; }

/* flashes */

figure.flashes {
	position: fixed;
	width: 370px;
	padding: 15px;
	top: 333px;
	left: 50%;
	margin-left: -200px;
	background-color: #019C9E;
	color: #ffffff;
	font-weight: bold;
	z-index: 12;
	border: 1px solid #ffffff;
}

/* recaptcha */

.recaptcha-container.absolute {
	position: absolute;
	width: 302px;
	height: 76px;
	border-radius: 4px;
	overflow: hidden;
	top: 100%;
	left: 50%;
	margin: -90px 0px 0px -152px;
	box-shadow: 0px 0px 40px 10px rgba(0,0,0,0.8);
	z-index: 1;
}

/* paginator */

.pagination { text-align: center; }
.pagination ul { display:inline-block;margin:0;padding:0;border-radius:3px;box-shadow:0 1px 2px rgba(0, 0, 0, 0.05); }
.pagination li { display:inline; }
.pagination a { float:left;padding:0 14px;line-height:34px;text-decoration:none;border:1px solid #ddd;border-left-width:0; }
.pagination a:hover,.pagination .active a { background-color:#f5f5f5; }
.pagination .active a { color:#999999;cursor:default; }
.pagination .disabled span,.pagination .disabled a,.pagination .disabled a:hover { color:#999999;background-color:transparent;cursor:default; }
.pagination li:first-child a { border-left-width:1px;border-radius:3px 0 0 3px; }
.pagination li:last-child a { border-radius:0 3px 3px 0; }
.pagination-centered { text-align:center; }
.pagination-right { text-align:right; }

/* errors default */

ul.error, ul.flashes {
	display: block;
	background-color: #ee630f;
	color: #ffffff;
	padding: 0;
	margin: 1rem 0rem;
}

ul.flashes {
	background-color: #a7a7a7;
}

ul.error li, ul.flashes li {
	padding: 5px 10px;
	margin: 0px;
	list-style-type: none;
	list-style-image: none;
}

ul.flashes .error {
	background-color: #ee630f;
}

/* popups */
/* 2do responzivita */

.fix-content {
	display: none;
	position: fixed;
	z-index: 10;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-image: url("../img/black_80.png");
	background-repeat: repeat;
	overflow-y: auto;
}

.fix-content.showed { display: block; }

.over-content {
	width: 90%;
	max-width: 30rem;
	padding: 2rem;
	box-sizing: border-box;
	background-color: #ffffff;
	margin: 0 auto;
	margin-top: 6.25rem;
	position: relative;
}

.close {
	position: absolute;
	right: 0;
	top: 0;
	width: 2rem;
	height: 2rem;
	line-height: 1.8rem;
	text-align: center;
	border-radius: 1000px;
	color: #000000;
	text-decoration: none;
	margin: -0.75rem -0.75rem 0 0;
	background-color: #ffffff;
	box-shadow: -1px 1px 4px 0px rgba(0, 0, 0, 0.27);
	font-size: 1.5rem;
}

/* chyby v poupuech */

.fix-content ul.error {
	background-color: transparent;
	color: #fba817;
}

.fix-content ul.flashes {
	background-color: transparent;
	color: #000000;
}

ul.flashes .error {
	background-color: #ee630f;
}

/* - - - */

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

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

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

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

div.center {
	text-align: center;
}

/*
 * 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;
}
