*,*::after, *::before{
    margin: 0;
    padding: 0;
    background-color: #009900;
   box-sizing: border-box;
}
body{
    background-color: #009933;
}
.w3-zelena{
    background-color: #008000;
}
.w3-zelena-lesna{
    background-color: #228B22;
}
.w3-zelena-tmava{
    background-color: #006400;
}
.w3-zel,.w3-hover-zel:hover{color:#fff!important;background-color:#008600!important}
h2.medzera{
    word-spacing: 20px;
    letter-spacing: 5px;
}
.stred{
    display: none;
}
.ncpdf:hover .stred{
    display: block;
}
.obr{
   background-image: url(img/kostol.jpg);
   background-repeat: no-repeat;
   animation: anime 11s linear infinite;
}
@keyframes anime{
   0% {
	   background-image:url(img/kostol.png);
    
   }
   33%{
		background-image:url(img/kostol.png);
   }
   34%{
		background-image:url(img/VK.jpg);
   }
   66%{
	   background-image:  url(img/VK.jpg);
   }
   67%{
		background-image:url(img/kostol.png);
   }
   100%{
	   background-image:  url(img/kostol.png);
   }
}


.w3-theme-l5 {color:#000 !important; background-color:#e7fff9 !important}
.w3-theme-l4 {color:#000 !important; background-color:#afffea !important}
.w3-theme-l3 {color:#000 !important; background-color:#60ffd5 !important}
.w3-theme-l2 {color:#000 !important; background-color:#10ffbf !important}
.w3-theme-l1 {color:#fff !important; background-color:#00c08d !important}
.w3-theme-d1 {color:#fff !important; background-color:#00654a !important}
.w3-theme-d2 {color:#fff !important; background-color:#005a42 !important}
.w3-theme-d3 {color:#fff !important; background-color:#004f3a !important}
.w3-theme-d4 {color:#fff !important; background-color:#004331 !important}
.w3-theme-d5 {color:#fff !important; background-color:#003829 !important}

.w3-theme-light {color:#000 !important; background-color:#e7fff9 !important}
.w3-theme-dark {color:#fff !important; background-color:#003829 !important}
.w3-theme-action {color:#fff !important; background-color:#003829 !important}

.w3-theme {color:#fff !important; background-color:#006e51 !important}
.w3-text-theme {color:#006e51 !important}
.w3-border-theme {border-color:#006e51 !important}

.w3-hover-theme:hover {color:#fff !important; background-color:#006e51 !important}
.w3-hover-text-theme:hover {color:#006e51 !important}
.w3-hover-border-theme:hover {border-color:#006e51 !important}
/* Galeria*/
.w3-row .w3-col.vymaz{
    display: none;
}
.w3-row .w3-col.zobraz{
    display: block;
    animation: zobraz .5s ease;
}
.disabled{
    pointer-events: none;
}
@keyframes zobraz{
    0%{
       opacity: 0;
       transform: scale(0.8); 
    }
    100%{
       opacity: 1;
       transform: scale(1); 
    }
}
.pad{
    margin-top: 8%;
}
.padd{
    margin-top: 5%;
}
paddi{
    margin-top: 0;
}
.ikona{
    background: #afffea;
    color: black;
    opacity: 0.7;
}
/* historia Jeskovej*/
.jv{
    background-color: #3d6bf5;
}
.obrazok{
    width: 500px;
}
.gallery {
            margin: 10px 40px;
        }
         
        .gallery img {
            width: 200px;
            height: 50px;
            transition: 1s;
            padding: 5px;
        }
         
        .gallery img:hover {
            filter: drop-shadow(4px 4px 6px gray);
            transform: scale(1.1);
        }
        
 .row > .column {
  padding: 0 8px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Create four equal columns that floats next to eachother */
.column {
  float: left;
  width: 25%;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 10px;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  overflow: auto;
  align-items: center;
  background-color: green;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin-top: 1%;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  width: 80%;
  height: auto;
  max-width: 1100px;
 
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 0px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  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 {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Caption text */
.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

img.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.prevrateny .predna-strana,
.prevrateny .zadna-strana{
    transform: rotateY(-180deg);
}
.hodiny{
    position: relative;
    height: 36vw;
}
.veza{
    width: 3.5vw;
    height: 3.5vw;
    background: none;
    border-radius: 50%;
    border: .2vw solid black;
    position: relative;
    
}
.veza .rucicka{
    --rotation: 0;
    position: absolute;
    bottom: 50%;
    left: 50%;
    
    background-color: black;
    transform-origin: bottom;
    transform: translateX(-50%) rotate(calc(var(--rotation)* 1deg));
    z-index: 10;
}

.cislo{
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    background: none;
    font-size: 0.4vw;
    color: black;
}
.cislo span{
    position: absolute;
    transform: rotate(calc(var(--index)*30deg));
    inset: 0vw;
    background: none;
}
.cislo span p{
    background: none;
    transform: rotate(calc(var(--index)*-30deg));   
}

.veza .rucicka.hod{
    width: 0.13vw;
    height: 42%;
    background-color: black;
}
.veza .rucicka.min{
    width: 0.13vw;
    height: 48%;
    background-color: black;
    
}
.veza::after{
    content: '';
    position: absolute;
    background-color: black;
    width: 0.6vw;
    height: 0.6vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}
.veza .rucicka.sek{
    width: 0.05vw;
    height: 50%;
    background-color: blue;
    
}
.aktualOznam{
   
    width: 30%;
    height: 20%;
    background: none;
    top: -30%;
    left: 70%;
    
}
.aktualOznam p{
    opacity: 1;
    background: none;
}
#jesko{
    background-image: url(img/priroda.png);
    
}
#jez{
    background: none;
    
}
.jez{
  position: absolute;
  font-weight: bold;
  width: 50%;
  bottom: -10%;
  background: none;
  color: black;
  
  padding-left: 20px;
  padding-right: 20px;
  z-index: 5;
  animation: jesko 5s ease-in-out infinite;
}
@keyframes jesko {
    0% {left:-30%;}
    50% {left:0%;}
    100% {left:30%;}
}
