body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: linear-gradient(
        125deg, #2c3e50, #27ae60, lightblue,
        #2980b9, pink, #e74c3c, #8e44ad
    );
    background-size: 400%;
    animation: bgmove 60s infinite;
}
@keyframes bgmove {
    0% {
        background-position: 0% 0%;
    }
    25% {
        background-position: 50% 50%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 50% 50%;
    }
    100% {
        background-position: 0% 0%;
    }
}
.user_ico {
    position: absolute;
    width: 55px;
    height: 45px;
    top: 19px;
    background-image: url(/static/image/login/user.png);
    background-repeat: no-repeat;
    background-size: auto 45px;
    text-indent: 4em;
}
.validcode_ico {
    position: absolute;
    width: 55px;
    height: 45px;
    top: 19px;
    background-image: url(/static/image/login/valid_code.png);
    background-repeat: no-repeat;
    background-size: auto 45px;
    text-indent: 4em;
}
.login_valid_code_input {
    width: 100%;
    height: 60px;
    text-indent: 4em;
}
.login_valid_code_img {
    position: absolute;
    height: 40px;
    width: 40%;
    top: 20px;
    right: 0px;
    border: none;
    border-radius: 3px;
}
.phone_ico {
    position: absolute;
    width: 55px;
    height: 45px;
    top: 19px;
    background-image: url(/static/image/login/phone.png);
    background-repeat: no-repeat;
    background-size: auto 45px;
    text-indent: 4em;
}
.auth_code_ico {
    position: absolute;
    width: 55px;
    height: 45px;
    top: 19px;
    background-image: url(/static/image/login/auth_code.png);
    background-repeat: no-repeat;
    background-size: auto 45px;
    text-indent: 4em;
}
.pwd_ico {
    position: absolute;
    width: 55px;
    height: 45px;
    top: 19px;
    background-image: url(/static/image/login/password.png);
    background-repeat: no-repeat;
    background-size: auto 45px;
    text-indent: 4em;
}
.main_box {
    width: 400px;
    height: 500px;
    background-color: snow;
    border-radius: 10px;
    text-align: center;
}
.main_box input[type="text"],
.main_box input[type="password"] {
    width: 360px;
    height: 60px;
    /* border-radius: 8px; */
    margin-top: 10px;
    border: none;
    border-bottom: 1px solid blue;
    background-color: transparent;
    outline: none;
}
#login_or_register button {
    font-size: 16px;
    border-radius: 1px;
    border: 0;
    background-color: deepskyblue;
    color: white;
    font-weight: 700;
    width: 180px;
    height: 35px;
    margin-top: 20px;
}
#mybox {
    position: absolute;
    left: 60%;
    top: 15%;
    display: flex;
    border-radius: 20px;
    border: 0;
    box-shadow: 30px 18px 30px rgba(0, 0, 0, 0.4),
-30px -18px 30px rgba(0, 0, 250, 0.1);

}
#message {
    margin-top: 20px;
    color: red;
    font-size: 16px;
    text-align: center;
    line-height: 40px;
}
legend {
    //background-image: url("/static/image/login/school_logo.png");
    background-repeat: no-repeat;
    background-size: 50px 50px;
    //text-indent: 3em;
    font-size: 20px;
    //font-style: italic;
    font-weight: 700;
    line-height: 50px;
    color: whitesmoke;
}
#poweredby {
    margin-top: 40px;
    //font-style: italic;
    font-size: 12px;
    color: gray;
    text-align: center;
    line-height: 40px;
}
.register_label {
    display: inline-block;
    width: 100px;
    font-weight: 400;
    font-size: 16px;
}
.register_line {
    height: 50px;
    line-height: 50px;
    margin-left: 15%;
}
.modal-body input[type='text'],
.modal-body input[type='password'],
.modal-body input[type="number"],
.modal-body select {
    display: inline-block;
    width: 300px;
    height: 40px;
    border: 1px solid lightgrey;
    border-radius: 3px;
}
.modal-body input[type='radio'] {
    margin-right: 5px;
}
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
    outline: none;
}
button {
    outline:none;
}
.role_label {
    margin-right: 5px;
    line-height: 50px;
    font-size: 18px;
    color: grey;
    font-weight: 400;
}
input[type="radio"] {
    width: 15px;
    height: 15px;
    line-height: 60px;
}
.title {
    //background-image: url("/static/image/login/school_logo.png");
    background-repeat: no-repeat;
    background-size: 50px 50px;
    //text-indent: 3em;
    font-size: 20px;
    //font-style: italic;
    font-weight: 700;
    line-height: 50px;
    color: royalblue;
    margin-top: 20px;
    margin-bottom: 10px;
}
.sms_container {
    position: relative;
    display: inline-block;
    width: 300px;
    height: 40px;
}
.login_valid_code_container {
    position: relative;
    display: inline-block;
    width: 360px;
    height: 60px;
}
.valid_code_container {
    position: relative;
    display: inline-block;
    width: 300px;
    height: 40px;
}
.sms_container_input {
    width: 100%;
    height: 40px;
}
.valid_code_container_input {
    width: 60% !important;
    height: 40px;
}
.sms_container_button {
    position: absolute;
    top: 1px;
    right: 5px;
    border: none;
    background-color: transparent;
    color: gray;
}
.sms_container_label {
    position: absolute;
    top: 1px;
    right: 20px;
    border: none;
    background-color: transparent;
    color: gray;
    font-weight: 400;
}
.valid_code_img {
    position: absolute;
    height: 40px;
    width: 40%;
    top: 5px;
    right: 0px;
    border: none;
    border-radius: 3px;
}
#tab_control {
    width: 100%;
    height: 40px;
    display: flex;
}
.item_password {
    display: inline-block;
    width: 50%;
    height: 40px;
    line-height: 40px;
    border-bottom: solid 3px lightseagreen;
    color: gray;
    font-weight: 700;
}
.item_tel {
    display: inline-block;
    width: 50%;
    height: 40px;
    line-height: 40px;
    border-bottom: none;
    color: gray;
    font-weight: 700;
}
#tab_control a:hover {
    text-decoration: none;
}
.auth_code_container {
    position: relative;
    display: inline-block;
    width: 360px;
    height: 48px;
}
.auth_code_container input {
    width: 100%;
    height: 45px;
}
.auth_code_container button,
.auth_code_container label{
    position: absolute;
    top: 27px;
    right: 10px;
    border: none;
    background-color: transparent;
    color: gray;
}
#tel_login,
#password_login {
    height: 190px;
}
.remember-box {
    text-align: left;
    margin-left: 10%;
    margin-top: 10px;
    height: 30px;
    line-height: 30px;
}
.remember-box checkbox {
    vertical-align: middle;
}
.remember-box label{
    font-weight: 400;
    font-size: 14px;
    margin-left: 2%;
    vertical-align: middle;
}