/* ==========================================================================
   NASTAVENÍ BAREV — jednoduchá úprava barev webu
   --------------------------------------------------------------------------
   Dokud jsou řádky níže ZAKOMENTOVANÉ (/* ... */), web má barvy tak, jak je
   šablona definovala původně (hodnota uvedená v komentáři je tato původní barva).

   JAK ZMĚNIT BARVU: odstraňte u řádku na začátku "/*" a na konci "*/" a změňte
   hodnotu. Změní se tím všechna místa, kde se daná barva používá.
   Barvy lze zadat jako #rrggbb, rgb(r,g,b) nebo rgba(r,g,b,průhlednost);
   průhlednost: 0 = zcela průhledné, 1 = plná barva (.6 = 60 % krytí).
   ========================================================================== */
:root {
  /* 1) ZÁHLAVÍ — barva a průhlednost pruhu s menu (RGBA); stejná barva je i na
        rozbalovaných podmenu a popiscích fotek. Původně: rgba(30,30,30,.6) */
  /* --c-header-bg: rgba(30, 30, 30, .6); */

  /* 2) ZÁPATÍ — barva a průhlednost pozadí zápatí (RGBA). Původně: rgba(30,30,30,.6) */
  /* --c-footer-bg: rgba(30, 30, 30, .6); */

  /* 3) TEXT V MENU — barva písma položek hlavního menu a podmenu. Původně: #ffffff */
  /* --c-menu-text: #ffffff; */

  /* 4) ZVÝRAZNĚNÍ — barva podtržení a textu aktivní/najeté položky menu (včetně
        nadřazených položek větve) a barva všech odkazů po najetí myší.
        Původně: rgb(242,203,19) */
  /* --c-accent: rgb(242, 203, 19); */

  /* 5) POZADÍ — barva pozadí stránky i obsahu (od bílé #ffffff po černou #000000).
        Původně: pozadí stránky #fcfcfc, pozadí obsahu #ffffff */
  /* --c-page-bg: #ffffff; */

  /* 6) TEXT — barva běžného textu na webu. Odkazy mají stejnou barvu jako okolní
        text a zvýrazní se až po najetí myší (viz bod 4). Původně: rgb(71,89,102) v obsahu */
  /* --c-text: rgb(71, 89, 102); */
}

/* ============================
   0) Proměnné (base + sémantika)
   — pokud není nastavena některá z proměnných --c-* výše, platí původní hodnota
   ============================ */
:root {
  /* Base / brand */
  --brand-primary: rgb(59,100,169);
  --brand-primary-strong: rgb(41,81,142);
  --brand-accent: rgb(0,204,255);
  --brand-accent-hover: rgb(102,224,255);
  --brand-warning: rgb(242,203,19);
  --brand-orange: rgb(240,147,0);
  --brand-orange-2: rgb(220,113,23);
  --brand-red: rgb(196,14,26);
  --brand-green: rgb(120,180,60);
  --brand-green-dark: rgb(55,145,75);

  --gray-0: #ffffff;
  --gray-5: #FCFCFC;
  --gray-50: #fdfcfb;
  --gray-100: #f2f2f2;
  --gray-150: #e9efef;
  --gray-200: rgb(223,223,223);
  --gray-700: rgb(121,128,133);
  --gray-750: rgb(74,79,82);
  --gray-770: rgb(71,89,102);
  --gray-800: rgb(60,60,60);

  --ui-soft: rgb(200,215,220);
  --ui-soft-2: rgb(200,215,230);
  --ui-blue-50: rgb(237,242,250);

  --overlay-60: rgba(30, 30, 30, .60);
  --overlay-90: rgba(30, 30, 30, .90);
  --white-50: rgba(255,255,255,.5);
  --white-75: rgba(255,255,255,.75);

  --topline: #5a8dac;
  --top-accent: #00ccff;

  --grad-orange-start: #ef9300; /* rgb(239,147,0) */
  --grad-orange-end: #ffc731;   /* rgb(255,199,49) */

  --black-2: rgb(48,48,48);
  --black-3: rgb(16,16,16);

  --zzt-bg: rgb(49,80,98);
  --news-blue: rgb(0,153,240);

  /* Sémantické */
  --body-bg: var(--c-page-bg, var(--gray-5));
  --content-bg: var(--c-page-bg, var(--gray-0));
  --body-text: var(--c-text, var(--gray-800));
  --heading-text: rgb(120,120,120);

  --link-hover: var(--highlight); /* odkazy po najetí = barva zvýraznění menu */

  --header-bg: var(--c-header-bg, var(--overlay-60));
  --header-text: var(--gray-0);

  --nav-link: var(--c-menu-text, var(--gray-0));
  --nav-link-hover: var(--c-menu-text, var(--gray-0));
  --nav-link-underline: var(--c-accent, rgba(65,100,175,1)); /* pův. stín */
  --nav-item-active: var(--c-accent, var(--brand-warning));

  --footer-bg: var(--c-footer-bg, var(--overlay-60));
  --footer-text: rgb(220,220,230);
  --footer-link: var(--gray-0);
  --footer-link-hover: var(--highlight);

  --btn-text: var(--gray-750);
  --btn-bg: var(--gray-0);
  --btn-border: var(--ui-soft);
  --btn-hover-bg: rgb(240,244,248);
  --btn-focus-bg: var(--ui-soft);
  --btn-focus-text: var(--gray-0);

  --btn-blue-text: var(--brand-primary);
  --btn-blue-border: var(--brand-primary);
  --btn-blue-hover-bg: rgb(205,214,232);
  --btn-blue-focus-bg: var(--brand-primary);
  --btn-blue-focus-text: var(--gray-0);

  --btn-orange-text: rgb(248,145,45);
  --btn-orange-border: rgb(248,145,45);
  --btn-orange-hover-bg: rgb(255,227,193);
  --btn-orange-focus-bg: rgb(248,145,45);
  --btn-orange-focus-text: var(--gray-0);

  --form-bg: var(--gray-0);
  --form-border: var(--ui-soft);
  --form-border-hover: var(--brand-warning);
  --form-border-focus: var(--brand-primary-strong);
  --form-text: var(--gray-770);
  --form-placeholder: var(--ui-soft);

  --steps-dot: var(--brand-primary);
  --steps-connector: var(--brand-primary);
  --steps-future: var(--ui-soft);

  --card-border: var(--gray-0);
  --card-border-hover-left: var(--gray-0);
  --card-border-hover-right: var(--brand-primary-strong);
  --card-title-hover: var(--gray-700);
  --card-bg: var(--gray-0);
  --card-bg-alt: var(--gray-50);

  --table-border: rgba(200,215,220,1);
  --table-head-bg: var(--ui-soft-2);
  --table-head-text: var(--gray-750);
  --table-row-odd-bg: rgb(252,253,254);
  --table-row-hover-bg: rgba(200,215,220,0.25);
  --table-text: var(--gray-750);

  --slider-text: var(--ui-blue-50);
  --slider-chip-bg: rgba(41,81,142,0.75);
  --slider-chip-bg-hover: var(--brand-primary-strong);
  --slider-chip-arrow-grad-start: var(--brand-orange-2);
  --slider-chip-arrow-grad-end: var(--brand-red);
  --slider-btn-text: var(--gray-0);
  --slider-btn-bg: var(--white-50);
  --slider-btn-hover-text: var(--brand-orange);
  --slider-btn-hover-bg: var(--gray-0);

  --gradient-line: linear-gradient(to right, var(--grad-orange-start) 0%, var(--grad-orange-end) 100%);

  --highlight: var(--c-accent, var(--brand-warning));
  --muted: var(--gray-700);
  --muted-2: var(--gray-750);
  --muted-3: var(--c-text, var(--gray-770));
}

/* ============================
   1) Tvůj původní CSS s proměnnými
   ============================ */
* { margin:0; padding:0; }

html, body {
  height:100%;
  margin:0;
  padding:0;
  font-family:'Open Sans', sans-serif;
  font-size:15px;
}

body {
  height:auto;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  font-size:1em;
  text-align:center;
  color: var(--body-text);
  background: var(--body-bg); /* rgb(245,243,237); url(sedost.jpg) repeat-y center top / 100% auto */
  /* background-attachment:fixed; */
}

.line li {
  width: 2em;
  height: 2em;
  margin: 0 1em;
  padding: 0;
  border-radius: 1em;
  display: inline-block;
  position: relative;
  text-align: center;
  line-height: 2em;
  cursor: pointer;
  color: var(--gray-0);
  background: var(--steps-dot);
}
ul.line { text-align: center; }
.line li::before {
  width: 4em;
  height: 0.2em;
  position: absolute;
  top: 0.9em;
  left: -4em;
  z-index: -1;
  content: "";
  background: var(--steps-connector);
}

#reference-awrap img {
  width:auto; height:auto;
  max-width:200px; max-height:100px;
  margin:2em;
  -webkit-filter: grayscale(100%); filter: grayscale(100%);
  opacity: .7; transition: all .7s ease;
}
#reference-awrap img:hover {
  -webkit-filter: grayscale(0%); filter: grayscale(0%);
  opacity: 1;
}

.hp-sect h2{
  position:absolute; top:-2.5em; left:0;
  background: var(--topline);
  color: var(--gray-0);
  padding:.5em; font-size:1em; text-transform:uppercase;
}
.hp-sect a:hover h2{ background: var(--top-accent); }
.hp-sect{ margin-top:4em!important }

.line li:first-child::before { display: none; }
.line .active { background: var(--steps-dot); }
.line .active ~ li { background: var(--steps-future); }
.line .active ~ li::before { background: var(--steps-future); }

header ul{ list-style-type:none }
section ul { margin-left:2em; }
#maindiv { min-height: 85vh; flex:1 0 auto; }

.bgbase,#ads {
  width:100%;
  background: rgba(253,252,251,.9);
}
#ads{ padding-top:2em }

.bgcolor {
  width:100%;
  min-height:3vh;
  background: var(--gray-150);
}

section .wrapped ul, section ul {
  margin: .5em 0 1.5em 0;
  padding:0;
  /* border-left: 2px solid var(--brand-primary-strong); */
  line-height:1em; text-align:left; list-style-type:none;
}


section .wrapped ul ul ul, section ul ul ul { border-left: 2px solid var(--brand-warning); }
section .wrapped ul li, section ul li { padding:.75em 1.5em; }
section .wrapped ul li:before, section ul li:before {
  margin-right:.75em; content:""; color: var(--brand-accent);
}

section .searchResults ul, .searchResults ul { border:0; list-style-type:none; }
section .searchResults ul li:before, .searchResults ul li:before { content:""; }

section { padding-bottom:3em; background: var(--content-bg); }
.hp-banner section{ background:transparent; }

.wrapped, section {
  width:100%; max-width:75em; margin:0 auto; text-align:justify; position:relative;
}
.wrapped:after, section:after { display:block; clear:both; content:""; }

/* #maindiv section { ... } */
#maindiv section { padding:1.5em 0; }
#maindiv.nehp section{ padding:1.5em 1em; }

section p { margin-bottom:1.2em; }
p.podtitulek { margin-top:-2.1em; margin-bottom:2.5em; font-style:italic; }

section iframe { margin-top:1.5em; border:0; background: var(--gray-0); }

.odkaz { font-size:1.2em; color: var(--brand-accent); }

.podstranky:hover >.circle { box-shadow: inset 0 0 0 30px rgba(0,0,0,.25); }
.podstranky:hover h3 { color: var(--gray-700); }

.podstranky {
  min-height:10em; margin:3em 0; padding-bottom:1.5em;
  border-left:2px solid var(--gray-0); border-right:2px solid var(--gray-0);
  display:block; position:relative; overflow:none;
  font-weight:300; text-align:left; text-decoration:none; color:#000;
}
.podstranky:after { overflow:auto; zoom:1; }
.podstranky .circle {
  width:10em; height:10em; margin-right:2em; display:block; position:relative; float:left; overflow:hidden;
  line-height:15em; transition:all .3s ease 0s;
  box-shadow: inset 0 0 0 10px rgba(0,0,0,.25);
}
.circle img {
  width:10em; height:10em; margin:0; position:absolute; left:0; top:0; bottom:0; right:0;
  vertical-align:middle; line-height:15em; text-align:center; z-index:-1;
}
.podstranky:hover { border-right:2px solid rgb(32,50,87); border-left:2px solid var(--gray-0); }
.podstranky .circle { margin-right:5em; }
.podstranky .odkaz { float:right; }
.p-content { padding-left:2em; padding-right:2em; }
.podstranky:hover .odkaz { color: var(--gray-700); }

/* Odkazy: barva okolního textu, po najetí barva zvýraznění (--c-accent) */
a { color: inherit; }
a:hover { color: var(--highlight); }

.bgwhite{ background:var(--body-bg); min-height:10em }

h1, h2, h3, h4, h5, h6 {
  margin:0 0 .75em 0; padding:0; word-wrap:break-word; text-align:left; line-height:1.5em; color: var(--heading-text);
}
h1{ font-size:2.25em; font-weight:400; }
h2{ font-size:1.8em;  font-weight:400; }
h3{ font-size:1.6em;  font-weight:300; }
h4{ font-size:1.4em;  font-weight:300; }
h5{ font-size:1.25em; font-weight:300; }
h6{ font-size:1.1em;  font-weight:300; }
h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong { font-weight:700; }

.slider-content  h1 { margin-top:5em; }

p {
  margin:0 auto; font-size:1em; font-weight:300; line-height:1.5em; text-align:left; color: var(--body-text);
}
p strong{ font-weight:700; }

a, a:link, a:hover, a:active, a:visited { text-decoration:none; }

/* BUTTONS */
.btn, .button/*, button*/, section input[type=submit], section #sendFormX input[type=submit] {
  width:auto; margin:1.5em; padding:.75em 1.25em;
  border:1px solid var(--btn-border);
  border-radius:5px; display:inline-block; vertical-align:middle; text-align:center;
  text-decoration:none; font-weight:400; font-size:1.25em; cursor:pointer; transition:all .3s ease 0s;
  color: var(--btn-text); background: var(--btn-bg);
}
.btn:hover, .button:hover/*, button:hover*/, section input[type=submit]:hover, section #sendFormX input[type=submit]:hover {
  border:1px solid var(--btn-border); color: var(--btn-text); background: var(--btn-hover-bg);
}
.poptavkovy_formular {
  min-height:5em; padding:.5em 1em 1em 1em; border:2px solid var(--btn-border);
  border-radius:5px; text-align:center !important;
}
.poptavkovy_formular p { text-align:center; }
#sendFormX .strana { display:block; text-align:center; }
#sendFormX { position:relative; display:block; }

.btn:focus, .button:focus/*, button:focus*/, section input[type=submit]:focus, section #sendFormX input[type=submit]:focus,.radio-input:checked+label {
  color: var(--btn-focus-text); background: var(--btn-focus-bg);
}
.radio-input{ display:none; }

.btn-orange {
  border:1px solid var(--btn-orange-border); color: var(--btn-orange-text);
}
.btn-orange:hover {
  border:1px solid var(--btn-orange-border); color: var(--btn-orange-text); background: var(--btn-orange-hover-bg);
}
.btn-orange:focus {
  border:1px solid var(--btn-orange-border); color: var(--btn-orange-focus-text); background: var(--btn-orange-focus-bg);
}

.btn-blue {
  border:1px solid var(--btn-blue-border); color: var(--btn-blue-text);
}
.btn-blue:hover {
  background: var(--btn-blue-hover-bg);
  border:1px solid var(--btn-blue-border);
  color: var(--btn-blue-text);
}
.btn-blue:focus {
  border:1px solid var(--btn-blue-border);
  color: var(--btn-blue-focus-text);
  background: var(--btn-blue-focus-bg);
}

section input, section textarea, section #sendFormX input, section #sendFormX textarea {
  padding:.75em; margin:.75em 0;
  background: var(--form-bg);
  border:1px solid var(--form-border);
  color: var(--form-placeholder);
  transition: all .5s ease 0s;
  width:auto;
}
section input:hover, section textarea:hover, section #sendFormX input:hover, section #sendFormX textarea:hover {
  border:1px solid var(--form-border-hover); color: var(--form-text);
}
section input:focus, section textarea:focus, section #sendFormX input:focus, section #sendFormX textarea:focus {
  border:1px solid var(--form-border-focus); color: var(--form-text);
}

section form, section #sendFormX { width:auto; margin:0 auto; }
section #sendFormX div { background:none !important; }
section #sendFormX h2 { margin-bottom:.5em; padding:1em; border-bottom:1px solid var(--form-border); }

.flex {
  display:-webkit-box; display:-moz-box; display:-ms-flexbox; display:-webkit-flex; display:flex;
}

/* HEADER */
header .logo {}
header .logo img { max-height:4em; margin:auto; opacity:1; transition: all 2s easing; }
header .logo .logo-read { opacity:1; }
header {
  width:100%; max-width:100%; max-height:6.25em; min-height:6.25em;
  position:fixed; top:0; left:0; z-index:100;
  background: var(--header-bg);
  text-align:center;
}
header .gradient-line { height:2px; }

iframe{ max-width:100%; }

/* NAVIGATION */
nav { display:flex; }
nav  ul {
  max-height:none; margin:0; padding:0; display:inline-block; position:relative; list-style:none;
  transition:max-height .2s ease-out; background:transparent; text-align:right; flex-grow:1;
}
nav  ul > li{ margin-bottom:0; text-align:center; display:inline-block; }
nav li{ margin:0; padding:0; }
nav li a{
    font-size:1.04em;
  padding:3.4em .75em 1.28em .75em; display:block; text-decoration:none; font-weight:100; text-transform:lowercase; white-space:nowrap;
  color: var(--nav-link);
  
}
nav li a:hover { color: var(--nav-link-hover); }
nav li li a:hover { color: var(--ui-blue-50); }
nav li li a { color: var(--nav-link); }

nav li a:hover, nav .menu-btn:hover {
  box-shadow: inset 0 -5px 0 0 var(--nav-link-underline);
}
nav li:hover > a , nav li .active, nav li .family{
  box-shadow: inset 0 -4px 0 0 var(--highlight); color: var(--nav-item-active);
}

nav ul ul {
  padding:0; display:none; position:absolute; background:none;
}
nav  ul > li > ul:before {
  margin-left:-10px; display:block; content:" "; position:absolute; top:-10px; left:2em;
}
nav ul li:hover > ul { display:block;     border-top: 2px solid var(--highlight); margin-top: -2px; }
nav li li { position:relative; float:none; background: var(--header-bg); }
nav li li a { text-transform:none; }
nav ul ul ul { border:none; display:none; position:relative; }
nav li li li a { margin-left:1.5em; }
nav li li:hover { background: var(--overlay-90); }

/* MENU ICON */
nav .menu-icon { display:none; }
nav .menu-btn { display:none; }

/* LOGO */
.logo { display:inline-block; line-height:6.25em; flex:1; }
.logo p { margin-left:.375em; font-size:1em; font-weight:700; text-transform:uppercase; text-decoration:none; color: var(--brand-primary-strong); }
.logo img { margin-right:.75em; }
.logo img, .logo p { display:inline-block; vertical-align:middle; }
a.logo:hover p { color: var(--gray-700); }
header .wrapped.flex { position:relative; }

.search {
  width:100%; position:absolute; right:0; top:50%; transform: translate(0,-50%); -moz-transform:translate(0,-50%); -webkit-transform:translate(0,-50%);
}
.search label {
  width:3em; height:3em; position:absolute; right:0; top:50%; transform:translate(0,-50%);
  -moz-transform:translate(0,-50%); -webkit-transform:translate(0,-50%);
  z-index:500; display:inline-block; text-align:center; line-height:3em;
  box-shadow: inset 0 0 0 1px var(--ui-soft);
  cursor:pointer; color: var(--brand-primary-strong); background: var(--gray-0);
}
.search i { font-size:1.5em; }
.search input {
  width:1px; height:46px; padding:0 1em; border:1px solid var(--ui-soft); position:absolute; z-index:100;
  transition: width .4s ease-in-out;
}
.search input:focus {
  width:25%;
  box-shadow: 0 0 15px 0 rgba(200,215,220,0.5);
}

center{ clear:both }
/* Úvodní foto: celý blok má vždy poměr stran 3:2 a fotka ho vyplní celý (object-fit:cover;
   fotka v poměru 3:2 je vidět celá, jiný poměr se na okrajích mírně ořízne).
   Začíná u horního okraje stránky pod průhledným záhlavím; záporný spodní okraj
   ruší horní okraj #maindiv, takže obsah navazuje přímo pod fotkou. */
#pani{
  display:block; width:100%; height:auto; flex:0 0 auto;
  margin-top:0; margin-bottom:-6.25em;
}
#pani.pani-multi{ position:relative; }
#pani.pani-multi .pani-img{ width:100%; height:auto; display:none; }
#pani.pani-multi .pani-img.active{ display:block; }
#pani.pani-multi .pani-dots{
  position:absolute; left:50%; bottom:1em; transform:translateX(-50%);
  display:flex; gap:.6em; z-index:10;
}
#pani.pani-multi .pani-dot{
  width:.8em; height:.8em; padding:0; border:0; border-radius:50%;
  background: var(--header-bg); opacity:.5; cursor:pointer;
}
#pani.pani-multi .pani-dot.active{ opacity:1; }
@media (max-width: 40em) {
  #pani.pani-multi .pani-dots{ bottom:.6em; gap:.45em; }
  #pani.pani-multi .pani-dot{ width:.6em; height:.6em; }
}

/* SLIDER */
#slides-hp {
  width:100%; min-height:100%; height:auto; position:relative; left:0; top:0; z-index:0;
  background-color: rgba(178,175,168,1);
  background-image:url(sedost.jpg); background-size:cover; background-repeat:no-repeat; background-position:center center;
}
.slider {
  width:100%; height:auto; padding-top:.01em; position:relative; left:0; top:0;
}
.slider, #slides-hp {
  transition: all 1s linear; text-align:center; overflow:visible; visibility:visible; opacity:1; background-size:cover; background-position:center;
}
.slider.hidden{ visibility:hidden; opacity:0; }
.overlay{ width:100%; position:relative; top:0; left:0; display:block; }

.slider-content {
  position:relative; top:25%; text-align:center; text-decoration:none; color: var(--slider-text);
}
.w49 { width:49%; min-width:350px; display:inline-block !important; }
.slider-content:hover { color: var(--gray-0); }

.slider-btn {
  width:3em; height:3em; display:inline-block; position:absolute; top:50%; z-index:1;
  font-weight:700; line-height:3em; text-align:center; cursor:pointer;
  color: var(--slider-btn-text); background: var(--slider-btn-bg);
}
.sbtn-left { left:0; border-top-right-radius:3px; border-bottom-right-radius:3px; }
.slider-btn:hover { color: var(--slider-btn-hover-text); background: var(--slider-btn-hover-bg); }
.sbtn-right { right:0; border-top-left-radius:3px; border-bottom-left-radius:3px; }

.slider-content.wrapped.nohp {
  position:relative; top:50%; transform: translateY(-50%); -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%);
}
.slider-headline { color: var(--ui-blue-50); }
.slider a.slider-headline { display:inline-block; text-decoration:none; }
.slider a.slider-headline p {
  width:auto; min-height:2em; padding-left:.75em; padding-right:3em; position:relative;
  font-size:1.5em; font-weight:700; line-height:2em;
  color: var(--ui-blue-50); background: var(--slider-chip-bg);
}
.slider a.slider-headline:hover p { background: var(--slider-chip-bg-hover); }
.slider a.slider-headline p:after {
  width:2em; height:100%; margin-left:.75em; position:absolute; bottom:0; right:0; display:inline-block;
  content:"\f362"; font-family:"Ionicons"; text-align:center;
  background: linear-gradient(to bottom, var(--slider-chip-arrow-grad-start) 0%, var(--slider-chip-arrow-grad-end) 100%);
}

.slider-headline-buttons {
  width:100%; position:absolute; bottom:-.5em; align-content:space-between;
}
.slider-headline-buttons a {
  width:100%; max-width:100%; padding:.75em 1.5em; border-right:1px solid var(--gray-0); border-bottom:1px solid var(--gray-0);
  display:block; font-weight:300; text-decoration:none; background: var(--white-75);
}
.slider-headline-buttons a:hover, .slider-headline-buttons a.dot-active {
  font-weight:600; color: var(--brand-primary-strong); background: var(--gray-0);
}

section.hp {
  min-height:5em; padding:1em; border-top-right-radius:.25em; border-top-left-radius:.25em; position:relative; background: var(--gray-0);
}
section table {
  margin-bottom:1.5em; border-collapse:collapse; border:none; border-top:1px solid var(--table-border); background: var(--gray-0);
}
section table.noborder { width:100%!important; }
section table.noborder tr td:first-child { width:20%; min-width:20%; }

section th, section td { border-bottom:1px solid var(--table-border); }
section th {
  padding:.5em; border-left:1px solid var(--ui-soft-2); border-right:1px solid var(--ui-soft-2);
  font-weight:600; font-size:1.5em; text-shadow:0 0 1px var(--ui-soft-2);
  color: var(--table-head-text); background: var(--table-head-bg);
}
section td {
  padding:.5em 1em; border-right:1px solid var(--ui-soft-2); font-size:1em; text-shadow:0 0 1px rgba(255,255,255,0.1);
  color: var(--table-text);
}
section tr:nth-child(odd) { background: var(--table-row-odd-bg); }
section td:first-of-type { border-left:1px solid var(--table-border); }
section tr { transition: background .3s, box-shadow .3s; }
section tr:hover { font-weight:600; background: var(--table-row-hover-bg); }

.table-green { background-color: var(--brand-green); }
.table-green tr:hover { background-color: var(--brand-green-dark); }
.table-black { background-color: var(--black-2); }
.table-black tr:hover { background-color: var(--black-3); }
.table-black th { color: var(--ui-blue-50); }

.gradient-line {
  width:100%;
  background: var(--grad-orange-start);
  background: linear-gradient(to right, var(--grad-orange-start) 0%, var(--grad-orange-end) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ef9300', endColorstr='#ffc731',GradientType=1);
}

.circle {
  width:3em; height:3em; margin:0 auto; border-radius:50%;
  vertical-align:middle; line-height:3em; text-align:center;
}

footer {
  width:100%; height:auto; margin-top:0; padding-top:2em; padding-bottom:2em; text-align:center;
  background: var(--footer-bg) none repeat scroll 0 0;
  color: var(--footer-txt);
}
footer p{
  color: var(--footer-text);
}
footer .wrapped, footer p, footer ul, footer li, footer h1, footer h2, footer h3, footer h4, footer h5, footer h6 { text-align:center; }
footer .w50 strong { color: var(--ui-blue-50); }
footer .w50 p { font-weight:300; color: var(--footer-text); }
footer .w50 a.reg { color: var(--brand-warning); }
footer .w50 a.reg:hover { color: var(--brand-primary-strong); }
footer .w50 strong, footer .w50 a.reg { font-weight:400; font-size:1.125em; }
footer .w50 strong, footer .w50 p, footer .w50 a.reg { line-height:2.25em; }
footer .w50 p strong { font-weight:400; font-size:1em; color: var(--ui-blue-50); }

/* news */
.news {
  width:100%; max-height:12em; border-right:1px solid var(--ui-soft); margin-bottom:3em; display:block; overflow:hidden;
  text-decoration:none; transition: all .5s ease 0s;
}
.news.flex { display:flex; }
.news:hover { border-right:1px solid var(--brand-primary-strong); }
.news:hover .news-content h3 { color: var(--brand-red); }
.news:hover .news-img img { transition: all .5s ease 0s; -webkit-filter:none; filter:none; }
.news-img {
  width:14em; min-width:14em; max-width:100%; overflow:hidden; text-align:center; background: var(--gray-200);
}
.news-img img { -webkit-filter: grayscale(100%); filter: grayscale(100%); vertical-align:middle; object-fit:cover; }
.news-content { padding:0 1.5em; }
.news-content p { max-height:12em; overflow:hidden; }
.news-all-btn { float:right; font-weight:700; text-transform:uppercase; }

/* layout helpers */
.main-cat:after, .online-servis:after, .partneri:after { display:block; clear:both; content:""; }
.main-cat, .online-servis, .partneri { margin:0 auto; }
.partneri p { margin:0; display:inline; }
.partneri br { display:none; }

.mozaika{
  margin:1.5em 0; line-height:0;
  -webkit-column-count:4; -webkit-column-gap:1.5em;
  -moz-column-count:4; -moz-column-gap:1.5em;
  column-count:4; column-gap:1.5em;
}
/* Fotogalerie: 3 sloupce, fotky se řadí po řádcích (zleva doprava, shora dolů).
   Rozložení do sloupcového "zdiva" dělá Masonry (viz default.php); bez JS zůstane
   plovoucí varianta se stejným pořadím. */
.fotogalerie{ line-height:0; position:relative; }
.fotogalerie:after{ content:""; display:block; clear:both; }
.fotogalerie a{ width:33.333%; float:left; box-sizing:border-box; }
#sec-txt .fotogalerie a{ width:100%; }



.fotogalerie a { overflow:hidden; display:block; padding:.2em; position:relative;  z-index:0; }
.fotogalerie a img { width:100%; height:auto; z-index:0; }
/* Rámeček po najetí: ostré rohy (box-shadow sleduje obdélník obrázku; drop-shadow rohy zaoblil) */
.fotogalerie a:hover > img { -webkit-filter: grayscale(1); filter: grayscale(1); box-shadow: 0 0 0 1px var(--body-text); }
.fotogalerie a span { display:none;
    background: var(--header-bg);
    color: var(--header-text);
 z-index:2;
        padding: 1em 1em;
    position: absolute;
    bottom: .2em;
    left: .2em; right: .2em;
    box-sizing: border-box;
        line-height: normal;
}

.fotogalerie a:hover > span { display:block;  }





.w30 { text-align:left; }
#hp-bloky .floatRight{ float:right; }
.bgTransparent{ background:transparent!important; }

.w30 p { text-align:left !important; }
.w30 strong { font-size:1.5em; font-weight:600; }
a.w30 { text-decoration:none; }

.main-cat .w30 strong { color: var(--brand-primary-strong); }
.online-servis .w30 strong { color: var(--brand-red); }
.w30 p { text-align:center; }

.main-cat { margin-top:1.5em; }
.main-cat .w30 .circle { margin-bottom:.75em; border:2px solid var(--ui-soft); }
.main-cat .w30 .circle i { font-size:1.5em; color: var(--brand-warning); }
.main-cat .w30:first-of-type .circle i { color: var(--brand-red); }
.main-cat .w30:last-of-type .circle i { color: var(--brand-primary-strong); }

.online-servis .w30:nth-child(-n+3) { border-bottom:1px solid var(--ui-soft); }
.online-servis .w30:nth-child(2), .online-servis .w30:nth-child(5) {
  border-right:1px solid var(--ui-soft); border-left:1px solid var(--ui-soft);
}

.partneri a {
  margin:.75em; padding:.75em; border:1px solid rgba(200,215,220,.5); display:inline-block; vertical-align:middle; text-align:center;
}
.partneri a img { max-width:100%; max-height:6em; vertical-align:middle; }
.partneri a:hover { border:1px solid var(--ui-soft); transition: all .5s ease 0s; }

.blogItem { text-decoration:none; text-align:left; }
.blogItem:hover blockquote { margin-bottom:-1px; border-bottom:2px solid var(--brand-green-dark); color:#000; }
.blogItem div { width:100%; max-width:61.25em; margin:0 auto; padding-left:1.5em; }
.blogItem h2 { padding:0; text-align:left; }

blockquote { margin:0; padding:1.5em 0; border-bottom:1px solid var(--gray-0); }
.premedis-logo { min-height:50px; padding-top:4em; background:url("../img/default/logo.png") no-repeat top center; background-size:auto 3.5em; }
.premedis-logo span { min-width:12px; padding-bottom:10px; display:inline-block; color: var(--ui-blue-50); }
.premedis-logo .logo-active { color: var(--brand-orange); background:url("sipka-logo.png") no-repeat bottom center; }
.premedis-logo div { margin-left:-5em; margin-right:-5em; display:none; }
.premedis-logo .logo-show { display:block; color: var(--muted); }

footer .w20 a { text-decoration:none; color: rgb(125,135,145); }

.w20{ width:20%; min-height:4em; margin-bottom:1em; float:left; text-align:left; }
.w25, .partneri a{ width:25%; float:left; }
.partneri a{ width:19.85%; }
.w30{ width:33.333%; float:left; }
.w50{ width:50%; float:left; }
.w70{ width:66.666%; float:left; }

.w20.w25, .w30, .w50,.w70, .partneri a {
  max-width:100%; display:block; transition: all .5s ease 0s;
}

.cleni-abc{ margin:1.5em 0; }
.abc {
  margin:.125em 0; padding:.125em .5em; border:1px solid var(--ui-soft);
  border-radius:4px; display:inline-block; text-decoration:none;
}
.abc:hover { border:1px solid var(--brand-primary-strong); }

.lineleft { padding-left:1em; border-left:.5em solid var(--brand-orange); }
.lineleft p { margin:.2em; }
#maindiv .w20 { width:30%; min-height:8em; }

/* Odkazy v sekci */
section a:link, section a:visited, section a:active { color: inherit; }
section a:hover { color: var(--highlight); }
section a, section a:link, section a:hover, section a:active, section a:visited { text-decoration:none !important; }

.section-content { padding:0 1em; }
section p { margin:0; padding:.25em; font-size:100%; color: var(--muted-3); }
section ul { margin:.5em 0 .5em 1em !important; padding:0 !important; list-style-type:disc !important; }
section ul li { margin:0 !important; padding:0 !important; font-size:1em !important; line-height:1.5em !important; color: var(--muted-3) !important; }
section ul li::before { content:"" !important; margin-right:0 !important; }

.w100{ width:100%; }
.article {
  margin:1em; border-radius:5px; background: var(--gray-0); height:28em;
}
.article a .img{ width:100%; height:15em; background:#f2f2f2 url(); background-size:cover; background-position:center center; }
.article a:hover{ background: var(--gray-50); }

.video{ overflow:hidden; padding:0; }
.video img{ display:block; margin:0 auto; min-width:110%; min-height:90%; }
#maindiv section .w70  .video{ width:80%; float:right; }
.hp-banner .w70{ position:relative; height:23em; }

.zzt h3, .vzt h3 {
  -ms-transform: rotate(270deg); -webkit-transform: rotate(270deg);
  transform-origin:100% 100%; transform: rotate(270deg) translateX(100%);
  bottom:0; right:1em; position:absolute; white-space:nowrap; padding-left:2em; color:#fff; text-transform:uppercase;
}
.zzt{ background: var(--zzt-bg); width:10%; height:100%; position:absolute; display:block; left:0; bottom:0; }
.zzt:hover, .vzt:hover{ background: var(--topline); }
.vzt{ background: var(--top-accent); width:10%; height:100%; position:absolute; display:block; left:10%; bottom:0; }

#maindiv section .video{
  position:relative; display:inline-block; width:100%; height:23em; overflow:hidden;
  background-position:center center; background-size:cover; margin-right:1em;
}
.video-top{
  position:absolute; top:0; left:0;
  background:#FF6600 url(play-w-s.png) no-repeat left center;
  color:#fff; text-transform:uppercase; padding:.8em .8em .8em 2.2em; font-size:.8em;
}
#maindiv section .video .overVideo{
  background: rgba(0,0,0,.65) url("play.png") no-repeat 1em center;
  display:block; left:0; padding:0; position:absolute; right:0; width:100%; bottom:-10em; transition:all .7s;
}
#maindiv section .video .overVideo h3{ color: var(--brand-accent); margin:1em 1em 1em 5em; transition:all .7s; }
#maindiv section .video:hover .overVideo { bottom:0; }

.w100 .article { background:none; }

.article a {
  width:100%; height:100%; min-height:26em; padding:1em; display:block; box-sizing:border-box;
}
.article .ad { padding:0; }
.span-ad1 { width:270px; height:270px; margin:0 auto; display:block !important; text-align:center; }
.span-ad2 { width:728px; margin:0 auto; display:block !important; max-width:100%; text-align:center; }
.span-ad2 * { max-width:100%; }

.article a, .article a:link, .article a:hover, .article a:active, .article a:visited { text-decoration:none !important; }
.article span { width:100%; display:block; }
.article span:after { content:""; clear:both; display:block; }
.article span h3, .overVideo h3 {
  width:77%; display:inline-block; clear:none !important; font-size:1.25em; text-align:left; color: var(--news-blue);
}
.article span time, .overVideo time {
  width:17%; display:inline-block; clear:none !important; font-size:1em; text-align:right; color: var(--muted-3);
}
.article p { margin:0; padding:.25em; font-size:100%; color: var(--muted-3); }
.article *{ max-width:100%; }

#hp-bloky{ margin-top:45vh; position:relative; min-height:20vh }
#hp-ad,#span-ad2 p, span-ad1 p{ padding:0!important; }
#hp-ad{ background:transparent; }
#hp-bloky .w30{ position:relative; bottom:0; }

.hp-banner{ background:transparent url(top-line.png) repeat-x top left; position:relative; }

.blured-bg{
  filter:url(#blur);
  -webkit-filter:blur(5px); -moz-filter:blur(5px); -o-filter:blur(5px); -ms-filter:blur(5px); filter: blur(5px);
  background-size:cover; bottom:0; left:0; position:absolute; right:0; top:0;
}
.hp-banner:hover .blured-bg:after { opacity:1; }

.top {
  height:12em; padding:.5em; background: var(--top-accent); overflow:hidden;
}
.top a, .top a:link, .top a:hover, .top a:active, .top a:visited { text-decoration:none !important; }
.top span h3 { color: var(--brand-accent-hover); }
.top span time { color: rgb(218,225,229); }
.top p { color:#fff; }
.top.nopadding,.top.nopadding p{ padding:0 }

.p-time{ margin-top:-2em; margin-bottom:2em; display:block; font-weight:light; color: var(--brand-accent); }

.page-foto{ background:transparent; max-height:50vh; overflow:hidden; text-align:left; margin-bottom:2em; }
.page-foto img{ margin:auto; max-width:100%; }

#optakce{ border:0 none; float:right; padding-right:1em; text-align:right }

.akce-a2{
  display:block; float:right; margin-top:-2.1em; margin-right:.55em; height:1em; padding:.25em;
  background: rgb(51,204,255); color:#fff!important; overflow:hidden; border-radius:.5em 0 0 0; font-size:.8em;
}
.akce-a2:hover{ background: var(--zzt-bg); }

.akce-a {
  display:block; clear:both; margin:0 .5em .5em .5em; min-height:5em; overflow:hidden;
  background: var(--gray-50);
}
.akce-a:hover { background: var(--brand-accent); }
.akce-a .img{
  min-height:7em; max-width:11em; min-width:7em; width:20%;
  background-size:cover; background-repeat:no-repeat; background-position:center center; display:block; float:left; margin-right:3%;
}
.akce-a time{ display:block; }
.akce-a time span{ color:#c2c2c2; float:right; font-size:.8em }
.akce-a:hover time,.akce-a:hover time span { color:#fff; }

.akce-a .detaily-a{ display:block; float:left; max-width:100%; padding:1%; width:75%; }
.akce-a .detaily-a h4{ margin:0; font-size:1em; }
.akce-a .detaily-a p{ margin:0; font-size:.8em; }
.cb{ clear:both; }

.clanky-list-w { background:transparent; overflow:hidden; position:relative; margin:1em 0 0 0; padding:0; height:9em; }
.clanky-list {
  margin-top:1em; background: var(--topline) none repeat scroll 0 0; overflow:hidden; position:relative; display:block; clear:both; padding:.5em; height:5.5em; color:#fff; font-weight:lighter;
}
.clanky-list-w .clanky-list:hover{ background: var(--top-accent); }
.clanky-list span{ color: var(--zzt-bg); }
.clanky-list-w a h3{
  background: var(--topline) none repeat scroll 0 0; color:#fff; display:block; float:left; font-size:1em; margin:0; padding:.5em; text-transform:uppercase;
}
.clanky-list h6{ margin:.3em 0 0 0; }
.bgd time{ color: var(--gray-100); font-size:.8em; font-weight:normal; }
.clanky-list a{ display:block; padding:.2em; }
.clanky-list time{ display:none; }

.hp h2{ text-align:center; }

footer ul {
  margin-left:1em; margin-bottom:1em; padding-left:1em;
  border-radius:5px; border-left:5px solid var(--brand-accent);
}
footer a, footer a:link, footer a:visited { color: var(--footer-link) !important; }
footer a:hover, footer a:active { color: var(--footer-link-hover) !important; }

.normalPage{ margin-top:6.25em; padding-top:1em; }
#short-news .pvk{ display:none; }
#short-news .pvk:nth-child(1){ display:block; }
#short-news-count{ display:inline }

#short-news-count a{
  text-indent:-99999px; overflow:hidden; display:inline-block; background:url(bullet.png); width:12px; height:12px; background-size:cover;
}
#short-news-count a.active{ background:url(bullet-a.png); background-size:cover; }

.pvk-on{ margin-top:1em; background: var(--gray-0); padding:1em }
.pvk-on time{ float:right; }
.pvk-on h4{ font-size:1.2em; margin:.5em 0; text-transform:uppercase; }
.pvkden{ margin:1em 0 0 0; display:block; }

.pad30{ padding-left:1em; text-align:center; }
.ad *{ max-width:100%; }
.ad,.ad p { text-align:center; }

.top .bgd{
  background: var(--gray-150); color: var(--gray-100); font-size:1em; padding:0; text-transform:lowercase; margin:-.5em -.5em 1em -.5em; height:2.3em;
}
.top .bgd a{
  background: var(--topline); display:block; float:right; margin:0; color:#fff; width:48%; text-transform:uppercase;
}
.top .bgd a span{ padding:.5em; color:#fff; display:block; }
.top .bgd a:first-child{ float:left }
.top .bgd a.active{ background: var(--top-accent); }

#maindiv section .w70 .pvk-video{ width:100%!important; min-height:30vh!important; float:none; height:32em; }

#alert-news{
  position:absolute; left:-2%; top:6.25em;
  background: yellow; font-size:.9em; color:#000; padding:.5em 1em; width:102%; max-width:100vw; z-index:0; border-radius:2px;
}

.drobecky{ text-align:right;padding-top:.3em;padding-bottom:.5em font-size:.8em; }
section .drobecky a{ text-transform:lowercase; font-size:.8em; }

#share { text-align:center; }
#share a{
  background:transparent url() no-repeat center center; background-size:cover; display:inline-block; width:3em; height:3em; overflow:hidden; text-indent:-9999px;
}
#share .share-fb{ background-image:url(fb.png); }
#share .share-g{ background-image:url(g.png); }
#share .share-lin{ background-image:url(lin.png); }

.i{ font-size:.6em; font-weight:light }
.ln-r{ border-right:2px solid #777777; height:15em; margin-right:-2px; }

.wrapHP{ padding-top:1.5em; }
.wrapHP div{ padding-top:1.5em; padding-bottom:1.5em; text-align:center; }

#tri{ position:fixed; bottom:2em; width:100%; text-align:center; height:2em; display:block; }

@-ms-viewport { width: device-width; }

/* ======= Media queries zachovány beze změn viz barvy ======= */
@media (max-width: 60em) {
  header .logo p { font-size: .5em; }
  .hideonsmall { display:none }
  .fotogalerie a { width:100%; }
  .hp-banner .w70,.hp-banner .w30 { width:100%; float:none; display:block; clear:both; margin-bottom:1em; }

.fotogalerie a span{ display:block; position:relative; left:0; right:0; bottom:0; }

}
@media (max-width: 54em) {
  section { width:calc(100% - 2em); } /* 1em = 15px: po stranách 1em bílého místa */
  .w30 { width:100%; float:none; clear:both }
  .w70 { width:100%; float:none; clear:both; }
  .w20, #maindiv .w20 { width:100%; margin-bottom:1.5em }
}
@media (max-width: 50em) {
  header .logo p { display:none; }
  .lista .wrapped h3 { font-size:.75em; }
}
@media (max-width: 48em) {
  header .flex{
    display:block;
  }
  nav ul { max-height:0; clear:both; display:none; }
  nav li { float:none; }
  nav ul { max-height:none; position:relative; }
  nav ul ul { border:none; display:block; position:relative; background:none; }
  nav li { border-top:1px solid rgba(178,175,168,.5); }
  nav li li { padding-left:.5em; border:none; }
  nav .menu-icon {
    margin-left:2em; border-radius:4px; position:relative; cursor:pointer; display:inline-block; user-select:none;
  }
  nav .menu-icon .navicon { width:18px; height:2px; display:block; position:relative; transition: background .2s ease-out; background:#fff; }
  nav .menu-icon .navicon:before, nav .menu-icon .navicon:after {
    width:100%; height:100%; position:absolute; display:block; content:""; transition:all .2s ease-out; background:#fff;
  }
  nav .menu-icon .navicon:before { top:5px; } nav .menu-icon .navicon:after { top:-5px; }
  nav .menu-btn { display:none; }
  nav .menu-btn:checked ~ ul { width:100%; height:auto; max-height: calc(100vh - 106px); display:block; overflow:auto; background: rgba(0,0,0,.75); }
  nav .menu-btn:checked ~ .menu-icon .navicon { background:transparent; }
  nav .menu-btn:checked ~ .menu-icon .navicon:before { transform: rotate(-45deg); }
  nav .menu-btn:checked ~ .menu-icon .navicon:after { transform: rotate(45deg); }
  nav .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
  header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after { top:0; }
  nav .menu-btn:checked ~ ul li { display:block; }
  .search { right:.75em; top:2.25em; }
  .search input { top:0; }
  .w25, .partneri a { width:33%; }
  .lista .wrapped h3 { font-size:.75em; text-align:left; }
  .w49 { width:100%; min-width:0; display:block !important; }
  #maindiv section ul, #maindiv section p { clear:both }
  header .logo { line-height:4.25em; margin-top:0; margin-left:5em }
  header .logo p { font-size:.75em; }
  header .logo img { max-height:3em; margin-left:.375em; display:inline-block; }
  .slider-headline-buttons { display:none; }
  .lista .wrapped { width:98%; }
  .lista .wrapped p:nth-child(2) { display:none; }
}
@media (max-width: 40em) {
  .zzt,.vzt,.zzt h3, .vzt h3{
    transform:none; float:none; display:block; position:relative; width:auto; height:auto; margin:0; top:auto; left:auto; right:auto; bottom:auto; padding:.2em; text-align:center; max-width:100%;
  }
  .hp-banner .w70, .hp-banner .w30{ overflow:hidden; }
  #alert-news { background: yellow; left:0; max-width:100%; top:6em; max-height:4.5em; overflow:hidden; }
  #hp-bloky { margin-top:20vh; }
  .item .a-popis h5, .item .a-popis p { text-align:center; }
  .w30 { width:100%; float:none; clear:both; }
  .online-servis .w30:nth-child(-n+4) { border:none; }
  .online-servis .w30:nth-child(odd) { border:none; }
  .online-servis .w30:nth-child(odd), .online-servis .w30:nth-child(even) { border-bottom:1px solid var(--ui-soft); }
  .online-servis .w30:last-child { border:none; }
  .flex { flex-direction:column; }
  .news { max-height:25%; }
  .news-img { width:100%; margin-bottom:.75em; }
  .lista-dropdown ul { width:100%; }
  .w50,.w70 { width:100%; }
  footer .w50 p, footer .w50 strong, footer .w50 a { padding:0 .75em; display:block; }
  footer .w50 p strong { display:inline; }
  footer a { display:block; padding:.35em 0; }
  .slider-headline-buttons a { width:auto; }
}
@media (max-width: 37.5em) {
  .w25, .partneri a { width:50%; }
  .lista .wrapped h3 { font-size:.5em; text-align:left; }
}
@media (max-width: 25em) {
  .w25, .partneri a { width:84%; }
  .lista .lista-dropdown { display:none; }
}
@media (max-width: 22.5em) {
  .lista .wrapped p, .lista .lista-dropdown { display:none !important; }
  .lista .wrapped h3 { width:75%; float:right; }
  .search { left:0; top:-1.125em; }
  .search label { left:0; width:2.25em; height:2.25em; line-height:2.25em; }
  .search i { font-size:1.5em; }
  .search input { height:34px; top:0; }
  .search input:focus { padding:0 3.25em; width:50%; }
}

/* ===== Magnific Popup (beze změn krom text/pozadí, vzhled 1:1) ===== */
.mfp-bg { top:0; left:0; width:100%; height:100%; z-index:1042; overflow:hidden; position:fixed; background:#0b0b0b; opacity:.8; }
.mfp-wrap { top:0; left:0; width:100%; height:100%; z-index:1043; position:fixed; outline:none !important; -webkit-backface-visibility:hidden; }
.mfp-container { text-align:center; position:absolute; width:100%; height:100%; left:0; top:0; padding:0 8px; box-sizing:border-box; }
.mfp-container:before { content:''; display:inline-block; height:100%; vertical-align:middle; }
.mfp-align-top .mfp-container:before { display:none; }
.mfp-content { position:relative; display:inline-block; vertical-align:middle; margin:0 auto; text-align:left; z-index:1045; }
.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content { width:100%; cursor:auto; }
.mfp-ajax-cur { cursor:progress; }
.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close { cursor:zoom-out; }
.mfp-zoom { cursor:zoom-in; }
.mfp-auto-cursor .mfp-content { cursor:auto; }
.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter { -webkit-user-select:none; -moz-user-select:none; user-select:none; }
.mfp-loading.mfp-figure { display:none; }
.mfp-hide { display:none !important; }
.mfp-preloader { color:#CCC; position:absolute; top:50%; width:auto; text-align:center; margin-top:-.8em; left:8px; right:8px; z-index:1044; }
.mfp-preloader a { color:#CCC; } .mfp-preloader a:hover { color:#FFF; }
.mfp-s-ready .mfp-preloader { display:none; }
.mfp-s-error .mfp-content { display:none; }
button.mfp-close, button.mfp-arrow { overflow:visible; cursor:pointer; background:transparent; border:0; -webkit-appearance:none; display:block; outline:none; padding:0; z-index:1046; box-shadow:none; touch-action:manipulation; }
button::-moz-focus-inner { padding:0; border:0; }
.mfp-close { width:44px; height:44px; line-height:44px; position:absolute; right:0; top:0; text-decoration:none; text-align:center; opacity:.65; padding:0 0 18px 10px; color:#FFF; font-style:normal; font-size:28px; font-family:Arial, Baskerville, monospace; }
.mfp-close:hover, .mfp-close:focus { opacity:1; }
.mfp-close:active { top:1px; }
.mfp-close-btn-in .mfp-close { color:#333; }
.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close { color:#FFF; right:-6px; text-align:right; padding-right:6px; width:100%; }
.mfp-counter { position:absolute; top:0; right:0; color:#CCC; font-size:12px; line-height:18px; white-space:nowrap; }
.mfp-arrow { position:absolute; opacity:.65; margin:0; top:50%; margin-top:-55px; padding:0; width:90px; height:110px; -webkit-tap-highlight-color:transparent; }
.mfp-arrow:active { margin-top:-54px; }
.mfp-arrow:hover, .mfp-arrow:focus { opacity:1; }
.mfp-arrow:before, .mfp-arrow:after { content:''; display:block; width:0; height:0; position:absolute; left:0; top:0; margin-top:35px; margin-left:35px; border:medium inset transparent; }
.mfp-arrow:after { border-top-width:13px; border-bottom-width:13px; top:8px; }
.mfp-arrow:before { border-top-width:21px; border-bottom-width:21px; opacity:.7; }
.mfp-arrow-left { left:0; }
.mfp-arrow-left:after { border-right:17px solid #FFF; margin-left:31px; }
.mfp-arrow-left:before { margin-left:25px; border-right:27px solid #3F3F3F; }
.mfp-arrow-right { right:0; }
.mfp-arrow-right:after { border-left:17px solid #FFF; margin-left:39px; }
.mfp-arrow-right:before { border-left:27px solid #3F3F3F; }
.mfp-iframe-holder { padding-top:40px; padding-bottom:40px; }
.mfp-iframe-holder .mfp-content { line-height:0; width:100%; max-width:900px; }
.mfp-iframe-holder .mfp-close { top:-40px; }
.mfp-iframe-scaler { width:100%; height:0; overflow:hidden; padding-top:56.25%; }
.mfp-iframe-scaler iframe { position:absolute; display:block; top:0; left:0; width:100%; height:100%; box-shadow:0 0 8px rgba(0,0,0,.6); background:#000; }
img.mfp-img { width:auto; max-width:100%; height:auto; display:block; line-height:0; box-sizing:border-box; padding:40px 0 40px; margin:0 auto; }
.mfp-figure { line-height:0; }
.mfp-figure:after { content:''; position:absolute; left:0; top:40px; bottom:40px; display:block; right:0; width:auto; height:auto; z-index:-1; box-shadow:0 0 8px rgba(0,0,0,.6); background:#444; }
.mfp-figure small { color:#BDBDBD; display:block; font-size:12px; line-height:14px; }
.mfp-figure figure { margin:0; }
.mfp-bottom-bar { margin-top:-36px; position:absolute; top:100%; left:0; width:100%; cursor:auto; }
.mfp-title { text-align:left; line-height:18px; color:#F3F3F3; word-wrap:break-word; padding-right:36px; }
.mfp-image-holder .mfp-content { max-width:100%; }
.mfp-gallery .mfp-image-holder .mfp-figure { cursor:pointer; }
@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  .mfp-img-mobile .mfp-image-holder { padding-left:0; padding-right:0; }
  .mfp-img-mobile img.mfp-img { padding:0; }
  .mfp-img-mobile .mfp-figure:after { top:0; bottom:0; }
  .mfp-img-mobile .mfp-figure small { display:inline; margin-left:5px; }
  .mfp-img-mobile .mfp-bottom-bar { background: rgba(0,0,0,.6); bottom:0; margin:0; top:auto; padding:3px 5px; position:fixed; box-sizing:border-box; }
  .mfp-img-mobile .mfp-bottom-bar:empty { padding:0; }
  .mfp-img-mobile .mfp-counter { right:5px; top:3px; }
  .mfp-img-mobile .mfp-close { top:0; right:0; width:35px; height:35px; line-height:35px; background: rgba(0,0,0,.6); position:fixed; text-align:center; padding:0; }
}
@media all and (max-width: 900px) {
  .mfp-arrow { -webkit-transform: scale(.75); transform: scale(.75); }
  .mfp-arrow-left { -webkit-transform-origin:0; transform-origin:0; }
  .mfp-arrow-right { -webkit-transform-origin:100%; transform-origin:100%; }
  .mfp-container { padding-left:6px; padding-right:6px; }
}

.w33{
width:25.3%;
margin:0;
padding:0;
display:inline-block;
padding:4%;
vertical-align:top;
}
.w66{
border-left:1px solid var(--body-text);;
width:57.66%;
margin:0;
padding:0;
display:inline-block;
padding:4%;
vertical-align:top;
}

.lngSw{
    border-left: 1px solid #fff;
    margin-left: 2rem;
    padding: 0 1.5rem;
    margin-top: 2.75rem;
    max-height: 3.25rem;
}
.lngSw ul li a {
    text-transform: uppercase;
    margin-top: -2.75rem;
}

nav ul ul li{
display:block;

}

/* Podtržení hlavního menu: odkaz vyplní celou výšku záhlaví (6.25em), takže spodní
   hrana podtržení leží přesně na spodní hraně pruhu záhlaví (bez zlomků pixelu). */
@media (min-width: 48.01em) {
  nav > ul > li { height:6.25em; vertical-align:top; }
  nav > ul > li > a {
    height:100%; box-sizing:border-box; padding-top:0; padding-bottom:1.28em;
    display:flex; align-items:flex-end;
  }
}
nav ul ul li a{
    padding:1rem;
}
