
.velikaSlikca {
max-height: 86vh;
max-width:100%;
}

/* The Modal (background) */
.galerija, .galerija_reference {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 8vh;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
}
.galerija {background-color: black;}
.galerija_reference {background-color: rgba(0,0,0,0.5);}

/* Modal Content */
.galerija-vsebina-LB {
  position: relative;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}

/* The Close Button */
.zapri {
  height: 8vh;
  color: white;
  position: absolute;
  top: 0px;
  padding-top: 2vh;
  right: 0px;
  padding-right:2vh;
  font-size: 4vh;
  line-height: 4vh;
  font-weight: bold;
}

.zapri:hover,
.zapri:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer!important;
}

.galerija .cursor, .blok_slikic_kvadratek {
  cursor: pointer;
}

/* Next & previous buttons */
.nazaj, .nazaj_reference,
.naprej, .naprej_reference {
  cursor: pointer!important;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  font-weight: bold;
  font-size: 2rem;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}
.nazaj, .naprej {  color: gray!important;}
.nazaj_reference, .naprej_reference {  color: white!important;}

/* Position the "next button" to the right */
.naprej, .naprej_reference {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.nazaj:hover, .nazaj_reference:hover,
.naprej:hover, .naprej_reference:hover {
  color: white!important;
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.stevilkeSlajdov, .stevilkeSlajdov_reference {
  font-size: 1.3rem;
  font-weight: bold;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}
.stevilkeSlajdov {color: gray!important;}
.stevilkeSlajdov_reference {color: white!important;}

.galerija img {
  margin-bottom: -4px;
}

/* Caption text */
.opis_container, .opis_container_reference {
  height: 5vh;
  text-align: center;
  color: white;
}

img.maleSlikceLB {
  opacity: 0.6;
}

.aktivna {opacity: 1 !important;}
.maleSlikceLB:hover {
  opacity: 1;
}

img.hover-shadow, img.hover-shadow_reference {
  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);
}
.hover-shadow_reference:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.5);
}
