body {
    background: url(/bg.jpg) no-repeat center;
    background-size: cover;
    position: relative;
    height: 100%;
    background-attachment: fixed;
}


body:before{
    content: '';
    position: fixed;
    background: #1a193ee3;
    width: 100%;
    height: 100%;
}


.wrapper{
    max-width: 1200px;
    padding: 0 10px;
    margin: auto;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    position: relative;
}

.header{
    width: 200px;
    position: fixed;
    top: 0;
    padding-top: 20px;
}

.header ul li{
    margin-bottom: 10px;
    height: 30px;
}

.header ul li img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.header ul li a{
    display: block;
}

.header ul li.act a{
    font-weight: bold;
    font-size: 20px;
    line-height: 24px;
    color: #fff;
}

.content {
    margin-left: 220px;
    padding: 20px 0;
    flex: 1 0 auto;
}

.user-form{
    
}

.user-form .col-left{
    width: 100%;
    margin-right: 30px;
}

.user-form .col-right{
    padding-top: 30px;
    width: 500px;
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.user-form .col-right input{
    margin-top: 20px;
}

.u-input-group {
    margin-bottom: 20px;
}

.u-input-group:last-child{
    margin-bottom: 0;
}

.u-input-group.u-btn{
    text-align: right;
}

.u-input-group label{
    margin-bottom: 10px;
    font-size: 14px;
    display: inline-block;
}

.u-input-group input[type="text"] , .u-input-group input[type="password"]{
    height: 36px;
    position: relative;
    z-index: 2;
    padding: 0 20px;
    width: 100%;
    font-size: 14px;
    background: #0e112d87;
    border-radius: 4px;
}

.u-input-group select{
    width: 100%;
    height: 32px;
    background: #0e112d87;
    border: 0;
    color: #fff;
    border-radius: 4px;
    padding: 0 20px;
    }

.input-disabled{
    background: #2f1d2e !important;
}

.user-avatar img{
    width: 100px;
    border-radius: 4px;
    vertical-align: middle;
}

.user-avatar > div{
    margin-top: 10px;
}

.user-avatar input {
    display: none;
}

.user-avatar label{
    padding: 4px;
    display: inline-block;
    border-radius: 4px;
    background: #20517d;
    color: #fff;
    font-size: 14px;
    min-width: 101px;
    height: 28px;
    text-align: center;
    margin-left: 20px;
}

.user-avatar label.loading svg{
    width: 18px;
    height: 18px;
}

.u-input-group button{
    background: #20517d
}

.u-cmt-item,.u-fav-item{
    padding-bottom: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.u-cmt-item:last-child,.u-fav-item:last-child{
    margin-bottom: 0;
    padding-bottom: 0;
    border:none;
}

.d-profile,.d-favorites{
    margin-bottom: 20px;
}

.d-profile p {
    margin-bottom: 20px;
}

.d-title{
    margin-bottom: 20px;
    padding: 5px 20px;
    background: #2f1d2e;
    border-left: 1px solid #664d65;
    border-radius: 0 4px 4px 0;
}

.d-title h2{
    float: left;
}

.d-title a{
    float: right;
}

.u-img-holder{
    float: left;
    margin-right: 10px;
    width: 60px;
}

.u-img-holder img{
    width: 100%;
}

.u-manga-title{
    margin-bottom: 5px;
}

.u-manga-title a {
    color: #999;
}

.u-cmt-content{
    word-break:break-all;
}

.u-cmt-content img{
    max-width: 100px;
    max-height: 60px;
}

.u-cmt-date{
    font-size: 12px;
    text-align: right;
    font-style: italic;
}

.u-fav-btn img{
    width: 12px;
    vertical-align: middle;
    display:inline-block;
    margin-right: 5px;
}

.u-fav-btn span{
    vertical-align: middle;
    display:inline-block;
}

.is-banned{
    position: relative;
    z-index: 5;
    background: red;
    padding: 10px 0;
    color: #fff;
    text-align: center;
}

.center-box {
    width: 100%;
    max-width: 300px;
    position: absolute;
    left: 50%;
    top: 50%
}

.center-box.login {
    margin-left: -150px;
    margin-top: -132px;
}

.box{
    background: #0f172f9e;
    padding: 20px;
    border-radius: 4px;
}

.login .inputGroup input[type="password"], 
.login .inputGroup input[type="text"],
.register .inputGroup input[type="password"],
.register .inputGroup input[type="text"]{
    background: 0;
    border-bottom: 1px solid #abb0d0;
    border-radius: 0;
}

.center-box.register {
    margin-left: -150px;
    margin-top: -198px;
}

.user-box-tite a {
    font-size: 20px
}

.login button , .register button{
    color: #fff;
    padding: 9px 12px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: all .3s ease;
    min-width: 66px;
    background: #202951;
    height: 40px;
}

.register button{
    min-width: 84px;
}

.login button:hover , 
.register button:hover{
    background:#2c386f;
}

.login button.loading {
    padding: 8px 12px;
}

.login button.loading svg, 
.register button.loading svg{
    width: 20px;
    height: 20px;
}

.login button.loading svg rect, 
.login button.loading svg path,
.register button.loading svg rect, 
.register button.loading svg path{
    fill: #fff;
}

.success {
    display: inline-block;
    margin-left: 65px
}

.success img {
    position: relative;
    top: -3px;
    left: -4px
}

.user-box-body {
    margin-top: 30px;
}

.inputBox {
    position: relative;
    margin-bottom: 30px
}

.inputBox:last-child {
    margin-bottom: 0
}

.icon {
    position: absolute;
    width: 48px;
    text-align: center;
    height: 41px;
    top: 10px;
    color: #fff;
    line-height: 41px
}

.user-box-footer {
    margin-top: 30px;
    text-align: right;
    display: flex;
    justify-content: right;
    flex-wrap: wrap;
}

.captcha-type {
    text-align: right
}

.captcha-type .captcha-img {
    margin-right: 10px
}

.captcha-type .input-captcha {
    width: 125px
}

.captcha-type .captcha-img,
.captcha-type .input-captcha {
    display: inline-block;
    vertical-align: middle
}

.input-title {
    margin-bottom: 7px;
    font-size: 12px;
    display: inline-block
}

.message-box{
    position: fixed;
    
}

.user-box-footer a {
    margin-right: 20px;
    font-size: 14px;
    line-height: 38px;
}

#update-profile ,#change-password{
    min-width: 70px;
    height: 36px;
}

#update-profile.loading , 
#change-password.loading {
    min-width: 70px;
    padding: 8px;
}

#update-profile.loading svg,
#change-password.loading svg{
    width: 20px;
    height: 20px;
}

.box-title{
    margin-bottom: 20px;
    color: #fff;
    font-size: 18px;
}

.box-title h2 ,
.box-title h1 
{
    font-weight: 300;
    font-family: Spartan,sans-serif;
    font-size: 24px;
}

.footer{
    flex-shrink: 0;
    text-align: center;
    padding: 20px;
}

@media only screen and (max-width:700px){

    .header{
        position: relative;
        margin-bottom: 20pxn;
    }

    .content {
        margin-left: 0;
    }

    .user-form,.header{
        width: 100%;
    }

    .header ul li{
        float: left;
        margin-bottom: 10px;
        margin-right: 20px;
    }

    .u-input-group img{
        margin-bottom: 20px;
    }

    .u-input-group input[type="file"]{
        width: 100%;
    }
}

.overlay,.s-overlay,.sb-overlay,.u-overlay,.chat-overlay{
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 998;
    background: #0000029c;
    justify-content: center;
    align-items: center;
    display: flex;
}