/** modal **/
.modal-overlay {
	display: none;
	width: 100%;
	height: 100%;
	background-color: #000;
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	text-align: center;
	overflow: hidden;
	z-index: 4000;
}

.video_gallery_lastvideos h2 {
	font-family: 'Lato', sans-serif;
	color: #FFF;
	text-transform: uppercase;
	padding: 30px 0 30px;
}

.video_gallery_lastvideos ul {
	list-style: none;
}

.video_gallery_lastvideos ul li .lastvideos_player {
	 text-align: center;
	 color: #FFF;
	 position: absolute;
	 top: 50%;
	 left: 50%;
	 transform: translate(-50%, -50%);
 }

.video_gallery_lastvideos ul li .lastvideos_player i {
	font-size: 60px;
}

@media (min-width:992px) {

	.video_gallery_lastvideos {
		width: 100%;
		height: 300px;
		background-color: #333333;
	}

	.modal-overlay .modal-content {
		width: 840px;
		height: 480px;
		margin: 0 auto;
		position: relative;
		top: 50%;
		-webkit-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
		transform: translateY(-50%);
	}

	.modal-overlay .modal-content iframe {
		width: 100%;
		height: 480px;
	}

	.modal-overlay .modal-close-button {
		color: #ddd;
		cursor: pointer;
		height: 30px;
		margin: 20px;
		position: absolute;
		right: 0;
		top: 0;
		width: 30px;
	}

	.modal-overlay .modal-close-button p {
		display: none;
	}

	.video_gallery_lastvideos ul li {
		display: inline-block;
		margin-right: 5px;
		position: relative;
		width: 230px;
		height: 150px;
		background-position: center;
		background-size: cover;
		cursor: pointer;
		opacity: 0.7;
	}

	.video_gallery_lastvideos ul li:hover {
		opacity: 1;
	}

	.video_gallery_lastvideos ul li:last-child {
		margin-right: 0;
	}
}

@media (min-width:768px) and (max-width:991px) {

	.video_gallery_lastvideos {
		width: 100%;
		height: 300px;
		background-color: #333333;
	}

	.modal-overlay .modal-content {
		width: 80%;
		height: 480px;
		margin: 0 auto;
		position: relative;
		top: 50%;
		-webkit-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
		transform: translateY(-50%);
	}

	.modal-overlay .modal-content iframe {
		width: 100%;
		height: 480px;
	}

	.modal-overlay .modal-close-button {
		color: #ddd;
		cursor: pointer;
		height: 30px;
		margin: 20px;
		position: absolute;
		right: 0;
		top: 0;
		width: 30px;
	}

	.modal-overlay .modal-close-button p {
		display: none;
	}

	.video_gallery_lastvideos ul li {
		display: inline-block;
		margin-right: 5px;
		position: relative;
		width: 24%;
		height: 150px;
		background-position: center;
		background-size: cover;
		cursor: pointer;
		opacity: 0.7;
	}

	.video_gallery_lastvideos ul li:hover {
		opacity: 1;
	}

	.video_gallery_lastvideos ul li:last-child {
		margin-right: 0;
	}

}

@media (max-width:767px) {

	.video_gallery_lastvideos {
		width: 100%;
		min-height: 300px;
		background-color: #333333;
	}

	.video_list {
		width: 100%;
		overflow: auto;
	}

	.video_list ul {
		width: 980px;
	}

	.video_gallery_lastvideos ul li {
		display: inline-block;
		margin-right: 10px;
		position: relative;
		width: 230px;
		height: 150px;
		background-position: center;
		background-size: cover;
		cursor: pointer;
		opacity: 0.7;
	}

	.video_gallery_lastvideos ul li:hover {
		opacity: 1;
	}

	.video_gallery_lastvideos ul li:last-child {
		margin-right: 0;
	}

	.modal-overlay .modal-content {
		width: 100%;
		margin: 0 auto;
		position: relative;
		top: 50%;
		-webkit-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
		transform: translateY(-50%);
	}

	.modal-overlay .modal-content iframe {
		width: 100%;
		height: 480px;
	}

	.modal-overlay .modal-close-button {
		padding: 0 15px;
		font-family: "Lato",sans-serif;
		font-size: 12px;
		border: 1px solid #fff;
		border-radius: 40px;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		color: #FFF;
		cursor: pointer;
		bottom: 20px;
		opacity: 0.7;
	}

	.modal-overlay .modal-close-button:hover {
		opacity: 1;
	}

	.modal-overlay .modal-close-button p {
		display: inline-block;
		vertical-align: middle;
	}

	.modal-overlay .modal-close-button i {
		display: inline-block;
		vertical-align: middle;
		font-size: 20px;
	}

}

@media (max-width:480px) {
	.modal-overlay .modal-content iframe {
		width: 100%;
		height: 300px;
	}
}

