/* ========== BEGIN: style.css ========== */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
}

/* Scroll */
/* Sidebar */
.sidebar {
  width: 260px;
  transition: none; /* odstraníme přechod na šířku */
}

.sidebar.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px
  height: 100vh;
  z-index: 999;
  background: white; /* nebo jiné pozadí, aby nepřekrýval obsah transparentně */
  border-right: 1px solid #ddd;
  transition: none;  /* žádný přechod */
}

/* Hlavní obsah vedle sidebaru */
.content-wrapper 
{
  flex: 1;
  min-height: 100vh;
  overflow-y: auto;
  position: relative;
  background-color: #f9f9f9;
  box-sizing: border-box;
  width: 100%;       /* Přidej */
  max-width: 100vw;  /* Přidej */
  transition: none;  /* Zruš přechod pokud není potřeba */
}
  
  
  
 
.content-wrapper.with-sidebar {
  margin-left: 260px;
  transition: none;
} 
/* Scroll */



/* Loadin-zobrazení kolecka pri nactení dalsich epizod */
  #loading {
    text-align: center;
    padding: 20px;
  }

  .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: #007BFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
  }

  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }

/* Loadin-zobrazení kolecka pri nactení dalsich epizod */


/* header */

.logo {
display: flex;
  justify-content: center; /* horizontálně */
  align-items: center;     /* vertikálně */
  height: 80px;  
}



.header {
  display: none;
  background: white;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header__left 
{
padding: 5px 10px 5px 5px;
display: flex;
align-items: center;
}

.header__right img {
  height: 40px; /* uprav podle potřeby */
}

.header__right 

{
padding: 15px 5px 10px 10px;
   display: flex;
  align-items: center;


}

/* Sidebar */
.mainBody 
{
 display: flex;
 height: auto;
 overflow: visible;
}

.sidebar {
  width: 260px;
  height: 100vh;
  background-color: white;
  overflow-y: auto; /* místo scroll */
  position: sticky; /* nebo fixed/sticky, pokud má být vdy vidìt */
  top: 0px;
  flex-shrink: 0;
  z-index: 10;
  border-right: 1px solid #eee; 
}


/* Volitelné – pro lepší vzhled scrollbaru */
.sidebar::-webkit-scrollbar {
  width: 8px;
}
.sidebar::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}







.sidebar__categories {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  margin-top: 15px;
}

.sidebar__category {
  display: flex;
  align-items: center;
  padding: 12px 25px;
}

.sidebar__category span {
  margin-left: 15px;
}

.sidebar__category:hover {
  background: #e5e5e5;
  cursor: pointer;
}

.sidebar::-webkit-scrollbar {
  display: none;
}

hr {
  height: 1px;
  background-color: #e5e5e5;
  border: none;
}

/* videos */

.videos {
  background-color: #f1f4f9;
  width: 100%;
  min-height: 100vh; /*  klíèová èást */
  padding: 15px 15px;
}

.videos__container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  justify-content: start;
}


.videos_detail {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.video { 
border-radius: 6px;
background-color: #fff;
  max-width: 310px;
  width: 100%;           /* nebo nìjaká pevná/poloresponzivní íøka */
  flex: 0 0 auto;  
  margin-bottom: 15px;
   box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.video__thumbnail {
  width: 100%;
  height: 170px;
}

.video__thumbnail img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.author img {
  object-fit: cover;
  border-radius: 50%;
  height: 40px;
  width: 40px;
  margin-right: 10px;
}

.video__details {
  display: flex;
  margin-top: 10px;
}

.nadpis {
  display: flex;
  flex-direction: column;
  padding: 0px 10px 5px 10px;
}

.nadpis h3 {
font-weight: bold;
TEXT-TRANSFORM: UPPERCASE;
color: rgb(3, 3, 3);
line-height: 1.5;
font-size: 14px;
margin-bottom: 6px;
min-height: 4.5em; /* rezervace místa pro 2–3 řádky */
}

.nadpis a,
span {
  text-decoration: none;
  color: rgb(96, 96, 96);
  font-size: 14px;
}

h1 {
  font-size: 20px;
  margin-bottom: 10px;
  color: rgb(3, 3, 3);
}













/* Audio prehravac obrazek */
.image {
  display: block;
  width: 120px;
  overflow: hidden;
  border-radius: 8px;
}

.image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: inherit;
}
/* Audio prehravac obrazek */

.button 
{
font-family: "Oswald",Helvetica,Arial,sans-serif;
font-size: 12px;
font-weight: normal;
margin-bottom: 10px;
margin-left: 5px;
margin-right: 5px;
padding: .7em 1.2em;
letter-spacing: .7px;
text-transform: uppercase !important;
color: #000;
border-radius: 0;
background: #dedede;
TEXT-TRANSFORM: UPPERCASE; font-weight: bold; 
TEXT-DECORATION: none; 
}

a {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

a:hover 
{
TEXT-DECORATION: none; 
color: #000;
}

.aktivni
{
font-family: "Oswald",Helvetica,Arial,sans-serif;
font-size: 12px;
font-weight: normal;
margin-bottom: 10px;
text-transform: uppercase !important;
color: #000;
width: 100%;
border-radius: 0;
background: #F2F2F2; 
TEXT-TRANSFORM: UPPERCASE; font-weight: bold;
TEXT-DECORATION: none; color: #000;
border-left: 3px solid  rgb(60, 141, 188); 
}

[type="button"], [type="submit"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0px;
}

.component-audio-play-button button {
  font-size: .857rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  cursor: pointer;
  aspect-ratio: 1;
  padding: 0;
  border: none;
  background-color: #3C8DBC; /* nebo jiná, podle potøeby */
  border-radius: 0%;
}

.component-audio-play-button button:hover {
  font-size: .857rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  cursor: pointer;
  aspect-ratio: 1;
  padding: 0;
  border: none;
  background-color: #399CD7; /* nebo jiná, podle potøeby */
  border-radius: 0%;
}

/* botton audio website video */
.videosite-audio-play-button button {
  color: #fff;
  font-weight: bold;
  font-size: .857rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 30px;
  cursor: pointer;
  aspect-ratio: 1;
  padding: 15px;
  border: none;
  background-color: #3C8DBC; /* nebo jiná, podle potøeby */
  border-radius: 0%;
  border: 3px solid #e6e6e6;
}


/* botton fbshere website video */
.videosite-fb-button button {
  color: #fff;
  font-weight: bold;
  font-size: .857rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 30px;
  cursor: pointer;
  aspect-ratio: 1;
  padding: 5px;
  border: none;
  background-color: #145D8F; /* nebo jiná, podle potøeby */
}

/* botton yt video website video */
.videosite-yt-button button {
  color: #fff;
  font-weight: bold;
  font-size: .857rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90px;
  height: 30px;
  cursor: pointer;
  aspect-ratio: 1;
  padding: 5px;
  border: none;
  background-color: #E2626B; /* nebo jiná, podle potøeby */
}






.videosite-audio-play-button button:hover {
  color: #fff;
  font-weight: bold;
  font-size: .857rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 30px;
  cursor: pointer;
  aspect-ratio: 1;
  padding: 15;
  border: none;
  background-color: #399CD7; /* nebo jiná, podle potøeby */
  border-radius: 0%;
  border: 3px solid #e6e6e6;
}

.videosite-audio-play-button {
  display: inline-flex;
  margin-top: 10px;
  align-items: center;
  gap: 24px;
}


.videosite-fb-button {
float: right;
  display: inline-flex;
  margin-top: 10px;
  align-items: center;
  gap: 24px;
}

.videosite-yt-button {
float: right;
  display: inline-flex;
  margin-top: 10px;
  align-items: center;
  gap: 24px;
}

.videosite-audio-play-button button .icon {
  fill: #fff;
}

/* botton audio website video */

/* Ikony (play i pause) na stejnou velikost */
.component-audio-play-button svg.icon {
  width: 16px;
  height: 16px;
}

.component-audio-play-button .icon.icon-pause {
  transform: scale(0.85);
}

/* Základnì skrýváme pauzu */
.play-audio .icon-play {
  display: inline-block;
}
.play-audio .icon-pause {
  display: none;
}

/* Nahled foto podcast */


.box 
{
width: 100%;
height: 180px; /* základ pro desktop */
overflow: hidden;
position: relative;
background-position: center;
border-top-left-radius: 6px; 
border-top-right-radius: 6px;  
}

.box img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* ← Klíčové! Vyplní box beze zkreslení */
  display: block;      /* Odstraní prázdný dolní řádek (inline-img problém) */
}



.mvtvPlay {
  display: inline-block;
  position: relative;
  text-decoration: none;
  color: #ffffff;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  transition: .2s ease-in-out;
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px;
  z-index: 1;
}

.mvtvID {
  display: inline-block;
  position: relative;
  text-decoration: none;
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  background: #0099cc;
  transition: .2s ease-in-out;
  position: absolute;
  left: 0px;
  top: 10px;
  padding: 5px;
  z-index: 1;
}

.mvtvCas {

  display: inline-block;
  position: relative;
  text-decoration: none;
  color: #ffffff;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  background: rgba(30,30,30,.5);
  transition: .2s ease-in-out;
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px;
 z-index: 1;
}

.mvtvDate 
{
  display: inline-block;
  position: relative;
  text-decoration: none;
  color: #ffffff;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  background: rgba(30,30,30,.5);
  transition: .2s ease-in-out;
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 5px;
z-index: 1;
}

/* Nahled foto podcast */
#video-ram 
{
padding: 10px 10px 10px 210px;
}

#left-menu {float: left; width: 100%; padding: 0px 0px 0px 7px;}
#right-menu {float: right; color: #fff; font-weight: bold; font-size: 11px; padding: 5px 5px 5px 5px; background-color: #3C8DBC;}

a:link 
{ 
TEXT-DECORATION: none;
color: #000;
}

a:visited 
{
TEXT-DECORATION: none;
color: #000;
}

a:hover 
{
color: #000;
text-decoration: none;
}



/* Soubor epizoda-video.php */
#box-video
{
margin: 0 auto;
border-bottom: 5px solid #fff;
width: 80%;
}


#zahlavi 
{
margin: 0 auto;  
margin-bottom: 30px;
background-color: #fff;
padding: 10px 10px;
max-width: 80%;
width: 100%;
flex: 0 0 auto;
flex-wrap: wrap;
display: flex;
align-items: flex-start;
gap: 20px; /* mezera mezi obrázkem a textem */
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
border-top-left-radius: 0px;
border-top-right-radius: 0px;
border-bottom-left-radius: 6px;
border-bottom-right-radius: 6px;
}

#nadpis-epizoda 
{
font-weight: bold;
COLOR: #000000;
FONT-FAMILY: Arial;
TEXT-TRANSFORM: UPPERCASE;
text-align: left;
}

#popis-epizoda 
{
FONT-SIZE: 16px;
COLOR: #000000;
FONT-FAMILY: Arial;
text-align:justify;
padding: 0px 20px 0px 0px;
}

#zahlavi-image img
{
max-width: 200px;
height: auto;
display: block;
}

.img-popis
{
border-radius: 8px;
border: 3px solid  rgb(230, 230, 230);
height: 150px;
}

#zahlavi-popis 
{
flex: 1;
min-width: 250px; /* nebo procenta napø. 60% */
}

#info-zahlavi 
{
text-decoration: none;
color: rgb(96, 96, 96);
font-size: 14px;
TEXT-TRANSFORM: UPPERCASE;
text-align: left;
}

/* Nastavení Video reklamy */
#ad-wrapper {
  display: none;
  max-width: 100%;
  position: relative;
  background: black;
}

#ad-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}

#player-wrapper 
{
position: relative; /* dùleité pro absolutní pozicování ad-warning uvnitø */
max-width: 100%;
}

#ad-warning 
{
display: none; /* standardnì skryto */
position: absolute; /* absolutní pozicování uvnitø player-wrapper */
bottom: 10px;
right: 10px;
background: rgba(0, 0, 0, 0.7);
color: white;
padding: 8px 12px;
border-radius: 4px;
font-size: 16px;
z-index: 10;
pointer-events: none; /* aby se nezachytával klik */
}

#ad-ui 
{
  position: relative;
  width: 100%;
  height: 0;
}

#ad-counter 
{
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  font-family: Arial, sans-serif;
  display: none;
  z-index: 1000;
}

#skip-ad-btn 
{
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.9);
  border: none;
  padding: 5px 12px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  display: none;
  z-index: 1000;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

/* Soubor epizoda-video.php */

/* ========== END: style-my.css ========== */