/* 布局 */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    height: 100%;
}

body {

    height: 100%;
    display: flex;
    flex-direction: column;
    background-image: url(../images/bg-new.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
}

.header {
    height: 80px;
    color: #fff;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-left: 2%;
    /* background-color: pink; */
}

.main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: green; */
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: 50px;
    /* background-color: yellow; */
}

.copyright {
    color: #949496;
}

/* 登录表单 */
.loginform-box {
    width: 360px;
    margin: 7% auto;
}

.loginform-box .loginform-box-body {
    border-radius: 5px;
    background: #fff;
    padding: 32px;
    border-top: 0;
    color: #666;
}

.loginform-box .loginform-box-body .app-name {
    color: black;
}

.loginform-box .loginform-box-body .short-name {
    margin-top: -10px;
    margin-bottom: 20px;
}

.pop {
    border-radius: 5px;
    position: relative;
    padding: 2px 3px;
    padding-bottom: 0px;
    background: #3B8EBC;
    border: 1px solid #3B8EBC;
    /* margin: 5px 0 0 50px; */
    color: white;
    font-size: 14px;
    bottom: 5px;
}

.pop::before {
    position: absolute;
    right: 100%;
    top: 5px;
    border: 4px solid transparent;
    border-right-color: #3B8EBC;
    content: '';
    height: 0;
    width: 0;
    pointer-events: none;
}

.form-control-login {
    position: absolute;
    top: 0;
    z-index: 2;
    display: block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    pointer-events: none;
}

.bg-blue {
    background-image: linear-gradient(to right, #3B8EBC, #4EA9DB) !important;
}

/* 手机端 */
@media screen and (max-width: 1024px) {
    /* body {
        background-image: url(../images/bg2.png);
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: 100% 100%;
    } */

    body {
        height: 100%;
        display: flex;
        flex-direction: column;
        background-image: none;
        background-color: #F5F5FA;
    }

    .header {
        height: 0;
    }

    .loginform-box {
        margin: 2% auto;
    }
}