#overlay:hover{
	cursor: pointer;
}
#main:hover{
	cursor: pointer;
}
#frame img{ max-width:100%; height: auto;}
 #portfolio{
	list-style: none;
	padding-left: 0px; text-align:center;
}
#portfolio li{
	display: inline-block;	
	margin-bottom:5%; margin-right:0px;
}


#portfolio li img{
	max-width: 100%;
	height: auto; margin-bottom:5%;
}
#frame{ z-index:99999;
	margin-top: 15px;
	position: fixed;
	top:20%;
	left: 5%;
	display: none;
	background-color:#fff;
	width: 90%;
	height: 300px;
	margin-left: 0px;
	padding-top: 10px;
	padding-bottom: 25px;
}

#main{
	width: 100%;
	height:300px;
	margin-left: 0px; object-fit: cover;

}

#overlay{
	display: none;
	width: 100%;
	height: 100%;
	position: fixed;
	background-color: black;
	opacity:  0.7;
}
#frame-table{
	position: absolute;
	width: 100%;
	
}
#left{ left: 0;}
#right{ float:right; right: 0;}
#right, #left{
	position: relative;
	top: 100px;
	cursor: pointer;	
}
#caption{
	display: none; text-align: center;
	font-size: 12px; font-weight:500;
	background-color: #fff;
	width: 100%; margin-top: 0px;
	height: 120px;
	padding: 20px 10px 10px 10px; overflow: hidden;}

@media screen and (min-width:375px)  {
    
}
@media screen and (min-width:768px)  {
	#right, #left{
	top: 250px;
}
    #caption{
	display: none;
	font-size: 16px; font-weight:500;
	background-color: #fff;
	width: 100%; margin-top: 0px;
	height: 100px;
	padding: 20px;}
}
@media screen and (min-width:1024px)  { 
   
#portfolio li{
	display: inline-block;	
	margin-bottom:20px; margin-right:10px;
}


#portfolio li img{
	width: 320px;
	height: 250px; object-fit:cover;margin-bottom:8px; overflow: hidden;
}
#portfolio li img:hover{
	cursor: pointer;
}

#portfolio li .gdownbtn { display:block;width: 260px;
	font-weight:500; text-align:center; padding:5px 0; }
#portfolio li .gdownbtn a { text-decoration:none;color:#225991;font-size:16px;}


#frame{ z-index:99999;
	margin-top: 15px;
	position: fixed;
	top:12%;
	left: 50%;
	display: none;
	background-color:#fff;
	width: 700px;
	height: auto;
	margin-left: -350px;
	padding-top: 10px;
	padding-bottom: 25px;
}
 
#main{
	width: 680px;
	height:510px;
	margin-left: 10px;

}


#right, #left{
	position: relative;
	top: 220px;
	cursor: pointer;
	
}
#caption{
	height: 90px;}
    
}
@media screen and (min-width:1200px)  {
      
}
@media screen and (min-width:1440px)  {
    
}
@media screen and (min-width:1920px)  {
      
}