.popup{
	z-index: 1990;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(25,25,25,.5);
    text-align: center;
    overflow: auto;
	display:none;
}
.popup:before{
    display: inline-block;
    vertical-align: middle;
    content: '';
    width: 0;
    height: 100%;
}
.popup-inner{
	width:750px; height:auto; padding-bottom:2px;
	vertical-align: middle;
    display: inline-block;
    position: relative;
	text-align:left;
    background: #fff;
    padding: 67px 45px 45px 45px;
}

.close {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 32px;
  height: 32px;
  opacity: 0.3;
}
.close:hover {
  opacity: 1;
}
.close:before, .close:after {
  position: absolute;
  left: 15px;
  content: ' ';
  height: 33px;
  width: 2px;
  background-color: #333;
}
.close:before {
  transform: rotate(45deg);
}
.close:after {
  transform: rotate(-45deg);
}

.popup_gallery .popup-inner {
    width: 90%;
    height: 90%;
    padding-bottom: 0;
	background:none;
    padding: 0;
}

.gallery_thumbs_container{
    display: flex;
    flex-wrap: wrap;
    /*justify-content: left;*/
	justify-content: center;
	width:100%;
}
.gallery_thumbs_container div{
	/*width:50%; */
	width:33.3%; 
	overflow:hidden;}
.gallery_thumbs_container div img{width:100%; cursor:pointer;}
.gallery_thumbs_container div img{transition: .35s;}
.gallery_thumbs_container div img:hover{ -webkit-transform: scale(1.1);  transform: scale(1.1);  transition: .2s;}
.container2fotorama{}
.close{z-index:100;}
.popup_gallery .close {
    opacity: 1;
    background: rgba(255,255,255,0.75);
	right: 15px;
    top: 15px;
    width: 44px;
    height: 44px;
	padding-top: 9px;
    cursor: pointer;
}
.popup_gallery .close:hover{
    opacity: 0.7;
}
.popup_gallery .close:before, .popup_gallery .close:after {
    left: 21px;
    height: 25px;
    width: 2px;
}