.accordion_arrow {
    transition: transform 0.5s ease;
    user-select: none;
}

.accordion_arrow.rotate {
    transform: rotate(180deg);
}

.row {
    /* width: 100%; */
    display: flex;
    flex-wrap: nowrap;
}

.item_row.row{
    width: 100%;
}

.disabled {
    cursor: not-allowed !important;
    background-color: #C6C6C6 !important;
    box-shadow: none !important;
}

.action button.del_btn {
    background: #ff2323;
    color: #fff;
    transform: scale(1);
}

.action button.del_btn:hover {
    background: #df0f0f !important;
    color: #fff;
}

.action button.del_btn:active {
    background: #be0000 !important;
    color: #fff;
    transform: scale(0.98);
}

/* .action .cancel_btn {
    border: 2px solid #285ee4;
    background: #fff !important;
    color: #285ee4;
    transform: scale(1);
}

.action .cancel_btn:hover {
    background: #f3f3f3 !important;
    color: #285ee4;
}

.action .cancel_btn:active {
    background: #dbdbdb !important;
    color: #285ee4;
    transform: scale(0.98);
} */

/* .action .send_btn {
    background: #285ee4;
    color: #fff;
    transform: scale(1);
} */

/* .action .send_btn:hover {
    background: #077474;
    color: #fff;
} */

/* .action .send_btn:active {
    background: #005a5a;
    transform: scale(0.98);
} */

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

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

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

.reimbursement_issue .main_title .title {
    display: flex;
    /* align-items: end; */
    align-items: center;
}

.reimbursement_issue .main_title .title>span {
    font-size: 24px;
}

.reimbursement_issue .item_body {
    min-height: 570px;
}

.annotation-title {
    margin-bottom: 16px;
    display: flex;
}

.catch_title {
    margin-right: 8px;
    font-size: 18px
    ;
}

/* input_area */
.input_area {
    width: 40%;
    min-width: 282px;
    margin-right: 24px;
    /* border: 1px solid palegreen; */
}

.input_control {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 8px;
}

.input_control.line {
    padding-top: 24px;
    border-top: 1px solid #c6c6c6;
}

.textarea_p {
    padding: 8px;
    border: 1px solid #c6c6c6;
    border-radius: 8px;
    color: #285ee4;
    line-height: 1.2;
}

.input_group {
    width: 100%;
    position: relative;
    margin-bottom: 24px;
    text-align-last: left;
}

.input_group label {
    display: block;
    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 input.error{
    border: 1px solid red;
}

textarea[name="description"] {
    width: 100%;
    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;
    resize: vertical;
    box-sizing: border-box;
} 

textarea[name="remark"] {
    width: 100%;
    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;
    resize: vertical;
    box-sizing: border-box;
}

/* .table-body textarea[name="description"]{
    border: 2px solid #c6c6c6;
} */

.small {
    color: red;
}

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

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

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


/* expense_area */
.expense_area {
    width: 60%;
    min-width: 496px;
}

/* upload_content 新增憑證按鈕 */
.upload_content {
    display: flex;
    justify-content: end;
    align-items: center;
    position: relative;
    margin-bottom: 16px;
}
.upload_content .action{
    min-width: 312px;
}

.upload_content .action .btn {
    width: 150px;
    height: 40px;
    font-size: 18px;
    font-weight: bold;
    box-sizing: border-box;
}

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

/* expense_amount 總計 */
.expense_amount {
    width: 100%;
    margin-bottom: 24px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.expense_amount label {
    display: block;
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: #285ee4;
    font-size: 32px;
}

.expense_amount input {
    width: 100%;
    height: 100%;
    text-align: right;
    padding: 8px 16px 8px 96px;
    box-sizing: border-box;
    color: #285ee4;
    font-size: 32px;
    border-radius: 8px;
}

.expense_amount input:disabled {
    background-color: #f8f8f8;
    border: none;
    outline: none;
}


/* expense_upload 憑證欄位 */
.expense_upload {
    width: 100%;
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 16px 8px 0 0;
    box-sizing: border-box;
}

.expense_upload+.expense_upload {
    margin-top: 16px;
}

.expense_input {
    width: 100%;
    height: 36px;
    padding: 6px 10px;
    font-size: 16px;
    text-align: left;
    border: 1px solid #c6c6c6;
    outline: none;
    border-radius: 8px;
    cursor: pointer;
    color: #285ee4;
    box-sizing: border-box;
}

.table-header {
    margin-bottom: 8px;
}

.table-header-item {
    margin-bottom: 8px;
    margin-right: 8px;
}

.table-header-item:last-child {
    margin-right: 0;
}

.table-header-item .data-cell {
    margin-top: 8px;
}

.table-header-item .select-selected:after {
    top: 8px;
    right: 4px;
}

.table-header-item .select_changed .select-selected {
    color: #285ee4;
}

.table-header-item .select-selected {
    height: 36px;
    line-height: 1.3;
    box-sizing: border-box;
}


.table-select .select-items div,
.table-select .select-selected {
    border: 1px solid #c6c6c6;
    padding: 8px 20px 8px 8px;
    font-size: 16px;

}

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

.table-select .select-items {
    border-left: 1px solid #658ae6;
    border-right: 1px solid #658ae6;
    border-bottom: 1px solid #658ae6;
    border-top: 1px solid #658ae6;
}


.table-header-item .data-cell .expense_input.amount {
    text-align: right;
    color: #285ee4;
}

.expense_upload .mx-datepicker {
    /* width: 140px; */
    width: 100%;
}

.table-header-item .data-cell .mx-input {
    border: 1px solid #c6c6c6;
    border-radius: 8px;
    height: 36px;
}

.table-header-item .data-cell .btn {
    height: 26px;
    line-height: 1;
}

.table-header-item .data-cell .btn+.btn {
    margin-top: 8px;
}



/* expense_upload>table-header>table-header-item>data-cell >expense_input */


.table-body {
    width: 100%;
    padding-left: 44px;
    box-sizing: border-box;
}

.table-body .data-cell {
    width: 25%;
    min-width: 112px;
}

.table-body .data-cell .expense_input {
    margin-bottom: 8px;

}

/* preview_content */
.preview_content {
    width: 100%;
    max-width: 450px;
    min-width: 450px;
    height: 600px;
    object-fit: cover;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    overflow: hidden;
    margin-left: 24px;
    position: relative;
}

.preview_content>span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #285ee4;
    font-size: 18px;
    word-break: keep-all;
}

.preview_content .preview_0 {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.preview_content .preview_0 .image {
    object-fit: cover;
    width: 100%;
    height: auto;
    padding: 0;
    cursor: move;
    position: absolute;
}

.item_record {
    position: absolute;
    bottom: 16px;
    left: 16px;
    color: #bebebe;
}

.btn_block {
    width: calc(100% - 474px);
}

.btn_block .action {
    width: 100%;
    max-width: 850px;
    display: flex;
    justify-content: end;
    position: relative;
}

.btn_block .action .btn {
    width: 150px;
    height: 40px;
    font-size: 18px;
    font-weight: bold;
    box-sizing: border-box;
}

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

.btn_block .group {
    margin-left: -8px;
    text-align: center;
}

.btn_block .group>p {
    color: #285ee4;
    margin-top: 8px;
}

@media screen and (max-width:800px) {
    .btn_block .group {
        width: 100%;
        margin-left: 0;
        margin-top: 8px;
    }
}


.loading_type .lottie-dataimport {
    margin-top: -16px;
}

.loading_type span {
    margin-top: -16px;
}

@media screen and (max-width:1480px) {
    .item_row {
        display: flex;
        flex-direction: column;
    }

    .preview_content {
        margin-left: 0;
        margin-bottom: 16px;
    }

    .btn_block {
        width: 100%;
    }
}


@media screen and (max-width:1100px) {
    .item_main {
        flex-direction: column;
    }

    .input_area {
        width: 100%;
        margin-right: 0;
    }

    .expense_area {
        width: 100%;
    }
}

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


    .btn_block .action {
        max-width: 100%;
        flex-direction: column;
    }

    .btn_block .action .btn {
        width: 100%;
    }

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

    .btn_block .action .confirm .btn {
        width: 150px;
    }

    .btn_block .action .confirm .btn+.btn {
        margin-top: 0px;
        margin-left: 8px;
    }
}

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

    .expense_area {
        min-width: 311px;
    }

    .table-header {
        flex-wrap: wrap;
    }

    .table-header-item:nth-child(odd) {
        width: 60% !important;
    }

    .table-header-item:nth-child(even) {
        width: 30% !important;
    }


    .table-body {
        /* display: flex; */
        flex-wrap: wrap;
    }


    .table-body .data-cell {
        width: 50%;
    }

}

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

    .preview_content{
        min-width: 343px;
        overflow-x: auto;
    }
}


/* 防呆 tiptop */
.tiptop_t1,
.tiptop_t2,
.tiptop_t3,
.tiptop_t4 {
    width: 100%;
    max-width: 450px;
    min-width: 343px;
    border-radius: 20px;
    background: #fff;
    position: absolute;
    padding: 30px 0;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    bottom: 130px;
    left: 20;

}

.tiptop_t1.center,
.tiptop_t2.center,
.tiptop_t3.center,
.tiptop_t4.center {
    left: 185;
}

.tiptop_t1.right,
.tiptop_t2.right,
.tiptop_t3.right,
.tiptop_t4.right {
    right: 20;
    left: auto;
}


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


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

.tiptop_t4 .confirm,
.tiptop_t1 .confirm,
.tiptop_t2 .confirm,
.tiptop_t3 .confirm {
    display: flex;
    justify-content: center;
}

.tiptop_t4 .confirm button.reset,
.tiptop_t1 .confirm button.reset,
.tiptop_t2 .confirm button.reset,
.tiptop_t3 .confirm button.reset {
    border: 2px solid #285ee4;
    background: #fff;
    color: #285ee4;
}

.tiptop_t4 .confirm button.confirm,
.tiptop_t1 .confirm button.confirm,
.tiptop_t2 .confirm button.confirm,
.tiptop_t3 .confirm button.confirm {
    background: #285ee4;
    color: #fff;
}



.modal .action .btn{
    width: 150px;
    height: 40px;
    font-size: 16px;
}
