* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'microsoft yahei';
}

ul li {
    list-style: none;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

img {
    vertical-align: top;
    outline-width: 0ch;
}

input {
    outline: none;
}

:root {
    --main-color: #9b0006;
    --main-color-white: #ffffff;
    --main-color-555: #555555;
    --main-color-999: #999999;
    --main-color-666: #666666;
    --main-color-333: #333333;
    --main-color-888: #888888;
    --main-color-222: #222222;
    --main-transition: all ease 0.4s;
    --main-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

@media only screen and (min-width: 996px) {
    .ty_login {
        width: 100vw;
        position: relative;
        height: 100vh;
        background-image: url(../images/loginbg.jpg);
    }
    .ty_login_con {
        max-width: 1720px;
        padding: 0 60px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        height: 100%;
    }
    .ty_login_left {
        width: 55%;
    }
    .ty_login_left img {
        width: 250px;
    }
    .ty_login_right {
        width: 38%;
    }
    .loginlogo {
        width: 100%;
        display: block;
        padding-bottom: 25px;
        border-bottom: 1px solid #798297;
    }
    .digital {
        padding: 30px 0;
    }
    .digital p {
        font-size: 28px;
        color: var(--main-color-white);
    }
    .ty_login_left ul li {
        display: flex;
        margin-bottom: 15px;
        align-items: center;
    }
    .ty_login_left ul li img {
        width: 18px;
    }
    .ty_login_left ul li span {
        color: var(--main-color-white);
        font-size: 14px;
        display: block;
        margin-left: 5px;
    }
    .ty_login_box {
        width: 100%;
        border-radius: 5px;
        background-color: var(--main-color-white);
        padding: 20px 60px;
    }
    .ty_login_box h1 {
        text-align: center;
        color: var(--main-color-333);
        font-size: 24px;
        margin-bottom: 25px;
    }
    .form_item input {
        border: 1px solid #ddd;
    }
    .form_item {
        margin-bottom: 20px;
    }
    .loginbtn {
        width: 100%;
        background-color: var(--main-color) !important;
        border-radius: 5px;
        height: 40px !important;
    }
    .login_actions {
        display: flex;
        justify-content: right;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .login_actions a {
        color: #9B9EA0;
        font-size: 12px;
        transition: var(--main-transition);
        margin-left: 10px;
    }
    .login_actions a:hover {
        color: var(--main-color);
    }
    .quicklogin_title {
        margin-bottom: 25px;
    }
    .quicklogin_title strong {
        color: var(--main-color-999);
        font-size: 14px;
        position: relative;
        display: block;
        width: 100%;
        text-align: center;
        font-weight: normal;
    }
    .quicklogin_title strong::after {
        position: absolute;
        width: 150px;
        height: 1px;
        background-color: #dcdee3;
        content: '';
        top: 10px;
        right: 00px;
    }
    .quicklogin_title strong::before {
        position: absolute;
        width: 150px;
        height: 1px;
        background-color: #dcdee3;
        content: '';
        top: 10px;
        left: 0px;
    }
    .quicklogin ul {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .quicklogin ul li {
        width: 100px;
        cursor: pointer;
    }
    .quicklogin ul li p {
        font-size: 12px;
        color: var(--main-color-666);
        margin-top: 10px;
        text-align: center;
    }
    .login_iconbox img {
        width: 25px;
        height: 25px;
        object-fit: contain;
    }
    .login_iconbox {
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        margin: 0 auto;
    }
    .quicklogin ul li:nth-child(1) .login_iconbox {
        background-color: var(--main-color);
    }
    .quicklogin ul li:nth-child(2) .login_iconbox {
        background-color: #01cd0a;
    }
    .quicklogin ul li:nth-child(3) .login_iconbox {
        background-color: #cccccc;
    }
    .login_warn {
        display: none;
    }
    .login_warnbox {
        background: #fee;
        padding: 10px;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        border-radius: 3px;
        color: var(--main-color);
    }
    .login_warnbox span {
        display: block;
        margin-left: 10px;
        color: var(--main-color);
        font-size: 12px;
    }
    .login_foot {
        position: absolute;
        width: 100%;
        bottom: 0;
        background-color: transparent;
        padding: 20px;
        border-top: 1px solid #788095;
    }
    .login_foot_con {
        max-width: 1720px;
        padding: 0 60px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .login_foot_con span {
        color: var(--main-color-white);
        font-size: 14px;
    }
    .login_foot_con a {
        color: var(--main-color-white);
        font-size: 14px;
    }
    .login_foot_con a:hover {
        color: var(--main-color-white) !important;
    }
    .ty_regis_top {
        width: 100%;
        background-color: #373d41;
        padding: 10px 0;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 999;
        border-bottom: 1px solid #54595c;
    }
    .ty_logo img {
        height: 30px;
    }
    .ty_regis_top_con {
        max-width: 1720px;
        padding: 0 60px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .goback {
        color: var(--main-color-white);
        font-size: 14px;
    }
    .goback:hover {
        color: var(--main-color-white) !important;
    }
    .ty_regis_center {
        margin-top: 51px;
        padding: 40px 0;
        background-color: #373d41;
    }
    .ty_regis_center_con {
        max-width: 1720px;
        margin: 0 auto;
        padding: 0 60px;
    }
    .ty_regis_center_con h1 {
        text-align: center;
        font-size: 30px;
        color: var(--main-color-white);
    }
    .ty_regis_center_con p {
        font-size: 16px;
        color: var(--main-color-white);
        text-align: center;
        margin: 20px 0;
    }
    .ty_regis_center_con a {
        display: block;
        margin: 0 auto;
        width: 150px;
        text-align: center;
        height: 35px;
        line-height: 35px;
        font-size: 14px;
        color: var(--main-color-white);
        border: 1px solid var(--main-color-white);
    }
}

@media only screen and (max-width: 996px) {
    .ty_regis_top {
        width: 100%;
        background-color: #373d41;
        height: 60px;
        padding: 0 10px;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 999;
        border-bottom: 1px solid #54595c;
    }
    .ty_logo img {
        height: 25px;
    }
    .ty_regis_top_con {
        height: 60px;
        margin: 0 auto;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .goback {
        color: var(--main-color-white);
        font-size: 12px;
    }
    .goback:hover {
        color: var(--main-color-white) !important;
    }
    .ty_regis_center {
        margin-top: 60px;
        padding: 30px 15px;
        background-color: #373d41;
    }
    .ty_regis_center_con {
        margin: 0 auto;
    }
    .ty_regis_center_con h1 {
        text-align: center;
        font-size: 22px;
        color: var(--main-color-white);
    }
    .ty_regis_center_con p {
        font-size: 14px;
        color: var(--main-color-white);
        text-align: center;
        margin: 20px 0;
    }
    .ty_regis_center_con a {
        display: block;
        margin: 0 auto;
        width: 150px;
        text-align: center;
        height: 35px;
        line-height: 35px;
        font-size: 12px;
        color: var(--main-color-white);
        border: 1px solid var(--main-color-white);
    }
    .login_foot {
        width: 100%;
        bottom: 0;
        background-color: transparent;
        margin-top: 20px;
        padding: 20px;
        border-top: 1px solid #788095;
    }
    .login_foot_con {
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .login_foot_con span {
        color: var(--main-color-white);
        font-size: 12px;
    }
    .login_foot_con a {
        color: var(--main-color-white);
        font-size: 12px;
    }
    html {
        height: 100%;
        background-image: url(../images/loginbg.jpg);
        background-position: center;
    }
    .login_warn {
        display: none;
    }
    .login_warnbox {
        background: #fee;
        padding: 10px;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        border-radius: 3px;
        color: var(--main-color);
    }
    .login_warnbox span {
        display: block;
        margin-left: 10px;
        color: var(--main-color);
        font-size: 12px;
    }
    .ty_login {
        width: 100%;
        position: relative;
        padding: 20px;
    }
    .ty_login_con {
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        height: 100%;
    }
    .ty_login_left {
        width: 100%;
    }
    .ty_login_left img {
        width: 140px;
    }
    .ty_login_right {
        width: 100%;
        margin-top: 20px;
    }
    .loginlogo {
        width: 100%;
        display: block;
        padding-bottom: 10px;
        border-bottom: 1px solid #798297;
    }
    .digital {
        padding: 15px 0;
    }
    .digital p {
        font-size: 20px;
        color: var(--main-color-white);
    }
    .ty_login_left ul li {
        display: flex;
        margin-bottom: 10px;
        align-items: center;
    }
    .ty_login_left ul li img {
        width: 16px;
    }
    .ty_login_left ul li span {
        color: var(--main-color-white);
        font-size: 14px;
        display: block;
        margin-left: 10px;
    }
    .ty_login_box {
        width: 100%;
        border-radius: 5px;
        background-color: var(--main-color-white);
        padding: 20px;
    }
    .ty_login_box h1 {
        text-align: center;
        color: var(--main-color-333);
        font-size: 20px;
        margin-bottom: 15px;
    }
    .form_item input {
        border: 1px solid #ddd;
    }
    .form_item {
        margin-bottom: 15px;
    }
    .loginbtn {
        width: 100%;
        background-color: var(--main-color) !important;
        border-radius: 5px;
        font-size: 12px;
        height: 35px !important;
    }
    .login_actions {
        display: flex;
        justify-content: right;
        margin-top: 10px;
        margin-bottom: 15px;
    }
    .login_actions a {
        color: #9B9EA0;
        font-size: 12px;
        transition: var(--main-transition);
        margin-left: 10px;
    }
    .login_actions a:hover {
        color: var(--main-color);
    }
    .quicklogin_title {
        margin-bottom: 15px;
    }
    .quicklogin_title strong {
        color: var(--main-color-999);
        font-size: 14px;
        position: relative;
        display: block;
        width: 100%;
        text-align: center;
        font-weight: normal;
    }
    .quicklogin_title strong::after {
        position: absolute;
        width: 70px;
        height: 1px;
        background-color: #dcdee3;
        content: '';
        top: 10px;
        right: 0px;
    }
    .quicklogin_title strong::before {
        position: absolute;
        width: 70px;
        height: 1px;
        background-color: #dcdee3;
        content: '';
        top: 10px;
        left: 0px;
    }
    .quicklogin ul {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .quicklogin ul li {
        width: 100px;
        cursor: pointer;
    }
    .quicklogin ul li p {
        font-size: 12px;
        color: var(--main-color-666);
        margin-top: 10px;
        text-align: center;
    }
    .login_iconbox img {
        width: 20px;
        height: 20px;
        object-fit: contain;
    }
    .login_iconbox {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        margin: 0 auto;
    }
    .quicklogin ul li:nth-child(1) .login_iconbox {
        background-color: var(--main-color);
    }
    .quicklogin ul li:nth-child(2) .login_iconbox {
        background-color: #01cd0a;
    }
    .quicklogin ul li:nth-child(3) .login_iconbox {
        background-color: #cccccc;
    }
}