body{
    background: #f8f9ff;
}
.tmgo-components {
    width: 100%;
    height: 100%;
    min-width: 323px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media screen and (max-width:1800px) {
    .tmgo-components {
        width: 100%;
    }
}

.tmgo-components .main_intro_section {
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: end;
    /* margin: 0 auto; */
}

.tmgo-components .my_package {
    width: 311px;
    justify-content: space-between;
}

.tmgo-components .tmgo-row {
    width: 100%;
    margin-bottom: 40px;
}

.tmgo-components .tmgo-body h3 {
    font-size: 35px;
    color: #285ee4;
    font-weight: 600;
    padding-bottom: 24px;
    letter-spacing: 1px;
    position: relative;
    display: flex;
    align-items: baseline;
}

.sc-components_tmgo {
    display: flex;
    flex-wrap: wrap;
}

.sc-components_tmgo .item {
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 24px;
}

.sc-components_tmgo .item .item-text {
    color: #658ae6;
    width: 240px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
}

.sc-components_tmgo .sc-item {
    width: 240px;
    height: 240px;
    padding: 10px;
    margin-bottom: 24px;
    border-radius: 12px;
    color: #658ae6;
    background: #fff;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    transition:all .2s ease-out ;
    transform: scale(1);
    box-sizing: border-box;
    user-select:none;
}

.sc-components_tmgo .sc-item span {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
}


.sc-components_tmgo .sc-item:hover {
    background: #658ae6;
    color: #fff;
}



.hide {
    display: none !important;
}

/* 按鈕狀態 */
.disabled{
    cursor: not-allowed;
} 

/* 動作的按鈕 */
.act-disabled{
    cursor: not-allowed;
    background: #C6C6C6;
}

.disabled_btn {
    background-color: #C6C6C6;
    cursor: not-allowed;
    box-shadow: 0px 0px 0px 0;
}

.act_icon i{
    color: #285ee4;
}
.act_icon.disabled i{
    color: #C6C6C6;
}

.act_btn {
    display: inline-block;
    width: 40px;
    height: 16px;
    background: #658ae6;
    color: #fff;
    padding: 5px 10px;
    font-size: 14px;
    /* line-height: 1.5; */
    border-radius: 36px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.16);
}

.act_btn:hover {
    background-color: #285ee4;
}

.act_btn:active {
    background-color: #2E4A8F;
    transform: scale(.98)
}

.act_btn.act-del{
    background: #d16a01;
}

.act_btn.copy_btn {
    width: 102px;
    background: #d16a01;
}

.act_btn.act-del:hover,
.act_btn.copy_btn:hover {
    background-color: #AD5700;
}

.act_btn.act-del:active,
.act_btn.copy_btn:active{
    background-color: #5E2F00;
    transform: scale(.98)
}

.act_btn.act-disabled {
    background: #C6C6C6;
}

.record_btn {
    width: 200px;
    height: 32px;
    background-color: #658ae6;
    color: #fff;
    text-align: center;
    font-size: 20px;
    line-height: 1.5;
    border-radius: 8px;
    box-shadow: 2px 4px 10px 0 rgba(4, 128, 128, 0.25);
}

.record_btn:hover {
    background-color: #285ee4;
}

.record_btn:active {
    background-color: #2E4A8F;
    transform: scale(.98)
}

.record_btn.disabled_btn {
    background-color: #C6C6C6;
    box-shadow: 0px 0px 0px 0;
    cursor: not-allowed;
}


 /* ========= 瀏覽圖片設定 ========= */
  
 #preview {
    z-index: 101;
    position: absolute;
    border: 2px solid #285ee4;
    background: #fff;
    padding: 15px;
    border-radius: 15px;
    display: none;
    color: #fff;
    margin-top: 30px!important;
    margin-left: -230px;
    width: 250px;
    min-height: 250px;
    max-height: 350px;
  }
  
  #preview img {
    width: 100%;
    max-height: 350px;
  }
  
  .upload_action {
    height: 0;
    width: 0;
    overflow: hidden;
    visibility: hidden;
  }


/* 有影響的rwd_style */

.tableFixHead .data-table th,
.tableFixHead .data-table td {
    min-width: 0;
    padding: 0;
    /* box-sizing: border-box; */
    box-sizing: content-box;
}

table.data-table tr th {
    font-size: 18px;
    font-weight: 400;
}

table.data-table tr td {
    height: 44px;
    font-size: 16px;
    font-weight: 400;
}

/* 有影響的rwd_style */

/* ---------- .tableFixHead 表格 --------- */
.tableFixHead .data-table tbody tr:nth-child(odd) {
    background: #F6F6F6;
}

.tableFixHead .data-table tbody tr:nth-child(even) {
    background: #FCFCFC;
}

.tableFixHead .data-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    /* border-radius: 15px; */
    /* box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16); */
}

.tableFixHead .data-table thead {
    position: sticky;
    top: 0;
    width: 100%;
    background: #658ae6;
    color: #fff;
    z-index: 3;
    font-size: 18px;
}

.tableFixHead .data-table tbody tr {
    width: 100px;
    height: 44px;
}

.tableFixHead .data-table tbody tr:hover {
    background: #aad9d2;
}

.tableFixHead .data-table tbody tr.row-selected {
    background: #aad9d2;
}


.tableFixHead .data-table th,
.tableFixHead .data-table td {
    text-align: left;
    vertical-align: middle;
}

.tableFixHead .data-table th+th,
.tableFixHead .data-table td+td {
    /* padding-left: 16px; */
    padding: 0 0 0 16px;
}

.tableFixHead .data-table tbody td {
    color: #383838;
}


.table_mcsb_limit .mCustomScrollBox.mCS-minimal-dark+.mCSB_scrollTools.mCSB_scrollTools_horizontal {
    margin: 0 0;
}

.table_mcsb_limit .mCSB_scrollTools.mCSB_scrollTools_horizontal {
    background: transparent;
    height: 10px;
}

.table_mcsb_limit .mCS-minimal-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    background-color: #285ee4;
    margin: 0;
    height: 100%;
}

.table_mcsb_limit .mCS-minimal-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.table_mcsb_limit .mCS-minimal-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar {
    background-color: #285ee4;
}

.table_mcsb_limit .mCSB_scrollTools .mCSB_draggerContainer {
    top: -6px;
    bottom: 4px;
}

/* --------- 匯入檔案list -------- */
.imp_list_form {
    position: relative;
}

.imp_list_form .btn {
    width: 200px;
    height: 32px;
    background-color: #2E4A8F;
    color: #fff;
    position: absolute;
    top: 109px;
    text-align: center;
    font-size: 20px;
    line-height: 1.5;
    border-radius: 8px;
    box-shadow: 2px 4px 10px 0 rgba(4, 128, 128, 0.25);
    border: none;
    cursor: pointer;
}

.imp_list_form .btn:hover {
    background-color: #359B9B;
}

.imp_list_form .btn:active {
    background-color: #285ee4;
    transform: scale(.98)
}

.imp_list_form .btn:disabled,
.imp_list_form .btn:disabled:hover,
.imp_list_form .btn:disabled:active{
    cursor: not-allowed;
    background-color: #C6C6C6;
    box-shadow: 0px 0px 0px 0;
    transform: scale(1)
}


.imp_list_form ul.imp_list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.imp_list_form li.imp_item {
    list-style: none;
    width: 200px;
    height: 101px;
    position: relative;
    background: #fff;
    margin-right: 16px;
    margin-bottom: 16px;
    border-radius: 16px;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    cursor: pointer;
    box-sizing: border-box;
    overflow: hidden;
}

.imp_list_form li.imp_item:first-child {
    margin-bottom: 56px;
}

.imp_list_form .imp_item span {
    width: 100%;
    height: 65px;
    font-size: 28px;
    color: #285ee4;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imp_list_form .imp_item img {
    width: 100%;
    height: 65px;
    object-fit: cover;
}


.imp_list_form .imp_item .imp_btn {
    width: 100%;
    height: 36px;
    background-color: #658ae6;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    outline: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.imp_list_form .imp_item .imp_btn:hover {
    background-color: #285ee4;
}

.imp_list_form .imp_item .imp_btn:active {
    background-color: #2E4A8F;
}

.imp_list_form li.imp_item.disabled {
    cursor: not-allowed;
}

.imp_list_form li.imp_item.disabled .imp_btn {
    background: #C6C6C6;
    cursor: not-allowed;
}

/* .imp_list_form .imp_item .imp_btn.dis_btn {
    background: #C6C6C6;
} */

.imp_list_form .imp_item .imp_btn.disabled,
.imp_list_form li.imp_item.disabled {
    cursor: not-allowed;
}

/* ========== 頁碼 ========== */
.pagination {
    max-width: 100%;
    position: relative;
    height: 80px;
    top: 16px;
    bottom: 0;
    padding-right: 20px;
    box-sizing: border-box;
    margin-top: 8px;
}

.pagination .action {
    display: flex;
    left: 50%;
    top: 25px;
    transform: translate(-50%, 0%);
    position: absolute;
    align-items: center;
}

.pagination .action .prev {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 15px solid #b8b8b8;
    margin-right: 15px;
}

.pagination .action .next {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #b8b8b8;
    margin-left: 15px;
}

.pagination .action ul {
    border-radius: 7px;
    overflow: hidden;
    display: flex;
}

.pagination .action ul li {
    background: #fff;
}

.pagination .action ul li a {
    display: flex;
    text-align: center;
    height: 28px;
    width: 40px;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #646464;
}

.pagination .action ul li a.active {
    background: #285ee4;
    color: #fff;
}

.pagination .info {
    display: flex;
    font-size: 15px;
    color: #767676;
    letter-spacing: 1px;
    position: absolute;
    right: 30px;
    top: 0px;
}

.pagination .info .total_page {
    text-align: right;
    margin-right: 20px;
}

.pagination .info .records {
    text-align: right;
}

.showDiv {
    position: absolute;
    z-index: 59;
    font-size: 18px;
    padding: 5px 16px 8px 16px;
    text-align: center;
    border-radius: 24px;
    color: #359B9B;
    background-color: white;
    border: 3px solid #359B9B;
    box-shadow: 2px 4px 10px rgb(4 128 128 / 25%);
    transition-duration: 0.6s;
    display: none;
}

.showDiv.hidden {
    display: none;
}

.tagContent {
    position: absolute;
    z-index: 100;
    font-size: 18px;
    padding: 16px;
    text-align: center;
    line-height: 1.2;
    border-radius: 10px;
    color: #359B9B;
    background-color: white;
    border: 3px solid #359B9B;
    box-shadow: 2px 4px 10px rgb(4 128 128 / 25%);
    /* transition-duration: 0.6s; */
    display: none;
    max-width: 240px;
    word-break: break-word;
  }


/* --------- checkbox 複選 ---------*/
/* 共用 */
.chk-container {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 40px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    float: right;
    letter-spacing: 1px
}

.chk-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.chk-container .checkmark {
    position: absolute;
    height: 18px;
    width: 18px;
    background: transparent;
    border: 2px solid #285ee4;
    border-radius: 2px;
    transition: .3s;
}

.chk-container .checkmark:after {
    content: "";
    position: absolute;
    width: 5px;
    height: 10px;
    border: solid #138b8b;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    display: none;
}

.chk-container input:checked~.checkmark:after {
    display: block;
}


/* ---------- radio 單選 --------- */
.tb_container {
    display: block;
    position: relative;
    padding-left: 0px !important;
    padding-top: 0px !important;
    width: 50px !important;
    margin-bottom: 0;
    margin-right: 0 !important;
    text-align: center;
    cursor: pointer;
    font-size: 16px !important;
    text-align-last: center !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.tb_container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.tb_container .checkmark {
    position: absolute;
    top: 8px;
    left: 8px;
    height: 20px;
    width: 20px;
    border: 2px solid #285ee4;
    border-radius: 50px;
}

.tb_container:hover input~.checkmark {
    background-color: #fff;
    border: 2px solid #285ee4;
}

.tb_container input:checked~.checkmark {
    background: #fff;
    border: 2px solid #285ee4;
}

/* 點擊時的狀態 */
.tb_container .outter {
    top: 2px;
    position: relative;
    display: block;
    left: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: .3s;
    margin-right: 0;
    margin-bottom: 5px;
}

.tb_container .outter:hover {
    background: #d2e0e4;
}

.tb_container .outter:active {
    background: #a7cdd0;
}

.tb_container input:checked~.outter .checkmark:after {
    display: block;
}

/* 選取圓點 */
.tb_container .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    top: 4px;
    left: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #285ee4;
}


/* sc-data_content*/
/* 下拉類型選擇 */
.sc-data_content .select-selected {
    width: 160px;
    height: 20px;
    border-radius: 20px;
    border: 2px solid transparent;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, .16);
    line-height: 24px;
    text-align: start;
    padding: 8px 16px;
    color: #285ee4;
    font-weight: 600;
}

.sc-data_content .select-selected.select-arrow-active,
.sc-data_content .select-selected.select-arrow-active~.select-items>div {
    border-color: transparent transparent #285ee4 transparent;
}

.sc-data_content .select-selected.select-arrow-active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    color: #3d3d3d;
}

.sc-data_content .select-selected:hover {
    background: #fff;
    border: 2px solid #285ee4
}

.sc-data_content .select-selected:after {
    top: 12px;
    right: 16px;
}

.sc-data_content .select-selected.select-arrow-active {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-top: 2px solid #658ae6;
    border-left: 2px solid #658ae6;
    border-right: 2px solid #658ae6;
}

.sc-data_content .sc-datepicker {
    height: 40px;
    font-size: 14px;
    line-height: 22px;
    color: #285ee4;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, .16);
    padding: 0 13px;
    margin-left: 16px;
    margin-bottom: 0;
    letter-spacing: 1px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    border: 2px solid transparent;
    position: relative;
    cursor: pointer;
}

.sc-data_content .sc-datepicker:hover {
    background: #fff;
    border: 2px solid #285ee4;
}

/*日期選擇器文字顏色及文字大小設定*/
.sc-data_content .sc-datepicker input {
    background: 0 0;
    border: 0;
    color: #285ee4;
    font-size: 20px;
    line-height: 22px;
    outline: none;
    padding: 0;
    letter-spacing: 1px;
    width: 260px;
    text-align: center
}


       /* 預設 */
       input:-webkit-autofill,
       input:-webkit-autofill:hover,
       input:-webkit-autofill:focus,
       input:-webkit-autofill:active {
           -webkit-box-shadow: 0 0 0 30px #fff inset !important;
           -webkit-text-fill-color: #285ee4 !important;
       }

        /* ----- sc-chk_content ----- */
        .sc-chk_content {
            display: flex;
            align-items: baseline;
            position: relative;
        }

        /* -- 已收付款不顯示checkbox --*/
        .sc-chk_content .chk_box {
            display: block;
            font-size: 18px;
            color: #285ee4;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            letter-spacing: 1px;
            height: 40px;
            box-sizing: border-box;
            position: relative;

            padding: 10px 16px 8px 50px;
            margin-right: 16px;
            border-radius: 24px;
            border: 2px solid transparent;
            box-shadow: 0 3px 6px 0 rgba(0, 0, 0, .16);

        }

        .sc-chk_content .chk_box:hover {
            background: #fff;
            border: 2px solid #285ee4;
        }

        .sc-chk_content .chk_box:after {
            content: '';
            height: 18px;
            border-right: 2px solid #ccc;
            position: absolute;
            right: -16px;
        }

        .sc-chk_content .chk_box input {
            position: absolute;
            opacity: 0;
            cursor: pointer;
        }

        /*checkbox位置設定*/
        .sc-chk_content .chk_box .outter {
            position: absolute;
            left: 8px;
            top: -2px;
            padding-top: 5px;
            padding-left: 5px;
            border-radius: 50%;
            width: 34px;
            height: 34px;
            transition: .3s;
        }

        .sc-chk_content .chk_box input:checked~.outter .checkmark:after {
            display: block;
            border-color: #fff;
        }

        .sc-chk_content .chk_box .checkmark {
            width: 20px;
            height: 20px;
            position: absolute;
            top: 8px;
            left: 8px;
            border: 2px solid #285ee4;
            border-radius: 3px;
            z-index: 2;
            background: #fff;
        }

        .sc-chk_content .chk_box input:checked~.outter .checkmark {
            background: #088080;
        }

        .sc-chk_content .chk_box .checkmark:after {
            content: "";
            position: absolute;
            display: none;
            left: 7px;
            top: 2px;
            width: 5px;
            height: 10px;
            border: solid #138b8b;
            border-width: 0 3px 3px 0;
            -webkit-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
            transform: rotate(45deg);
        }


        /* ----- sc-search_content ----- */
        .sc-search_content {
            display: flex;
            align-items: baseline;
            position: relative;
        }

        .sc-search_content .custom-select {
            margin-left: 16px;
        }

        /* -- 下拉類型選擇 */
        .sc-search_content .select-selected {
            width: 196px;
            height: 40px;
            border-radius: 20px;
            border: 2px solid transparent;
            box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
            line-height: 24px;
            text-align: start;
            padding: 8px 16px;
            color: #285ee4;
            font-weight: 600;
            box-sizing: border-box;
        }

        .sc-search_content .select-selected.select-arrow-active,
        .sc-search_content .select-selected.select-arrow-active~.select-items>div {
            border-color: transparent transparent #285ee4 transparent;
        }

        .sc-search_content .select-selected.select-arrow-active {
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
            /* border-radius: 0; */
            color: #3d3d3d;
        }

        .sc-search_content .select-selected:hover {
            background: #fff;
            border: 2px solid #285ee4;
        }

        .sc-search_content .select-selected:after {
            top: 12px;
            right: 16px;
        }

        .sc-search_content .select-selected.select-arrow-active {
            border-top-left-radius: 8px;
            border-top-right-radius: 8px;
            border-top: 2px solid #658ae6;
            border-left: 2px solid #658ae6;
            border-right: 2px solid #658ae6;
        }

        /* -- 搜尋 -- */
        .sc-search_content .record_search {
            width: 196px;
            height: 40px;
            border-radius: 20px;
            border: 2px solid transparent;
            box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
            margin-left: 16px;
            background: #fff;
            padding: 8px 36px 8px 8px;
            position: relative;
            overflow: hidden;
            box-sizing: border-box;
        }

        .sc-search_content .record_search:hover {
            background: #fff;
            border: 2px solid #285ee4;
        }

        .sc-search_content:focus-within .record_search {
            border: 2px solid #285ee4;
            background: #fff;
        }

        .sc-search_content .record_search input[type=number],
        .sc-search_content .record_search input[type=text] {
            border: 0;
            color: #767676;
            outline: none;
            height: 24px;
            font-size: 18px;
            overflow: hidden;
            padding-left: 8px;
            width: 100%;
        }

        .sc-search_content .record_search input[type=number]::placeholder,
        .sc-search_content .record_search input[type=text]::placeholder {
            color: #c4c4c4;
            font-size: 18px;
        }

        .sc-search_content .record_search button {
            border: 0;
            right: 5px;
            top: 8px;
            position: absolute;
            background-color: transparent;
            z-index: 0;
            margin: 2px;
            cursor: pointer;
        }

        @media screen and (max-width:768px) {
            .sc-search_content .custom-select {
                margin-left: 0px;
            }
        }

        @media screen and (max-width: 742px) {
            .sc-chk_content {
                flex-direction: column;
            }

            .sc-chk_content .chk_box {
                margin-bottom: 16px;
                margin-right: 0;
            }

            .sc-chk_content .chk_box:after {
                display: none;
            }
        }

        @media screen and (max-width:600px) {
            
            .sc-chk_content {
                width: 100%;
            }

            .sc-chk_content .chk_box {
                width: 100%;
            }

            .sc-chk_content .chk_box .box_container {
                display: block;
                width: 100%;
            }
            
            .sc-data_content .sc-data-box{
                width: 100%;
                margin-top: 16px;
            }

            .sc-data_content .sc-datepicker {
                width: 100%;
                margin-left: 0;
            }

            .sc-data_content .sc-datepicker input {
                width: 100%;
                cursor: pointer;
            }
            
            .sc-chk_content .sc-search_content {
                width: 100%;
                flex-direction: column;
            }

            .sc-search_content .custom-select {
                width: 100%;
            }

            .sc-search_content .select-selected {
                width: 100%;
            }

            .sc-search_content .record_search {
                width: 100%;
                margin-left: 0;
                margin-top: 16px;
            }
        }


 /* ---------- tippy.css ---------- */
 .i_info {
    content: "";
    background-image: url('/static/v2/images/info_qm.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: block;
    width: 16px;
    height: 16px;
    /* position: relative; */
    cursor: pointer;
}

.tippy-box {
    min-width: 343px;
    width: 100%;
    padding: 6px;
    background-color: #005a5a;
    border: 2px solid #005a5a;
    color: #fff;
    font-size: 18px;
    border-radius: 12px;
    box-shadow: 3px 3px 6px 0 rgba(0, 90, 90, 0.3);
}

.tippy-box .tippy-arrow {
    color: #005a5a;
}

.tippy-content {
    white-space: pre-line;
}

.tippy-box[data-placement^=bottom]>.tippy-arrow {
    top: -3px;
}

.tippy-box[data-placement^=bottom]>.tippy-arrow:before {
    top: -6px;
    left: -6px;
}



.blocker {
    z-index: 49;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}


.current {
    transform: translate(60px, 50px);
}

.modal a.close-modal {
    display: none;
}

.modal .action {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal .action .btn {
    width: 150px;
    height: 35px;
    background: #285ee4;
    color: #fff;
    line-height: 30px;
    border-radius: 20px;
    border: 2px solid #285ee4;
    box-sizing: border-box;
    text-align: center;
    font-size: 16px;
}

.modal .action .btn:hover {
    background: #658ae6;
    border: 2px solid #658ae6;
}

.modal .action .btn+.btn {
    margin-left: 16px;
}

.modal .action .btn.reset_btn {
    background: #fff;
    color: #285ee4;
}

.modal .action .btn.reset_btn:hover {
    background: #f3f3f3;
    color: #285ee4;
}

/* ===== 編輯發票資訊 #ex7_modal ===== */
#ex7_modal.modal {
    padding: 0 0;
    max-width: 504px;
    min-width: 450px;
    border-radius: 20px;
}

#ex7_modal form {
    width: 100%;
    height: 428px;
    border-radius: 20px;
}

#ex7_modal .modal-title {
    height: 32px;
    background: #285ee4;
    color: #fff;
    padding: 4px 16px;
    line-height: 32px;
    border-radius: 18px 18px 0 0;
    font-size: 20px;
}

/* modal-tabs */
#ex7_modal .modal_tabs {
    display: flex;
    padding: 24px 24px 16px;
    align-items: center;
    margin-top: 4px;
}

#ex7_modal .modal_tabs .invoice {
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, .16);
    padding: 8px 10px;
    border-radius: 8px;
    margin-left: 16px;
    display: block;
    min-width: 145px;
    height: 16px;
    background: #fff;
    position: relative;
}

#ex7_modal .modal_tabs .invoice.active {
    background: #285ee4;
}

/* #ex7_modal .modal_tabs .invoice.btn_left .chk-container {
    float: left;
} */

#ex7_modal .modal_tabs .invoice .chk-container {
    font-size: 16px;
    color: #285ee4;
    position: absolute;
}

#ex7_modal .modal_tabs .invoice.active .chk-container {
    color: #fff;
}

#ex7_modal .modal_tabs .invoice input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

#ex7_modal .modal_tabs .invoice .chk-container .checkmark {
    position: absolute;
    top: -3px;
    border-radius: 3px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 2px solid #285ee4;
}

#ex7_modal .chk-container .checkmark:after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #138b8b;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    display: none;
}


#ex7_modal .chk-container input:checked~.checkmark:after {
    display: block;
}

/* modal-content */
#ex7_modal .modal-content {
    padding: 8px 24px;
    margin-bottom: 0;
    flex: flex;
    flex-wrap: nowrap;
}

#ex7_modal .modal-content>div {
    display: none;
}

#ex7_modal .modal-content>div.active {
    display: flex;
    flex-wrap: wrap;
}

#ex7_modal .modal-content .input_field {
    width: 100%;
    height: 36px;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: nowrap;
    position: relative;
}

#ex7_modal .modal_tabs .name,
#ex7_modal .modal-content label {
    min-width: 82px;
    text-align-last: justify;
    color: #3d3d3d;
    line-height: 32px;
    font-size: 16;
    margin-right: 0;
}

#ex7_modal .modal-content input {
    margin-left: 16px;
    padding: 0 16px;
    /* width: 360px; */
    width: calc(100% - 100px);
    border-radius: 8px;
    outline: none;
    border: 1px solid #ccc;
    font-size: 20px;
    color: #285ee4;
    text-align: left;
}

#ex7_modal .modal-content .input_field.error input {
    border: 2px solid red;
}

#ex7_modal .modal-content .input_field .valid_msg {
    position: absolute;
    top: 36px;
    right: 12px;
    font-size: 14px;
    color: red;
    display: none;
}

#ex7_modal .modal-content .input_field.error .valid_msg {
    display: block;
}

#ex7_modal #personal {
    position: relative;
}

#ex7_modal #personal .error_message {
    position: absolute;
    top: -16px;
    right: 8px;
    font-size: 14px;
    color: red;
    display: none;
}


#ex7_modal .modal-content input::placeholder {
    font-size: 18px;
    text-align: left;
    text-align-last: left;
}

#ex7_modal .action {
    display: flex;
    justify-content: end;
    padding-right: 24px;
}


/* 防呆視窗 ex6_modal */
/* #ex6_modal {
    padding: 24px;
    min-width: 343px;
} */

.notice_modal {
    padding: 24px;
    min-width: 343px;
}

.modal .inner {
    text-align: center;
}

.modal h4 {
    font-size: 35px;
    font-weight: 600;
    color: #285ee4;
    margin-bottom: 24px;
}

.modal .message {
    font-size: 20px;
    font-weight: 400;
    color: #285ee4;
    line-height: 1.5;
    margin-bottom: 24px;
}


/* ----- ex8_modal_開立發票_過去匯入紀錄 ----- */
#ex8_modal {
    background: #f3f3f3;
}

/* 20230726_修改 */
#ex8_modal.modal {
    height: calc(100vh - 140px);
    width: 90%;
    max-width: 1056px;
    min-width: 312px;
    padding: 0 0;
    border-radius: 20px;
} 

#ex8_modal.modal .main_title {
    padding: 24px 24px 0;
    display: flex;
    margin-bottom: 24px;
    color: #285ee4;
}

#ex8_modal.modal .main_title h3 {
    font-size: 35px;
    font-weight: 600;
    letter-spacing: 1px;
    display: flex;
    position: relative;
    margin-right: 16px;
}

#ex8_modal .title {
    position: relative;
}

#ex8_modal .title .i_info {
    position: absolute;
    top: 14px;
    left: 150px;
}

#ex8_modal form {
    position: relative;
}

#ex8_modal .tableFixHead {
    width: 100%;
    height: calc(100vh - 300px);
    min-width: 312px;
    border-radius: 0 0;
    overflow-y: auto;
    margin-bottom: 24px;
    box-sizing: border-box;
    background: #fff;
    overflow: auto;
}

#ex8_modal .tableFixHead table thead {
    height: 44px;
}

#ex8_modal .tableFixHead table thead th:last-child,
#ex8_modal .tableFixHead table tbody td:last-child {
    padding-right: 24px;
}

/* 單選框 */
#ex8_modal .tableFixHead table .tb-checkbox {
    width: 8.71%;
    min-width: 92px;
    text-align: center;
}

/* 上傳時間 */
#ex8_modal .tableFixHead table .tb-uploadtime {
    width: 10.98%;
    min-width: 100px;
}

/* 檔案名稱 */
#ex8_modal .tableFixHead table .tb-filename {
    width: 19.51%;
    min-width: 190px;
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 上傳進度 */
#ex8_modal .tableFixHead table .tb-progress {
    width: 10.04%;
    min-width: 90px;
}

/* 匯入結果 */
#ex8_modal .tableFixHead table .tb-results {
    width: 19.51%;
    min-width: 190px;
}

/* 發票資訊 */
#ex8_modal .tableFixHead table .tb-invoiceinfo {
    width: 10.04%;
    min-width: 90px;
}

/* 動作 */
#ex8_modal .tableFixHead table .tb-edit {
    text-align: center;
    padding-left: 0;
    min-width: 100px;
    width: 9.47%;
}

/* 失敗資料 */
#ex8_modal .tableFixHead table .tb-download {
    min-width: 100px;
    width: 9.47%;
    text-align: center;
    padding-left: 0;
}


#ex8_modal.modal .action{
    display: flex;
    justify-content: end;
    margin-right: 24px;
}


/* ----- ex8_modal_產生收款碼_過去匯入紀錄 -----*/

/* 產生收款碼_過去匯入紀錄_容器寬度調整 */
#ex8_modal.modal.ReceiptCode {
    max-width: 1126px;
}

#ex8_modal.modal.ReceiptCode table.data-table tr td {
    height: 88px;
    line-height: 1.3;
}

/* 單選框 */
#ex8_modal.modal.ReceiptCode .tableFixHead .tb-checkbox {
    width: 8.17%;
    min-width: 92px;
}

/* 上傳時間 */
#ex8_modal.modal.ReceiptCode .tableFixHead .tb-uploadtime {
    width: 10.3%;
    min-width: 100px;
}

/* 檔案名稱 */
#ex8_modal.modal.ReceiptCode .tableFixHead .tb-filename {
    width: 18.29%;
    min-width: 190px;
    max-width: 190px;
}

/* 上傳進度 */
#ex8_modal.modal.ReceiptCode .tableFixHead .tb-progress {
    width: 9.41%;
    min-width: 80px;
}

/* 匯入結果 */
#ex8_modal.modal.ReceiptCode .tableFixHead .tb-results {
    width: 18.29%;
    min-width: 190px;
}

/* 收款資訊 */
#ex8_modal.modal.ReceiptCode .tableFixHead .tb-collectinfo {
    width: 15.63%;
    min-width: 160px;
}

/* 動作 */
#ex8_modal.modal.ReceiptCode .tableFixHead .tb-edit {
    text-align: center;
    padding-left: 0;
    min-width: 100px;
    width: 8.88%;
}

/* 失敗資料 */
#ex8_modal.modal.ReceiptCode .tableFixHead .tb-download {
    min-width: 100px;
    width: 8.88%;
}

/* ----- ex4_modal_複製收款碼通知 -----*/
#ex4_modal .message span{
    display: block;
    font-size: 18px;
    color: #383838;
    word-break: break-all;
}

#ex4_modal .message p{
    margin-bottom: 8px;
    font-size: 20px;
}


/* 防呆視窗 */
/* .tiptop_t1,
.tiptop_t2,
.tiptop_t3 {
    width: 450px;
    border-radius: 20px;
    background: #fff;
    position: absolute;
    padding: 30px 0;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, .16);
    left: calc(50% - 200px);
}


.tiptop_t1 h3 {
    font-size: 35px;
    text-align: center;
    color: #285ee4;
    margin: 0 0 40px;
    font-weight: 500;
}

.tiptop_t1 p {
    font-size: 20px;
    text-align: center;
    color: #285ee4;
    margin: 0 0 30px;
}

.tiptop_t1 .action {
    display: flex;
    justify-content: center;
}
.tiptop_t1 .action button{
    font-size: 16px;
}

.tiptop_t1 .action button+button {
    margin-left: 16px;
}

.tiptop_t1 .action button.confirm {
    width: 132px;
}

.tiptop_t1 .action button.reset {
    width: 132px;
    border: 2px solid #285ee4;
    background: #fff;
    color: #285ee4;
}

.tiptop_t1 .action button.confirm:hover {
    background: #658ae6;
}

.tiptop_t1 .action button.reset:hover {
    background: #f3f3f3;
}

 */
 
 #ex8_modal.modal .tiptop_t1 .action {
    display: flex;
    justify-content: center;
    margin-right: 0px;
}


/* ================== 團媽申請註冊頁 =================== */
.tmgo_ex1 {
    width: 343px;
    box-sizing: border-box;
    padding: 0 16px 24px;
    border-radius: 26px;
    background-color: #fff;
    height: auto;
    margin: 48px auto 120px;
    text-align: center;
    color: #658ae6;
    box-shadow: 8px 8px 24px rgba(158, 158, 158, 0.5);
}

.tmgo_ex1 .inner img:first-child {
    width: 100%;
    /* margin-bottom: 26px */
}

.tmgo_ex1 .apply_info {
    font-size: 20px;
    font-weight: bold;
    color: #0d76ff;
    display: block;
    margin-bottom: 26px;
}

.tmgo_ex1 .custom_chk {
    display: block;
    position: relative;
    padding-left: 20px;
    margin: 0 auto 16px;
    cursor: pointer;
    font-size: 16px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* margin-left: 25px; */
}

.tmgo_ex1 .custom_chk input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.tmgo_ex1 .custom_chk .checkmark {
    position: absolute;
    top: 1px;
    left: 48px;
    height: 16px;
    width: 16px;
    border-radius: 0;
    background-color: #fff;
    border: 2px solid #658ae6;
    box-sizing: border-box;
}

.tmgo_ex1 .custom_chk .checkmark::after {
    content: "";
    position: absolute;
    top: 0;
    left: 4px;
    width: 5px;
    height: 10px;
    border: solid #658ae6;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    display: none;
}

.tmgo_ex1 .custom_chk input:checked~.checkmark:after {
    display: block;
}

.tmgo_ex1 form .info {
    position: relative;
    margin-bottom: 24px;
    border-bottom: 1px solid #ccc;
}

.tmgo_ex1 form .info .error_msg {
    display: none;
    position: absolute;
    top: -20px;
    right: 8px;
    color: red;
    font-size: 14px;
}

.tmgo_ex1 form .info.error .error_msg {
    display: block;
}

.tmgo_ex1 form .input_field:nth-child(even){
    margin-left: 0;
}

.tmgo_ex1 form .password_field .small {
    font-size: 12px;
    position: absolute;
    right: 0;
    color: #ccc;
}

.tmgo_ex1 form .coupon_info .input_field {
    margin-bottom: 0;
}

.tmgo_ex1 form .promo_code {
    display: block;
    text-align: right;
    color: #0d76ff;
    font-weight: bold;
    margin-top: 2px;
    margin-bottom: 24px;
}

.tmgo_ex1 .aggreement {
    font-size: 12px;
    color: #8e90a1;
    font-weight: 300;
    margin-bottom: 16px;
}

.tmgo_ex1 .aggreement a {
    color: #0d76ff;
    font-weight: 500;
    text-decoration: none;
}

.g-recaptcha {
    margin-bottom: 24px;
}

/* 申請帳號按鈕 */
.tmgo_ex1 .action input[type="submit"] {
    width: 100%;
    height: 32px;
    border-radius: 16px;
    border: none;
    outline: none;
    color: #000;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    background-color: #ffaf00;
    font-family: TaipeiSansTCBeta;
    cursor: pointer;
    transition: .3s;
    transform: scale(1);
}

.tmgo_ex1 .action input[type="submit"]:hover {
    background-color: #ffaf00;
}

.tmgo_ex1 .action input[type="submit"]:active {
    background-color: #ffaf00;
    transform: scale(.98);
}

.tmgo_ex1 .action input[type="submit"]:disabled:hover,
.tmgo_ex1 .action input[type="submit"]:disabled:active {
    background-color: #ccc;
    cursor: not-allowed;
    transform: scale(1);
}

form .subtitle_info {
    display: flex;
    justify-content: end;
    align-items: baseline;
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}


/* ==================== 開立發票 ==================== */
.import_order {
    width: 100%;
}

.main-content .import_order .main_title {
    height: 48px;
    display: flex;
    margin-bottom: 16px;
    align-items: start;
    justify-content: space-between;
}

.import_order .main_title .title {
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.import_order .main_title .title span{
    font-size: 20px
}

.import_order .main_title .title span a {
    text-decoration: underline;
}

.import_order .quantity_group {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.import_order .quantity_group>span {
    font-size: 16px;
    margin-top: 8px;
}

.import_order .form_import_order {
    width: 100%;
    /* height: 100%; */
    min-height: 484px;
    background: #fff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    position: relative;
}

.import_order .imp_order_table {
    position: relative;
}

.import_order .tableFixHead {
    width: 100%;
    min-height: 500px;
    max-height: 1398px;
    min-width: 312px;
    border-radius: 20px 20px 0 0;
    overflow-x: auto;
    overflow-y: hidden;
}

.import_order .tableFixHead table thead {
    height: 60px;
}

.import_order .table_mcsb {
    position: relative;
}

.import_order .table_mcsb .mCustomScrollBox.mCS-minimal-dark+.mCSB_scrollTools.mCSB_scrollTools_horizontal {
    margin: 0 0;
}

.import_order .table_mcsb .mCSB_scrollTools.mCSB_scrollTools_horizontal {
    background: transparent;
    height: 10px;
}

.import_order .table_mcsb .mCS-minimal-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    background-color: #285ee4;
    margin: 0;
    height: 100%;
}

.import_order .table_mcsb .mCS-minimal-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.import_order .table_mcsb .mCS-minimal-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar {
    background-color: #285ee4;
}

.import_order .table_mcsb .mCSB_scrollTools .mCSB_draggerContainer {
    top: 10px;
    bottom: -10px;
}

/* ----- 開立發票匯入訂單表格 -----*/
/* 全選框+單選框 */
.import_order .tableFixHead table th.all-check,
.import_order .tableFixHead table .tb-checkbox {
    width: 6.05%;
    min-width: 72px;
}

/* 單選框 */
.import_order .tableFixHead table td.tb-checkbox {
    position: relative;
}

/* 訂單號碼 */
.import_order .tableFixHead table .tb-order {
    width: 16.78%;
    min-width: 184px;
}

/* 訂單日期 */
.import_order .tableFixHead table .tb-orderdate {
    width: 9.73%;
    min-width: 100px;
}

/* 發票狀態 */
.import_order .tableFixHead table .tb-invoicestatus {
    width: 9.73%;
    min-width: 100px;
}

/* 訂購人 */
.import_order .tableFixHead table .tb-name {
    width: 7.21%;
    min-width: 70px;
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 手機 */
.import_order .tableFixHead table .tb-tel {
    width: 10.57%;
    min-width: 110px;
}

/* 統編 / 載具 */
.import_order .tableFixHead table .tb-idnum {
    width: 8.05%;
    min-width: 80px;
}

/* 總金額 */
.import_order .tableFixHead table .tb-amount {
    width: 8.89%;
    min-width: 90px;
    text-align: right;
    padding-right: 16px;
}

/* 收款狀況 */
.import_order .tableFixHead table .tb-paystatus {
    width: 12.58%;
    min-width: 150px;
    text-align: center;
    padding-left: inherit;
}

/* 動作 */
.import_order .tableFixHead table .tb-edit {
    width: 8.39%;
    min-width: 100px;
    text-align: center;
    padding-left: inherit;
}

.import_order .tableFixHead table tbody td.tb-amount::before {
    content: "$";
    margin-right: 4px;
}

/* ========== checkbox =========== */

/* 開立發票 */
/*all-check */
.import_order th.all-check .chk-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    position: relative;
    top: 12px;
    left: -22px;
    margin-bottom: 0;
    padding-left: 0;
}

.import_order th.all-check input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.import_order th.all-check .checkmark {
    position: absolute;
    top: 20%;
    left: 45%;
    transform: translate(-10px, -28px);
    border-radius: 2px;
    height: 18px;
    width: 18px;
    background: transparent;
    border: 2px solid #fff;
    z-index: 2;
    transition: .3s;
}


.import_order th.all-check input:checked~.outter .checkmark::after {
    content: "";
    display: block;
}

.import_order th.all-check .chk-container .checkmark::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 0px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    display: none;
}

.import_order .tb-checkbox .outter {
    width: 34px;
    height: 34px;
    left: -27px;
    top: -1px;
    padding: 4px;
    border-radius: 50%;
    position: absolute;
    transition: .3s
}

/* 懸停圓底 */
.import_order .tb-checkbox .outter:hover {
    background: #d2e0e4
}

/* 點擊圓底 */
.import_order .tb-checkbox .outter:active {
    background: #a7cdd0
}

/* 禁用disabled背景及邊框顏色 */
.import_order .tb-checkbox .chk-container input:disabled~.outter .checkmark {
    border-color: #bdbdbd;
    background-color: rgba(0, 0, 0, 0) !important;
}

/* 禁用時符號顏色 */
.import_order .tb-checkbox .chk-container input:disabled~.outter .checkmark::after {
    content: "";
    width: 11px;
    height: 0px;
    border: solid 1px #bdbdbd !important;
    position: absolute;
    left: 2px;
    top: 8px;
    display: block;
    transform: rotate(0deg);
}

.import_order .tb-checkbox .chk-container .checkmark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-11px, -10px);
    z-index: 2;
}

/*點選後背景顏色*/
.import_order .tb-checkbox .chk-container input:checked~.outter .checkmark {
    background-color: #285ee4;
}

/*點選後勾勾顏色*/
.import_order .tb-checkbox .chk-container input:checked~.outter .checkmark::after {
    content: "";
    display: block;
    border-color: #ffffff;
}

.import_order .tb-checkbox .chk-container .checkmark::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 0px;
}


/* ==================== 產生付款碼 ====================*/
.receipt_code {
    width: 100%;
}

.main-content .receipt_code .main_title {
    height: 48px;
    display: flex;
    margin-bottom: 16px;
    align-items: start;
    justify-content: space-between;
}

.receipt_code .main_title .title {
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.receipt_code .main_title .title span{
    font-size: 20px
}

.receipt_code .main_title .title span a {
    text-decoration: underline;
}

.receipt_code .quantity_group {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-content .receipt_code .quantity_group>span {
    font-size: 16px;
    margin-top: 8px;
}

.receipt_code .form_receipt_code {
    width: 100%;
    /* height: 100%; */
    min-height: 484px;
    background: #fff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    position: relative;
}

.receipt_code .imp_order_table {
    position: relative;
}

.receipt_code .tableFixHead {
    width: 100%;
    min-height: 500px;
    max-height: 1398px;
    min-width: 312px;
    border-radius: 20px 20px 0 0;
    overflow-x: auto;
    /* overflow-y: auto; */
}

.receipt_code .tableFixHead table thead {
    height: 60px;
}

/* ----- 產生收款碼匯入訂單表格 -----*/
/* 全選框+單選框 */
.receipt_code .tableFixHead .all-check,
.receipt_code .tableFixHead .tb-checkbox {
    width: 5.1%;
    min-width: 72px;
}

/* 訂單號碼 */
.receipt_code .tableFixHead .tb-order {
    width: 14.14%;
    min-width: 184px;
}

/* 訂單日期 */
.receipt_code .tableFixHead .tb-orderdate {
    width: 8.2%;
    min-width: 100px;
}

/* 發票狀態 */
.receipt_code .tableFixHead .tb-invoicestatus {
    width: 8.2%;
    min-width: 100px;
}

/* 訂購人 */
.receipt_code .tableFixHead .tb-name {
    width: 6.08%;
    min-width: 70px;
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 手機 */
.receipt_code .tableFixHead .tb-tel {
    width: 8.91%;
    min-width: 110px;
}

/* 統編 / 載具 */
.receipt_code .tableFixHead .tb-idnum {
    width: 8.2%;
    min-width: 100px;
}

/* 總金額 */
.receipt_code .tableFixHead .tb-amount {
    width: 8.91%;
    min-width: 110px;
    text-align: right;
    padding-right: 16px;
}

/* 收款方式 */
.receipt_code .tableFixHead .tb-paytype {
    width: 8.2%;
    min-width: 100px;
}

/* 收款狀態 */
.receipt_code .tableFixHead .tb-paystatus {
    width: 13.86%;
    min-width: 180px;
    text-align: left;
    padding: 0 0 0 16px;
}

/* 動作 */
.receipt_code .tableFixHead .tb-edit {
    width: 8.5%;
    min-width: 120px;
    text-align: center;
    padding-left: inherit;
    padding-right: 24px;
}

/* 產生付款碼 */
/*all-check */
.receipt_code th.all-check .chk-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    position: relative;
    top: 12px;
    left: -22px;
    margin-bottom: 0;
    padding-left: 0;
}

.receipt_code th.all-check input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.receipt_code th.all-check .checkmark {
    position: absolute;
    top: 20%;
    left: 45%;
    transform: translate(-10px, -28px);
    border-radius: 2px;
    height: 18px;
    width: 18px;
    background: transparent;
    border: 2px solid #fff;
    z-index: 2;
    transition: .3s;
}

.receipt_code th.all-check input:checked~.outter .checkmark::after {
    content: "";
    display: block;
}

.receipt_code th.all-check .chk-container .checkmark::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 0px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    display: none;
}

.receipt_code .tb-checkbox .outter {
    width: 34px;
    height: 34px;
    left: -27px;
    top: -1px;
    padding: 4px;
    border-radius: 50%;
    position: absolute;
    transition: .3s
}

/* 懸停圓底 */
.receipt_code .tb-checkbox .outter:hover {
    background: #d2e0e4
}

/* 點擊圓底 */
.receipt_code .tb-checkbox .outter:active {
    background: #a7cdd0
}

/* 禁用disabled背景及邊框顏色 */
.receipt_code .tb-checkbox .chk-container input:disabled~.outter .checkmark {
    border-color: #bdbdbd;
    background-color: rgba(0, 0, 0, 0) !important;
}

/* 禁用時符號顏色 */
.receipt_code .tb-checkbox .chk-container input:disabled~.outter .checkmark::after {
    content: "";
    width: 11px;
    height: 0px;
    border: solid 1px #bdbdbd !important;
    position: absolute;
    left: 2px;
    top: 8px;
    display: block;
    transform: rotate(0deg);
}

.receipt_code .tb-checkbox .chk-container .checkmark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-11px, -10px);
    z-index: 2;
}

/*點選後背景顏色*/
.receipt_code .tb-checkbox .chk-container input:checked~.outter .checkmark {
    background-color: #285ee4;
}

/*點選後勾勾顏色*/
.receipt_code .tb-checkbox .chk-container input:checked~.outter .checkmark::after {
    content: "";
    display: block;
    border-color: #ffffff;
}

.receipt_code .tb-checkbox .chk-container .checkmark::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 0px;
}


/*--------- Swich btn start --------*/
.switch {
    position: relative;
    display: inline-block;
    width: 120px;
    height: 30px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #C6C6C6;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 5px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #658ae6;
}

input:focus+.slider {
    box-shadow: 0 0 1px #658ae6;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(89px);
}

/*------ ADDED CSS ---------*/
.slider:after {
    content: '未收款';
    color: white;
    display: block;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    font-size: 18px;
}

input:checked+.slider:after {
    content: '已收款';
}




.nodata_content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -30%);
    user-select: none;
    pointer-events: none;
}

/* ==================== 訂單狀態查詢 ===================== */
.order-status_tmgo {
    width: 100%;
    position: relative;
    min-width: 312px;
    box-sizing: border-box;
}

.order-status_tmgo .main_title h3 {
    width: 100%;
    justify-content: space-between;
    margin: 0;
}


.order-status_tmgo .sc-data_content {
    display: flex;
    position: absolute;
    top: 0;
    left: 250px;
    align-items: center;
}

.order-status_tmgo .sc-data_content .title {
    color: #285ee4;
    font-size: 24px;
    font-weight: 500;
}

.order-status_tmgo form {
    width: 100%;
    min-width: 312px;
    background: #fff;
    border-radius: 20px 20px 0 0;
    position: relative;
}
.order-status_tmgo .table_mcsb_limit {
    position: relative;
    background: #fff;
    height: 522px;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
}

.order-status_tmgo .table_mcsb_limit .mCSB_scrollTools .mCSB_draggerContainer {
    top: 8px;
    bottom: -8px;
}

.order-status_tmgo .tableFixHead {
    width: 100%;
    min-height: 522px;
    min-width: 312px;
    border-radius: 0;
    overflow-y: hidden;
    overflow-x: auto;
}


.order-status_tmgo table.data-table tr th {
    background: #005a5a;
    color: #fff;
    vertical-align: middle;
}

.order-status_tmgo .thead_tr1 th {
    height: 50px;
}

.order-status_tmgo .thead_tr2 th {
    height: 32px;
}

.order-status_tmgo table.data-table tr th.tb_bg1 {
    background: #285ee4;
}

.order-status_tmgo table.data-table tr th.tb_bg3 {
    background: #658ae6;
}

.order-status_tmgo .thead_tr1 th:first-child {
    text-align: center;
}

.order-status_tmgo .thead_tr1 th:nth-child(2) {
    text-align: center;
    padding-left: 0;
}

.order-status_tmgo .data-table thead tr:first-child {
    border-bottom: 1px solid #fff;
    -webkit-border-bottom: 1px solid #fff;
}

.order-status_tmgo .data-table tr .tb_line {
    border-right: 1px solid #fff;
}

.order-status_tmgo table.data-table .tb-filename {
    width: 14.41%;
    max-width: 184px;
    /* min-width: 200px; */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 16px;
}

.order-status_tmgo table.data-table .tb-order {
    width: 11.24%;
    /* min-width: 156px; */
}

.order-status_tmgo table.data-table .tb-orderdate {
    width: 8.36%;
    /* min-width: 116px; */
}

.order-status_tmgo table.data-table .tb-name {
    width: 6.92%;
    max-width: 80px;
    /* min-width: 96px; */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-status_tmgo table.data-table .tb-tel {
    width: 9.8%;
    min-width: 120px;
}

.order-status_tmgo table.data-table .tb-idnum {
    width: 8.36%;
    min-width: 100px;
}

.order-status_tmgo table.data-table .tb-amount {
    width: 9.51%;
    min-width: 90px;
    text-align: end;
    padding-left: 0;
    padding-right: 16px;
}

.order-status_tmgo table.data-table .tb-paystatus {
    width: 9.08%;
    min-width: 110px;
    max-width: 110px;
}

.order-status_tmgo table.data-table .tb-paytype {
    width: 8.36%;
    min-width:84px;
    max-width:84px;
}

.order-status_tmgo table.data-table .tb-invoicestatus {
    width: 10.52%;
    min-width: 146px;
    max-width: 146px;
}

.order-status_tmgo .nodata_content {
    transform: translate(-50%, -10%);
}



/* 通知-資料匯入中 */
.dataimport_content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    user-select: none;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dataimport_content a {
    font-size: 28px;
    color: #285ee4;
}

.lottie-dataimport {
    width: 280px;
}


@media screen and (max-width:1240px) {

    .import_order .main_title .title2 {
        position: relative;
    }

    .import_order .main_title .title2 span {
        position: absolute;
        top: 44px;
    }

    .form_import_order,
    .form_receipt_code {
        margin-top: 36px;
    }

    .receipt_code .main_title .title2 {
        position: relative;
    }

    .receipt_code .main_title .title2 span {
        position: absolute;
        top: 44px;
    }

    .receipt_code {
        margin-top: 36px;
    }

    .form_pay_order {
        margin-top: 36px;
    }
}

@media screen and (max-width:930px) {
    .current {
        transform: translate(0px, 20px);
    }

    #ex8_modal.modal {
        width: 100%;
    }

    #ex7_modal .modal-content .input_field {
        width: 100%;
        display: flex;
        align-items: flex-start;
        flex-direction: row;
        /* margin-bottom: 16px;*/
    }

    .tmgo-components .tmgo-body {
        width: 80%;
        margin: 0 auto;
    }

    .sc-components_tmgo {
        /* justify-content: space-between; */
        justify-content: left;
    }

    .sc-components_tmgo .item {
        width: 280px;
    }
}

@media screen and (max-width:768px) {

   form .subtitle_info{
        justify-content: start;
    }

    .order-status_tmgo .sc-data_content {
        top: 48px;
        left: 0;
    }

    .order-status_tmgo form {
        margin-top: 70px;
    }

    
}

@media screen and (max-width: 742px) {
    .modal .action {
        flex-direction: row;
    }

    .modal .action .btn {
        width: 132px;
    }

    .tmgo-components .tmgo-body h3{
        margin-left: 8px;
    }

    .sc-components_tmgo .item {
        width: 200px;
        margin: 8px;
    }

    .sc-components_tmgo .sc-item {
        width: 200px;
        height: 200px;
    }

    .sc-components_tmgo .item .item-text {
        width: 200px;
    }
}


@media screen and (max-width: 600px) {
    #ex7_modal .modal_tabs .invoice {
        min-width: 130px;
    }

    #ex7_modal .modal_tabs .invoice .chk-container {
        letter-spacing: 0;
        padding-left: 20px;
    }

    #ex7_modal .modal_tabs .invoice .chk-container .checkmark {
        left: -6px;
    }

    .order-status_tmgo form {
        margin-top: 110px;
    }

    .order-status_tmgo .sc-data_content {
        width: 100%;
        flex-direction: column;
        align-items: start;
        right: 0;
    }

    .tmgo-components .tmgo-body {
        width: 100%;
    }
}

@media screen and (max-width:500px) {
    .tmgo-components .tmgo-body h3{
        font-size: 32px;
    }

    .sc-components_tmgo .sc-item span{
        font-size: 26px;
    }
    
    .sc-components_tmgo .item {
        width: 150px;

    }

    .sc-components_tmgo .sc-item {
        width: 150px;
        height: 150px;
    }

    .sc-components_tmgo .item .item-text {
        width: 150px;
    }
}

@media screen and (max-width:450px) {
    .pagination .info{
        right: 0;
    }

    .tmgo-components .main_intro_section {
        justify-content: center;
    }
}





