@charset "UTF-8";

@import "base/base";
@import "base/mixins";

/* S ZhuanTi Common */
$main_width: 1000px;
$yahei: "Microsoft YaHei", SimHei, sans-serif;

html {
    font-size: 12px;
}
body {
    font-family: $yahei;
    a {
        text-decoration: none;
        color:#666;
        &:hover {
            text-decoration: none;
        }
        
    }
    p, a, span, em, i, h1, h2, h3, h4, h5, h6 {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
    }
    .clearfix{clear: both}
}

.o-wrap{
    width: 600px;
    height: 470px;
    padding: 15px;
    position: relative;
}

.page-yylive{
    overflow: hidden;
    .loading-tips{
        font-size: 14px;
        line-height: 60px;
        color: #333333;
        text-align: center;
    }
    .yylive-banner{
        width: 596px;
        margin: 0 auto;
        a{
            display: block;
            margin-bottom: 20px;
            &:hover{
                opacity: 0.85;
            }
        }
        img{
            display: block;
            width: 100%;    
        }
    }
    .yylive-list{
        margin-right: -10px;
        @include clearfix;
        &.tp2{
            .yylive-item{
                .item-bd{
                    line-height: 26px;
                    height: 26px;
                    @include ellipsis;
                    padding: 0 0 5px;   
                }
            }
        }
    }
    .yylive-item{
        width: 142px;
        float: left;
        margin-right: 10px;
        .item-hd{
            position: relative;
            img{
                width: 142px;
                height: 80px;
                display: block;
            }
        }
        .item-num{
            position: absolute;
            background: url(../img/item-icon.png) 10px center no-repeat;
            font-size: 12px;
            color: #ffffff;
            padding-left: 26px;
            line-height: 30px;
            height: 30px;
            left: 0;
            bottom: 0;
        }
        .item-mask{
            position: absolute;
            background: url(../img/item-mask.png) no-repeat;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 29px;
        }
        .item-bd{
            line-height: 20px;
            color: #666666;
            font-size: 12px;
            height: 40px;
            padding: 5px 0 6px;
            overflow: hidden;
        }
        a{
            display: block;
            &:hover{
                opacity: 0.85;
            }
        }
    }
    .list-more{
        float: left;
        text-align: center;
        line-height: 26px;
        width: 100%;
        a{
            color: #999999;
            font-size: 12px;    
        }
    }
}
.newdnf{
    width: 845px;
    height: auto;
    .page-yylive{
        width: 845px;
        .yylive-banner{
            width: 100%;
        }
        .yylive-list{
            margin-right: -16px;
        }
        .yylive-item{
            width: 200px;
            margin-right: 15px;
            .item-hd{
                img{
                    width: 200px;
                    height: 112px;
                }
            }
            .item-bd{
                line-height: 26px;
                height: 26px;
            }
        }
    }
}