/* width */
::-webkit-scrollbar {
    height: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #aaa;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #787878;
}

.galeri-foto-wrapper {
  width: 100%;
  /* border: 1px solid #ccc; */
  text-align: center;
  margin-bottom: 20px;
}

.foto-display {
  width: 100%;
  margin: 10px 0;
  position: relative;
}
#foto-caption {
  margin: 10px 0;
  text-align: center;
  padding: 0 10px;
  min-height: 42px;
}
.foto-wrapper {
  width: 100%;
  position: relative;
  display: inline-block;
}
.arrow {
  width: 5%;
  text-align: center;
  font-size: 36px;
  position: absolute;
  z-index: 99;
  top: 45%;
  margin: 0 10px;
  color: #fff;
  display: none;
}

.foto-display .arrow {
  background: rgba(0, 0, 0, 0.75);
}
.arrow:hover {
  color: #787878;
}
.arrow#prev {
  left: 0;
}
.arrow#next {
  right: 0;
}
.arrow, .foto-wrapper {
  vertical-align: middle;
}
.foto-display:hover .arrow {
  display: inline-block;
}
#foto {
  width: 100%;
  display: block;
  background: url('../images/loading2.gif') center no-repeat;
}
#loader-image {
  width: 100%;
  height: 100%;
  position: absolute;
  display: none;
  background: #f3f3f3;
}
#loader-image img {
  position: absolute;
  top: 50%;
  bottom: 50%;
  left: 50%;
  right: 50%;
  vertical-align: middle;
  margin: auto;
}
#foto-copyright {
  position: absolute;
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 10px;
  right: 0;
  bottom: 0;
  color: #ffffff;
}

.daftar-foto-wrapper {
  width: 100%;
  height: 50%;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 10px;
  overflow-x: auto;
}
.daftar-foto {
  width: 100%;
  height: 85px;
}
.small-foto {
  margin: 2px;
  width: 110px;
  display: inline-block;
}
.small-foto.active {
  width: 140px;
}
.small-foto img {
  width: 100%;
}

@media screen and (max-width: 480px) {
  #foto-caption {
    font-size: 14px;
    min-height: 62px;
  }
  .arrow {
    width: 8%;
    top: 35%;
  }
  #next {
    right: 0;
  }
  #prev {
    left: 0;
  }
  .foto-wrapper {
    width: 100%;
  }
  .foto-display {
    margin-top: 0;
    position: relative;
  }
  .small-foto {
    width: 95px;
  }
  .small-foto.active {
    width: 120px;
  }
}

@media screen and (max-width: 360px) {
  #foto-caption {
    font-size: 13px;
    min-height: 72px;
  }
  .arrow {
    width: 10%;
  }
}

#indosport-gallery {
  display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 1000;
  background: rgba(0,0,0,0.9);
  text-align: center;
}

#indosport-gallery .gallery-wrapper {
  display: table;
  width: 100%;
  height: 100%;
}

#indosport-gallery .arrow {
  color: #fff;
  position: absolute;
  top: 46%;
  text-align: center;
  display: inline-block;
}

#indosport-gallery .arrow:hover {
  color: #999;
}

#indosport-gallery #prev-button.arrow {
  left: 0;
}

#indosport-gallery #next-button.arrow {
  right: 0;
}

#indosport-gallery .photo-wrapper {
  display: table-cell;
  vertical-align: middle;
  width: 100%;
  height: 100%;
}

#indosport-gallery #photo-loader-image {
  position: absolute;
  bottom: 50%;
  left: 50%;
  vertical-align: middle;
}

#indosport-gallery #photo {
  max-width: 100%;
  max-height: 100%;
}

#indosport-gallery #close-button {
  color: #fff;
  width: 5%;
  font-size: 28px;
  position: absolute;
  right: 0;
  top: 0;
  margin: 10px;
}

#indosport-gallery #close-button:hover {
  color: #999;
}

#indosport-gallery .photo-caption {
  width: 100%;
  position: absolute;
  font-size: 24px;
  color: #fff;
  right: 0;
  bottom: 10%;
}

#indosport-gallery .photo-list {
  width: 100%;
  position: absolute;
  right: 0;
  bottom: 2%;
}

#indosport-gallery .photo-list, #indosport-gallery .photo-caption {
  padding: 0 20px;
}

#indosport-gallery .photos {
  width: 20px;
  overflow: hidden;
  border-radius: 50px;
  display: inline-block;
  margin: 2px;
}

#indosport-gallery .photos.active {
  width: 23px;
  border: 2px solid #fff;
}

#indosport-gallery .photos img {
  width: 35px;
}

@media screen and (max-width: 1024px) {
  #indosport-gallery .photo-caption {
    font-size: 18px;
  }
}

@media screen and (max-width: 480px) {
  #indosport-gallery .photo-caption {
    font-size: 14px;
  }
  #indosport-gallery .arrow, #indosport-gallery #close-button {
    width: 10%;
  }
}
