﻿/*-------------------------------------------

    Title :  2015
    Usage :  Video page
    Edited:  2015-06-23

---------------------------------------------

    1. popular
    2. videos
    3. responsive layout (736px)

---------------------------------------------*/



/*  1. popular
---------------------------------------------*/

#popular {
	position: relative;
	height: 402px;
	background: #fff;
	border-radius: 5px;
	}

#popular h3 {
	padding-top: 1px;
	color: #606060;
	font-weight: 400;
	font-size: 14px;
	height: 40px;
	line-height: 40px;
	}

#popular h3:before {
	content: "\f008";
	display: inline-block;
	margin-right: 18px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
	width: 48px;
	height: 24px;
	cursor: default;
	color: #b2b2b2;
	font: 14.99px/24px "Font Awesome";
	text-align: center;
	text-indent: 2px;
	border-right: 2px solid #d4d4d4;
	}

#popular ul {
	height: 362px;
	}

#popular ul li {
	height: 100%;
	}

#popular ul li a {
	display: block;
	height: 100%;
	text-decoration: none;
	}

#popular ul li a img {
	width: 100%;
	height: 292px;
	}

#popular ul li a .panel {
	position: absolute;
	top: 0;
	right: 0;
	display: table;
	width: 200px;
	height: 292px;
	background: url(../images/bg_popular_panel.png);
	}

#popular ul li a .panel .cell {
	display: table-cell;
	vertical-align: middle;
	padding: 0 20px;
	color: #fff;
	text-align: center;
	}

#popular ul li a .panel .cell strong {
	font-weight: 400;
	font-size: 24px;
	}

#popular ul li a .panel .cell small {
	display: block;
	margin-top: 36px;
	font-size: 12px;
	}

#popular ul li a .panel .cell small:before {
	content: "";
	position: relative;
	top: 1px;
	display: inline-block;
	margin-right: 4px;
	width: 9px;
	height: 10px;
	background: url(../images/sprite.png) no-repeat -288px -32px;
	}

#popular ul li a .panel .cell:after {
	content: "";
	position: relative;
	top: 1px;
	display: inline-block;
	margin-top: 38px;
	width: 33px;
	height: 33px;
	background: url(../images/sprite.png) no-repeat -206px -58px;
	}

.ie8 #popular ul li a .panel .cell:after {
	display: none;
	}

#popular ul li a p {
	padding: 14px 21px 0;
	color: #919191;
	font-size: 12px;
	line-height: 1.8;
	}

#popular .nav a {
	position: absolute;
	top: 165px;
	z-index: 100;
	cursor: pointer;
	text-decoration: none;
	}

#popular .nav .prev { left:  20px; }
#popular .nav .next { right: 20px; }

#popular .nav a:before {
	color: #fff;
	font: 67.92px/1 "Font Awesome";
	text-shadow: 0 0 13px rgba(0, 0, 0, 0.53);
	}

#popular .nav .prev:before { content: "\f104"; }
#popular .nav .next:before { content: "\f105"; }

#popular .pager {
	counter-reset: number;
	position: absolute;
	top: 10px;
	right: 17px;
	white-space: nowrap;
	}

#popular .pager a {
	display: inline-block;
	margin-left: 11px;
	width: 21px;
	height: 21px;
	cursor: pointer;
	color: #fff;
	font-weight: 300;
	font-size: 13.64px;
	line-height: 23px;
	text-align: center;
	text-decoration: none;
	background: #919191;
	border-radius: 12px;
	}

#popular .pager a:hover,
#popular .pager a.cycle-pager-active {
	background: #ff7a00;
	}

#popular .pager a:before {
	content: counter(number);
	counter-increment: number;
	}



/*  2. videos
---------------------------------------------*/

#videos {
	position: relative;
	margin-top: 11px;
	background: #fff;
	border-radius: 5px;
	}

#videos .header {
	position: relative;
	padding: 15px 11px;
	}

#videos .header .tab {
	font-size: 0;
	}

#videos .header .tab a {
	display: inline-block;
	margin-right: 11px;
	width: auto;
	padding: 0px 10px;
	height: 31px;
	color: #ff7900;
	font-size: 13.43px;
	line-height: 29px;
	text-align: center;
	text-decoration: none;
	border: 1px solid #b7b7b7;
	border-radius: 9px;
	}

#videos .header .tab a:hover,
#videos .header .tab a.curr {
	color: #fff;
	background: #ff7900;
	border-color: #ff7900;
	}

#videos .header .all {
	position: absolute;
	top: 23px;
	right: 32px;
	color: #606060;
	font-size: 14px;
	white-space: nowrap;
	}

#videos ol {
	margin: -11px 0 0 11px;
	font-size: 0;
	}

#videos ol li {
	display: inline-block;
	vertical-align: top;
	margin: 10px 11px 0 0;
	width: 161px;
	font-size: 10px;
	}

#videos ol li a {
	position: relative;
	display: block;
	}

#videos ol li a img {
	width: 100%;
	height: 146px;
	border: 1px solid #c8c7c6;
	border-radius: 5px;
	}

#videos ol li a small {
	position: absolute;
	bottom: 4px;
	left: 4px;
	padding: 0 3px;
	color: #fff;
	font-size: 11px;
	background: #333;
	border: 1px solid #c0c4c8;
	border-radius: 3px;
	}

.moz #videos ol li a small {
	padding-top: 1px;
	height: 16px;
	line-height: 14px;
	}

#videos ol li a strong {
	float: left;
	margin-top: 3px;
	padding: 0 1px;
	width: 100%;
	font-weight: 400;
	font-size: 12px;
	}

#videos ol li p {
	clear: both;
	padding: 3px 1px 0;
	font-weight: 300;
	font-size: 12px;
	}

#videos ol li p:nth-of-type(1) { color: #b2b2b2; }
#videos ol li p:nth-of-type(2) { color: #919191; }

#videos ol li p:nth-of-type(1):before {
	content: "";
	position: relative;
	top: 1px;
	display: inline-block;
	margin: 0 5px 0 3px;
	width: 8px;
	height: 10px;
	background: url(../images/sprite.png) no-repeat -307px -32px;
	}

#videos ol li p:nth-of-type(1):before {
	content: "";
	position: relative;
	top: 1px;
	display: inline-block;
	margin: 0 5px 0 3px;
	width: 8px;
	height: 10px;
	background: url(../images/sprite.png) no-repeat -307px -32px;
	}

#videos ol li p:nth-of-type(2):before {
	content: "\f017";
	position: relative;
	top: -moz-calc(1px);
	display: -moz-inline-box;
	margin: 0 3px 0 1px;
	cursor: default;
	color: #b2b2b2;
	font: 13.84px/1.2 "Font Awesome";
	-moz-transform: rotate(0.1deg);
	}

/* #videos .pager {
	position: relative;
	padding: 21px 16px 19px;
	font-size: 0;
	text-align: right;
	background: #fff;
	border-radius: 0 0 10px 10px;
	}

#videos .pager > * {
	display: inline-block;
	vertical-align: middle;
	width: 30px;
	height: 30px;
	color: #606060;
	font-weight: 500;
	font-size: 12px;
	line-height: 30px;
	text-align: center;
	text-decoration: none;
	border-radius: 15px;
	}

#videos .pager > .page:hover,
#videos .pager > .page.curr {
	color: #fff;
	background: #34ccbd;
	}

#videos .pager > .prev,
#videos .pager > .next {
	width: 36px;
	height: 36px;
	color: #319f9c;
	font-weight: 400;
	border: 1px solid #34ccbf;
	border-radius: 5px;
	}

#videos .pager > .prev { margin-right: 11px; }
#videos .pager > .next { margin-left:  11px; }

#videos .pager > .prev:hover,
#videos .pager > .next:hover {
	color: #fff;
	background: #34ccbf;
	}

#videos .pager > .prev:before,
#videos .pager > .next:before {
	font: 32.34px/32px "Font Awesome";
	}

#videos .pager > .prev:before { content: "\f104"; }
#videos .pager > .next:before { content: "\f105"; } */

#videos .pager > .mobile-load {
	display: none;
	}



/*  3. responsive layout (736px)
---------------------------------------------*/

@media screen and (max-width: 736px) {

/*  1. popular  */

#popular {
	height: 348px;
	border-radius: 0;
	}

#popular h3 {
	padding-left: 21px;
	}

#popular h3:before {
	display: none;
	}

#popular ul {
	height: 308px;
	}

#popular ul li a img {
	height: 175px;
	}

#popular ul li a .panel {
	position: static;
	display: block;
	width: auto;
	height: auto;
	background: none;
	}

#popular ul li a .panel .cell {
	display: block;
	padding-right: 8px;
	padding-left: 8px;
	}

#popular ul li a .panel .cell strong {
	display: block;
	margin-top: 12px;
	color: #606060;
	font-size: 18px;
	}

#popular ul li a .panel .cell small {
	position: absolute;
	bottom: 0;
	left: 0;
	margin-top: 0;
	width: 100%;
	color: #b2b2b2;
	line-height: 44px;
	text-align: center;
	}

#popular ul li a .panel .cell small:before {
	display: none;
	}

#popular ul li a .panel .cell:after {
	display: none;
	}

#popular ul li a p {
	padding-top: 4px;
	padding-right: 8px;
	padding-left: 8px;
	height: 58px;
	overflow: hidden;
	line-height: 1.5;
	text-align: center;
	}

#popular .nav a {
	top: 92px;
	}

#popular .nav .prev { left:  12px; }
#popular .nav .next { right: 12px; }

#popular .pager {
	right: 14px;
	}


/*  2. videos  */

#videos {
	margin-top: 8px;
	padding: 0 24px 10px;
	border-radius: 0;
	}

#videos .header {
	padding-right: 0;
	padding-left: 0;
	}

#videos .header .all {
	right: 0;
	}

#videos ol {
	margin-top: 0;
	margin-left: 0;
	}

#videos ol li {
	position: relative;
	display: block;
	margin-top: 0;
	margin-right: 0;
	width: auto;
	min-height: 83px;
	overflow: hidden;
	border-top: 1px solid #dbdbdb;
	}

#videos ol li a {
	position: relative;
	display: block;
	padding-left: 76px;
	width: 100%;
	height: 100%;
	text-decoration: none;
	}

#videos ol li a img {
	position: absolute;
	top: 10px;
	left: 0;
	width: 70px;
	height: 62px;
	}

#videos ol li a small {
	top: 52px;
	bottom: auto;
	}

#videos ol li a strong {
	float: none;
	display: block;
	margin-top: 0;
	padding-top: 13px;
	}

#videos ol li a strong:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 5000px;
	}

#videos ol li .meta {
	position: absolute;
	bottom: 11px;
	left: 76px;
	}

#videos .pager {
	height: auto;
	margin-right: 0;
	margin-left: 0;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
	border-top: none;
	}

#videos .pager > * {
	display: none;
	}

#videos .pager > .mobile-load {
	display: block;
	margin: 3px 0 -10px;
	padding: 11px 0;
	width: auto;
	height: auto;
	cursor: pointer;
	}

#videos .pager > .mobile-load:before {
	content: "\f107";
	display: block;
	cursor: pointer;
	color: #606060;
	font: 17px/1 "Font Awesome";
	text-align: center;
	}

}