@charset "UTF-8";
$yahei: "Microsoft YaHei";
$pingfan:PingFangSC-Regular;

/*通用变量*/

$baseFontSize:14px;
$baseFontColor:#999;
/*基础样式*/

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

html,body{
    height: 100%;
}
body {
    font-size: $baseFontSize;
    font-family:$pingfan, $yahei, Helvetica, Arial, sans-serif;
    background-color: #120500;
}

.hide{
    display: none;
}

a {
    text-decoration: none;
    color: $baseFontColor;
    &.common-link {
        display: block;
        width: 100%;
        height: 100%;
    }
}

.mc-wrap{
    background: url(../img/bg.jpg) center top no-repeat;
    background-size: 100% auto;
    min-height: 600px;
    .wrap-inner{

    }

    .mod-video{
        padding-top: px2rem(260);
        .video-frame{
            border: 2px solid #dcdcdc;
            border-radius: 7px;
            width: px2rem(600);
            height: px2rem(350);
            margin: 0 auto;
            padding: px2rem(12);
            background: #000;
        }
        video{
            // display: block;
            // width: 100%;
            // height: 100%;
        }
    }

    .mod-share{
        @include clearfix;
        padding: px2rem(30);
        section{
            color: #876b6b;
            font-size: px2rem(28);
            text-align: left;
            float: left;
            em{
                display: inline-block;
                vertical-align: middle;
            }
            a, span{
                display: inline-block;
                vertical-align: middle;
                margin: 0 px2rem(12);
            }
            .share-weibo{
                width: px2rem(46);
                height: px2rem(37);
                background: url(../img/icon-weibo.png?__inline) no-repeat;
                background-size: 100%;
            }
            .share-qq{
                width: px2rem(35);
                height: px2rem(38);
                background: url(../img/icon-qq.png?__inline) no-repeat;
                background-size: 100%;
            }
            .share-wx{
                width: px2rem(40);
                height: px2rem(39);
                background: url(../img/icon-wx.png?__inline) no-repeat;
                background-size: 100%;
            }
            .share-qzone{
                width: px2rem(41);
                height: px2rem(39);
                background: url(../img/icon-qzone.png?__inline) no-repeat;
                background-size: 100%;
            }
        }
        .btn-collect{
            float: right;
            color: #e34f45;
            font-size: px2rem(24);
            line-height: px2rem(40);
            padding-left: px2rem(40);
            background: url(../img/icon-collect.png?__inline) left center no-repeat;
            background-size: 14px;
            margin-right: px2rem(60);
            &.is-collected{
                color: #876b6b;
                background: url(../img/icon-collect2.png?__inline) left center no-repeat;
                background-size: 12px;
            }
        }
        .p-views{
            float: right;
            line-height: px2rem(40);
            em{
                padding-left: 20px;
                background: url(../img/icon-view.png?__inline) left center no-repeat;
                background-size: 14px;
                color: #876b6b;
                font-size: px2rem(24);
            }
        }
    }

    .mod-article{
        padding: 0 px2rem(30);
        margin-bottom: px2rem(30);
        position: relative;
        h1{
            color: #876b6b;
            font-size: px2rem(32);
            line-height: px2rem(50);
            min-height: px2rem(100);
            text-align: left;
        }
        .btn-more{
            padding-right: px2rem(25);
            background: url(../img/icon-arrow.png?__inline) right center no-repeat;
            background-size: px2rem(17);
            position: absolute;
            right: px2rem(30);
            bottom: px2rem(13);
            color: #876b6b;
            font-size: px2rem(24);
        }
        .p-content{
            display: none;
            margin-top: px2rem(15);
            text-indent: 2em;
            color: #876b6b;
            font-size: px2rem(28);
            line-height: px2rem(44);
        }
    }

    .mod-albums{
        padding: 0 px2rem(30);
        .albums-hd{
            overflow: hidden;
            margin-bottom: px2rem(35);
            .albums-tab{
                float: left;
                color: #876b6b;
                font-size: px2rem(28);
                margin-right: px2rem(35);
                padding-bottom: px2rem(12);
                line-height: px2rem(40);
                &.current{
                    color: #d35757;
                    border-bottom: 2px solid #d35757;
                }
            }
            a{
                float: right;
                color: #e34f45;
                font-size: px2rem(24);
                line-height: px2rem(40);
            }
        }
        .albums-bd{
            margin-bottom: px2rem(20);
            ul{
                overflow: hidden;
                margin-right: -px2rem(25);
            }
            li{
                float: left;
                width: px2rem(82);
                height: px2rem(82);
                line-height: px2rem(82);
                border: 1px solid #3a2a24;
                color: #e34f45;
                font-size: px2rem(32);
                text-align: center;
                margin-bottom: px2rem(16);
                margin-right: px2rem(16);
                &.ex{
                    font-size: px2rem(24);
                }
                &.current{
                    color: #fff;
                    background: #e34f45;
                    border-color: #e34f45;
                }
                &.disable{
                    color: #362828;
                }
            }
        }
    }

    .mod-comments{
        padding: px2rem(30);
        border-top: 1px solid #3a2a24;
        .comments-hd{
            font-size: px2rem(32);
            color: #e34f45;
            line-height: px2rem(40);
            margin-bottom: px2rem(30);
        }
        .comments-bd{
            li{
                position: relative;
                padding-left: px2rem(65);
                padding-top: px2rem(10);
                &:after{
                    content: "";
                    background: #3a2a24;
                    height: 1px;
                    position: absolute;
                    bottom: 0;
                    right: 0;
                    left: px2rem(65);
                }
                &:last-child{
                    &:after{
                        display: none;
                    }
                }
            }
            .c-avatars{
                width: px2rem(50);
                height: px2rem(50);
                border-radius: 50%;
                overflow: hidden;
                position: absolute;
                left: 0;
                top: px2rem(10);
                img{
                    width: 100%;
                    height: 100%;
                }
            }
            .c-hd{
                font-size: px2rem(24);
                color: #573c3c;
                line-height: px2rem(50);
                margin-bottom: px2rem(20);
                span{
                    color: #876b6b;
                    margin-right: px2rem(20);
                }
            }
            .c-bd{
                max-height: px2rem(160);
                overflow: hidden;
                margin-bottom: px2rem(20);
                p{
                    color: #876b6b;
                    font-size: px2rem(28);
                    line-height: px2rem(40);
                }
            }
            .c-ft{
                overflow: hidden;
                padding: px2rem(20) 0;
                font-size: px2rem(24);
                color: #876b6b;
                span{
                    float: right;
                    margin-left: px2rem(30);
                    line-height: px2rem(32);
                    font-size: 24;
                    padding-left: px2rem(46);
                }
                .c-favor{
                    background: url(../img/icon-favor.png?__inline) left center no-repeat;
                    background-size: px2rem(32);
                }
                .c-reply{
                    background: url(../img/icon-reply.png?__inline) left center no-repeat;
                    background-size: px2rem(32);
                }
            }
        }
    }
    .common-comment{
        background-color: #120500;
        color: #876b6b;
        .op-btn button{
            border: none;            
        }
        .sec-common-header{
            color: #876b6b;
            border-bottom: 1px solid #3a2a24;
        }
        .user-info__wrap{
            color: #876b6b;
            .user-name{
                color: #876b6b;
            }
        }
        .other-comment{
            background-color: #291710;
        }
        .comment-list__item{
            border-color: #3a2a24;
        }
        .show-more-comments{
            background-color: #291710;
            border-color: #3a2a24;
            color: #876b6b;
        }
        .towrite-comment{
            color: #876b6b;
        }
        .common-look-more{
            border-top: 1px solid #876b6b;
            color: #876b6b;
        }
    }
    .tip-login{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        text-align: center;
        color: #333;
        display: none;
        .tip-mask{
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0,0.7);
        }
        .tip-wrap{
            position: absolute;
            top: 50%;
            left: 50%;
            width: 80%;
            transform: translate3d(-50%,-50%,0);
            background: #ffffff;
            border-radius: px2rem(10);
            padding: px2rem(20);
            p{
                line-height: px2rem(80);
                margin-bottom: px2rem(20);
            }
            .btn{
                display: inline-block;
                width: px2rem(100);
                line-height: px2rem(40);
                border-radius: 2px;
                margin: 0 px2rem(10);
                font-size: 12px;
            }
            .btn-login{
                background: #d35757;
                color: #FFFFFF;
            }
            .btn-cancel{
                background: #ccc;
            }
        }
    }
}