html {
  color:#000;
  background:#FFF
}

div.controls {
  position: absolute;
  top: 25px;
  z-index: 2;
}

img.soundimg {
	padding-top: 4px;
	padding-left: 4px;
	padding-right: 4px;
	vertical-align: top;
}

img.soundimg {
  animation-name: nosoundani;
  animation-duration: 1s;
  animation-delay: 2s;
	animation-iteration-count: 3;
}

@keyframes nosoundani {
  0%   {width:32px; height:32px; padding-right:4px; padding-left:4px; padding-top:4px;}
  50%  {width:40px; height:40px; padding-right:0px; padding-left:0px; padding-top:0px;}
  100% {width:32px; height:32px; padding-right:4px; padding-left:4px; padding-top:4px;}
}

img.ffimg {
	padding-top: 4px;
	padding-right: 4px;
}
img.repimg {
	padding-top: 4px;
	vertical-align: top;
}


table.main {
  margin-top: 25px;
  margin-left:  auto; 
  margin-right: auto;
  max-width: 1280px;
  width: 95%;
}

td.menu {
  display: flex;
  align-items: center;
  align-content: center;
}

div.menudiv {
  margin: auto;
}

.menu ul, .menu li {
  margin: 0;
  padding: 0;
}
.menu ul {
  background: white;
  list-style: none;
  width: 100%;
/*  text-align: center;
  padding-bottom: 20px;
  padding-top: 20px;*/
}
.menu li {
  float: left;
  position: relative;
  width: auto;
/*  display: inline;*/
}
.menu a {
  background: #FFFFFF;
  color: #000000;
  font: 30px/34px serif;
  font-style: italic;
  padding: 10px 25px;
  text-align: center;
  text-decoration: none;
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}
.menu li:hover a {
  text-shadow: 0px 0px 1px #000, 0px 0px 1px #000;
  /*font-weight: bold;*/
}

#submenu {
  left: 0;
  opacity: 0;
  position: absolute;
  top: 35px;
  visibility: hidden;
  z-index: 1;
}
li:hover ul#submenu {
  text-shadow: 0px 0px 1px #000, 0px 0px 1px #000;
  opacity: 1;
  top: 35px;
  visibility: visible;
}
#submenu li {
  float: none;
  width: 100%;
  padding-top: 5px;
  padding-left: 30px;
}
#submenu a:hover {
  background: #ffffff;
  text-shadow: 0px 0px 1px #000, 0px 0px 1px #000;
}
#submenu a {
  padding-top: 4px;
  font: 24px/30px serif;
  text-shadow: none;
  background-color: #ffffff;
}



.uzitecnebody h1 {
  font: 40px/100px serif;
  font-style: italic;
	text-align: center;
}

.uzitecnebody table {
  padding-top: 40px;
  padding-bottom: 40px;
  font: 20px/25px serif;
  font-style: italic;
  margin-left:  auto; 
  margin-right: auto;
}

.uzitecnebody a {
  color: #000000;
}

.uzitecnebody a:hover {
  text-shadow: 0px 0px 1px #000, 0px 0px 1px #000;
}

td.uzititle {
  font: 40px/50px serif;
  font-style: italic;
	text-align: center;
	padding-bottom: 20px;
	padding-top: 40px;
}

.programbody table {
  padding-top: 40px;
  padding-bottom: 40px;
  font: 30px/40px serif;
  font-style: italic;
  margin-left:  auto; 
  margin-right: auto;
}

td.cas {
  text-align: right;
  padding-right: 30px;
}

td.spacer {
  height: 20px;
}

.kontaktbody table {
  padding-top: 40px;
  padding-bottom: 40px;
  font: 30px/40px serif;
  font-style: italic;
  margin-left:  auto; 
  margin-right: auto;
}

.kontaktbody a {
  color: #000000;
  font-style: italic;
  text-decoration: none;
}
.kontaktbody a:hover {
  text-shadow: 0px 0px 1px #000, 0px 0px 1px #000;
  /*font-weight: bold;*/
}

.galeriebody {
    position: relative;
}


/* The grid: Four equal columns that floats next to each other */
.gacolumn {
  float: left;
  width: 22%;
  padding: 10px;
}

/* Style the images inside the grid */
.gacolumn img {
  opacity: 1;
  cursor: pointer;
  max-width: 100%;
  margin: auto;
  display: block;
}

.gacolumn img:hover {
  opacity: 0.8; 
}

/* Clear floats after the columns */
.garow:after {
  content: "";
  display: table;
  clear: both;
}

/* The expanding image container */
.galcontainer {
  position: fixed;
  width: 80%;
  height: 90%;
  display: none;
  z-index: 22;
}

#loadingImg {
  display: block;
  margin: auto;
  max-height: 10%;
  max-width: 10%;
}

.gacontainer {
  position: fixed;
  width: 80%;
  height: 90%;
  display: none;
  z-index: 21;
  background-color: gray;
}

#expandedImg {
    max-height: 100%;
    max-width: 100%;
    display: block;
    margin: auto;
}

/* Expanding image text */
#imgtext {
  position: absolute;
  bottom: 15px;
  left: 15px;
  color: white;
  font-size: 20px;
  text-shadow: 2px 2px #000000;
}

/* Closable button inside the expanded image */
.gaclosebtn {
  position: absolute;
  top: 10px;
  right: 15px;
  width: 90%;
  height: 90%;
  color: white;
  font-size: 35px;
  cursor: pointer;
  text-shadow: 2px 2px #000000;
}

.ganextbtn {
  position: absolute;
  top: 10px;
  right: 15px;
  color: white;
  font-size: 60px;
  cursor: pointer;
  text-shadow: 2px 2px #000000;
}

.gaprevbtn {
  position: absolute;
  top: 10px;
  left: 15px;
  color: white;
  font-size: 60px;
  cursor: pointer;
  text-shadow: 2px 2px #000000;
}

.gadownbtn {
  position: absolute;
  bottom: 10px;
  right: 15px;
  color: white;
  font-size: 60px;
  cursor: pointer;
  text-shadow: 2px 2px #000000;
}
