@charset "UTF-8";
.rig {
	font-size: 0; /* Remember to change it back to normal font size if have captions */
	list-style: none;
	text-align: center;
	margin:0;
	padding:0;
}
.rig li {
	display: inline-block;
    *display:inline;/*for IE6 - IE7*/
	vertical-align: middle;
	box-sizing: border-box;
	margin: 0;
	padding: 5px;
	width:50%;
}
.rig li img{
	object-fit: cover;
	object-position: 50% 50%;
}       
/* The wrapper for each item */
.rig-cell {
	display: block;
	position: relative;
	overflow: hidden;
}
        
/* If have the image layer */
.rig-img {
	display: block;
	border: none;
	object-fit: cover;
	width: 100%;
	height: 300px;
}
.rig-img2 {
	display: block;
	border: none;
	object-fit: cover;
	width: 100%;
	height:400px;
}
.rig li:hover .rig-img {

}
        
/* If have the overlay layer */
.rig-overlay {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	background-size: 50px 50px;
	opacity: 0;
	filter: alpha(opacity=.2);/*For IE6 - IE8*/
	transition: all 0.6s;
	background-color: rgba(0,0,0,0.3);
	;
}
.rig li:hover .rig-overlay {
    opacity:0.8;
}

/* If have captions */
.rig-text{
	display: block;
	box-sizing: border-box;
	position: absolute;
	width: 100%;
	text-align: center;
	font-size: 15px;
	font-family: 'Inter', sans-serif;
	top: 90%;
	color: #111;	
	transition: all .3s;
	background: rgba(255,255,255,.5);
	height:30px;
	padding-top: 5px;
	-webkit-backdrop-filter: blur(6px) saturate(300%);
	backdrop-filter: blur(6px) saturate(300%);
}
.rig li:hover .rig-text {
	transform: translateY(0px);
}

@media (max-width: 9000px) {
    .rig {
	 min-width: 90%; 
	}
	.rig li {
        width:33%;
    }
}

@media (max-width: 1024px) {
    	.rig li {
        width:33.33%;
    }
}

@media (max-width: 640px) {
	.rig li {
        width:100%!important;
    }
	.rig-img{
		height:200px;
	}
	.rig-text {
/*	line-height: 1em;
*/	top: 82%;
	height: 50px;
	font-size: 17px;
	}
}

/* CSS Document */
