ul.videos{
	text-align: center;
	margin-top: 5px;
}

ul.videos li{
	float: left;
	margin-top: 20px;
}

ul.videos li:nth-child(3n-1){
	margin: 20px 20px 0px;
}

ul.videos li a{
	position: relative;
	display: block;
	width: 386px;
	height: 220px;
	background-size: cover;
	color: white;
	text-decoration: none;
}

ul.videos li a:before{
	position: absolute;
	content: '';
	display: block;
	background-image: url(/main/_images/videos/play_button.png);
	height: 100%;
	width: 100%;
	background-repeat: no-repeat;
	background-position: center calc(50% - 18px);
}

ul.videos li a:after{
	position: absolute;
	content: '';
	display: none;
	height: 100%;
	width: 100%;
	background-color: white;
	opacity: 0.2;
}

ul.videos li a div.name{
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 100%;
	background-color: #7eaed2;
	font-size: 14px;
	line-height: 1.2em;
	padding: 10px;
	box-sizing: border-box;
	font-weight: bold;
	z-index: 2;
}

ul.videos li a:hover div.name{
	background-color: #5cb9df;
}

ul.videos li a:hover:after{
	display: block;
}

@media(max-width: 1250px) {
	ul.videos{
		margin-top: 20px;
	}

	ul.videos li:nth-child(3n-1){
		margin: 0px;
	}

	ul.videos li{
		margin: 10px !important;
		display: inline-block;
		float: none;
	}
}

@media (max-width: 760px) {
	ul.videos li{
		margin: 10px 0px !important;
		width: 100%;
	}

	ul.videos li a{
		width: 100%;
	}
}