.main_title .main_title_content{
    align-items: start;
}

a.link{
    display: inline-block;
    text-decoration: underline;
    margin-top: 4px;
}

.btn_action{
    display: flex;
    align-items: start;
}

.btn_action>.btn_group{
    display: flex;
    padding: 0 32px;
    margin-bottom: 8px;
    position: relative;
}

.btn_action>.btn_group .group{
    text-align: center;
}


.btn_action>.btn_group:first-child{
padding-left: 16px;
}

.btn_action>.btn_group:last-child{
    padding-right: 0;
}

.btn_action>.btn_group + .btn_group{
    position: relative;
}

.btn_action>.btn_group + .btn_group::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 18px;
    background-color: #dbdbdb;
}

.btn_action>.btn_group .btn{
    height: 40px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn_action>.btn_group .btn:last-child{
    min-width: 174px;
}

.btn_action>.btn_group .btn+.btn{
    margin-left: 16px;
}


/* table */
.subtitle_info {
    width: 100%;
    padding: 16px 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.subtitle_info {
    background-color: #fff;
    border-radius: 15px 15px 0 0;
}

.subtitle_info h3 {
    width: 100%;
    max-width: calc(100% - 228px);
    font-size: 28px;
    font-weight: bold;
    color: #285ee4;
    padding-bottom: 0px;
    margin-bottom: 16px;
    position: relative;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    cursor: pointer;
}


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

.subtitle_info h3 .tabs li {
    height: 40px;
    min-width: 140px;
    text-align: center;
    padding-right: 8px;
    position: relative;
    transition: .3s;
    line-height: 1.5;
}

.subtitle_info h3 .tabs li a {
    display: inline-block;
    font-weight: 500;
    color: #dbdbdb;
    word-spacing: 4px;
    letter-spacing: 2px;
}

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

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

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

.subtitle_info .tabs {
    display: flex;
    padding-bottom: 0px;
}

.subtitle_info .tab-btn {
    margin-right: 10px;
}

.sc-search_content .record_search {
    height: 40px;
    border-radius: 20px;
    border: 2px solid transparent;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, .16);
    /* margin-left: 16px; */
    margin-bottom: 16px;
    background: #fff;
    padding-right: 32px;
    padding-left: 16px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.sc-search_content .record_search input {
    width: 160px;
    font-size: 18px;
    color: #285ee4;
    border: 0;
    outline: none;
}

.sc-search_content .record_search button {
    border: 0;
    position: absolute;
    right: 10px;
    background-color: transparent;
    z-index: 0;
    cursor: pointer;
    user-select: none;
}

.table_container{
    min-height: 484px;
    /* border: 1px solid red; */
    box-shadow: var(--box-shadow);
    background-color: #fff;
    overflow: auto;
}

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


.tab-contents {
    display: none;
}

.active-content {
    display: block;
}

.tb-type{
    width: 132px;
    min-width: 132px;
}
.tb-name{
    width: 240px;
    min-width: 240px;
    max-width: 240px;
}
.tb_business_no{
    width: 136px;
    min-width: 136px;
}
.tb-bankcode{
    width: 112px;
    min-width: 112px
}
.tb-bankaccount{
    width: 176px;
    min-width: 176px
}
.tb-tel{
    width: 136px;
    min-width: 136px;
}
.tb-email{
    width: 280px;
    min-width: 280px;
}
.tb-note{
    width: 208px;
    min-width: 208px;
    max-width: 208px;
}
.tb-edit{
    width: 128;
    min-width: 128px;
}

.staff .tb-jobtitle{
    width: 144px;
    min-width: 144px;
}

.staff .tb-employee_no{
    width: 120px;
    min-width: 120px;
}

.staff .tb-department{
    width: 120px;
    min-width: 120px;
}

.edit_icon {
    width: 44px;
    height: 44px;
}

.pagination .action{
    align-items: center;
}

@media screen and (max-width:768px) {
    .main_title .title {
        width: 100%;
    }

    .link {
        left: 12px;
    }

    .guide_group {
        width: 100%;
    }

    .btn_action {
        flex-wrap: wrap;
    }

    .btn_action>.btn_group {
        padding: 0 8px;
    }

    .btn_action>.btn_group:first-child {
        padding-left: 0;
    }


    .subtitle_info {
        flex-direction: column;
    }

    .subtitle_info h3 {
        max-width: 100%;
    }

    .sc-search_content {
        width: 50%;
        min-width: 282px;
        margin-left: auto;
    }

    .sc-search_content .record_search,
    .sc-search_content .record_search input {
        width: 100%;
    }
}

@media screen and (max-width:450px) {
    .main_title_content>.row {
        width: 100%;
    }

    .btn_action {
        width: 100%;
        flex-direction: column;
        align-items: start;
    }

    .btn_action>.btn_group {
        width: 100%;
        flex-direction: column;
        padding: 0 0;
    }

    .btn_action>.btn_group+.btn_group::before {
        display: none;
    }

    .btn_action>.btn_group .btn {
        width: 100%;
    }

    .btn_action>.btn_group .btn+.btn {
        margin-left: 0;
        margin-top: 8px;
    }
}



/* ex10_modal 匯出收支付對象 */
#ex10_modal {
    max-width: 343px;
    padding: 24px 16px;
}

#ex10_modal h4 {
    font-size: 28px;
    font-weight: bold;
    color: var(--main-primary-color);
}

#ex10_modal .message {
    margin-bottom: 40px;
}

#ex10_modal .message>p {
    margin-bottom: 16px;
}

#ex10_modal .action {
    display: flex;
    flex-direction: column-reverse;
}

#ex10_modal .action .btn {
    width: 100%;
    height: 40px;
    font-size: 18px;
}

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


/* ex8_modal 過去匯入紀錄 */
.act_btn {
    height: 26px;
    line-height: 1;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.16);
}

.act_icon i {
    color: var(--main-primary-color);
}

.act_icon.disabled i {
    color: #C6C6C6;
    cursor: not-allowed;
}

#ex8_modal {
    height: 100%;
    width: 100%;
    max-width: 1126px;
    min-width: 312px;
    padding: 0 0;
    border-radius: 20px;
    background: #f3f3f3;
}

#ex8_modal .modal_title_content {
    padding: 24px;
    display: flex;
    color: #285ee4;
}

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

#ex8_modal .title {
    position: relative;
    display: flex;
    align-items: center;
}

#ex8_modal .tableFixHead {
    width: 100%;
    height: calc(100vh - 311px);
    min-width: 312px;
    background: #fff;
    overflow: auto;
}

#ex8_modal .tableFixHead table thead {
    position: sticky;
    top: 0;
    z-index: 1;
}

#ex8_modal .tableFixHead table tbody tr:hover {
    background: #E0E7F8;
}

/*#ex8_modal .tableFixHead table tbody tr.row-selected {
    background: #BBC3DA;
} */

#ex8_modal table thead tr th {
    height: 44px;
}

#ex8_modal table tbody tr td {
    height: 44px;
}

#ex8_modal .tableFixHead table .tb-uploadtime {
    width: 100px;
    min-width: 100px;
}

#ex8_modal .tableFixHead table .tb-filename {
    width: 190px;
    min-width: 190px;
    max-width: 190px;
}

#ex8_modal .tableFixHead table .tb-progress {
    width: 100px;
    min-width: 100px;
}

#ex8_modal .tableFixHead table .tb-results {
    width: 190px;
    min-width: 190px;
}

#ex8_modal .tableFixHead table .tb-download {
    width: 100px;
    min-width: 100px;
}

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


/* ex7_modal 匯入多筆收支付對象 */
#ex7_modal {
    max-width: 343px;
    padding: 24px 16px;
}

#ex7_modal h4 {
    font-size: 28px;
    font-weight: bold;
    color: var(--main-primary-color);
}

#ex7_modal .message {
    margin-bottom: 40px;
}

#ex7_modal .message>p {
    margin-bottom: 16px;
}

#ex7_modal .action {
    display: flex;
    flex-direction: column-reverse;
}

#ex7_modal .action .btn {
    width: 100%;
    height: 40px;
    font-size: 18px;
}

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

#ex7_modal .message .input_group>a {
    display: flex;
    justify-content: end;
    font-size: 14px;
}

#ex7_modal label {
    width: 100%;
    height: 36px;
    position: relative;
    line-height: 1;
    margin-bottom: 16px;
    text-align: center;
    text-align-last: center;
}

#ex7_modal label input[type="file"] {
    display: none;
}

/* 新增檔案名稱 */
#ex7_modal .ordersfile_name {
    display: inline-block;
    color: #000;
    font-size: 16px;
    position: relative;
}

#ex7_modal .ordersfile_name>span {
    display: inline-block;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.remove-file-btn {
    position: absolute;
    top: 4px;
    right: -24px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    border: none;
    background: url('/static/v2/images/cross_x.svg') no-repeat center center;
    background-size: contain;
}


#ex9_modal {
    max-width: 343px;
    padding: 24px 16px;
}

#ex9_modal h4 {
    font-size: 28px;
    font-weight: bold;
    color: var(--main-primary-color);
}

#ex9_modal .action .btn{
    width: 100%;
}


