@charset "UTF-8";
@keyframes bounce {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}
 
 /* ---------- 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;
}

.invoice_manage_set {
    width: 100%;
    min-width: 312px;
    /* height: 100vh; */
    height: calc(100vh + 200px);
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
}

.invoice_manage{
   margin-bottom: 40px;
}

.invoice_manage_set .main_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.invoice_manage_set .main_title .main_title_content{
    flex-wrap: wrap;
}

.invoice_manage_set .main_title .title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    margin-bottom: 8px;
}

.invoice_manage_set .main_title .title h3 {
    margin-bottom: 8px;
}

.invoice_manage_set .main_title .group{
    display: flex;
    flex-wrap:wrap;
}



.invoice_manage .main_title .action {
    display: flex;
}

.invoice_manage .main_title .action>.group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.invoice_manage .main_title .action>.group+.group {
    margin-left: 8px;
}

.invoice_manage .main_title .action .group .btn {
    font-size: 18px;
    font-weight: 400;
    padding: 10px 16px;
    text-align: center;
    margin-bottom: 8px;
}



/* --------- .sc-data_content --------- */
.sc-data_content {
    display: flex;
    position: relative;
    top: 0;
    left: 0px;
    align-items: start;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.sc-data_content .title {
    color: #285ee4;
    font-size: 24px;
    font-weight: 500;
    width: 100%;
}

.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: 0px;
    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 input {
    background: 0 0;
    border: 0;
    color: #285ee4;
    font-size: 20px;
    line-height: 22px;
    outline: none;
    padding: 0;
    letter-spacing: 1px;
    width: 120px;
    text-align: center;
}

/* 年分 */
.form_payledger_tmgo {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.form_payledger_tmgo+.form_payledger_tmgo {
    margin-left: 16px;
}

.form_payledger_tmgo .btn {
    margin-left: 16px;
}


#daterange_year {
    width: 100px;
    height: 36px;
    font-size: 16px;
    padding: 4px;
    border: 1px solid #fff;
    outline: none;
    border-radius: 8px;
    box-sizing: border-box;
}

form {
    position: relative;
}

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

/* --------- sc_title_content --------- */
.sc_title_content {
    font-size: 28px;
    color: #285ee4;
    font-weight: 600;
    letter-spacing: 1px;
    /* margin-bottom: 16px; */
    line-height: 40px;
    position: relative;
    display: flex;
}

.sc_title_content .tabs a {
    color: #dbdbdb;
    font-weight: 500;
    transition: .3s;
    /* padding: 0 16px; */
    position: relative;
}


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

.sc_title_content .tabs>a:first-child {
    padding-left: 16px;
}

.sc_title_content .tabs>a:first-child::after {
    content: "|";
    color: #dbdbdb;
    margin: 0 16px;
}

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

.sc-search_content::after {
    content: "|";
    margin: 0 16px;
    color: #dbdbdb;
}

.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;
}

.sc-chk_content .action .btn.export_btn {
    width: 107px;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    padding: 10px 16px;
}

/* --------- table --------- */
.tableFixHead {
    width: 100%;
    /* height: 100%; */
    min-width: 312px;
    min-height: 308px;
    /* max-height: 1144px; */
    border-radius: 15px 15px 0 0;
    overflow-y: hidden;
    overflow-x: auto;
    position: relative;
    background: #fff;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    }
    
table.data-table tbody tr:last-child {
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
}

table.data-table tr th,
table.data-table tr td {
    padding: 0 0 0 16px;
    text-align: center;
    height: 44px;
    box-sizing: border-box;
}

table.data-table tr th:first-child,
table.data-table tr td:first-child {
    padding-left: 24px;
}

table.data-table tr td {
    height: 44px;
}

table .tb-invoicedate{
    width: 7.96%;
    min-width: 100px;
}

table .tb-invoicenum {
    width: 14.01%;
    min-width: 176px;
}

table .tb-invoiceno {
    width: 9.24%;
    min-width: 116px;
}

table .tb-edit {
    width: 18.79%;
    min-width: 236px;
}

table .tb-notes {
    width: 14.69%;
    min-width: 166px;
    max-width: 166px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========== .invoice_set ========== */
.invoice_set{
    position: relative;
    top:40px;
    margin-bottom: 16px;
}

.tab-link {
    position: absolute;
    top: 0;
    left: 232px;
}

.tab-link .tabs {
    display: flex;
    align-items: center;
    /* flex-wrap: nowrap; */
}

.tab-link .tabs ul {
    display: flex;
    flex-wrap: nowrap;
}

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

.tab-link .tabs ul li>a {
    color: #000;
}

.tab_content {
    display: none;
}

.tab_content.active {
    display: block;
}


/* manually 手動新增 */
.manually .item {
    width: 100%;
    overflow-x: auto;
    border-radius: 15px;
}

.manually .item ul {
    display: flex;
}

.manually .item li {
    padding-right: 16px;
    text-align: center;
    box-sizing: border-box;
}

.manually .item ul li:first-child {
    padding-left: 24px;
}

.manually .item .item_header {
    width: 100%;
    background-color: #285ee4;
    text-align: center;
}

.manually .item .item_body {
    width: 100%;
    background-color: #fff;
}

.manually .item .item_header li {
    background-color: #285ee4;
    color: #fff;
    height: 44px;
    line-height: 44px;
    font-size: 20px;
    font-weight: 300;
}

.manually .item .item_body li {
    background-color: #fff;
    height: 68px;
    line-height: 68px;
}

.manually .item li>input {
    width: 100px;
    height: 36px;
    font-size: 16px;
    padding: 4px;
    border: 1px solid #c6c6c6;
    outline: none;
    border-radius: 8px;
    box-sizing: border-box;
}

.manually .item li>input:hover,
.manually .item li>input:focus {
    border-color: #285ee4;
}

.manually .item li>select {
    width: 100px;
    height: 36px;
    font-size: 16px;
    padding: 4px;
    border: 1px solid #c6c6c6;
    outline: none;
    border-radius: 8px;
    box-sizing: border-box;
}

.manually .item li>select:hover,
.manually .item li>select:focus {
    border-color: #285ee4;
}

.manually .item .tb-invoicedate {
    min-width: 140px;
}

.manually .item li.tb-invoicenum {
    min-width: 176px;
}

.manually .item li.tb-invoiceno {
    min-width: 116px;
}

.manually .item li.tb-edit {
    min-width: 236px;
}

/* automatic  自動新增 */
.automatic .btn.file_btn {
    width: 88px;
    height: 26px;
    font-size: 14px;
    text-decoration: none;
    background: #285ee4;
    color: #ffffff;
    border: none;
    outline: none;
    border-radius: 13px;
    transition: 0.3s;
    cursor: pointer;
    margin-bottom: 16px;
    box-sizing: border-box;
    line-height: 1;
}

.file-container .file-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 250px;
    /* background-color: #e9ecef; */
    z-index: 20;
    border-radius: 20px;
    box-sizing: border-box;
}

.file-container .file-wrapper .file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    cursor: pointer;
    opacity: 0;
}

.file-container .file-wrapper .file-input--active+.file-content .file-icon img {
    animation-name: bounce;
    animation-duration: .6s;
    animation-iteration-count: infinite;
    animation-timing-function: ease;
}

.file-container .file-wrapper .file-content {
    position: relative;
    display: block;
    text-align: center;
    border: 2px dashed rgba(73, 80, 87, .6);
    border-radius: 20px;
    transition: .2s;
}

.file-container .file-wrapper .file-content .file-infos {
    display: flex;
    width: 100%;
    height: 80%;
    margin: auto;
    flex-direction: column;
    justify-content: center;
}

.file-container .file-wrapper .file-content .file-infos .file-icon {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    color: rgba(73, 80, 87, .6);
    border-radius: 20px;
    transition: .2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.file-container .file-wrapper .file-content .file-infos .file-icon>img {
    width: 180px;
    height: 140px;
}

.file-container .file-wrapper .file-content .file-infos .file-icon i {
    margin-bottom: 20px;
    width: 100%;
}

.file-container .file-wrapper .file-content .file-infos .file-icon>span span {
    display: none;
}

.file-container .file-wrapper .file-content .file-infos .file-icon>span .has-drag {
    display: inline;
}

.file-container .file-wrapper .file-content .file-name {
    width: 100%;
    text-align: middle;
    left: 0;
    font-weight: bold;
    font-size: 15pt;
    margin: 16px auto;
    text-align: center;
}

    .small {
        color: red;
    }

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

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

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

    .action .reset_btn {
        background: #fff;
        color: #285ee4;
        border: 2px solid #285ee4;
    }

    .action .reset_btn:hover {
        background: #fff;
    }
    
    
     .act_btn {
        display: inline-block;
        height: 26px;
        font-size: 14px;
        font-weight: 400;
        padding: 6px 16px;
        margin-bottom: 0;
        color: #fff;
        background-color: #658ae6;
        border-radius: 25px;
        /* box-shadow: 2px 4px 10px 0 rgba(4, 128, 128, 0.25); */
        box-sizing: border-box;
        line-height: 1;
    }
    .act-delete{
        background-color: #d16a01;
    }

    .act-pause {
        background-color: #2E4A8F;
    }


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

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

    .notice_modal.modal .message {
        text-align: center;
        color: #000;
    }

    #info_6.modal .message ul li {
        list-style: inside;
    }

    .info_group {
        margin-bottom: 8px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    
    .nodata_content {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin: 40px auto;
    }
    
    .nodata_content img {
        width: 343px;
        height: 300px;
    }
    
    .nodata_content>span {
        color: #6a6a6a;
        font-size: 20px;
        margin-top: 8px;
    }

    @media screen and (max-width: 1280px){
        .tab-link {
            position: relative;
            top: -8px;
            left: 0;
        }
    }

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

    .sc-data_content {
        flex-direction: column;
    }

    .form_payledger_tmgo+.form_payledger_tmgo {
        margin-left: 0px;
    }
}

@media screen and (max-width:600px) {
    .invoice_manage_set .main_title {
        flex-direction: column;
        align-items: start;
    }

    .invoice_manage .main_title .action {
        flex-direction: column;
        margin-top: 16px;
    }

    .invoice_manage .main_title .action .group .btn {
        width: 100%;
        text-align: center;
    }

    .invoice_manage .main_title .action>.group+.group {
        margin-top: 8px;
        margin-left: 0;
    }

    .sc-chk_content {
        flex-direction: column;
        width: 100%;
    }

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

    .sc-chk_content .action .btn.export_btn {
        width: 100%;
    }

    .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;
        align-items: start;
        margin-bottom: 16px;
    }

    
    .sc-search_content::after {
        display: none;
    }

    .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;
    }

    .sc-chk_content>.btn {
        width: 100%;
        text-align: center;
    }

    .invoice_manage .pagination {
        margin-bottom: 80px;
    }

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


@media screen and (max-width:450px) {
    .tab-link .tabs {
        flex-direction: column;
        align-items: start;
    }

    .tab-link .tabs ul{
        flex-wrap: nowrap;
    }
}
