﻿/*符號*/

.k-i-reset {
    /*ie*/
    color: #2CAAA2;
    color: var(--mainColor);
}

.k-i-reset:hover {
    cursor: pointer;
}

.login-body {
    display: flex;
    align-items: flex-start;
    background: url(../../Images/index_baseBg.svg) no-repeat center;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position-y: 10%;
}


.idx-title {
    /*ie*/
    background: #2CAAA2;
    background: var(--mainGColor);
    border-radius: 8px 8px 0 0;
    border-radius: var(--borderR) var(--borderR) 0 0;
    color: white;
    color: var(--btnText);
    padding: 8px 20px;
    font-weight: bold;
}

.idx-title p {
    display: inline-block;
    vertical-align: middle;
    font-size: 1.4rem;
}

.idx-title img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 8px;
}

.idx-body {
    padding: 20px;
    background: white;
    /*ie*/
    border-radius: 0 0 8px 8px;
    border-radius: 0 0 var(--borderR) var(--borderR);
}

.idx-body>div+div,
.idx-body>form>div+div,
.idx-body>form+.buttonGroup {
    margin-top: 20px;
}


.idx-body label {
    margin-top: -4px;
}

.idx-body .idx-ve {
    margin-top: 28px;
    margin-bottom: 28px;
}


/*置中*/

.centerContent {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px 60px 30px;
    z-index: 1;
    min-height: calc(100vh - 300px);
    /* ie */
    border-radius: 8px;
    border-radius: var(--borderR);
}

.login-area {
    background: white;
    width: 40%;
    min-width: 500px;
    display: inline-block;
    box-shadow: 0px 0px 6px rgb(14 42 0 / 29%);
    z-index: 1;
    margin: 30px 30px 0px 20px;
    max-width: 600px;
    /* ie */
    border-radius: 8px;
    border-radius: var(--borderR);
}


/*說明*/

.useDesc {
    font-size: 1.125rem;
    vertical-align: middle;
    font-weight: bold;
    cursor: pointer;
}

.useDesc span {
    vertical-align: middle;
    top: -2px;
    margin-right: 10px;
    /*ie*/
    color: #2CAAA2;
    color: var(--mainColor);
}


/*登入清除按鈕*/

.buttonGroup div {
    margin: 0;
}

.buttonGroup>div+div {
    margin-left: 16px;
}


/*左側公告*/

.login-bullet {
    width: 100%;
}

.login-bullet button {
    background: white;
    border: white 1px solid;
    font-size: 1.125rem;
    padding: 5px 12px;
    padding: var(--btnHPadding) var(--btnWPadding);
    width: calc((100% - 100px) / 4);
    margin: 14px 0 10px 0;
    margin: var(--M-14) 0 var(--M-10) 0;
    /*ie*/
    color: #616161;
    color: var(--grayText);
    border-radius: 8px;
    border-radius: var(--borderR);
}

.login-bullet button:not(:last-of-type) {
    margin-right: 20px;
    margin-right: var(--btnM-20);
}

.login-bullet button.act {
    border-width: 0;
    color: white;
    color: var(--btnText);
    font-weight: bold;
    /*ie*/
    background: #2CAAA2;
    background: var(--mainGColor);

}

.login-bullet button:hover {
    border-width: 0;
    color: white;
    color: var(--btnText);
    font-weight: bold;
    /*ie*/
    background: #00C9AC;
    background: var(--mainGChromaColor);

}


/*公告*/

#listView {
    list-style: none;
    padding: 14px;
    padding: var(--P-14);
    background: white;
    margin-top: 10px;
    margin-top: var(--M-10);
    height: calc(100vh - 340px);
    overflow: auto;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    /*ie*/
    border: none;
    border: unset;
    border-radius: 8px;
    border-radius: var(--borderR);
}

.boardType {
    background: url(../../Images/Announcement.svg);
    width: 40px;
    width: var(--inputHeight);
    height: 40px;
    height: var(--inputHeight);
    display: inline-block;
    vertical-align: middle;
    margin-right: 20px;
    margin-right: var(--M-20);
    background-size: cover;
}

.boardType.systemType {
    background: url(../../Images/System.svg);
}

.boardText {
    /*ie*/
    color: #616161;
    color: var(--grayText);
}

.boardTitle,
.boardText {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.boardInfo {
    justify-content: space-between;
    display: flex;
    flex-wrap: wrap;
}

.boardInfo>div:first-of-type {
    width: 100%;
}

.boardInfo>div:not(:first-child) {
    width: 50%;
}

.boardContentArea .boardText {
    background: var(--lightGrayBg);
}

.boardInfo div {
    margin-bottom: 10px;
    margin-bottom: var(--M-10);
}

.boardInfo .boardTitle,
.boardContentArea .boardTitle {
    width: 6rem;
}

.boardContentArea .boardText {
    width: calc(100% - 6rem - 6px);
    vertical-align: middle;
}

.dialog-content .boardText {
    padding: var(--P-4) var(--P-16);
    border-radius: var(--borderR);
}

.boardContentArea {
    margin-bottom: 20px;
    margin-bottom: var(--M-20);
}

.k-prompt-container,
div.k-window-content {
    padding: var(--P-20);
}

.time,
.boardTitle {
    margin: 0;
}

#listView .boardText {
    width: 100%;
}

.boardTitle {
    vertical-align: middle;
    font-weight: bold;
    vertical-align: middle;
    /*ie*/
    color: #383838;
    color: var(--blackText);
    width: calc(100% - 5rem);
}

.boardContent {
    width: calc(100% - var(--inputHeight) - var(--M-20) - 0.5rem);
    display: inline-block;
    vertical-align: middle;
    font-size: 1rem;
}

.boardInfo>div:last-child {
    text-align: right;
}

#listView .boardItem:hover .boardTitle,
#listView .boardItem:hover .boardText {
    color: #336562;
    color: var(--colorText);
}

#listView .boardItem {
    vertical-align: middle;
    background: white;
    padding: 11px 20px 10px 20px;
    padding: calc(var(--P-10) + 1px) var(--P-20) var(--P-10) var(--P-20);
}

#listView .boardItem+.boardItem {
    /*ie*/
    border-top: 1px solid #e6e6e6;
    border-top: 1px solid var(--grayBg);
}

.time {
    text-align: right;
    width: 4.375rem;
    display: inline-block;
    font-size: 0.8rem;
    vertical-align: top;
    /*ie*/
    color: #b1b1b1;
    color: var(--lightGrayText);
}

.VerifiableCodeInput {
    width: calc(100% - 8rem);
}

.k-state-selected .boardTitle,
.k-state-selected .boardText {
    /*ie*/
    color: #336562;
    color: var(--colorText);
}



/*驗證碼*/

.VerifiableCodeInput {
    width: calc(100% - 8rem - 14px);
}

.idx-ve {
    display: flex;
    align-items: center;
    /*flex-wrap: wrap;*/
}

.v-code {
    display: flex;
    align-items: center;
    /*flex-wrap: wrap;*/
}


/*footer*/

.loginFooter {
    position: absolute;
    z-index: 2;
    width: 100%;
    bottom: 0px;
    vertical-align: middle;
    left: 0px;
    background: #ffffff;
    padding: var(--P-6) 0px;
    line-height: 1;
    background: var(--colorText);
}

.loginFooter img {
    margin-left: 20px;
    margin-right: 4px;
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

.loginFooter p {
    display: inline-block;
    font-size: 1rem;
    font-weight: bold;
    vertical-align: middle;
    /* ie */
    /* color: #616161;
    color: var(--grayText); */
    color: white;

}


/* 20210413 更改密碼 */

.form-title {
    line-height: 3rem;
    margin: 6px 10px 7px 10px;
    border-bottom: 2px solid #5fb9dc;
    color: #35bcdb !important;
    font-size: 1.3em;
    font-weight: 700;
}

.linecss {
    margin: 10px 10px 10px 10px;
    border-bottom: 1px solid #5fb9dc;
}

.labelcss {
    color: #535c68 !important;
    font-size: 1.3em;
    font-weight: 700;
    text-align: left;
    min-width: 150px;
    margin-right: 10px;
}

.VerifiableCodeText,
.NewPasswordText,
.AgainInputPasswordText {
    position: relative;
}

.VerifiableCodeText::before {
    position: absolute;
    content: "\f502";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 23px;
    color: #666;
    left: 12px;
    z-index: 1;
    color: #86c7a0;
}

.NewPasswordText::before {
    position: absolute;
    content: "\f023";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 23px;
    color: #666;
    left: 12px;
    z-index: 1;
    color: #86c7a0;
}

.AgainInputPasswordText::before {
    position: absolute;
    content: "\f560";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 23px;
    color: #666;
    left: 12px;
    z-index: 1;
    color: #86c7a0;
}

.VerifiableCodeText input,
.NewPasswordText input,
.AgainInputPasswordText input {
    padding-left: 50px;
    border: #009997 1px solid;
    border-radius: 3px;
}

/* 20210413 忘記密碼 */

.messagecss {
    color: red;
    font-weight: 600;
}

.spancss {
    margin-bottom: 8px;
    text-align: center;
}

.SignOnIDText,
.EmailText {
    position: relative;
}


/*input*/
input.k-textbox {
    height: 52px;
}


/* 20210413 忘記密碼 */

.messagecss {
    color: red;
    font-weight: 600;
}

.spancss {
    margin-bottom: 8px;
    text-align: center;
}

.SignOnIDText,
.EmailText {
    position: relative;
}

.EmailText::before {
    position: absolute;
    content: "\f0e0";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 23px;
    color: #666;
    left: 4px;
    z-index: 1;
    color: #8691c7;
}

.SignOnIDText input,
.EmailText input {
    padding-left: 50px;
    border: #009997 1px solid;
    border-radius: 3px;
}

/* 新帳號申請 */

.newAccountContent .form-inline label {
    width: 8rem;
    margin-right: 8px;
    text-align: right;
}

.nac-passwordMsgText {
    font-size: smaller;
}

.nac-text-verifiable {
    width: 12rem !important;
}

.nac-btn-bar {
    margin-top: 20px;
}

.nac-selectDeptNo {
    display: inline-block;
    width: 100% !important;
}

.nac-selectDeptNo .k-dropdown {
    width: 39%;
}

.login-area {
    display: block;
}

.login {
    float: left;
}

.login-main:before {
    display: none;
}




/*響應式*/

@media screen and (max-width: 1023px) {
    .login-body {
        display: inline-block;
        height: calc(100vh - 20px);
        width: 100%;
        background-position-y: -30%;
    }
}

@media screen and (max-width: 768px) {
    .login-body {
        background-position: center 100px;
    }

    .centerTitle {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 600px) {
    .login-body {
        background-size: contain;
        background-position-y: center;
    }
}

@media screen and (max-width: 500px) {
    .login-area {
        width: 100%;
        min-width: unset;
    }
}

/*ipone SE 的HISLogin修正*/

@media (max-width: 450px) {
    .login-main {
        /* text-align: center; */
        padding-top: 0 !important;
    }

    .loginFooter p {
        font-size: 0.8rem;
    }

    .loginFooter img {
        width: 20px;
        height: 20px;
    }

    .login-area {
        z-index: 3;
    }
}

@media (max-width: 413px) {
    .idx-title p {
        font-size: 1.2rem;
    }
}