/****************************************************************************/
/********************************* FotoGalerie ******************************/
/****************************************************************************/

/****************************************************************************/
/* Main */

body { 
    	background: #000000;	/*#f9f9f9;	/*#f0f0f0;	/*#f0f0e0;	/*#e0e0c4;	/*#ffffff; */
    	font-family: Verdana, Arial CE, Arial, Helvetica, sans-serif;
	font-size: 12pt;	/*12pt;	/*80%;	/*xx-small;*/
	text-align: left;
	color: white;	/*black;*/
}

/****************************************************************************/
/* Layout */

* {
  box-sizing: border-box;
}

/* Position the image container (needed to position the left and right arrows) */
.container {
  position: relative;
}

/* The Close Button */
.btnClose {
  position: absolute;
  top: -1px;
/*	  top: 15px;*/
  right: 15px;
  color: #f1f1f1;
  font-size: 30px;
  font-weight: bold;
  transition: 0.3s;
}

.btnClose:hover,
.btnClose:focus {
  color: #b00;			/* #bbb */
  text-decoration: none;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.8);
}

/* Hide the images by default */
.obrmax-container {
  display: block;
/*  display: none;*/
  width: 100%;
/*  height: 200px;*/
/*  height: 80%; /*200px; */
  min-height: 100px;
  min-width: 100px;
  text-align: center;
}

.obrmax {
/*  max-height: 80%  */
/*  max-width: 100%  */
/*  height: auto;*/	
  width: 100%;
  height:100%;
/*  height: auto;*/
  object-fit: contain;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 64px 32px;		// 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  color: #ff0;			/* Jinak prevezme z A.hover, kde "red" */
  background: rgb(64, 64, 64); /* Fallback color */
  background-color: rgba(64, 64, 64, 0.5);
}

/* Number text (1/3 etc) */
.numbertext {
  position: absolute;
  top: 0;
  color: #f2f2f2;
/*  font-size: 12px; */
  background: rgb(64, 64, 64); /* Fallback color */
  background: rgba(64, 64, 64, 0.5); /* Black background with 0.5 opacity */
  padding: 8px 12px;
}

/* Container for image text */
.caption-container {
  text-align: center;
  background-color: #222;
  padding: 8px 16px;
  margin-top: 5px;
  color: white;
}

.caption-container-transparent {
  text-align: center;
  background-color: #222;
  padding: 8px 16px;
/*  margin-top: 5px; */
  color: white;
  background: rgb(64, 64, 64); /* Fallback color */
  background: rgba(64, 64, 64, 0.5); /* Black background with 0.5 opacity */
  position: absolute;
  bottom: 0px;
  width: 100%;
}

.nahled-row {
  display: flex;
  flex-direction: row;
  width: 100%;
}

/*.row:after {
  content: "";
  display: table;
  clear: both;
}*/

/* Six columns side by side */
.nahled-column {
  float: left;
  width: 16.66%;
  height: 100px;	/*10%;*/
  margin-top: 5px;
  margin-left: 2px;
  margin-right: 2px;
/*  margin-bottom: 10px;*/
}

/* Add a transparency effect for thumnbail images */
.nahledimg {
  opacity: 0.6;
  width: 100%;
  height: 100%;  
  object-fit: cover;	/*contain;*/
}

/* Add a pointer when hovering over the nahled images */
.cursor {
  cursor: pointer;
}

.active {
  border: 2px solid #eee;	/*white*/
  padding: 2px;
}

.active,
.nahledimg:hover {
  opacity: 1;
}