/*
Theme Name: ZSRovecne.cz 2026
Theme URI: 
Author: Marek Klusak
Author URI: 
Description: Wordpress šablona
Version: 1.0
License: GNU General Public License
License URI: 
Tags:  
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;	padding: 0;	border: 0;	vertical-align: baseline;	background: transparent;}
body {	line-height: 1;}
blockquote, q {	quotes: none;}
blockquote:before, blockquote:after,
q:before, q:after {	content: ''; content: none;}
ins { text-decoration: none;}
del { text-decoration: line-through;}
table {	border-collapse: collapse;	border-spacing: 0;}
/******************************************************************************/

html {
	--svetleseda: #dbdbdb;
	--lehceseda: #fafafa;
	
	--zelena: #3D9925;
	--ruzova: #DB6CFF;
	--modra: #1818C2;
	--zluta: #FEF231;
	--cerna: #000;
	
	
	
}


*, *:after, *:before { -moz-box-sizing: border-box; box-sizing: border-box; }

*:last-child { margin-bottom: 0 !important; }

body {
	margin: 0;
	padding: 0;
	background: #fff;
	font-family: "Google Sans Flex", sans-serif;
	font-optical-sizing: auto;
	font-weight: 300;
	font-style: normal;
	font-variation-settings:
		"slnt" 0,
		"wdth" 100,
		"GRAD" 0,
		"ROND" 0;
	font-size: 16px;
	line-height: 1.55;
	color: #222;
}

@media (min-width: 1170px) {
	body { line-height: 1.7; }
}


p { margin: 0 0 20px; }


a { color: #000; text-decoration: underline; text-decoration-skip: ink; transition: all .25s ease-in-out; }
a:hover { color: #000; text-decoration: none;}

a[href^="tel"] { text-decoration: none; color: inherit; }

a.off { position: absolute; left: 0; top: -99999px; }
a.off.focus:focus { left: 10px; top: 10px; z-index: 1000; background: #000; color: #fff; padding: 5px; }


@media (max-width: 959px) {
	.onlydesktop { display: none; }
}
@media (min-width: 960px) {
	.onlymobile { display: none; }
}



.btn { display: inline-block; padding: 12px 16px; line-height: 1.4; font-weight: 600;  }
.btn { font-family: inherit; font-size: 14px; }
.btn { text-decoration: none;  text-align: center; }
.btn { transition: all .2s ease-in-out; }
.btn { position: relative; }
.btn { border: 1px solid #000; }

.btn { color: #000; background-color: transparent; }
.btn:hover { color: var(--ruzova); background-color: #fff; border-color: var(--ruzova) }


@media (min-width: 1170px) {
	.btn { padding: 16px 28px; font-size: 16px; }
}









h1, h2, h3, h4, h5, h6 { margin: 0 0 20px; font-weight: 600; line-height: 1.45; }

h1 { font-size: 28px; }
h2 { font-size: 22px }
h3 { font-size: 18px }
h4 { font-size: 16px }
h5, h6 { font-size: 16px }


b, strong { font-weight: 600; }

ul, ol { margin: 0 0 20px; }
li { margin: 10px 4px 10px 35px }

ul { list-style-type: square; }
ul li::marker { color: #000; }
ol li::marker { color: #000; }

@media (min-width: 960px) {
	ul, ol { margin-bottom: 30px; }
}

.embed-media { margin-bottom: 30px; }

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


hr { clear: both; border: 0; height: 1px; background: #0E2546; width: 100%; margin: 24px 0;  }

blockquote { margin: 1.5em 0; font-size: 18px;  color: #ababab; }
blockquote p { margin: 0 0 1.5em; }
blockquote *:last-child { margin: 0; }

hr { border: 0; border-bottom: 2px solid #000; margin: 12px 0; }

table {  margin: 0 auto 25px; border: 1px solid #ddd; }
table th, table td { padding: 5px; }
table th { background: #ECF5ED; vertical-align: middle; }
table td { text-align: left; vertical-align: middle; border: 1px solid #ddd;}

@media (min-width: 960px) {
	td, th { padding: 8px 10px; }
}









input[type=text],input[type=email],input[type=password],input[type=number],input[type=tel],input[type=url], textarea, select {
	width: 100%;
	height: 40px;
	margin: 0; 
	padding: 5px 15px; 
	font-size: inherit;
	font-family: inherit;
	color: #000;  
	border: 1px solid #CECECE;
	background: #fff;
}
textarea { height: 125px; padding: 10px 15px; }
select { width: auto;  }
select option:disabled { font-style: italic; color: silver;  }

input[type=text],input[type=email],input[type=password],input[type=number],input[type=tel],input[type="url"], textarea {  }

input[type=submit], button { width: auto; white-space: normal; cursor: pointer; -webkit-appearance: none; font-family: inherit; }
input[type=submit], button { background-color: #000; color: #fff; padding: 10px 20px; border: 0; text-transform: uppercase; }
input[type=submit]:hover, button:hover { background-color: #3E3C38; }

@media (min-width: 768px) {
	input[type=text],input[type=email],input[type=password],input[type=number],input[type=tel],input[type="url"],select { 
		height: 40px;
	}
	textarea { height: 175px; padding: 20px 15px; }
}



label.error { font-weight: bold; color: red; margin-left: 3px; padding: 1px; background: #fff }

.clear { clear: both; }







/* =WordPress Core
-------------------------------------------------------------- */
img { border: 0; max-width: 100%; height: auto;  }

img.alignnone { margin: 0;}
.aligncenter { display: block; margin: auto ;}

img.alignright, img.alignleft, img.aligncenter { margin: auto;}

@media (min-width: 500px) {
	img.alignright { float: right; margin: 5px 0 20px 30px; }
	img.alignleft { float: left; margin: 5px 30px 20px 0; }
}
@media (min-width: 960px) {
	img.alignright { margin-left: 40px; }
	img.alignleft { margin-right: 40px; }	
}

.wp-caption { background: #fff; border: 1px solid #f0f0f0; max-width: 96%; padding: 5px 3px 10px; text-align: center;}
.wp-caption.alignnone { margin: 5px 20px 20px 0;}
.wp-caption.alignleft { margin: 5px 20px 20px 0;}
.wp-caption.alignright { margin: 5px 0 20px 20px;}
.wp-caption img { border: 0 none; height: auto; margin: 0; max-width: 98.5%; padding: 0; width: auto;}
.wp-caption p.wp-caption-text { font-size: 11px; line-height: 17px; margin: 0; padding: 0 4px 5px;}
img.wp-smiley { vertical-align: middle; border: 0 !important;}

.gallery { margin: 0 auto 24px; }
.gallery .gallery-item { float: left; margin-top: 10px; text-align: center;	}
.gallery-columns-2 .gallery-item { width: 50%; }
.gallery-columns-3 .gallery-item { width: 33%; }
.gallery-columns-4 .gallery-item { width: 25%; }
.gallery-columns-5 .gallery-item { width: 20%; }
.gallery-columns-6 .gallery-item { width: 15%; }
.gallery .gallery-item img { max-width: 94%; height: auto; border: 1px solid var(--svetleseda)  }
.gallery .gallery-caption {	margin-left: 0;	}







#media-query-breakpoint { font-family: '360'; }

@media  (min-width: 500px) {  #media-query-breakpoint { font-family: '500'; } }
@media  (min-width: 600px) {  #media-query-breakpoint { font-family: '600'; } }
@media  (min-width: 768px) {  #media-query-breakpoint { font-family: '768'; } }
@media  (min-width: 960px) {  #media-query-breakpoint { font-family: '960'; } }
@media  (min-width: 1100px) {  #media-query-breakpoint { font-family: '1100'; } }
@media  (min-width: 1200px) {  #media-query-breakpoint { font-family: '1200'; } }
@media  (min-width: 1400px) {  #media-query-breakpoint { font-family: '1400'; } }







.pagination { clear: both; margin-top: 50px;  text-align: center;  font-weight: 600; }
.pagination .page-numbers { display: inline-block; padding: 10px 10px; margin: 0 2px; line-height: 1; color: #000; font-size: 18px; }
.pagination a.page-numbers { text-decoration: none;  }
.pagination a.page-numbers:hover { color: #3E3C38; }
.pagination .page-numbers.current { color: #3E3C38;  }

@media (min-width: 960px) {
	.pagination .page-numbers { font-size: 22px; }
}














/* = Struktura -------------------------------------------------------------- */



/*
	Web
*/
.web { display: flex; flex-direction: column; height: 100%; min-height: 100vh; }
.web > * { width: 100%; }

.main { flex: 1 0 auto; }

.in { width: 94%; margin: 0 auto; max-width: 1240px; }
.inp { padding: 24px 0px; }

@media (min-width: 768px) {
	.in { width: 96%; }
}
@media (min-width: 1170px) {
	.nonhp .main { background: #fafafa; }
}



/*
88        88  88888888888         db         88888888ba,    88888888888  88888888ba   
88        88  88                 d88b        88      `"8b   88           88      "8b  
88        88  88                d8'`8b       88        `8b  88           88      ,8P  
88aaaaaaaa88  88aaaaa          d8'  `8b      88         88  88aaaaa      88aaaaaa8P'  
88""""""""88  88"""""         d8YaaaaY8b     88         88  88"""""      88""""88'    
88        88  88             d8""""""""8b    88         8P  88           88    `8b    
88        88  88            d8'        `8b   88      .a8P   88           88     `8b   
88        88  88888888888  d8'          `8b  88888888Y"'    88888888888  88      `8b 
*/



.header { width: 100%;  position: relative; border-bottom: 1px solid var(--svetleseda); background-color: #fff; }
.fixed .header { position: fixed; top: 0; left: 0; width: 100%; z-index: 250; }

.header__in { padding: 12px 0; }
.header__top { display: flex; align-items: center; justify-content: space-between;  }

.header-logo { margin: 0 20px 0 0; ; display: flex; justify-content: flex-start; align-items: center; }
.header-logo { text-decoration: none; }
.header-logo__img { display: block; margin: 0 12px 0 0; height: 36px; width: auto; }
.header-logo__text { font-size: 18px; color: #000; font-weight: 300; line-height: 1; }

.header-logo__text {
	cursor: pointer;
	display: flex;
}
.logo-letter {
	display: inline-block;
	transition: color 0.3s ease;
}
.header-logo__text:hover .logo-letter {
	animation: rainbow-wave 1s infinite linear;
}

@keyframes rainbow-wave {
	0% {
		color: var(--modra);
		
	}
	25% {
		color: var(--zelena);
		
	}
	50% {
		color: var(--ruzova);
	}
	75% {
		color: var(--zluta);
		
	}
	100% {
		color: var(--modra);
		
	}
}

.menu-toggle { flex-shrink: 0; position: relative; z-index: 10; display: block; width: 40px; height: 40px; margin-left: 50px;  }
.menu-toggle {  }
.menu-toggle span { position: relative; left: 9px; top: 19px;  display: block; background-color: #000; }
.menu-toggle span:after, .menu-toggle span:before { content: ""; position: absolute; left: 0; background-color: #000;  }
.menu-toggle span:before { top: -9px; }
.menu-toggle span:after{ top: 9px; }
.menu-toggle span,
	.menu-toggle span:after,
	.menu-toggle span:before { width: 22px; height: 1px; transition: all 0.3s; backface-visibility: hidden; }
.menu-toggle.on span { transform: translateX(-1px); background-color: transparent; } 
.menu-toggle.on span:before { width: 25px; transform: rotate(45deg) translate( 6px, 7px); }
.menu-toggle.on span:after { width: 25px; transform: rotate(-45deg) translate( 6px, -7px); }

.menu-toggle:before { content: 'Menu'; position: absolute; right: 40px; top: 0; height: 40px; width: 50px; text-align: right; }
.menu-toggle:before { display: flex; align-items: center; justify-content: flex-end; }
.menu-toggle:before { color: #000; font-size: 14px; text-transform: uppercase; line-height: 40px; font-weight: 300; }

.header-kontakt { display: none; }

@media (min-width: 768px) {
	.header-logo { margin-right: 40px; }
}

@media (min-width: 1170px) {
	
	.hp:not(.fixed) .header { border-bottom: 0; }
	
	.fixed .header__top { display: none; }
	
	.header__in { padding: 0; }
	.header__top { padding: 24px 0; }
	
	.header-logo { margin-right: 80px; }
	.header-logo__img { height: 76px; margin-right: 24px; }
	.header-logo__text { font-size: 36px; }
		
	.menu-toggle { display: none; }		
	
	.header-kontakt { display: block; text-align: right; }
	.header-kontakt p { line-height: 1.5; margin: 0 0 4px; font-size: 14px; }
	.header-kontakt a { text-decoration: none; }
	.header-kontakt a:hover { text-decoration: underline; }
	
	.header-kontakt__adresa { font-weight: bold; }
	
	.header-kontakt__email { padding-left: 23px; background: url(img/email.svg) left center / auto 13px no-repeat }
	.header-kontakt__email { margin-right: 10px; }
	.header-kontakt__telefon { padding-left: 20px; background: url(img/tel.svg) left center / auto 13px no-repeat }
	
}





/*
888b      88         db         8b           d8  
8888b     88        d88b        `8b         d8'  
88 `8b    88       d8'`8b        `8b       d8'   
88  `8b   88      d8'  `8b        `8b     d8'    
88   `8b  88     d8YaaaaY8b        `8b   d8'     
88    `8b 88    d8""""""""8b        `8b d8'      
88     `8888   d8'        `8b        `888'       
88      `888  d8'          `8b        `8'  
*/

.nav ul { list-style: none; }
.nav ul { margin: 0; }
.nav li { margin: 0;  }
.nav .menu a { text-transform: uppercase; text-decoration: none; }

.nav { padding: 10px; }
.nav .menu ul {  }	
.nav .menu a { display: block; padding: 10px; font-size: 14px; }

.nav .sub-menu {  }

@media (max-width: 1169px) {
	.nav { display: none; position: absolute; top: 100%; left: 0; z-index: 10; width: 100%; }
	.nav { background: var(--lehceseda) }
	
	.nav .menu a { color: #000; }
	
	.nav .menu > li { border-bottom: 1px solid var(--svetleseda); }
	.nav .menu > li:last-child { border-bottom: 0; }
	
	.nav .menu > li > a { font-weight: bold; }
	
	.nav .sub-menu { display: none; }
	
	.nav .menu-item-has-children { position: relative; }
		
	.nav .sub-menu-toggle { position: absolute; top: 10px; right: 10px; width: 30px; height: 25px; background: url(img/arr-d-black.svg) center center no-repeat; background-size: 15px auto; }
	.nav .sub-menu-toggle { transition: all .25s ease-in-out; }
	.nav .sub-menu-toggle.up { transform: rotate(-180deg); }
	
	.nav .menu li li a { padding: 8px 8px 8px 30px; font-size: 14px; }
}



@media (min-width: 1170px) {
	
	.nav { display: block !important; padding: 0; }
	
	.nav .menu { display: flex; align-items: center; justify-content: flex-start; }
	.nav .menu { background: #fff; border: 1px solid var(--svetleseda);  }
	.nonhp .nav .menu { border-bottom: 0  }
	.fixed .nav .menu { border-top: 0; border-bottom: 0;  }
	
	.nav .sub-menu-toggle { display: none !important; }
	
	.nav .menu a { line-height: 1; }
	
	.nav .menu > li { margin: 0; flex-grow: 1; text-align: center; border-right: 1px solid var(--svetleseda); }
	.nav .menu > li:last-child { border-right: 0; }
	
	.nav .menu > li > a { display: block; padding: 20px 10px; color: #000; font-size: 18px;  }
	.nav .menu > li > a {  }
	.nav .menu > li > a:hover,
		/*.nav .menu > li.current-menu-item > a,
		.nav .menu > li.current-page-ancestor > a,
		.nav .menu > li.current-menu-parent > a,*/
		.nav .menu > li:hover > a { text-decoration: none; background-color: #fafafa;  }
	
	.nav .menu > li > a { position: relative; }
	.nav .menu > li > a:hover:before, .nav .menu > li > a:hover:after { content: ''; display: block; width: 60px; height: 30px; background-color: transparent; }
	.nav .menu > li > a:hover:before { position: absolute; bottom: 0; left: -60px; z-index: 5; }
	.nav .menu > li > a:hover:after { position: absolute; bottom: 0; right: -60px; z-index: 5; }
	
	.nav .menu > li > a:hover:before { clip-path: polygon(0 75%, 100% 0, 100% 100%, 0% 100%) }
	.nav .menu > li > a:hover:after { clip-path: polygon(0 0, 100% 75%, 100% 100%, 0% 100%) }
	
	.nav .menu a > span { position: relative; padding-left: 16px; }
	.nav .menu a > span:before { content: ''; display: block; width: 8px; height: 8px; }
	.nav .menu a > span:before { position: absolute; left: 0; top: 6px; z-index: 1; transition: all .4s ease-in-out }
	.nav .menu .sub-menu a > span:before { top: 8px; height: 2px; }
	.nav .menu > li:nth-child(5n+1) a > span:before { background-color: var(--zelena); }
	.nav .menu > li:nth-child(5n+2) a > span:before { background-color: var(--modra); }
	.nav .menu > li:nth-child(5n+3) a > span:before { background-color: var(--ruzova); }
	.nav .menu > li:nth-child(5n+4) a > span:before { background-color: var(--zluta); }
	.nav .menu > li:nth-child(5n+5) a > span:before { background-color: var(--cerna); }

	.nav .menu > li > a:hover > span:before { transform: rotate(270deg) }
	.nav .menu li:hover > a > span:before { transform: rotate(180deg) }
	
	.nav .menu .sub-menu { display: none; }
	
	.nav .menu > li.menu-item-has-children > a > span { position: relative; padding-right: 17px; }
	.nav .menu > li.menu-item-has-children > a > span:after { content: ''; display: block; width: 11px; height: 6px;  }
	.nav .menu > li.menu-item-has-children > a > span:after { position: absolute; right: 0; top: 40%; background: url(img/arr-d.svg) 0 0 no-repeat;  }
	
	.nav .menu { position: relative; }
		
	.nav .menu > li > .sub-menu { display: block !important; visibility: hidden; opacity: 0; }
	.nav .menu > li > .sub-menu { position: absolute; left: -1px; top: 100%;  z-index: 10; width: 100%; width: calc(100% + 2px);   }
	
	.nav .menu > li:hover > .sub-menu, 
		.nav .menu > li > a:focus > .sub-menu,
		.nav .menu > li:focus-within > .sub-menu { display: block !important; z-index: 20; visibility: visible; opacity: 1; }
		
	.nav .menu > li > .sub-menu { background-color: #fafafa; padding: 24px; border: 1px solid var(--svetleseda); }
	.nav .menu > li > .sub-menu { columns: 3 }
	
	.nav .menu .sub-menu li { text-align: left; }
	.nav .menu .sub-menu li a { display: block; padding: 16px 12px; color: #000; font-size: 16px;  }
	.nav .menu .sub-menu li a:hover { text-decoration: underline;  }
		
	.nav .menu .sub-menu .sub-menu { margin-left: 20px; }
	
}
 






/*
                                                                                     
88888888888    ,ad8888ba,      ,ad8888ba,    888888888888  88888888888  88888888ba   
88            d8"'    `"8b    d8"'    `"8b        88       88           88      "8b  
88           d8'        `8b  d8'        `8b       88       88           88      ,8P  
88aaaaa      88          88  88          88       88       88aaaaa      88aaaaaa8P'  
88"""""      88          88  88          88       88       88"""""      88""""88'    
88           Y8,        ,8P  Y8,        ,8P       88       88           88    `8b    
88            Y8a.    .a8P    Y8a.    .a8P        88       88           88     `8b   
88             `"Y8888Y"'      `"Y8888Y"'         88       88888888888  88      `8b  
                                                                                   
*/


.footer { font-size: 12px; background: #f2f2f2 url(img/footer-bg-mobile.jpg) top center / cover no-repeat; }
.footer { border-top: 1px solid var(--svetleseda); }

.footer__in { padding-bottom: 150px;  }

.footer__links { margin-bottom: 10px; }
.footer__links ul { margin: 0; list-style: none; display: flex; justify-content: center; flex-wrap: wrap; }
.footer__links li { margin: 3px 6px; }
.footer__links li a { text-decoration: none; }
.footer__links li a:hover { text-decoration: underline; }

.footer__dev { margin-bottom: 80px; text-align: center; }
.footer__dev a { text-decoration: none; color: inherit; }

.footer__logo { display: flex; justify-content: center; }
.footer-logo { margin: 0 auto; ; display: flex; justify-content: flex-start; align-items: center; }
.footer-logo { text-decoration: none; }
.footer-logo__img { display: block; margin: 0 12px 0 0; height: 36px; width: auto; }
.footer-logo__text { font-size: 18px; color: #000; font-weight: 300; line-height: 1; }


@media (min-width: 768px) {
	.footer { background-image: url(img/footer-bg.jpg); }
}
@media (min-width: 1170px) {
	.footer { background-position: bottom center; }
	.footer__in { padding-top: 48px; padding-bottom: 250px;  }
	
	.footer__links { margin-bottom: 32px; font-size: 16px; }
	.footer__links li { margin: 4px 18px; position: relative; }
	.footer__links li:after { content: ''; display: block; width: 6px; height: 6px; background-color: #999; }
	.footer__links li:after { position: absolute; right: -21px; top: 40%; z-index: 1; }
	.footer__links li:last-child:after { display: none; }
	
	.footer__dev { margin-bottom: 100px; }
	
	.footer-logo__img { height: 76px; margin-right: 24px; }
	.footer-logo__text { font-size: 36px; }
}





/*
88        88  88888888ba   
88        88  88      "8b  
88        88  88      ,8P  
88aaaaaaaa88  88aaaaaa8P'  
88""""""""88  88""""""'    
88        88  88           
88        88  88           
88        88  88 
*/

.slideshow {}
.slideshow .slide { display: none; }
.slideshow .slide:first-child { display: block; }
.slideshow img { display: block; width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: center }

@media (min-width: 1170px) {
	.slideshow { margin-top: -1px; }
	.slideshow img { aspect-ratio: 16 / 6; max-height: 630px;  }
}
@media (min-width: 1170px) and (max-height: 700px) {
	.slideshow img { aspect-ratio: initial; height: 400px; width: 100%; }
}
@media (min-width: 1170px) and (max-height: 800px) {
	.slideshow img { aspect-ratio: initial; height: 450px; width: 100%; }
}





.uvodni-sekce-taby {  padding: 12px 0; }
.uvodni-sekce-taby ul { list-style: none; margin: 0; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; }
.uvodni-sekce-taby li { margin: 0; }
.uvodni-sekce-taby li a { display: block; text-decoration: none; font-weight: bold; font-size: 14px; }
.uvodni-sekce-taby li a { text-transform: uppercase;  }
.uvodni-sekce-taby li a { padding: 6px 12px; }
.uvodni-sekce-taby li a { position: relative; }

.uvodni-sekce-taby li a { display: flex; justify-content: flex-start; align-items: center; }
.uvodni-sekce-taby li a svg { display: block; margin: 0 5px 0 0; height: 16px; width: auto; }

.uvodni-sekce-taby path { transition: all .2s ease-in-out }

.uvodni-sekce-taby li.active a, .uvodni-sekce-taby a:hover { color: var(--zelena); } 


@media (min-width: 768px) {
	.uvodni-sekce-taby { padding: 16px 0; }
	.uvodni-sekce-taby ul { justify-content: space-around; }
	.uvodni-sekce-taby li a { padding: 10px 20px; }
}
@media (min-width: 1170px) {
	.uvodni-sekce-taby li a { font-size: 16px; }
	.uvodni-sekce-taby li a svg { height: 25px; margin-right: 10px; }
}


.uvodni-sekce { display: none; background-color: var(--lehceseda); }
.uvodni-sekce { border-top: 1px solid var(--svetleseda); }

.uvodni-sekce.active { display: block !important; }

@media (min-width: 1170px) {
	.uvodni-sekce__in { padding: 48px 0; }
}






/* NEWS  */

.news-wrapper--hp { margin-bottom: 32px; }

.news-item { margin: 0 auto 32px; padding: 24px; background-color: #fff; }
.news-item__img-wrapper { margin-bottom: 24px; }

.news-item__img-link { height: 250px; display: flex; justify-content: center; align-items: center  }
.news-item__img-wrapper img { display: block; width: auto; max-height: 100%;  }

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

.news-item__date {  margin-bottom: 6px; font-size: 12px; }
.news-item__desc { font-size: 14px; }

@media (min-width: 560px) {
	.news-wrapper { display: grid; grid-template-columns: repeat(2, 1fr); grid-gap: 24px; }
	.news-item { margin: 0; }
}
@media (min-width: 768px) {
	.news-wrapper { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1170px) {
	.news-wrapper { grid-template-columns: repeat(4, 1fr); }
	
	.news-wrapper--hp { margin-bottom: 42px; }
	.news-wrapper--hp .news-item:nth-child(6) { display: none; }
}






/* home / detail  */

.news-full-item { margin-bottom: 32px; padding: 16px; background-color: #fff; border: 1px solid var(--svetleseda) }
.news-full-item__title { margin-bottom: 10px; }
.news-full-item__date { font-size: 14px; }

@media (min-width: 768px) {
	.news-full-item { margin-bottom: 40px; padding: 24px; }
}





/* DOKUMENTY  */

.hp-dokumenty-wrapper { margin-bottom: 32px; }

@media (min-width: 768px) {
	.hp-dokumenty-wrapper { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
	.hp-dokumenty-wrapper .ud-dokument { margin: 0; }
}

@media (min-width: 1170px) {
	.hp-dokumenty-wrapper { margin-bottom: 42px; gap: 48px; }
}








/* AKCE  */

.akce-wrapper { margin-bottom: 32px; }
.akce-wrapper--sc { margin: 32px 0; }

.akce-item { margin-bottom: 32px; }
.akce-item__date { margin-bottom: 6px; padding-left: 30px; }
.akce-item__date { background: url(img/kalendar2.svg) left center / 24px no-repeat; }

.akce-item__date__day { margin-bottom: 3px; font-size: 10px; text-transform: uppercase; line-height: 1; }
.akce-item__date__date { font-size: 14px; font-weight: bold; line-height: 1; }

.akce-item__title { margin-bottom: 0px; }
.akce-item__place { font-size: 13px; }

@media (min-width: 768px) {
	.akce-wrapper { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
	.akce-item { margin: 0; }
}

@media (min-width: 1170px) {
	.akce-wrapper { margin-bottom: 42px; grid-template-columns: repeat(3, 1fr); gap: 48px }
	.akce-wrapper--sc { margin: 42px 0; }
	
	.akce-item__date { padding-left: 40px; background-size: auto 33px; }
	.akce-item__date__day { margin-bottom: 5px; font-size: 12px; }
	.akce-item__date__date { font-size: 16px; }
	
	.akce-item__content { padding-left: 40px; }
	.akce-item__title { font-size: 22px; }
	.akce-item__place { font-size: 16px; }
}
















.page-content {  }
.page-content__in { background-color: #fff; }


@media (min-width: 768px) {
	.page-content__in { padding: 24px 64px; }
}
@media (min-width: 1170px) {
	.page-content {  } 
	.page-content__in { padding: 32px 140px 80px; }
}
@media (min-width: 1300px) {
	.page-content__in { padding: 48px 140px 140px; }
}

















/*
88        88           88888888ba,    88888888888   ad88888ba   88      a8P          db         
88        88           88      `"8b   88           d8"     "8b  88    ,88'          d88b        
88        88           88        `8b  88           Y8,          88  ,88"           d8'`8b       
88        88           88         88  88aaaaa      `Y8aaaaa,    88,d88'           d8'  `8b      
88        88           88         88  88"""""        `"""""8b,  8888"88,         d8YaaaaY8b     
88        88           88         8P  88                   `8b  88P   Y8b       d8""""""""8b    
Y8a.    .a8P  888      88      .a8P   88           Y8a     a8P  88     "88,    d8'        `8b   
 `"Y8888Y"'   888      88888888Y"'    88888888888   "Y88888P"   88       Y8b  d8'          `8b 
*/

.ud-dokument { margin-bottom: 24px; }

.ud-dokument h3 { margin-bottom: 0; padding-bottom: 2px }
.ud-dokument a { display: inline-block; }

.ud-dokument__info { margin: 0 0 0 28px; padding: 2px 0; font-size: 80% }

.vsechny-dokumenty { margin-top: 32px; text-align: center }

a.pripona {	padding-left: 28px; background: url('img/file-file.gif') 0 4px no-repeat; }
a.pdf { background-image: url('img/file-pdf.gif') ; }
a.zip { background-image: url('img/file-zip.gif') ; }
a.doc { background-image: url('img/file-doc.gif') ; }
a.avi { background-image: url('img/file-avi.gif') ; }
a.mpg { background-image: url('img/file-mpg.gif') ; }
a.xls { background-image: url('img/file-xls.gif') ; }
a.ppt { background-image: url('img/file-ppt.gif') ; }
a.rar { background-image: url('img/file-rar.gif') ; }

@media (min-width: 1170px) {
	.ud-dokument { margin-bottom: 32px; }
}



/*
  ,ad8888ba,          db         88           88888888888  88888888ba   88  88888888888  
 d8"'    `"8b        d88b        88           88           88      "8b  88  88           
d8'                 d8'`8b       88           88           88      ,8P  88  88           
88                 d8'  `8b      88           88aaaaa      88aaaaaa8P'  88  88aaaaa      
88      88888     d8YaaaaY8b     88           88"""""      88""""88'    88  88"""""      
Y8,        88    d8""""""""8b    88           88           88    `8b    88  88           
 Y8a.    .a88   d8'        `8b   88           88           88     `8b   88  88           
  `"Y88888P"   d8'          `8b  88888888888  88888888888  88      `8b  88  88888888888
*/

.galerie-skolni-roky { margin-bottom: 12px; font-size: 12px; }

.skolni-rok-item { display: inline-block; text-decoration: none; font-weight: 700; background-color: #fff; color: var(--zelena); line-height: 1; }
.skolni-rok-item { border: 1px solid var(--zelena) }
.skolni-rok-item { margin-left: 4px; }
.skolni-rok-item { padding: 6px 8px; border-radius: 4px; }
.skolni-rok-item:hover, .skolni-rok-item.active { background-color: var(--zelena); color: #fff; }

@media (min-width: 768px) {
	.galerie-skolni-roky { margin-bottom: 24px; font-size: 14px; }
}



.galerie-wrapper { display: grid; grid-template-columns: repeat(1, fr); grid-gap: 24px; }
.galerie-wrapper--hp { margin-bottom: 32px; }

.galerie-item { padding: 12px; border: 1px solid var(--svetleseda) }
.galerie-item__img-link { display: block; margin: 0 0 10px; }
.galerie-item__img-link img { display: block; margin: 0; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.galerie-item__title { margin-bottom: 4px; text-align: center; }
.galerie-item__date { margin: 0; text-align: center; font-size: 12px; }

@media (min-width: 600px) {
	.galerie-wrapper { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
	.galerie-wrapper { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1170px) {
	.galerie-wrapper--hp { margin-bottom: 48px; }
}






.galerie-detail { margin-bottom: 32px; padding: 16px; background-color: #fff; border: 1px solid var(--svetleseda) }
.galerie-detail__title { margin-bottom: 10px; }
.galerie-detail__date { font-size: 14px; }

.galerie-detail__content { margin-bottom: 24px; }

.galerie-detail__gallery { }
.galerie-detail__big-photo-link { display: block; margin: 0 auto 24px; }
.galerie-detail__big-photo { display: block; margin: 0 auto; }

@media (min-width: 768px) {
	.galerie-detail { margin-bottom: 48px; padding: 24px; }
	
	.galerie-detail__content { margin-bottom: 32px; }
}



.post-password-form {  }
.post-password-form input[type="password"] { width: auto; }
.post-password-form-invalid-password { font-weight: bold; color: red; }