body {
    font-family: 微軟正黑體, 新細明體, Arial, sans-serif;
    margin: 0em;
    padding: 0em;
    overflow-x: hidden;
    overflow-y: auto;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.sr-only-focusable:focus,
.sr-only-focusable:focus-within {
    position: absolute !important;
    top: 5px !important;
    left: 5px !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
    background-color: #fff !important;
    color: #000 !important;
    padding: 8px 12px !important;
    z-index: 10001 !important;
    display: inline-block !important;
    border: 2px solid #000 !important;
    border-radius: 4px !important;
    text-decoration: underline !important;
}

h1 {
    font-size: 2em;
}

p,
label,
input {
    font-size: 1em;
    line-height: 120%;
}

.login-header {
    width: 100%;
    height: 100%;
    margin: 0em auto;
}

.login-main-x {
    width: 100%;
    height: 100%;
}

.login-box-x {
    width: 20.0em;
    padding: 1.2em;
    background-color: #1581e2;
    opacity: 0.9;
    border: 0.01em solid #fff;
    margin: 0em auto;
    -webkit-box-shadow: 0 0 1.0em 0.3em #cccccc;
    -moz-box-shadow: 0 0 1.0em 0.3em rgb(204, 204, 204);
    box-shadow: 0 0 1.0em 0.3em #cccccc;
    border-radius: 10px;
}

.login-box-x .box-section {
    margin-bottom: 1.0em;
}

.login-box-x label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 0.5em;
    font-weight: bold;
    color: #ffffff;
}

.login-box-x .box-input {
    display: block;
    width: 100%;
    height: auto;
    padding: 0.5em 0.8em;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 0.02em solid #ccc;
    border-radius: 0.2em;
}

.login-box-x .box-input:focus {
    color: #000;
    background-color: #FBFFC4;
    border: 2px solid #f00;
    outline: 2px solid #f00;
    outline-offset: 1px;
}

#login_google:focus,
#login_line:focus,
#login_facebook:focus {
    color: #000;
    background-color: #FBFFC4;
    border: 2px solid #f00;
    outline: 2px solid #f00;
    outline-offset: 1px;
}

.BMH2vc {
    display: inline-block;
    padding: 0.5em 0.8em;
    margin-bottom: 0;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 0.02em solid transparent;
    border-radius: 0.2em;
    color: #fff;
    background-color: #D4403A;
    border-color: #CD322D;
    font-weight: bold;
}

.BMH2vc:focus {
    color: #fff;
    background-color: #CD322D;
    border: 2px solid #fff;
    outline: 2px solid #fff;
    outline-offset: 1px;
}

#login_google {
    margin-top: 5px;
    background-color: transparent;
    background-image: url(../../static/image/btn_google_signin_dark_normal_web.png);
    width: 192px;
    height: 47px;
    border: 0px;
    cursor: pointer;
    display: block;
}

#login_line {
    margin-top: 5px;
    background-color: transparent;
    background-image: url(../../static/image/btn_line_signin_dark_normal_web.png);
    width: 192px;
    height: 47px;
    border: 0px;
    cursor: pointer;
    display: block;
}

#login_facebook {
    margin-top: 5px;
    background-color: transparent;
    background-image: url(../../static/image/btn_facebook_signin_dark_normal_web.png);
    width: 192px;
    height: 47px;
    border: 0px;
    cursor: pointer;
    display: block;
}

#login_oauth_hint {
    color: #fff;
    padding: 5px;
    float: left;
    font-size: 1em;
}

#google_label {
    color: #fff;
    padding: 5px;
    float: left;
    font-size: 1em;
}

.login-box-x .alert {
    padding: 1.0em;
    margin-bottom: 1.2em;
    border: 0.02em solid #bce8f1;
    border-radius: 0.2em;
    font-size: 1.0em;
}

.login-box-x .alert-info {
    color: #ffffff;
    background-color: #A63B02;
}

.login-box-x .alert-info ul {
    padding-left: 1.0em;
}

.login-box-x .alert-error {
    color: #ffffff;
    background-color: #A63B02;
}

.login-error-dialog[hidden] {
    display: none;
}

.login-error-dialog {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1em;
    background-color: rgba(0, 0, 0, 0.65);
}

.login-error-dialog-content {
    width: 100%;
    max-width: 30em;
    padding: 1.5em;
    color: #111111;
    background-color: #ffffff;
    border: 0.15em solid #b00020;
    border-radius: 0.3em;
    box-shadow: 0 0 1em rgba(0, 0, 0, 0.45);
}

.login-error-dialog-content h2 {
    margin-top: 0;
    color: #8b0018;
}

.login-error-dialog-close {
    padding: 0.55em 1em;
    color: #ffffff;
    background-color: #8b0018;
    border: 0.15em solid #8b0018;
    border-radius: 0.25em;
    font-weight: bold;
    cursor: pointer;
}

.login-error-dialog-close:focus {
    color: #000000;
    background-color: #fbffc4;
    border-color: #ff0000;
    outline: 0.15em solid #000000;
    outline-offset: 0.1em;
}

.logo-x {
    background-image: url(../img/logo.png);
    background-repeat: no-repeat;
    width: 320px;
    height: 70px;
    margin: 0 auto;
    padding: 0;
}

.IMs1vc {
    position: relative;
}

.IMs2vc {
    margin-top: 5px;
    margin-bottom: 5px;
    border-top: 1px solid #ddd;
    float: left;
    width: 100%;
}

.IMH1vc {
    font-size: 0.9em;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    padding: 0 5px;
    float: right;
    line-height: 45px;
}

.IMH1vc:focus {
    color: #000;
    background-color: #FBFFC4;
    border: 2px solid #f00;
    outline: 2px solid #f00;
    outline-offset: 1px;
}

.boxH1fc {
    padding: 0;
    margin: 10px 0;
    font-size: 1.1em;
    color: #ddd;
}

#psw_invisible {
    position: relative;
}

.eye-btn {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    position: absolute;
    right: 0px;
    top: 30px;
    width: 32px;
    height: 32px;
}

.eye-btn:focus {
    color: #000;
    background-color: #FBFFC4;
    border: 2px solid #f00;
    outline: 2px solid #f00;
    outline-offset: 1px;
}

#psw_invisible .eye-btn img {
    width: 32px;
    height: 32px;
    display: block;
    margin: 0;
    cursor: pointer;
}

@media (max-width: 768px) {
    .logo-x#logo {
        background-size: contain;
        width: 100%;
    }
}
