
.layout-box { margin: 20px 0;}
.layout-box .layout-hd { height: 32px; line-height: 32px; padding: 14px 0; overflow: hidden;}
.layout-box .tit { font-size: 24px; font-weight: normal; float: left;}
.layout-box .sub-nav { padding-left: 30px; height: 32px; line-height: 32px; float: left;}
.layout-box .sub-nav a { margin-right: 28px; font-size: 16px; line-height: 32px; filter: alpha(opacity=80); opacity: 0.8;}
.layout-box .sub-nav .active { color: #ff620e;}
.layout-box .imgbox .img { transition: all .3s ease;height: 100%;}
.layout-box .imgbox:hover .img { transform: translateY(-5px);}

.layout-hot .item { margin-right: 16px; width: 284px; float: left; background: #fff; -webkit-box-shadow: 0px 1px 4px #dfdfdf; box-shadow: 0px 1px 4px #dfdfdf; -webkit-transition: all 0.1s linear; -o-transition: all 0.1s linear; transition: all 0.1s linear; border-radius: 4px; overflow: hidden;}
.layout-hot .item:hover {-webkit-box-shadow: 0px 0px 30px #dfdfdf; box-shadow: 0px 0px 30px #dfdfdf; -webkit-transition: all 0.1s linear; -o-transition: all 0.1s linear; transition: all 0.1s linear;}
.layout-hot .item:nth-child(4n) { margin-right: 0;}
.layout-hot .item .imgbox { position: relative; height: 375px; overflow: hidden;}
.layout-hot .item .img { width: 100%;}
.layout-hot .item .author, .layout-daliy .item .author { box-sizing: border-box; width: 100%; line-height: 50px; padding: 0 12px; position: absolute; left: 0; bottom: 0; font-size: 16px; color: #fff; text-shadow: 0 0 10px #ccc; z-index: 2;background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), color-stop(99%, rgba(0, 0, 0, 0.64))); background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.64) 99%); background-image: linear-gradient(-180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.64) 99%);}
.layout-hot .item .name { font-size: 20px; color: #4F4F53; white-space: nowrap; overflow: hidden; -o-text-overflow: ellipsis; text-overflow: ellipsis; margin: 15px 12px;}


.layout-daliy .item { height: 34px; line-height: 34px; overflow: hidden;}
.layout-daliy .item .s1 { width: 100px;}
.layout-daliy .item .s2 { width: 300px;}
.layout-daliy .item .s3 { width: 500px; color: #ff620e;}
.layout-daliy .item .s4 { width: 184px;}
.layout-daliy .item .s5 { width: 100px; text-align: right;}

.layout-daliy .item span { float: left;}
.layout-daliy .item a { float: left;}

.layout-common .item { width: 224px; margin-right: 16px; margin-bottom: 12px; float: left; position: relative;}
.layout-common .item .imgbox { height: 280px; border-radius: 4px; overflow: hidden; box-shadow: 0px 0px 5px #dfdfdf;}
.layout-common .item .name { height: 24px; font-size: 14px;  line-height: 24px; margin-top: 5px;}
.layout-common .item .desc { height: 20px; color: #999; line-height: 20px;}
.layout-common .item .score { position: absolute; right: 0; bottom: 22px; font-size: 14px; color: #fe610e;}

.layout-common .item:nth-child(5n) { margin-right: 0;}
/*
.layout-common .item:first-child { width: 432px; margin-right: 30px; }
.layout-common .item:first-child .imgbox { height: 466px;}
.layout-common .item:first-child .name { font-size: 16px; padding-right: 40px;}
.layout-common .item:first-child .score { zoom: 1.4; bottom: 14px;}
 */
.layout-rank .layout-list {max-height: 400px; width: 100%; font-size: 0; line-height: 40px; -webkit-writing-mode: vertical-lr; -ms-writing-mode: tb-lr; writing-mode: vertical-lr;}
.layout-rank .item {-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; position: relative; display: inline-block; height: 32px; width: 20%; padding-left: 32px; margin-bottom: 8px; font-size: 14px; color: #666666; line-height: 32px; vertical-align: middle; -webkit-writing-mode: horizontal-tb; -ms-writing-mode: lr-tb; writing-mode: horizontal-tb;position: relative;}
.layout-rank .item .rank {position: absolute; left: 0; top: 0; height: 32px; width: 32px; font-size: 12px; line-height: 30px; text-align: center;}
.layout-rank .item:nth-child(1) .rank { background: url('../image/rank-top-1.png') center center no-repeat; background-size: 26px; font-size: 0;}
.layout-rank .item:nth-child(2) .rank { background: url('../image/rank-top-2.png') center center no-repeat; background-size: 26px; font-size: 0;}
.layout-rank .item:nth-child(3) .rank { background: url('../image/rank-top-3.png') center center no-repeat; background-size: 26px; font-size: 0;}
.layout-rank .item:hover { color: #ff620e;}

.layout-type .item { display: inline-block; transition: all .3s ease; padding: 0 40px; height: 36px; line-height: 36px; font-size: 14px; color: #fff; border-radius: 20px; margin: 0 20px 20px 0; background: #ff620e;}
.layout-type .item:hover { opacity: .8; transform: scale(1.1);}
.layout-type .item:nth-child(10n+2) { background: #607d8b;}
.layout-type .item:nth-child(10n+3) { background: #00bcd4;}
.layout-type .item:nth-child(10n+4) { background: #2196f3;}
.layout-type .item:nth-child(10n+5) { background: #3f51b5;}
.layout-type .item:nth-child(10n+6) { background: #9c27b0;}
.layout-type .item:nth-child(10n+7) { background: #F44336;}
.layout-type .item:nth-child(10n+8) { background: #009688;}
.layout-type .item:nth-child(10n+9) { background: #8bc34a;}
.layout-type .item:nth-child(10n+10) { background: #795548;}


.mobile .layout-box { margin: 0px 0; }
.mobile .layout-hot .item { margin: 0 2% 10px 0; width: 32%;}
.mobile .layout-hot .item:nth-child(n+4) { display: none;}
.mobile .layout-hot .item:nth-child(3n) { margin-right: 0px;}
.mobile .layout-hot .item .imgbox { height:151px;}
.mobile .layout-hot .item .name { font-size: 16px; margin: 6px 10px;}
.mobile .layout-box .layout-hd { padding: 5px 0 0 0; height: auto; display: flex; justify-content: space-between;}
.mobile .layout-box .tit { font-size: 18px; padding-right: 20px;}
.mobile .layout-box .sub-nav { padding-left: 0; float: right; display: flex; flex: 1; text-align: center;}
.mobile .layout-box .sub-nav a { margin-right: 0; font-size: 12px; flex: 1;}
.mobile .banner { margin: 10px 0;}

.mobile .layout-common .item:first-child { width: 32%; margin-right: 2%;}
.mobile .layout-common .item:first-child .imgbox, .mobile .layout-common .item .imgbox { height: 151px;}
.mobile .layout-common .item { margin: 0 2% 10px 0; width: 32%; height: auto;}
.mobile .layout-common .item:nth-child(3n) { margin-right: 0; }
.mobile .layout-common .item:nth-child(3n+1) { margin-right: 2%; }
.mobile .layout-common .item:nth-child(n+7) { display: none;}

.mobile .layout-rank .item { width: 50%;}
.mobile .layout-rank .layout-list .item:nth-child(n + 21) { display: none;}

.mobile .layout-type .item { width: 32%; margin-right: 2%; margin-bottom: 10px; text-align: center; float: left;}
.mobile .layout-type .item:nth-child(3n) { margin-right: 0; }

.mobile .layout-daliy .item .s1 { display: none;}
.mobile .layout-daliy .item .s2 { width:40%;}
.mobile .layout-daliy .item .s3 { width: 40%;}
.mobile .layout-daliy .item .s4 { display: none;}
.mobile .layout-daliy .item .s5 { width: 20%;}