/*

flexi.css

Modrá: var(--e-global-color-primary);
Links: var(--e-global-color-accent);
Zlatá: var(--e-global-color-ed8f8ef);
Lines: var(--e-global-color-f3c3187);
Černá: var(--e-global-color-secondary);

.newslist-subholder.Offices a[href*="moscow"]
{
    display: none !important;
}
*/

/*
nav.trp-language-switcher {
    display: none !important;
}
*/

body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
}

html {
  overflow-x: hidden;
}

/*

body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
}
  
dostupné weighty:
200 → Extra Light
400 → Regular
700 → Bold
800 → Extra Bold

body {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}
dostupné weighty:
200 → Extra Light
400 → Regular
800 → Extra Bold



*/

.nothomepage .page-content {
     min-height: calc(100vh - 745px);
}

/**************************** BASE FLEXI CSS ****************************/


/* ============================================
   Flexi Go UP
   ============================================ */
.menufixed .goup {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.goup {
position: fixed;
    width: 57px;
    height: 40px;
    background-color: #044f9f;
    right: 0;
    bottom: 0;
    cursor: pointer;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    /* border: 1px solid rgba(232, 227, 217, 0.3); */
    background-image: url(/wp-content/themes/hello-elementor-child/assets/img/scroll-up.png);
    background-repeat: no-repeat;
    background-position: 52% 56%;
    background-size: 50%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 20;
    border-top: 1px solid rgb(255 255 255 / 40%);
    border-left: 1px solid rgb(255 255 255 / 40%);
}

/* ============================================
   Flexi SEARCH
   ============================================ */

.flexi-search-results { display: flex; gap: 40px; align-items: flex-start; }
        .flexi-search-col { flex: 1; min-width: 0; }
        .flexi-search-col-title { margin-top: 0; }
        .flexi-search-list { list-style: none; margin: 0; padding: 0; }
        .flexi-search-item { margin-bottom: 16px; }
        .flexi-search-link { font-weight: 600; }
        .flexi-search-excerpt { margin: 4px 0 0; font-size: 0.9em; color: #555; }
        .flexi-search-empty { color: #888; }
        .flexi-search-columns-1 { display: block; }
        @media (max-width: 768px) { .flexi-search-results { flex-direction: column; }}


/* ============================================
   Flexi Simple Menu - Základní reset
   ============================================ */
.flexi-simplemenu ul,
.flexi-simplemenu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.flexi-simplemenu a {
    text-decoration: none;
    display: block;
}



/* ============================================
   TOPMENU - položky vedle sebe, dropdown DOLŮ
   ============================================ */
.flexi-simplemenu.flexi-topmenu > ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.flexi-simplemenu.flexi-topmenu > ul > li {
    position: relative;
}

.flexi-simplemenu.flexi-topmenu > ul > li > a {
    padding: 12px 16px;
}

/* Dropdown pro topmenu - zobrazí se pod rodičem */
.flexi-simplemenu.flexi-topmenu .menu-item-has-children {
    position: relative;
}

.flexi-simplemenu.flexi-topmenu .menu-item-has-children > ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.flexi-simplemenu.flexi-topmenu .menu-item-has-children:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.flexi-simplemenu.flexi-topmenu .menu-item-has-children > ul a {
    padding: 10px 16px;
    border-bottom: 1px solid #eee;
}

/* ============================================
   LEFTMENU - položky pod sebou, dropdown DOPRAVA
   ============================================ */
.flexi-simplemenu.flexi-leftmenu > ul {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.flexi-simplemenu.flexi-leftmenu > ul > li {
    position: relative;
}

.flexi-simplemenu.flexi-leftmenu > ul > li > a {
    padding: 10px 16px;
}

/* Dropdown pro leftmenu - zobrazí se vpravo od rodiče */
.flexi-simplemenu.flexi-leftmenu .menu-item-has-children > ul {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 200px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.flexi-simplemenu.flexi-leftmenu .menu-item-has-children:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.flexi-simplemenu.flexi-leftmenu .menu-item-has-children > ul a {
    padding: 10px 16px;
    border-bottom: 1px solid #eee;
}

/* ============================================
   RIGHTMENU - položky pod sebou, dropdown DOLEVA
   ============================================ */
.flexi-simplemenu.flexi-rightmenu > ul {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.flexi-simplemenu.flexi-rightmenu > ul > li {
    position: relative;
}

.flexi-simplemenu.flexi-rightmenu > ul > li > a {
    padding: 10px 16px;
    text-align: right;
}

/* Dropdown pro rightmenu - zobrazí se vlevo od rodiče */
.flexi-simplemenu.flexi-rightmenu .menu-item-has-children > ul {
    position: absolute;
    top: 0;
    right: 100%;
    min-width: 200px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: -4px 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.flexi-simplemenu.flexi-rightmenu .menu-item-has-children:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.flexi-simplemenu.flexi-rightmenu .menu-item-has-children > ul a {
    padding: 10px 16px;
    border-bottom: 1px solid #eee;
    text-align: right;
}

/* ============================================
   BOTTOMMENU - položky vedle sebe, dropdown NAHORU
   ============================================ */
.flexi-simplemenu.flexi-bottommenu > ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.flexi-simplemenu.flexi-bottommenu > ul > li {
    position: relative;
}

.flexi-simplemenu.flexi-bottommenu > ul > li > a {
    padding: 12px 16px;
}

/* Dropdown pro bottommenu - zobrazí se nad rodičem */
.flexi-simplemenu.flexi-bottommenu .menu-item-has-children > ul {
    position: absolute;
    bottom: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.flexi-simplemenu.flexi-bottommenu .menu-item-has-children:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.flexi-simplemenu.flexi-bottommenu .menu-item-has-children > ul a {
    padding: 10px 16px;
    border-bottom: 1px solid #eee;
}

/* ============================================
   Společné styly pro dropdowny (všechny orientace)
   ============================================ */
.flexi-simplemenu.flexi-dropdown .menu-item-has-children > ul ul {
    /* Vnořené dropdowny - defaultně jako topmenu (dolů) */
    top: 0;
    left: 100%;
    transform: translateX(-10px);
}

.flexi-simplemenu.flexi-dropdown .menu-item-has-children:hover > ul ul {
    transform: translateX(0);
}

/* Indikátor pro položky s podmenu (volitelné) */
.flexi-simplemenu.flexi-dropdown .menu-item-has-children > a::after {
    content: ' ▾';
    font-size: 0.8em;
    opacity: 0.7;
}

.flexi-simplemenu.flexi-leftmenu .menu-item-has-children > a::after,
.flexi-simplemenu.flexi-rightmenu .menu-item-has-children > a::after {
    content: ' ▸';
}

.flexi-simplemenu.flexi-bottommenu .menu-item-has-children > a::after {
    content: ' ▴';
}

/****************************************************************************/








.nav-overlay.active {
    padding: 40px 40px;
}
.nav-overlay.active button.nav-overlay-close + ul > li:first-child {
    border-top: 0 none;
}

/* ========================================
   NAV OVERLAY – PP brand refresh
   ======================================== */

/* ----------------------------------------
   Hamburger button
   ---------------------------------------- */
.header__burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
}
.header__burger span {
  display: block; width: 26px; height: 2px;
  background: var(--blue-dark); border-radius: 2px; transition: var(--t);
}

.header__burger:focus,
.header__burger:hover {
  background: none !important;
  background-color: transparent !important;
}

body.menu-open .header__burger {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

 


/* ----------------------------------------
   Overlay backdrop
   ---------------------------------------- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #1b1f48f7;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  justify-content: flex-start;
  align-items: flex-start;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-overlay.active {
  display: flex;
  opacity: 1;
  flex-direction: column;
}

/* ----------------------------------------
   Křížek – zavřít
   ---------------------------------------- */
.nav-overlay-close {
  position: fixed;
top: 26px;
    right: 20px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  background: none !important;
  background-color: transparent !important;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  z-index: 10002;
}

.nav-overlay-close:focus,
.nav-overlay-close:hover {
  background: none !important;
  background-color: transparent !important;
}

.nav-overlay-close::before,
.nav-overlay-close::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  transition: background 0.2s;
}

.nav-overlay-close:hover::before,
.nav-overlay-close:hover::after {
  background: #739cff;
}

.nav-overlay-close::before { transform: rotate(45deg); }
.nav-overlay-close::after  { transform: rotate(-45deg); }

/* ----------------------------------------
   Wrapper – menu obsah
   ---------------------------------------- */

.nav-overlay  .topbar__contacts svg {
    transform: scale(1.5);
    transform-origin: center;
    margin-left: 17px;
}

 


.nav-overlay  .container.maxwidth.topbar__inner {
    display: block;
    padding: 0;
}

.nav-overlay  .topbar__actions {
    margin-top: 25px;
}

 

.nav-overlay  .nav-overlay-study ul li {
    padding-bottom: 8px;
}

.nav-overlay  span.quicklink__title {
    font-size: 16px;
    font-weight: 400;
}

.nav-overlay .topbar__contacts a {
    display: flex;              /* ← KLÍČOVÉ: nahradit text-indent */
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #044f9f;
    background: transparent;
    -webkit-tap-highlight-color: transparent; /* ← iPhone specifické */
    text-decoration: none;
}

/* Text schováme přístupněji než text-indent */
.nav-overlay .topbar__contacts a span,
.nav-overlay .topbar__contacts a {
    font-size: 0;               /* ← Místo text-indent */
    line-height: 0;
}

.nav-overlay .topbar__contacts svg {
    width: 15px;       /* 20px × 0.75 = 15px (zmenšení o 25 %) */
    height: 15px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 1.5; /* ← požadovaná tloušťka */
    flex-shrink: 0;
        margin-left: 6px;
}

@supports (-webkit-touch-callout: none) {
    .topbar__contacts a:first-child svg {
 margin-left: 13px;
 margin-top: 5px;
    }
}

button.search-submit svg {
    transform: scale(1.3);
    stroke: #033a75;
    stroke-width: 2;
}

.nav-overlay button.search-submit svg {
    transform: scale(1.6);
    stroke: #fff;
    stroke-width: 2;
}

.nav-overlay .nav-overlay-main,
.nav-overlay .nav-overlay-study,
.nav-overlay .nav-overlay-middlemenu
{
  width: 100%;
  max-width: 580px;
  margin: 0;
  padding: 72px 0 48px 0;
    
}

.nav-overlay  .nav-overlay-topbar{
order: 0;
 padding-bottom: 25px; 
   width: calc(100% - 33px);
       margin-top: -15px;
}

.nav-overlay  .flexipp-search-form-desktop .search-field {
    width: 100%;
    max-width: 100%;
        color: white;
}

.nav-overlay .nav-overlay-main {
    order: 1;
    padding-bottom: 10px;
    padding-top: 10px;
}

.nav-overlay .nav-overlay-study {
order: 2; 
 padding-top: 10px;
  padding-bottom: 10px; 
}

.nav-overlay .nav-overlay-middlemenu{
order: 3; 
 padding-top: 10px;
}

.nav-overlay .nav-overlay-middlemenu svg.ql-icon,
.nav-overlay .nav-overlay-middlemenu span.quicklink__desc,
.nav-overlay .topbar__login
{
 display: none; 
  }


.nav-overlay > ul {
  width: 100%;
  max-width: 580px;
  margin: 0;
  padding: 72px 32px 48px 50px;
  box-sizing: border-box;
}

/* ----------------------------------------
   Všechny ul – reset
   ---------------------------------------- */
.nav-overlay ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ----------------------------------------
   Level 1 – oddělovací linky
   ---------------------------------------- */
.nav-overlay > ul > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-overlay > ul > li:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ----------------------------------------
   Všechny li – flex řádek (a + toggle)
   ---------------------------------------- */
.nav-overlay li {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.nav-overlay li > a {
    flex: 1;
    min-width: 0;
    text-decoration: none;
    transition: color 0.2s;
    color: white;
}

/* ----------------------------------------
   Odkazy – level 1
   ---------------------------------------- */
.nav-overlay > ul > li > a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  padding: 13px 0;
}

.nav-overlay > ul > li > a:hover {
  color: #739cff;
}

.nav-overlay > ul > li.active > a {
  color: #739cff;
  font-weight: 600;
}

/* ----------------------------------------
   Toggle šipka
   ---------------------------------------- */
.submenu-toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.07) !important;
  background-color: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  padding: 0;
  margin-right: 4px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.submenu-toggle:focus,
.submenu-toggle:hover {
  background: rgba(115, 156, 255, 0.15) !important;
  background-color: rgba(115, 156, 255, 0.15) !important;
  border-color: #739cff !important;
  color: #739cff !important;
}

.nav-overlay li.open > .submenu-toggle {
  background: rgba(115, 156, 255, 0.18) !important;
  background-color: rgba(115, 156, 255, 0.18) !important;
  border-color: #739cff;
  color: #739cff;
}

.submenu-toggle svg {
  transition: transform 0.25s ease;
  display: block;
  flex-shrink: 0;
}

.nav-overlay li.open > .submenu-toggle svg {
  transform: rotate(180deg);
}

/* ----------------------------------------
   Submenu – level 2
   ---------------------------------------- */
.nav-overlay ul ul {
  display: none;
  width: 100%;
  flex-basis: 100%;
  padding: 4px 0 10px 16px;
  border-left: 2px solid #739cff;
  margin-bottom: 4px;
  gap: 0;
  flex-direction: column;
}

.nav-overlay li.open > ul {
  display: flex;
}

/* ----------------------------------------
   Odkazy – level 2
   ---------------------------------------- */
.nav-overlay ul ul li > a {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  padding: 8px 0;
  letter-spacing: 0.03em;
}

.nav-overlay ul ul li > a:hover {
  color: rgba(255, 255, 255, 1);
}

.nav-overlay ul ul li.active > a {
  color: #739cff;
  font-weight: 500;
}

/* ----------------------------------------
   Submenu – level 3
   ---------------------------------------- */
.nav-overlay ul ul ul {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-overlay ul ul ul li > a {
  font-size: 0.82rem;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.5);
}

.nav-overlay ul ul ul li > a:hover {
  color: rgba(255, 255, 255, 0.85);
}

/* ----------------------------------------
   Skryté položky
   ---------------------------------------- */
.nav-overlay li.dn,
.nav-overlay li.dninside {
  display: none;
}





/**************************** END BASE FLEXI CSS ****************************/



.error-404.not-found h1 {
    font-size: 30px;
    font-weight: 900;
    color: #044f9f;
}

.error-404.not-found form.search-form  input.search-submit {
background-color: #044f9f;
    border: 1px solid #044f9f;
    border-radius: 4px;
    color: white;
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    padding: .5rem 1rem;
    text-align: center;
    transition: all .3s;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    white-space: nowrap;
    text-transform: uppercase;
}

.error-404.not-found form.search-form + p a {
    color: #044f9f;
    display: block;
    border: 1px solid #044f9f;
    width: 237px;
    margin: 26px auto 0;
    border-radius: 21px;
    padding: 5px;
}
 