﻿
body {
    /*font-family: sans-serif, Arial, "微軟正黑體";
    */
}

ul li {
    list-style: none;
}

p {
    margin: 0;
}

/* 輸入方塊鎖定狀態樣式 */
input[readonly="readonly"], select[disabled="disabled"], textarea[disabled="disabled"] {
    background-color: #e4e4e4 !important;
}
input, textarea, select {
    color: #000;
}
input::placeholder {
    font-style: oblique;
}
/*#region 切版樣式覆蓋調整 */

/* 左側選單 預設所有 a 標籤的顏色設置 */
.sticky-top a {
    color: white;
    /* 設定預設顏色為白色 */
    text-decoration: none;
    /* 移除下劃線 */
}
    /* 當滑鼠移到 a 標籤時變色 */
    .sticky-top a:hover, .sticky-top a.active {
        color: yellow;
        /* 設定滑鼠移上去時的變色 */
    }

.search-box {
    position: relative;
}

    .search-box .search-btn {
        position: absolute;
        right: 0;
        top: 0;
    }

.keyword-mark {
    background: #44b577;
    color: #FFF;
}

.list-style-03 .active {
    background-color: #3b3b3b5c;
    margin: 0 -10px;
    padding: 10px 10px;
    border-radius: 10px;
}

/* 上方選單展開修正 */
#Block_Check_Login {
    left: -80px !important;
}

/*#endregion */

/*#region 其他 */

/*上方選單*/
#navbarNav .nav-link {
    line-height: initial;
    font-weight: bolder;
}

    #navbarNav .nav-link:hover {
        color: #0179D2 !important;
    }

/* 首頁快捷服務 */
.service-list .feature-box {
    display: block;
}

.service-list .feature-box-icon {
    position: relative;
    width: 100%;
    border: 3px solid #dddddd;
    border-radius: 100%;
    background: #FFF;
}

    .service-list .feature-box-icon::after {
        content: "";
        display: block;
        float: left;
        padding-bottom: 100%;
    }

.service-list .feature-box-content .text-green {
    line-height: initial;
}

/*跑馬燈*/
.marquee-left {
    font-weight: bolder;
    position: relative;
}

    .marquee-left .left-animation {
        position: absolute;
        width: 100%;
        overflow: hidden;
    }

.marquee-left-text {
    display: inline-block;
    white-space: nowrap;
    animation: marquee-left 15s linear infinite;
}

.marquee-left a {
    color: #00AAEA;
}

    .marquee-left a:hover {
        color: #000;
    }

@keyframes marquee-left {
    0% {
        transform: translateX(0);
    }

    40% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.marquee-down {
    font-weight: bolder;
    position: relative;
}

    .marquee-down .down-text-block {
        color: transparent;
    }

    .marquee-down .down-animation {
        height: 100%;
        width: 100%;
        overflow: hidden;
        position: absolute;
        top: 0;
    }

    .marquee-down a {
    }

        .marquee-down a:hover {
            color: #000;
        }

    .marquee-down .down-animation span {
        position: absolute;
        width: 100%;
        height: 100%;
        margin: 0;
        transform: translateY(0%);
        animation: marquee-down 2s linear infinite;
        color: #00AAEA;
    }

@keyframes marquee-down {
    0% {
        transform: translateY(-100%);
    }

    25% {
        transform: translateY(0%);
    }

    100% {
        transform: translateY(0%);
    }
}

/*手機選單*/
.m_memu {
    padding: 7px 15px;
    border: 1px solid #dfdfdf;
}

    .m_memu .dropdown-menu {
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
        margin: 8px 0 0 -14px;
        border: none;
        border-radius: 5px;
        width: max-content;
    }

        .m_memu .dropdown-menu li {
            padding: 9px 45px 9px 35px;
            display: block;
        }

            .m_memu .dropdown-menu li:hover, .m_memu .dropdown-menu li:active {
                background: #44b577;
            }

                .m_memu .dropdown-menu li:hover a, .m_memu .dropdown-menu li:active a {
                    color: #FFF;
                }

        .m_memu .dropdown-menu .dropdown a {
            display: block;
            color: #828282;
            font-size: 16px;
            line-height: normal;
            font-weight: 500;
        }
/*list slider 首頁new分頁切換 */
.slider > div {
}

.slick-dots {
    position: relative !important;
    bottom: -3px !important;
}

    .slick-dots li button:before {
        font-family: '' !important;
        color: transparent !important;
    }

[role="tablist"] [role="presentation"] {
    list-style: none;
    display: initial;
    float: left;
}

    [role="tablist"] [role="presentation"] button {
        width: 5px;
        height: 5px;
        border-radius: 10px;
    }

    [role="tablist"] [role="presentation"]:not(.slick-active) button {
        background-color: transparent;
        border: 2px solid #808080;
    }

    [role="tablist"] [role="presentation"].slick-active button {
        background-color: #44b577;
        border: 2px solid #44b577;
    }

.slick-dots li button::before {
    content: "";
}
/* 導覽列 */
.Navi {
    font-size: 18px !important
}

    .Navi a {
        color: #44b577;
        text-decoration: underline;
    }

        .Navi a:hover {
            color: #008CBB;
            text-decoration: underline;
        }

    .Navi .arrow {
        font-size: 12px !important;
        padding: 0 10px;
        color: #000000;
    }


/*上方選單紅色標記*/
.crt-new {
    color: red;
    font-size: 12px;
}

.crt-badge {
    background: red;
    width: 10px;
    height: 10px;
    border-radius: 10px;
    position: absolute;
    right: 20px;
    top: 10px;
}

@media (max-width: 1024px) {
    .crt-badge {
        background: #f92929;
        width: 10px;
        height: 10px;
        border-radius: 10px;
        position: absolute;
        left: 160px;
        top: 26px;
    }
}

/* 步驟樣式 */
.stepper-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.stepper-line {
    position: absolute;
    top: 26px;
    left: 0;
    right: 0;
    height: 3px;
    background: #44b584;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid #dfdfdf;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    color: #dfdfdf;
    transition: 0.3s;
}

    .circle.done {
        border-color: #27ae60;
        background: white;
        color: #27ae60;
    }

    .circle.active {
        background: #27ae60;
        color: white;
        border-color: #27ae60;
        box-shadow: 0 0 10px rgba(50, 150, 255, 0.3);
    }
/* 標題 */
.label {
    margin-top: 8px;
    font-size: 16px;
    color: #4d4d4d;
    text-align: center;
}

/*#endregion */

/*#region Telerik 自訂樣式調整 */

/*按鈕邊線*/
.rbLinkButton {
    padding: 0 !important;
    border-style: none !important;
    float: left;
    clear: none;
    line-height: inherit !important;
}
/*驗證碼刷新icon*/
.rcRefreshImage {
    float: left;
    width: 37px;
    height: 35px;
    background: url(../Images/reload.png) no-repeat;
}
.rcCaptchaImage {
    float: left;
}

/*日期選擇*/
.RadPicker .riDisabled {
    background-color: #e4e4e4 !important;
    color: #000 !important;
    opacity: 1 !important;
}

.RadPicker .RadInput .riTextBox, .RadInputMgr {
    padding: 5px 18px !important;
}

.RadDataPager_Custom .rdpNumPart a, .RadDataPager_Custom .rdpPagerButton, .RadDataPager_Custom .rdpActionButton {
    border: 0;
    width: 30px;
    height: 30px;
    margin: 0;
    background: transparent;
    text-align: center;
    border-radius: 100%;
    line-height: 30px;
    background: transparent;
    color: #828282;
}

    .RadDataPager_Custom .rdpNumPart a.rdpCurrentPage, .RadDataPager_Custom .rdpNumPart a:hover {
        background: #fff;
        color: #232323;
        box-shadow: 0 0 10px rgb(23 23 23 / 15%);
    }

.RadDataPager_Custom .rdpPagePrev .rdpIcon:before, .RadDataPager_Custom .rdpPageNext .rdpIcon:before, .RadDataPager_Custom .rdpPageFirst .rdpIcon:before, .RadDataPager_Custom .rdpPageLast .rdpIcon:before {
    font-size: 30px;
}

.RadDataPager_Custom .rdpPagePrev, .RadDataPager_Custom .rdpPageNext, .RadDataPager_Custom .rdpPageFirst, .RadDataPager_Custom .rdpPageLast {
    border: 0;
    width: 30px !important;
    height: 30px !important;
    margin: 0;
    line-height: 30px !important;
}

.RadDataPager_Custom {
    display: flow-root !important;
    background-color: #f3f3f3 !important;
    border-radius: 5px !important;
    padding: 0 10px !important;
}

    .RadDataPager_Custom .rdpNumPart a, .RadDataPager_Custom .rdpActionButton {
        padding: 2px !important;
    }

    .RadDataPager_Custom .rdpPagerLabel {
        color: #000000;
        font-size: 16px;
    }

    .RadDataPager_Custom input {
        margin: 0 0 0 0;
        border-radius: 4px;
        font-size: 16px;
    }

    .RadDataPager_Custom .RadInput .riTextBox {
        background-color: #FFF;
    }

    .RadDataPager_Custom .rdpPagerButton {
        background: #44b577;
        color: #FFF;
        margin: 0 10px;
        font-size: 16px;
    }

    .RadDataPager_Custom .rdpWrap {
        color: #000000;
        font-size: 16px;
        float: left;
        line-height: 36px;
        margin: 10px 0px;
    }

/*內文樣式調整*/
.Description *:not(table,tr,td,thead,tbody,th) {
    all: initial;
    font-family: "微軟正黑體", Arial, Helvetica, sans-serif;
}

.Description table {
    float: none;
}

.Description table, .Description td {
    border: 1px solid #000;
    margin: -1px;
    position: relative;
}

.Description p {
    display: block;
}

.Description a {
    color: blue;
}

    .Description a:hover {
        color: orange;
        cursor: pointer;
    }
/*選擇檔案*/
.RadUpload {
    width: auto !important;
}

    .RadUpload .ruDropZone {
        left: 0px !important;
        top: 0px !important;
        background: #f1f1f1;
        border: 3px #bfb9b9;
        border-style: dashed;
    }

    .RadUpload .ruFileWrap {
        height: 47px !important;
        display: inline-flex !important;
    }

    .RadUpload input[type="button"] {
        margin: 0;
    }

    .RadUpload input[type="text"] {
        border: 1px solid #d5d6de;
        color: #a1a1a1;
        height: 40px;
        padding-left: 9px !important;
        /*background: transparent;
     border: 0px none;
     border-bottom: 1px solid #949494;
     font-size: 1.5rem;
     line-height: 1.78571;
     color: #a1a1a1;
     height: 30px;
     border-radius: 2px;
    */
    }

        .RadUpload input[type="text"]:hover, .RadUpload input[type="text"]:focus {
            border-bottom: 1px solid #000;
        }

    .RadUpload .ruFakeInput {
        display: none;
    }

    .RadUpload input[type="button"].ruBrowse {
        width: auto;
        height: auto;
        font-size: 16px;
        padding: 0px;
        padding: 12px 14px;
        color: #757575;
        border: 1px solid #adadad;
    }

    .RadUpload input[type="button"].ruRemove {
        width: auto;
        height: auto;
        font-size: 16px;
        padding: 0px;
        padding: 12px 14px;
        color: red;
    }

    .RadUpload .ruUploadSuccess {
        background-position: 0 0% !important;
        padding-top: 15px;
        padding-right: 10px;
    }

    .RadUpload .ruUploadFailure {
        background-position: 0 92% !important;
        padding-top: 8px;
        padding-right: 10px;
    }

        .RadUpload .ruUploadFailure::after {
            content: '\A請選擇正確檔案格式';
            white-space: pre;
            color: red;
        }

/* Reporting */
.ReportToolbar {
    background-image: none !important;
    font-size: 16px;
    font-family: Verdana;
    height: 45px !important;
    border: 1px solid #c5c5c5 !important;
    background-color: #FAFAFA;
    margin-bottom: 3px;
}

    .ReportToolbar .InputButtonClass {
        margin-top: 10px !important;
    }

    .ReportToolbar input, .ReportToolbar textarea {
        border: 0px solid #dfdfdf;
        padding: 0;
        width: 100%;
        /* margin: 0 0 15px 0;
     */
        max-width: 100%;
        resize: none;
        outline: none;
        color: #828282;
        line-height: initial;
        word-break: initial;
        margin: 0;
        padding-top: 9px;
    }

        .ReportToolbar input[type="text"] {
            border: 1px solid #888888;
            padding: 5px;
            border-radius: 5px;
            width: 50%;
        }

    .ReportToolbar select {
        border: 1px solid #888888;
        padding: 4px;
        width: 100%;
        margin: 0 40px 0 0 !important;
        max-width: 100%;
        resize: none;
        outline: none;
        color: #828282;
        line-height: initial;
        word-break: initial;
        margin: 0;
        border-radius: 5px;
    }

.DisabledLink, .ActiveLink {
    background: #ffffff;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid;
    color: gray !important;
    text-decoration: none;
    font-size: 8pt;
}

[id*="Report_Check"] iframe {
    background: #CCCCCC;
    border: 1px solid #CCCCCC;
}

/*#endregion */

/*#region 自訂控制項 */

.custom-btn {
    padding: 7px 15px;
    background-color: #44b577;
    color: white !important;
    border: 1px solid #44b577;
}

    .custom-btn:hover {
        cursor: pointer;
        background-color: white;
        color: #000000 !important;
        border: 1px solid #dfdfdf;
    }

.custom-radio:has(input[disabled="disabled"]) .mark, .custom-check:has(input[disabled="disabled"]) .mark {
    background-color: #e4e4e4 !important;
}

    .custom-radio:has(input[disabled="disabled"]) .mark:after {
        background: #a9aeb3 !important;
    }

/* 表格基礎樣式，針對 custom-table */
.custom-table {
    border-collapse: collapse;
    width: 100%;
    margin: 0 auto;
    box-shadow: none;
    border: none;
}
    /* 表頭樣式 */
    .custom-table th {
        background-color: #44b577;
        padding: 10px;
        font-weight: bold;
        color: #fff;
    }
    /* 表格內部間距 */
    .custom-table td, .custom-table th {
        padding: 12px;
        text-align: left;
        border-bottom: 1px solid #ddd;
    }
    /* 滑過整行的效果 */
    .custom-table tr:hover {
        background-color: #f0f0f0;
    }
/* 手機響應式設計 */
@media only screen and (max-width: 768px) {
    .custom-table th {
        display: none;
        /* 隱藏表頭 */
    }

    .custom-table tr {
        display: block;
        margin-bottom: 10px;
    }

    .custom-table td {
        display: block;
        text-align: left;
        padding-left: 50%;
        position: relative;
        border: none;
        background-color: #f0f0f0;
        /* 設定背景色 */
        color: #333;
        /* 文字顏色 */
        border-radius: 0px;
        /* 增加圓角 */
    }
        /* 讓 data-label 顯示在手機上的表格前面，並改變顏色 */
        .custom-table td::before {
            content: attr(data-label);
            position: absolute;
            left: 0;
            width: 45%;
            padding-left: 15px;
            font-weight: bold;
            text-align: left;
            white-space: nowrap;
            /* 防止折行 */
            color: #44b577;
            /* 標籤顏色 */
        }
    /* 讓表格內容在小屏幕上保持一致的間距 */
    .custom-table td {
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

.custom-link {
    color: #1393BF;
    cursor: pointer;
    text-decoration: underline;
    font-weight: bold;
}

    .custom-link:hover {
        color: #2E94EB;
    }

    .custom-link:focus {
        color: #1393BF;
        text-decoration: underline;
    }

.custom-hr {
    border-top: 3px solid #d2d2d2;
    padding-bottom: 15px;
}
/* 區塊 */
.custom-block .title {
    font-size: 22px;
    font-weight: bold;
    line-height: normal;
    color: #FFFFFF;
    background-color: #44b577;
    padding: 10px 20px;
}

.custom-block .body {
    background: #fafafa;
    border: 1px solid #e4e4e4;
    margin-bottom: 20px;
}
/* tab */
.custom-tab.nav-tabs > li.nav-item > a.nav-link.active,
.custom-tab.nav-tabs > li.nav-item > a.nav-link.active:hover,
.custom-tab.nav-tabs > li.nav-item > a.nav-link:hover {
    background: transparent;
    border-color: #44b577;
    color: #44b577;
    cursor: pointer;
}

.custom-tab.nav-tabs > li.nav-item > a.nav-link {
    border-bottom: 2px solid transparent;
}
/*#endregion */

/*#region 補 boostrap 標籤用  */

.font-weight-light {
    font-weight: lighter !important;
}

.font-weight-normal {
    font-weight: normal !important;
}

.font-weight-bold {
    font-weight: bold !important;
}

.font-weight-bolder {
    font-weight: bolder !important;
}

.font-italic {
    font-style: italic !important;
}

.text-right {
    text-align: right !important;
}

/*#endregion */

/*#region 按鈕 */

.btn-add {
    border: 2px solid #44b577;
    background-color: #44b577;
    color: #FFFFFF;
    padding: 5px 10px;
}

    .btn-add:hover {
        border: 2px solid #44b577;
        background-color: #FFFFFF;
        color: #000000;
        padding: 5px 10px;
    }

.btn-remove {
    border: 2px solid #dc3545;
    color: #dc3545;
    padding: 5px 10px;
}

.btn-prev {
    border: 2px solid #ffc107;
    background-color: #ffc107;
    color: #FFFFFF;
    padding: 5px 10px;
}

.btn-next {
    border: 2px solid #27ae60;
    background-color: #27ae60;
    color: #FFFFFF;
    padding: 5px 10px;
}

.btn-submit {
    border: 2px solid #27ae60;
    background-color: #27ae60;
    color: #FFFFFF;
    padding: 5px 10px;
}

.btn-save {
    border: 2px solid #27ae60;
    color: #27ae60;
    padding: 5px 10px;
}

.btn-back {
    border: 2px solid #E0E0E0;
    padding: 5px 10px;
}

/*#endregion */

/*置頂按鈕*/
.scroll-top-arrow, .scroll-top-arrow:focus {
    background: #fff;
    font-size: 32px;
    line-height: 50px;
    height: 50px;
    width: 50px;
}

.feather {
    color: #1ba358;
    font-weight: bolder;
}
.icon-feather-arrow-right, .icon-feather-arrow-left {
    color: #000;
    font-weight: normal;
}
    .icon-feather-arrow-right:hover, .icon-feather-arrow-left:hover {
        color: #FFF;
        font-weight: normal;
    }

.req-mark {
    color: red;
    font-weight: bolder;
}
