﻿/*********************************************************/
.clsHeadBox .clsTopTitle,
.clsHeadBox .clsCombo{
	float:right;
}

.clsHeadBox .clsCombo{
	width:350px;
	margin-right:0;
}

.clsHeadBox .clsSearchForm{
	float:left;
}


/*********************************************************/
.clsPdfLessons{
	font-size:0;
	width:1100px;
	padding:40px 0 0 0;
}

.clsPdfLessons .clsPdfLesson{
	position:relative;
	display:inline-block;
	vertical-align:top;
	width:310px;
	height:310px;
	cursor:pointer;
	padding:10px 20px 10px 20px;
	margin:0 0 42px 85px;
	background:#f5f5f5;
}

.clsPdfLessons .clsPdfLesson:after{
	content:"";
	position:absolute;
	left:-53px;
	top:15px;
	width:21px;
	height:36px;
	background:url(/images/arrow2.png) no-repeat center center;
}

.clsPdfLessons .clsPdfLesson:nth-child(3n+3){
	margin-left:0;
}

.clsPdfLessons .clsPdfLesson:nth-child(3n+3):after{
	display:none;
}

.clsPdfLessons .clsPdfLesson h2{
	font-size:24px;
	line-height:24px;

	padding:14px 0 0 0;
	margin:0 0 15px 0;
}

.clsPdfLessons .clsPdfLesson .clsIcon{
	content:"";
	float:right;
	width:54px;
	height:49px;
	margin:13px 0 10px 15px;
	background:#cc1f5a url(/images/icon_download.png) no-repeat center center;
}

.clsPdfLessons .clsPdfLesson .clsText{
	font-size:20px;
	line-height:26px;

	width:270px;
	height:205px;
	overflow:hidden;
}



/*********************************************************/
.clsVideoLessons{
	font-size:0;
	height:530px;
	margin-top:25px;
	margin-bottom:25px;
	background:#632d63;
}

.clsVideoLessons .clsRightCol{
	float:right;
	width:655px;
	height:530px;
	padding:15px;
	overflow:hidden;
}

.clsVideoLessons .clsVideoPlayer iframe{
	width:625px;
	height:360px;
	background:#000000;
}

.clsVideoLessons .clsVideoTitle{
	color:#fff;
	font-size:30px;
	padding:10px 15px 10px 5px;
}

.clsVideoLessons .clsVideoDesc{
	color:#fff;
	font-weight:300;
	font-size:20px;
	padding:0 15px 0 5px;
}

.clsVideoLessons .clsLeftCol{
	float:left;
	width:550px;
	height:530px;
	padding:15px 0 15px 15px;
	overflow:hidden;
}

.clsVideoLessons .clsLeftCol .clsColTitle{
	color:#fff;
	font-size:24px;
	padding:10px 25px 10px 0;
	margin:0;
	background:rgba(255,255,255,0.1);
}

.clsVideoLessons .clsLeftCol .clsLessonsList{
	width:535px;
	height:450px;
	cursor:pointer;
	padding:0 10px 10px 10px;
	overflow-y:scroll;
	background:rgba(255,255,255,0.1);
}

.clsLessonsList::-webkit-scrollbar {
    width:8px;
}
 
.clsLessonsList::-webkit-scrollbar-thumb {
  background:rgba(255,255,255,0.5);
}

.clsVideoLessons .clsLeftCol .clsLessonsList .clsVideoLesson{
	min-height:80px;
	padding:15px;
}

.clsVideoLessons .clsLeftCol .clsLessonsList .clsVideoLesson:nth-child(2n+1){
	background:rgba(255,255,255,0.1);
}

.clsVideoLessons .clsLeftCol .clsLessonsList .clsVideoLesson .clsImg{
	float:left;
	height:50px;
	margin-right:10px;
}

.clsVideoLessons .clsLeftCol .clsLessonsList .clsVideoLesson .clsTitle{
	color:#fff;
	font-size:28px;
	padding:0;
	margin:0;
}

.clsVideoLessons .clsLeftCol .clsLessonsList .clsVideoLesson .clsDesc{
	color:#fff;
	font-size:20px;
	font-weight:300;
	
	height:26px;
	width:380px;
	overflow:hidden;
	margin:6px 0 0 0;
}

/*******************/
.clsVideosPage .clsShareBar{
	padding:0 0 20px 0;
}

.clsVideosPage .clsShareBar a{
	position:relative;
	/* top:3px; */
	margin-left:10px;
}

.clsVideosPage .clsShareBar .fb-like{
	vertical-align:top;
	margin: 5px 0 0 7px;
}

.clsVideosPage .clsComments{
	width:540px;
	margin:0 auto 30px auto;
}

/*******************/
.clsVideosPage .clsTabsBar{
	padding:0 20px 0 0;
}

.clsVideosPage .clsTabsBar .tab{
	color:#fff;
	font-size:18px;
	line-height:18px;
	display: inline-block;
	vertical-align: top;
	cursor:pointer;
	margin:0 0 0 10px;
	padding:8px 15px 8px 15px;
	border-radius: 5px 5px 0 0;
	background: rgba(7, 142, 102, 0.5);
}

.clsVideosPage .clsTabsBar .tab.active{
	cursor: default;
	background: #078e66;
}

/**************************************************/
.clsPdfLessonsThatParasha{
	font-size:0;
	line-height:0;

	display: none;
	width:100%;
	padding:20px;
	margin:0 0 30px 0;
	border:0 solid #078e66;
}

/**************************************************/
.clsLessonsOtherYears{
	font-size:0;
	line-height:0;
	text-align:center;
	padding:20px;
	margin:0 0 30px 0;
	border:0 solid #078e66;
}

.clsLessonsOtherYears .clsVideoLesson{
	width:213px;
	display:inline-block;
	vertical-align:top;
	cursor:pointer;
	margin:0 14px 30px 14px;
}

.clsLessonsOtherYears .clsVideoLesson .clsImg{
	font-size:0;
	line-height:0;
	text-align:center;
	margin:0 0 10px 0;
	background:#000;
}

.clsLessonsOtherYears .clsVideoLesson .clsImg img{
	width:100%;
}

.clsLessonsOtherYears .clsVideoLesson h2{
	font-size:0;
	line-height:0;	
}

.clsLessonsOtherYears .clsVideoLesson .clsTitle{
	font-size:19px;
	line-height:19px;
	text-align:center;
	padding:0;
	margin:0;
}

.clsLessonsOtherYears .clsVideoLesson:hover .clsTitle{
	text-decoration:underline;
}

.clsLessonsOtherYears .clsVideoLesson .clsDesc{
	display:none;
}




/****************************************************************************/
@media only screen and (max-width : 768px) {


	.clsHeadBox{
		height:120px;
		background-repeat:repeat-y;
	}

	.clsHeadBox .clsSearchForm{
		display:none;
	}
	
	
	.clsHeadBox .clsTopTitle,
	.clsHeadBox .clsCombo{
		float:none;
	}

	.clsHeadBox .clsCombo{
		float:none;
		clear:both;
		display:block;

		width:90%;
		margin:30px auto 0 auto;
	}

	.clsHeadBox .clsSearchForm{
		float:left;
	}


	/*********************************************************/
	.clsPdfLessons{
		width:auto;
		padding:20px 0 0 0;
	}

	.clsPdfLessons .clsPdfLesson,
	.clsPdfLessons .clsPdfLesson:nth-child(3n+3){
		display:block;
		width:90%;
		height:auto;
		padding:10px 20px 10px 20px;
		margin:0 auto 20px auto;
	}

	.clsPdfLessons .clsPdfLesson:after{
		display:none;
	}

	.clsPdfLessons .clsPdfLesson h2{
		font-size:22px;
		line-height:20px;

		padding:14px 0 0 0;
		margin:0 0 15px 0;
	}

	.clsPdfLessons .clsPdfLesson .clsIcon{
		width:50px;
		height:42px;
	}

	.clsPdfLessons .clsPdfLesson .clsText{
		font-size:20px;
		line-height:24px;

		width:auto;
		height:auto;
		overflow:visible;
	}



	/*********************************************************/
	.clsVideoLessons{
		font-size:0;
		height:auto;
		margin-top:25px;
		margin-bottom:25px;
		background:#632d63;
	}

	.clsVideoLessons .clsRightCol{
		float:none;
		width:auto;
		height:400px;
		padding:15px;
		overflow:hidden;
	}

	.clsVideoLessons .clsVideoPlayer{
		font-size:0;
		line-height:0;
		text-align:center;
		margin:0 0 10px 0;
		background:#000;
	}

	.clsVideoLessons .clsVideoPlayer iframe{
		width:290px;
		height:190px;
	}

	.clsVideoLessons .clsVideoTitle{
		font-size:24px;
		padding:0 0 5px 0;
	}

	.clsVideoLessons .clsVideoDesc{
		font-size:18px;
		line-height:22px;
		padding:0 0 0 0;
	}

	.clsVideoLessons .clsLeftCol{
		float:none;
		width:100%;
		height:260px;
		padding:15px 0 15px 0;
		overflow:hidden;
	}

	.clsVideoLessons .clsLeftCol .clsColTitle{
		color:#fff;
		font-size:24px;
		padding:10px 10px 10px 0;
	}

	.clsVideoLessons .clsLeftCol .clsLessonsList{
		width:100%;
		height:200px;
	}

	.clsVideoLessons .clsLeftCol .clsLessonsList .clsVideoLesson{
		min-height:60px;
		padding:10px;
	}

	.clsVideoLessons .clsLeftCol .clsLessonsList .clsVideoLesson .clsTitle{
		color:#fff;
		font-size:20px;
	}

	.clsVideoLessons .clsLeftCol .clsLessonsList .clsVideoLesson .clsDesc{
		font-size:18px;
	
		height:26px;
		width:auto;
		overflow:hidden;
		margin:0 0 0 0;
	}

	.clsVideosPage .clsShareBar{
		padding:0 10px 20px 0;
	}

	.clsVideosPage .clsShareBar .fb-like{
		position:relative;
		top:-7px;
	}

	.clsVideosPage .clsComments{
		width:auto;
		margin:0 auto 30px auto;
	}

	.clsVideosPage .clsTabsBar{
		padding:0 5px 0 0;
	}	
		
	.clsVideosPage .clsTabsBar .tab{
		font-size:16px;
		line-height:16px;
		margin:0 0 0 3px;
		padding:8px 5px 8px 5px;
	}


	/**************************************************/
	.clsLessonsOtherYears{
		text-align:center;
	}

	.clsLessonsOtherYears .clsVideoLesson,
	.clsLessonsOtherYears .clsVideoLesson:nth-child(5n+1){
		width:140px;
		float:none;
		display:inline-block;
		vertical-align:top;
		margin:0 10px 30px 10px;
	}

	.clsLessonsOtherYears .clsVideoLesson .clsImg{
		margin:0 0 5px 0;
	}

	.clsLessonsOtherYears .clsVideoLesson .clsTitle{
		font-size:18px;
		line-height:18px;
		text-align:center;
		padding:0;
		margin:0;
	}

	.clsLessonsOtherYears .clsVideoLesson .clsDesc{
		display:none;
	}

}