@font-face {
    font-family: custom-sans-serif;
    src: local("Heiti TC"), local("微軟正黑體"), local("Microsoft JhengHei");
    unicode-range: U+4E00-9FFF;
}

@font-face {
    font-family: custom-sans-serif;
    src: local(Helvetica), local(Segoe UI);
    unicode-range: U+00-024F;
}

:root {
    /* Gray */
    --light-gray: #F8F9FB;
    --middle-light-gray: #DEE2E6;
    --middle-gray: #D3D3D3;
    --middle-dark-gray: #8B8D8E;
    --dark-gray: #666;
    --black-gray: #181b1e;
    /* Blue */
    --light-blue: #DAE8F9;
    --link-blue: #0070FF;
    --middle-blue: #0A58CA;
    --dark-blue: #002C5F;
    /* Other Color */
    --danger-color: #DC3545;
    --warning-color: #FFC107;
    --success-color: #28A745;
    /* Border radius */
    --border-radius-small: 8px;
    --border-radius-middle: 20px;
    --border-radius-large: 30px;
    /* Font size */
    --fs-1: 54px;
    --fs-2: 45px;
    --fs-3: 37px;
    --fs-4: 31px;
    --fs-5: 26px;
    --fs-6: 20px;
    --fs-small: 14px;
    /* Top padding for nav */
    --nav-menu-height: 4.7rem;
}

.text-link-blue {
    color: var(--link-blue);
}

.text-dark-blue {
    color: var(--dark-blue);
}

.text-middle-dark-gray {
    color: var(--middle-dark-gray);
}

.text-dark-gray {
    color: var(--dark-gray);
}

.text-black-gray {
    color: var(--black-gray);
}

.bg-light-gray {
    background-color: var(--light-gray);
}

.bg-middle-light-gray {
    background-color: var(--middle-light-gray);
}

body {
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--nav-menu-height);
    font-family: custom-sans-serif;
    min-height: 100%;
}

section {
    padding-bottom: 6rem;
    max-width: 100%;
}

img {
    display: inline-block;
    max-width: 100%;
}

    img.covered {
        width: 100%;
        object-fit: cover;
    }

a {
    color: inherit;
    text-decoration: none;
    user-select: none;
}

    a:hover, a:active {
        color: var(--link-blue);
        text-decoration: underline;
    }

    a.text-link-blue:hover, a.text-link-blue:active {
        color: var(--middle-blue);
    }

    a.link-nodec:hover, a.link-nodec:active {
        text-decoration: none;
    }

.fs1 {
    font-size: var(--fs-1);
}

.fs2 {
    font-size: var(--fs-2);
}

.fs3 {
    font-size: var(--fs-3);
}

.fs4 {
    font-size: var(--fs-4);
}

.fs5 {
    font-size: var(--fs-5);
}

.fs6 {
    font-size: var(--fs-6);
}

.fsmall {
    font-size: var(--fs-small);
}

.text-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

    .text-ellipsis.line1 {
        -webkit-line-clamp: 1;
    }

.hover-shodow:hover {
    box-shadow: 0px 0px 10px var(--middle-dark-gray);
}

.hover-light-shodow:hover {
    /*box-shadow: 0px 0px 10px var(--middle-gray);*/
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.small-rounded {
    border-radius: var(--border-radius-small);
}

.middle-rounded {
    border-radius: var(--border-radius-middle);
}

.large-rounded {
    border-radius: var(--border-radius-large);
}

.pt-45 {
    padding-top: 2.25rem !important;
}

.btn-primary {
    --bs-btn-color: white;
    --bs-btn-bg: var(--link-blue);
    --bs-btn-border-color: var(--link-blue);
    --bs-btn-hover-color: var(--middle-blue);
    --bs-btn-hover-bg: white;
    --bs-btn-hover-border-color: var(--middle-blue);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: var(--middle-blue);
    --bs-btn-active-bg: white;
    --bs-btn-active-border-color: var(--middle-blue);
    --bs-btn-disabled-color: var(--light-gray);
    --bs-btn-disabled-bg: var(--middle-gray);
    --bs-btn-disabled-border-color: var(--middle-gray);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    text-decoration: none !important;
}

.btn-primary-outlined {
    --bs-btn-color: var(--link-blue);
    --bs-btn-bg: white;
    --bs-btn-border-color: var(--link-blue);
    --bs-btn-hover-color: white;
    --bs-btn-hover-bg: var(--middle-blue);
    --bs-btn-hover-border-color: var(--middle-blue);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: white;
    --bs-btn-active-bg: var(--middle-blue);
    --bs-btn-active-border-color: var(--middle-blue);
    --bs-btn-disabled-color: var(--light-gray);
    --bs-btn-disabled-bg: var(--middle-gray);
    --bs-btn-disabled-border-color: var(--middle-gray);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    text-decoration: none !important;
}

.product-card {
    position: relative;
}

    .product-card img {
        object-fit: contain;
    }

    .product-card .card-title {
        margin: 8px 0 16px 0;
        color: black;
        font-weight: bold;
    }

    .product-card .card-tag {
        position: absolute;
        top: 18px;
        left: 0;
        height: 30px;
    }

        .product-card .card-tag span {
            padding: 6px 12px;
            font-size: 14px;
            font-weight: bold;
            color: white;
            background-color: var(--link-blue);
            border-top-right-radius: var(--border-radius-small);
            border-bottom-right-radius: var(--border-radius-small);
        }

tr.hiddenRow {
    display: none;
}

.pointer {
    cursor: pointer;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--light-gray);
    color: var(--black-gray);
    z-index: 9999;
    display: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

    .cookie-notice .cookie-content {
        padding: 30px;
        font-size: var(--fs-small);
        display: flex;
        align-items: center;
    }

        .cookie-notice .cookie-content > div {
            padding: 20px;
        }

        .cookie-notice .cookie-content h5 {
            margin-bottom: 15px;
            font-size: var(--fs-6);
            font-weight: bold;
        }

        .cookie-notice .cookie-content p {
            font-size: inherit;
        }

        .cookie-notice .cookie-content a {
            color: var(--link-blue);
        }

            .cookie-notice .cookie-content a:hover {
                text-decoration: underline;
            }

        .cookie-notice .cookie-content button {
            padding: 8px 30px;
            white-space: nowrap;
            font-size: inherit;
        }

@media (max-width: 992px) {
    :root {
        --fs-1: 48px;
        --fs-2: 40px;
        --fs-3: 33px;
    }

    .cookie-notice .cookie-content {
        padding: 10px 10px 20px 10px;
        display: flex;
        flex-direction: column;
    }

        .cookie-notice .cookie-content > div {
            padding: 30px 0 0 0;
        }
}


/* 導覽列 */
/* 導覽列 Logo */
nav.navbar.navbar-light,
nav.navbar.navbar-light .dropdown-menu.dropdown-mega {
    background-color: white;
    border-bottom: 1px solid var(--light-gray);
    padding: 0;
}

nav.navbar .navbar-brand {
    margin-right: 24px !important;
}

/* 導覽列 功能選單 */
.navbar-nav > li > a.nav-link {
    padding: 1.5rem 0 !important;
    color: var(--black-gray);
    text-decoration: none;
}

    .navbar-nav > li > a.nav-link::before {
        content: '';
        position: absolute;
        bottom: -1px;
        height: 3px;
        background-color: var(--link-blue);
        transform: scale(0);
        transition: .3s transform ease;
    }

    .navbar-nav > li > a.nav-link:hover::before, .navbar-nav > li > a.nav-link.show::before {
        width: 80%;
        transform: scaleX(0.8);
    }

    .navbar-nav > li > a.nav-link.show {
        color: var(--link-blue);
        text-decoration: none;
    }

nav.navbar.navbar-light .dropdown-menu.dropdown-mega {
    position: fixed !important;
    top: var(--nav-menu-height);
    background-color: white;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--middle-gray);
    margin: 0;
    padding: 30px;
    width: 100vw;
}

.navbar-nav .dropdown-mega .row > div {
    display: flex;
    justify-content: center;
}

    .navbar-nav .dropdown-mega .row > div:not(:last-child) {
        border-right: 1px solid var(--middle-gray);
    }

.navbar-nav .dropdown-mega ul {
    list-style-type: none;
    line-height: 1.2rem;
    padding-left: 0;
}

    .navbar-nav .dropdown-mega ul a.nav-link {
        color: var(--middle-dark-gray);
    }

        .navbar-nav .dropdown-mega ul a.nav-link:hover {
            color: var(--link-blue);
            text-decoration: none;
        }

    .navbar-nav .dropdown-mega ul .nav-link.menutitle {
        font-weight: bold;
        color: var(--black-gray);
    }

/* 導覽列 語言、登入 */
nav.navbar .nav-button-container {
    fill: var(--black-gray);
    cursor: pointer;
}

    nav.navbar .nav-button-container > a {
        display: flex;
        justify-content: center;
        text-decoration: none;
    }

    nav.navbar .nav-button-container i {
        font-size: 20px;
        color: var(--black-gray);
        padding-top: 2px;
    }

    nav.navbar .nav-button-container .navSmall {
        position: relative;
    }

        nav.navbar .nav-button-container .navSmall .button svg {
            height: 20px;
        }

        nav.navbar .nav-button-container .navSmall .button:hover svg path {
            fill: var(--link-blue);
        }

    nav.navbar .nav-button-container i:hover {
        color: var(--link-blue);
    }

    nav.navbar .nav-button-container .navSmall ul {
        position: absolute;
        padding: 5px 0;
        top: calc(100% + 1rem);
        transform: translate(-25%, 0);
        z-index: 2;
        background: white;
        border-radius: 6px;
        list-style: none;
        border: 1px solid var(--middle-gray);
    }

        nav.navbar .nav-button-container .navSmall ul li {
            padding: 0;
            margin: 0;
        }

            nav.navbar .nav-button-container .navSmall ul li a:link, .navSmall ul li a:visited {
                display: inline-block;
                padding: 10px 0.8rem;
                width: 100%;
                color: black;
                text-decoration: none;
            }

            nav.navbar .nav-button-container .navSmall ul li a:hover, nav.navbar .nav-button-container ul li i:hover {
                color: var(--link-blue);
                font-weight: bold;
            }



@media (max-width: 991px) {
    :root {
        --nav-menu-height: calc(48px + 1rem);
    }

    nav.navbar.navbar-light,
    nav.navbar.navbar-light nav.dropdown-menu.dropdown-mega {
        padding: 0.5rem;
    }


    #navbarSupportedContent > div {
        flex-direction: column;
        align-items: start;
        max-height: 75vh;
        overflow-x: hidden;
        overflow-y: auto;
    }

        #navbarSupportedContent > div > div > ul > li > a > span {
            font-weight: bold;
        }

        #navbarSupportedContent > div > div:first-child {
            flex-direction: column;
        }

        #navbarSupportedContent > div > div.nav-button-container {
            justify-content: start;
        }

    .navbar-nav > li > a.nav-link {
        padding: 0.5rem 0 !important;
    }

        .navbar-nav > li > a.nav-link:hover {
            color: var(--link-blue);
        }

        .navbar-nav > li > a.nav-link::before {
            content: '';
            position: absolute;
            bottom: -1px;
            height: 3px;
            background-color: white;
            transform: none;
            transition: none;
        }

        .navbar-nav > li > a.nav-link:hover::before, .navbar-nav > li > a.nav-link.show::before {
            width: 0;
            transform: none;
        }

    nav.navbar.navbar-light .dropdown-menu.dropdown-mega {
        position: static !important;
        padding: 0;
        border-bottom: 0;
        box-shadow: none !important;
    }

        nav.navbar.navbar-light .dropdown-menu.dropdown-mega > .container {
            margin-left: 0;
            margin-right: 0;
        }

        nav.navbar.navbar-light .dropdown-menu.dropdown-mega .row {
            justify-content: start !important;
        }

            nav.navbar.navbar-light .dropdown-menu.dropdown-mega .row > div {
                justify-content: start;
                margin: 0 0 0 1rem;
            }

                nav.navbar.navbar-light .dropdown-menu.dropdown-mega .row > div:first-child {
                    margin-top: 1rem;
                }

                nav.navbar.navbar-light .dropdown-menu.dropdown-mega .row > div:not(:last-child) {
                    border-right: 0;
                }

    nav.navbar .nav-button-container .navSmall {
        position: static;
        display: flex;
        gap: 10px;
        align-items: baseline;
    }

        nav.navbar .nav-button-container .navSmall .button {
            vertical-align: middle;
        }

        nav.navbar .nav-button-container .navSmall ul {
            position: static;
            transform: none;
            display: flex;
        }
}

/* Footer */
footer.container-fluid {
    padding: 48px 0 24px 0 !important;
}

footer .logo-area {
    text-align: end;
}

footer .social-media-icons {
    display: flex;
    justify-content: end;
    align-items: center;
    margin-top: 4.5rem;
}

    footer .social-media-icons a {
        width: 24px;
        height: 24px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        background-color: var(--black-gray);
        border-radius: 12px;
        margin: 0 2px;
    }

    footer .social-media-icons i {
        width: 24px;
        height: 24px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        margin: 0 5px;
        color: white;
        font-size: var(--fs-small);
        background-color: var(--black-gray);
        border-radius: 20px;
    }

    footer .social-media-icons svg {
        width: 18px;
        fill: white;
    }

    footer .social-media-icons a:hover, footer .social-media-icons i:hover, footer .social-media-icons a:hover i {
        color: white;
        background-color: var(--middle-blue);
    }

footer .copyright-content {
    font-size: var(--fs-small);
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
}

footer .terms a {
    color: var(--black-gray);
    padding-left: 8px;
}

    footer .terms a:not(:last-child) {
        padding-right: 8px;
        border-right: 1px solid #808080;
    }

    footer .terms a:hover {
        color: var(--link-blue);
    }

footer .top-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.enews-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

    .enews-link i.fa {
        display: block;
        transform-origin: 50% 4px;
        animation: ring 3s .7s ease-in-out infinite;
    }

@keyframes ring {
    0% {
        transform: rotate(0);
    }

    1% {
        transform: rotate(30deg);
    }

    3% {
        transform: rotate(-28deg);
    }

    5% {
        transform: rotate(34deg);
    }

    7% {
        transform: rotate(-32deg);
    }

    9% {
        transform: rotate(30deg);
    }

    11% {
        transform: rotate(-28deg);
    }

    13% {
        transform: rotate(26deg);
    }

    15% {
        transform: rotate(-24deg);
    }

    17% {
        transform: rotate(22deg);
    }

    19% {
        transform: rotate(-20deg);
    }

    21% {
        transform: rotate(18deg);
    }

    23% {
        transform: rotate(-16deg);
    }

    25% {
        transform: rotate(14deg);
    }

    27% {
        transform: rotate(-12deg);
    }

    29% {
        transform: rotate(10deg);
    }

    31% {
        transform: rotate(-8deg);
    }

    33% {
        transform: rotate(6deg);
    }

    35% {
        transform: rotate(-4deg);
    }

    37% {
        transform: rotate(2deg);
    }

    39% {
        transform: rotate(-1deg);
    }

    41% {
        transform: rotate(1deg);
    }

    43% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(0);
    }
}

@media (max-width: 992px) {
    footer .logo-area {
        text-align: center;
    }

    footer .social-media-icons {
        justify-content: center;
        margin-top: 2rem;
    }

    footer .copyright-content {
        flex-direction: column-reverse;
        align-items: center;
    }

    footer .top-area {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }
}

/* Sub Navbar*/
.nav-container {
    top: var(--nav-menu-height);
    background: white;
    z-index: 11;
}

    .nav-container.sticky {
        position: sticky;
    }

    .nav-container .sub-navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 10px;
        padding-bottom: 12px;
    }

        .nav-container .sub-navbar > .nav-title {
            font-size: var(--fs-5);
            margin-bottom: 0;
            line-height: 1.6;
        }

            .nav-container .sub-navbar > .nav-title.link:hover {
                color: var(--link-blue);
            }

        .nav-container .sub-navbar > .nav-tabs {
            border: none;
        }

            .nav-container .sub-navbar > .nav-tabs > .tabs-container {
                display: flex;
                gap: 1.2rem;
            }

                .nav-container .sub-navbar > .nav-tabs > .tabs-container > button,
                .nav-container .sub-navbar > .nav-tabs > .tabs-container > button:active,
                .nav-container .sub-navbar > .nav-tabs > .tabs-container > button:focus,
                .nav-container .sub-navbar > .nav-tabs > .tabs-container > button:focus-visible {
                    border: none;
                    font-size: 1rem;
                    box-shadow: none;
                    background-color: transparent;
                    border-bottom: 2px solid transparent;
                }

                    .nav-container .sub-navbar > .nav-tabs > .tabs-container > button:hover {
                        color: var(--link-blue);
                        border-bottom: 2px solid var(--link-blue);
                    }

                    .nav-container .sub-navbar > .nav-tabs > .tabs-container > button.active {
                        border-bottom: 2px solid var(--link-blue);
                    }


@media (max-width: 992px) {
    .nav-container .sub-navbar {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

        .nav-container .sub-navbar > .nav-title {
            line-height: 1.2;
        }

        .nav-container .sub-navbar > .nav-tabs {
            max-width: 100%;
            overflow-x: auto;
            overflow-y: hidden;
            padding-bottom: 0.5rem;
        }

            .nav-container .sub-navbar > .nav-tabs > .tabs-container > button {
                white-space: nowrap;
            }
}

/* New Tag Alone */
span.info-tag {
    display: inline-block;
    padding: 6px 12px;
    font-size: var(--fs-small);
    font-weight: bold;
    color: var(--dark-blue);
    background-color: var(--light-blue);
    border-radius: var(--border-radius-small);
    line-height: 1.2;
}

/* Badge Alone */
span.badge-tag {
    display: inline-block;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    color: var(--link-blue);
    background-color: var(--light-blue);
    border-radius: var(--border-radius-small);
    line-height: 1.2;
}

/* Product Feature - Card with rounded corner */
.roundedcard-container {
    border-radius: var(--border-radius-large);
}

    .roundedcard-container img.top-img {
        border-top-right-radius: var(--border-radius-large);
        border-top-left-radius: var(--border-radius-large);
    }

    .roundedcard-container img.bottom-img {
        border-bottom-right-radius: var(--border-radius-large);
        border-bottom-left-radius: var(--border-radius-large);
    }

    .roundedcard-container img.left-img, .roundedcard-container:has(img.left-img) > div:first-child,
    .roundedcard-container:has(img.right-img) > div:first-child {
        border-top-left-radius: var(--border-radius-large);
        border-bottom-left-radius: var(--border-radius-large);
    }

    .roundedcard-container img.right-img, .roundedcard-container:has(img.right-img) > div:last-child,
    .roundedcard-container:has(img.left-img) > div:last-child {
        border-top-right-radius: var(--border-radius-large);
        border-bottom-right-radius: var(--border-radius-large);
    }

    .roundedcard-container img.top-img, .roundedcard-container img.bottom-img {
        width: 100%;
        object-fit: cover;
    }

    .roundedcard-container img.left-img, .roundedcard-container img.right-img {
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

@media(max-width: 992px) {
    .roundedcard-container img.left-img, .roundedcard-container:has(img.left-img) > div:first-child,
    .roundedcard-container:has(img.right-img) > div:first-child {
        border-bottom-left-radius: 0;
        border-top-right-radius: var(--border-radius-large);
    }

    .roundedcard-container img.right-img, .roundedcard-container:has(img.right-img) > div:last-child,
    .roundedcard-container:has(img.left-img) > div:last-child {
        border-top-right-radius: 0;
        border-bottom-left-radius: var(--border-radius-large);
        border-bottom-right-radius: var(--border-radius-large);
    }
}

/* 圖文交錯區塊 - md 切換 */
.text-image-puzzle img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.text-image-puzzle > div {
    width: 100%;
    display: flex;
}

    .text-image-puzzle > div:first-child > div:first-child, .text-image-puzzle > div:first-child > div:first-child > img {
        border-top-left-radius: var(--border-radius-large);
    }

    .text-image-puzzle > div:first-child > div:last-child, .text-image-puzzle > div:first-child > div:last-child > img {
        border-top-right-radius: var(--border-radius-large);
    }

    .text-image-puzzle > div:last-child > div:first-child, .text-image-puzzle > div:last-child > div:first-child > img {
        border-bottom-left-radius: var(--border-radius-large);
    }

    .text-image-puzzle > div:last-child > div:last-child, .text-image-puzzle > div:last-child > div:last-child > img {
        border-bottom-right-radius: var(--border-radius-large);
    }

@media (max-width: 767px) {
    .text-image-puzzle > div {
        flex-direction: column;
        margin-bottom: 1rem;
    }

        .text-image-puzzle > div:nth-child(odd) > div:first-child, .text-image-puzzle > div:nth-child(odd) > div:first-child > img,
        .text-image-puzzle > div:nth-child(even) > div:last-child, .text-image-puzzle > div:nth-child(even) > div:last-child > img {
            border-radius: 0;
            border-top-left-radius: var(--border-radius-large);
            border-top-right-radius: var(--border-radius-large);
            order: 1;
            border: 1px solid var(--light-blue);
            border-bottom: 0;
        }

        .text-image-puzzle > div:nth-child(odd) > div:last-child, .text-image-puzzle > div:nth-child(odd) > div:last-child > img,
        .text-image-puzzle > div:nth-child(even) > div:first-child, .text-image-puzzle > div:nth-child(even) > div:first-child > img {
            border-radius: 0;
            border-bottom-left-radius: var(--border-radius-large);
            border-bottom-right-radius: var(--border-radius-large);
            order: 2;
            border: 1px solid var(--light-blue);
            border-top: 0;
        }
}

/* Download 下載頁 */
a span.download {
    display: inline-block;
    background-color: var(--link-blue);
    color: white;
    font-size: 1em;
    width: 1.6em;
    height: 1.6em;
    line-height: 1.6em;
    border-radius: 50%;
    margin-left: 0.5em;
    text-align: center;
    text-decoration: underline;
    cursor: pointer;
}

a span.doc {
    display: inline-block;
    background-color: var(--link-blue);
    color: white;
    font-size: 1em;
    width: 1.6em;
    height: 1.6em;
    line-height: 1.6em;
    border-radius: 50%;
    margin-left: 0.5em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

    a span.download:hover, a span.doc:hover {
        background-color: var(--middle-blue);
    }

a.eoldoc {
    position: absolute;
    left: 9em;
    top: 50%;
    transform: translate(-50%, -50%);
}

.arrow {
    border: solid #555;
    border-width: 0px 2px 2px 0;
    display: inline-block;
    padding: 5px;
    transform: rotate(45deg);
}

.modal .close {
    border: none;
    background: transparent;
    font-size: var(--fs-6);
}

.fileTable {
    overflow-x: auto;
    margin-bottom: 3em;
}

    .fileTable table {
        border-top: 2px solid var(--dark-blue);
        border-bottom: 2px solid var(--middle-light-gray);
        width: 100%;
    }

        .fileTable table thead tr td {
            font-size: large;
            color: var(--dark-blue);
        }

        .fileTable table tbody tr {
            border-top: 1px solid var(--middle-light-gray);
        }

        .fileTable table thead tr td {
            padding: 1em;
        }

        .fileTable table tbody tr td {
            padding: 1em 1em 1em 1.5em;
        }

/* 下載頁 Demo Project / Library*/
span.btn-option {
    padding: 8px 14px;
    font-size: 15px;
    color: var(--black-gray);
    border-radius: 16px;
    cursor: pointer;
}

    span.btn-option:hover {
        background-color: var(--light-gray);
    }

    span.btn-option.active {
        color: var(--link-blue);
        background-color: var(--light-gray);
    }

span.infoicon {
    display: inline-block;
    background-color: var(--link-blue);
    color: white;
    font-size: 1em;
    width: 1.6em;
    height: 1.6em;
    line-height: 1.6em;
    border-radius: 50%;
    margin-left: 0.5em;
    text-align: center;
    cursor: pointer;
}

    span.infoicon:hover {
        background-color: var(--middle-blue);
    }

#lib-tabContent {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

    #lib-tabContent .light-theme a,
    #lib-tabContent .light-theme span {
        border: none;
        background: transparent;
        box-shadow: none;
    }

        #lib-tabContent .light-theme a:hover,
        #lib-tabContent .light-theme span:hover {
            background: var(--light-gray);
        }

    #lib-tabContent .light-theme .current, #lib-tabContent .light-theme .current:hover {
        background: var(--link-blue);
    }

/* Inquiry */
inquiry .form-control {
    min-width: 100%;
    height: 46px;
}

inquiry .col-form-label {
    color: var(--dark-gray);
    font-size: 16px;
}

.inquiry .form-group a {
    color: var(--link-blue);
}

/* Account */
body:has(.account) {
    background-color: var(--light-gray);
}

body:has(.migration) {
    background-color: white;
}

.account {
    padding-top: 4rem;
}

    .account .form-control {
        background-color: #EDF2F7;
        font-size: 16px;
        min-width: 100%;
        height: 46px;
        border: none;
    }

    .account select.form-control {
        appearance: auto;
        -webkit-appearance: auto;
        -moz-appearance: auto;
    }

    .account .form-control:disabled {
        color: var(--dark-gray)
    }

    .account .col-form-label {
        padding-top: 4px;
        padding-bottom: 4px;
    }

        .account .col-form-label.required::before {
            content: "*";
            margin-right: 6px;
            color: #F00B0B;
            font-weight: bold;
        }

    .account .btn.btn-primary {
        background-color: var(--dark-blue);
        border-color: var(--dark-blue);
        color: white;
        border-radius: 0px;
    }

        .account .btn.btn-primary:hover {
            background-color: var(--middle-blue);
            border-color: var(--middle-blue);
            color: white;
        }

    .account .form-group a {
        color: var(--dark-blue);
        text-decoration: underline;
    }

        .account .form-group a:hover {
            color: var(--middle-blue);
            text-decoration: underline;
        }

.g-sign-in-container {
    position: relative;
    text-align: center;
    color: var(--middle-gray);
    font-weight: 600;
}

    .g-sign-in-container .g-sign-in-text::before, .g-sign-in-container .g-sign-in-text::after {
        content: "";
        position: absolute;
        height: 1px;
        width: calc((100% - 140px) / 2);
        top: 50%;
        border: 1px solid var(--middle-gray);
    }

    .g-sign-in-container .g-sign-in-text::before {
        left: 0;
    }

    .g-sign-in-container .g-sign-in-text::after {
        right: 0;
    }

    .g-sign-in-container .g_id_signin div {
        border-radius: 0px !important;
    }

/* Migration */
.left-section {
    padding: 60px 60px 140px 60px;
    color: white;
    background-color: var(--dark-blue);
}

.step-section span {
    display: inline-flex;
    width: 20px;
    height: 20px;
    margin-right: 4px;
    color: #005EA2;
    background-color: #FFF;
    border-radius: 30px;
    align-items: center;
    justify-content: center;
}

.step-section .step-item {
    color: white;
    opacity: 0.6;
}

    .step-section .step-item.active {
        opacity: 1;
    }

.right-section {
    padding: 60px 100px 120px 100px;
}

.migration .fade:not(.show) {
    display: none;
}

.back-btn {
    position: absolute;
    left: -48px;
    top: 0px;
    font-size: 20px;
    color: var(--dark-gray);
    background-color: transparent;
    border: none;
}


/* 針對中等屏幕及其以下 */
@media (max-width: 992px) {
    .left-section {
        padding: 60px 40px;
    }

    .right-section {
        padding: 60px 40px;
    }
}

.fa.fa-arrow-up.top-right {
    transform: rotate(45deg);
}
