
/* Inter Variabilní - Normální (.ttf) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
}

/* Inter Variabilní - Kurzíva (.ttf) */
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
}

:root {
  --cassiopeia-font-family-body: 'Inter', sans-serif;
  --cassiopeia-font-family-headings: 'Inter', sans-serif;
  --cassiopeia-font-size: 1rem; 
}

body {
  font-family: 'Inter', sans-serif;
  font-size: var(--cassiopeia-font-size);

  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

h1, h2, h3, h4, h5, h6, .site-title {
  font-family: 'Inter', sans-serif;
  font-weight: 300; 
}

h1 {
  font-size: 3rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

h1, h2, h3, h4, h5 {
  color: rgb(118, 165, 197); 
}

h3.card-header {
  color: rgb(243,171,42);
  font-weight: 400;  
  font-size: 1.5rem;
}

h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

h4 {
  margin-top: 20px;
}

strong, b {
  font-weight: 600; 
}

.container-header {
  background-color: white;
  background-image: none;
}

.container-top-a>*, .container-top-b>* {
    margin: 0.5em 0 0 0;
}

.container-component {
  padding: 0 1em;
}

.container-sidebar-right,
.container-sidebar-left {
  padding: 0 0.5em;
}

.site-grid {
  grid-gap: 0;
}

.container-header .grid-child {
     padding-top: 1em;
     padding-right: 1em;	
     padding: 10px 0;
	 box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
	 border-bottom-left-radius: 20px;
	 border-bottom-right-radius: 20px;
	 background: linear-gradient(to top, #ffffff,#ffffff,#ffffff, #f2f2f2);
}

.btn-secondary {
    background-color: #EEE;
    border-color: #eee;
}

.btn-secondary:hover {
    background-color: rgb(77,77,77);
    border-color: transparent;
    color: white;
}

.table-striped>tbody>tr:nth-of-type(odd)>*,
.table-striped>tbody>tr:nth-of-type(even)>* {
    --table-accent-bg: white;
}

.table-striped>tbody>tr:nth-of-type(odd):hover>*,
.table-striped>tbody>tr:nth-of-type(even):hover>* {
    --table-accent-bg: #F7F7F7;
}



.table-bordered>:not(caption)>*>* {
    border-width: 0;
}

.brand-logo img {
  padding-right: 30px;
  padding-left: 30px;
  
}

.container-top-menu {
  float: right;
  padding-right: 20px;
}

.top-b .card-body{
  padding: 0;
}

a {
  color: rgb(23, 90, 122);
}

a:hover {
  color: rgb(0,0,0);
}



.breadcrumb {
  float: right;
  background-color: #fff;
}





.container-bottom-a {
  background-color: rgb(15,40,66);
  color: white;
  padding: 10px 0;
  font-size: 0.9rem;
}

.bottom-a p {
  color: white;
}

.bottom-a a {
  color: white;
  font-size: 0.9rem;
}

.bottom-a a:hover {
  color: white;
}






.line-end {
  clear: both;
  height: 1px;
}

.line-end10 {
  clear: both;
  height: 10px;
}

.line-end20 {
  clear: both;
  height: 20px;
}

.slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: automatickaSlideshow 20s infinite ease-in-out;
}

.slide:nth-child(2) { 
  animation-delay: 10s; 
} 

@keyframes automatickaSlideshow {
  0% { opacity: 0; }  /* Prolínání trvá cca 1 sekundu (což je 5 % z 20 sekund) */
  5% { opacity: 1; }  
  50% { opacity: 1; } /* Obrázek drží viditelný do poloviny cyklu */
  55% { opacity: 0; } /* Plynulé skrytí */
  100% { opacity: 0; }
}

.pause-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  color: white;
  opacity: 0;
  pointer-events: none; 
  transition: opacity 0.3s ease;
  z-index: 10;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/*
.slideshow:hover .pause-icon {
  opacity: 0.8;
}

.slideshow:hover .slide {
  animation-play-state: paused;
}
*/

 

@media (min-width: 750px) {
  .mobile_slider {
    display: none;
  }
}

@media (max-width: 749px) {
  .full_slider {
    display: none;
  }
}

@media (max-width: 1130px) {
  .navbar-brand{
    width: 100%;
  } 
}


@media (max-width: 1290px) {
  .container-bottom-b {
    background: rgb(60,60,60);
    color: white;
  }
  
  .container-bottom-b a:hover {
    color: white;
  }  
}



.cookiesck-iframe-wrap,
.cookiesck-iframe-wrap-text {
  width: 100%;
}
  


/* --- NASTAVENÍ PRO MOBILY (Vše pod sebou) --- */
.clanek-mrizka-2, .clanek-mrizka-3, .clanek-mrizka-4, .clanek-mrizka-5, .clanek-mrizka-6 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.pres-dva-sloupce { grid-column: span 1; }
.pres-tri-sloupce { grid-column: span 1; }

.obrazek-stred {
  display: grid;
  place-items: center; /* Vycentruje obrázek vertikálně i horizontálně */
  text-align: center;  /* Pro jistotu vycentruje i případný text pod obrázkem */
}

.obrazek-stred img {
  max-width: 100%;
  height: auto;
}

/* --- NASTAVENÍ PRO POČÍTAČE (Od šířky 768px) --- */
@media (min-width: 768px) {
  /* Původní mřížka pro 2 sloupce */
  .clanek-mrizka-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Původní mřížka pro 3 sloupce */
  .clanek-mrizka-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* NOVÁ mřížka pro 4 sloupce */
  .clanek-mrizka-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* NOVÁ mřížka pro 5 sloupce */
  .clanek-mrizka-5 {
    grid-template-columns: repeat(5, 1fr);
  }

  /* NOVÁ mřížka pro 6 sloupce */
  .clanek-mrizka-6 {
    grid-template-columns: repeat(6, 1fr);
  }  

  /* Text přes dva sloupce funguje v obou mřížkách */
  .pres-dva-sloupce {
    grid-column: span 2;
  }
  
  .pres-tri-sloupce {
    grid-column: span 3;
  }
}

.moderni-tabulka tbody tr:nth-of-type(odd) {
  background-color: rgb(227, 237, 243); /* Světle šedá barva (můžete změnit dle potřeby) */
}

.moderni-tabulka tbody tr td {
  padding: 4px 10px;
  border: 2px solid rgb(227, 237, 243);
}

.moderni-tabulka  {
  margin: 10px;
}

.com-content-category__pagination {
    display: none;
}

/* Vypnutí standardních odrážek */
.com-content-article ul, .blog-items ul {
    list-style-type: none;
    padding-left: 0;
}

/* Nastavení vlastní ikony místo odrážky */
.com-content-article ul li, .blog-items ul li {
    padding-left: 30px; /* Vzdálenost textu od ikony */
    background-image: url('../images/check-icon.png');
    background-repeat: no-repeat;
    background-position: left 2px;
    background-size: 20px 20px; /* Velikost ikony */
    margin-bottom: 10px; /* Mezery mezi řádky */
}