#galpop-wrapper {
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, .8);
}
#galpop-container {
  border-radius:10px;
  padding:10px;
  background:#fff;
}
#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;
  -o-transition: opacity 0.5s;
  -ms-transition: opacity 0.5s;
  -moz-transition: opacity 0.5s;
  -webkit-transition: opacity 0.5s;
  transition:opacity 0.5s;
  background-image:url("../images/ajax-loader.gif");
  background-repeat:no-repeat;
  background-position:center;
}
#galpop-wrapper.complete #galpop-ajax {
  opacity:0;
}
#galpop-info {
  color:#fff;
  font-size: 16px;
  font-weight:  bold;
  left: 50%;
  width:  100px;
  margin-left: -50px;
  bottom: -52px;
}
#galpop-close {
  top:-30px;
  right:-30px;
  width:36px;
  height:36px;
  background-image:url("../images/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: 1000;
}
#galpop-container {
	width:auto!important;
	height:488px!important;
	position:absolute;
	top:50%;
	left:50%;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	-o-transition: width 0.5s, height 0.5s;
	-ms-transition: width 0.5s, height 0.5s;
	-moz-transition: width 0.5s, height 0.5s;
	-webkit-transition: width 0.5s, height 0.5s;
	transition:width 0.5s, height 0.5s;
	/* overflow:hidden; */
}
#galpop-prev,
#galpop-next {
  position:absolute;
  width:110px;
  height:40px;
  bottom:-48px;
  z-index:5;
  background-repeat:no-repeat;
  outline:none;
  display:block!important;
}
#galpop-prev {
  right:58%;
}
#galpop-next {
  left:58%;
}
#galpop-prev {
  background-image:url("../images/prev.png");
  background-position:left center;
  background-size:80%;
}
#galpop-next {
  background-image:url("../images/next.png");
   background-size:80%;
 background-position:right center;
}
#galpop-modal {
  position:relative;
}
#galpop-content {
  display:none;
}
#galpop-content img {
	vertical-align:top;
	height:488px;
}
#galpop-info {
  position:absolute;
  display:none;
  z-index: 11115;
}
#galpop-info p {
  margin:0;
  text-align:center;
}
#galpop-info a {
  color:#fff;
}
#galpop-close {
  position:absolute;
  display:block;
  z-index:10;
}
