body {
    margin: 0;
    padding: 0;
    font-family: "微軟正黑體", "Microsoft Yahei", "微软雅黑", STXihei, "华文细黑", sans-serif;
    -webkit-text-size-adjust: none;
}

ul {
    list-style-type: none;
    margin: inherit !important
}

.wrapper {
    --header-height: 80px;
    --footer-height: 38px;
    min-height: 900px;
    display: grid;
    grid-template-rows: var(--header-height) 1fr var(--footer-height);
    align-items: center;
}


.wrapperWithAnnounceNotice {
    --header-height: 80px;
    --nav-height: 38px;
    --footer-height: 38px;
    height: 100vh;
    display: grid;
    grid-template-rows: var(--header-height) var(--nav-height) 1fr var(--footer-height);
    align-items: center;
}

.logoContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8px;

    .menuContainer {
        display: flex;
        align-items: center;
        gap: 0 8px;

        .btnStyle {
            color: #fff;
            background-color: #157239;
            height: 34px;
            font-size: 15px;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 4px;
            cursor: pointer;
        }

        .divider {
            color: #cdcdcd;
            font-size: 16px;
        }

        li {
            display: inline-block;

            a {
                color: #252525;
                text-decoration: none;
                font-weight: bold;
                font-size: 15px;
            }
        }

    }
}

.displayNone {
    display: none !important;
}

.displayBlock {
    display: block !important;
}

.captcha-height {
    height: 30px;
}


.marquee-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: yellow;
    display: none;
}

.marquee-content {
    --marquee-duration: 10s;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    animation: scroll var(--marquee-duration) linear infinite;
    font-size: 16px;
    color: red;
    animation-delay: 2s;
}

@keyframes scroll {
    0% {
        transform: translateX(100vw); 
    }
    100% {
        transform: translateX(-100%);
    }
}


.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.slider-wrapper {
    display: flex;
    width: 300%; /* 3張圖片 = 300% */
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 33.333%; /* 每張圖片佔1/3 */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 60px;
    left: 0;
    color: white;
    padding: 24px 36px;
    background-color: rgba(122, 168, 68, .86);
    border-radius: 4px;
    width: 460px;

    h1 {
        font-size: 50px;
        font-weight: lighter;
        line-height: 1.1em;
    }

    p {
        font-size: 22px;
        line-height: 1.1em;
    }
}

/* 左右按鈕 */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* 指示器 */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: white;
}

.home-content {
    position: absolute;
    right: 30px;
    top: 30px;
    display: flex;
    width: 450px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.home-content h2 {
    font-size: 24px;
    color: #157239;
    margin: 0 8px;
    font-weight: lighter;
}

.home-content .login-form {
    display: flex;
    padding: 16px;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    background-color: rgba(255, 255, 255, .85);
    border-radius: 6px;
}

.portal-login {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.home-content .news {
    width: 100%;
    padding: 6px;
    height: 285px;
    background-color: rgba(255, 255, 255, .85);

    li {
        list-style: none;
        margin: 9px;
    }

    span {
        color: #024a06;
    }

    h3 {
        margin: 0;
        font-weight: normal;
    }
}

.news-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 8px;
    overflow-y: auto;
    height: 80%;
}

.news-content {
    display: flex;
    gap: 4px;
    align-items: center;
    cursor: pointer;
}

.news-content h3 {
    color: #024a06;
}

.portalNo {
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-shadow: none;
    height: 42px;
    padding: 0 16px;
}

.home-content .inputForm {
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-shadow: none;
    height: 42px;
    width: 100%;
    padding: 0 16px;
}

.home-content .hiddenInput {
    display: flex;
}

.home-content .hiddenInput .hiddenEyes {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 47px;
    height: 42px;
    cursor: pointer;
    border: 1px solid #cccccc;
    border-radius: 4px;
    color: #999;
    background-color: white;
    font-size: 22px;
}

.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
}

.captcha-wrapper .captcha {
    height: 45px;
    width: 145px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    padding: 0 16px;
}

.captcha-wrapper .login-btn {
    cursor: pointer;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    height: 42px;
    width: 80px;
    background-color: #157239;
    padding: 0 12px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    border-radius: 4px;
}

.footer {
    font-size: 13px;
    background-color: #024a06;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    height: 100%;
}

.footer .footer-NoticeWrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    span {
        cursor: pointer;
    }

    img {
        cursor: pointer;
    }
}

.modalHeader {
    display: flex;
    align-items: center;
    background-color: #6f913c;
    color: #fff;
    padding: 0 12px;
    height: 45px;
    width: 100%;
    font-size: 22px;
}

.modal-footer {
    display: flex;
    justify-content: center;
    width: 100%;
}

.modal-footer-right {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    border: 1px solid #e5e5e5;
    padding: 16px;
}

.modal-footer .btn-default {
    color: #898989;
}