@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;
}

.page-infoHome{
    overflow: hidden;
    .col-left{
        float: left;
        width: 305px;
        margin-right: 21px;
    }
    .col-right{
        float: left;
        width: 274px;
    }
    .mod-tabs-hd{
        @include clearfix;
        width: 100%;
        background: #ecf3f9;
        position: relative;
        .btn-refresh{
            position: absolute;
            top: 4px;
            right: 10px;
            width: 25px;
            height: 20px;
            vertical-align: 10px\9;
            border: 1px solid #cfdeea;
            background-color: #ecf3f9;
            -webkit-border-radius: 2px;
            border-radius: 2px;
            -webkit-background-clip: padding-box;
            -moz-background-clip: padding;
            background-clip: padding-box;
            cursor: pointer;
            background: url(../img/refresh.png?__sprite) 6px 3px no-repeat;
            &:hover{
                background-color: #cfdeea;
            }
        }
    }
    .mod-main{
        overflow: hidden;
    }
    .mod-tabs-trigger{
        width: 560px;
        li{
            float: left;
            height: 30px;
            line-height: 30px;
            text-align: center;
            color: #666;
            font-size: 12px;
            background-color: #ecf3f9;
            cursor: pointer;
            &.selected{
                background-color: #ddebf7;
                font-weight: 700;
                &:hover a{
                    color: #666;
                }
            }
            &:hover a{
                color: #f26460;
            }
        }
        &.col-6{
            li{
                width: 16.6%;
            }
        }
    }
    .mod-news{
        a{
            color: #666666;
            font-size: 12px;
            &:hover{
                color: #ff7a43;
            }
        }
        h2 {
            text-align: center;
            margin:7px 0;
            a{
                font-size: 16px;
                color:#333;
                font-family: "微软雅黑";
            }
        }
        p{
            text-align: center;
            line-height: 16px;
            a{
                padding: 0 8px;
                border-right: 1px solid #CCCCCC;
            }   
            .end{border-right: none}
        }
        .news-col{
            overflow: hidden;
            margin-top: 8px;
            margin-bottom: 5px;
            //兼容ie8
            // margin-top: 3px\0;
            // margin-top: 8px\9\0;
            
            li{
                margin-bottom: 5px;
                overflow: hidden;
                *margin-bottom: 2px;//兼容ie7
                a{
                    font-size: 14px;
                    float: left;
                    width: 265px;
                    line-height: 19px;
                    @include ellipsis;
                }
            }
            em{
                color:#ccc;
                    line-height: 19px;
                font-size: 12px;
                float: right;
            }
        }
    }
    .mod-hotVd{
        overflow: hidden;
        // padding-top: 3px;
    }
    .hotVd-tab{
        overflow: hidden;
        margin-bottom: 5px;
        li{
            color: #666;
            float:left;
            padding-right: 8px;
            border-right: 1px solid #CCCCCC;
            cursor:pointer;
        } 
        .active{
            color: #333;
            font-weight: 700;
        }  
        .end{border-right: none;padding-left: 8px;}
        .more{
            float: right;
            color:#999;
        }
    }
    .hotVd-list{
        height:183px;
        overflow: hidden;
        #dashen{display: none;}
        .retie-news{
            color:#666;
            overflow: hidden;
            list-style: none;
            margin-top: 5px;
            li{
                margin-bottom: 9px;
                *margin-bottom: 6px;
                line-height: 16px;
                overflow: hidden;
                a{
                    font-size: 12px;
                    float: left;
                    width: 280px;
                    @include ellipsis;
                     &:hover{
                        color: #ff7a43;
                    }
                }
            }

        }
        .dashen{
            overflow: hidden;
            margin-right:-14px;
        }
        .dashen li{
            cursor:pointer;
            position: relative;
            float:left;
            margin-bottom: 14px;
            margin-right:14px;
            a{
                display: block;
                position: relative;
                width: 100%;
                .hot-img{
                    width: 145px;
                    height: 81px;
                    img{
                        width:100%;
                        display:block;
                        overflow:hidden;
                    }
                }
                >p{
                    position: absolute;
                    width: 140px;
                    z-index: 100;
                    padding-right: 5px;
                    height: 27px;
                    top:56px;
                    background: url("../img/hotVD-meng.png") no-repeat;
                    text-align: right;
                    line-height: 30px;
                    color: #fff;
                    cursor:pointer;
                    .icon-person{
                        display: inline-block;
                        width: 11px;
                        height: 12px;
                        margin-right: 3px;
                        *position:relative;
                        *bottom:3px;
                        background: url("../img/icon-person.png?__sprite") no-repeat;
                    }
                }
            }  
            .mask{
                position: absolute;
                width: 100%;
                height: 81px;
                top: 0;
                left: 0;
                display: block;
                background: #000;
                @include opacity(0.5);
                display: none;
                cursor:pointer;
            } 
            .info{
                position: absolute;
                width: 145px;
                height: 81px;
                top: 0;
                left: 0;
                cursor:pointer;
                // background: #000;
                // @include opacity(0.5);
                display: none;
                p{
                    color: #fff;
                    text-align: center;
                    margin-top: 43px;
                    cursor:pointer;
                }
                .icon-play{
                    display: inline-block;
                    width: 32px;
                    height: 32px;
                    background: url("../img/icon-play.png?__sprite") no-repeat;
                    position: absolute;
                    left: 50%;
                    top: 50%;
                    margin-left: -16px;
                    margin-top: -30px;
                }
            } 
            &:hover{
                .mask{
                    display: block;
                }
                .info{
                    display: block;
                }
            }
        }
    }
    .mod-freeHero{
        p{
            height: 16px;
            color:#666;
            font-weight: 700;
            margin-bottom: 5px;
            text-align:right;
            span{float: left}
            a{
                // float: right;
                color:#999;
                font-weight: normal;
            }
        }
        ul{
            overflow: hidden;
            margin-right: -5px;
        }
        ul li{
            margin-right: 5px;
            float: left;
            img{
                width: 26px;
                height: 26px;
            }
        }
    }
    .r-video{
        padding-top:10px;
        #match-video{
            display: none;
        }
        .refresh{
            display: inline-block;
            width: 13px;
            height: 13px;
            margin-left: 6px;
            background: url("../img/refresh.png?__sprite") no-repeat;
            &:hover{
                background: url("../img/refresh-hover.png?__sprite") no-repeat;
            }
        }
    }

    .video-list{
        margin: 11px -14px 0 0; 
        overflow: hidden;
        position: relative;
        height: 375px;
        li{
            position: relative;
            width: 130px;
            float:left;
            cursor:pointer;
            margin-right: 14px;
            &.u-hide{
                display: none;
            }
            a{
                display: block;
                width: 100%;
                position: relative;
                height: 73px;
                &:hover{
                    .mask{
                        display: block;
                    }
                    .info{
                        display: block;
                    }
                    .ptitle{
                        display: block;
                    }
                }
            }
            .video-img{
                width: 130px;
                height: 73px;
            }
            img{
                width: 100%;
                height: 100%;
                overflow: hidden;
                display: block;
            }
            h2{
                padding: 8px 0 12px 0;
                a{
                    height: 34px;
                    line-height: 17px;
                    overflow: hidden;
                    display: block;
                    color: #666;
                }
            }  
            .time{
                position: absolute;
                width: 100%;
                z-index: 100;
                height: 20px;
                bottom:0px;
                text-align: right;
                color: #fff;
                span{
                    background: #000;
                    background: rgba(0,0,0,0.3);
                    display: inline-block;
                    line-height: 20px;
                    height: 20px;
                    padding: 0 5px;
                }
            }
            .mask{
                position: absolute;
                width: 100%;
                height: 73px;
                top: 0;
                left: 0;
                display: block;
                background: #000;
                @include opacity(0.5);
                display: none;
                cursor:pointer;
            }
            .ptitle{
                position: absolute;
                display: none;
                top: 15px;
                left: 0;
                text-align: left;
                padding: 0 8px;
                line-height: 18px;
                color: #fff;
                word-break: break-all;
                cursor: pointer;
            }
            .info{
                position: absolute;
                bottom: 0;
                color: #fff;
                text-align: center;
                font-size: 12px;
                font-family: "微软雅黑";
                padding-left: 5px;
                line-height: 20px;
                display: none;
                span{
                    display: inline-block;
                    padding-left: 15px;
                    height: 20px;
                }
                .icon-play{
                    background: url("../img/icon-play2.png?__sprite") 0 6px no-repeat;
                }
                .icon-comment{
                    background: url("../img/comment.png?__sprite") 0 6px no-repeat;
                }
            }
        }
    }
    .r-notice{
        width: 275px;
        height: 25px;
        margin-top: 3px;
        li{
            line-height: 25px;
            text-align: center;
            float: left;
            background: #ECF3F9;
            color:#047bc2;
        }
        .notice{
            width: 40px;
            height: 100%;
            color:#666;
            background: url("../img/icon-notice.png?__sprite") 14px 8px no-repeat;
            background-color: #DDEBF7;
        }
        .scroll-li{
            width: 235px;
            height: 25px;
            overflow: hidden;
            position: relative;
            .scrollNews{
                position: absolute;
                width:100%;
                left: 0;
                top: 0;
                height: auto;
            }
        }
    }
}

.mod-da-bottom{
    margin-top: 3px;
}