@import "base.less";
@import "view.less";
@import "loading.less";
@import "list.less";
@import "video-list.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{
	li{
		float: left;
		width: 25%;

		.cate-item {
			margin: 0;
			line-height: 20px;
			font-size: 0.95em;
			font-weight: normal;
			display: block;
			text-align: center;
			opacity: 0.8;
			background-size: 44px 44px;
			background-position: center top;
			background-repeat: no-repeat;
		}
		
		.top{
			background-image: url('img/channel/classic_ui/top@2x.png?v=2');
		}		
		.tuijian{
			background-image: url('img/channel/classic_ui/tuijian@2x.png?v=2');
		}
		.hollywood{
			background-image: url('img/channel/classic_ui/haolaiwu@2x.png?v=2');
		}
		.neidi{
			background-image: url('img/channel/classic_ui/neidi_top@2x.png?v=2');
		}
		.guochan{
			background-image: url('img/channel/classic_ui/guochan@2x.png?v=2');
		}
		.meiju{
			background-image: url('img/channel/classic_ui/meiju@2x.png?v=2');
		}
		.hanju{
			background-image: url('img/channel/classic_ui/hanju@2x.png?v=2');
		}
		.wangju{
			background-image: url('img/channel/classic_ui/wangju@2x.png?v=2');
		}
		.love{
			background-image: url('img/channel/classic_ui/love@2x.png?v=2');
		}
		.xiju{
			background-image: url('img/channel/classic_ui/xiju@2x.png?v=2');
		}
		.jingsong{
			background-image: url('img/channel/classic_ui/jingsong@2x.png?v=2');
		}
		.dongzuo{
			background-image: url('img/channel/classic_ui/dongzuo@2x.png?v=2');
		}
		.kehuan{
			background-image: url('img/channel/classic_ui/kehuan@2x.png?v=2');
		}
		.vr{
			background-image: url('img/channel/classic_ui/vr@2x.png?v=2');
		}
		.shaoer{
			background-image: url('img/channel/classic_ui/shaoer@2x.png?v=2');
		}

		// .fashion{
		// 	background-image: url('img/channel/classic_ui/fashion@2x.png?v=1');
		// }
		// .youxi{
		// 	background-image: url('img/channel/classic_ui/game@2x.png?v=1');
		// }
		// .hot_video{
		// 	background-image: url('img/channel/classic_ui/hot_video@2x.png?v=1');
		// }
		// .jishi{
		// 	background-image: url('img/channel/classic_ui/jilu@2x.png?v=1');
		// }
		// .new{
		// 	background-image: url('img/channel/classic_ui/new@2x.png?v=1');
		// }
		// .old{
		// 	background-image: url('img/channel/classic_ui/old@2x.png?v=1');
		// }
		// .travel{
		// 	background-image: url('img/channel/classic_ui/lvyou@2x.png?v=1');
		// }
		// .gaoxiao{
		// 	background-image: url('img/channel/classic_ui/old@2x.png?v=1');
		// }
		// .tongbu{
		// 	background-image: url('img/channel/classic_ui/tongbu@2x.png?v=1');
		// }
		
		// .special{
		// 	background-image: url('img/channel/classic_ui/topic@2x.png?v=1');
		// }

		.taiwanju{
			background-image: url('img/channel/classic_ui/taiwan@2x.png?v=1');
		}
		.gangju{
			background-image: url('img/channel/classic_ui/tvb@2x.png?v=1');
		}
		.taiguoju{
			background-image: url('img/channel/classic_ui/taiguo@2x.png?v=1');
		}
		.riju{
			background-image: url('img/channel/classic_ui/riju@2x.png?v=2');
		}
		.yingju{
			background-image: url('img/channel/classic_ui/yingju@2x.png?v=1');
		}
	}
	@media screen and (min-width: 320px) {
	
		li{
			.cate-item {
				height: 25px;
				padding-top: 44px;
			}
		}
	}
	@media screen and (min-width: 375px) {

		li{
			.cate-item{
				height: 35px;
			}
		}
		
	}
	@media screen and (min-width: 414px) {

		li{
			.cate-item{
				height: 40px;
			}
		}
	}


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

		li{
			.cate-item{
				
				font-size: 1.25em;
				height: 50px;
				padding-top: 66px;
				background-size: 66px 66px;
			}
		}
	}
}


.head-cate-list{
	padding-top: 10px;
	ul{
		padding: 0 5px;
		li{
			float: left;
			padding: 5px;
            width:50%;
            box-sizing:border-box;
            border-radius: 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;
                width:100%;
                border-radius:5px;
			}
			.head-movie{
				background: url('img/channel/channelNew/movie_B@2x.png?v=6') no-repeat;
				background-size: cover;
			}
			.head-tv{
				background: url('img/channel/channelNew/tv_B@2x.png?v=6') no-repeat;
				background-size: cover;
			}
			.head-zongyi{
				background: url('img/channel/channelNew/zongyi_B@2x.png?v=6') no-repeat;
				background-size: cover;
			}
			.head-dongman{
				background: url('img/channel/channelNew/anime_B@2x.png?v=7') 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/channelNew/movie_B@ipad.png?v=6') no-repeat;
					background-size: cover;
				}
				.head-tv{
					background: url('img/channel/channelNew/tv_B@ipad.png?v=6') no-repeat;
					background-size: cover;
				}
				.head-zongyi{
					background: url('img/channel/channelNew/zongyi_B@ipad.png?v=6') no-repeat;
					background-size: cover;
				}
				.head-dongman{
					background: url('img/channel/channelNew/anime_B@ipad.png?v=6') 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;
			}
			
		}
	}
}

















