.related-projects-row {
	position: relative;
    overflow: hidden;
}

.related_projects .grid-x {
	justify-content: space-between;
}

.related_projects .small-4 {
	width:calc(33.3333% - ( 0.66666666666667 * 48px )) !important;
	margin-bottom:48px;
}

.related_projects h6 {
	padding:96px 0;
	text-align:center;
}

.rp_img_16x9_container {
    padding-top: 56.25%;
    overflow: hidden;
    position: relative;
}

.rp_img_16x9_container:hover .overlay {
	opacity: 1;
}

.rp_16x9_img {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    height:100%;
    width:100%;
}

h6.bottom_link {
	padding-top:48px;
}
	
h6.bottom_link a {
	color:#0000ff;
	border-bottom: 2px solid #0000ff;
    padding-bottom: 10px;
	transition: 0.5s;
}

h6.bottom_link a:hover {
	opacity:0.5;
}

.rp_img_16x9_container .overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	transition: .5s ease;
	background-color: rgba(0, 0, 255, 0.8);
}

.text {
	color: #FFF;
	font-size: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
}

.view_project_btn {
	padding:10px 40px;
	margin-top: 20px;
	border: 2px solid #FFF;
	color: #FFF;
}

@media only screen and (max-width: 991px) {

	.related_projects .small-4 {
		width: calc(50% - ( 0.5 * 48px ) ) !important;
	}

	.grid-x {
		padding-left:0 !important;
	}

	/* Hide The Last Odd Project When In 2 Column Layout */
	.related_projects .small-4:nth-last-child(1):nth-child(odd) {
		display:none;
	}

}

@media only screen and (max-width: 768px) {
	
	.related-projects-row {
		margin-top:24px;
	}

	.related_projects .small-4 {
		margin-top:24px !important;
		margin-bottom:24px !important;
	}

	h6.bottom_link {
		padding-top: 24px !important;
		padding-bottom: 48px !important;
	}

	.related_projects h6 {
		padding-bottom:24px;
		padding-top:48px;
	}

}

@media only screen and (max-width: 575px) {

	.related_projects .small-4 {
		width: 100% !important;
	}

	.related_projects h6 {
		padding-top:48px;
	}

}