/*
 Theme Name:   Ironweb
 Description:  UI block web
 Author:       @NAK
 Version:      3.0.0
 License:      Commercial
 Text Domain:  ironweb

slidery - sipky
sloupce-reponziva-poradi?

*/

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

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

/* 1 - TEXT */
@font-face {
    font-family: Noto Sans;  
    src: url(assets/fonts/noto_sans/NotoSans-Regular.ttf) format("truetype");
    font-weight: normal;  
}
@font-face {
    font-family: Noto Sans;  
    src: url(assets/fonts/noto_sans/NotoSans-Bold.ttf) format("truetype");
    font-weight: bold;  
}

::placeholder {
	font-size: 12px;
}

body, input {
	font-family: Noto Sans, sans-serif!important;
}

h1, h2, h3, h4, h5, h6, p {
	margin: 0;
}

h1 {
	margin-bottom: 30px;
	font-style: normal;
	font-weight: bold;
	font-size: 36px;
	line-height: 44px;
}
h2 {
	margin-bottom: 30px;
	font-style: normal;
	font-weight: bold;
	font-size: 36px;
	line-height: 44px;
	text-align: center;
}
h3 {
	font-style: normal;
	font-weight: bold;
	font-size: 32px;
	line-height: 44px;
}
h4 {
	margin-bottom: 10px;
	font-style: normal;
	font-weight: bold;
	font-size: 25px;
	line-height: 32px;
}
h5 {
	font-style: normal;
	font-weight: bold;
	font-size: 19px;
	line-height: 30px;
	text-align: left;
}
h6 {
	font-style: normal;
	font-weight: bold;
	font-size: 14px;
	line-height: 24px;
}
p, a, li, span, input, textarea, select {
	font-style: normal;
	font-weight: normal;
	font-size: 18px;
	line-height: 32px;
	color: inherit;
}
input, textarea, select {
	width: calc(100% - 30px);
	padding: 5px 15px;
	font-size: 16px;
	background: transparent;
	border: 1px dashed lightgray;
	border-radius: 12px;
	outline: none!important;
}
input[type="checkbox"], input[type="radio"] {
	appearance: none;
	height: 20px;
	width: 20px;
	min-width: 20px;
	margin-right: 10px;
	padding: 0;
	border-radius: 0;
	outline: none!important;
	cursor: pointer;
}
input[type="checkbox"]:before, input[type="radio"]:before {
	content: "✓";
	position: absolute;
	left: 8px;
	bottom: 0;
	visibility: hidden;
	z-index: -3;
}
input[type="checkbox"]:checked:before, input[type="radio"]:checked:before {
	visibility: visible;
	z-index: +3;
}
input[type="radio"] {
	border-radius: 100%;
}
form span,
.wpcf7-list-item-label, .wpcf7-list-item-label a {
	font-size: 12px;
	line-height: 24px;
}
input[type="submit"], button {
	border: none;
	cursor: pointer;
}
.btn, input[type="submit"] {
	height: 50px;
	width: 150px;
	margin: 15px auto 0;
	padding: 0 10px!important;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	border-radius: 35px;
	transition: all .3s linear;
}

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

/* 2 - STYL */

img {
	max-width: 100%;
}

.logo {
	line-height: 0;
}

.socials {
	margin-left: 15px;
	align-items: center;
}
.socials a {
	line-height: 0;
	text-decoration: none;
}
.socials img {
	width: auto;
	max-height: 30px;
	margin-right: 10px;
}

form {
	max-width: 600px;
	margin: 0 auto;
	padding: 30px;
	background-color: rgb(255 255 255 / 50%);
}
form .wpcf7-list-item {
	margin-top: 15px;
	margin-left: 0;
}
form .wpcf7-list-item label {
	display: flex;
	flex-direction: row;
	align-items: center;
}

/* 3 - GRID */

.full {
	width: calc(100% - 30px);
	display: block;
	margin: 0 auto;
	padding: 0 15px;
}
.grid {
	width: 1200px;
	max-width: calc(100% - 30px);
	display: block;
	margin: 0 auto;
	padding: 0 15px;
}
.flex-grid, .flex-col {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
}
.flex-row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
.flex-left {
	align-items: flex-start;
}
.flex-center {
	align-items: center;
}
.flex-right {
	align-items: flex-end
}
.flex-reverse {
	flex-direction: column-reverse;
}

.col > div {
	height: 100%;
}
.col-1, .col-2, .col-3,
.col-4, .col-5 {
	width: 100%;
}
.col-yes {	
	margin-bottom: 30px;
}

body:not(.home) main {
	padding-top: 100px;
}

/* Grid - header */
header {
	padding-top: 10px;
	padding-bottom: 10px;
	position: relative;
}
header .flex-row {
	justify-content: space-between;
	align-items: center;
}

header .header-menu #burger {
	height: 7px;
	width: 30px;
	position: relative;
	border-top: 1px solid;
	border-bottom: 1px solid;
	cursor: pointer;
	z-index: 2;
}
header .header-menu #burger:after {
	content: "";
	height: 8px;
	width: 30px;
	padding-top: 8px;
	display: block;
	border-bottom: 1px solid;
}
header .header-menu .menu-obsah {
	width: 100%;
	position: absolute;
	top: 80px;
	left: 0;
	z-index: 5;
}
header .header-menu .menu-obsah ul {
	margin: 0;
	padding: 15px;
	list-style: none;
}
header .header-menu .menu-obsah ul .menu-item-has-children {
	padding-right: 15px;
	position: relative;
}
header .header-menu .menu-obsah ul .menu-item-has-children:after {
	content: "";
    display: inline-block;
    height: 6px;
    width: 6px;
    position: absolute;
	top: 10px;
    right: 0;
    border-width: 3px 3px 0 0;
    border-style: solid;
    transform: rotate(135deg);
	cursor: pointer;
}
header .header-menu .menu-obsah .sub-menu {
	padding-top: 0;
	display: none;
}

header img {
	height: auto;
	max-height: 50px;
	width: auto;
	max-width: 100px;
	position: relative;
	z-index: 1;
}

header .logo img {
	width: auto;
	max-height: 70px;
}

/* Grid - footer */
footer div, footer .logo {
	margin-top: 30px;
}
footer .flex-grid {
	justify-content: center;
}
footer .newsletter input[type="submit"] {
	margin-top: 15px;
}

/* Grid - menu */
.menu {
	padding: 0;
	list-style: none;
}
.menu a {
	position: relative;
	font-weight: bold;
	text-decoration: none;
	z-index: 9;
}
.sub-menu a {
	font-size: 80%;
	color: #ffffff!important;
}

/* Grid - prispevky */
.single .post-image img {
	width: 100%;
	max-height: 180px;
	margin-bottom: 30px;
	object-fit: cover;
}

/* Grid - lista */
.lista {
	padding-top: 10px;
	padding-bottom: 10px;
}
.lista .btn {
	height: 40px;
	width: 100px;
	margin-left: 15px;
}
.header-lista .flex-row {
	justify-content: flex-end;
}
.footer-lista .flex-row {
	justify-content: space-between;
	align-items: center;
}
.footer-lista ul {
	display: flex;
	flex-direction: row;
}
.footer-lista .menu a {
	margin-right: 15px;
	font-size: 18px;
	font-weight: normal;
}

/* Grid - stranka 404 */
.stranka-404 {
	padding: 56px 0 72px;
	text-align: center;
}
.stranka-404 .btn {
	max-width: 250px;
	margin: 16px auto;
}

/* Grid - modal */
.modal {
	height: 100%;
    width: 100%;
	position: fixed;
    top: 0;
    left: 0;
	background: rgb(0 0 0 / 70%);
	overflow-y: auto;
	z-index: 999;
}
.modal a {
	text-decoration: none;
}
.modal .ekko-lightbox-item {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.modal .modal-header {
	position: absolute;
    top: 50px;
    right: 50px;
}
.modal .flex-col {
	height: 100%;
	justify-content: center;
	align-items: center;
}
.modal button {
	padding: 0!important;
	float: right;
	background: transparent;
}
.modal button span {
	font-size: 32px;
	color: #ffffff;
}
.modal .img-fluid {
	max-width: 70vw;
	max-height: 70vh;
	margin: 0 auto;
	display: block;
	object-fit: contain;
}

/* Grid - Slider */
.flexslider {
	margin: 0!important;
	background: transparent!important;
	border: none!important;
}

/* 4 - BLOKY */

.blok {
	padding-top: 30px;
	padding-bottom: 30px;
}

/* Bloky - Banner */
.banner {
	min-height: 70vh;
	background-repeat: no-repeat;
	background-size: cover;
}
.banner .grid {
	min-height: 70vh;
}
.banner .btn {
	margin-top: 30px;
}

/* Bloky - CTA */
.cta img {
	margin-bottom: 30px;
}
.cta .flex-grid {
	justify-content: space-between;
	align-items: center;
}

/* Bloky - Dlazdice */
.dlazdice h5 {
	margin-bottom: 30px;
}
.dlazdice a {
	min-height: 80px;
	text-decoration: none;
}
.dlazdice a .flex-col {
	padding: 30px;
	justify-content: space-between;
}
.dlazdice .flex-col img {
	height: auto;
	margin: 0 auto;
	display: block;
}

/* Bloky - Galerie */
.galerie .col-grid {
	justify-content: center;
}
.galerie a, .galerie li {
	margin-bottom: 0;
	display: block;
	line-height: 0;
}
.galerie ul {
	padding: 0;
	list-style: none;
}
.galerie img {
	width: 100%;
	object-fit: cover;
}
.galerie .masonry.columns-no {
	column-gap: 0;
}
.galerie .masonry.columns-yes {
	column-gap: 30px;
}
.galerie .masonry.columns-yes img {
	margin-bottom: 30px;
}
.galerie .equal img {
	height: 180px;
	object-fit: contain;
}
@media screen and (max-width: 767px) {
	.galerie.masonry {
		columns: 1!important;
	}
}
.galerie .loga img {
	object-fit: contain;
}
.galerie .nolink {
	pointer-events: none;
}
@media screen and (max-width: 767px) {
.galerie .col-5 {
	width: 50%;
}
.galerie .col-5.col-yes {
	width: calc(50% - 30px);
}
}

/* Bloky - Harmonika */
.harmonika h3 {
	margin-top: 15px;
	position: relative;
	border-bottom: 1px solid;
	cursor: pointer;
}
.harmonika .radek:first-child h3 {
	margin-top: 0;
}
.harmonika h3:after {
	content: "";
	display: inline-block;
	height: 10px;
	width: 10px;
	position: absolute;
	right: 5px;
	bottom: 15px;
	border-width: 4px 4px 0 0;
	border-style: solid;
	transform: rotate(135deg);
}
.harmonika h3:not(.collapsed):after {
	bottom: 10px;
	transform: rotate(-45deg);
}
.harmonika .radek .flex-col {
	overflow: hidden;
}
.harmonika .radek .flex-col div {
	padding-top: 15px;
	transition: height 0.25s linear;
}

/* Bloky - Kontakt */
.kontakt img {
	height: auto;
	max-width: 300px;
}
.kontakt .flex-grid {
	justify-content: space-around;
	align-items: center;
}

/* Bloky - Mapa */
.mapa h2 {
	padding-top: 30px;
}
.mapa .full {
	width: 100%;
	padding: 0;
}
.mapa .acf-map {
	height: 550px;
}
.mapa .acf-map .gm-style .gm-style-iw-c {
	border-radius: 0;
}

/* Bloky - Prispevky */
.prispevky .slides {
	display: flex;
	align-items: flex-end;
}
.prispevky .slides li {
	height: 100%;
}
.prispevky .slides .btn {
	width: auto;
	margin-top: 15px;
}
.prispevky .slides img {
	margin-bottom: 15px;
}
.prispevky .slides li .flex-col {
	padding: 15px;
	justify-content: space-between;
}
.prispevky .flex-control-nav {
	position: relative;
}

/* Bloky - Profily */
.profily a {
	display: block;
}
.profily strong {
	margin-bottom: 5px;
}
.profily img {
	height: 300px;
	width: 100%;
	max-width: 300px;
	margin-bottom: 15px;
	object-fit: cover;
}
.profily .vypis-profilu {
	height: 100%;
}

/* Bloky - Slider */
.slider .btn {
	margin-top: 30px;
}
.slider .slide {
	min-height: 70vh;
	background-repeat: no-repeat;
	background-size: cover;
}
.slider .slide .slider-text {
	min-height: 70vh;
	justify-content: center;
}
.slider .flex-control-nav {
	position: absolute;
	bottom: 20px;
}

/* Bloky - Sloupce */
.sloupce h4 {
	margin-bottom: 15px;
}
.sloupce img {
	height: auto;
	max-height: 350px;
	width: auto;
}
.sloupce .flex-grid {
	align-items: center;
}

/* Bloky - Sluzby */
.sluzby h2 {
	display: inline-block;
	position: relative;
}
.sluzby .btn {
	margin-top: 30px;
}
.sluzby img {
	height: auto;
	max-height: 300px;
	width: auto;
	margin: 0 auto 30px;
	display: block;
	object-fit: contain;
}
.sluzby .grid {
	display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.sluzby .sluzby-textove {
	margin-bottom: 60px;
	text-align: center;
}
.sluzby .flex-center h6 {
	text-align: center;
}
.sluzby .flex-row {
	width: 100%;
	justify-content: center;
	align-items: flex-start;
}
.sluzby .flex-row > div {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
}
.sluzby .badge {
	height: 70px;
    width: 70px;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: calc(50% + 35px);
    top: -20px;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
    border-radius: 100%;
}
.sluzby .badge img {
	height: 70px;
	width: 70px;
	margin: 0 auto;
	object-fit: contain;
}
.sluzby .b-main {
	top: -10px;
	left: auto;
	right: -80px;
}

/* Bloky - Soubory */
.soubory .soubor .flex-row {
	padding: 15px 30px;
	justify-content: space-between;
}

/* Bloky - Text */
@media screen and (max-width: 767px) {
	.text .text-col {
		columns: 1!important;
	}
}

/* Bloky - Video */
.video .full {
	width: 100%;
	padding: 0;
}
.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;
}

/* Bloky - Vypis */
.vypis .btn {
	width: auto;
	margin-top: 15px;
}
.vypis img {
	height: auto;
	margin-bottom: 15px;
}
.vypis .prispevek .flex-col {
	height: calc(100% - 30px);
	padding: 15px;
	justify-content: space-between;
}

/* Bloky - Zalozky */
.zalozky .nav-tabs {
	margin-bottom: -1px;
	padding: 0;
	list-style: none;
}
.zalozky .nav-tabs a {
	margin-right: 15px;
	padding: 15px 30px;
	position: relative;
	border: 1px solid;
	border-bottom: none;
	text-decoration: none;
	z-index: 0;
}
.zalozky .nav-tabs .active a {
	z-index: 2;
}
.zalozky .tab-content {
	padding: 30px;
	position: relative;
	border: 1px solid;
	z-index: 1;
}
.zalozky .tab-content .tab-pane {
	display: none;
}
.zalozky .tab-content .tab-pane.active {
	display: block;
}

/* MEDIA */
@media (min-width: 768px) {
	h1 {
		font-size: 63px;
		line-height: 72px;
	}
	h2 {
		font-size: 48px;
		line-height: 56px;
	}
	.flex-grid {
		flex-direction: row;
		flex-wrap: nowrap;
	}
	.flex-reversed {
		flex-direction: row-reverse;
	}
	.col-grid {
		margin-left: -15px;
		margin-right: -15px;
		justify-content: flex-start;;
	}
	.col-yes {
		margin-left: 15px;
		margin-right: 15px;
	}
	.col-4, .col-5 {
		width: 50%;
	}
	.col-4.col-yes, .col-5.col-yes {
		width: calc(50% - 30px);
	}
	.single .post-image img {
		max-height: 450px;
	}
	.cta h2, .cta img {
		margin-right: 30px;
		margin-bottom: 0;
	}
	.dlazdice a .flex-col {
		padding: 30px;
	}
	.galerie .col-3 {
		width: 50%;
	}
	.galerie .col-3.col-yes {
		width: calc(50% - 30px);
	}
	.galerie .equal .col-1 img, 
	.galerie .equal .col-2 img {
		height: 450px;
	}
	.galerie .equal .col-3 img, 
	.galerie .equal .col-4 img, 
	.galerie .equal .col-5 img {
		height: 220px;
	}
	.mapa h2 {
		padding-top: 60px;
	}
}

@media (min-width: 1024px) {
	header .header-menu #burger {
		display: none!important;
	}
	header .header-menu .menu-obsah {
		display: block!important;
		position: relative;
		top: 0;
	}
	header .header-menu .menu-obsah ul.menu {
		display: flex;
		flex-direction: row;
	}
	header .header-menu .menu-obsah ul.menu li {
		margin-left: 25px;
	}
	header .header-menu .menu-obsah .sub-menu {
		padding-left: 0;
		padding-bottom: 0;
		position: absolute;
		background: rgb(0 0 0 / 70%);
	}
	header .header-menu .menu-obsah .menu-item-has-children:hover .sub-menu {
		display: block;
	}
	header .logo img {
		max-height: 100px;
		max-width: 100%;
	}
	.col-2 {
		width: 50%;
	}
	.col-2.col-yes {
		width: calc(50% - 30px);
	}
	.col-3, .col-5 {
		width: 33.33%;
	}
	.col-3.col-yes, .col-5.col-yes {
		width: calc(33.33% - 30px);
	}
	body:not(.home) main {
		padding-top: 150px;
	}
	.single .post-image img {
		max-height: 600px;
	}
	.galerie .equal .col-1 img {
		height: 600px;
	}
	.galerie .equal .col-2 img,
	.galerie .equal .col-4 img {
		height: 300px;
	}
	.galerie .equal .col-3 img,
	.galerie .equal .col-5 img {
		height: 200px;
	}
}
@media (min-width: 1360px) {
	.col-4 {
		width: 25%;
	}
	.col-4.col-yes {
		width: calc(25% - 30px);
	}
	.col-5 {
		width: 20%;
	}
	.col-5.col-yes {
		width: calc(20% - 30px);
	}
	.single .post-image img {
		max-height: 700px;
	}
	.galerie .equal .col-1 img {
		height: 700px;
	}
	.galerie .equal .col-2 img {
		height: 350px;
	}
	.galerie .equal .col-3 img {
		height: 250px;
	}
	.galerie .equal .col-4 img {
		height: 180px;
	}
	.galerie .equal .col-5 img {
		height: 150px;
	}
}

/* Extra style */
#slider {
	background-size: 280px;
	background-position: 40% 100%;
}
#slider h1 {
    margin-bottom: 16px;
}
@media (min-width: 768px) {
	#slider {
		background-size: 460px;
	}
	#slider h1 {
		font-size: 48px;
		line-height: 52px;
	}
}
@media (min-width: 1024px) {
	#slider {
		background-position: 90% 100%;
	}
	#slider h1 {
		max-width: 700px;
		font-size: 85px;
		line-height: 89px;
		margin-bottom: 20px;
	}
	#slider .grid > div {
		max-width: 700px;
	}
}
@media (min-width: 1360px) {
	#slider {
		background-size: 560px;
	}
	#slider .flex-col {
		justify-content: center;	
	}
}