﻿* {
    margin: 0;
    padding: 0;
}

ul li {
    list-style: none;
}

html,
body{
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background-image: url(../imgs/bg1.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.login {
    position: relative;
    height: 100%;
}

.login_title {
    position: absolute;
    font-size: 50px;
    letter-spacing: 5px;
    /* font-family: Source Han Sans CN; */
    font-weight: bold;
    color: #ffffff;
    left: 50%;
    top: 80px;
    transform: translateX(-50%);
    text-shadow: 0 0 10px rgba(#fff, 0.6);
    white-space: nowrap;
    display: flex;
    align-items: center;
}

    .login_title p {
        margin: 0 20px;
    }

    .login_title div {
        display: flex;
        align-items: center;
    }

.login_box {
    position: absolute;
    width: 1242px;
    height: 592px;
    background-image: url(../imgs/frame.png);
    margin: 0 auto;
    /* margin-left: -600px; */
    transform: translateX(-50%);
    left: 50%;
    top: 200px;
}

.login_box_title {
    top: 32%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    position: absolute;
    font-size: 22px;
}

.input_box {
    box-sizing: border-box;
    padding: 0 10px;
    width: 260px;
    height: 40px;
    line-height: 40px;
    transform: translate(-50%, -50%);
    position: absolute;
    background-image: url(../imgs/frame1.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    text-align: left;
    display: flex;
    align-items: center;
}

.user_img {
    width: 20px;
    height: 20px;
}

.password_img {
    width: 20px;
    height: 20px;
}

.submit_img {
    width: 30px;
    height: 30px;
}

.user_input,
.password_input {
    margin-left: 10px;
    box-sizing: border-box;
    background-color: transparent;
    border: 0;
    outline: none;
    height: 40px;
    font-size: 14px;
    color: #fff;
    flex:1;

}

    .user_input::placeholder,
    .password_input::placeholder {
        color: #51f9f8;
    }

.login_box_use {
    position:absolute;
    top: 44%;
    left: 50%;
}


.login_box_psd {
    position:absolute;
    top: 55%;
    left: 50%;
}

.login_box_sub {
    position:absolute;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    width: 260px;
    height: 40px;
    line-height: 40px;
    top: 68%;
    left: 50%;
    transform:translate(-50%,-50%);
    background-image: url(../imgs/frame2.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color:#fff
}

    .login_box_sub:active {
        width: 258px;
        height: 39px;
        opacity: 0.9;
    }

.login_hint {
    position: absolute;
    top: 62%;
    left: 43.5%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size:12px;
   
}

@media screen and (max-width:900px) {
    .login_title {
        font-size: 32px;
    }
}

.error {
    display:block;
    color: white;
    position: relative;
}

#Username-error {
    position: absolute;
    width: 200px;
    top: 25px;
    font-size: 12px;
    left: -120px
}

#mPassword-error {
    position: absolute;
    width: 200px;
    top: 25px;
    font-size: 12px;
    left: -120px
}

.remindtext_box {
    position: absolute;
    top: 61%;
    left: 40%;
    font-size: 12px;
    color: white;
}

.login_foot {
    box-sizing: border-box;
    color: #fff;
    font-size: 13px;
    position: absolute;
    text-align: center;
    top: 860px;
    left: 50%;
    padding-bottom: 20px;
    transform: translateX(-50%);
    letter-spacing: 1px;
}

    .login_foot > div:first-child {
        margin-bottom: 10px;
    }

    .login_foot > div > span:first-child {
        margin-right: 30px;
    }
.password_input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-text-fill-color: #ededed !important;
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
    background-color: transparent;
    background-image: none;
    transition: background-color 50000s ease-in-out 0s;
}