#galpop-wrapper {
  background-color: #000;
  background-color: rgba(0, 0, 0, 0.8);
}

#galpop-container {
  border-radius: 5px;
  padding: 10px;
  background-color: #fff;
  background-color: rgba(255, 255, 255, 0.8);
}

#galpop-wrapper.loaded-ajax #galpop-container,
#galpop-wrapper.loaded-iframe #galpop-container {
  width: 70vw;
  height: 70vh;
  padding: 0;
  border-radius: 0;
}

#galpop-wrapper.loaded-iframe iframe {
  width: 100%;
  height: 70vh;
  border: 0;
}

#galpop-wrapper.loaded-ajax #galpop-content {
  padding: 10px 20px;
}

#galpop-ajax {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
  background-image: url(/assets/images/galpop/ajax-loader.gif);
  background-repeat: no-repeat;
  background-position: center;
}

#galpop-wrapper.complete #galpop-ajax {
  opacity: 0;
}

#galpop-info {
  width: 100%;
  background-color: #000;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 0.8em;
  padding: 10px;
  left: 0;
  bottom: 0;
}

#galpop-close {
  top: -30px;
  right: -30px;
  width: 36px;
  height: 36px;
  background-image: url(/assets/images/galpop/btn-close.png);
  background-repeat: no-repeat;
}

.lock-scroll {
  overflow: hidden !important;
}

#galpop-wrapper {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
}

#galpop-container {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  height: 100px;
  width: 100px;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: width 0.5s, height 0.5s;
  transition: width 0.5s, height 0.5s;
  overflow: visible !important;
}

#galpop-content img {
  width: 100%;
}

#galpop-prev,
#galpop-next {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 5;
  background-repeat: no-repeat;
  outline: none;
}

#galpop-prev {
  left: 0;
  right: 50%;
}

#galpop-next {
  left: 50%;
  right: 0;
}

#galpop-prev:hover {
  background-image: url(/assets/images/galpop/btn-prev.png);
  background-position: left center;
}

#galpop-next:hover {
  background-image: url(/assets/images/galpop/btn-next.png);
  background-position: right center;
}

#galpop-modal {
  position: relative;
}

#galpop-content {
  display: none;
}

#galpop-content img {
  vertical-align: top;
}

#galpop-info {
  position: absolute;
  display: none;
  z-index: 15;
}

#galpop-info p {
  margin: 0;
}

#galpop-info a {
  color: #fff;
}

#galpop-close {
  position: absolute;
  display: block;
  z-index: 10;
}


/* add */
.loaded-video #galpop-container {
  width: 740px !important;
  height: 450px !important;
}

.loaded-video #galpop-modal {
  height: 100%;
}

.loaded-video #galpop-prev,
.loaded-video #galpop-next {
  bottom: auto;
  height: 75%;


}