    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body, html {
		min-height: 100%;
		height: 100%;
		font-family: Arial, Helvetica, sans-serif;
		background-color: #58585a;
		color: white;
    }
	

    .container {
      display: flex;
      width: 100%;
      height: 100%;
    }

    .left-panel {
      width: 20%;
      padding: 20px;
      border-right: 1px solid #ddd;
      overflow: hidden; /* Disable scrolling */
    }

    .right-panel {
      width: 80%;
      padding: 20px;
      overflow-y: auto; /* Enable vertical scrolling */
	  margin-bottom: 20px;
    }

    .content {
      /*height: 200%;  Example content to demonstrate scrolling */
	  padding: 30px;
	  margin-bottom: 50px;
    }
	
	/* sub navigation */
#sidenav {
 position:relative;
  padding: 0px 0px 0px 30px;
	float: left;
	top:0px;
	width: 20%;
	min-width:260px;
}

#sidenav ul {
  }
#sidenav li {
	padding: 5px 20px 5px 0px;
}
#sidenav li a {
	display: block;
	text-decoration: none;
}

#sidenav li a:hover {
	color: #dddddd;	
}

.active_n   {
	font-weight:bold;
	font-size:14px;
	font-family: Arial;
	color: #a6a798;
	list-style-image: url('odrazka.png') ;
}

.active_s  {
	font-weight:bold;
	font-size:14px;
	font-family: Arial;
	color: #ffffff;	
	list-style-image: url('odrazka.png') ;
	background: #666666;
}
.active_jmeno {
	font-size:18px;
	font-family:'Times New Roman';
	color:#95cbdd;
	list-style:      none;
}

a {color: #ffffff;}
a:hover {color: #cc6600;}

img {
border: 0px;
}


#hlavni {

 position:relative;
    height: 100%;
   min-height: 100%;
      min-width:: 100%;
}



.zivotopis_img{
float:right;
 	padding: 3px 0px 0px 0px ;
}

.img_nahled {
	padding: 0px 0px 20px 40px ;
	 opacity:0.6;
   filter:alpha(opacity=60) ;

}

#leva_dolni_foto {
	color: #ffffff;
	color: #dddddd;
	padding: 20px 5px 5px 0px ;
	margin: 5px 5px 5px 0px;
	font-size:11px;
}

#leva_dolni {
	display:none;
	position:absolute; 
	bottom:0px; 
	left: 0px;
	width:100px
	height:200px;
	color: #dddddd;
	padding: 5px 5px 5px 5px ;
	margin: 5px 5px 5px 5px;
	font-size:12px;
}

#leva_dolni_text
{
	position:absolute; 
	bottom:0px; 
	left: 0px;
	width:100px
	height:20px;
	color: #dddddd;
	padding: 5px 5px 5px 5px ;
	margin: 5px 5px 5px 5px;
	font-size:11px;
}


#text  {
	color:#ffffff;
	width:50%;
	float:left;
	text-align:justiffy;
	font-size:11px;
	padding: 15px 0px 0px 0px;
}

 h1 {
	font-size:18px;
	font-family:'Times New Roman';
	color:#95cbdd;
	font-weight:normal;
	margin-bottom: 4px;
	padding-top: 6px;
}

#text td {
	padding: 0px 0px 10px 0px;
}

.zivotopis_table td {
	font-size: 12px;
}









.gallery-container {
  text-align: center;
  width: 100%;
}

.main-image {
  position: relative;
  /* margin-bottom: 20px; */
  /* margin: 0 auto; */
  text-align: center;
  width: 100%;
  display: flex;
}

.main-image img {
  /* width: 100%; */
  max-width: 800px;
  max-height: 600px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  margin: 0 auto;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
}

#prev-btn {
  left: 10px;
}

#next-btn {
  right: 10px;
}

.thumbnails {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-top: 20px;
}

.thumbnail {
  width: 100px;
  height: auto;
  cursor: pointer;
  border-radius: 5px;
  transition: transform 0.3s, opacity 0.3s;
}

.thumbnail:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

/* Lightbox stylování */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox.hidden {
  display: none;
}

.lightbox-content {
  position: relative;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: red;
  color: white;
  border: none;
  padding: 10px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 50%;
}

#lightbox-next-btn {
  right: 10px;
}

#lightbox-prev-btn {
  left: -120px;
}