* {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    height: 100%;
    background: #A2C857 url(background-1.jpg) 50% 50% no-repeat;
    background-size: cover;
}

.dowebok {
    position: absolute;
    left: 65%;
    top: 55%;
    width: 450px;
    height: 500px;
    margin: -300px 0 0 -215px;
    border-radius: 20px;
    overflow: hidden;
}

.logo {
    width: 104px;
    height: 104px;
    margin: 50px auto 80px;
}

.welcome{
    width: 400px;
    height: 100px;
    /*background-color: red;*/
    margin:30px auto 30px;
    font-size: 40px;
    font-family:华文楷体;
    color: #5AA700;
}

.form-item {
    position: relative;
    width: 360px;
    margin: 0 auto;
    padding-bottom: 30px;
}

.form-item input {
    width: 288px;
    height: 48px;
    padding-left: 70px;
    border: 1px solid #A2C857;
    border-radius: 25px;
    font-size: 18px;
    color: #A2C857;
    font-family:华文楷体;
    background-color: transparent;
    outline: none;
}

.form-item button {
    width: 360px;
    height: 50px;
    border: 0;
    border-radius: 25px;
    font-size: 26px;
    color: #5AA700;
    font-family:华文楷体;
    outline: none;
    cursor: pointer;
    background-color: #FCFDFF;
}

#username {
    background: url(emil.png) 20px 14px no-repeat;
}

#password {
    background: url(password.png) 23px 11px no-repeat;
}

.tip {
    display: none;
    position: absolute;
    left: 20px;
    top: 52px;
    font-size: 14px;
    color: #f50;
}

.reg-bar {
    width: 360px;
    margin: 20px auto 0;
    font-size: 14px;
    overflow: hidden;
}

.reg-bar a {
    color: #A2C857;
    text-decoration: none;
}

.reg-bar a:hover {
    text-decoration: underline;
}

.reg-bar .reg {
    float: left;
}

.reg-bar .forget {
    float: right;
}

.dowebok ::-webkit-input-placeholder {
    font-size: 18px;
    line-height: 1.4;
    color: white;
}

.dowebok :-moz-placeholder {
    font-size: 18px;
    line-height: 1.4;
    color: white;
}

.dowebok ::-moz-placeholder {
    font-size: 18px;
    line-height: 1.4;
    color: white;
}

.dowebok :-ms-input-placeholder {
    font-size: 18px;
    line-height: 1.4;
    color: white;
}

@media screen and (max-width: 500px) {
    * {
        box-sizing: border-box;
    }

    .dowebok {
        position: static;
        width: auto;
        height: auto;
        margin: 0 30px;
        border: 0;
        border-radius: 0;
    }

    .logo {
        margin: 50px auto;
    }

    .form-item {
        width: auto;
    }

    .form-item input, .form-item button, .reg-bar {
        width: 100%;
    }
}