
/*OLD*/
.video_list_item {
    display: inline-block;
    margin-bottom: 25px;
}

.name_video{
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 10px;
}

.video_list {
    margin-bottom: 15px;
}
/*OLD*/

font {
	font-family: "OpenSans-Regular", sans-serif;
}

.description {
	padding: 0 15px;
	text-align: center;
	font-size: 14px;
	line-height: 30px;
	color: #878787;
	margin-bottom: 45px;
}

.video-row {
	width: 100%;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
}

.video-col {
	width: 33.3333%;
	max-width: 350px;
}
.video-col.large {
	width: 66.6666%;
	max-width: 760px;
}

.indent {
	margin-right: 60px;
}

.video-list__item {
	width: 100%;
	height: 295px;
	padding: 30px 40px;
	margin-bottom: 60px;
	background-color: #f0f0f0;
	-webkit-background-size: cover;
	background-size: cover;
	background-repeat: no-repeat;
	position: relative;
}

.video-list__item.large {
	height: 650px;
}

.btn-play {
	width: 80px;
	height: 80px;
	padding: 10px;
	position: absolute;
	top: calc(50% - 50px);
	left: calc(50% - 50px);
	background-color: rgba(0,0,0,.35);
	border-radius: 50%;
}

.btn-play.large {
	width: 100px;
	height: 100px;
}

.icon-play {
	width: 60px;
	height: 60px;
}

.btn-play .icon-play {
	position: absolute;
	top: calc(50% - 30px);
	left: calc(50% - 30px);
}

.btn-play.large .icon-play {
	width: 80px;
	height: 80px;
	top: calc(50% - 40px);
	left: calc(50% - 40px);
}

.video-list__item-descr {
	width: 100%;
	padding: 30px 40px;
	position: absolute;
	left: 0;
	bottom: 0;
	font-size: 16px;
	line-height: 24px;
	color: #fff;
	background: linear-gradient(to top, rgba(0,0,0,.56), rgba(0,0,0,0));;
}

.large .video-list__item-descr {
	font-size: 18px;
	line-height: 28px;
}

.modal-video {
	width: 70vw;
	height: 60vh;
}

.modal-video .fancybox-close-small {
	width: 20px;
	height: 20px;
	background-color: #fff;
	border-radius: 50%;
}

.modal-video .fancybox-close-small:after,
.modal-video .fancybox-close-small:before {
	display: block;
	content: "";
	width: 10px;
	height: 2px;
	position: absolute;
	top: calc(50% - 1px);
	left: calc(50% - 5px);
	background-color: #888;
	border-radius: 0;
}

.modal-video .fancybox-close-small:after {
	transform: rotate(45deg);
}

.modal-video .fancybox-close-small:before {
	transform: rotate(-45deg);
}

.modal-video .fancybox-close-small:hover:after {
	background-color: #888;
}

.modal-video .fancybox-close-small:focus:after {
	border: 0;
}

.fancybox-container .modal-video {
	padding: 0;
}

.modal-video__frame {
	display: block;
	width: 100%;
	height: 100%;
}

.pagination-wrap {
	text-align: center;
	margin-bottom: 75px;
}

.pagination {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: center;
	-ms-align-items: center;
	align-items: center;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
}

.pagination__item {
	padding: 2px 10px;	
}

.pagination__item.line-left {
	border-left: 1px solid #8a8a8a;
}

.pagination__item.line-right {
	border-right: 1px solid #8a8a8a;
}

.pagination__item_padding-small {
	padding: 2px 3px;
}

.pagination__link {
	display: block;
	color: #8a8a8a;
	line-height: 1;
	transition: all .3s;
}

.pagination__link:hover {
	color: #35ade4;
}

@media (max-width: 1266px) {
	.video-col,
	.video-col.large {
		width: 100%;
		max-width: none;
	}
	.video-col.indent {
		margin: 0;
	}
	.pagination-wrap {
		margin-bottom: 35px;
	}
	.modal-video {
		width: 90vw;
	}
}
