* {
  box-sizing: border-box;
}

/* Position the image container (needed to position the left and right arrows) */
.container-slideshow {
  overflow-y: hidden;
  position: relative;
  width: 1220px;
  max-width: 80%;
  margin: auto;
  margin-top: 30px;
}

/* Hide the images by default */
.mySlides {
  display: none;
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 600px;
  border-radius: 0.4vw;
}

/* Add a pointer when hovering over the thumbnail images */
.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;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  z-index: 1;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
.prev {
  left: 320px;
}

/* 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;
  background-color: #555;
  border-radius: 50%;
  font-size: 14px;
  padding: 6px 10px;
  position: absolute;
  top: 1%;
  right: 1%;
  user-select: none;
}

/* Container for image text */
.caption-container { 
  position: absolute;
  padding: 20px;
  top: 0;
  height: 100%;
  width: 320px;
  opacity: 0.8;
  background-color: #222;
  color: white;
  border-top-left-radius: 0.4vw;
  border-bottom-left-radius: 0.4vw;
}
.caption {
  font-size: 24px;
  font-family: arial;
  line-height: 44px;
}

.more_btn {
  position: absolute;
  top: 493px;
  left: 147px;
  color: #b3ff99;
  border: 2px solid #b3ff99;
  border-radius: 0.4vw;
  padding: 8px 45px;
  padding-bottom: 12px;
  text-decoration: none;
  font-size: 27px;
  font-family: nazanin;
  transition: 0.25s;
}
.more_btn:hover {
    color: black;
    background-color: #b3ff99;
    border: 2px solid #b3ff99;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Six slide-columns side by side */
.slide-column {
  float: left;
  width: 16.66%;
}

/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

.dots {
  position: absolute;
  right: 1%;
  top: 578px;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
/*  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;*/
  animation-name: fade;
  animation-duration: 0.8s;
}

/*@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}*/

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}