@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root {
  --bold: #1e2126;
  --text: #454e5c;
  --modra_hlavni: #175ee6;
    --modra_pozadi: #ebf1fd;
    --modra_ramecek: #d4e0fb;
  --fialova_hlavni: #8e5bf9;
    --fialova_pozadi: #e9e6fd;
    --fialova_ramecek: #d1c9fd;
  --zelena_hlavni: #00a0e2;
    --zelena_pozadi: #dcfae4;
    --zelena_ramecek: #bbf4ca;
  --zluta_hlavni: #c98f1e;
    --zluta_pozadi: #fdf8be;
    --zluta_ramecek: #fcef84;
  --cervena_hlavni: #ab1e18;
    --cervena_pozadi: #fcf1f0;
    --cervena_ramecek: #fadfde;
  --sediva_hlavni: #424b59;
    --sediva_pozadi: #f1f2f5;
    --sediva_ramecek: #e8e8eb;
  --ramecek: #e8e8eb;
  --placeholder: #94949f;
  --sidebar-width: 270px;
  --pozadi: white;
  --zbarva: #00a0e2;
	--hbarva: #1a83b7;
	--sirka_max: 1400px;
  --menu-sirka-mobil: 300px;
  --barva-pozadi: #fff;
}

html, body{
  height: 100%;  
  margin: 0;
  padding: 0;
  scroll-behavior: auto;
}
 
body{
  font-family: "Poppins", sans-serif;
  font-optical-sizing: auto;
  color: #4a4c54;
  background: var(--pozadi);
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  box-sizing: border-box;
}

main.obsah {
  flex: 1;
  padding: 0px;
}

.uzaver{
	width: 100%;
	clear: both;
}

.stred{
	max-height: 100vh;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

#admin-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#admin-content {
  display: flex;
  flex: 1;
}

.paticka {
  width: 100%;
  background: var(--zbarva, #0e3d54);
  color: white;
  display: block;
  border-top: 5px solid #083047;
  font-size: 15px;
}

.paticka .cont {
  width: var(--sirka_str, 1200px);
  margin: 50px auto;
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.paticka .cont .loga img {
  width: 180px;
  margin-bottom: 30px;
  filter: brightness(0) invert(1);
}

.paticka .cont p {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 15px;
  color: #7cbad8;
  margin-bottom: 10px;
}

.paticka .cont .email,
.paticka .cont .cislo,
.paticka .cont .adresa {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  line-height: 150%;
  padding-left: 25px;
}

.paticka .cont .email {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='icon' width='15' height='15' viewBox='0 0 24 24' stroke='%23eaeaea' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16v16H4z'/%3E%3Cpath d='M4 4l8 8 8-8'/%3E%3C/svg%3E") no-repeat left center;
}

.paticka .cont .cislo {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='icon' width='15' height='15' viewBox='0 0 24 24' stroke='%23eaeaea' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92V21a2 2 0 0 1-2.18 2 19.74 19.74 0 0 1-8.63-3.08A19.74 19.74 0 0 1 2 5.18 2 2 0 0 1 4 3h4.09a2 2 0 0 1 2 1.72c.13 1.11.4 2.18.78 3.21a2 2 0 0 1-.45 2.11l-1.27 1.27a16 16 0 0 0 6.14 6.14l1.27-1.27a2 2 0 0 1 2.11-.45 17.05 17.05 0 0 1 3.21.78A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") no-repeat left center;
}

.paticka .cont .socky {
  margin-top: 15px;
}

.paticka .cont .socky a {
  display: inline-block;
  width: 40px;
  height: 40px;
  text-align: center;
  padding-top: 8px;
  border-radius: 5px;
  margin-right: 5px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 18px;
  transition: background 0.2s ease;
}

.paticka .cont .socky a:hover {
  background: rgba(255, 255, 255, 0.3);
}

.paticka .cont .normalni a {
  display: block;
  color: white;
  text-decoration: none;
  font-weight: 600;
  line-height: 150%;
  margin-bottom: 6px;
}

.paticka .cont .normalni a:hover {
  color: #7cbad8;
}

.paticka .cont .velke {
  grid-column: span 4;
  padding-top: 30px;
  border-top: 1px solid #3d8bb2;
  margin-top: 20px;
  font-size: 14px;
  color: #ccc;
}

.paticka .cont .velke a {
  color: #7cbad8;
  text-decoration: none;
}

.paticka .cont .velke b {
  font-weight: 600;
}


/* === Menu Layout & Design === */
.hlavni-menu {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--barva-pozadi);
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Horní pruh */
.menu-top{
  width: 100%;
  background: var(--zbarva);
  color: white;
}
.menu-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: 0 auto;
  padding: 10px 20px;
}

.menu-left {
  display: flex;
  align-items: center;
}

.kontaktni-udaje {
  display: inline-block;
}

.kontaktni-udaje .email{
	display: inline-block;
	margin-right: 10px;
	padding-left: 25px;
	font-size: 14px;
	font-weight: 600;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='icon icon-tabler icon-tabler-mail' width='15' height='15' viewBox='0 0 24 24' stroke-width='2' stroke='%23eaeaea' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M3 7a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10z' /%3E%3Cpath d='M3 7l9 6l9 -6' /%3E%3C/svg%3E") left center no-repeat;
}

.kontaktni-udaje .cislo{
	display: inline-block;
	margin-right: 10px;
	padding-left: 25px;
	font-size: 14px;
	font-weight: 600;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='icon icon-tabler icon-tabler-phone' width='15' height='15' viewBox='0 0 24 24' stroke-width='2' stroke='%23eaeaea' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M5 4h4l2 5l-2.5 1.5a11 11 0 0 0 5 5l1.5 -2.5l5 2v4a2 2 0 0 1 -2 2a16 16 0 0 1 -15 -15a2 2 0 0 1 2 -2' /%3E%3C/svg%3E") left center no-repeat;
}

.kontaktni-udaje .doba{
	display: inline-block;
	margin-right: 10px;
	padding-left: 25px;
	font-size: 14px;
	font-weight: 600;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='icon icon-tabler icon-tabler-clock' width='15' height='15' viewBox='0 0 24 24' stroke-width='2' stroke='%23eaeaea' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0' /%3E%3Cpath d='M12 7v5l3 3' /%3E%3C/svg%3E") left center no-repeat;
}


.menu-wrap input[name="vyhledat_na_webu"]{
	border:0px;
	font-size: 0px;
  background: rgba(255, 255, 255, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='icon icon-tabler icon-tabler-search' width='14' height='14' viewBox='0 0 24 24' stroke-width='2' stroke='%23ffffff' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0' /%3E%3Cpath d='M21 21l-6 -6' /%3E%3C/svg%3E") center center no-repeat;
  cursor: pointer;
  width: 25px;
  height: 25px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.menu-wrap input[name="vyhledat_na_webu"]:hover{
	transform: scale(1.2);
}

.hamburger {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  margin-left: 10px;
  cursor: pointer;
  color: white
}

.menu-center {
  flex: 1;
  text-align: center;
}

.menu-right {
  position: relative;
}

.jazykovy-prepinac {
  cursor: pointer;
  position: relative;
  display: inline-block;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  line-height: 25px;
}

.jazykovy-prepinac .nabidka-jazyku {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  display: none;
  z-index: 1000;
  border-radius: 7px;;
}

.jazykovy-prepinac:hover .nabidka-jazyku {
  display: block;
}

.nabidka-jazyku li {
  list-style: none;
}

.nabidka-jazyku a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: var(--zbarva);
}

/* Dolní pruh */
.menu-bottom {
  display: flex;
  justify-content: space-between;
  width: 90%;
  margin: 0 auto;
  padding: 0px 0px;
  align-items: center;
  height: 100px;
}

.logo a {
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
  color: var(--barva-textu);
}

.logo img {
  height: 70px;
  display: inline-block;
}

/* 1. Úroveň - zůstává */
.hlavni-odkazy{
  height: 100%;
  display: flex;
  justify-content: flex-start; /* zarovná vlevo */
  flex-grow: 1;
}
.hlavni-odkazy ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  height: 100%;
  padding: 0;
  align-items: stretch;
}

.hlavni-odkazy .polozka{
  position: relative;
  display: inline-block;
  height: calc(100% - 15px);
  padding: 0px 15px 15px 15px;
  margin-top: 15px;
  border-radius: 10px 10px 0px 0px;
  transition: all 0.3s ease;
  cursor: pointer;
  border-bottom: 5px solid transparent;
}

.hlavni-odkazy .polozka > a{
  color: #323c42;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  margin-right: 0px;
  transition: all 0.3s ease;
  position: relative;

  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 10px;
  
}

.hlavni-odkazy .polozka.ma-submenu > a{
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23454e5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-chevron-down'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M6 9l6 6l6 -6' /%3E%3C/svg%3E") right center no-repeat;
  padding-right: 25px
}
.hlavni-odkazy .polozka:hover{
  /*background: var(--zbarva);
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;*/
  border-bottom: 5px solid var(--zbarva);
}

.hlavni-odkazy .polozka:hover > a{
  color: var(--zbarva);
} 

.hlavni-odkazy .polozka.ma-submenu:hover > a{
  color: white;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23454e5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-chevron-down'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M6 9l6 6l6 -6' /%3E%3C/svg%3E") right center no-repeat;
} 

.hlavni-odkazy .polozka.hovered{
  border-bottom: 5px solid var(--zbarva);
}

.hlavni-odkazy .polozka.hovered > a{
  color: var(--zbarva);
} 

.hlavni-odkazy .polozka.ma-submenu.hovered > a{
  color: var(--zbarva);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23454e5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-chevron-down'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M6 9l6 6l6 -6' /%3E%3C/svg%3E") right center no-repeat;
} 


/* 2. Úroveň - submenu jako vodorovný pruh */
.submenu,
.submenu-2 {
  display: none !important;
}

.submenu-wrapper {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 998;
}

.submenu-inner-wrapper{
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  width: 90%;
  margin: 0 auto;
}

.submenu-bar {
  display: none;
  opacity: 0;
  transition: opacity 300ms ease;
  background: var(--zbarva);
  padding: 20px 0px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 999;
  border-bottom: 1px solid white;
}

.submenu-bar.zobraz {
  display: flex;
  opacity: 1;
}

.submenu-blok {
  padding: 10px 15px;
  border-radius: 8px;
  max-width: 300px;
}

.submenu-nazev {
  font-weight: bold;
  margin-bottom: 13px;
  font-size: 1.1rem;
}

.submenu-nazev a{
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
  padding-bottom: 7px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
  display: inline-block;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-layout-dashboard'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M5 4h4a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1v-6a1 1 0 0 1 1 -1' /%3E%3Cpath d='M5 16h4a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1v-2a1 1 0 0 1 1 -1' /%3E%3Cpath d='M15 12h4a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1v-6a1 1 0 0 1 1 -1' /%3E%3Cpath d='M15 4h4a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1v-2a1 1 0 0 1 1 -1' /%3E%3C/svg%3E") left 5px no-repeat;
  padding-left: 25px;
}

.submenu-nazev a:hover {
  border-color: white;
}

.submenu-podstranky {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 350px;
}

.submenu-podstranky a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  transition: background 0.2s;
}

.submenu-podstranky a:hover {
  background: rgba(255, 255, 255, 0.4);
}

.submenu {
  width: 90%;
  margin: 0 auto;
}

/* Odkazy ve všech úrovních */
.submenu a,
.submenu-2 a {
  color: #000;
  text-decoration: none;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background 0.2s;
}

.submenu a:hover,
.submenu-2 a:hover {
  background: #ddd;
}

/* Mobilní menu */
/* základ */
.mobilni-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: var(--menu-sirka-mobil); /* např. 300px */
  height: 100vh;
  background: white;
  overflow-y: auto;
  transition: left 0.5s ease;
  z-index: 1000;
  padding: 30px 20px;
  box-shadow: 0px 0px 6px 0px rgba(161, 161, 161, 0.4);
}
#mobilniMenu nav a {
  display: inline-block;
  text-decoration: none;
  color: #323c42;
  font-weight: 800;
  font-size: 16px;
  padding: 8px 10px;
  transition: all 0.3s ease;
  border-radius: 5px;
  cursor: pointer;
}

/* hover */
#mobilniMenu nav a:hover {
  color: var(--hbarva);
}

/* aktivní odkaz */
#mobilniMenu nav a.aktivni {
  background: #f4f6fb;
  color: var(--hbarva);
  font-weight: 900;
}

/* submenu schované */
#mobilniMenu nav ul ul {
  margin-top: 5px;
  margin-left: 10px;
  padding-left: 10px;
  border-left: 2px solid #eee;
}

/* 2. úroveň */
#mobilniMenu nav ul ul > li > a {
  font-weight: 600;
  font-size: 15px;
  padding-left: 20px;
}

/* 3. úroveň */
#mobilniMenu nav ul ul ul {
  margin-left: 15px;
  padding-left: 10px;
  border-left: 1px solid #ddd;
}
#mobilniMenu nav ul ul ul > li > a {
  font-weight: 400;
  font-size: 14px;
  padding-left: 30px;
}

/* šipka pro li s podsubmenu */
#mobilniMenu nav li.ma-submenu{
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23454e5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M6 9l6 6l6 -6' /%3E%3C/svg%3E") right 5px no-repeat;
  padding-right: 25px;
  cursor: pointer;
}


#mobilniMenu .menu_zavri {
  display: block;
  height: 30px;
  width: 30px;
  cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='icon icon-tabler icon-tabler-x' width='24' height='24' viewBox='0 0 24 24' stroke-width='2.5' stroke='%232c2e35' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M18 6l-12 12' /%3E%3Cpath d='M6 6l12 12' /%3E%3C/svg%3E") center center no-repeat;
  position: absolute;
  top: 20px;
  right: 20px;
}

.mobilni-logo {
  margin-bottom: 20px;
  text-align: center;
}
.mobilni-logo img {
  max-width: 150px;
  height: 50px;
  margin-left: 20px;
  width: auto;
}

::-webkit-scrollbar {
  width: 10px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease;
}
::-webkit-scrollbar-track {
  background: white; 
  border-radius: 0px;
}
::-webkit-scrollbar-thumb {
  background: #dedde0; 
  border-radius: 5px;
  border: 3px solid white;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
  border: 2px solid white;
}