/*
 Theme Name:   Metrostav
 Description:  Metrostav microsite
 Author:       @NAK
 Version:      1.0.0
 License:      Commercial
 Text Domain:  metrostav
*/

/** OBSAH
 * 	1 - TEXT
 * 	2 - STYL
 * 	3 - GRID
 * 	4 - BLOKY
 */

::selection {
	background-color: #e5e5e5;
}

::-webkit-scrollbar {
	width: 10px;
}
::-webkit-scrollbar-track {
	background: rgb(255 255 255 / 50%);
}
::-webkit-scrollbar-thumb {
	background: #e5e5e5;
}

html, body {
	-webkit-scroll-behavior: smooth;
	scroll-behavior: smooth;
}

/* 1 - TEXT */
@font-face {
    font-family: Roboto;  
    src: url(assets/fonts/roboto/Roboto-Light.ttf) format("truetype");
    font-weight: normal;  
}
@font-face {
    font-family: Roboto;  
    src: url(assets/fonts/roboto/Roboto-Bold.ttf) format("truetype");
    font-weight: bold;  
}

body, input, select, textarea {
	font-family: Roboto, sans-serif!important;
	font-size: 16px;
	line-height: 24px;
	font-style: normal;
	color: #5c5c5c;
}
body, h1, h2, h3, h4, h5, h6, p {
	margin: 0;
}
h1, h2, h3, h4, .menu a {
	font-weight: normal;
	color: #323232;
}

h1 {
	font-size: 50px;
	line-height: 55px;
}
h2 {
	font-size: 30px;
	line-height: 39px;
}
h3, .single-nadpis h1 {
	font-size: 28px;
	line-height: 36px;
}
h4 {
	margin-bottom: 15px;
	font-size: 24px;
	line-height: 32px;
}
h5 {
	margin-bottom: 10px;
	font-size: 18px;
	line-height: 26px;
	font-weight: bold;
}
h6 {
	margin-bottom: 10px;
	font-size: 16px;
	line-height: 24px;
	font-weight: bold;
}
p + p {
	margin-bottom: 16px;
}
a {
	color: inherit;
}
ol li::marker {
	font-weight: bold;
}

/* Titulek */
h2.title-up {
	position: relative;
}
h2.title-up:before {
	content: "";
	width: 90px;
	height: 2px;
	margin-bottom: 28px;
	display: block;
}
h2.title-down {
	position: relative;
}
h2.title-down:after {
	content: "";
	width: 90px;
	height: 2px;
	margin-top: 28px;
	display: block;
}
.nadpis.center h2.title-up:before,
.nadpis.center h2.title-down:after {
	margin-left: auto;
	margin-right: auto;
}

/* Textove */
.prispevek-info {
	margin-bottom: 10px;
}
.datum, .link, .tag {
	display: block;
	font-weight: bold;
}
.link {
	margin-top: 10px;
	filter: saturate(1);
	transition: filter .2s linear;
}
.link:hover {
	text-decoration: none;
	filter: saturate(0.7);
}
.link:after {
	content: "";
    width: 6px;
    height: 6px;
	margin-left: 5px;
    display: inline-block;
	position: relative;
	top: -1px;
    border-width: 2px 2px 0 0;
    border-style: solid;
	transform: rotate(45deg);
}
.tag {
	margin-left: 8px;
	padding: 0 5px;
	background-color: #e5e5e5;
}
.category-list {
	margin-bottom: 28px;
	padding: 15px 15px 0;
	background-color: #e5e5e5;
}
.category-list a {
	margin: 0 15px 15px 0;
	padding: 5px;
	font-weight: bold;
	text-decoration: none;
	background-color: #ffffff;	
}
.category-list a.active {
	color: #ffffff;
}

/* Formular */
form {
	max-width: 600px;
	margin: 0 auto;
	position: relative;
}
label {
	position: relative;
	font-size: 11px;
	line-height: 17px;
}
label .label-text {
	padding: 0 5px;
    position: absolute;
    top: 10px;
    left: 15px;
	background-color: #ffffff;
	z-index: 2;
}
input, textarea, select {
	width: calc(100% - 40px);
	padding: 13px 20px;
	border: 1px solid #e5e5e5;
	outline: none!important;
	transition: border-color .2s linear;
}
input:focus, textarea:focus, select:focus {
	border-color: #cccccc;
}
.btn, input[type="submit"] {
	width: auto;
	padding: 15px 40px 15px 20px;
	position: relative;
	font-weight: bold;
	color: #ffffff;
	filter: saturate(1);
	transition: filter .2s linear;
}
.btn:hover, input[type="submit"]:hover {
	filter: saturate(0.7);
}
.submit {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}
.s-btn {
	position: relative;
}
.btn:after, .s-btn:after {
    content: "";
    width: 8px;
    height: 8px;
    display: inline-block;
	position: absolute;
	top: calc(50% - 6px);
	right: 20px;
    border-width: 2px 2px 0 0;
    border-style: solid;
    border-color: #ffffff;
	opacity: 0.5;
	transform: rotate(45deg);
}
input[type="checkbox"], input[type="radio"] {
	width: auto;
	margin: 0 5px 0 0;
}
.wpcf7-list-item {
	margin: 15px 0;
	display: flex;
	flex-direction: row;
	align-items: center;
}
.wpcf7-list-item-label {
	font-size: 16px;
}
.wpcf7-spinner {
	display: none;
}

/* Link icon */
.link-icon {
	width: 18px;
	height: 18px;
	margin-left: 10px;
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
	top: -2px;
	border: 1px solid #5c5c5c;
	border-radius: 100%;
	transition: border-color .2s linear;
}
.link-icon:after {
	content: "";
    width: 5px;
    height: 5px;
    display: inline-block;
	position: relative;
	left: -2px;
    border-width: 1px 1px 0 0;
    border-style: solid;
    border-color: #5c5c5c;
	transform: rotate(45deg);
	transition: border-color .2s linear;
}

/* 2 - STYL */

img {
	max-width: 100%;
}

main {
	min-height: calc(100vh - 320px);
	margin-top: 76px;
}

/* Burger */
#burger {
    width: 20px;
    height: 15px;
    padding: 15px 15px;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
#burger hr {
    width: 20px;
    margin: 0;
    background-color: #ffffff;
    border: 1px solid #ffffff;
}
#burger.opened hr:nth-child(1) {
    display: none;
}
#burger.opened hr:nth-child(2) {
    position: relative;
    top: 6px;
	left: -1px;
    transform: rotate(45deg);
}
#burger.opened hr:nth-child(3) {
    position: relative;
    top: -6px;
	left: -1px;
    transform: rotate(-45deg);
}

/* Menu */
.menu {
	margin: 0;
	padding: 0;
	list-style: none;
}
.menu a {
	text-decoration: none;
	transition: color .2s linear;
}

/* Strankovani */
.nav-links {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}
.nav-links .page-numbers {
	width: 38px;
	height: 33px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-decoration: none;
	background-color: #ffffff;
	border-width: 1px 1px 1px 0;
	border-style: solid;
	border-color: #e5e5e5;
	transition: background-color .2s linear;
}
.nav-links .page-numbers:first-child {
	border-left-width: 1px;
}
.nav-links .page-numbers:hover {
	color: #ffffff;
}
.nav-links .page-numbers.current {
	font-weight: bold;
}

/* Slider */
.flexslider {
	margin: 0;
	background-color: transparent;
	border: none;
}
.flexslider .flex-direction-nav a,
.ekko-lightbox-nav-overlay a {
	width: 40px;
	max-width: 40px;
	height: 40px;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	font-size: 0;
	opacity: 1;
	filter: saturate(1);
	transition: filter .2s linear;
}
.flexslider .flex-direction-nav a:hover,
.ekko-lightbox-nav-overlay a:hover {
	filter: saturate(0.7);
}
.flexslider .flex-direction-nav a:before,
.ekko-lightbox-nav-overlay a:before {
	content: "";
	width: 8px;
    height: 8px;
    display: inline-block;
	position: absolute;
    border-width: 2px 2px 0 0;
    border-style: solid;
    border-color: #ffffff;
}
.flexslider .flex-direction-nav .flex-prev,
.flexslider:hover .flex-direction-nav .flex-prev {
	left: 0;
	opacity: 1;
}
.flexslider .flex-direction-nav .flex-prev:before,
.ekko-lightbox-nav-overlay a:nth-child(1):before {
    transform: rotate(225deg);
}
.flexslider .flex-direction-nav .flex-next,
.flexslider:hover .flex-direction-nav .flex-next {
	right: 0;
	opacity: 1;
}
.flexslider .flex-direction-nav .flex-next:before,
.ekko-lightbox-nav-overlay a:nth-child(2):before {
	transform: rotate(45deg);
}

/* 3 - GRID */

.grid {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 30px;
}
main .grid {
	padding-top: 75px;
}
.flex-grid, .flex-col {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
}
.flex-row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

.col-grid {
	margin-left: -5px;
	margin-right: -5px;
	margin-bottom: -10px;
}
.col-grid > .col-1, .col-grid > .col-2, .col-grid > .col-3,
.col-grid > .col-4, .col-grid > .col-5 {
	width: calc(100% - 10px);
	margin-left: 5px;
	margin-right: 5px;
	margin-bottom: 10px;
}
.col-gap {
	margin-left: -30px;
	margin-right: -30px;
	margin-bottom: -30px;
}
.col-gap > .col-1, .col-gap > .col-2, .col-gap > .col-3,
.col-gap > .col-4, .col-gap > .col-5 {
	width: calc(100% - 60px);
	margin-left: 30px;
	margin-right: 30px;
	margin-bottom: 30px;
}

/* Grid - Header */
header {
	width: 100%;
	padding: 15px 0;
	position: fixed;
	top: 0;
	left: 0;
	background-color: #ffffff;
	border-bottom: 1px solid #e5e5e5;
	z-index: 99;
}
.admin-bar header {
	top: 46px;
}
header .flex-row {
	justify-content: space-between;
	align-items: flex-end;
}
header .logo {
	display: block;
	line-height: 0;
}
header .logo img {
	width: auto;
	height: 45px;
	object-fit: contain;
}
header .menu-container {
	width: calc(100% - 60px);
	padding: 15px 30px;
	display: none;
	position: absolute;
	top: 75px;
	left: 0;
    background-color: #ffffff;
    z-index: 9;
}
header .menu a {
	margin-bottom: 8px;
	display: block;
	line-height: 16px;
	text-align: center;
}
header .menu .lang-item {
	width: 49%;
	display: inline-block;
}
header .menu .lang-item a {
	text-align: right;
}
header .menu li.lang-item:last-child a {
	text-align: left;
}

/* Grid - Footer */
footer {
	margin-top: 75px;
	padding: 50px 0;
	background-color: #2b2b2b;
	color: #bababa;
}
footer a {
	text-decoration: none;
}
footer .flex-row,
footer .flex-grid {
	justify-content: space-between;
}
footer .adresa {
	flex-wrap: nowrap;
}
footer .adresa,
footer .kontakty,
footer .menu {
	margin-bottom: 20px;
}
footer .menu a {
	color: #bababa;
}
footer .socials {
	justify-content: flex-start;
}
footer .socials img {
	width: 32px;
	height: 32px;
	margin-right: 5px;
	object-fit: contain;
}
footer .copyright {
	margin-top: 40px;
}
footer .fresh {
	justify-content: flex-start;
}
footer .fresh img {
	margin-left: 5px;
}

/* Grid - Single */
.single main .flex-col {
	justify-content: center;
}
.single .post-image {
	height: 320px;
	position: relative;
	color: #ffffff;
}
.single .post-image:before {
    content: "";
    width: 100%;
    height: 320px;
    position: absolute;
    background-color: #000000;
    opacity: 0.45;
    z-index: 2;
}
.single .post-image img {
	width: 100%;
	height: 320px;
	object-fit: cover;
	filter: grayscale(1);
}
.single .single-nadpis {
	width: 100%;
	position: absolute;
	z-index: 3;
}
.single .single-nadpis h1 {
	margin-bottom: 28px;
}
.single .single-nadpis h1,
.single .single-nadpis span {
	padding-top: 0;
	color: #ffffff;
}
.single .single-nadpis .grid {
	padding-top: 0;
}

/* 4 - BLOKY */

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

/* Bloky - Boxy */
.boxy .box {
	height: 200px;
	margin-bottom: 10px;
	cursor: pointer;
}
.boxy .box .flex-col {
	width: calc(100% - 40px);
    height: calc(100% - 40px);
    padding: 20px;
    justify-content: flex-end;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    box-shadow: rgb(232 232 232 / 50%) 0 2px 3px 0;
    transition: background-color .2s linear;
}
.boxy .box-text {
	height: 170px;
	display: none;
	font-size: 14px;
	line-height: 24px;
	color: #ffffff;
	overflow: auto;
}
.boxy .box:hover h6,
.boxy .box:hover .flex-col > p,
.boxy .box:hover .link-icon {
	display: none;
}
.boxy .box:hover .box-text {
	display: block;
}

/* Bloky - Dlazdice */
.dlazdice a {
	height: 150px;
	margin-bottom: 10px;
	text-decoration: none;
}
.dlazdice a:hover {
	color: #ffffff;
}
.dlazdice svg {
	width: 50px;
	height: 50px;
	margin: 0 auto;
	display: block;
}
.dlazdice svg + h6 {
	margin: 10px auto;
	text-align: center;
}
.dlazdice .flex-col {
	width: calc(100% - 40px);
	height: calc(100% - 40px);
	padding: 20px;
	justify-content: flex-end;
	background-color: #ffffff;
	border: 1px solid #e5e5e5;
	box-shadow: rgb(232 232 232 / 50%) 0 2px 3px 0;
	transition: background-color .2s linear;
}
.dlazdice a:hover .link-icon,
.dlazdice a:hover .link-icon:after {
	border-color: #ffffff;
}

/* Bloky - Galerie */
.galerie .flexslider .slides img {
	width: auto;
	height: auto;
	margin: 0 auto;
	object-fit: contain;
	object-position: center;
}
.modal {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background-color: rgb(0 0 0 / 80%);
	z-index: 999;
}
.modal button {
	width: 40px;
	height: 40px;
	position: absolute;
	top: 40px;
	right: 40px;
	border: none;
	cursor: pointer;
	filter: saturate(1);
	transition: filter .2s linear;
	z-index: 2;
}
.modal button:hover {
	filter: saturate(0.7);
}
.modal button:before,
.modal button:after {
	content: "";
    display: inline-block;
    position: absolute;
    border-style: solid;
    border-color: #ffffff;
}
.modal button:before {
	width: 24px;
    height: 0;
	top: 19px;
	left: 9px;
    border-width: 2px 0 0 0;
	transform: rotate(225deg);
}
.modal button:after {
	width: 0;
	height: 24px;
	top: 8px;
	left: 20px;
    border-width: 0 0 0 2px;
	transform: rotate(45deg);
}
.modal button span {
	display: none;
}
.ekko-lightbox-nav-overlay {
	justify-content: space-between;
	align-items: center;
}

/* Bloky - Informace */
.informace {
	margin-top: 75px;
	padding-bottom: 75px;
	background-color: #2b2b2b;
}
.informace h2, .informace strong {
	color: #ffffff;
}
.informace strong {
	margin-top: 20px;
	padding-bottom: 10px;
	display: block;
	font-size: 24px;
}
.informace div {
	color: #bababa;
}

/* Bloky - Kontakty */
.kontakty strong,
.kontakty .adresa {
	margin-bottom: 5px;
	display: block;
}
.kontakty a {
	text-decoration: none;
}
.kontakty img {
	-webkit-aspect-ratio: 1 / 1;
    aspect-ratio: 1 / 1;
	width: auto;
	height: auto;
	max-height: 200px;
	margin-bottom: 10px;
	object-fit: cover;
	border-radius: 100%;
}

/* Bloky - Mapa */
.mapa iframe {
	width: 100%;
	border: none;
}

/* Bloky - Nadpis */
.nadpis {
	margin-bottom: 28px;
}
.nadpis.center h2,
.nadpis.center span {
	display: block;
	text-align: center;
}

/* Bloky - Obrazek */
.obrazek img {
	-webkit-aspect-ratio: 1 / 1;
    aspect-ratio: 1 / 1;
	height: auto;
	object-fit: cover;
}

/* Bloky - Prispevky */
.page .prispevek:after {
	content: "";
    width: 90px;
    height: 2px;
    margin: 12px auto;
    display: block;
}
.page .prispevek .link {
	display: block;
	text-align: right;
}
.blog .prispevek,
.archive .prispevek {
	margin-bottom: 76px;
}

/* Bloky - Reference */
.reference a {
	position: relative;
	text-decoration: none;
	color: #ffffff;
}
.reference a:before {
	content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0.45;
    z-index: 2;
	transition: background-color 0.25s linear;
}
.reference a > img {
	-webkit-aspect-ratio: 1/1;
	aspect-ratio: 1/1;
	height: 100%;
	object-fit: cover;
}
.reference a > div {
	width: calc(100% - 40px);
	padding: 20px;
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 3;
}
.reference a .popis {
	height: 0;
	overflow: hidden;
	position: relative;
	top: 0;
	transition: top 0.25s linear;
}
.reference a .link-icon, .reference a .link-icon:after {
	border-color: #ffffff;
}
.reference a h5, .reference a .vice {
	position: relative;
	top: 0;
	transition: top 0.25s linear;
}
.reference a:hover h5, .reference a:hover .popis {
	height: auto;
	top: -10px;
}
.reference a:hover .vice {
	top: -2px;
}

/* Bloky - Roletky */
.roletka {
	padding: 12px;
	border-top: 1px solid #e5e5e5;
	cursor: pointer;
	transition: background-color .2s linear;
}
.roletka:last-child {
	border-bottom: 1px solid #e5e5e5;
}
.roletka > strong {
	flex-wrap: nowrap;
	align-items: center;
	font-weight: 600;
	transition: color .2s linear;
}
.roletka > strong:before {
	content: "+";
	margin-right: 15px;
	display: block;
    font-size: 20px;
	transition: color .2s linear;
}
.roletka > div {
	height: 0;
	overflow: hidden;
	transition: all .2s linear;
}
.roletka.opened {
	border: 1px solid #e5e5e5;
}
.roletka.opened > strong:before {
	content: "-";
}
.roletka.opened > div {
	height: auto;
	margin-top: 20px;
}
.roletka:not(.opened):hover > strong,
.roletka:not(.opened):hover > strong:before {
	color: #ffffff;
}

/* Bloky - Slider */
.slider {
	border-bottom: 4px solid;
}
.slider .slide {
	height: 500px;
	position: relative;
	background-size: cover;
	background-position: center;
}
.slider .slide:before {
	content: "";
	width: 100%;
	height: 500px;
	position: absolute;
	background-color: #000000;
	opacity: 0.45;
	z-index: 2;
}
.slider .slide .flex-col {
	height: 500px;
	padding: 0 60px;
	justify-content: center;
}
.slider .slide h1, .slider .slide div {
	position: relative;
	color: #ffffff;
	z-index: 3;
}

/* Bloky - Soubory */
.soubory h6 {
	margin-bottom: 0;
}
.soubory .soubor {
	margin-bottom: 10px;
	padding: 15px;
	justify-content: space-between;
	align-items: center;
	text-decoration: none;
	background-color: #f8f8f8;
}

/* Bloky - Video */
.video .embed-container {
	height: 0;
    padding-bottom: 56.25%;
    padding-top: 30px;
    position: relative;
	overflow: hidden;
}
.video .embed-container iframe {
	height: calc(100% - 30px);
	width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* MEDIA */
@media (min-width: 768px) {
	h1 {
		font-size: 70px;
		line-height: 77px;
	}
	h2 {
		font-size: 40px;
		line-height: 52px;
	}
	h3, .single-nadpis h1 {
		font-size: 34px;
		line-height: 46px;
	}
	h4 {
		font-size: 30px;
		line-height: 39px;
	}
	form {
		padding-bottom: 15px;
	}
	main {
		margin-top: 91px;
	}
	#burger {
		display: none;
	}
	.col-grid > .col-3, .col-grid > .col-5 {
		width: calc(50% - 10px);
	}
	.admin-bar header {
		top: 32px;
	}
	header .logo img {
		height: 60px;
	}
	header .menu-container {
		width: auto;
		padding: 0;
		display: block;
		position: relative;
		top: 0;
	}
	header .menu {
		display: flex;
		flex-direction: row;
	}
	header .menu a {
		margin-left: 30px;
	}
	header .menu .lang-item {
		width: auto;
	}
	header .menu li.lang-item a {
		margin-left: 5px;
		padding-left: 5px;
		border-left: 1px solid;
	}
	.col-gap > .col-2 .col-grid .col-2,
	.col-grid > .col-4, .col-grid > .col-5 {
		width: calc(50% - 10px);
	}
	.col-gap > .col-4, .col-gap > .col-5 {
		width: calc(50% - 60px);
	}
	.dlazdice a {
		height: 200px;
	}
	.dlazdice svg + h6 {
		margin-top: 14px;
		margin-bottom: 24px;
	}
	.roletka {
		padding: 23px 32px;
	}
	.roletka > strong:before {
		margin-right: 25px;
	}
}

@media (min-width: 1024px) {
	.flex-grid {
		flex-direction: row;
		flex-wrap: nowrap;
	}
	.col-grid > .col-2 {
		width: calc(50% - 10px);
	}
	.col-grid > .col-3, .col-grid > .col-5 {
		width: calc(33.33% - 10px);
	}
	.col-gap > .col-2 {
		width: calc(50% - 60px);
	}
	.col-gap > .col-3, .col-gap > .col-5 {
		width: calc(33.33% - 60px);
	}
	.awsm-job-main {
		margin-top: 91px;
	}
	.informace strong {
		font-size: 32px;
	}
}

@media (min-width: 1360px) {
	.col-grid > .col-4 {
		width: calc(25% - 10px);
	}
	.col-grid > .col-5 {
		width: calc(20% - 10px);
	}
	.col-gap > .col-4 {
		width: calc(25% - 60px);
	}
	.col-gap > .col-5 {
		width: calc(20% - 60px);
	}
	footer .adresa {
		justify-content: flex-start;
		position: relative;
	}
	footer .adresa:before {
		content: "";
		width: 35px;
		height: 39px;
		margin-right: 30px;
		display: block;
		background-image: url(./assets/images/address-book.svg);
		background-size: cover;
	}
	footer .footer-menu {
		position: relative;
	}
	footer .footer-menu:before {
		content: "";
		width: 1px;
		height: 100%;
		position: absolute;
		left: -20px;
		background-color: #bababa;
	}
	footer .menu-paticka-menu-1-container {
		padding-left: 60px;
	}
}

.grecaptcha-badge {
	opacity: 0;
}