/*! 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.
 */

:root {
	--font-20: 111.11%;
	--font-25: 138.88%;
	--font-30: 166.66%;
	--font-40: 222.22%;
	--color-brown: #b3925d;
	--color-gray: #b0b0b0;
	--family-crazy: CrazyCartoon, 'Roboto Condensed' , sans-serif;
}

/* ==========================================================================
   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.
 *
 */

::-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: 'Roboto Condensed' , 'Verdana', sans-serif;
	text-shadow: none;
	font-size: 18px;

	background-color: #ffffff;
}

button, input, select, textarea {
	font-family: 'Roboto Condensed' , 'Verdana', sans-serif;
}

a { color: #019c9e; text-decoration: underline; }
a:hover { color: #000000; }

div.todo {
	background-color: red;
	padding: 20px;
	border: none;
	margin: 0 0 10px 0;
}

img.full { width: 100%; }

img.cover {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.flex {
	display: flex;
	flex-flow: row nowrap;
	width: 100%;
}

.anchor {
	display: block;
	font-size: 0;
	line-height: 0;
	height: 0;
	overflow: hidden;
	margin: 0;
	padding: 0;
	position: relative;
}

.abscover {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


/* --- project --- */

.content, .layout {
	width: 100%;
	margin: 0 auto;
	max-width: 1920px;
	min-width: 320px;
	box-sizing: border-box;
}

.content .content { min-width: 0; }

.content.content-padded { padding: 0 25px; }


.main-logo {
	position: absolute;
	left: 77px;
	bottom: 140px; /*46 top*/
	z-index: 30;
}

#menu-burger {
	position: absolute;
	z-index: 10;
	top: 12px;
	right: 31px;
	width: 163px;
	height: 155px;
	background-image: url("../img/menu-burger.png");
	background-size: cover;
	box-sizing: border-box;
	font-family: var(--family-crazy);
	font-size: var(--font-30);
	color: var(--color-brown);
	text-decoration: none;
	padding-left: 34px;
	padding-top: 42px;
}

.lang-menu {
	margin-left: 90px;
}

.lang-menu a {
	font-family: var(--family-crazy);
	/*color: var(--color-brown);*/
	color: #000;
	text-decoration: none;
	font-size: var(--font-30);
}

.lang-menu a:hover {
	color: #fff;
}

@media screen and (max-width: 1023px) {
	.main-logo {
		top: 20px;
		left: 20px;
	}

	.main-logo img {
		width: 18vw;
	}
}

@media screen and (max-width: 700px) {
	header.main img {
		width: 50%;
	}
}

@media screen and (max-width: 500px) {
	#menu-burger {
		right: 20px;
		width: 114px;
		height: 108px;
		font-size: var(--font-20);
		padding-left: 26px;
		padding-top: 33px;
	}

	header.main {
		height: 60px;

		& img {
			padding: 22px 0 0 21px;
		}
	}
}

/* main text */
.main-text {
	padding: 70px 0;

	& .text {
		margin: 0 auto;
		max-width: 1100px;
		padding: 0 30px;
		text-align: center;
		line-height: 1.6;
	}
}

h1, h2 {
	font-family: var(--family-crazy);
	font-size: var(--font-40);
	margin: 0 0 1.5em 0;
	text-align: center;
	padding: 0 30px;
}

.dobryvedet h2 {
	color: #fff;
}

.more {
	margin-top: 20px;
	text-align: center;
	font-family: var(--family-crazy);
	font-size: var(--font-20);

	& a {
		text-decoration: none;
		color: #000;
	}

	.dobryvedet & a {
		color: #fff;
	}
}

@media screen and (max-width: 500px) {
	.main-text {
		padding-bottom: 0;
	}
}

/* sikana */
.sikana {
	padding: 0 0 70px 0;
	position: relative;
}

.dobryvedet-wrapper {
	background-color: #000;
	padding-top: 70px;
}

.sikana-ozvi {
	position: absolute;
	bottom: 0;
	right: 0;

	& a {
		text-decoration: none;
	}

	& span {
		position: absolute;
		top: 50px;
		left: 25px;
		font-size: var(--font-25);
		font-family: var(--family-crazy);
		color: var(--color-brown);
	}
}

.sikana-icons {
	margin: 100px auto 0 auto;
	max-width: 1880px;
	flex-flow: row wrap;
	justify-content: space-evenly;
	padding: 0 240px;
	box-sizing: border-box;
}

.sikana-icon {
	width: 30%;
	margin-bottom: 120px;
	position: relative;

	& a {
		margin: 0 auto;
		display: block;
		width: 281px;

		& img {
			width: 100%;
		}
	}

	& .bubble {
		position: absolute;
		width: 373px;
		height: 318px;
		top: 50%;
		left: 50%;
		background-image: url("../img/musis-bubble.png");
		z-index: 2;
		transform: translate(-100%, -100%);
		font-family: var(--family-crazy);
		font-size: var(--font-40);
		color: #000;
		box-sizing: border-box;
		text-align: center;
		padding-bottom: 50px;
		padding-right: 40px;
		pointer-events: none;
		opacity: 0;
		transition-duration: 0.3s;
		display: grid;
		place-items: center;
		place-content: center;
	}

	&:hover .bubble {
		opacity: 1;
	}
}

.lang-en .sikana-icon .bubble {
	font-size: var(--font-30);
}

a.button {
	margin-top: 1em;
	text-decoration: none;
	color: inherit;
	display: inline-block;
	padding: 12px 60px;
	border: 1px solid #808080;
}


@media screen and (max-width: 1400px) {
	.sikana-icon {
		width: 45%;
	}
}

@media screen and (max-width: 1100px) {
	.sikana-icon {
		width: 100%;
	}
}

@media screen and (max-width: 1023px) {
	.sikana-ozvi {
		display: none;
	}
}

@media screen and (max-width: 700px) {
	.sikana-icons {
		padding: 0;
	}

	.sikana-icon {
		margin-bottom: 60px;
	}

	.sikana-icon .bubble {
		width: 186px;
		height: 159px;
		background-image: url("../img/musis-bubble.png");
		background-size: 100% 100%;
		font-size: var(--font-20);
		padding-bottom: 20px;
		padding-right: 20px;
	}

	.lang-en .sikana-icon .bubble {
		font-size: var(--font-20);
	}

	.lang-en .sikana-icon:nth-child(4) .bubble {
		font-size: 100%;
	}

}
@media screen and (max-width: 500px) {
	.sikana {
		padding-top: 0;
	}
	.sikana.dobryvedet {
		padding-top: 70px;
	}
}


/* rekni to */
.rekni-to-wrapper {
	background-color: #000;
}

.rekni-to {
	background-image: url('../img/footer-graphics.png');
	background-repeat: no-repeat;
	background-position: 96% center;
	padding: 90px 80px 90px 240px;
	box-sizing: border-box;
	color: #fff;


	.content {
		text-align: left;
		font-size: var(--font-20);
		font-weight: bold;
		font-style: italic;
		letter-spacing: 0.08ch;
	}

	h2 {
		text-align: left;
		margin-bottom: 0.75em;
		padding-left: 0;
	}

	.text {
		color: var(--color-gray);
		margin-bottom: 2em;
	}

	.stredisko {
		margin-bottom: 1.5em;

			.title {
				text-transform: uppercase;
			}
			.contact {
				color: #b0b0b0;

				a {
					color: #fff;
					text-decoration: none;
				}
			}
	}

	.social {
		margin-top: 4em;

		a {
			display: inline-block;
			margin-right: 45px;
		}
	}

}

.garants {
	margin-top: 2.5em;
}

.garant {
	margin-bottom: 1.5em;
	font-style: italic;
	font-weight: bold;
	color: var(--color-gray);
}

.garant .function {
	color: #fff;
	text-transform: uppercase;
}

.garant a {
	color: #fff;
	text-decoration: none;
}

.copyright-wrapper {
    background-color: #000;
}

.copyright {
    padding: 0 80px 40px 240px;
    font-size: 83.33%;
    color: var(--color-gray);
    font-style: italic;
    font-weight: bold;
}

.copyright a {
    color: inherit;
    text-decoration: none;
}


.lang-en .rekni-to {
	background-image: url('../img/footer-graphics-en.png');
}

@media screen and (max-width: 1700px) {
	.rekni-to {
		padding-left: 80px;
	}

	.rekni-to .text {
		width: 70%;
	}
}

@media screen and (max-width: 1400px) {
	.rekni-to {
		background-size: 38%;
	}
}

@media screen and (max-width: 1280px) {
	.rekni-to {
		background-position: 96% bottom;
	}
}
@media screen and (max-width: 500px) {
	.rekni-to {
		padding: 30px 30px 200px 30px;
		background-size: 60%;
	}
	.rekni-to .text {
		width: 100%;
	}
}

/* komu se sverit */
.komu-se-sverit {
	padding: 150px 230px 0 230px;

	.flex.half {
		flex-flow: row nowrap;

		.flex-item {
			width: 50%;
			box-sizing: border-box;
		}
		.flex-item.image {
			padding-left: 100px;
		}


		h2 {
			text-align: left;
		}

		h2.question {
			padding-left: 60px;
			text-indent: -60px;
		}

		h2.role {
			padding-left: 120px;
		}

		.text {
			padding-left: 120px;
		}

		a {
			color: var(--color-brown) !important;
		}
	}
}

@media screen and (max-width: 1500px) {
	.komu-se-sverit {
		padding: 150px 90px 0 90px;

		.flex.half h2.role {
			padding-left: 60px;
		}

		.flex.half .text {
			padding-left: 60px;
		}

		.flex-item.image img {
			width: 100%;
		}

	}
}

@media screen and (max-width: 1024px) {
	.komu-se-sverit {


		& .flex.half {
			flex-flow: column-reverse wrap;

			& .flex-item {
				width: 100%;
				box-sizing: border-box;
			}

			& .flex-item.image {
				padding-left: 0;
				text-align: center;
				margin-bottom: 60px;

				img { width: 80%; max-width: 597px; }
			}

			.text {
				padding-left: 0;
			}


			h2 {
				text-align: center;
				padding-left: 0;
				text-indent: 0;
				padding-right: 0;
			}

			h2.question {
				padding-left: 0;
				text-indent: 0;
				padding-right: 0;
			}

			h2.role {
				padding-left: 0;
				text-indent: 0;
				padding-right: 0;
			}

		}



	}
}

@media screen and (max-width: 500px) {
	.komu-se-sverit {
		padding: 30px 30px 0 30px;
	}
}

/* pribehy */
.pribehy-s-dobrym-koncem {
	padding: 80px 110px 0 110px;

	& .flex.half {
		flex-flow: row nowrap;
		justify-content: space-between;
		align-items: flex-start;

		.flex-item {
			width: 50%;
		}

		.flex-item.image {
			align-self: flex-end;
		}
	}
}


@media screen and (max-width: 1500px) {
	.pribehy-s-dobrym-koncem {
		padding-left: 80px;
		padding-right: 80px;
	}

	.pribehy-s-dobrym-koncem .flex-item.image img {
		width: 100%;
	}
}

@media screen and (max-width: 1280px) {
	.pribehy-s-dobrym-koncem {
		padding-right: 20px;
	}
}

@media screen and (max-width: 1024px) {
	.pribehy-s-dobrym-koncem {
		padding-left: 30px;
		padding-right: 30px;

		.flex.half {
			flex-flow: column-reverse wrap;

			.flex-item {
				width: 100%;

				&.image  {
					text-align: center;
				}

				&.image img {
					width: 60%;
				}
			}
		}
	}
}

/* itemlist */
.itemlist-wrapper {
	margin: 0 0 100px 0;
	position: relative;

	.arrow {
		position: absolute;
		z-index: 4;
		display: inline-block;
		width: 80px;
		height: 80px;
		background-color: #7f7f7f;
		border-radius: 50%;
		text-align: center;
		line-height: 70px;
		color: #fff;
		text-decoration: none;
		font-size: var(--font-40);
		top: 100px;
		transform: translateY(-50%);

		&.left {
			left: 0;
		}
		&.right {
			right: 0;
		}
	}

	.itemlist .arrow:hover {
		background-color: #000;
	}
}

.itemlist {
	position: relative;
	margin: 0 120px;

	display: grid;
	grid-template: "container";
	place-items: start center;
	place-content: start center;
	overflow: hidden;
	transition-duration: 0.5s;
	transition-property: height;
}

.itemlist .item {
	grid-area: 1 / 1;
	z-index: 1;
	display: none;

	& .text {
		text-align: center;
		font-weight: bold;
		font-style: italic;
	}

	& .author {
		margin-top: 1em;
		text-align: center;
		font-style: italic;
		font-weight: bold;

			& .author-role {
				font-weight: 300;
			}
	}

	a {
		color: var(--color-brown) !important;
	}

}

.itemlist .item.active {
	display: block;
	opacity: 1;
	z-index: 3;
	background-color: #fff;
}

.itemlist .item.next {
	display: block;
	opacity: 1;
	z-index: 2;
}

@media screen and (max-width: 500px) {
	.itemlist {
		margin: 0;
	}
	.itemlist-wrapper {
		& .arrow {
			width: 60px;
			height: 60px;
			line-height: 50px;
			font-size: var(--font-30);
			top: 0;
			transform: translateY(-100%);
		}
	}
}


.plain-changer {
	height: 100vh;
	position: relative;
}

.plain-changer .changer-pic {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.plain-changer .changer-pic.grayscale {
    filter: grayscale(100%);
}

.plain-changer .arrow {
	position: absolute;
	bottom: 50px;
	left: 50%;
	transform: translateX(-50%);
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background-color: #666666;
	line-height: 76px;
	text-align: center;
}

.plain-changer .arrow:hover {
	background-color: #fff;
}


.dobre-detail, .news-section {
	padding: 70px 20px;
	margin: 0 auto;
	max-width: 1300px;
	box-sizing: border-box;
}

.news-detail-section {
    padding: 70px 5.5%;
    margin: 0 auto;
    box-sizing: border-box;
}

.dobre-detail h1 {
	text-indent: -250px;
}

.dobre-detail aside {
	float: left;
	width: 340px;
}

.dobre-detail .text {
	float: left;
	width: calc(100% - 340px);
	padding-left: 70px;
	box-sizing: border-box;
}

.dobre-detail nav a {
	color: #000;
	text-align: right;
	padding-right: 20px;
	display: block;
	border-right: 7px solid #000;
	text-decoration: none;
	transition-duration: 0.3s;
	margin-bottom: 2em;
}

.dobre-detail nav a.active {
	border-right-color: var(--color-brown);
}

.dobre-detail nav a:hover {
	border-right-color: #666;
	color: #666;
}

@media screen and (max-width: 1024px) {
	.dobre-detail aside {
		width: 280px;
	}
	.dobre-detail .text {
		width: calc(100% - 280px);
	}
}
@media screen and (max-width: 800px) {
	.dobre-detail aside {
		width: 220px;
	}
	.dobre-detail .text {
		width: calc(100% - 220px);
	}
}
@media screen and (max-width: 600px) {
	.dobre-detail h1 {
		text-indent: 0;
	}
	.dobre-detail aside {
		float: none;
		width: 100%;
	}
	.dobre-detail .text {
		float: none;
		width: 100%;
		padding-left: 0;
	}
}

.partners-wrapper {
	background-color: #000;
}

.partners {
	padding: 90px 80px 90px 240px;
	box-sizing: border-box;
	color: #fff;
}

.partners .title {
	border-top: 5px solid #fff;
	font-family: var(--family-crazy);
	font-size: var(--font-40) ;
	padding-top: 50px;
}

.partners .flex {
	flex-flow: row wrap;
	align-items: center;
	padding-top: 40px;
}

.partners .flex-item {
	margin-right: 80px;
}

@media screen and (max-width: 1700px) {
	.partners, .copyright {
		padding-left: 80px;
	}
}

@media screen and (max-width: 1280px) {
	.partners .flex-item {
		margin-bottom: 50px;
		width: 20%;
		margin-right: 5%;
	}

	.partners img {
		width: 100%;
	}
}

@media screen and (max-width: 800px) {
	.partners .title {
		text-align: center;
	}
	.partners .flex {
		flex-flow: column nowrap;
	}
	.partners .flex-item {
		width: 40%;
	}
	.copyright {
		text-align: center;
	}
}

@media screen and (max-width: 600px) {
	.partners, .copyright {
		padding-left: 30px;
		padding-right: 30px;
	}
}


.video {
	padding-bottom: 80px;

	.flex {
		display: grid;
		grid-template-columns: repeat( 3 , 1fr );
		justify-items: center;
		grid-row-gap: 50px;
		width: 100%;
	/*	justify-content: space-evenly;*/
	/*	flex-flow: row wrap;*/
	}

	.flex-item {
		width: 460px;
		position: relative;
	}

	img.thumb {
		width: 100%;
	}

	img.play {
		position: absolute;
		background-color: #b3b3b3;
		border-radius: 50%;
		width: 37.5%;
		bottom: 5.1%;
		right: 4.9%;
		transition-duration: 0.3s;
	}

	a:hover img.play {
		background-color: #c23155;
	}
}

@media screen and (max-width: 1500px) {
	.video .flex {
		grid-template-columns: repeat( 3 , 26%);
		justify-content: space-evenly;
	}

	.video .flex-item {
		width: auto;
	}
	/*.video .flex-item {*/
	/*	width: 26%;*/
	/*}*/
}

@media screen and (max-width: 850px) {
	.video .flex {
		grid-template-columns: repeat( 2 , 46%);
		justify-content: space-evenly;
	}
	/*.video .flex-item {*/
	/*	width: 54%;*/
	/*	margin-bottom: 50px;*/
	/*}*/
}
@media screen and (max-width: 500px) {
	.video .flex {
		grid-template-columns: 80%;
	}
	/*.video .flex-item {*/
	/*	width: 80%;*/
	/*}*/
}


/* news */
.news-item {
    display: grid;
    grid-template-columns: 26% auto;
    grid-column-gap: 10%;
    padding: 40px 0;
    border-bottom: 1px solid #ccc;

    a {
        text-decoration: none;
        color: inherit;
        transition-duration: 0.3s;
    }

    a:hover {
        color: #666;
    }

    img {
        transition-duration: 0.3s;
    }

    img:hover {
        filter: grayscale(80%);
    }

    .text-box {
        padding-right: 40px;
    }

    .title {
        font-family: var(--family-crazy);
        font-size: var(--font-30);
    }

    .date {
        font-weight: bold;
        margin-top: 0.5em;
    }

    .perex {
        margin-top: 2em;
        line-height: 1.6;
        letter-spacing: 0.08ch;
    }
}

.news-detail {

    .date {
        text-align: center;
        font-weight: bold;
    }

    .text {
        margin: 0 auto;
        max-width: 1024px;
        box-sizing: border-box;
        padding: 0 20px;
    }

    .gallery a:hover img {
        filter: grayscale(80%);
    }
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4 , 1fr);
    grid-column-gap: 32px;
    grid-row-gap: 32px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1.6;
}

.gallery img {
    transition-duration: 0.3s;
}

.video-gallery {
    text-align: center;
    padding: 50px 0;
}

.video-item {
    aspect-ratio: 765/746;
    width: 474px;
    position: relative;
    margin: 0 auto;

    .thumb {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1;
    }

    .thumb-cover {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 2;
    }

    img.play {
        z-index: 3;
        position: absolute;
        background-color: #b3b3b3;
        border-radius: 50%;
        width: 37.5%;
        bottom: 5.1%;
        right: 4.9%;
        transition-duration: 0.3s;
    }

    a:hover img.play {
        background-color: #c23155;
    }
}

.button-wrapper {
    text-align: center;
    padding: 40px 0;
}

a.back {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 0.08ch;
    transition-duration: 0.3s;
}

a.back:hover {
    color: #666;
}

@media screen and (max-width: 800px) {
    .news-item {
        grid-column-gap: 20px;
    }

    .news-item .text-box {
        padding-right: 0;
    }

    .video-item {
        width: 300px;
    }

    .gallery {
        grid-gap: 16px;
    }
}

@media screen and (max-width: 400px) {
    .news-item {
        grid-template-columns: 1fr;
    }
    .news-item .text-box { margin-top: 20px; }

    .video-item {
        width: 200px;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;
    }
}


/* 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 */

.lb-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;
}

.lb-gallery.loading {
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url(../img/gallery/loading.svg);
}

.lb-gallery a.prev, .lb-gallery a.next {
	position: absolute;
	width: 20%;
	height: 100%;
	top: 0;
	background-repeat: no-repeat;
	background-size: 14px auto;
	z-index: 5;
}

.lb-gallery a.prev {
	left: 0;
	background-position: calc(0% + 35px) center;
	background-image: url(../img/gallery/left.png);
}

.lb-gallery a.next {
	right: 0;
	background-position: calc(100% - 35px) center;
	background-image: url(../img/gallery/right.png);
}

.lb-gallery .canvas {
	margin: 0 auto;
	width: calc(100% - 208px);
	height: 100%;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	position: relative;
}

.lb-gallery .canvas-image {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	object-fit: contain;
	width: 100%;
	height: 100%;
}

@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
  .lb-gallery .canvas-image {
		transform: translateX(-50%) translateY(-50%);
		width: 100%;
		height: auto;
	}
}

.lb-gallery .thumbnails {
	position: absolute;
	top: 100%;
	width: 100%;
	margin-top: -85px;
	text-align: center;
	z-index: 6;
}

.lb-gallery .thumbnails a {
	display: inline-block;
	margin: 0 10px;
	height: 75px;
	line-height: 75px;
	vertical-align: top;
	margin-bottom: 10px;
}

.lb-gallery .thumbnails a.active {
	opacity: 0.6;
}

.lb-gallery .thumbnails img {
	width: 100px;
	max-height: 75px;
}

.lb-gallery a.close {
	position: absolute;
	top: 25px;
	right: 25px;
	width: 44px;
	height: 44px;
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url(../img/gallery/close.png);
	background-size: cover;
	background-color: transparent;
	z-index: 7;
}

@media screen and (max-width: 1023px) {
	.lb-gallery a.prev {
		background-size: 17px 46px;
		background-position: calc(0% + 17px) center;
	}

	.lb-gallery a.next {
		background-size: 17px 46px;
		background-position: calc(100% - 17px) center;
	}

	.lb-gallery .canvas { width: calc(100% - 102px); }

	.lb-gallery a.close {
		width: 22px;
		height: 22px;
		top: 12px;
		right: 12px;
	}

	.lb-gallery .thumbnails img {
		width: 50px;
		max-height: 37px;
	}

	.lb-gallery .thumbnails a {
		height: 50px;
		line-height: 50px;
		margin-bottom: 5px;
	}

	.lb-gallery .thumbnails {
		margin-top: -50px;
	}
}

/* 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 {
	display: none;
	position: absolute;
	padding: 10px;
	border-radius: 4px;
	overflow: hidden;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	box-shadow: 0px 0px 40px 10px rgba(0,0,0,0.8);
	background-color: rgba(255,255,255,0.9);
}

.recaptcha-wait {
	display: block;
	text-align: center;
	margin-bottom: 10px;
}

.recaptcha-wait span {
	display: inline-block;
	padding-right: 25px;
	background-image: url("../img/loader-dots.svg");
	background-position: 100% 75%;
	background-repeat: no-repeat;
	background-size: 20px;
}

.recaptcha-container.absolute {
	display: block;
}

/* 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 */

.fix-content {
	display: none;
	position: fixed;
	z-index: 10;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.8);
	overflow-y: auto;
}

.fix-content.showed { display: block; }

.over-content {
	width: calc(100% - 40px);
	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, .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;
}
