main {
	min-height: auto;
	padding-top: 0;
}

.additional-videos h3 {
	text-transform: uppercase;
	color: #666;
	font-size: 1.6em;
}

.additional-videos h3 > span {
	color: #9a9a9a;
}

.category-home {
	margin-bottom: 30px;
	display: block;
	position: relative;
	height: 122px;
}

.category-home img {
	width: 100%;
	height: auto;
}

.category-home > span {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	font-size: 1.4em;
	text-align: center;
	line-height: 125px;
	font-weight: 200;
	color: #FFF;
	-webkit-box-shadow: 0 0 5px rgba(50,50,50,.1);
	-moz-box-shadow: 0 0 5px rgba(50,50,50,.1);
	box-shadow: 0 0 5px rgba(50,50,50,.1);
}

.big-block .video-block > div h2 {
	height: 77px;
	font-size: 28px;
	-webkit-line-clamp: 2;
	line-height: 40px;
	margin-bottom: 15px;
	max-width: 1000px;
}

.vid-description {
	display: none;
}

.side .vid-description {
	height: 46.2px;
	font-size: 11px;
	line-height: 1.4;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
	margin-bottom: 6px;
}

.one-row {
	-webkit-line-clamp: 1 !important;
	height: 21px !important;
	margin-bottom: 8px !important;
}

@media (min-width:992px) {
	.side-block {
		width: 100%;
		padding: 0 0 0 235px;
		min-height: 127px;
		background: #FFF;
	}

	.side-block > a {
		text-align: center;
		background: #000;
		display: block;
		float: left;
		width: 235px;
		margin-left: -235px;
	}

	.side-block span {
		height: 127px;
	}
}

/** Home Grid **/
.home-grid {
	height: 330px;
	margin-bottom: 10px;
	position: relative;
}

.home-grid .left-wing {
	width: 382px;
	height: 324px;
	position: absolute;
	top: 0;
	left: -381px;
	display: none;
	background: #f1f1f1;
}

.home-grid .right-wing {
	width: 382px;
	height: 324px;
	display: none;
	background: #f1f1f1;
	position: absolute;
	top: 0;
	right: -381px;
}

.big-item {
	height: 216px;
	background: #ccc;
	display: block;
}

.sm-item {
	height: 108px;
	background: #ddd;
	display: block;
}

.big-item > span,.sm-item > span {
	background-size: cover !important;
	display: block;
	height: 100%;
	margin: 0 -15px;
	position: relative;
	cursor: pointer;
}

.home-grid iframe {
	height: 324px;
	width: 100%;
	background: #000;
}

.video-menu-home {
	height: 324px;
	position: relative !important;
}

.overlay {
	width: 100%;
	height: 100px;
	padding: 0 15px 0 0;
	position: absolute;
}

.home-grid .details {
	width: 100%;
	position: absolute;
	height: 50%;
	top: 50%;
	padding: 20px 15px;
	color: #FFF;
	background: -moz-linear-gradient(top,rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%);
	background: -webkit-linear-gradient(top,rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%);
	background: linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000',endColorstr='#000000',GradientType=0);
}

.home-grid .details h2 {
	padding: 0 10% 0 0;
	height: 22px;
	font-size: 13px;
	line-height: 1.4;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
	margin-bottom: 0;
	font-weight: 400;
	position: absolute;
	bottom: 22px;
}

.home-grid .details h3 {
	font-size: 11px;
	font-weight: 400;
	font-style: italic;
	margin: 0;
	padding: 0;
	position: absolute;
	bottom: 8px;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
	height: 15px;
}

.big-item span > div.play {
	width: 52px;
	height: 52px;
	background: rgba(255,255,255,0.4);
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -26px;
	margin-left: -26px;
	border: 3px solid #fff;
	border-radius: 100%;
	-webkit-border-radius: 100%;
	opacity: 0;
	transition: .2s;
}

.big-item:hover span > div.play {
	opacity: 1;
}

.big-item span > div.play > div {
	border-left: 20px solid #FFF;
	border-bottom: 14px solid transparent;
	border-top: 14px solid transparent;
	position: absolute;
	top: 50%;
	margin-top: -14px;
	left: 50%;
	margin-left: -6px;
}

.sm-item span > div.play {
	width: 42px;
	height: 42px;
	background: rgba(255,255,255,0.4);
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -21px;
	margin-left: -21px;
	border: 3px solid #fff;
	border-radius: 100%;
	-webkit-border-radius: 100%;
	opacity: 0;
	transition: .2s;
}

.sm-item:hover span > div.play {
	opacity: 1;
}

.sm-item span > div.play > div {
	border-left: 15px solid #FFF;
	border-bottom: 11px solid transparent;
	border-top: 11px solid transparent;
	position: absolute;
	top: 50%;
	margin-top: -11px;
	left: 50%;
	margin-left: -4px;
}

@media (min-width:768px) and (max-width:991px) {
	.home-grid {
		height: 270px;
		margin-bottom: 20px;
		position: relative;
	}

	.big-item {
		display: none;
	}

	.sm-item {
		height: 135px;
		background: #ddd;
		display: block;
	}

	.home-grid iframe {
		height: 270px;
		width: 100%;
		background: #000;
	}

	.video-menu-home {
		height: 270px;
	}
}

@media (min-width:992px) and (max-width:1199px) {
	.home-grid {
		height: 309px;
		margin-bottom: 20px;
		position: relative;
	}

	.big-item {
		height: 206px;
		background: #000;
		display: block;
	}

	.sm-item {
		height: 103px;
		background: #000;
		display: block;
	}

	.home-grid iframe {
		height: 309px;
		width: 100%;
		background: #000;
	}

	.video-menu-home {
		height: 309px;
	}
}

@media (min-width:1766px) {
	.home-grid .left-wing {
		display: block;
	}

	.home-grid .right-wing {
		display: block;
	}
}

/** Logo Carousel **/
.logos-label {
	font-size: 13px;
	display: block;
	padding-bottom: 15px;
	color: #666;
}

.logo-slider {
	width: 100%;
	height: 65px;
	overflow: hidden;
	/*margin-bottom: 20px;*/
}

.logo-container {
	width: 1500%;
	height: 65px;
	transition: 1.6s;
}

.school-logo {
	width: 1.11%;
	height: 65px;
	float: left;
	display: block;
	text-align: center;
}

.img-helper {
	display: inline-block;
	height: 65px;
	vertical-align: middle;
}

.viewer-img {
	display: inline-block;
	vertical-align: middle;
	text-align: center;
	max-height: 65px;
	max-width: 86%;
}

/** Banner **/
.garbanzo-l img {
	width: 100%;
}

.garbanzo-l,.garbanzo-s {
	display: block;
	margin-bottom: 30px;
}

.garbanzo-s img {
	width: 100%;
}

.garbanzo-s a {
	display: block;
	background: #FFF;
}

/** video info popup thing **/
.full-vid {
	/*     position: relative; */
}

.to-right {
	right: -229px;
}

.to-left {
	left: -229px;
}

.caret-lg {
	width: 40px;
	height: 40px;
	background: #fff;
	position: absolute;
	top: 0;
	margin-top: 130px;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}

.to-right .caret-lg {
	left: -20px;
}

.to-left .caret-lg {
	right: -20px;
}

.vid-info {
	background: #FFF;
	position: absolute;
	top: -100px;
	padding: 20px;
	border-radius: 4px;
	height: 300px;
	width: 230px;
	z-index: 99;
	opacity: 0;
	pointer-events: none;
	transition: .2s;
}

.full-vid:hover .vid-info {
	opacity: 1;
	pointer-events: auto;
}

.vid-info h2 {
	font-weight: 400;
	height: auto;
	max-height: 44.8px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.4;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
	text-transform: none;
}

.vid-info h3 {
	margin: 2px auto 20px;
	height: 16.8px;
	font-size: 12px;
	line-height: 1.4;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
	font-weight: 400;
}

.vid-info .sep {
	margin: 20px 0;
	height: 1px;
	background: #CCC;
}

.lang-spoken span {
	display: inline-block;
	vertical-align: middle;
	margin-right: 10px;
	font-size: .9em;
	color: #333;
}

.lang-spoken img {
	display: inline-block;
	vertical-align: middle;
}

.views {
	font-size: .9em;
	color: #333;
	margin-top: 5px;
}

.vid-info p {
	height: 66px;
	font-size: 12px;
	line-height: 1.4;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
	font-weight: 400;
}

/** Rating **/
#rate-label,#rate-stars,#value-set {
	display: inline-block;
	vertical-align: middle;
}

#rate > div {
	display: inline-block;
}

#value-set {
	width: 15px;
	text-align: right;
}

#rate-stars {
	background: url(/themes/mastertube/images/rating-yellow.png);
	width: 80px;
	height: 16px;
	cursor: pointer;
	margin: 0 5px 0 10px;
	background-position: 0 16px;
}

.rating-val {
	width: 8px;
	height: 16px;
	float: left;
}

.avg-stars {
	background: url(/themes/mastertube/images/rating-yellow.png);
	width: 80px;
	height: 16px;
}

.rating-0 {
	background-position: 0 16px;
}

.rating-1 {
	background-position: 0 32px;
}

.rating-2 {
	background-position: 0 48px;
}

.rating-3 {
	background-position: 0 64px;
}

.rating-4 {
	background-position: 0 80px;
}

.rating-5 {
	background-position: 0 96px;
}

.rating-6 {
	background-position: 0 112px;
}

.rating-7 {
	background-position: 0 128px;
}

.rating-8 {
	background-position: 0 144px;
}

.rating-9 {
	background-position: 0 160px;
}

.rating-10 {
	background-position: 0 176px;
}

.video-rating {
	margin-top: 5px;
}

.video-rating > * {
	display: inline-block;
	vertical-align: middle;
	margin-right: 4px;
}

/** Sharebox **/
#sharebox {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: none;
	z-index: 99999999;
}

.share-options {
	width: 380px;
	padding-left: 20px;
	background: #FFF;
	position: absolute;
	top: 20%;
	left: 50%;
	margin-left: -190px;
	z-index: 9999999;
}

.share-header {
	font-size: 1.5em;
	margin-top: 14px;
	color: #666;
}

.share-subheader {
	font-size: .9em;
	color: #999;
}

.sharebutton {
	width: 70px;
	height: 70px;
	margin: 20px 20px 20px 0;
	background: #666;
	float: left;
	cursor: pointer;
	font-size: 1.4em;
	text-align: center;
	line-height: 70px;
	transition: .2s;
	position: relative;
	color: #FFF;
}

.sharebutton span {
	display: block;
	width: 40px;
	height: 40px;
	background: rgba(0,0,0,0.1);
	border-radius: 100%;
	color: #FFF;
	transition: .2s;
	position: absolute;
	top: 15px;
	left: 15px;
}

.sharebutton:hover {
	padding: 0;
}

.sharebutton:hover span {
	width: 70px;
	height: 70px;
	top: 0;
	left: 0;
	border-radius: 0;
}

.facebook {
	background: #3b5998;
}

.linkedin {
	background: #007bb5;
}

.twitter {
	background: #55acee;
}

.bg {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999999;
	background: #000;
	opacity: .4;
	width: 100%;
	height: 100%;
}

.close-share {
	position: absolute;
	top: 15px;
	right: 10px;
	cursor: pointer;
	opacity: .9;
	font-size: 2em;
	line-height: 0;
}

.note {
	font-size: .8em;
	color: #999;
	margin: -10px 0 15px;
}

.count {
	color: #999;
	font-size: .8em;
}

.dummy-block span{
	background: #CCC;
}

@media (max-width:768px) {
	.full-vid .caret-lg {
		display: none;
	}
}