.ranprimage.textbottom .ranprimage-desc {
	-webkit-transition: opacity 1.5s ease-in-out, background 0.5s ease-in-out, border 0.5s ease-in-out;
	-moz-transition: opacity 1.5s ease-in-out, background 0.5s ease-in-out, border 0.5s ease-in-out;
	-ms-transition: opacity 1.5s ease-in-out, background 0.5s ease-in-out, border 0.5s ease-in-out;
	-o-transition: opacity 1.5s ease-in-out, background 0.5s ease-in-out, border 0.5s ease-in-out;
	transition: opacity 1.5s ease-in-out, background 0.5s ease-in-out, border 0.5s ease-in-out;
}

.ranprimage.textbottom .ranprimage-wrapper {
	position: relative;
	width: 100%;
	-webkit-transition: opacity 1s ease-in-out;
	-moz-transition: opacity 1s ease-in-out;
	-ms-transition: opacity 1s ease-in-out;
	-o-transition: opacity 1s ease-in-out;
	transition: opacity 1s ease-in-out;
	opacity: 0.2;
}
.ranprimage.textbottom  img{
	width: 100%;
	height: auto;
}

.ranprimage.textbottom .ranprimage-desc {
	position: absolute;
	opacity: 0;
	padding: 10px;
	border: none;
	bottom: 0;
	left: 0;
	text-align: center;
	background: rgba(53,53,53, 0.6);
	width: 100%;
}

.ranprimage.textbottom:hover .ranprimage-desc {
	background: rgba(0, 62, 91, 0.8);
}

.ranprimage.textbottom .ranprimage-subcap {
	display: none;
}

.ranprimage.textbottom .ranprimage-desc {
	color: white;
	font-weight: bold;
}

.ranprimage.textbottom h1 {
	font-size: 1.2em;
}
.ranprimage.textbottom h2 {
	font-size: 1.1em;
}
.ranprimage.textbottom h3 {
	font-size: 1em;
}
.ranprimage.textbottom h4 {
	font-size: 0.9em;
}


@media (min-width: 768px) {
	
	.ranprimage.textbottom .ranprimage-subcap {
		display: inherit;
	}
}

@media (min-width: 768px) and (max-width: 992px) {
	.ranprimage.textbottom h1 {
		font-size: 1.4em;
	}
	
	.ranprimage.textbottom h2 {
		font-size: 1.3em;
	}
	
	.ranprimage.textbottom h3 {
		font-size: 1.2em;
	}
	
	.ranprimage.textbottom h4 {
		font-size: 1.1em;
	}
}

@media (min-width: 992px) and (max-width: 1200px) {
	.ranprimage.textbottom h1 {
		font-size: 1.8em;
	}
	
	.ranprimage.textbottom h2 {
		font-size: 1.6em;
	}
	
	.ranprimage.textbottom h3 {
		font-size: 1.4em;
	}
	
	.ranprimage.textbottom h4 {
		font-size: 1.2em;
	}
}

@media (min-width: 1200px) {
	.ranprimage.textbottom h1 {
		font-size: 2.2em;
	}
	
	.ranprimage.textbottom h2 {
		font-size: 1.9em;
	}
	
	.ranprimage.textbottom h3 {
		font-size: 1.6em;
	}
	
	.ranprimage.textbottom h4 {
		font-size: 1.3em;
	}
}