#popup {
	display:none; 	
	text-align:center;
	position:absolute;
	background-color: #fff;
	padding:10px;
	border-radius: 10px;
	border:10px solid #aaa;
	margin:0 auto;
	top:380px;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 9999;
}

#popup #close {
	color: red;
	text-align:center;
	padding:2px 30px;
	border-radius: 10px;
}

#popup img{ height:100%;}


@media screen and (max-width: 768px) {
	#popup
	{ 
	width: 90%;
	}
   #popup img{ height:100%;}     
    }

@media screen and (min-width: 769px) {
	#popup
	{
	  
	 height:  90vh;
	 width: auto;
	}
        
    }
	