@import "base.less";
@import "view.less";
@import "loading.less";
@import "list.less";
@import "video-list.less";
@import "sweetalert.less";


.cageListView, .channelView {
	background-color: @backgroundColor;
}

.cate-list {
	margin: 15px 0 0;

	.cate-item {
		display: block;
		float: left;
		width: 33.3%;
		text-align: center;
		margin: 0 0 1.5em;

		.thumb {
			background-repeat: no-repeat;
			background-size: cover;
			height: 120px;
			width: 80%;
			margin: 0 auto;
		}

		.title {
			margin-top: 0.5em;
			font-size: 0.9em;
			color: @titleColor;
			line-height: 18px;
		}
	}
}


@media screen and (min-width: 375px) {

	.cate-list {

		.cate-item {

			.thumb {
				width: 100px;
				height: 130px;
			}

			.title {
				font-size: 1em;
			}
		}
	}
}


@media screen and (min-width: 414px) {

	.cate-list {

		.cate-item {

			.thumb {
				width: 110px;
				height: 145px;
			}

			.title {
				font-size: 1em;
			}
		}
	}
}


@media screen and (min-width: 768px) {

	.cate-list {
		margin: 20px 0 0;

		.cate-item {
			width: 25%;

			.thumb {
				width: 120px;
				height: 160px;
			}

			.title {
				font-size: 1.1em;
			}
		}
	}
}
.cate-list{
	ul{
		
	}
	li{
		float: left;
		// border-bottom: 1px solid rgba(255, 255, 255, 0.15);
		width: 25%;
		.cate-item{
			// border-right: 1px solid rgba(255, 255, 255, 0.15);
			margin: 0;
			height: 25px;
			line-height: 20px;
			font-size: 0.95em;
			font-weight: normal;
			display: block;
			text-align: left;
			opacity: 0.8;
		}
		.hollywood{
			background: url('img/channel/classic_ui/Hollywood@2x.png?v=1') center top no-repeat;
			background-size: 44px 44px;
		}
		.guochan{
			background: url('img/channel/classic_ui/guochan@2x.png?v=1') center top no-repeat;
			background-size: 44px 44px;
		}
		.shaoer{
			background: url('img/channel/classic_ui/erge@2x.png?v=1') center top no-repeat;
			background-size: 44px 44px;
		}
		.fashion{
			background: url('img/channel/classic_ui/fashion@2x.png?v=1') center top no-repeat;
			background-size: 44px 44px;
		}
		.youxi{
			background: url('img/channel/classic_ui/game@2x.png?v=1') center top no-repeat;
			background-size: 44px 44px;
		}
		.hot_video{
			background: url('img/channel/classic_ui/hot_video@2x.png?v=1') center top no-repeat;
			background-size: 44px 44px;
		}
		.jishi{
			background: url('img/channel/classic_ui/jilu@2x.png?v=1') center top no-repeat;
			background-size: 44px 44px;
		}
		.meiju{
			background: url('img/channel/classic_ui/meiju@2x.png?v=1') center top no-repeat;
			background-size: 44px 44px;
		}
		.new{
			background: url('img/channel/classic_ui/new@2x.png?v=1') center top no-repeat;
			background-size: 44px 44px;
		}
		.old{
			background: url('img/channel/classic_ui/old@2x.png?v=1') center top no-repeat;
			background-size: 44px 44px;
		}
		.travel{
			background: url('img/channel/classic_ui/lvyou@2x.png?v=1') center top no-repeat;
			background-size: 44px 44px;
		}
		.gaoxiao{
			background: url('img/channel/classic_ui/old@2x.png?v=1') center top no-repeat;
			background-size: 44px 44px;
		}
		.tongbu{
			background: url('img/channel/classic_ui/tongbu@2x.png?v=1') center top no-repeat;
			background-size: 44px 44px;
		}
		.top{
			background: url('img/channel/classic_ui/top@2x.png?v=1') center top no-repeat;
			background-size: 44px 44px;
		}
		.special{
			background: url('img/channel/classic_ui/topic@2x.png?v=1') center top no-repeat;
			background-size: 44px 44px;
		}
		.neidi{
			background: url('img/channel/classic_ui/neidi_top@2x.png?v=1') center top no-repeat;
			background-size: 44px 44px;
		}
		.rihan{
			background: url('img/channel/classic_ui/rihan@2x.png?v=1') center top no-repeat;
			background-size: 44px 44px;
		}
		.taiwanju{
			background: url('img/channel/classic_ui/taiwan@2x.png?v=1') center top no-repeat;
			background-size: 44px 44px;
		}
		.gangju{
			background: url('img/channel/classic_ui/tvb@2x.png?v=1') center top no-repeat;
			background-size: 44px 44px;
		}
		.taiguoju{
			background: url('img/channel/classic_ui/taiguo@2x.png?v=1') center top no-repeat;
			background-size: 44px 44px;
		}
		.riju{
			background: url('img/channel/classic_ui/riju@2x.png?v=2') center top no-repeat;
			background-size: 44px 44px;
		}
		.yingju{
			background: url('img/channel/classic_ui/yingju@2x.png?v=1') center top no-repeat;
			background-size: 44px 44px;
		}
	}
	@media screen and (min-width: 320px) {
	
		li{
			// width: 161px;
			.cate-item{
				// padding-left: 55px;
				// width: 105px;
				width: 100%;
				text-align: center;
				padding-top: 45px;
			}
		}
		
	}
	@media screen and (min-width: 375px) {

		li{
			// width: 188px;
			.cate-item{
				// padding-left: 55px;
				// width: 132px;
				height: 35px;
			}
		}
		
	}


	@media screen and (min-width: 414px) {

		li{
			// width: 208px;
			.cate-item{
				// padding-left: 55px;
				// width: 152px;
				
			}
			.hollywood{
				background: url('img/channel/classic_ui/Hollywood@3x.png?v=1') center top no-repeat;
				background-size: 44px 44px;
			}
			.guochan{
				background: url('img/channel/classic_ui/guochan@3x.png?v=1') center top no-repeat;
				background-size: 44px 44px;
			}
			.shaoer{
				background: url('img/channel/classic_ui/erge@3x.png?v=1') center top no-repeat;
				background-size: 44px 44px;
			}
			.fashion{
				background: url('img/channel/classic_ui/fashion@3x.png?v=1') center top no-repeat;
				background-size: 44px 44px;
			}
			.youxi{
				background: url('img/channel/classic_ui/game@3x.png?v=1') center top no-repeat;
				background-size: 44px 44px;
			}
			.hot_video{
				background: url('img/channel/classic_ui/hot_video@3x.png?v=1') center top no-repeat;
				background-size: 44px 44px;
			}
			.jishi{
				background: url('img/channel/classic_ui/jilu@3x.png?v=1') center top no-repeat;
				background-size: 44px 44px;
			}
			.meiju{
				background: url('img/channel/classic_ui/meiju@3x.png?v=1') center top no-repeat;
				background-size: 44px 44px;
			}
			.new{
				background: url('img/channel/classic_ui/new@3x.png?v=1') center top no-repeat;
				background-size: 44px 44px;
			}
			.old{
				background: url('img/channel/classic_ui/old@3x.png?v=1') center top no-repeat;
				background-size: 44px 44px;
			}
			.travel{
				background: url('img/channel/classic_ui/lvyou@3x.png?v=1') center top no-repeat;
				background-size: 44px 44px;
			}
			.gaoxiao{
				background: url('img/channel/classic_ui/old@3x.png?v=1') center top no-repeat;
				background-size: 44px 44px;
			}
			.tongbu{
				background: url('img/channel/classic_ui/tongbu@3x.png?v=1') center top no-repeat;
				background-size: 44px 44px;
			}
			.top{
				background: url('img/channel/classic_ui/top@3x.png?v=1') center top no-repeat;
				background-size: 44px 44px;
			}
			.special{
				background: url('img/channel/classic_ui/topic@3x.png?v=1') center top no-repeat;
				background-size: 44px 44px;
			}
			.neidi{
				background: url('img/channel/classic_ui/neidi_top@3x.png?v=1') center top no-repeat;
				background-size: 44px 44px;
			}
			.rihan{
				background: url('img/channel/classic_ui/rihan@3x.png?v=1') center top no-repeat;
				background-size: 44px 44px;
			}
			.taiwanju{
				background: url('img/channel/classic_ui/taiwan@3x.png?v=1') center top no-repeat;
				background-size: 44px 44px;
			}
			.gangju{
				background: url('img/channel/classic_ui/tvb@3x.png?v=1') center top no-repeat;
				background-size: 44px 44px;
			}
			.taiguoju{
				background: url('img/channel/classic_ui/taiguo@3x.png?v=1') center top no-repeat;
				background-size: 44px 44px;
			}
			.riju{
				background: url('img/channel/classic_ui/riju@3x.png?v=2') center top no-repeat;
				background-size: 44px 44px;
			}
			.yingju{
				background: url('img/channel/classic_ui/yingju@3x.png?v=1') center top no-repeat;
				background-size: 44px 44px;
			}
		}
		
	}


	@media screen and (min-width: 768px) {

		li{
			// width: 385px;
			.cate-item{
				
				padding-top: 65px;
				// width: 324px;
				font-size: 1.25em;
				background-size: 59px 59px;
			}

		}
		
	}
}
.head-cate-list{
	padding-top: 10px;
	ul{
		padding: 0 5px;
		li{
			float: left;
			padding: 5px;
			.head-cate-item{
				display: block;
				font-size: 18px;
				letter-spacing: 0.1em;
				padding-left: 10px;
				font-weight: 400;
				box-sizing: border-box;
				text-shadow: rgba(0, 0, 0, 0.2) 1px 1px 1px;
			}
			.head-movie{
				background: url('img/channel/new/movie@2x.png?v=2') no-repeat;
				background-size: cover;
			}
			.head-tv{
				background: url('img/channel/new/tv@2x.png?v=2') no-repeat;
				background-size: cover;
			}
			.head-zongyi{
				background: url('img/channel/new/zongyi@2x.png?v=2') no-repeat;
				background-size: cover;
			}
			.head-dongman{
				background: url('img/channel/new/anime@2x.png?v=2') no-repeat;
				background-size: cover;
			}
		}
		
	}
	@media screen and (min-width: 320px) {
		ul{
			padding: 0 2px;
			li{
				width: 150px;
				padding: 4px;
				.head-cate-item{
					width: 150px;
					height: 80px;
					line-height: 80px;
				}
			}
		}
		
		
	}
	@media screen and (min-width: 375px) {
		ul{
			padding: 0 5px;
			li{
				width: 170px;
				padding: 6px;
				.head-cate-item{
					width: 170px;
					height: 90px;
					line-height: 90px;
				}
			}
		}
		
		
	}


	@media screen and (min-width: 414px) {
		ul{
			padding: 0 5px;
			li{
				width: 190px;
				padding: 6px;
				.head-cate-item{
					width: 190px;
					height: 100px;
					line-height: 100px;
				}
			}

		}
		
		
	}


	@media screen and (min-width: 768px) {
		ul{
			padding: 0 10px;
			li{
				width: 354px;
				padding: 10px;
				.head-cate-item{
					width: 354px;
					height: 130px;
					line-height: 130px;
					font-size: 24px;
					font-weight: bold;
					letter-spacing: 0.1em;
					padding-left: 30px;
					text-shadow: rgba(0, 0, 0, 0.6) 1px 1px 1px;
				}
				.head-movie{
					background: url('img/channel/new/movie_ipad.png') no-repeat;
					background-size: cover;
				}
				.head-tv{
					background: url('img/channel/new/tv_ipad.png') no-repeat;
					background-size: cover;
				}
				.head-zongyi{
					background: url('img/channel/new/zongyi_ipad.png') no-repeat;
					background-size: cover;
				}
				.head-dongman{
					background: url('img/channel/new/anime_ipad.png') no-repeat;
					background-size: cover;
				}
			}

		}
		
		
	}

}

// .channel-ad-part{
	
// 	.ad-title{
// 		background: url('img/channel/chanel_star@2x.png') 6px 1px no-repeat;
// 		background-size: 18px 18px;
// 		padding-left: 28px;
// 		position: relative;
// 		height: 24px;
// 		line-height: 24px;
// 		color: rgba(255, 255, 255, 0.4);
// 		font-size: 14px;
// 		padding-bottom: 5px;
// 		.lineBottom();

// 		a.close{
// 			background: url('img/cancel@2x.png') no-repeat;
// 			background-size: cover;
// 			position: absolute;
// 			width: 24px;
// 			height: 24px;
// 			right: 3px;
// 			top: 0;
// 		}
// 	}

// 	.native-ad{
// 		padding: 10px 6px;
		
// 		.icon{
// 			background-repeat: no-repeat;
// 			background-size: 37px 37px;
// 			height: 37px;
// 			padding-left: 47px;
// 			margin-bottom: 10px;
// 			position: relative;

// 			span{
// 				float: left;
// 				width: 77%;
// 				font-size: 14px;
// 			}

// 			.title{
// 				color: @linkColor;
// 				line-height: 20px;
// 			}

// 			.desc{
// 				color: rgba(255, 255, 255, 0.4);
// 				font-size: 12px;
// 				line-height: 16px;
// 				height: 16px;
// 				overflow: hidden;
// 				text-overflow: ellipsis;
// 				white-space: nowrap;
// 			}

// 			.download{
// 				width: 17%;
// 				height: 30px;
// 				right: 0;
// 				top: 2px;
// 				line-height: 30px;
// 				color: @linkColor;
// 				text-align: center;
// 				background-color: #295E93;
// 				border-radius: 3px;
// 				position: absolute;
// 			}
// 		}
// 		img{
// 			width: 100%;
// 		}
// 	}

// 	@media screen and (min-width: 375px) {
// 		.ad-title{
// 			background-position: 11px 1px; 
// 			padding-left: 36px;

// 			a.close{
// 				right: 6px;
// 			}
// 		}

// 		.native-ad{
// 			padding: 10px 11px;
			
// 			.icon{
// 				padding-left: 48px;
// 				// background-size: 60px 60px;
// 				// height: 60px;
// 				// margin-bottom: 15px;

// 				// .title{
// 				// 	font-size: 1.2em;
// 				// }

// 				// .desc{
// 				// 	font-size: 1em;
// 				// 	margin-top: 10px;
// 				// }

// 				// .download{
// 				// 	height: 40px;
// 				// 	line-height: 40px;
// 				// 	font-size: 1.3em;
// 				// }
// 			}
// 		}
// 	}

// 	@media screen and (min-width: 768px) {
// 		.ad-title{
// 			background: url('img/channel/chanel_star@3x.png') 20px 0 no-repeat;
// 			background-size: 36px 36px;
// 			margin-top: 40px;
// 			padding-left: 80px;
// 			height: 36px;
// 			line-height: 36px;
// 			font-size: 1.5em;
// 			padding-bottom: 10px;

// 			a.close{
// 				background: url('img/cancel@3x.png') no-repeat;
// 				background-size: cover;
// 				width: 34px;
// 				height: 34px;
// 				right: 15px;
// 				top: 10px;
// 			}
// 		}

// 		.native-ad{
// 			padding: 15px 20px;
			
// 			.icon{
// 				background-repeat: no-repeat;
// 				background-size: 70px 70px;
// 				height: 70px;
// 				padding-left: 90px;
// 				margin-bottom: 15px;

// 				span{
// 					width: 80%;
// 					font-size: 1.8em;
// 				}

// 				.title{
// 					font-size: 1.5em;
// 					line-height: 1.8em;
// 				}

// 				.desc{
// 					font-size: 1.2em;
// 					line-height: 1.5em;
// 					height: 1.5em;
// 				}

// 				.download{
// 					width: 15%;
// 					height: 50px;
// 					line-height: 50px;
// 					border-radius: 5px;
// 					font-size: 1.5em;
// 					top: 10px;
// 				}
// 			}
// 		}
// 	}
// }

.native-ad{
	margin: 0 6px;
	height: 161px;
	display: block;
	overflow: hidden;
	position: relative;
	margin-top: 20px;

	img{
		width: 100%;
	}

	.close{
		background-image: url('img/close@2x.png?v=2');
		background-repeat: no-repeat;
		background-size: cover;
		position: absolute;
		width: 24px;
		height: 24px;
		top: 5px;
		right: 5px;
	}

	.ad-notice{
		position: absolute;
		top: 0;
		right: 0;
		background-image: url('img/ad_logo@2x.png');
		background-size: cover;
		width: 20px;
		height: 14px;
	}

	.title-con{
		position: absolute;
		bottom: 0;
		left: 0;
		height: 27%;
		width: 100%;
		color: #fff;
		padding: 5px 5px;
		font-size: 14px;
		box-sizing: border-box;
		background: rgba(0, 0, 0, 0.75);

		.title{
			line-height: 22px;
		}

		.caption{
			font-size: 10px;
			display: block;
			color: rgba(255, 255, 255, 0.6);
		}

		.ad-icon{
			float: right;
			margin-top: 10px;
			width: 30px;
			height: 15px;
			line-height: 15px;
			font-size: 10px;
			border: 1px solid rgba(255, 255, 255, 0.3);
			color: rgba(255, 255, 255, 0.4);
			text-align: center;
			border-radius: 3px;
		}
		
	}
}

@media screen and (min-width: 375px) {
	.native-ad{
		height: 184px;
		margin: 10px 11px 0;

		.close{
			top: 10px;
			right: 10px;
		}

		.title-con{
			padding: 7px 10px;
			font-size: 16px;	

			.title{
				line-height: 24px;
			}	

			.caption{
				font-size: 12px;
			}	
		}
	}
}

@media screen and (min-width: 414px) {
	.native-ad{
		height: 205px;

		.title-con{

			.title{
				line-height: 28px;
			}

			.caption{
				
			}

			.ad-icon{
				margin-top: 15px;
			}
			
		}
	}
}

@media screen and (min-width: 768px) {
	.native-ad-con{

		padding-left: 20px;

	}

	.native-ad{
		height: 185px;
		margin: 30px 20px 0 0;
		float: left;
		width: 354px;

		.close{
			top: 10px;
			right: 10px;
			width: 36px;
			height: 36px;
		}
		
		.ad-notice{
			background-image: url('img/ad_logo@3x.png');
			background-size: cover;
			// width: 40px;
			// height: 28px;
		}

		.title-con{
			padding: 0 10px;

			.title{
				line-height: 30px;
				font-size: 18px;
			}

			.caption{
				font-size: 14px;
			}

			.ad-icon{
				margin-top: 15px;
				width: 40px;
				height: 20px;
				font-size: 12px;
				border-radius: 4px;
				line-height: 20px;
			}
			
		}
	}
}