.rb-grid {
	list-style: none;
	text-align: center;
	margin: 0 auto;
	max-width:1200px;
	padding:0;
}

.rb-grid li {
	width: 32.33%;
	height: auto;
	margin: 0.5%;
	color: #fff;
	display: block;
	float: left;
	cursor: pointer;
	position: relative;
}
.rb-grid li a{
	color:#fff;
}
.rb-grid li a:before{
	content:"";
	width:100%;
	height:100%;
	background-color:rgba(0,0,0,0.6);
	position:absolute;
	top:0;
	left:0;
	opacity:0.1;
	transition:all 0.5s;
}
.rb-grid li a:hover:before{
	opacity:1;
}

.rb-grid li h3 {
	position:absolute;
	font-size: 36px;
	line-height:1.2em;
	font-weight:900;
	bottom:20px;
	padding:0 8%;
	text-align:left;
	transition:all 0.5s;
}
.rb-grid li:hover h3 {
	bottom:40%;
}

.rb-grid li:hover {
	opacity: 1;
}

.rb-overlay {
	opacity: 0;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	transition: all 0.4s ease;
	z-index: -1;
	pointer-events: none;
	cursor: default;
	background-color:#f1f1f1;
	display:flex;
	align-items:center;
}

.rb-close {
	position: absolute;
	top: 10px;
	right: 20px;
	width: 2em;
	height: 2em;
	text-indent: -9000px;
	cursor: pointer;
	z-index: 1000;
}

.rb-close::before {
	content: 'x';
	font-weight: 400;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	font-size: 4em;
	line-height: 0.6;
	text-align: center;
	text-indent: 0px;
	color:#333;
}

.rb-explore {
	width: 90%;
	max-width:1100px;
	height: auto;
	padding:60px 5%;
	display:flex;
	align-items:center;
	margin:60px auto;
	background-color:#fff;
	border-radius:20px;
	box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.explore-img{
	width:35%;
	float:left;
}
.explore-text{
	width:65%;
	float:left;
	padding-left:5%;
	color:#000;
	line-height:1.7em;
	font-size:18px;
	text-align:left;
}
.explore-text h4{
	font-size:30px;
	color:#e71d2e;
}


@media screen and (max-width:1279px){
	.rb-grid li h3 {
		font-size: 30px;
	}
}

@media screen and (max-width: 980px) {	
	.rb-grid li {
		width: 48%;
		margin: 1%;
	}
}
@media screen and (max-width: 767px) {	
	.rb-grid li h3 {
		font-size: 26px;
	}
	.rb-explore {
		display:block;
	}
	.explore-img{
		width:100%;
		float:none;
		margin-bottom:20px;
	}
	.explore-text{
		width:100%;
		float:none;
		padding-left:0%;
	}
	.rb-overlay {
		display:block;
		overflow-y:scroll !important;
		padding:60px 0 100px 0 !important;
	}

}

@media screen and (max-width: 599px) {	
	.rb-grid li {
		width: 90%;
		margin: 3% 5%;
	}
}

