/*
Theme Name: MD webdesign responsive theme
Author: Martin Domes
Version: 2025.08
Author URI: https://www.mdwebdesign.cz
(c) všechna práva vyhrazena
*/

/* základ */
* {
	margin: 0;
	padding: 0;
}
body {
	min-width: 260px;
	background: #fff;
	color: #333;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
	font-size: 18px;
	font-display: swap;
	font-feature-settings: 'kern' 1;
	line-height: 1.4;
}

/* --- pozadí --- */
div.poz-modre {
	background: #EBF4FA;	
}
div.poz-tmmodre {
	background: #388FCE;	
}
div.poz-ruzove {
	background: #F6C4CF;
}
div.poz-zlute{
	background: #ECB74E;	
}

/* ---- záhlaví ------ */
header {
	width: 100%;
	background: rgba(206, 191, 56, 0.08);
}
header section {
	max-width: 1440px;
	margin: 0 auto;
	padding: 2rem 0;
	display: flex;
	gap: 6rem;
	justify-items: center;
	justify-content: center;
	align-items: center;
}
header section p {
	margin: 0;
}
header p#logo a {
	display: block;
	width: 175px;
	height: 53px;
	background: url(obr/logo.svg);
}
header p#centrum a {
	display: block;
	padding-left: 35px;
	background: url(obr/ikona-centrum.svg) left center no-repeat;
	color: #388FCE;
	text-decoration: none;
	font-size: 88.88%;
}
header p#centrum a:hover {
	text-decoration: underline;
}

header a span {
	display: none;   
}

/* ------- navigace - hlavní menu ---------- */
nav {
	flex: 1;
}
nav ul#menu-hlavni {
	display: flex;
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	list-style: none;
}
nav ul#menu-hlavni li {
	flex: auto;
	cursor: default;
}
nav ul#menu-hlavni li a {
	color: #388FCE;
	text-align: center;
	text-decoration: none;
	font-size: 116.66%;
}
nav ul#menu-hlavni li a:hover {
	text-decoration: underline;	
}
nav ul#menu-hlavni li.current-menu-item a, 
nav ul#menu-hlavni li.current-page-ancestor a, 
nav ul#menu-hlavni li.current_page_parent a {
	color: #e48d3f;
	font-weight: 700;
}

/* -- navigace - submenu VODOROVNÉ -- */
nav ul#menu-hlavni ul {
	display: none;
	position: absolute;
	left: 0px;
	top: 2.25rem;
	width: 100%;
	border-top: 1px solid #e48d3f;
	list-style: none;
}
nav ul#menu-hlavni li.current-menu-item.menu-item-has-children ul,
nav ul#menu-hlavni li.current_page_parent ul {
	display: flex !important; 
}
nav ul#menu-hlavni ul li a {
	display: block;
	padding: 0.3rem 0;
	font-size: 88.88%;
	font-weight: 400 !important;
}
nav ul#menu-hlavni ul li.current-menu-item a {
	font-weight: 700 !important;
}

/* hlavní blok */
section#hlavni {
	display: flex;
	width: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

@media all and (min-width: 1921px)  { 
	body.home section#hlavni {
		background-image: url(obr/poz-hlavni-2880px.webp);
		height: 769px;
	}
	body.page-id-16 section#hlavni {
		background-image: url(obr/poz-hlavni-ms-2880px.webp);
		height: 769px;
	}
	body.page-id-17 section#hlavni {
		background-image: url(obr/poz-hlavni-zs-2880px.webp);
		height: 769px;
	}
	body.page-id-25 section#hlavni {
		background-image: url(obr/poz-hlavni-kontakt-2880px.webp);
		height: 769px;
	}

} 
@media all and (min-width: 1025px) and (max-width: 1920px)  { 
	body.home section#hlavni {
		background-image: url(obr/poz-hlavni-1920px.webp);
		height: 769px;
	}
	body.page-id-16 section#hlavni {
		background-image: url(obr/poz-hlavni-ms-1920px.webp);
		background-position: center right;
		height: 769px;
	}
	body.page-id-17 section#hlavni {
		background-image: url(obr/poz-hlavni-zs-1920px.webp);
		height: 769px;
	}
	body.page-id-25 section#hlavni {
		background-image: url(obr/poz-hlavni-kontakt-1920px.webp);
		height: 769px;
	}
}
@media all and (min-width: 835px) and (max-width: 1024px)  { 
	body.home section#hlavni {
		background-image: url(obr/poz-hlavni-1920px.webp);
		height: 657px;
	}
	body.page-id-16 section#hlavni {
		background-image: url(obr/poz-hlavni-ms-1920px.webp);
		background-position: center right;
		height: 657px;
	}
	body.page-id-17 section#hlavni {
		background-image: url(obr/poz-hlavni-zs-1920px.webp);
		height: 657px;
	}
	body.page-id-25 section#hlavni {
		background-image: url(obr/poz-hlavni-kontakt-1920px.webp);
		height: 657px;
	}
}
@media all and (min-width: 391px) and (max-width: 834px)  { 
	body.home section#hlavni {
		background-image: url(obr/poz-hlavni-834px.webp);
		height: 657px;
	}
	body.page-id-16 section#hlavni {
		background-image: url(obr/poz-hlavni-ms-834px.webp);
		background-position: center right;
		height: 657px;
	}
	body.page-id-17 section#hlavni {
		background-image: url(obr/poz-hlavni-zs-834px.webp);
		height: 657px;
	}
	body.page-id-25 section#hlavni {
		background-image: url(obr/poz-hlavni-kontakt-834px.webp);
		height: 657px;
	}
}
@media all and (max-width: 390px)  { 
	body.home section#hlavni {
		height: 309px;
		background-image: url(obr/poz-hlavni-390px.webp);
	}
	body.page-id-16 section#hlavni {
		height: 309px;
		background-image: url(obr/poz-hlavni-ms-390px.webp);
	}
	body.page-id-17 section#hlavni {
		height: 309px;
		background-image: url(obr/poz-hlavni-zs-390px.webp);
	}
	body.page-id-25 section#hlavni {
		height: 309px;
		background-image: url(obr/poz-hlavni-kontakt-390px.webp);
	}
}
section#hlavni article {
	flex: 1;
	align-self: center;
	max-width: 1200px;
	margin: 0 auto;
	text-align: left;
}
section#hlavni h1, section#hlavni h1 + p {
	text-shadow: 0 0 25px #000;
}
section#hlavni h1 {
	max-width: 48%;
}
section#hlavni h1 span {
	text-decoration: underline;
}
section#hlavni h1 + p {
	max-width: 40%;
	margin-bottom: 2rem;
	color: #fff;
	font-size: 133%;
}
section#hlavni p.tlac a {
	font-size: 133%;
}
section#hlavni p.tlac {
	position: relative;
	z-index: 10;
}
section#hlavni p.tlac span {
	z-index: 0;
	position: absolute;
	top: 20px;
	left: -75px;
	width: 118px;
	height: 118px;
	background: url(obr/vcela-ruzova.svg);
}

/* --- argumenty  --- */
section#argumenty {
	width: 100%;
}
section#argumenty ul {
	display: flex;
	gap: 3rem;
	max-width: 1200px;
	margin: 0 auto;
	padding: 3rem 0;
	list-style: none;
}
section#argumenty ul li {
	flex: 1;
	padding-left: 75px;
	margin: 0;
	background-position: left center;
	background-repeat: no-repeat;
}
section#argumenty ul li:nth-child(1) {
	background-image: url(obr/ikona-kniha.svg);
}
section#argumenty ul li:nth-child(2) {
	background-image: url(obr/ikona-banky.svg);
}
section#argumenty ul li:nth-child(3) {
	background-image: url(obr/ikona-vcela.svg);
}

/* --- sloupce --- */
section.sloupce {
	display: flex;
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
	padding-top: 2rem;
	padding-bottom: 3rem;
}
section.sloupce article {
	flex-basis: 50%;
}
section.sloupce figure {
	max-width: 100%;
}
section.sloupce img {
	max-width: 100%;
	height: auto;
}

/* --- pilíře --- */
section#argumenty + div.poz-modre h2 {
	margin: 0;
	padding: 3rem 20px 0;
	text-align: center;
}
section#pilire {
	gap: 1rem;
	text-align: center;
}
section#pilire article h3 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2em;
    height: 2em;
    border-radius: 50%;
    background: #fff;
    color: #e48d3f; 
    font-size: 200%;
}
body.page-id-1827 div.wp-block-column h2:first-child strong {
    width: 2em;
    height: 2em;
    border-radius: 50%;
    background: #fff;
    color: #e48d3f; 
    font-size: 150%;
}

section#pilire + p.tlac {
	margin-top: -1rem;
	padding-bottom: 3rem;
	text-align: center;
}

/* --- poznejte školu Basic --- */
div.poz-modre + h2 {
	margin-top: 3rem;
	margin-bottom: 0;
	padding:  0 20px;
	text-align: center;
}
section#poznejte {
	max-width: 1000px;
	align-items: center;
	background: url(obr/poz-poznejte.svg) top 1rem left 38% no-repeat;
}

/* --- reference --- */
section#reference h2 {
	margin-top: 2rem;
	padding:  0 20px;
	text-align: center;
}
section#reference article {
	margin: 0 auto;
	max-width: 1440px;
}
/* strong testimonials */
div.strong-view  {
	margin: -75px auto 0;
	padding-top: 75px !important;
	background: url(obr/vcela-ruzova.svg) top right 50px no-repeat;
}
div.strong-view div.testimonial-inner {
	width: 95% !important;
	padding: 1.5rem 2.5% !important;
	background: #EBF4FA;
	border-radius: 20px;
	font-size: 88%;
} 
div.strong-view div.testimonial-inner h3 {
	margin-top: 0;
	padding: 0 1rem;
	color: #388FCE;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
	font-weight: 700;
	font-size: 111%;
}
div.strong-view div.testimonial-inner div.testimonial-content {
	height: 15rem !important;
	overflow: auto;
	padding: 0 1rem;
}
.strong-view.controls-style-buttons:not(.rtl) .wpmslider-prev:before,
.strong-view.controls-style-buttons:not(.rtl) .wpmslider-next:before,
.strong-view.pager-style-buttons .wpmslider-pager-link:before {
	background: #388FCE !important;
}
.strong-view.pager-style-buttons .wpmslider-pager-link:before {
	width: 15px !important;
	height: 15px !important;
	margin-left: 5px;
	margin-right: 5px;
}
a.wpmslider-prev, a.wpmslider-next {
	margin-top: -2rem !important;
}

/* --- talenti --- */
section#reference + h2 {
	margin: 3rem 0 0;
	padding:  0 20px;
	text-align: center;
}
section#talenti {
	max-width: 1000px;
	align-items: center;
}

/* --- novinky --- */
section#novinky {
	padding-bottom: 3rem;
}
section#novinky h2 {
	padding:  0 20px;
	text-align: center;
}
section#novinky div#clanky {
	display: flex;
	flex-direction: row;
	gap: 3rem;
	max-width: 1200px;
	margin: 0 auto;
}
section#novinky article {
	flex: 1;
	text-align: center;
}
section#novinky article img {
	max-width: calc(100% - 30px);
	height: auto;
	padding: 25px 15px;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 45px;
	background-size: contain;
	background-origin: padding-box;
}
section#novinky article:nth-child(odd) img {
	background-image: url(obr/poz-clanek-modre.svg);
}
section#novinky article:nth-child(even) img {
	background-image: url(obr/poz-clanek-zlute.svg);
}
section#novinky article h3 {
	margin-top: 0.5rem;
	font-weight: 400;
	font-size: 100%;
	text-align: center;
}
section#novinky article h3 a {
	color: #636363;
}
section#novinky article h3 a:hover {
	text-decoration: none;
}
section#novinky article time {
	display: inline-block;
}
section#novinky p.tlac {
	text-align: center;
}

/* --- newsletter --- */
section#newsletter {
	background: #FBFAEF;
}
section#newsletter article {
	display: flex;
	align-items: center;
	gap: 1rem;
	max-width: 1320px;
	margin: 0 auto;
	padding: 3rem 0 3rem 120px;
	background: url(obr/ikona-vlastovka.svg) left center no-repeat;
}
section#newsletter article h2 {
	flex: 0.75;
	margin: 0;
/*	outline: 1px solid red; */
}
section#newsletter article form {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 1rem;
/*	outline: 1px solid red; */
}
section#newsletter article form input[type="email"]{
	flex: 1;
}
section#newsletter article form input[type="submit"]:hover{
	background-color: #000;
	color: #fff;
}
section#newsletter article form p {
	flex: 1;
    max-width: 250px;
	margin: 0 0 0 2rem;
    text-align: right;
	line-height: 1.2;
    font-size: 75%;
}
section#newsletter article form p a {
	color: #333;
}
section#newsletter article form p a:hover {
	color: #e48d3f;
}

/* ----- zápatí ---- */
footer {
	width: 100%;
	padding: 3rem 0;
	background: #FBFAEF;
	border-top: 1px solid #e8e8de;
}
footer section {
	display: flex;
	gap: 3rem;
	max-width: 1440px;
	margin: 0 auto;
}
footer section article {
/*	outline: 1px dotted red; */
}
footer section article:first-child {
	flex: 3;
}
footer section article:last-child {
	flex: 1;
	text-align: right;
}
footer section article:first-child div {
	flex: 1;
	display: flex;
	gap: 2rem;
}
footer section article:first-child div p {
/*	outline: 1px solid red; */
}
footer section article:first-child div p:first-child {
	align-self: center;	
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding-top: 2rem;
}
footer section article:first-child div p:last-child {
	display: flex;
	gap: 2rem;
	align-items: baseline;
}
/* obsah zápatí */
footer a {
	color: inherit;
}
footer section article:first-child div p:first-child a {
	width: 66px;
	height: 66px;
	background-image: url(obr/ikona-site.svg);
	background-size: cover;
	text-indent: -9999px;
}
footer section article:first-child div p:first-child a:hover {
	background-image: url(obr/ikona-site-hover.svg);
}
footer section article:first-child div p:first-child a:first-child {
	background-position: left center;
}
footer section article:first-child div p:first-child a:last-child {
	background-position: right center;
}
footer p.telefon {
	padding-right: 40px;
	background: url(obr/ikona-telefon.svg) right center no-repeat;   
	color: #388FCE;
	font-size: 116.66%;
}
footer p.email {
	margin-top: 3rem;
	padding-right: 40px;
	background: url(obr/ikona-email.svg) right center no-repeat;   
	color: #388FCE;
	font-size: 116.66%;
}
/* copyright */
section#spodek {
	width: 100%;
	background: #FBFAEF url(obr/hvezda.svg) top 1rem center no-repeat;
	border-top: 1px solid #e8e8de;
}
section#spodek article {
	display: flex;
	gap: 6rem;
	max-width: 1440px;
	margin: 0 auto;
	padding: 3rem 0 6rem;
}
section#spodek article p {
	flex: 1;
	font-size: 80%;
}
section#spodek p + p {
	text-align: right;
}
section#spodek a {
	color: #333;
}
footer a:hover, section#spodek a:hover {
	text-decoration: none;
}

/* ----- obsah - layout ----- */
section.obsah {
	max-width: 1200px;
	min-height: 300px;
	margin: 0 auto;
	padding: 2rem 0 3rem;
}
body.page-template-page-sablona2-php section.obsah,
body.page-template-page-sablona3-php section.obsah,
body.page-template-page-sablona4-php section.obsah {
	padding-top: 1rem;
}
body.page-id-322 section.obsah {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}
/* --- vnitřní rozcestníky --- */
#rozcestnik, #vnitrni-rozcestnik {
	background-image: none !important;
}
#vnitrni-rozcestnik {
	margin-top: -1rem;
}
#vnitrni-rozcestnik div.wp-block-columns {
	flex-wrap: wrap !important;
	margin-top: 0;
}
#vnitrni-rozcestnik div.wp-block-columns div.wp-block-column {
	flex: 1;
}
#rozcestnik-onas .wp-block-image {
	margin: 0;
	height: 30px;
}
/* --- rozcdestník na fotogalerie --- */
div#foto {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	gap: 3rem;
	justify-content: center;
	max-width: 1200px;
	margin: 0 auto 2rem;
}
div#foto article {
	flex-basis: calc(33.333% - 2rem);
	text-align: center;
}
div#foto article img {
	max-width: calc(100% - 30px);
	height: auto;
	padding: 25px 15px;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 45px;
	background-size: contain;
	background-origin: padding-box;
}
div#foto article:nth-child(odd) img {
	background-image: url(obr/poz-clanek-modre.svg);
}
div#foto article:nth-child(even) img {
	background-image: url(obr/poz-clanek-zlute.svg);
}
div#foto article h3 {
	margin-top: 0.5rem;
	font-weight: 400;
	font-size: 100%;
}
div#foto article h3 a {
	color: #636363;	
}
div#foto article h3 a:hover {
	text-decoration: none;
}
body.page-template-page-sablona4 section.obsah p:first-child {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}
/* Gutenberg - sloupce */
div.wp-block-columns {
	margin-top: 1.5rem;
}
div.wp-block-columns + div.wp-block-columns {
	margin-top: 3rem;
}
div.wp-block-group div.wp-block-columns:last-child {
	margin-bottom: 0;
}
/* Gutenberg - skupina */
div.wp-block-group {
	margin: -40px auto 3rem;
	padding-top: 60px;
	background: url(obr/vcela-ruzova.svg) top right 1rem no-repeat;
	color: #333;
}
div.wp-block-group.bezobr {
	background-image: none;
}
section.obsah > div.wp-block-group:first-child {
	margin-top: -1rem; 
}
body.page-template-page-sablona2-php section.obsah > div.wp-block-group:first-child,
body.page-template-page-sablona3-php section.obsah > div.wp-block-group:first-child,
body.page-template-page-sablona4-php section.obsah > div.wp-block-group:first-child {
	margin-top: -2rem; 
}
div.wp-block-group__inner-container {
	padding: 2rem;
	background-color: rgba(251, 250,239, 0.85);
	border-radius: 20px;
}
div.wp-block-group__inner-container :last-child {
	margin-bottom: 0;
}
/* Gutenberg - media a text */
div.wp-block-media-text__content :last-child {
	margin-bottom: 0;
}
/* Gutenberg - soubory */
div.wp-block-group#dokumenty {
	max-width: 1000px;
	margin: 0 auto 3rem;
	padding: 0;
	background: none;
}
div.wp-block-file {
	display: flex;
	gap: 0;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 0.75rem  0 0.75rem 60px;
	background: url(obr/ikona-list.svg) left 1rem center no-repeat;
	background-color: rgba(251, 250,239, 0.85);
	border-bottom: 2px solid #ececec !important;
	text-align: left !important;
}
div.wp-block-group#dokumenty div.wp-block-file:first-child {
	border-radius: 20px 20px 0 0;
}
div.wp-block-group#dokumenty div.wp-block-file:last-child {
	border-radius: 0 0 20px 20px;
	border: none !important;
}
div.wp-block-file a:first-child {
	flex: 1;
	color: #388FCE !important;
}
div.wp-block-file a.wp-block-file__button {
	width: 40px;
	align-self: flex-end;
	background: transparent url(obr/sipka-oranzova.svg) center no-repeat; 
	text-indent: -9999px;
	border-radius: 0;
}
div.wp-block-file a:hover + a.wp-block-file__button,
div.wp-block-file a.wp-block-file__button:hover {
	background-image: url(obr/sipka-modra.svg); 
	background-color: transparent !important;
}
/* FAQ - otázky odpovědi */
div.wp-block-esab-accordion {
	max-width: 1000px;
	margin: -70px auto 3rem !important;
	padding-top: 70px;
	background: url(obr/vcela-ruzova.svg) top right no-repeat;
}
div.wp-block-esab-accordion div.wp-block-esab-accordion-child {
	border: 0 !important;
	border-radius: 20px !important;
}
div.wp-block-esab-accordion div.esab__head {
	background: #388FCE;
	color: #fff;
}
div.wp-block-esab-accordion div.esab__head h3 {
	padding: 1rem;
	color: #fff;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}
div.wp-block-esab-accordion div.esab__body {
	padding: 1rem 2rem !important;
}
div.wp-block-esab-accordion div.esab__active_accordion div.esab__head,
div.wp-block-esab-accordion div.esab__active_accordion div.esab__body {
	background-color: rgba(251, 250,239, 0.85) !important;
	border: none !important;
}
div.wp-block-esab-accordion div.esab__active_accordion div.esab__head h3 {
	color: #333 !important;
}
div.esab__icon div.esab__collapse svg,
div.esab__icon div.esab__expand svg {
	display: none;
}
div.esab__icon div.esab__collapse{
	width: 46px;
	height: 46px;
	background: url(obr/ikona-plus.png);
}
div.esab__icon div.esab__expand{
	width: 46px;
	height: 46px;
	background: url(obr/ikona-minus.png);
}
/* tým, lidé - medailonek */
div.wp-block-columns.tym {
	margin: 2rem auto;
	padding: 2rem;
	background: #EBF4FA;
	border-radius: 20px;
}
div.wp-block-columns.tym div.wp-block-column:first-child div.wp-block-image {
	margin-top: 0;
}
div.wp-block-columns.tym h2 {
	margin-bottom: 0.5rem;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
	color: #636363 ;
	font-size: 111%;	
	font-weight: 700;
}
div.wp-block-columns.tym div.wp-block-column:first-child a:last-child {
	display: inline-block;
	padding-left: 35px;
	background: url(obr/ikona-email.svg) left center no-repeat; 
}

/* vedení školy */
div.wp-block-columns.vedeni  {
	margin-top: 2rem;
}
div.wp-block-columns.vedeni div.wp-block-column {
	max-width: 500px;
	margin: 0 auto 0rem;
	padding: 2rem;
	background: #FBFAEF;
	border-radius: 20px;
	text-align: center;
}
div.wp-block-columns.vedeni div.wp-block-column#reditel {
	position: relative;
}
div.wp-block-columns.vedeni div.wp-block-column#reditel div#vcela {
	position: absolute;
	right: 10px;
	top: -35px;
	width: 90px;
	height: 90px;
	background: url(obr/vcela-ruzova.svg) center no-repeat;
}
div.wp-block-columns.vedeni div.wp-block-column img {
	border-radius: 100%;
}
div.wp-block-columns.vedeni div.wp-block-column a:last-child {
	padding-left: 35px;
	background: url(obr/ikona-email.svg) left center no-repeat; 
}


/* ---- obsah - text --- */
/* nadpisy */
h1, h2, h3 {
	line-height: 1.15;
    font-weight: 400 !important;
    font-style: normal;
}
h1 {
	margin-bottom: 2rem;
	color: #fff;
	font-size: 322%;
	font-family: 'Radley', Georgia, 'Times New Roman', Times, serif;
}
body.page-template-page-sablona2 h1 {
	max-width: 1000px;
	margin: 0 auto 2rem;
	padding: 3rem 200px 3rem 0;
	background: url(obr/jablko-modre.svg) center right no-repeat;
}
body.page-template-page-sablona3 h1,
body.page-template-page-sablona4 h1 {
	max-width: 1000px;
	margin: 0 auto 2rem;
	padding: 3rem 200px 3rem 0;
	background: url(obr/terc2.png) center right no-repeat;
}
body.error404 h1 {
	color: inherit;
}
body.blog h1,
body.single-post h1 {
	max-width: 1000px;
	margin: 0 auto 4rem;
	padding: 3rem 200px 3rem 0;
	background: url(obr/vcela-oranzova.svg) center right no-repeat;
}
h2 {
	margin-top: 2rem;
	margin-bottom: 1rem;
	color: #388FCE;
	font-size: 200%;
	font-family: 'Radley', Georgia, 'Times New Roman', Times, serif;
}

h3 {
	margin-top: 1.5rem;
	margin-bottom: 1rem;
	color: #636363 /*#e48d3f */ ;	
	line-height: 1.15;
	font-size: 120%;
	font-weight: 700;
}
h2 + h3 {
	margin-top: 0;
}
h4 {
	margin-top: 0.5rem;
	margin-bottom: 1rem;
	line-height: 1.15;
	font-size: 100%;
	font-weight: 700;
}
section.obsah > h2:first-child, 
blockquote h2:first-child, 
blockquote h3:first-child,
div.wp-block-column h2:first-child,
div.wp-block-column h3:first-child,
div.wp-block-group h2:first-child,
div.wp-block-group h3:first-child,
article h2:first-child,
article h3:first-child {
	margin-top: 0;
}
/* odstavce */
p {
	margin-bottom: 1rem;
}
div.wp-block-column p:last-child {
	margin-bottom: 0;
}
/* citace, speciální odstavce */
blockquote {
	margin: 2rem 0;
	padding: 1rem 2rem;
	background: #FBFAEF;
	border-radius: 20px;
}
/* seznamy */
section.obsah ul, section.obsah ol {
	margin-bottom: 1rem;
	line-height: 1.4;
}
section.obsah ul {
	margin-left: 0;
	padding-left: 0;
	list-style: none;
}
section.obsah ul li {
	padding-left: 25px;
	background-position: left center;
	background-repeat: no-repeat;
}
section.obsah ul li:nth-child(1), 
section.obsah  ul li:nth-child(4),
section.obsah  ul li:nth-child(7) {
	background-image: url(obr/odrazka-zluta.svg);
}
section.obsah ul li:nth-child(2), 
section.obsah ul li:nth-child(5),
section.obsah ul li:nth-child(8) {
	background-image: url(obr/odrazka-ruzova.svg);

}
section.obsah ul li:nth-child(3), 
section.obsah ul li:nth-child(6),
section.obsah ul li:nth-child(9) {
	background-image: url(obr/odrazka-svmodra.svg);
}
section.obsah ol {
	margin-left: 25px;
}
section.obsah ol li {
	padding-left: 5px;
}
section.obsah ul li, 
section.obsah ol li {
	margin-bottom: 0.5rem;
}
/* odkazy */
section.obsah a {
/*	color: #388FCE; */
	color: inherit;
}
section.obsah h2 a {
	color: inherit;
}
section.obsah a:hover,
section#novinky article a:hover{
	color: #e48d3f;
	text-decoration: none;
}
/* obrázky, galerie */
img {
	border-radius: 20px;
}
a:hover img {
	opacity: 0.85;
	transition: all .2s ease-in-out;
	transform: scale(1.03);
}
figure {
	margin: 0;
}
figure img {
	margin-bottom: -5px;
}
.wp-block-image {
	margin-top: 2rem;
	margin-bottom: 2rem;
}
.wp-block-image.ikona {
	height: 40px;
	margin-top: 0;
	margin-bottom: 0;
}
div.wp-block-column figure.wp-block-image:first-child {
	margin-top: 0;
}
div.wp-block-column figure.wp-block-image:last-child {
	margin-bottom: 0;
}
.wp-block-gallery {
	margin: 3rem auto;
	padding: 2rem;
	background-color: rgba(251, 250,239, 0.85);
	color: #333;
	border-radius: 20px;
}
.wp-block-gallery img {
	border-radius: 0;
}
h2 + .wp-block-gallery {
	margin-top: 0;
}


/* tlačítko	 */
p.tlac,
div.wp-block-buttons {
	margin-top: 1.5rem;
	margin-bottom: 1rem;
	gap: 1rem;
	white-space: nowrap;		
}
p.tlac a, 
div.wp-block-button a, 
input[type="submit"],
button[type="submit"] {
	display: inline-block;
	padding: 10px 40px;
	background-color: #A65064; 
	color: #fff !important;
	border: none;
	border-radius: 20px;
	text-decoration: none;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
	font-weight: normal;
}
section#hlavni p.tlac a {
	background-color: #388FCE; 	
}
p.tlac a:hover,
div.wp-block-button a:hover,
input[type="submit"]:hover,
button[type="submit"]:hover,
a.wp-block-file__button:hover {
	background-color: #ECB74E !important;
	color: #333 !important;
	cursor: pointer;
}
.wp-block-gallery + div.wp-block-buttons {
	margin-top: -1rem;
}
/* oddělovač */
hr {
	width: 100%;
	clear: both;
	margin-top: 3rem;
	margin-bottom: 3rem;
	background: none;
	border: none !important;
	border-bottom: 2px solid #ececec !important;
}

/* --- tabulky --- */
figure.prubehdne {
	width: 800px;
	margin-left: auto;
	margin-right: auto;
}
figure#kalendar {
	margin-top: -50px;
	padding-top: 50px;
	background: url(obr/kalendar.svg) top right 2rem no-repeat;
}
figure#terc {
	margin-top: -50px;
	padding-top: 50px;
	background: url(obr/terc.svg) top right 2rem no-repeat;
}
table {
	margin: 1rem auto;
}
h2 + figure table {
	margin-top: 0;
}
figure.skolne table {
	background: rgba(251, 250,239, 0.85);
	border-radius: 20px;
}
table thead {
    border: none !important;
	border-bottom: 2px solid #ececec !important;
}
th, td {
	min-width: 110px;
	padding: 1rem 2rem !important;
	background: none !important;
	border: none !important;
	text-align: left;
}
figure.skolne table td:last-child {
	width: 25%;
}
figure.prubehdnezs table td:nth-child(3) {
	width: 50%;
}
th {
	background: none !important;
}
td {
	border-bottom: 1px solid #ececec !important;
}
tr:last-child th,
tr:last-child td {
	border-bottom: none !important;
}

/* --------- formuláře obecně ----------- */
form {
}
input, select, option, textarea {
	padding: 8px 15px;
	color: #333;
	font-size: 16px;
}
input[type="text"], input[type="email"], 
input[type="tel"], input[type="number"], 
input[type="password"], textarea, select {
	border: none;
	border-bottom: 1px solid #ccc;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
	background: none;
}
/* --------- ninja forms -formuláře ----------- */
div.nf-form-cont {
	max-width: 350px;
	margin: 2rem 0;
	padding: 2rem 2rem 1rem;
	background-color: rgba(251, 250,239, 0.85);
	border-radius: 20px;
}
div#nf-form-3-cont.nf-form-cont,
div#nf-form-4-cont.nf-form-cont {
	margin-left: auto;
	margin-right: auto;
}
div.nf-form-cont div.nf-field-element {
	width: 100%; 
}
/*
div.nf-form-cont nf-fields-wrap {
	display: flex;
	flex-wrap: wrap; 
	outline: 1px solid red;
} 
div.nf-form-cont nf-fields-wrap nf-field {
	flex-basis: 50%; 
	outline: 1px dotted green;
} 
div.nf-form-cont nf-fields-wrap nf-field:first-child {
	display: none;
} */

/* pole */
div.nf-form-cont div.nf-field-label {
	width: 100%;
	text-align: center;
}
div.nf-form-cont div.nf-field-label label {
	color: #666;
	font-weight: 400;
}
div.nf-form-cont div.field-wrap div.nf-field-element input {
	text-align: center;
}
div.nf-form-cont div.field-wrap div.nf-field-element select {
	text-align-last: center;
}
div.nf-form-cont div.field-wrap div.nf-field-element input[type="checkbox"] {
	display: block;
	margin: 0 auto;
} 
div.nf-form-cont div.field-wrap div.nf-field-element textarea{
	height: 100px;
} 
/* html */
div.nf-form-cont div.field-wrap.html-wrap p {
	margin-bottom: 0;
	color: #666;
	text-align: center;
	font-size: 80%;
}
div.nf-form-cont div.field-wrap.html-wrap p a {
	color: #666;
}
/* tlačítko*/
div.submit-wrap div.nf-field-label {
	display: none !important;
}
div.submit-wrap input[type="submit"] {
	width: 100% !important;
}
/* kontaktní */
div#nf-form-2-cont.nf-form-cont {
	max-width: 100%;
	margin: 2rem 0;
}
div#nf-form-2-cont.nf-form-cont div.nf-field-label {
	width: 20%;
	padding: 0;
	text-align: left;
}
div#nf-form-2-cont.nf-form-cont div.field-wrap div.nf-field-element {
	width: 80%;
}
div#nf-form-2-cont.nf-form-cont div.field-wrap.html-wrap div.nf-field-element {
	margin-left: 20%;
}
div#nf-form-2-cont.nf-form-cont div.field-wrap div.nf-field-element input[type="text"],
div#nf-form-2-cont.nf-form-cont div.field-wrap div.nf-field-element input[type="email"] {
	text-align: left;
}
div#nf-form-2-cont.nf-form-cont div.submit-wrap input[type="submit"] {
	margin-left: 25%;
}
/* chybové hlášky */
div.nf-form-fields-required {
	display: none;
}
div.nf-error-msg {
	width: 200px;
	top: 3.7ex;
	left: 350px;
	z-index: 999;
	position: absolute !important;
	padding: 5px 5px 5px 30px !important;
	background: url(obr/chyba2.png) no-repeat center left;
	color: #fff;
}
div.nf-error-field-errors {
	width: auto;
	position: static !important;
	margin-left: 0 !important;
	padding-left: 0 !important;
	background: none;
	color: red;
	text-align: center;
}
/* chybové hlášky - kontaktní */
div#nf-form-2-cont div.nf-error-field-errors {
	margin-left: 20%;
}
div#nf-form-2-cont div.nf-error-msg {
	top: 0;
}

/* ------ BLOG ----- */
body.blog section.obsah, 
body.single-post section.obsah {
	max-width: 1000px;
	margin: 0 auto 2rem;
}
/* výpis článků */
article.clanek {
	display: flex;
	gap: 2rem;
	padding-bottom: 3rem;
	margin-bottom: 3rem;
	border-bottom: 2px solid #ececec !important;
}
 article.clanek img {
	padding: 25px;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 45px;
} 
article.clanek:nth-child(odd) img {
	background-image: url(obr/poz-clanek-modre.svg);
}
article.clanek:nth-child(even) img {
	background-image: url(obr/poz-clanek-zlute.svg);
}
article.clanek h2 {
	margin-top: 25px;
	margin-bottom: 0.5rem;
}
time {
	display: block;
	margin-bottom: 0.5rem;
	padding: 0.5rem 0 0.25rem 35px;
	background: url(obr/ikona-kalendar.svg) left center no-repeat;
	color: #999;
	font-size: 88%;
}
article.clanek p.cist a {
	color: #388FCE;
}
section.obsah p.cist a:hover {
	color: #e48d3f;
	text-decoration: none;
}
/* článek */
body.single-post img.wp-post-image, 
body.single-post img.default-featured-img {
	float: left;
	margin-right: 2rem;
	margin-bottom: 2rem;
	padding: 25px;
	background: url(obr/poz-clanek-modre.svg) center no-repeat;
	border-radius: 20px;
	border-radius: 45px;
}
body.single-post time {
	margin-top: 25px;
	margin-left: 30rem;
}
body.single-post time + p {
	min-height: 300px;
	margin-left: 30rem;
	font-size: 133%;
}
/* stránkování */
section.obsah ul.strankovani {
	width: 100%;
	margin: 0;
	padding-top: 2rem;
	padding-bottom: 2rem;
	text-align: center;
	list-style: none;
}
section.obsah ul.strankovani li.starsi {
	float: right !important;
	font-weight: bold;
}
section.obsah ul.strankovani li.novejsi {
	float: left !important;
	font-weight: bold;
}


/* --- 123 - abc - responzivní design */
@media all and (max-width: 1480px) { 
	/* mezera od okraje */
	header, 
	section#newsletter,
	footer,
	section#spodek {
		width: auto;
		padding-left: 20px;
		padding-right: 20px;
	}
	/* newsletter */
	section#newsletter article form  {
		flex-wrap: wrap;
	}
	section#newsletter article form p {
		flex: auto;
		max-width: 100%;
		margin: 1rem 0 0;
		text-align: center;
	}
	/* zápatí */
	footer article:first-child div p:last-child img:last-child {
		display: none;
	}
}
@media all and (max-width: 1240px) { 
	/* mezera od okraje */
	section#hlavni article,
	section#argumenty ul, 
	section#bloky, 
	section.sloupce, 
	section#novinky,
	section.obsah {
		width: auto;	
		padding-left: 20px;
		padding-right: 20px;	
	}
	body.page-template-page-sablona2 h1,
	body.page-template-page-sablona3 h1,
	body.page-template-page-sablona4 h1,
	body.blog h1,
	body.single-post h1 {
		padding-left: 20px;
		background-position: center right 20px;
	}
	/* mobilní navigace */
	div#wprmenu_bar {
		max-width: 100% !important;
		z-index: 99999 !important;
	}
	div#wprmenu_bar div.menu_title a {
		color: #fff;
		text-decoration: none;
	}
	/* záhlaví */
	header section p:first-child {
		flex: 1;
	}
	/* hlavní blok */
	section#hlavni {
		background-position: center left 35%;
		background-repeat: no-repeat;
	}
	section#hlavni h1,
	section#hlavni h1 + p {
		max-width: 55%;
	}
	section#hlavni article p.tlac span {
		display: none;
	}
	/* zápatí */
	footer article:first-child div p:last-child img:nth-child(3) {
		display: none;
	}
	/* vnitřní rozcestníky */
	#vnitrni-rozcestnik div.wp-block-columns div.wp-block-column {
		min-width: 250px;
	}
	/* rozcestník na MŠ a ZŠ */
	#rozcestnik  div.wp-block-media-text {
		display: flex;
		flex-direction: column;
		gap: 1rem;
		text-align: center;
	}
	#rozcestnik  div.wp-block-column:last-child div.wp-block-media-text {
		display: flex;
		flex-direction: column-reverse;
	}
	#rozcestnik  div.wp-block-buttons {
	}
	#rozcestnik  div.wp-block-buttons div.wp-block-button {
		margin-left: auto;
		margin-right: auto;
	}
}
@media all and (max-width: 1024px) { 
	/* pilíře */
	section#pilire {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
	section#pilire article {
		max-width: 250px;
		flex-basis: 33.333%;
	}
	/* newsletter */
	section#newsletter article {
		padding-top: calc(100px + 4rem);
		padding-left: 0;
		flex-direction: column;
		background-position: top 2rem center;
	}
	section#newsletter article h2 {
		margin-bottom: 1rem;
		text-align: center;
	}
	section#newsletter article form {
		max-width: 450px;
	}
}
@media all and (max-width: 900px) { 
	/* zápatí */
	footer section {
		flex-direction: column;
		align-items: center;
	}
	footer section article:last-child{
		text-align: center;
	}
	footer p.telefon {
		padding: 30px 0 0 0;
		background-position: top center;   
	}
	footer p.email {
		margin-top: 0;
		padding: 30px 0 0 0;
		background-position: top center;   
	}
	/* spodek */
	section#spodek article {
		padding-top: 130px;
		display: block;
	}
	section#spodek article p {
		text-align: center;
	}
}
@media all and (max-width: 834px) { 
	body {
		font-size: 20px;
	}
	/* hlavní blok */
	section#hlavni h1 {
		font-size: 266%;
	}
	section#hlavni h1,
	section#hlavni h1 + p {
		max-width: 65%;
	}
	section#hlavni article p.tlac span {
		display: none;
	}
	/* argumenty */
	section#argumenty ul {
		padding-top: 3rem;
		padding-bottom: 3rem;
	    flex-direction: column;
	} 
	section#argumenty ul li {
		min-height: 40px;
	} 
	/* sloupce */
	section.sloupce {
		gap: 2rem;
	}
	section#poznejte {
		flex-direction: column-reverse;
	}
	section#talenti {
		flex-direction: column;
	}
	section.sloupce p.tlac {
		text-align: center;
	}
	/* novinky, blog */
	section#novinky div#clanky,
	body.blog div#clanky article,
	div#foto {
		flex-direction: column;
	}
	section#novinky article {
		display: flex;
		gap: 2rem;
	}
	section#novinky article div {
		flex-basis: 120%;
	}
	body.blog article img,
	body.single-post img.wp-post-image,
	body.single-post img.default-featured-img {
		max-width: calc(100% - 30px);
		height: auto;
		padding: 25px 15px;
		background-position: center;
		background-repeat: no-repeat;
		border-radius: 45px;
		background-size: contain;
		background-origin: padding-box;
	}
	body.blog div#clanky article section h2 {
		margin-top: 0;
	}
	/* článek v blogu */
	body.single-post img.wp-post-image, 
	body.single-post img.default-featured-img {
		float: none;
	}
	body.single-post time {
		margin-top: 0;
		margin-left: 0;
	}
	body.single-post time + p {
		min-height: 0;
		margin-left: 0;
		margin-bottom: 3rem;
	}
	/*nadpisy */
	body.page-template-page-sablona2 h1,
	body.page-template-page-sablona3 h1,
	body.page-template-page-sablona4 h1,
	body.blog h1,
	body.single-post h1 {
		padding-right: 20px;
		background-image: none;
		text-align: center;
	}
	/* tabulky */
	figure.prubehdne td,
	figure.prubehdnezs td {
		display: block;
		width: 100%;
		padding: 0.5rem 0 !important;
	}
	figure.prubehdne td:nth-child(1),
	figure.prubehdne td:nth-child(2),
	figure.prubehdnezs td:nth-child(1),
	figure.prubehdnezs td:nth-child(2) {
		border-bottom: 0 !important;
	}
	figure.prubehdne td:last-child,
	figure.prubehdnezs td:last-child {
		margin-bottom: 2rem;
		padding-bottom: 2.5rem !important;
	}
}
@media all and (max-width: 600px) { 
	/* zápatí */
	footer section article {
		flex: 1 !important;
	}
	footer section article:first-child  {
		text-align: center;
	}
	footer section article:first-child div {
		flex-direction: column;
	}
	footer section article:first-child div p:first-child {
		padding-top: 0;
		flex-direction: row;
		justify-content: center;
	}
	footer section article:first-child div p:last-child {
		display: none;
	}
	/* skrýt dekoraci */
	div.strong-view,
	div.wp-block-group#dokumenty,
	div.wp-block-esab-accordion {
		background-image: none;
	}
	/* kontaktní formulář */
	div#nf-form-2-cont.nf-form-cont div.nf-field-label {
		width: 100%;
		margin-top: 0.5rem;
		margin-bottom: 0;
		text-align: center;
	}
	div#nf-form-2-cont.nf-form-cont div.field-wrap div.nf-field-element {
		width: 100%;
	}
	div#nf-form-2-cont.nf-form-cont div.field-wrap.html-wrap div.nf-field-element,
	div#nf-form-2-cont.nf-form-cont div.submit-wrap input[type="submit"] {
		margin-left: 0;
	}
}
@media all and (max-width: 469px) { 
	/* záhlaví */
	header p#logo a {
		margin-left: auto;
		margin-right: auto;
		padding: 0;
	}
	header section p:last-child {
		display: none;
	}
	/* hlavní blok */
	section#hlavni h1 {
		max-width: 100%;
		font-size: 211%;
	}
	section#hlavni p {
		display: none;
	}
	/* pilíře */
	section#pilire {
		flex-direction: column;
		gap: 1rem;
	}
	section#pilire article {
		max-width: 100%;
	}
	/* novinky */
	section#novinky div#clanky {
		gap: 2rem;
	}
	section#novinky article {
		flex-direction: column;
	}
	section#novinky article h3 {
		margin-top: -1.5rem;
	}
	/* newsletter */
	section#newsletter form {
		flex-direction: column;
	}
	section#newsletter form input[type="email"] {
		text-align: center;
	}
	/* tým, medailonek */
	div.wp-block-columns.tym div.wp-block-column:first-child a:last-child,
	div.wp-block-columns.vedeni div.wp-block-column a:last-child {
		display: block;
		padding-top: 30px;
		padding-left: 0 !important;
		background-position: top center !important; 
	}
}
