@import "base.less";
// @import "list.less";
@import "loading.less";
// @import "video-list.less";

//wookmark css start
/** General page styling **/
body {
  background-color: #e5e5e5;
  font-family: "Helvetica Neue Light", "Helvetica Neue", Arial, sans-serif;
}

header h1 {
  text-align: center;
  font-size: 30px;
  font-weight: 200;
  margin: 30px 0 10px 0;
}

header p {
  text-align: center;
  font-size: 14px;
  color: #666666;
  margin: 0;
  font-weight: 200;
}

a {
  text-decoration: none;
}

/**
 * Progress bar for imagesLoaded
 */
.progress-bar {
  background-color: #0BC20B;
  height: 3px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 0;
  -webkit-box-shadow: 0 1px 3px rgba(11, 194, 11, 0.2);
     -moz-box-shadow: 0 1px 3px rgba(11, 194, 11, 0.2);
          box-shadow: 0 1px 3px rgba(11, 194, 11, 0.2);
  -webkit-transition: width 0.1s ease-out;
     -moz-transition: width 0.1s ease-out;
       -o-transition: width 0.1s ease-out;
          transition: width 0.1s ease-out;
}

/**
 * Placerholder css
 */
.wookmark-placeholder {
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
  background-color: #eee;
  border: 1px solid #dedede;
  z-index: -1;
}

/**
 * Grid container
 */
.tiles-wrap {
  position: relative; /** Needed to ensure items are laid out relative to this container **/
  margin: 10px 0;
  padding: 0;
  list-style-type: none;
  display: none;
}


/**
 * Grid items
 */
.tiles-wrap li {
  display: block;
  opacity: 1;
  text-align: center;
  list-style-type: none;
  background-color: #fff;
  float: left;
  cursor: pointer;
  width: 200px;
  padding: 4px;
  border: 1px solid #dedede;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
     -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
          box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
}
.tiles-wrap.animated li {
  -webkit-transition: all 0.3s ease-out;
     -moz-transition: all 0.3s ease-out;
       -o-transition: all 0.3s ease-out;
          transition: all 0.3s ease-out;
}

.tiles-wrap li.wookmark-inactive {
  visibility: hidden;
  opacity: 0;
}

.tiles-wrap li:hover {
  background-color: #fafafa;
}

.tiles-wrap img {
  display: block;
}

.tiles-wrap a {
  color: #555;
  text-align: center;
  /* display: table-cell; */
  width: 200px;
  height: 200px;
  font-size: 2em;
  font-weight: bold;
  text-decoration: none;
}

.tile-loading:after {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: #ddd;
  content: "Loading\2026";
  padding-top: 20px;
  color: #999;
}

/**
 * Filters
 */
#filters {
  list-style-type: none;
  text-align: center;
  margin: 0 5% 0 5%;
}

#filters:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

#filters li {
  font-size: 12px;
  float: left;
  padding: 6px 8px 4px;
  cursor: pointer;
  margin: 0 10px;
  -webkit-transition: all 0.15s ease-out;
     -moz-transition: all 0.15s ease-out;
       -o-transition: all 0.15s ease-out;
          transition: all 0.15s ease-out;
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
}

#filters li:hover {
  background: #4281f5;
  color: #ffffff;
}

#filters li.active {
  background: #4281f5;
  color: #ffffff;
}

header p {
  max-width: 600px;
  margin: 0 auto;
  line-height: 22px;
}

header p a,
header p a:visited {
  text-decoration: none;
  color: #4281f5;
}

.tiles-wrap li {
  height: 200px;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  box-shadow: none;
}

.tiles-wrap a {
  font-weight: 200;
  text-align: left;
  color: #000000;
  font-size: 12px;
  line-height: 16px;
  height: auto;
  border: 0px;
  display: block;
  width: 200px;
  position: relative;
  height: 100%;
  display: block;
  text-transform: uppercase;
}

.tiles-wrap a span {
  position: absolute;
  bottom: 20px;
  left: 15px;
  right: 15px;
  display: block;
  color: #666666;
}

.tiles-wrap a b {
  font-size: 20px;
  line-height: 20px;
  color: #000000;
}

.tiles-wrap a:hover b {
  color: #4281f5;
}

//wookmark css end

// html, body{
// 	height: 100%;
// }

// .pageView{
// 	height: 100%;
// 	overflow-y: auto;
// }

// 首页轮播
#home-slider {
	width: 100%;
	position: relative;
	overflow: hidden;
	background: url(img/loading.gif) center no-repeat #000;
	background-size: 25px 25px;

	#scroller {
		position: absolute;
		height: 100%;
	}

	.slide {
		width: 100%;
		height: 100%;
		display: block;
		float: left;
		background-size: cover;
	}

	#indicator {
		position: absolute;
		bottom: 0;
		height: 10px;
		padding: 0 0 10px;
		z-index: 2;
		width: 100%;
		left: 50%;
		text-align: center;
		background-image: url(img/indicators@2x.png);
		background-repeat: repeat-x;
		background-size: 20px 10px;

		.dot {
			width: 20px;
			height: 10px;

			.inner {
				border-radius: 5px;
				background: rgba(255, 255, 255, 0.5);
				margin: 1px 6px;
				width: 8px;
				height: 8px;
			}
		}
	}
}
.comic-list{
	padding: 10px;

	@media screen and (min-width: 768px){
		padding: 20px;
	}

	.tiles-wrap{
		margin-top: 0;
		
		li{
			width: 145px;
			height: auto;
			padding: 0;
			border: none;

			.video-item{

				width: 100%;
				position: relative;

				img{
					width: 100%;
				}

				.summary{
					position: absolute;
					bottom: 0;
					height: 24px;
					font-size: 12px;
					line-height: 24px;
					overflow: hidden;
					white-space: nowrap;
					text-overflow: ellipsis;
					background: rgba(0, 0, 0, 0.5);
					color: #fff;
					padding: 0 10px;
					width: 100%;
					box-sizing: border-box;
				}

				.home-flag{
					background-repeat: no-repeat;
					background-size: cover;
					width: 45px;
					height: 45px;
					position: absolute;
					top: 0;
					right: 0;
					left: auto;
				}

				.home-hot{
					background-image: url('img/index/homehot@2x.png');
				}

				.home-new{
					background-image: url('img/index/homenew@2x.png');
				}
			}

			.title{
				padding: 5px 10px;
				font-size: 14px;
				text-align: left;
				overflow: hidden;
				white-space: nowrap;
				text-overflow: ellipsis;
			}

			.episode{
				color: #767676;
				text-align: left;
				font-size: 12px;
				padding: 0 10px 5px;
			}

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

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

				.video-item{

					.summary{
						position: absolute;
						bottom: 0;
						height: 36px;
						font-size: 18px;
						line-height: 36px;
						background: rgba(0, 0, 0, 0.5);
						color: #fff;
						padding: 0 15px;
					}
				}

				.title{
					padding: 10px 15px;
				}
				.episode{
					padding: 0 15px 10px;
				}
			}

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

				.video-item{

					.home-flag{
						background-repeat: no-repeat;
						background-size: cover;
						width: 80px;
						height: 80px;
						position: absolute;
						top: 0;
						right: 0;
						left: auto;
					}

					.home-hot{
						background-image: url('img/index/homehot@3x.png');
					}

					.home-new{
						background-image: url('img/index/homenew@3x.png');
					}
				}
			}

		}
	}
	
}