*,::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: #444;
    font-family: "Microsoft YaHei", Arial;
    background-color: #fff;
}

.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%;
}

.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: #0094FF url(../images/login-bg.png) center no-repeat;
    background-size: cover;
}
.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: 50px 70px 60px;
}

.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: 24px;
    font-weight: 400;
    opacity: .9;
}
.lf .title h1 {
    margin: 30px 0 10px;
    font-size: 50px;
    font-weight: 400;
    -webkit-transform: translateX(-5px);
    -moz-transform: translateX(-5px);
    -o-transform: translateX(-5px);
    -ms-transform: translateX(-5px);
    transform: translateX(-5px);
}
.lf .title h3 {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 1px;
}

.lf .logo {
    width: 140px;
    min-height: 60px;
    margin-bottom: 140px;
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: box;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -o-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.lf .logo img {
    /* max-height: 60px; */
    margin-right: 25px;
}

.lf .copy {
    font-size: 14px;
    color: #8DD0FF;
}
.lf .copy a {
    color: #8DD0FF;
}

.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: 70px;
    top: 50px;
    width: 24px;
    height: 24px;
    background: url(../images/icon-help.svg) center no-repeat;
}
.rg .help:hover {
    opacity: .6;
}

.rg .inner {
    width: 380px;
    -webkit-transform: translateY(-20px);
    -moz-transform: translateY(-20px);
    -o-transform: translateY(-20px);
    -ms-transform: translateY(-20px);
    transform: translateY(-20px);
}

.rg h4 {
    margin-bottom: 40px;
    font-size: 34px;
    font-weight: 400;
    letter-spacing: 2px;
}

.rg .item {
    margin-bottom: 20px;
}
.rg label {
    display: block;
    color: #7B7B7B;
    font-size: 18px;
    margin-bottom: 10px;
}
.rg input {
    width: 90%;
    padding: 13px 10px;
    line-height: 20px;
    font-size: 16px;
    border: 1px solid #C1C1C1;
    border-radius: 2px;
    outline: none;
    transition: all .2s ease;
}
.rg input:focus {
    border-color: #0094FF;
}
.rg button {
    width: 90%;
    height: 58px;
    background-color: #0094FF;
    border: 0;
    border-radius: 2px;
    color: #fff;
    font-size: 24px;
    letter-spacing: 4px;
    cursor: pointer;
    outline: none;
    margin-top: 20px;
    transition: all .2s ease;
}
.rg button:hover {
    opacity: .8;
}
.rg button:active {
    opacity: 1;
    background-color: #118AE2;
}


@media (max-width: 959px) {
    .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: right;
        padding-left: 10px;
        margin: 0;
        font-size: 20px;
        transform: translateX(0);
    }
    .lf .title h3 {
        display: none;
    }

    .lf .logo {
        width: 120px;
        height: auto;
        margin-bottom: 0px;
    }

    .lf .logo img {
        margin-right: 15px;
        width: 60%;
    }

    .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%;
    }
}
