.preview-col {
  position: relative;
  overflow: hidden;
  background: var(--main-color);
}
img.preview {
  overflow: hidden;
  cursor: pointer;
  width: 100%;  
  /* max-width: 100%; */
  height:auto;
  -moz-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
img.preview:hover {
  -moz-transform: scale(1.3);
  -webkit-transform: scale(1.3);
  transform: scale(1.3);
  opacity: 0.5;
}
.photo-row {
  display: flex;
  flex-direction: row;
  justify-content: center;  
}

.photo-row > .fcol {
  margin-bottom: 2em;  
}
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding: 10px 62px 0px 62px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);  
  animation-name: fadeIn;
  animation-duration: 0.4s;
}

.modal-content {
  position: relative;
  display: flex;
  border: 0!important;
  flex-direction: column;
  justify-content: center;
  margin: auto;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.0);   
  max-width: 1200px;
}

.slide {
  display: none;
  transition-duration: 1s!important;
  color: white;
}
.slide p {
  padding-left: 10px!important;
  display: inline-block;
  color: var(--light);
}
.image-slide {
  width: 100%;  
}

.dots {
  display: block;
  position: relative;
  text-align: center;
  bottom: 0;
  justify-content: center;
  padding: 5px 8px;
  border: 0!important;
}
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: rgb(153, 153, 153);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.dot:hover {
  background-color: white!important;
}


span {
  transition-duration: 0.2s;
}
.active {
  background-color:  white;
}

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

.close:hover,
.close:focus {
  color: white;
  text-decoration: none;
  cursor: pointer;
}
.nav-arrow {
  cursor: pointer;
  position: fixed;
  width: auto;
  padding: 30% 10px;
  color: rgb(206, 206, 206)!important;
  font-size: 40px;
  transition: 0.3s ease;
  user-select: none;
  -webkit-user-select: none;
}
.previous {
  right: 90%;
}

.next {
  left: 90%;
}

.previous:hover,
.next:hover {
  color: white!important;
}
@media screen and (max-width: 800px) {
  .modal {
    padding: 0!important;
    z-index: -1;
    background-color: rgba(0, 0, 0, 1);  

  }
  .modal-content {
    z-index: -1;

  }
  .nav-arrow {
    padding: 0;
    font-size: 30px;
  }
  .previous {
    left: 5%!important;
    
  }
  .next {
    right: 5%!important;

  }
}
/* Zoom effect */
@keyframes fadeIn {
  from {opacity: 0}
  to { opacity: 1 }  
}
@keyframes fadeOut {
  from {opacity: 1;}
  to {opacity: 0;}
}
@keyframes preview-zoom {
  from {transform: scale(0);}
  to {transform: scale(1)}
}
