#modal_popup{
	opacity: 0;
	pointer-events: none;
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    transition: opacity 300ms ease 0s;
    height: 100vh;
    width: 100%;
}
#modal_popup.show{
	opacity: 1;
	pointer-events: all;
}
.modal_wrap{
	position: relative;
}

#gal_pop_slider {
	padding-top: 2vh;
}

#gal_pop_slider .slides li{
	height: 85vh;
	text-align: center;
	position: relative;
}

#gal_pop_slider .slides li img{
	height: 100%;
	width: auto;
	
}
#gal_pop_slider .slides li .caption{
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	color: #fff;
	font-family: 'Caslons Egyptian Reg', sans-serif;
    font-size: 14px;
    line-height: 21px;
    font-weight: 400;
    text-align: center;
    letter-spacing: 2px;
    background: rgba(0, 0, 0, 0.6);
    margin: 0 auto;
    padding: 10px;
}
#gal_pop_slider .slides li .caption > span{
	font-size: 11px;
	position: relative;
    top: -5px;
}
#gal_carousel_slider .flex-viewport{
	display: inline-block;
	left: 50%;
    transform: translateX(-50%);
}
#gal_carousel_slider .slides li{
	height: 12vh;
	width: 10vh;
    padding: 1vh;
   cursor: pointer;
}
#gal_carousel_slider .slides li.flex-active-slide{
	opacity: 0.3;
}
#gal_carousel_slider .slides li div, #gal_carousel_slider .slides li img{
	width: 100%;
	height: 100%;
}
.close{
	position: absolute;
	right: 15px;
	top: 20px;
	width: 15px;
	height: 20px;
	background: none;
	border:none;
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
	z-index: 1;
	padding: 0;
}
.close img{
	width: 100%;
	height: 100%;
}
.flex-direction-nav a{
	opacity: 0.4;
	width: 26px;
    height: 26px;
}
.flex-direction-nav a:hover{
	opacity: 1;
}
.flex-direction-nav .flex-prev{
    border: solid #fff;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    font-size: 0;
    left:35px;
}
.flex-direction-nav .flex-next{
    border: solid #fff;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    font-size: 0;
    right: 35px;
}
.flex-direction-nav a:before,
.flex-direction-nav a.flex-next:before{
	content: "";
}

@media (max-width: 768px){
	#gal_pop_slider .slides li{
		display: flex !important;
	    flex-direction: column;
	    justify-content: center;
	    align-items: center;
	}
	#gal_pop_slider .slides li img{
	    height: auto;
		/*width: auto;*/
		max-width: calc(100% - 90px);
		/*padding: 0 65px;*/
	}
	.flex-direction-nav .flex-prev{
		left: 15px;
	}
	.flex-direction-nav .flex-next{
		right: 15px;
	}
}
@media (max-width: 736px){
	.flex-direction-nav a{
		width: 18px;
	    height: 18px;
	}
}

@media only screen and (min-device-width: 320px) and (max-device-width: 736px) and (orientation:landscape){
	#gal_pop_slider .slides li img{
		height: 100%;
    	width: auto;
	}
}

.poster_img{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	display: none;
	object-fit: cover;
}

		
