:root {
    --primary-color: #007E9B; /* 主色，藍色 */
    --secondary-color: #e77a29; /* 輔色，橙色 */
}


.table {
    border-collapse: collapse; /* 合併表格的邊框線，使之不顯得太過突出 */
    width: 100%; /* 設置表格寬度佔滿父容器 */
    margin: 0 auto; /* 將表格置中 */
    table-layout: fixed; /* 使用固定佈局，讓每一列的寬度自動縮小 */
    margin-bottom: 20px; /* 增加表格底部的空間 */
}

    .table th {
        background-color: var(--primary-color); /* 表頭使用主色 */
        color: #fff; /* 表頭文字顏色使用白色 */
        font-weight: bold; /* 保持表頭的區分 */
        padding: 6px; /* 增加表頭填充距離，保持更好的可讀性 */
        text-align: center; /* 表頭文字居中 */
        font-size: 15px; /* 字體大小增大到 15px，便於閱讀 */
        height: 60px; /* 增加表頭高度，使其能容納兩行文字 */
        line-height: 1.4; /* 增加行距，讓文字顯示得更清晰 */
        white-space: normal; /* 允許文字換行 */
        vertical-align: middle; /* 表頭文字垂直居中 */
    }

    .table td {
        border: 1px solid #e0e0e0; /* 淡化表格邊框顏色 */
        padding: 5px 8px; /* 增加單元格填充距離，使表格看起來更加舒適 */
        text-align: left; /* 單元格文字置中對齊 */
        font-size: 16px; /* 字體大小增大到 14px，便於閱讀 */
        overflow: hidden; /* 隱藏多餘的內容 */
        white-space: normal; /* 允許單元格文字換行 */
    }

/* header */
.my-navbar {
    background: #fff;
    border-bottom: 1px solid #ccc;
    max-height: 66px;
}
.my-navbar .navbar-brand {
    margin-right: 0;
    max-width: 240px;
}
.my-navbar .navbar-brand img {
    width: 100%;
    height: auto;
    max-width: 240px;
}
.my-navbar .navbar-linktext {
    text-decoration: none;
    color: #333;
    border-left: 1px solid #787878;
    padding-left: 10px;
    margin-left: 10px;
    font-weight: bold;
}
.my-navbar-nav {
    font-size: 14px;
}
.my-navbar-nav .nav-item .nav-link img {
    height: 16px;
    width: auto;
    margin-right: 2px;
    vertical-align: text-top;
}
.my-navbar .navbar-toggler img {
    height: 30px;
    width: auto;
    padding: 4px 0;
}
.my-navbar-nav .nav-item .nav-link {
    position: relative;
}
.my-navbar-nav .header-menu-dropdown {
    display: none;
    position: absolute;
    top: 42px;
    left: 0;
    padding: 10px 12px;
    background: #d6f5f7;
    color: #221e1f;
    z-index: 999;
    box-shadow: 1px 1px 1px rgb(51,51,51,0.2);
    line-height: 2.2;
    border: 0;
    white-space: nowrap;
}
.my-navbar-nav .nav-item .nav-link:hover .header-menu-dropdown {
    display: block;
}
.my-navbar-nav .nav-item .nav-link:hover .header-menu-dropdown:before {
    content: "";
    width: 0;
    height: 0;
    border-width: 13px;
    border-style: solid;
    border-color: transparent transparent #d6f5f7 transparent;
    position: absolute;
    top: -26px;
    left: 40px;
    z-index: 998;
}
@media (max-width: 991px) {
    .navbar-collapse {
        background: #fff;
        margin: 10px -12px -8px -12px;
        border-top: 1px solid #ccc;
        z-index: 1;
    }
    .navbar-collapse .nav-item + .nav-item {
        border-top: 1px solid #ccc;
    }
    .navbar-collapse .my-navbar-nav > .nav-item:last-child {
        border-bottom: 1px solid #ccc;
        box-shadow: 5px 5px 10px rgb(51,51,51,0.08);
    }
    .navbar-collapse .nav-link {
        padding: 15px 12px;
        font-size: 16px;
    }
    .my-navbar-nav .nav-item .nav-link img {
        position: relative;
        bottom: -1px;
    }
    .my-navbar-nav .nav-item .nav-link:hover .header-menu-dropdown {
        display: none;
    }
    .my-navbar-nav .nav-item .nav-link:hover .header-menu-dropdown:before {
        content: none;
    }
}
@media (max-width: 768px) {
    .my-navbar .navbar-brand,
    .my-navbar .navbar-brand img {
        max-width: 280px;
    }
}
/* 自動登出 寬度限制 */
#count-down-timer {
    display: inline-block;
    min-width: 39px;
}
/* footer */
.footer-section {
    background: #007E9B !important;
    color: #fff;
    font-size: 15px;
    text-align: center;
    padding: 34px 0;
    border-bottom: 0;
}
    .footer-section a {
        color: #fff;
        text-decoration: underline; /* 加底線 */
    }
        .footer-section a:hover,
        .footer-section a:focus {
            color: #e5e5e5; /* 滑過/鍵盤聚焦時換顏色 */
            text-decoration: underline;
            outline: 2px solid #fff; /* 鍵盤可見 */
            outline-offset: 2px;
        }

@media (max-width: 768px) {
    .footer-section {
        font-size: 13px;
    }
}

/* swiper banner */
.swiper-slide .swiper-bg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.swiper-button-next, .swiper-button-prev {
    color: #fff;
}
.swiper-button-next::after, 
.swiper-button-prev::after {
    text-shadow: 0 0 3px rgba(51,51,51,0.5), 0 0 7px rgba(51,51,51,0.8), 0 0 40px rgba(99,99,99,0.8);
}
.swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 30px;
}
.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 7px;
}
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ccc;
    opacity: 1;
    box-shadow: 0 2px 6px 0 rgb(0,0,0,0.6);
}
.swiper-pagination-bullet-active {
    background: #f4b75d;
}
.swiper-link-btn {
    position: absolute;
    bottom: 72px;
    left: 0;
    text-align: center;
    width: 100%;
    font-size: 14px;
    z-index: 11;
}
.swiper-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    border-radius: 50%;
    padding: 10px;
    text-decoration: none;
    margin: 0 15px;
    border: 0;
    width: 100px;
    height: 100px;
}
.swiper-btn:hover,
.swiper-btn:active,
.swiper-btn:focus {
    text-decoration: none;
}
.swiper-btn img {
    display: block;
    width: 56%;
    margin: 0px auto 5px auto;
}
.swiper-btn.btn-primary {
    background: rgba(235, 125, 56, 0.9);
    transition: .3s all;
    border: 0;
}
.swiper-btn.btn-primary:hover,
.swiper-btn.btn-primary:active,
.swiper-btn.btn-primary:focus {
    background: #eb6612;
    box-shadow: 0 3px 5px 0 rgb(0,0,0,0.4);
    position: relative;
    top: -5px;
    border: 0;
}
@media (max-width: 991px) {
    .swiper-container {
        display: none;
    }
}
@media (max-width: 10px) {
    .swiper-container2 {
       
    }
}

.sub-section-btn {
    display: flex;
    justify-content: center;
    text-align: center;
    margin: 20px 0;
}
.sub-section-btn .swiper-btn.btn-primary {
    background: rgba(65, 105, 225, 0.7);
}

.sub-section-btn .swiper-btn.btn-primary:hover,
.sub-section-btn .swiper-btn.btn-primary:active,
.sub-section-btn .swiper-btn.btn-primary:focus {
    background: rgba(65, 105, 225, 0.8);
}
/* M版才出現的入口icon */
    .mobile-index-icon {
    background: #35bec0;
    display: flex;
    padding: 22px 0;
}
.mobile-index-icon > a {
    flex: 1;
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    padding: 0 20px;
    position: relative;
}
.mobile-index-icon > a img {
    height: 70%;
    width: auto;
    max-height: 30px;
}
.mobile-index-icon > a div {
    display: block;
    padding-top: 8px;
}
.mobile-index-icon > a:before {
    display: block;
    content: "";
    background: #288f90;
    height: 0px;
    width: 0px;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    opacity: 0.15;
    transition: 0.15s all;
}
.mobile-index-icon > a:hover:before,
.mobile-index-icon > a:active:before,
.mobile-index-icon > a:focus:before {
    height: 90px;
    width: 90px;
}
@media (min-width: 992px) {
    .mobile-index-icon {
        display: none;
    }
}
@media (max-width: 991px) {
    *:focus {
        outline: 0 !important;
    }
}

/* 通用-次標題 */
.sub-title {
    border-bottom: 2px solid #35bec0;
    display: inline-block;
    padding-bottom: 6px;
    margin-top: 15px;
    margin-bottom: 35px;
}
.tri-title {
    font-size: 18px; /* 調整字體大小 */
    border-bottom: 2px solid #FFA500;
    display: inline-block;
    padding-bottom: 6px;
    margin-top: 15px;
    margin-bottom: 35px;
}
.sub-title-icon {
    width: 22px;
    height: auto;
    vertical-align: middle;
    margin-right: 5px;
    margin-bottom: 5px;
}
@media (max-width: 991px) {
    .sub-title {
        font-size: 18px;
        margin-bottom: 30px;
    }
}
/* 通用-全寬背景區塊 */
.full-content {
    width: 100%;
}
.bg-mainlight {
    background: #d6f5f7;
}
/*.bg-sublight {
    background: rgba(65, 105, 225, 0.12);
}*/
.bg-main {
    background: #35bec0;
    color: #fff;
}
.bg-second {
    background: #eb7d38;
    color: #fff;
}
.border-bottom-main {
    border-bottom: 1px solid #ccc;
}
.py-main {
    padding-top: 50px;
    padding-bottom: 50px;
}
.pt-main {
    padding-top: 50px;
}
.pb-main {
    padding-bottom: 50px;
}
@media (min-width: 1200px) {
    .container {
        max-width: 1600px;
    }
}
@media (max-width: 991px) {
    .bg-second-mobile {
        background: #eb7d38;
    }
}
@media (max-width: 767px) {
    .py-main {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}
.form-group {
    font-size: 20px;
}
.form-group-textlabel {
    height: 38px;
    line-height: 38px;
    display: inline-block;
}

/* 資料下載區塊 */
.data-icon {
    display: block;
    color: #333;
    font-size: 20px;
    margin: 40px;
    text-align: center;
    text-decoration: none;
}
.data-icon img {
    display: block;
    margin: 0 auto 10px auto;
    width: 100%;
    height: auto;
    border-radius: 50%;
    max-width: 150px;
}
.data-icon:hover img,
.data-icon:active img,
.data-icon:focus img {
    box-shadow: 0 3px 5px 0 rgb(0,0,0,0.3);
}
.data-icon:hover,
.data-icon:active,
.data-icon:focus {
    text-decoration: none;
}
.data-icon.type1:hover,
.data-icon.type1:active,
.data-icon.type1:focus {
    color: #35bec0;
}
.data-icon.type2:hover,
.data-icon.type2:active,
.data-icon.type2:focus {
    color: #eb7d38;
}
.data-icon.type3:hover,
.data-icon.type3:active,
.data-icon.type3:focus {
    color: #7378e7;
}
.data-icon.type4:hover,
.data-icon.type4:active,
.data-icon.type4:focus {
    color: #5aa757;
}
@media (max-width: 991px) {
    .data-icon {
        font-size: 14px;
        margin: 40px 5px 30px 5px;
    }
    .data-icon img {
        max-width: 120px;
    }
}

/* 通用-控制可視範圍 */
@media (min-width: 992px) and (max-width: 1199px) {
    .invisible-only-ipad {
        display: none;
    }
}
@media (min-width: 992px) {
    .visible-ipad {
        display: none;
    }
    .visible-pc {
        display: inline-block;
    }
}
@media (max-width: 991px) {
    .visible-ipad {
        display: block;
    }
    .visible-pc {
        display: none;
    }
    .mt-xs-0 {
        margin-top: 0;
    }
    #content {
        top: 65px;
    }
}
@media (min-width: 768px) {
    .visible-only-mobile {
        display: none;
    }
    .visible-only-desktop {
        display: inline-block;
    }

}
@media (max-width: 767px) {
    .visible-only-mobile {
        display: inline-block;
    }
    .visible-only-desktop {
        display: none;
    }
    #content {
        top: 65px;
    }
}

/* 統計報表圖表 */
.bg-white {
    background: #fff;
    border-radius: 4px;
    margin: 0 0 30px 0;
}
#chart-pie {
    height: 500px;
    background: #fff;
    padding: 25px 15px;
    margin-bottom: 10px;
}
#chart-pie-sum {
    display: inline-block;
    font-size: 18px;
    background: #35bec0;
    color: #fff;
    position: relative;
    top: 100px;
    z-index: 1;
    padding: 2px 12px;
    border-radius: 20px;
}
#chart-pie-done {
    font-size: 19px;
    position: relative;
    bottom: 35px;
    left: 14px;
}
#chart-all,
#chart-all-weight {
    height: 1200px;
    background: #fff;
    border-radius: 4px;
    padding: 25px 15px;
    margin-top: -30px;
    margin-bottom: 30px;
}
#chart-all-sum {
    display: inline-block;
    font-size: 18px;
    background: #35bec0;
    color: #fff;
    position: relative;
    top: 62px;
    z-index: 1;
    padding: 2px 12px;
    border-radius: 20px;
}
#chart-all-weight-sum {
    display: inline-block;
    font-size: 18px;
    background: #eb7d38;
    color: #fff;
    position: relative;
    top: 62px;
    z-index: 1;
    padding: 2px 12px;
    border-radius: 20px;
}
@media (max-width: 767px) {
    #chart-all-sum,
    #chart-all-weight-sum {
        font-size: 16px;
    }
}
/* 統計圖表-縣市選擇 */
.bg-radius-white {
    background: #fff;
    border-radius: 4px 4px 0 0;
    padding-top: 25px;
    font-size: 20px;
}
.bg-radius-white select,
.select-text,
.select-text select {
    font-size: 20px;
}
#chart-city {
    height: 1400px;
    background: #fff;
    border-radius: 0 0 4px 4px;
    padding: 25px 15px;
}
@media (max-width: 767px) {
    .bg-radius-white,
    .bg-radius-white select,
    .select-text,
    .select-text select {
        font-size: 18px;
    }
}
.red-text {
    color: red;
}
/* 緣起 圖文排列 */
.p-txt {
    font-size: 14px;
    line-height: 1.8;
    text-align: justify;
}
.article-img {
    display: block;
    width: 100%;
    height: auto;
}
.p-legend {
    text-align: center;
    color: #555;
    font-size: 14px;
}
.p-subtitle {
    font-weight: bold;
    font-size: 20px;
    color: #555;
}
@media (max-width: 767px) {
    .p-txt,
    .p-legend {
        font-size: 16px;
    }
}

/* app安裝排列 */


.AppInstall-img {
    display: block;
    width: 100%;
    height: auto;
}


.p-subtitle {
    font-weight: bold;
    font-size: 24px;
    color: #555;
}

@media (max-width: 767px) {
    .p-txt,
    .p-legend {
        font-size: 16px;
    }
}

/* 註記專區 */
.my-form-bg {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
}
.my-form {
    font-size: 18px;
}
.my-txt {
    font-size: 18px;
}
.my-form-title {
    font-size: 20px;
    margin-bottom: 5px;
    text-align: center;
}
.my-form-title-second {
    background-color: #eb7d38;
    color: #fff;
    display: inline-block;
    border-radius: 20px;
    padding: 4px 16px;
    margin-bottom: 0;
    font-size: 16px;
}
.my-form-title-second img {
    height: 16px;
    width: auto;
    position: relative;
    top: -2px;
}
.my-form-subtext {
    color: #666;
    margin-bottom: 5px;
    font-size: 16px;
}
.input-name {
    border-left: 5px solid #35bec0;
    padding-left: 10px;
    margin-bottom: 10px;
}
.input-name-sub {
    border-left: 5px solid rgba(65, 105, 225, 0.7);
    padding-left: 10px;
    margin-bottom: 10px;
}
.myform-link {
    font-size: 18px;
    color: #35bec0;
    text-decoration: none;
    cursor: pointer;
}
.myform-link:hover, 
.myform-link:active, 
.myform-link:focus {
    color: #00cad1;
    text-decoration: underline;
}
.myform-link-sub {
    font-size: 18px;
    color: rgba(65, 105, 225, 0.7);
    text-decoration: none;
    cursor: pointer;
}
.myform-link-sub:hover,
.myform-link-sub:active,
.myform-link-sub:focus {
    color: rgba(65, 105, 225, 0.8);
    text-decoration: underline;
}
@media (max-width: 767px) {
    .my-form-bg {
        background: transparent;
    }
    .my-txt {
        font-size: 16px;
    }
}

/* RWD表格 */
/* RWD 表格基礎樣式 */
.rwd-table {
    background: #fff;
    overflow: hidden;
    margin-bottom: 24px;
    min-width: 100%;
    border-collapse: collapse;
}

    .rwd-table tr:nth-of-type(2n) {
        background: #f5f5f5; /* 偶數行背景色 */
    }

    .rwd-table th,
    .rwd-table td {
        text-align: left;
        font-size: 14px;
        padding: 0.5em;
        border: 1px solid #ddd; /* 表格框線 */
    }

/* 小螢幕隱藏表頭，顯示欄位名稱 */
@media (max-width: 991px) {
    .rwd-table thead {
        display: none; /* 隱藏整個表頭 */
    }

    .rwd-table tr {
        display: block; /* 將每一列變為塊狀 */
        margin-bottom: 1em;
    }

    .rwd-table td {
        display: block; /* 將每一個欄位變為塊狀 */
        text-align: left;
        font-size: 14px;
    }

        .rwd-table td:before {
            content: attr(data-th) " : "; /* 使用 data-th 顯示欄位名稱 */
            font-weight: bold;
            display: inline-block;
            padding-right: 10px;
            color: #333;
        }

        .rwd-table td:last-child {
            border-bottom: 1px solid #ddd; /* 最後一個欄位的底線 */
        }
}

/* 大螢幕恢復表格樣式 */
@media (min-width: 992px) {
    .rwd-table td:before {
        display: none; /* 隱藏小螢幕的欄位名稱 */
    }

    .rwd-table th,
    .rwd-table td {
        display: table-cell; /* 恢復為表格顯示 */
        padding: 0.5em;
        text-align: left;
    }

        .rwd-table th:first-child,
        .rwd-table td:first-child {
            padding-left: 0; /* 第一欄取消左側間距 */
        }

        .rwd-table th:last-child,
        .rwd-table td:last-child {
            padding-right: 0; /* 最後一欄取消右側間距 */
        }

    .rwd-table th {
        background: #d6f5f7; /* 表頭背景色 */
        font-weight: bold;
        text-align: center;
        vertical-align: middle;
    }

    .rwd-table.type2 thead tr th {
        background: rgba(65, 105, 225, 0.12); /* 類型 2 的表頭背景色 */
    }

    .rwd-table.table-center tr th,
    .rwd-table.table-center tr td {
        text-align: center; /* 居中對齊 */
    }
}


/* 審核專區專用-RWD表格 */
.rwd-table-complex {
    background: #fff;
    overflow: hidden;
    margin-bottom: 24px;
    vertical-align: middle !important;
}
.rwd-table-complex {
    min-width: 100%;
} 
.rwd-table-complex th {
    display: none;
}
.rwd-table-complex td {
    display: block;
}
.rwd-table-complex td:before {
    content: attr(data-th) " : ";
    font-weight: bold;
    display: inline-block;
    padding-right: 5px;
}
.rwd-table-complex th, 
.rwd-table-complex td {
    text-align: left;
}
.rwd-table-complex th, 
.rwd-table-complex td:before {
    color: #333;
    font-weight: bold;
}
@media (min-width: 992px) {
    .rwd-table-complex tr:nth-of-type(odd) th {
        /*background: #d6f5f7;*/
        background-color: var(--primary-color); /* 表頭使用主色 */
        color: #fff; /* 表頭文字顏色使用白色 */
    }
    .rwd-table-complex tr:nth-of-type(4n+1) th{
        border-top: 2px solid #b1b1b1;
    }
    .rwd-table-complex td:before {
        display: none;
    }
    .rwd-table-complex th, 
    .rwd-table-complex td {
        display: table-cell;
        padding: 0.25em 0.5em;
    }
    .rwd-table-complex th:first-child,
    .rwd-table-complex td:first-child {
        padding-left: 0;
    }
    .rwd-table-complex th:last-child,
    .rwd-table-complex td:last-child {
        padding-right: 0;
    }
    .rwd-table-complex th,
    .rwd-table-complex td {
        padding: 0.5em !important;
    }
}
@media (max-width: 991px) {
    .rwd-table-complex tr:nth-of-type(4n+2) {
        border-bottom: 0;
    }
    .rwd-table-complex tr:nth-of-type(4n+3) {
        border: 0;
    }
    .rwd-table-complex tr:nth-of-type(4n+4) {
        border-top: 0;
    }
}
/* 表格內icon */
.table-link {
    text-decoration: none;   
}
.table-link-icon {
    width: 22px;
    height: auto;
    vertical-align: middle;
}
.table-link:hover .table-link-icon {
    -webkit-filter: brightness(1.15);
    filter: brightness(1.15);
}

/* 表格分頁使用 */
.row-hidden{
    display: none;
}
.page-item.active .page-link {
    background-color: #35bec0;
    border-color: #35bec0;
}
.page-link {
    color: #35bec0;
}
.page-link:hover {
    color: #00cad1;
}
.page-link:focus {
    box-shadow: none;
}

/* th在左欄的表格 */
.table-left-th > tbody > tr > th {
    background: #d6f5f7;
    vertical-align: middle;
    overflow-y: scroll;
}

/* 調整日期選擇器樣式 */
.form-control[readonly] {
    background-color: #fff;
}
@media (min-width: 576px) {
    .picker__frame {
        max-width: 360px;
    }
}
.picker--opened .picker__frame {
    transform: translateY(-15%);
}
.input-icons { 
    position: relative;
    width: 100%; 
} 
.input-icons > i { 
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-52%);
    cursor: pointer;
} 
.input-icons > i.bi-calendar:hover,
.input-icons > i.bi-calendar:focus,
.input-icons > i.bi-calendar:active {
    color: #0089ec !important;
}

/* 通用寬高設定 */
@media (min-width: 1200px) {
    .w-92-xxl {
        width: 92%!important;
    }
}

/* 通用按鈕顏色 */
.btn-outline-primary {
    border-color: #35bec0;
    color: #35bec0;
    min-width: 100px;
}
.btn-outline-primary:hover {
    background: #00cad1;
    color: #fff;
    border-color: #35bec0;
    box-shadow: none;
}
    .btn-outline-primary:active,
    .btn-outline-primary:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.5); /* 黑色外框，半透明 */
    }
    .btn-primary,
    .btn-outline-primary.active {
        background: #007E9B;
        border: 1px solid #007E9B;
        min-width: 100px;
    }
        .btn-primary:hover,
        .btn-primary:active,
        .btn-primary:focus,
        .btn-outline-primary.active:hover,
        .btn-outline-primary.active:active,
        .btn-outline-primary.active:focus {
            border: 1px solid #e77a29;
            background: #e77a29;
            box-shadow: none;
        }
.btn-second {
    background:#eb7d38;
    color: #fff;
    border: 0;
    min-width: 100px;
}
.btn-second:hover,
.btn-second:active,
.btn-second:focus {
    background: #eb6612;
    color: #fff;
}
.btn-sub {
    background: rgba(65, 105, 225, 0.7);
    color: #fff;
    border: 0;
    min-width: 100px;
}
    .btn-sub:hover,
    .btn-sub:active,
    .btn-sub:focus {
        background: rgba(65, 105, 225, 0.8);
        color: #fff;
    }

/* 通用文字顏色 */
.color-main {
    color: #35bec0;
}
a.color-main:hover,
a.color-main:focus,
a.color-main:active {
    color: #e77a29;
}
.color-second {
    color: #eb7d38;
}

/* 審核專區表格 */
.form-check.form-check-inline > .form-check-label {
    cursor: pointer;
}
.img-icon {
    height: 17px;
    width: auto;
    vertical-align: middle;
}

/* 地圖工具列 */
#pills-tab .nav-link {
    color: #333;
    font-size: 18px;
}
#pills-tab.nav-pills .nav-link.active {
    color: #e77a29;
}
.maptool-tab-content {
    position: relative;
}
.maptool-tab-content > .tab-pane {
    padding: 30px 15px;
    background: #fff;
    position: absolute;
    top: 0px;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 2px 4px #0000008c;
    border-radius: 0 0 4px 4px;
}
.maptool-tab-content > .tab-pane.maptool-p1 {
    left: 0;
}
.maptool-tab-content > .tab-pane.maptool-p2 {
    left: 25%;
    transform: translateX(-50%);
}
.maptool-tab-content > .tab-pane.maptool-p3 {
    left: 41.6666%;
    transform: translateX(-50%);
}
.maptool-tab-content > .tab-pane.maptool-p4 {
    left: 58.3333%;
    transform: translateX(-50%);
}
.maptool-tab-content > .tab-pane.maptool-p5 {
    left: 75%;
    transform: translateX(-50%);
    /* max-height: 350px;
    overflow-y: auto; */
}
.maptool-tab-content > .tab-pane.maptool-p6 {
    left: 91.6666%;
    transform: translateX(-50%);
}
.tab-pane-closebtn {
    display: block;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
    background: #eb7d38;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    text-align: center;
}
.tab-pane-closebtn img {
    width: 10px;
    height: auto;
}
.tab-pane-closebtn:hover,
.tab-pane-closebtn:focus,
.tab-pane-closebtn:active {
    background: #eb6612;
}
@media (max-width: 991px) {
    .maptool-tab-content > .tab-pane {
        display: none;
    }
}

/* 切換底圖 */
.basemap-each {
    text-align: center;
    cursor: pointer;
}
.basemap-each img {
    width: 60%;
    height: auto;
    margin: 0 auto;
    border-radius: 4px;
    border: 3px solid transparent;
}
.basemap-each > div {
    margin-top: 5px;
    font-size: 18px;
}
.basemap-each.selected img {
    border-radius: 4px;
    border: 3px solid #eb7d38;
}
.basemap-each.selected > div {
    color: #eb7d38;
}

/* 顯示功能 */
#maptool-2 .form-switch {
    margin: 20px 30px;
}
#maptool-2 .form-switch:first-child {
    margin-top: 0;
}
/* .form-check-input:checked {
    background-color: #35bec0;
    border-color: #35bec0;
}
.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgb(0,202,209,.3);
    border-color: rgb(0,202,209,.5);
} */

/* 圖層列表 */
.info-outline-primary {
    border: 1px solid #35bec0;
    color: #35bec0;
    border-radius: 4px;
    padding: 6px 12px;
}
.form-check-maplist {
    margin-top: 10px;
    margin-bottom: 10px;
}
.form-check-maplist .form-check {
    border-bottom: 1px solid #ccc;
    padding-top: 8px;
    padding-bottom: 8px;
}

/* 空間定位 */
.nav-tabs.nav-underline-tabs {
    border-bottom: 0;
}
.nav-tabs.nav-underline-tabs .nav-link {
    border: 0;
    border-bottom: 3px solid #ccc;
    color: #333;
}
.nav-tabs.nav-underline-tabs .nav-link.active {
    border-bottom: 3px solid #35bec0;
}
#location-tab-content {
    min-width: 400px;
}
#ResultList {
    max-height: 60px;
    overflow-y: auto;
}
/* 圖例 */
/*.map-legend {
    width: 50%;*/ /* 或者設為具體的像素值，例如 400px */
    /*height: 50%;*/ /* 保持高度的自動調整以維持圖片比例 */
/*}*/
/* 圖例容器 */
.map-legend {
    padding: 10px;
    background-color: #f0f0f0;
    width: 300px;
    font-size: 18px;
    font-weight: bold; /* 加粗字體 */
}

/* 各種符號樣式 */
.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.legend-box {
    width: 30px;
    height: 20px;
    margin-right: 10px;
    border: 2px solid red;
}

.legend-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid #ffff00; /* 將外框顏色改為黃色 */
}

    .legend-circle.green {
        background-color: #00ff00;
    }

    .legend-circle.yellow {
        background-color: #ffff00;
    }

    .legend-circle.red {
        background-color: #ff0000;
    }

.legend-line {
    width: 50px;
    height: 3px;
    margin-right: 10px;
}

.line-blue {
    background-color: #70a8db;
}

.line-green {
    background-color: #b4d5a7;
}
/* 地圖工具列(Mobile版) */
.maptool-mobile {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    border-top: 1px solid #ccc;
}
.maptool-mobile > a {
    flex: 1;
    text-align: center;
    text-decoration: none;
    background: #fff;
    padding: 8px 5px;
    color: #555;
    font-weight: bold;
    font-size: 12px;
}
.maptool-mobile > a:hover,
.maptool-mobile > a:active,
.maptool-mobile > a:focus {
    box-shadow: none;
}
.maptool-mobile > a > i {
    font-size: 22px;
}
.maptool-mobile > a.active {
    color: #35bec0;
}
.maptool-mobile-icon {
    width: 22px;
    height: 22px;
}
/* 照片上傳(Ｍobile版) */
.upload-section {
    position: relative;
    margin-bottom: 10px;
}
.upload-img {
    display: block;
    width: calc(100% - 10px);
    height: auto;
    margin: 0 auto;
    /* object-fit: cover; */
}
.close-upload-btn {
    position: absolute;
    top: 5px;
    right: 12px;
    z-index: 9999;
    border: 0;
    background: transparent;
    padding: 0;
}
.close-upload-btn i {
    color: #555;
    font-size: 22px;
    font-weight: bold;
}

/* 地圖切換(Ｍobile版) */
.change-map-mobile {
    margin-bottom: 15px;
}
.change-map-mobile img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 3px solid transparent;
}
.change-map-mobile > div {
    margin: 10px 0;
    text-align: center;
    line-height: 1.2;
}
.change-map-mobile.selected img {
    border-radius: 4px;
    border: 3px solid #eb7d38;
}
.change-map-mobile.selected > div {
    color: #eb7d38;
}

/* 表格切換分頁(pagination BS v3.3.6) */
.pagination-container .pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}
.pagination-container .pagination > li {
    display: inline;
}
.pagination-container .pagination > li > a,
.pagination-container .pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #35bec0;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}
.pagination-container .pagination > li:first-child > a,
.pagination-container .pagination > li:first-child > span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.pagination-container .pagination > li:last-child > a,
.pagination-container .pagination > li:last-child > span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.pagination-container .pagination > li > a:hover,
.pagination-container .pagination > li > span:hover,
.pagination-container .pagination > li > a:focus,
.pagination-container .pagination > li > span:focus {
    z-index: 2;
    color: #35bec0;
    background-color: #d6f5f7;
    border-color: #ddd;
    cursor: pointer;
}
.pagination-container .pagination > .active > a,
.pagination-container .pagination > .active > span,
.pagination-container .pagination > .active > a:hover,
.pagination-container .pagination > .active > span:hover,
.pagination-container .pagination > .active > a:focus,
.pagination-container .pagination > .active > span:focus {
    z-index: 3;
    color: #fff;
    cursor: pointer;
    background-color: #35bec0;
    border-color: #35bec0;
}
.pagination-container .pagination > .disabled > span,
.pagination-container .pagination > .disabled > span:hover,
.pagination-container .pagination > .disabled > span:focus,
.pagination-container .pagination > .disabled > a,
.pagination-container .pagination > .disabled > a:hover,
.pagination-container .pagination > .disabled > a:focus {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/*APP安裝*/
.MobileInstall-img {
    max-height: 530px;
    width: auto;
}
.img-slider .MobileInstall-img {
    margin: 15px auto;
}
.slick-prev:before, .slick-next:before {
    color: #35bec0;
    font-size: 46px;
}
.img-intxt {
    width: 20px;
    height: auto;
    vertical-align: sub;
    display: inline-block;
    margin-right: 8px;
}
@media (max-width: 768px) {
    .slick-prev:before, .slick-next:before {
        font-size: 40px;
    }
    .slick-prev {
        left: -8px;
    }
    .slick-next {
        right: 15px;
    }
}

/* google map(可移除) */
.google-maps {
    position: relative;
    height: calc(100vh - 110px);
    overflow: hidden;
}

.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}
/*map新增點位格式*/
#AsbestosAddPoint {
    display: flex;
    align-items: center;
}

    #AsbestosAddPoint input[type="submit"] {
        background: #35bec0;
        color: #fff;
        border: 0;
        border-radius: 4px;
        padding: 3px 6px;
    }
/*#CnterLon {
    width: 85px;
    height: auto;
    vertical-align: sub;
    display: inline-block;
    margin-right: 8px;
}*/
/*
#CnterLat {
    width: 85px;
    height: auto;
    vertical-align: sub;
    display: inline-block;
    margin-right: 8px;
}
    */
.urlhide {
    visibility:hidden;
}
.Pink-bacground {
    background-color: pink;
}
.image-container {
    max-width: 100%; /* 图片容器最大宽度为其父元素宽度 */
    height: auto; /* 保持图片宽高比 */
}

    .image-container img {
        max-width: 100%; /* 图片最大宽度为其容器宽度 */
        height: auto; /* 保持图片宽高比 */
    }
.list-style-type-n li {
    list-style-type: none;
}

.table-container {
    overflow-x: auto;
}
.inline-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px; /* 可根據需要調整按鈕之間的間距 */
    align-items: center;
}

    /*tbody {
    display: block;
    height: 500px;
    overflow: auto
}

    thead, tbody tr {
        display: table;
        width: 100%;
        table-layout: fixed;*/ /*even columns width , fix width of table too*/
    /*}

thead {
    width: calc( 100% - 1em )*/ /*scrollbar is average 1em/16px width, remove it from thead width*/
    /*}*/

:root {
    --primary-dark-color: #007E9B; /* 深色主題 */
    --text-light-color: #ffffff; /* 白色文字 */
}

.table th, .rwd-table th, .rwd-table-complex th {
    display: table-cell; /* 確保表頭顯示 */
    background-color: var(--primary-dark-color); /* 深色背景 */
    color: var(--text-light-color); /* 白色文字 */
    font-weight: bold;
    padding: 6px;
    text-align: center;
    font-size: 15px;
    height: 60px;
    line-height: 1.4;
    white-space: normal;
    vertical-align: middle;
}
/* 設定表頭背景顏色為主色，並增加每個 th 的寬度 */
.Long-width-table thead th {
    background-color: var(--primary-color); /* 使用主色 */
    color: #ffffff; /* 白色文字 */
    padding: 10px;
    text-align: left;
    min-width: 150px; /* 設置每個 th 的最小寬度為 150px */
    border: 1px solid #dee2e6; /* 添加邊框 */
}

/* 表格內容部分，確保單元格的樣式與表頭一致 */
.Long-width-table td {
    padding: 10px;
    border: 1px solid #dee2e6;
    min-width: 150px; /* 內容列的最小寬度保持與表頭一致 */
}
