/*---------Curent Video page style------------*/
.ytp-expand-pause-overlay, .ytp-pause-overlay {
	display: none;
} 

.wrapp__background{
	background: #f6f6f6;
	height: 100%;
}
.video-page__title{
	display: flex;
    justify-content: center;
	color: #0f0f12;
	font-family: "futura-pt";
	font-size: 36px;
	font-weight: 500;
	line-height: 54px;
	text-transform: uppercase;
	letter-spacing: 0.72px;
	padding: 57px 0 77px 0;
}
/*--------- Video page style------------*/
html {
  scroll-behavior: smooth;
}
a {
	text-decoration: none;
}
iframe{
	max-width: 840px;
	width: 100%;
}
.display__frame{
	border: none;
	width: 240px;
	height: 140px;
}
.item{
	width: 240px;
	margin-right: 25px;
	margin-bottom: 40px;
	position: relative;
}
.item a{
	text-decoration: none;
	transition: linear opacity .3s;
}
.item a:hover{
	opacity: 0.6;
}
.item__display{
	display: flex;
	justify-content: center;
	align-items: center;
	width: 240px;
	height: 135px;
	margin-bottom: 10px;
}
.item:nth-child(4n){
	margin-right: 0;
}
.display__icon{
	position: absolute;
}
.video-page__videos{
	display:flex;
	justify-content: center;
	flex-wrap: wrap;
	max-width: 1040px;
	margin: 0 auto;
	padding-bottom: 60px;
}
.display__img-play{
	width: 46px;
	height: 46px;
}
.item__title{
	color: #0f0f12;
	font-family: Roboto;
	text-decoration: none;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 5px;
}
.item__text{
	display: flex;
	color: #88898e;
	font-family: Roboto;
	font-size: 13px;
	font-weight: 400;
	position:absolute;
	bottom: -15px;
}
.item__text:first-child {
	margin-right: 10px;
}
.curse-container{
	max-width: 1344px;
	margin: 0 auto;
	padding: 0 10px 0 10px;
}
.curse-container__title{
	display: flex;
    justify-content: center;
	color: #0f0f12;
	font-family: Roboto;
	font-size: 32px;
	font-weight: 500;
	line-height: 54px;
	letter-spacing: 0.72px;
	padding: 40px 0 20px 0;
}
.curse-container__suptitle{
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	border-bottom: 1px solid #e0e0e4;
	margin-bottom: 20px;
	padding-bottom: 10px;
	position: relative;
	
}
.suptitle__text{
	color: #0f0f12;
	font-family: Roboto;
	font-size: 20px;
	font-weight: 500;
	padding: 20px 20px 40px;
}
.suptitle__btn-back{
	color: #3BB0C5;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 300;
	text-decoration: none;
	transition: linear opacity .3s;
	position: relative;
}
.suptitle__btn-back:before{
	content: " "; 
	width:10px;
	height: 15px;
    background:url("/wp-content/themes/dky/images/nav-left.png");
	position: absolute;
	right: 120px;
	top: 20%;
}
.suptitle__btn-back--bottom{
	display:none;
}
.suptitle__btn-back:hover{
	opacity: 0.6;
}
.curse-container__content{
	display:flex;
	justify-content: space-around;
	margin-top: 40px;
}
.content__left{
	max-width: 840px;
	width: 100%;
	margin: 0 20px 30px 0;
	
}
.content__right {
	margin-bottom: 20px;
}
.left__video-frame{
	max-width: 840px;
	display: none;
}
.left__video-frame:first-child{
	display: block;
}
.video__time{
	color: #88898e;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 300;
	margin: 5px 0 20px 0;
}
.left__description-title{
	color: #0f0f12;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 700;
	margin: 10px 0;
}
.left__description{
	color: #5b5b5c;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 24px;
	letter-spacing: 0.32px;
	margin-bottom: 20px;
}
.right__lessons-text{
	display: flex;
	align-items: center;
	color: #29292c;
	font-family: 'Roboto', sans-serif;
	font-size: 18px;
	font-weight: 400;
	margin-bottom: 10px;
}
.lessons__count{
	display: flex;
	margin-right: 10px;
	margin-left: 10px;
}
.lessons__count span{
	padding-left: 5px;
}
.right__video-list{
	display: flex;
	flex-direction: column;
	max-width: 450px;
	background: #ededed;
	padding: 10px 0 10px 0;
	margin-bottom: 20px;
}
.video-list__item:before{
	   content: " ";
    width: 16px;
    height: 16px;
    background: url(/wp-content/themes/dky/images/ic_play.png);
    position: absolute;
    left: 20px;
		transform: translateY(-50%);
    top: 50%;

}
.item__description-title{
	color: #0f0f12;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 700;
	display: flex;
	flex-wrap: wrap;
	word-break: keep-all;
	margin-right: 10px;
}
.video-list__item:active .item__description-title{
		color: #fff;
}
.video-list__item:hover .item__description-title{
		color: #fff;
}
.item__video-time{
	display: flex;
	align-items: center;
	color: #88898e;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 300;
}
.video-list__item{
		display: flex;
		justify-content: space-between;
		padding: 10px 20px 10px 50px;
		position: relative;
}
.video-list__item:hover{
		background: #3c4160;
		cursor: pointer;
}
.video-list__item:active{
		background: #3c4160;
		color: #fff;
}

.lessons__count span:nth-child(1){
	padding-right: 5px;
}

@media (max-width: 1100px) {
	.curse-container__content{
		flex-direction: column;
		padding: 0 15px 0 15px;
	}
	.right__video-list{
		margin: 0 auto;
		margin-bottom: 20px;
	}
	.left__video-frame{
		margin: 0 auto;
	}
	.curse-container__suptitle{
		padding: 0 15px 0 15px;
	}
	.content__left{
		width: 100%;
		margin-right: 20px;
	}
	.right__lessons-text{
		margin: 0 auto;
	}
}
@media (max-width: 1030px) {
	.item{
		margin-right: 20px;
	}
	.item:nth-child(4n) {
    margin-right: 20px;
	}
}
@media (max-width: 708px) {
	.item{
		margin-right: 20px;
	}
	.item:nth-child(2n) {
    margin-right: 0;
}
	.suptitle__btn-back:before {
    bottom: 1px;
}
	.suptitle__btn-back--bottom{
		display:flex;
		justify-content: flex-end;
}
}
@media (max-width: 600px) {
	.right__video-list{
		width: 100%;;
}
	.curse-container__title{
		text-align: center;
		line-height: 1.3;
	}
	.video-page__title{
		margin: 0 auto;
		text-align: center;
		font-size: 25px;
		width: 200px;
		padding: 25px 0 25px 0;
	}
	.item {
		margin-right: 0;
		width: 80%;
	}
	.item__display{
		width: 100%;
		height: 250px;
	}
	.display__frame{
		width: 100%;
		height: 250px;
	}
	iframe{
		width: 100%;
		height: 250px;
	}
	.item__description-title{
		max-width : 420px;
	}
	.curse-container__suptitle{
		flex-direction: column;
		padding-bottom: 10px;
	}
	.suptitle__text{
		margin-bottom: 10px;
		padding: 0;
		text-align: justify;
		font-size: 18px;
	}
	.suptitle__btn-back{
		width: 100%;
    display: flex;
    justify-content: flex-end;
	}
}

@media (max-width: 663px){
    .curse-container__title{
		text-align: center;
		line-height: 1.3;
	}
}