﻿.login-btn-box {
    padding: 0 20px;
}

/*外部字体*/
/*粗细对照表
 * 100 - Thin
 * 200 - Extra Light (Ultra Light)
 * 300 - Light
 * 400 - Regular (Normal、Book、Roman)
 * 500 - Medium
 * 600 - Semi Bold (Demi Bold)
 * 700 - Bold
 * 800 - Extra Bold (Ultra Bold)
 * 900 - Black (Heavy)
*/

/*Regular*/
@font-face {
    font-family: MabryPro;
    src: url('/fonts/NewLoginFont/Mabry-Regular-Pro.ttf'), url('/fonts/NewLoginFont/Mabry-Regular-Pro.woff'), url('/fonts/NewLoginFont/Mabry-Regular-Pro.woff2'), url('/fonts/NewLoginFont/Mabry-Regular-Pro.eot'); /* IE9 */
}

.font-MabryPro {
    font-family: MabryPro,'Noto Sans TC','Noto Sans SC','Microsoft YaHei';
}

.font-Yahei {
    font-family: 'Microsoft YaHei' !important;
}

.font-100 {
    font-weight: 100;
}

.font-200 {
    font-weight: 200;
}

.font-300 {
    font-weight: 300;
}

.font-400 {
    font-weight: 400;
}

.font-500 {
    font-weight: 500;
}

.font-600 {
    font-weight: 600;
}

.font-700 {
    font-weight: 700;
}

.font-800 {
    font-weight: 800;
}

.font-900 {
    font-weight: 900;
}

.font-875 {
    font-size: .875rem;
}

.font-875-i {
    font-size: .875rem !important;
}

.font-75 {
    font-size: 75rem;
}

.font-75-i {
    font-size: .75rem !important;
}

.font-1rem {
    font-size: 1rem !important;
}

.font-2rem {
    font-size: 2rem !important;
}

.font-2-5rem {
    font-size: 2.5rem !important;
}

.font-12 {
    font-size: 12px !important;
}

.font-14 {
    font-size: 14px !important;
}

.font-16 {
    font-size: 16px !important;
}

.font-18 {
    font-size: 18px !important;
}

.font-26 {
    font-size: 26px !important;
}

.font-50 {
    font-size: 50px !important;
}


/*字体相关*/
html, body {
    font-family: MabryPro,'Noto Sans TC','Noto Sans SC','Noto Sans JP','Microsoft YaHei';
    font-size: 16px;
}

.bg-primary-cap {
    background-color: #005087 !important;
}

.text-primary-cap {
    color: #005087 !important;
}

#q2FA {
    position: absolute;
    right: 10px;
    top: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    color: #005087;
}

.twoFA-popover {
    width: 400px;
    box-shadow: 1px 1px 100px rgba(0,0,0,.2);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #ddd;
}

#twoHelper1 {
    font-weight: bold;
}

#twoFALink {
    display: block;
    margin-top: 10px;
    text-decoration: underline;
    /*font-weight:bold;*/
}

.login-header {
    background-color: #ffffff;
    width: 100%;
    height: 100px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.login-header .container-xl {
    max-width: 1366px;
    height: 100%;
}

/*系统标题*/
.login-system-title {
    height: 100%;
    display: inline-block;
    font-size: 24px;
    color: #005087;
    margin-left: 15px;
    padding-left: 20px;
    vertical-align: middle;
    border-left: 1px solid #ebebeb;
}

.login-system-title label {
    display: block;
    vertical-align: middle;
    padding-top: 15px;
    /*font-weight:bold;*/
}

/*登录类型*/
.login-type-menu {
    min-width: 290px;
}

.login-type-menu a {
    display: block;
    font-weight: 700;
    color: #005087;
}

.login-type-menu.nav-pills .nav-link.active {
    color: #005087;
    background-color: transparent;
}


.language-dropdown-menu {
    /*font-size: 14px;*/
}

.language-dropdown-menu .dropdown-menu {
    /*right:-60px;*/
    /*margin-top:25px;*/
    border: none;
    box-shadow: -2px 2px 8px 1px rgba(0,0,0,.2);
}

.language-dropdown-menu .dropdown-menu .dropdown-item.active,
.language-dropdown-menu .dropdown-menu .dropdown-item:active {
    background-color: #64dcf0;
}

/*多语言按钮*/
#btnLanguage {
    width: 48px;
    height: 48px;
}

#btnLanguage:hover,
#btnLanguage:active,
#btnLanguage.active,
#btnLanguage:focus {
    background-color: #64dcf0 !important;
}
/*隐藏下拉框小三角箭头*/
#btnLanguage::after {
    display: none;
}

.login-content {
    width: 100%;
    height: 100vh;
    padding-top: 100px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.1) 10%,#ffffff 30%);
    background-attachment: fixed;
}

.login-theme {
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

.login-box {
    /*background-image: url(/Images/NewLogin/3d_U_yellow.png);*/
    background-position: 160% 40%;
    background-repeat: no-repeat;
    position: relative;
}

.login-module {
    width: 60%;
    min-height: 86%;
    margin: 0 auto;
}

.login-type-title {
    font-size: 50px;
    font-weight: 700;
    color: #005087;
    line-height: 1.2;
}

#login-input-dropdown {
    position: relative;
}

#login-input-dropdown::after {
    position: absolute;
    top: 18px;
    right: 15px;
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.login-input,
#login-dropdown .dropdown-toggle {
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid #005087;
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
}

.login-input[type="password"]:after {
    font-family: STHeiti !important;
}

.login-input:focus,
.login-input.focus,
.login-input .dropdown-toggle:focus,
.login-input .dropdown-toggle.focus,
.login-input .dropdown-toggle.active,
.login-input .dropdown-toggle:active {
    box-shadow: none;
    background-color: transparent;
    border-color: #005087;
}

.auth-deal {
    display: none;
}

.login-button {
    width: 130px;
    height: 56px;
    line-height: 56px;
    text-align: center;
    border-color: #005087;
    background-color: #005087;
    color: #ffffff;
    box-shadow: none !important;
}


.login-button:hover,
.login-button-color:hover,
.login-button.active,
.login-button-color.active,
.login-button:active,
.login-button-color:active,
.login-button.focus,
.login-button-color.focus,
.login-button:focus,
.login-button-color:focus {
    background-color: #003f6b !important;
    color: #fff;
    box-shadow: none !important;
}

.alert-dismissible .close {
    padding: .5rem 1.25rem;
}

/*发送邮件动态码按钮定位到文本框中*/
#btnSendMailCode {
    position: absolute;
    top: 0;
    right: 0;
}

.login-footer {
    width: 100%;
    display: block;
    text-align: center;
    color: #666;
}

/*按钮中的Loading图标*/
.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: -0.125em;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: .75s linear infinite spinner-border;
    animation: .75s linear infinite spinner-border;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

.square-blue {
    width: 50px;
    height: 50px;
    position: absolute;
    left: -20px;
    bottom: 101px;
    z-index: 1;
}

.square-green {
    width: 50px;
    height: 50px;
    position: absolute;
    left: 51px;
    bottom: 46px;
    z-index: 1;
}

.login-button-color {
    background-color: #005087;
    color: #ffffff;
}

/*@media screen and (min-width: 768px) {
    .custom-popover {
        margin-left: -210px;
    }
}*/

@media screen and (min-width: 768px) and (max-width: 1365.98px) {
    .login-box {
        background-size: 60%;
        background-position: 160% 20%;
    }

    .login-module {
        width: 60%;
    }
}

@media screen and (max-width: 991.98px) {
    .login-header {
        height: 60px;
    }

    .login-system-title {
        font-size: 16px;
        padding-left: 10px;
    }

    .login-system-title label {
        padding-top: 10px;
        font-weight: bold;
    }

    .login-content {
        padding-top: 130px;
    }
}

@media screen and (max-width: 767.98px) {
    html, body {
        font-size: 16px;
    }

    .login-header {
        height: 40px;
    }

    .modal-alert .modal-footer button {
        width: 100%;
        margin: 0;
        background-color: #ffffff;
        color: #333;
        border: none;
        font-weight: 600;
    }

    #cap-logo {
        height: 20px !important;
    }

    .modal-alert .modal-footer button:active,
    .modal-alert .modal-footer button.active,
    .modal-alert .modal-footer button:focus {
        background-color: #f2f2f2 !important;
        color: #333 !important;
    }

    .login-system-title {
        font-size: 14px;
    }

    .login-system-title label {
        padding-top: 5px;
        font-weight: bold;
    }

    .login-type-menu {
        position: absolute;
        top: 40px;
        left: 0;
        z-index: 3;
        width: 100%;
        height: 50px;
        line-height: 50px;
    }

    .login-type-menu a {
        color: #C8C8C8;
        border-bottom: 4px solid #C8C8C8;
        border-radius: 0 !important;
    }

    .login-type-menu a.active,
    .login-type-menu a:active {
        color: #005087;
        border-bottom: 4px solid #005087;
    }


    .login-type-title {
        font-size: 26px;
    }

    .login-box {
        background-size: 60%;
        background-position: 160% 10%;
    }

    #btnLanguage {
        width: 40px;
        height: 40px;
    }
}

@media screen and (max-width: 415px) {
    .login-module {
        width: 80%;
    }

    .login-button {
        width: 300px;
        height: 50px;
        line-height: 50px;
        margin-top: 40px;
    }
}
