@charset "UTF-8";

@import "base/reset";
@import "base/mixins";
@import "base/flexible";

@import "plugin/nprogress";

$yahei: "Microsoft YaHei", SimHei, sans-serif;

.fade-transition {
    transition: opacity .3s ease;
}
.fade-enter, .fade-leave {
    opacity: 0;
}

.fade-enter-active, .fade-leave-active {
  	transition: opacity .4s ease;
}
.fade-enter, .fade-leave-to {
  	opacity: 0
}

.common-transit{
    transition: transform 300ms;
}
.common-enter, .common-leave-active {
    opacity: 0;
    transform: translate3d(0, 300px, 0);
}
.common-leave-active {
    position: absolute;
}

html,body{
    -webkit-backface-visibility: hidden;
    background-color: transparent;
    font-family: $yahei;
    a{
        text-decoration: none;
    }
}

.hidden{
    display: none;
}

.hide_nav .o-container {
  padding-bottom: 0;
}

.hide_nav .o-nav {
  display: none;
}

.o-container{
    &:after{
        position: fixed;
        z-index: 11;
        content: "";
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #000;
        opacity: 0;
        display: none;
        transition: opacity .2s ease;
    }
        
    &.o-rendering{
        &:after{
            opacity: 0.75;
            display: block;
            transition: opacity .2s ease;
        }
    }
    &.o-trans-fading{
        -webkit-transition: -webkit-transform .5s ease;
        transition: transform .5s ease;
        position: fixed;
        -webkit-transform: translate3d(100%, 0px, 0px);
        transform: translate3d(100%, 0px, 0px);
    }
}

.o-inner{
    // overflow-y: scroll;
}

.o-container{
    
}

.clearfix{
    @include clearfix;
}


.bbs {
    min-height: 100vh;
    padding: 0 px2rem(25);
    @mixin border {
        border: 1px solid #dedede;
        border-radius:  5px;
    }
    h2 {
        line-height: px2rem(160);
        color: #f3493d;
        text-align: center;
        font-size: px2rem(38);
    }

    .row {
        width: 100%;
        @include clearfix;
        margin: px2rem(34) 0;
    }
    .radio {
        width: 50%;
        float: left;
        input[type=radio] {
            display: none;
        }
        input[type=radio]:checked+label em {
            &:after {
                content:"";
                position: absolute;
                width: 100%;
                height: 100%;
                background-color: #ff2b68;
                border-radius: 50%;
                left: 0;
                top: 0;
                border: 1px solid #fff;
                box-sizing: border-box;
                // transform: translate(-50%,-50%);
            }
        }
        label {
            font-size: px2rem(32);
            font-weight: bold;
            line-height: px2rem(50);
            
            em {
                display: inline-block;
                border-radius: 50%;
                border: 2px solid #000;
                width: px2rem(28);
                height: px2rem(28);
                margin-right: px2rem(30);
                position: relative;
            }
        }
    }
    .key {
        width: px2rem(170);
        font-size: px2rem(32);
        font-weight: bold;
        float: left;
        line-height: px2rem(65);
    }
    .select {
        width: px2rem(520);
        line-height: px2rem(65);
        text-indent: 1em;
        float: right;
        @include border;
        font-size: px2rem(26);
        color: #666;
        position: relative;
        p {
            &.label {
                @include ellipsis;
                height: px2rem(65);
            }
            width: px2rem(452);
        
        }
        select {
            opacity: 0;
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
        }
        .reason-list {
            position: absolute;
            width: 100%;
            padding: 0 px2rem(12);
            top: px2rem(85);
            background: #666;
            border-radius: 5px;
            z-index: 10;
            animation: show 0.2s ease;
            &:before {
                content:"";
                display: block;
                position: absolute;
                @include triangle-up(px2rem(15), #666);
                top: -px2rem(28);
                right: px2rem(20);
                
            }
            .list-wrap {
                max-height: px2rem(600);
                overflow-y: scroll;
            }
            
            p {
                text-indent: 0;
                margin-left: 1em;
                padding: px2rem(20) 0;
                line-height: px2rem(35);
                font-size: px2rem(26);
                color:#fff;
                border-bottom:1px solid #999;
                &:last-child {
                    border: none;
                }
            }
        }
    }
    .icon-down:after {
        content: "";
        position: absolute;
        width: px2rem(20);
        height: px2rem(12);
        background: url(../img/icon-down.png) no-repeat;
        background-size: 100% 100%;
        right: px2rem(25);
        top: 50%;
        transform: translateY(-50%);
    }
    textarea {
        margin-top: px2rem(60);
        resize: none;
        width: 100%;
        height: px2rem(300);
        @include border; 
        font-size: px2rem(26);
        padding: px2rem(20);
        line-height: px2rem(50);
    }
    .submit {
        position: fixed;
        width: 100%;
        bottom: 0;
        left: 0;
        background: #ff2b68;
        color: #fff;
        font-size: px2rem(40);
        font-weight: bold;
        line-height: px2rem(80);
        letter-spacing: px2rem(20);
        &:active {
            background-color: #e6275d;
        }
    }
}