
/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 45%;
  width: auto;
  color: #bbb;
  font-size: 27px;
  font-weight: bold;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.prev {
  left: -25px;
  border-radius: 3px 0 0 3px;
}

/* Position the "next button" to the right */
.next {
  right: -25px;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
   color: white;
}



/* The dots/bullets/indicators */
.dotTwo, .dotFour {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 2px;
  position: relative;
  bottom: 29px;
  border: 1px solid white;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}


.active, .dotTwo:hover, .dotFour:hover{ 
 background-color: white;
}


/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 10px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  position: relative;/*For prev next to position in middle of the picture*/
  display: block;
  width: 85%;
  max-width: 1500px;
}


/* The Close Button #f1f1f1  #bbb*/
.closeTwo, .closeFour {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #d6d6d6;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.closeTwo, .closeFour:hover,
.closeTwo, .closeFour:focus {
  color: white;
  text-decoration: none;
  cursor: pointer;
}