.mb-1 {
    margin-bottom: 10px;
}

.d-none {
    display: none;
}

.underline a {
    text-decoration: underline;
}

.view_history {
    margin-left: 16px;
} 

/* 取消預設小箭頭 */
.hide-arrows::-webkit-outer-spin-button,
.hide-arrows::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hide-arrows {
    -moz-appearance: textfield;
}

.input_group input[readonly] {
    background: #E7E6E6;
}

.input_group input[disabled] {
    cursor: not-allowed;
}

.swal2-title {
    color: #285ee4;
    font-size: 24px;
}


/* chk-container-checkbox */
/*勾選同意及按鍵區*/
.chk-container {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

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

.chk-container .checkmark {
    position: absolute;
    border-radius: 3px;
    height: 20px;
    width: 20px;
    background-color: #fff
}

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

/* -- outter -- */
.chk-container .outter {
    width: 40px;
    height: 40px;
    position: absolute;
    left: 50%;
    top: 2px;
    transform: translateX(-50%);
    border-radius: 50%;
    transition: .3s;
}

.chk-container .outter:hover {
    background: #E0E7F8;
}

.chk-container .outter:active {
    background: #B9C9F4;
}

.chk-container .checkmark {
    top: 10px;
    left: 10px;
    border: 2px solid #285ee4;
    z-index: 2;
    background: 0 0;
}

.chk-container input:checked~.outter .checkmark {
    background: #E6EDFF;
}

.chk-container input:checked~.outter .checkmark:before {
    display: block;
    border-color: #285ee4;
}

.chk-container input:checked~.outter .checkmark:after {
    display: block;
    border-color: #285ee4;
}


/* ---------- new radio 單選 --------- */
.radio_container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.radio_container input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

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

/* 點擊時的狀態 */
.radio_container .outter {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: .3s;
}

.radio_container .outter:hover {
    background: #E0E7F8;
}

.radio_container .outter:active {
    background: #B9C9F4;
}

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

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

.warn_note {
    color: rgb(255, 0, 0);
    font-size: 24px;
    margin-left: 16px;
}

.i_info {
    color: #285ee4;
}

.contents {
    width: 100%;
    max-width: 1324px;
    min-width: 343px;
    margin-bottom: 16px;
}

 .main_title {
    flex-wrap: wrap;
}

.invoice_issue .action {
    /* margin-top: 24px; */
    display: flex;
    justify-content: end;
}

 .action .btn {
    width: 150px;
    height: 40px;
    /* line-height: 40px; */
    font-size: 18px;
    letter-spacing: 1.8px;
    font-weight: 800;
    text-align: center;
    box-sizing: border-box;
}

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


.add_content .item_header {
    width: 100%;
    height: 40px;
    background: #285ee4;
    border-radius: 15px 15px 0 0;
    box-sizing: border-box;
}

.add_content .item_body {
    width: 100%;
    background: #fff;
    padding: 24px 16px;
    margin-bottom: 24px;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    box-sizing: border-box;
}

.annotation-title {
    margin-bottom: 16px;
    display: flex;
}
.catch_title {
    margin-right: 8px;
}
.small {
    color: red;
}

.item_main .title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
    color: #3d3d3d;
}


/* ================== type_area ================== */
.type_select {
    width: 100%;
    display: flex;
    margin-bottom: 40px;
}

.type_select .tab_btn {
    flex: 1;
    border: 2px solid #bebebe;
    border-radius: 6px;
    position: relative;
    cursor: pointer;
    user-select: none;
    box-sizing: border-box;
}

.type_select .tab_btn.active {
    border: 2px solid #285ee4;
}

.type_select .tab_btn+.tab_btn {
    margin-left: 16px;
}

/* .tab_btn input[name="invoice_get_type"] {
    position: absolute;
    opacity: 0;
}

.tab_btn .check {
    position: absolute;
    top: 4px;
    left: 4px;
    display: none;
}

.tab_btn.active .check {
    display: block;
}

.tab_btn .tab_btn_img {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
}


.tab_btn .tab_btn_img img {
    margin-bottom: 8px;
}

.tab_btn .tab_btn_img span {
    color: #bebebe;
}

.tab_btn.active .tab_btn_img span {
    color: #285ee4;
}

.input_group .div_multi_customer_email label {
    display: block;
    margin-bottom: 8px;
} */

/* ================== input_area ================== */
.input_control {
    width: 100%;
    display: flex;
}

.input_group {
    width: 50%;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 24px;
    text-align-last: left;
}

.input_control .input_group:first-child {
    margin-right: 16px;
}

.input_group label {
    margin-bottom: 8px;
}

.input_group input {
    width: 100%;
    height: 36px;
    padding: 4px 12px;
    box-sizing: border-box;
    border: 1px solid #c6c6c6;
    border-radius: 8px;
    background: #fff;
    font-size: 18px;
    text-align: left;
    color: #3d3d3d;
    outline: none;
}

.input_group.error input {
    border: 1px solid red;
}

.input_group input[type=text]:focus,
.input_group input[type=number]:focus,
.input_group textarea:focus {
    border: 1px solid #658ae6;
}

.input_group.error input[type=text]:focus,
.input_group.error input[type=number]:focus,
.input_group.error textarea:focus {
    border: 1px solid red;
}

.input_group input[type=number]::placeholder,
.input_group input[type=text]::placeholder,
.input_group input[type=email]::placeholder {
    color: #b4b4b4;
}

.input_group input[type=number]::-webkit-input-placeholder,
.input_group input[type=text]::-webkit-input-placeholder,
.input_group input[type=email]::-webkit-input-placeholder {
    color: #b4b4b4;
}

.input_group input[type=number]:-ms-input-placeholder,
.input_group input[type=text]:-ms-input-placeholder,
.input_group input[type=email]:-ms-input-placeholder {
    color: #b4b4b4;
}

.input_group.error .select-selected{
    border: 1px solid red;
}

.input_group.error .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;
    border-bottom: 1px solid #658ae6;
}

.input_group .valid_msg {
    position: absolute;
    bottom: -14px;
    right: 8px;
    font-size: 13px;
    color: red;
    display: none;
}

.input_group.error .valid_msg {
    display: block;
}

.input_group textarea {
    width: 100%;
    min-height: 36px;
    max-height: 180px;
    padding: 4px 12px;
    box-sizing: border-box;
    border: 1px solid #c6c6c6;
    border-radius: 8px;
    background: #fff;
    font-size: 18px;
    text-align: left;
    color: #3d3d3d;
    outline: none;
    overflow-y: auto;
}

.tab-link .tabs ul {
    display: flex;
    /* margin-bottom: 16px; */
}

.tab-link .tabs ul li+li {
    margin-left: 8px;
}

.tab-link .tabs .tab-item ul {
    margin-bottom: 0;
}

.tab-link .tabs .tab-item {
    margin-top: 16px;
    display: none;
}

.tab-link .tabs .tab-item.active{
    display: block;
}

.tab-content {
    position: relative;
}

.tab-content .tax-rate {
    /* display: none; */
    position: absolute;
    bottom: -56px;
    right: 14%;
    z-index: 1;
}

.tax-rate .table_select .select-selected {
    border-radius: 20px;
    color: #285ee4;
    border: 2px solid #285ee4;
    width: 100px;
    padding: 8px 28px 8px 8px;
}

.select-items div,
.select-selected {
    height: 36px;
    border: 1px solid #c6c6c6;
    box-sizing: border-box;
}

@media screen and (max-width: 742px) {
    .tab-content .tax-rate {
        bottom: -16px;
        right: 0;
    }
}

/* --------- invoice_B2B --------- */
.invoice_b2b .input_group .used_list {
    position: absolute;
    right: 0;
    text-decoration: underline;
}

/* --------- invoice_B2C -------- */
/* 載具類型 carrier_area  */
.carrier_area {
    margin-bottom: 16px;
}

.carrier_area .tab_triggers {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.carrier_area .tab_triggers li {
    width: calc(50% - 8px);

}

.carrier_area .tab_triggers li:nth-child(odd) {
    margin-right: 16px;
}

.carrier_area .tab_triggers li .input_group {
    width: 100%;
}

.carrier_area .radio_container {
    justify-content: start;
}

.carrier_area .tab-link .tabs ul li+li {
    margin-left: 0;
}

/* ================== taxcatg_area ================== */
.taxcatg_area {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 26px;
}

.taxcatg_area .tab-content .tax-rate {
    display: none;
    position: absolute;
    bottom: -118px;
    right: 15%;
    z-index: 1;
}

.taxcatg_area .tab-content .tax-rate.active {
    display: block;
}

.tax-rate .table_select .select-selected {
    border-radius: 20px;
    color: #285ee4;
    border: 2px solid #285ee4;
    width: 100px;
    padding: 8px 28px 8px 8px;
}

.tax-rate .table_select .select-selected.select-arrow-active {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.taxcatg_area .tab-content .tax-free {
    line-height: 1.5;
}


/* ================== invoice_area ================== */
.invoice_area {
    margin-bottom: 24px;
}

/* --------- table --------- */
.item_table {
    width: 100%;
    position: relative;
    margin-bottom: 16px;
    top: -16px;
}

.item_table thead td,
.item_table tbody td {
    height: 44px;
    vertical-align: middle;
    padding-left: 4px;
    box-sizing: border-box;
}

.item_table td:not(:last-child) {
    padding-right: 8px;
}

.item_table .tfoot {
    position: relative;
    top: -4px;
    line-height: 1.5;
}

.item_table tbody td>input
 {
    width: 100%;
    height: 36px;
    padding: 4px 12px;
    outline: none;
    color: 285ee4;
    background: #fff;
    border: 1px solid #c6c6c6;
    border-radius: 8px;
    font-size: 18px;
    text-align: left;
    box-sizing: border-box;
}

.item_table tbody td.error>input {
    border: 1px solid red;
}

.item_table tbody td .scrollable-dropdown-menu input {
    width: 100%;
    height: 36px;
    padding: 4px 12px;
    outline: none;
    color: 285ee4;
    background: #fff;
    border: 1px solid #c6c6c6;
    border-radius: 8px;
    font-size: 18px;
    text-align: left;
    box-sizing: border-box;

}

.item_table tbody td .scrollable-dropdown-menu.error input {
    border: 1px solid red;
}


@media screen and (max-width: 742px) {
    .item_table tbody td>.tb-input,
    .item_table tbody td .scrollable-dropdown-menu input {
        position: relative;
        top: 32px;
        width: 100%;
    }
}

.item_table tbody td.tb-item {
    width: 43.73%;
    max-width: 280px;
    min-width: 208px;
}

.tb-item .select-selected {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.select-items .search-items_content {
    position: relative;
    padding: 1px 0;
}

.select-items .search-items_content input {
    width: 100%;
    height: 100%;
    min-height: 36px;
    color: #285ee4;
    font-size: 18px;
    padding: 0 16px;
    font-weight: 500;
}

.tb-item .select-selected {
    text-align: start;
    padding: 8px 28px 8px 16px;
}

.tb-item.error .select-selected{
    border: 1px solid red;
} 

.tb-item.error .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;
    border-bottom: 1px solid #658ae6;
}


.tb-item .select-items div {
    min-height: 36px;
    height: 100%;
    text-align: start;
    word-break: break-all;
}

.item_table .tb-count {
    width: 17.49%;
    /* max-width: 226px; */
    min-width: 74px;
}

.item_table .tb-price {
    width: 24.77%;
    /* max-width: 320px; */
    min-width: 106px;
}

.item_table .tb-totalamount{
    font-weight: 500;
}

.item_table .tb-amount {
    width: 9.67%;
    max-width: 125px;
    min-width: 104px;
    text-align: right;
}

.item_table .tb-amount .amount {
    position: relative;
}

.item_table .tb-amount .amount::before {
    content: "$ ";
}

.tb-delete {
    width: 40px;
    text-align: right;
}

.tb-delete>img {
    cursor: pointer;
}

.fila_addrow .tb_addrow {
    width: 100%;
}

.tb_addrow .addRow {
    font-size: 16px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #287bdb;
    cursor: pointer;
    position: relative;
    /* left: 50%;
    transform: translateX(-50%); */
}

.tb_addrow .addRow:hover {
    color: #285ee4;
}


 /* 通知-資料匯入中 */
.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:742px) {
    .warn_note {
        margin-left: 0px;
        margin-top: 8px;
    }

    .type_select {
        flex-direction: column;
    }

    .type_select .tab_btn+.tab_btn {
        margin-left: 0;
        margin-top: 8px;
    }

    .input_control {
        flex-direction: column;
    }

    .input_control .input_group:first-child {
        margin-right: 0;
    }

    .input_group {
        width: 100%;
    }
    
    .carrier_area .tab_triggers {
        flex-direction: column;
    }

    .carrier_area .tab_triggers li {
        width: 100%;
    }

    .carrier_area .tab_triggers li:nth-child(odd) {
        margin-right: 0;
    }

    .taxcatg_area .tab-content .tax-rate {
        bottom: -44px;
        right: 0;
    }

    /* table */
    .item_table {
        margin-top: 40px;
    }

    .item_table tbody,
    .item_table tbody td,
    .item_table tbody tr {
        display: block;

    }

    .item_table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .item_table tbody {
        position: relative;
    }

    .item_table tbody::before {
        content: "";
        border-top: 2px dashed #c6c6c6;
        position: absolute;
        top: -16px;
        left: 0;
        right: 0;
    }

    .item_table tbody td:not(.no_star) {
        border: none;
        position: relative;
        white-space: normal;
        width: 100%;
        height: 80px;
        box-sizing: border-box;
    }


    .item_table tbody td.tb-amount {
        height: 36px;
        text-align: right;
        display: flex;
        justify-content: end;
        align-items: end;
    }

    .item_table tbody td:not(.no_star)::before {
        position: absolute;
        top: 6px;
        left: 6px;
        font-weight: bold;
    }

    .item_table tbody td:before {
        content: attr(data-title);
        margin-right: 8px;
    }

    .item_table tbody td:not(.no_star)::after {
        position: absolute;
        top: 6px;
        left: 48px;
    }


    .item_table tbody td:not(.no_star)::after {
        content: "*";
        color: red;
    }

    .item_table tbody td>input {
        position: relative;
        top: 32px;
        width: 100%;
    }

    /* 限制欄位寬 */
    .item_table tbody td.tb-item {
        width: 100%;
        max-width: 280px;
        min-width: 100%;
    }

    .item_table tbody .fila {
        width: 100%;
        min-width: 311px;
        margin-bottom: 16px;
        padding: 16px;
        border-radius: 8px;
        border: solid 1px #c6c6c6;
        position: relative;
        box-sizing: border-box;
    }


    .item_table td.tb-item,
    .item_table td.tb-count,
    .item_table td.tb-price,
    .item_table td.tb-amount {
        width: 100%;
        max-width: 100%;
    }

    .item_table tbody td {
        padding-left: 0px;
    }

    .item_table tbody td:not(:last-child) {
        padding-right: 0;
    }

    .tb-delete {
        position: absolute;
        top: 8px;
        right: 8px;
    }

    .tb-delete>img {
        width: 80%;
    }

    .note_issue .item_table .tfoot,
    .issue_record .item_table .tfoot {
        top: 0px;
    }

    .item_table .tfoot tr {
        width: 100%;
        display: flex;
    }

    .item_table .tfoot .fila_addrow {
        position: relative;
        margin-bottom: 24px;
    }

    .item_table .tfoot .fila_addrow::after {
        content: "";
        border-bottom: 2px dashed #c6c6c6;
        position: absolute;
        bottom: -16px;
        left: 0;
        right: 0;
    }

    .item_table .tfoot .tb-item,
    .item_table .tfoot .tb-count,
    .item_table .tfoot .tb-delete {
        display: none;
    }

    .action {
        flex-direction: column-reverse;
    }

    .action .btn {
        width: 100%;
    }

    .action .btn+.btn {
        margin-left: 0;
        margin-bottom: 16px;

    }

    .modal .action {
        flex-direction: row;
    }

    .modal .action .btn+.btn {
        margin-left: 8px;
        margin-bottom: 0px;

    }
}

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

    .tab-link .tabs ul li {
        margin-left: 0;
    }
}

@media screen and (max-width:450px) {
    .invoice_issue .action {
       justify-content: center;
    }
}




/* modal */
.blocker {
    padding: 16px;
    min-width: 343px;
}

.sc-search_content {
    display: flex;
    position: relative;
    margin-bottom: 24px;
}


.sc-search_content .record_search {
    width: 100%;
    height: 40px;
    border-radius: 20px;
    border: 2px solid transparent;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    background: #fff;
    padding: 4px 36px 4px 16px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.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;
    width: 100%;
    height: 100%;
}

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

 /* modal */
 .modal_title_content {
    display: flex;
    /* flex-direction: column; */
    align-items: end;
    padding: 24px 16px 0;
    margin-top: 16px;
}

.modal_title_content .title {
    width: 100%;
    /* display: flex; */
    align-items: end;
    position: relative;
    flex-wrap: wrap;
}

.modal_title_content h3 {
    font-size: 35px;
    font-weight: 600;
    color: #285ee4;
    letter-spacing: 1px;
    margin-right: 16px;
    display: flex;
    align-items: end;
    position: relative;
}

/* table */
.modal .tableFixHead {
    height: 100%;
    min-height: 484px;
    max-height: 484px;
    overflow-y: auto;
    position: relative;
    /* box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); */
}

.modal table thead {
    position: sticky;
    top: 0;
    z-index: 1;
}

.modal table tr th,
.modal table tr td {
    height: 44px;
  

}

.modal table tr th:not(:first-child),
.modal table tr td:not(:first-child){
   
    padding-left: 16px;
}

.modal table .tb_showdiv {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media screen and (max-width:570px) {
    .modal_title_content .title>a {
        margin-top: 8px;
    }
}

/* modal */        
.blocker {
    min-width: 343px;
}

.modal_title_content {
    display: flex;
    flex-wrap: wrap;
}

.modal_title_content h3 {
    font-size: 35px;
    font-weight: 600;
    color: #285ee4;
    letter-spacing: 1px;
    margin-right: 16px;
    display: flex;
    position: relative;
}

.modal .link{
    display: inline-block;
    font-size: 18px;
    font-weight: normal;
    color: #0052d9;
    margin-left: 8px;
    margin-top: 8px;
}

.modal .link:hover{
    text-decoration: underline;
}


/* table */
.modal .tableFixHead {
    height: 100%;
    min-height: 484px;
    max-height: 484px;
    overflow-y: auto;
    position: relative;
    /* box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); */
}

.modal table thead {
    position: sticky;
    top: 0;
    z-index: 1;
}

.modal table tr th,
.modal table tr td {
    height: 44px;
}

.modal .sc-search_content {
    display: flex;
    position: relative;
    margin-bottom: 24px;
}


.modal .sc-search_content .record_search {
    width: 100%;
    height: 40px;
    border-radius: 20px;
    border: 2px solid transparent;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    background: #fff;
    padding: 4px 36px 4px 16px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

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

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

/* 帶入供應商 */
.subtitle_info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.subtitle_info h5 {
    padding-bottom: 8px;
    margin-bottom: 16px;
    line-height: 36px;
    position: relative;
    display: flex;
    overflow-x: auto;
    cursor: pointer;
}

.subtitle_info h5 .tabs {
    position: relative;
    display: flex;
    align-items: center;
}

.subtitle_info h5 .tabs li {

    text-align: center;
    padding-right: 16px;
    position: relative;
    transition: .3s;
    letter-spacing: 4px;
    white-space: nowrap;
}

.subtitle_info h5 .tabs li a {
    font-size: 24px;
    font-weight: bold;
    color: #dbdbdb;
}

.subtitle_info h5 .tabs li:not(:first-child) {
    padding-left: 16px;
}

.subtitle_info h5 .tabs li:not(:last-child):after {
    content: '';
    position: absolute;
    height: 18px;
    width: 2px;
    background: #e0e0e0;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.subtitle_info h5 .tabs a.active {
    color: #285ee4;
}

/* ex8_modal */
#ex8_modal {
    width: 100%;
    max-width: 1080px;
    padding: 0 0;
}


#ex8_modal .modal_title_content {
    padding: 24px 16px 0;
}

#ex8_modal .modal_title_content .title {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#ex8_modal .modal_title_content h3 {
    font-size: 32px;
    font-weight: bold;
    color: #383838;
    letter-spacing: 1px;
    margin-right: 16px;
    display: flex;
    align-items: end;
    position: relative;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

#ex8_modal .sc-search_content {
    width: 100%;
    max-width: 311px;
}

#ex8_modal .search_btn>img {
    position: absolute;
    top: 0;
    right: 0;
}




#ex8_modal.modal .tb_container {
    padding-left: 0 !important;
    padding-top: 0 !important;
    width: 44px !important;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
}

#ex8_modal table tr th.all-check,
#ex8_modal table tr td.tb-checkbox {
    width: 64px;
    max-width: 64px;
}

#ex8_modal table .tb-type {
    width: 112px;
    min-width: 112px;
}

#ex8_modal table .tb-company_title {
    width: 176px;
    max-width: 176px;
    min-width: 176px;
}

#ex8_modal table .td_business_no {
    width: 136px;
    min-width: 136px;
}


#ex8_modal table .tb-name {
    width: 176px;
    max-width: 176px;
    min-width: 176px;
}

#ex8_modal table .tb-tel {
    width: 136px;
    min-width: 136px;
}

#ex8_modal table .tb-email {
    width: 280px;
    min-width: 280px;
}

@media screen and (max-width:450px) {
    #ex8_modal .sc-search_content {
        width: 100%;
    }
}


/* 帶入多筆商品主檔 */
#ex9_modal.modal {
    width: 100%;
    max-width: 1450px;
    padding: 0 0;
}

#ex9_modal .modal_title_content {
    justify-content: space-between;
    padding: 24px 16px 0;
}

#ex9_modal .modal_title_content .title {
    display: flex;
    align-items: end;
    margin-bottom: 24px;
    flex-wrap: nowrap;
}

#ex9_modal .modal_title_content h3 {
    font-size: 32px;
    font-weight: bold;
    color: #383838;
    letter-spacing: 1px;
    margin-right: 0;
    display: flex;
    align-items: end;
    position: relative;
    flex-wrap: wrap;
}

#ex9_modal .sc-search_content .filter-search {
    width: 100%;
    max-width: 311px;
    height: 40px;
    background: #fff;
    border: 1px solid #c6c6c6;
    border-radius: 8px;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    position: relative;
}

#ex9_modal .sc-search_content input[type=text] {
    width: 100%;
    height: 100%;
    font-size: 18px;
    color: #767676;
    border: 0;
    border-radius: 8px;
    outline: none;
    position: relative;
    padding: 4px 36px 4px 16px;
}

#ex9_modal .sc-search_content input[type=text].has-value {
    font-weight: 400;
    color: #000;
    /* 字體顏色改為黑色 */
}

.sc-search_content .filter-search+.filter-search {
    margin-left: 32px;
}

.sc-search_content .filter-search:not(:first-child)::before {
    content: '|';
    position: absolute;
    top: 8px;
    left: -18px;
    width: 1px;
    height: 100%;
    color: #c6c6c6;
}

.sc-search_content .category-search {
    cursor: pointer;
}

.sc-search_content .category-search input[type=text] {
    cursor: pointer;
}

.sc-search_content .filter-search .search_btn {
    width: 36px;
    height: 36px;
    position: absolute;
    top: 1px;
    right: 2px;
    background-color: transparent;
    border: 0;
    cursor: pointer;
}

.sc-search_content .category-search .right_arrow_btn {
    width: 36px;
    height: 36px;
    position: absolute;
    top: 0px;
    right: 0;
}

#ex9_modal table tr th.all-check,
#ex9_modal table tr td.tb-checkbox {
    width: 7.77%;
    min-width: 60px;
}

#ex9_modal table .tb-product_id {
    width: 136px;
    min-width: 136px;
}

#ex9_modal table .tb-name {
    width: 216px;
    min-width: 216px;
    max-width: 216px;
}

#ex9_modal table .tb-img {
    width: 96px;
    min-width: 96px;
}

#ex9_modal table .tb-img>img {
    cursor: pointer;
}

#ex9_modal table .tb-category {
    width: 96;
    min-width: 96px;
    max-width: 96px;
}

#ex9_modal table .tb-spec {
    width: 96px;
    min-width: 96px;
    max-width: 96px;
}

#ex9_modal table .tb-idnum {
    width: 152px;
    min-width: 152px;
}

#ex9_modal table .tb-inventory {
    width: 136px;
    min-width: 136px;
}

.type3.modal .action {
    padding: 16px;
    display: flex;
    justify-content: end;
}


@media screen and (max-width:600px) {
    #ex9_modal .modal_title_content .title {
        flex-wrap: wrap;
    }

    #ex9_modal .sc-search_content {
        width: 100%;
        flex-direction: column;
    }

    #ex9_modal .sc-search_content .filter-search {
        max-width: 100%;
    }

    .sc-search_content .filter-search+.filter-search {
        margin-left: 0;
        margin-top: 16px;
    }

    .sc-search_content .filter-search:not(:first-child)::before {
        display: none;
    }
}


 








 /* 頁面指南 */
 .guide_group {
    margin-bottom: 8px;
    margin-right: 8px;
    position: relative;
}

.guide_group li+li {
    margin-left: 16px;
}

.guide_group .button {
    display: block;
    text-decoration: none;
    line-height: 1;
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, .05);
    background-color: #fff;
    color: #121212;
    border: none;
    cursor: pointer;
}

.button-decor {
    position: absolute;
    inset: 0;
    background-color: var(--clr);
    transform: translateX(-100%);
    transition: transform .3s;
    z-index: 0;
}

.button-content {
    display: flex;
    align-items: center;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.button__icon {
    width: 48px;
    height: 40px;
    background-color: var(--clr);
    display: grid;
    place-items: center;
}

.button__text {
    display: inline-block;
    transition: color .2s;
    padding: 2px 1.5rem 2px;
    padding-left: .75rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 150px;
    font-size: 20px;
}

.guide_group .button:hover .button__text {
    color: #fff;
}

.guide_group .button:hover .button-decor {
    transform: translate(0);
}

.guide_nav {
    /* width: 343px; */
    height: 182px;
    background-color: #fff;
    border: 4px solid #658ae6;
    border-radius: 20px;
    position: absolute;
    z-index: 1;
    top: 48px;
    /* right: 0; */
    display: none;
    padding: 16px;
}

.guide_nav.active {
    display: block;
}

.guide_nav ul {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.guide_nav ul li {
    width: 150px;
    height: 150px;
    background: #fff;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    border-radius: 12px;
    text-align: center;

}

.guide_nav ul li a {
    color: #285ee4;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    flex-direction: column;
}

.guide_nav ul li a>img {
    width: 100%;
    height: 100px;
}

@media screen and (max-width: 400px) {
    .guide_group {
        width: 100%;
        margin-right: 0;
    }

    .guide_group .button {
        width: 100%;
    }
}

.modal_title_content {
    display: flex;
    flex-wrap: wrap;
}

.modal_title_content h3 {
    font-size: 35px;
    font-weight: 600;
    color: #000000;
    letter-spacing: 1px;
    margin-right: 16px;
    display: flex;
    /* align-items: end; */
    position: relative;
    /* margin-bottom: 24px; */
}

.sc-search_content {
    display: flex;
    position: relative;
    margin-bottom: 43px;
}

.modal .tableFixHead {
    height: 100%;
    min-height: 484px;
    max-height: 600px;
    overflow-y: auto;
    position: relative;
}

.modal table thead {
    position: sticky;
    top: 0;
    z-index: 1;
}

.modal table tr th,
.modal table tr td {
    height: 44px;
}

/*選擇商品分類 */
#category_modal {
    max-width: 1400px;
    padding: 24px;
}

#category_modal .modal-content {
    margin-bottom: 24px;
}

#category_modal .modal_title_content {
    margin-bottom: 16px;
}

#category_modal .title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

#category_modal .modal_title_content h3 {
    font-size: 28px;
    font-weight: bold;
    color: #000000;
    margin-right: 0;
    position: relative;
    align-items: center;
    white-space: nowrap;
}

#category_modal .modal_title_content h3>a.back {
    height: 47px;
    top: 0;
}

#category_modal .modal_title_content h3>a.back:before {
    top: 2px;
    left: 0;
}

#category_modal .modal_title_content h3>a.back img {
    top: 2px;
}

#category_modal .tableFixHead>.row {
    row-gap: 24px;
    column-gap: 48px;
}

#category_modal .category_content_wrapper {
    max-width: 408px;
    width: 100%;
    position: relative;
}

#category_modal .category_content {
    width: 100%;
    height: 476px;
    background: #fff;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    border-radius: 15px;
    overflow-y: auto;
    position: relative;
}

#category_modal .category_content_wrapper:not(:first-child):before {
    content: url(/static/v2/images/components/btn_type/triangle_b_44.svg);
    width: 36px;
    height: 36px;
    position: absolute;
    left: -40px;
    top: 50%;
    z-index: 1;
}

#category_modal .tableFixHead table tr th {
    border-radius: 15px 15px 0 0;
}

#category_modal .tableFixHead table tr td {
    text-align: left;
}

#category_modal table tr th.all-check,
#category_modal table tr td.tb-checkbox {
    width: 60px;
    min-width: 60px;
}

#category_modal.modal .action {
    justify-content: end;
}

@media screen and (max-width:450px) {
    #category_modal {
        padding: 16px;
    }
}
