body {
    font-family: "Microsoft JhengHei", "PMingLiU", Arial, Helvetica, sans-serif;
    color: #000;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    line-height: 1rem;
    font-size: 1rem;
}

a {
    color: #0055b8;
}

a:focus {
    color: #003366;
    background-color: #feff99;
    border: #003366 1px solid;
}

p {
    margin: 0;
}

img {
    width: 100%;
    height: auto;
}

/* base */
.p-0 {
    padding: 0;
}

.m-0 {
    margin: 0;
}

.m-16 {
    margin: 16px;
}

.mt-8 {
    margin-top: 8px;
}

.ml-8 {
    margin-left: 8px;
}

.ml-16 {
    margin-left: 16px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 20px;
}

.w-30 {
    width: 30%;
}

/* text style */
h2 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 2rem;
    margin: 0;
}

.text-large {
    font-size: 1.625rem;
    font-weight: 800;
    line-height: 34px;
}

.text-mid {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 28px;
}

.text-info {
    display: block;
    width: 350px;
    color: #CC0000;
    margin: 8px auto;
    line-height: 22px;
}

.text-note {
    display: block;
    width: 100%;
    width: 350px;
    margin: 0 auto;
    line-height: 22px;
}

.text-red {
    color: #CC0000;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

/* header */
.header {
    padding: 5px 0;
    display: flex;
    border-bottom: 20px solid #428448;
    align-items: center;
}

.logo {
    display: block;
    width: auto;
    height: 65px;
}

.logo img {
    width: auto;
    height: 100%;
    float: left;
}

.logout-box {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    padding-right: 10%;
}

/* footer */
.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #717171;
    color: #fff;
    padding: 25px 0;
}

.footer a {
    color: #feff99;
}

.footer a:focus {
    color: #003366;
    background-color: #feff99;
    ;
}

.footer .info {
    max-width: 600px;
    margin: 0 40px;
    font-size: 0.8rem;
    line-height: 20px;
}

.footer-icon {
    width: 16px;
    margin-top: -4px;
}

.footer #AC[accesskey] {
    margin: 0 2% 0 0;
}


/* 無障礙跳過導覽連結 */
.visually-hidden-focusable {
    position: absolute;
    overflow: hidden;
    clip-path: inset(50%);
    margin: -1px;
    padding: 0;
    border: 0;
}

.visually-hidden-focusable:focus {
    position: absolute;
    clip-path: none;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0.5em;
    z-index: 1000;
}

/* 隱藏文字 */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* AccessKey */
#AC[accesskey] {
    display: inline-block;
    color: #000;
    text-decoration: none;
    margin: 1.2% 2% 0 10%;
}

#AC[accesskey] :focus {
    outline: none;
    border: 4px solid #FF0;
}

#AC-0[accesskey] {
    display: block;
    color: #000;
    margin: 0 2% 0 10%;
    text-decoration: none;
}

#AC-0[accesskey] :focus {
    outline: none;
    border: 4px solid #FF0;
    height: 100%;
}

.main-wrap #AC[accesskey] {
    margin: 0 0 20px 0;
    width: min-content;
}

/* btn */
a.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(180deg, #76B97E, #438549);
    color: white;
    border-radius: 6px;
    font-size: 1.2rem;
    line-height: 1.4rem;
    text-decoration: none;
    word-break: break-word;
    cursor: pointer;
    margin: 0 10px;
}

a.btn:hover {
    background: linear-gradient(180deg, #428548, #024608);
}

a.btn:focus {
    background: linear-gradient(180deg, #428548, #024608);
}

a.btn img {
    width: auto;
    height: 50%;
    margin-right: 5px;
}

.btn-large {
    width: 300px;
    height: 130px;
}

.btn-small {
    width: 175px;
    height: 70px;
}

.btn-square {
    flex-direction: column;
    width: 200px;
    height: 200px;
}

.btn-square-title {
    font-size: 32px;
    line-height: 36px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-square-title-small {
    font-size: 24px;
}

.btn-square-text {
    font-size: 14px;
    line-height: 24px;

}

.btn-square-text-flex {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 3px;
}

.btn-square-gap {
    gap: 24px;
}

.btn-en {
    font-size: 0.75rem;
    line-height: 1rem;
}

a.btn .btn-icon {
    width: 60px;
    height: 60px;
    margin: 0 0 0 5px;
}

.btn-group {
    display: flex;
    flex-direction: row;
    padding: 20px 0 30px;
}

.container {
    width: 80%;
    min-height: calc(100vh - 300px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: 20px auto 60px;
}

/* input */
.input-box {
    width: 400px;
    height: 50px;
    border: 4px #428448 solid;
    border-radius: 10px;
    margin: 5px 0 30px;
    padding: 0 10px;
    font-size: 1rem;
    overflow: hidden;
}

.input-box select,
.input-box input {
    width: 100%;
    height: 48px;
    border: none;
    padding: 0;
}

.input-box select:focus,
.input-box input:focus {
    border: none;
    padding: 0;
    outline: none;
}

.input-fill {
    font-size: 1.25rem;
    line-height: 48px;
}


.input-fill-box {
    width: 400px;
    height: 50px;
    border: 3px #333 solid;
    margin: 5px 0 30px;
    padding: 0 10px;
    font-size: 1rem;
    overflow: hidden;
}

/* flex */
.flex-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.flex-container-menu-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: fit-content;
    margin: 0 auto;
}

.flex-container-transaction {
    display: flex;
    flex-wrap: wrap;
    width: fit-content;
    margin: 0 auto;
    flex-direction: column;
    align-items: flex-start;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

/* breadcrumb */
.breadcrumb {
    flex: 1;
    vertical-align: middle;
}

.breadcrumb a {
    text-decoration: none;
}

.log-info {
    flex: 1;
    text-align: right;
}

.log-info .time {
    font-size: 1.5rem;
    font-weight: 600;
    color: #CC0000;
}

.pwd-input-box {
    display: flex;
    flex-direction: row;
}

.pwd-input-box .input-box {
    margin: 5px 30px 30px 0;
}

.note-img {
    width: 300px;
    margin-top: 15px;
}

.main-wrap {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #CCC;
    padding: 30px;
    border-radius: 10px;
    margin-top: 20px;
    line-height: 28px;
}

.list-style {
    list-style-type: square;
    margin: 0;
}

.list-style a {
    color: #003366;
    text-decoration: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    line-height: 22px;
}

.th-green {
    color: #FFF;
    text-align: center;
    background-color: #4D8000;
}

.table-detail th,
.table-detail td {
    padding: 8px 5px;
    border: 1px #8a8a8a solid;
}

.reset-input-box {
    width: 70%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.reset-input-box label {
    width: 190px;
    font-size: 1.25rem;
    line-height: 26px;
    margin-right: 10px;
}

.reset-input-box input {
    width: 400px;
    height: 40px;
    padding: 0 10px;
    line-height: 40px;
    border-radius: 4px;
    border: 1px solid #666;
}

a.keyboard {
    width: 30%;
    text-align: right;
    color: #003366;
    text-decoration: none;
    padding-right: 20px;
}

/* RWD */
@media (max-width: 1280px) {

    /* btn */
    .btn-square {
        width: 120px;
        height: 120px;
        margin: 16px;
    }

    .btn-square-title {
        font-size: 20px;
        line-height: 24px;
    }

    .btn-square-title-small {
        font-size: 14px;
        line-height: 18px;
    }

    .btn-square-text {
        font-size: 8px;
        line-height: 12px;

    }

    a.btn .btn-icon {
        width: 36px;
        height: 36px;
    }

    .btn-square-gap {
        gap: 16px;
    }

    /* flex */
    .flex-container-menu-center {
        max-width: 800px;
    }
}

@media (max-width: 980px) {

    li,
    p {
        font-size: 12px;
        line-height: 18px;
    }

    /* style */
    h2 {
        font-size: 16px;
        line-height: 22px;
    }

    .text-large {
        font-size: 12px;
        line-height: 16px;
    }

    .text-mid {
        font-size: 10px;
        line-height: 12px;
    }

    .text-info {
        font-size: 9px;
        line-height: 16px;
        max-width: 200px;
    }

    .text-center p {
        line-height: 12px;
    }

    .text-note {
        font-size: 10px;
        line-height: 16px;
    }

    p a {
        font-size: 12px;
        line-height: 18px;
    }

    .breadcrumb {
        font-size: 10px;
    }

    .log-info {
        font-size: 10px;
    }

    .log-info .time {
        font-size: 18px;
    }

    /* input */
    .input-box {
        width: 300px;
        height: 30px;
        border: 3px #428448 solid;
        border-radius: 5px;
        font-size: 10px;
    }

    .input-box select,
    .input-box input {
        height: 30px;
    }

    .input-fill-box {
        width: 300px;
        height: 30px;
    }

    .input-fill {
        font-size: 14px;
        line-height: 32px;
    }

    /* btn */
    a.btn {
        font-size: 12px;
        line-height: 13px;
    }

    a.btn p {
        font-size: 12px;
        line-height: 13px;
    }

    .btn-large {
        width: 200px;
        height: 90px;
    }

    .btn-small {
        width: 100px;
        height: 36px;
    }

    .btn-en {
        font-size: 8px;
        line-height: 14px;
    }

    .container {
        min-height: calc(100vh - 152px);
    }

    .btn-square {
        width: 82px;
        height: 82px;
    }

    .btn-square-title {
        font-size: 14px;
        line-height: 18px;
    }

    .btn-square-title-small {
        font-size: 10px;
        line-height: 14px;
    }

    .btn-square-text {
        font-size: 6px;
        line-height: 8px;

    }

    a.btn .btn-icon {
        width: 24px;
        height: 24px;
    }

    /* header */
    .header {
        font-size: 10px;
        line-height: 12px;
        border-bottom: 10px solid #428448;
    }

    .logo {
        height: 40px;
    }

    /* footer */
    .footer {
        padding: 10px 0;
        margin-top: 20px;
    }

    .footer-icon {
        width: 8px;
    }

    .footer .info {
        font-size: 8px;
        line-height: 12px;
    }

    .twca-badge {
        width: 70px;
    }

    .badge {
        width: 60px;
    }

    .main-wrap {
        line-height: 18px;
    }

    .main-wrap #AC[accesskey] {
        margin: 0 0 10px 0;
        font-size: 10px;
        line-height: 16px;
        width: min-content;
    }

    #AC[accesskey] {
        font-size: 10px;
    }

    .list-style a {
        font-size: 10px;
        line-height: 16px;
    }

    table {
        font-size: 10px;
        line-height: 16px;
    }

    .table-detail th,
    .table-detail td {
        padding: 5px;
    }

    .reset-input-box label {
        width: 100px;
        font-size: 10px;
        line-height: 12px;
    }

    .reset-input-box input {
        width: 250px;
        height: 30px;
        font-size: 10px;
        line-height: 30px;
    }

    a.keyboard {
        font-size: 10px;
        line-height: 12px;
        padding-right: 0;
    }
}

@media (max-width: 680px) {

    li,
    p {
        font-size: 8px;
        line-height: 12px;
    }

    /* style */
    h2 {
        font-size: 11px;
        line-height: 14px;
    }

    .text-large {
        font-size: 11px;
        line-height: 14px;
    }

    .text-mid {
        font-size: 8px;
        line-height: 12px;
    }

    .text-note {
        width: 200px;
        font-size: 8px;
        line-height: 10px;
    }

    .text-info {
        width: 200px;
        font-size: 8px;
        line-height: 10px;
    }

    .text-center p {
        line-height: 10px;
    }

    p a {
        font-size: 8px;
        line-height: 10px;
    }

    .breadcrumb {
        font-size: 8px;
    }

    .main-wrap {
        margin-top: 5px;
        padding: 10px;
        line-height: 10px;
    }

    .main-wrap #AC[accesskey] {
        font-size: 7px;
        line-height: 8px;
        width: min-content;
    }

    #AC[accesskey] {
        font-size: 6px;
    }

    .log-info {
        font-size: 8px;
    }

    .log-info .time {
        font-size: 12px;
    }

    .pwd-input-box .input-box {
        margin: 5px 30px 10px 0;
    }

    /* input */
    .input-box {
        width: 200px;
        height: 20px;
        border-radius: 3px;
        border: 1.5px #428448 solid;
        font-size: 9px;
        padding: 0 5px;
        margin: 3px 0 10px;
    }

    .input-box select,
    .input-box input {
        height: 20px;
    }

    .input-fill-box {
        width: 160px;
        height: 20px;
        border: 1.5px #333 solid;
        padding: 0;
    }

    .input-fill {
        font-size: 10px;
        line-height: 20px;
    }

    /* btn */
    a.btn {
        font-size: 8px;
        line-height: 10px;
        margin: 0 3px;
        border-radius: 3px;
    }

    .btn-large {
        width: 100px;
        height: 40px;
    }

    .btn-small {
        width: 56px;
        height: 22px;
    }

    .btn-en {
        font-size: 4px;
        line-height: 6px;
    }

    .btn-group {
        padding: 0 0 15px;
    }

    a.btn p {
        font-size: 8px;
        line-height: 8px;
    }

    .container {
        min-height: calc(100vh - 114px);
        margin: 8px auto 40px;
    }

    /* header */
    .header {
        border-bottom: 5px solid #428448;
        padding: 2px 0;
        font-size: 6px;
        line-height: 8px;
    }

    .logo {
        height: 30px;
    }

    /* footer */
    .footer {
        font-size: 8px;
        line-height: 10px;
        padding: 5px 0;
    }

    .footer .info {
        margin: 0 10px;
    }

    .footer-icon {
        width: 7px;
    }

    .twca-badge {
        width: 50px;
    }

    .badge {
        width: 50px;
    }

    .note-img {
        width: 150px;
        margin-top: 10px;
    }

    .list-style {
        padding-left: 10px;
    }

    .list-style a {
        font-size: 8px;
        line-height: 10px;
    }

    li,
    p {
        font-size: 8px;
        line-height: 11px;
    }

    table {
        font-size: 9px;
        line-height: 11px;
    }

    .table-detail th,
    .table-detail td {
        padding: 2px;
    }

    .reset-input-box label {
        width: 60px;
        font-size: 8px;
        line-height: 10px;
    }

    .reset-input-box input {
        width: 180px;
        height: 20px;
        font-size: 8px;
        line-height: 20px;
    }

    a.keyboard {
        font-size: 8px;
        line-height: 10px;
    }
}

@media (max-width: 400px) {

    li,
    p {
        font-size: 6px;
        line-height: 8px;
    }

    .mb-10 {
        margin-bottom: 5px;
    }

    .mb-20 {
        margin-bottom: 10px;
    }

    /* text style */
    h2 {
        font-size: 8px;
        line-height: 10px;
    }

    .text-large {
        font-size: 8px;
        line-height: 10px;
    }

    .text-mid {
        font-size: 6px;
        line-height: 8px;
    }

    .text-note {
        width: 130px;
        font-size: 6px;
    }

    .text-info {
        width: 130px;
        font-size: 4px;
        line-height: 7px;
        margin: 4px auto;
    }

    .text-center p {
        line-height: 6px;
    }

    p a {
        font-size: 6px;
        line-height: 8px;
    }

    /* input */
    .input-box {
        width: 130px;
        height: 14px;
        border: 1px #428448 solid;
        font-size: 6px;
        padding: 0 2px;
    }

    .input-box select,
    .input-box input {
        height: 14px;
    }

    .input-fill {
        font-size: 6px;
        line-height: 14px;
    }

    .input-fill-box {
        width: 130px;
        height: 14px;
        margin: 5px 0 20px;
    }

    /* btn */
    a.btn {
        font-size: 6px;
        line-height: 8px;
    }

    .btn-large {
        width: 80px;
        height: 40px;
    }

    .btn-small {
        width: 50px;
        height: 16px;
    }

    .btn-en {
        font-size: 3.5px;
        line-height: 5px;
    }

    a.btn p {
        font-size: 6px;
        line-height: 7px;
    }

    .container {
        min-height: calc(100vh - 78px);
        margin: 6px auto 40px;
    }

    .btn-square {
        width: 60px;
        height: 60px;
    }

    .btn-square-title {
        font-size: 10px;
        line-height: 12px;
    }

    .btn-square-title-small {
        font-size: 8px;
        line-height: 10px;
    }

    .btn-square-text {
        font-size: 4px;
        line-height: 6px;

    }

    a.btn .btn-icon {
        width: 16px;
        height: 16px;
    }

    /* header */
    .header {
        border-bottom: 5px solid #428448;
        padding: 2px 0;
        font-size: 5px;
        line-height: 6px;
    }

    .logo {
        height: 15px;
    }

    /* footer */
    .footer-icon {
        width: 3px;
    }

    .footer .info {
        font-size: 5px;
        line-height: 6px;
    }

    .twca-badge {
        width: 20px;
    }

    .badge {
        width: 15px;
    }

    .breadcrumb {
        font-size: 6px;
    }

    .log-info {
        font-size: 6px;
    }

    .log-info .time {
        font-size: 9px;
    }

    .main-wrap {
        line-height: 8px;
    }

    .main-wrap #AC[accesskey] {
        margin: 0 0 5px 0;
        font-size: 5px;
        line-height: 8px;
        width: min-content;
    }

    .note-img {
        width: 80px;
        margin-top: 5px;
    }

    .list-style a {
        font-size: 6px;
        line-height: 6px;
    }

    table {
        font-size: 6px;
        line-height: 6px;
    }

    .reset-input-box label {
        width: 75px;
        font-size: 7px;
        line-height: 9px;
        margin-right: 0;
    }

    .reset-input-box input {
        width: 180px;
        height: 15px;
        font-size: 7px;
        line-height: 15px;
        padding: 0 5px;
    }

    a.keyboard {
        font-size: 7px;
        line-height: 9px;
        padding-right: 0;
    }
}
