/**
 * Custom styles for Gaslamp Media Plugin: In The News on Sealfit
 *
 */

/* ================================
      Grid Styles - Mobile First
   ================================ */
.news.row .inner {
	width: 275px;
	height: 203px;
  overflow: hidden;
	margin: 0px auto 20px;

	position: relative;
}

.news.row .inner img {
	width: 100%;
	height: auto;
}

.news.row .overlay {
	background-color: rgba(0, 0, 0, .6);
	padding: 15px;

	position: absolute;
	top: auto;
	left: 0px;
	right: 0px;
	bottom: 0px;
	-moz-transition: all .5s ease, transform .5s;
	-o-transition: all .5s ease, transform .5s;	
  -webkit-transition: all .5s,-webkit-transform .5s;
  transition: all .5s, transform .5s;
}

.news.row .inner .overlay h3 {
	margin: 0px;
	padding: 0px 0px 5px;
}

.news.row .inner .overlay h3 a {
  font-size: 14px !important;
  text-transform: none;	
}

.news.row .inner .overlay a {
	color: #fff;
	display: block;
}

.news.row .inner .overlay a:hover {
	text-decoration: none;
}

/* ===================
      Media Queries
   =================== */
@media (min-width: 768px) {
	.news.row .inner {
		width: auto;
		height: auto;
	}

	.news.row .inner .overlay {
		top: 90px;
	}

	.news.row .inner .overlay h3 {
		padding-bottom: 15px;
	}

	.news.row .inner .overlay .excerpt {
		position: absolute;
		top: 100%;
		left: 15px;
		right: 15px;
		bottom: 0px;
		-moz-transition: all .3s ease, transform .3s;
		-o-transition: all .3s ease, transform .3s;	
	  -webkit-transition: all .3s,-webkit-transform .3s;
	  transition: all .3s, transform .3s;

		-moz-transition-delay: .2s;
		-o-transition-delay: .2s;
    -webkit-transition-delay: .2s;
    transition-delay: .2s;
	}	

	.news.row .inner .overlay .excerpt a {
		position: absolute;
		top: 0px;
		left: 0px;
		right: 0px;
		bottom: 0px;
	}

	.news.row .inner:hover .overlay {
		top: 0px;
	}	

	.news.row .inner:hover .overlay .excerpt {
		top: 65px;
	}	
}

@media (min-width: 992px) {
	.news.row .inner .overlay {
		top: 155px;
	}	

	.news.row .inner:hover .overlay {
		top: 70px;
	}		
}

@media (min-width: 1200px) {
	.news.row .inner .overlay {
		top: 105px;
	}	

	.news.row .inner:hover .overlay {
		top: 0px;
	}

	.news.row .inner .overlay h3 a {
	  text-transform: none;	
	}

	.news.row .inner:hover .overlay .excerpt {
		top: 65px;
	}
}