* {box-sizing: border-box;}
      .img-container {
        text-align: center;
		position: relative;
      }

img1 {
  display: block;
  margin-left: auto;
  margin-right: auto;
}	  

.mySlides {
  display: block;
  //width: 99%;
  height: auto;
}

.overlay {
  position: absolute; 
  bottom: 0; 
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: #f1f1f1; 
  width: 100%;
  transition: .5s ease;
  opacity: 1;
  color: white;
  font-size: 20px;
  padding: 20px;
  text-align: center;
}

.fa {
  padding: 10px;
  font-size: 28px;
  width: 50px;
  text-align: center;
  text-decoration: none;
  margin: 2px 2px;
  border-radius: 50%;
}

.fa:hover {
    opacity: 0.7;
}

.fa-facebook {
  background: #3B5998;
  color: white;
}

#tab1 {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
  background-color: #f2f2f2;
}

#tab1 td, #tab1 th {
  border: 1px solid #ddd;
  padding: 8px;
}

//#tab1 th { 
 //background-color:red;
//}

#tab1 tr:nth-child(even){background-color: #fff;}

//#tab1 tr:hover {background-color: #ddd;}

#tab1 th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #4CAF50;
  color: white;
}

/* CSS za modal (galerija slika) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  //max-height: calc(150vh - 10px);
  //overflow-y: auto;
  overflow: auto;
  background-color: black;
  alignment-adjust:central;
}

/* Modal Content */
.modal-content {
  //position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 80%;
  //max-width: 1200px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.mySlidesI {
  display: none;
  width:800px;
  height:800px;
}

.cursor {
  cursor: pointer;
}

/* 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(255, 255, 255);
  color: rgba(0, 0, 255);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.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);
}

.centerI {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  //max-width:1300px;
  //max-height:700px;
  height:auto;  
/* CSS za modal (galerija slika) */
}