*,::after,::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
html, body, div, h1, h2, h3, h4, form, input, button {
    margin: 0;
    padding: 0;
}
html, body {
    width: 100%;
    height: 100%;
    font-size: 16px;
    line-height: 1.2;
    color: #222;
    font-family: "Microsoft YaHei", Arial;
    background-color: #EDEDED;
}

body {
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: box;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.wrap {
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: box;
    display: flex;
    -webkit-box-pack: justify;
    -moz-box-pack: justify;
    -o-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-box-align: stretch;
    -moz-box-align: stretch;
    -o-box-align: stretch;
    -ms-flex-align: stretch;
    -webkit-align-items: stretch;
    align-items: stretch;
    height: 100%;
    width: 1060px;
    height: 480px;
    background-color: #fff;
}

.lf, .rg {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -o-box-flex: 1;
    box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.lf {
    color: #fff;
    background-color: #9D8179;
    background: linear-gradient(322deg,rgba(157,129,121,1) 0%,rgba(153,113,100,1) 100%);
}
.lf .inner {
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: box;
    display: flex;
    height: 100%;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -o-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 48px 32px 38px;
    background: url(../images/login-bg.png) right 20px bottom no-repeat;
}

.lf .title {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -o-box-flex: 1;
    box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}
.lf .title h2 {
    font-size: 16px;
    font-weight: 400;
}
.lf .title h1 {
    margin: 16px 0 12px;
    font-size: 34px;
    font-weight: 500;
}
.lf .title h3 {
    font-size: 18px;
    font-weight: 700;
}
.lf .copy {
    font-size: 13px;
    color: #fff;
}
.lf .copy a {
    color: #fff;
}

.rg {
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: box;
    display: flex;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -o-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -moz-box-align: center;
    -o-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    position: relative;
}

.rg .help {
    position: absolute;
    right: 30px;
    top: 30px;
    width: 24px;
    height: 24px;
    background: url(../images/icon-help.svg) center no-repeat;
}
.rg .help:hover {
    opacity: .6;
}

.rg .inner {
    width: 370px;
}

.rg h4 {
    margin-bottom: 50px;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 2px;
}

.rg .item {
    margin-bottom: 34px;
    position: relative;
}
.rg label {
    display: block;
    color: #909090;
    font-size: 14px;
    margin-bottom: 0px;
}
.rg input {
    width: 100%;
    padding: 8px 0;
    line-height: 20px;
    font-size: 16px;
    border: 0;
    border-bottom: 1px solid #C1C1C1;
    border-radius: 2px;
    outline: none;
    color: #208e80;
    font-weight: 500;
    transition: all .2s ease;
}
.rg input:focus {
    border-color: #208e80;
}
.rg button {
    width: 100%;
    height: 48px;
    background-color: #208e80;
    border: 0;
    border-radius: 2px;
    color: #fff;
    font-size: 20px;
    letter-spacing: 4px;
    cursor: pointer;
    outline: none;
    /* margin-top: 20px; */
    transition: all .2s ease;
}
.rg button:hover {
    opacity: .8;
}
.rg button:active {
    opacity: .9;
}
.rg #randomImg {
    height: 36px;
    position: absolute;
    right: 0;
    bottom: 4px;
    z-index: 10;
    cursor: pointer;
}


@media (max-width: 959px) {
    body {
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: start;
        background-color: #fff;
    }

    .wrap {
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
        -o-box-orient: vertical;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        height: auto;
    }

    .lf, .rg {
        flex: auto;
        height: auto;
    }

    .lf .inner {
        padding: 20px;
        height: auto;
    }

    .lf .title {
        -webkit-box-flex: 1;
        -moz-box-flex: 1;
        -o-box-flex: 1;
        box-flex: 1;
        -webkit-flex: 1;
        -ms-flex: 1;
        flex: 1;
        display: -webkit-box;
        display: -moz-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: box;
        display: flex;
        align-items: center;
    }
    .lf .title h2 {
        display: none;
    }
    .lf .title h1 {
        -webkit-box-flex: 1;
        -moz-box-flex: 1;
        -o-box-flex: 1;
        box-flex: 1;
        -webkit-flex: 1;
        -ms-flex: 1;
        flex: 1;
        text-align: left;
        padding-left: 0px;
        margin: 0;
        font-size: 20px;
        transform: translateX(0);
    }
    .lf .title h3 {
        display: none;
    }
    .lf .copy {
        display: none;
    }

    .rg .help {
        display: none;
    }

    .rg .inner {
        max-width: 380px;
        padding-top: 50px;
        padding-left: 20px;
        padding-right: 20px;
        transform: translateY(0);
    }
    .rg input {
        width: 100%;
    }
    .rg button {
        width: 100%;
    }
}
