  /* 預設 */
  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: #3d3d3d !important;
  }

/* ---------- checkbox 勾選 --------- */
/*勾選同意及按鍵區*/
.chk-container {
    display: flex;
    align-items: center;
    font-size: 18px;
    letter-spacing: 1px;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

.chk-container input {
    position: absolute;
    top: 8px;
    left: 8px;
    opacity: 0;
    cursor: pointer;
}

.chk-container .checkmark {
    display: inline-block;
    height: 20px;
    width: 20px;
    border-radius: 3px;
    position: relative;
}

.chk-container .checkmark:after {
    content: "";
    position: absolute;
    display: none
}

.chk-container .checkmark:after {
    left: 4px;
    top: 0px;
    width: 5px;
    height: 10px;
    border: solid #658ae6;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg)
}

.chk-container .outter {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    transition: .3s;
}

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

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

.chk-container .outter .checkmark {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #285ee4;
    z-index: 2;
    background: 0 0;
}

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

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


.custom-select .select-items .search-items_content {
    position: relative;
    padding: 0;
    height: 40px;
    padding: 2px;
}

.select-items>.search-items_content input {
    display: block;
    width: calc(100% - 4px) !important;
    height: calc(100% - 4px);
    color: #285ee4;
    font-size: 18px;
    padding: 4px 16px;
    z-index: 2;
    border: 1px solid #767676 !important;
    border-radius: 20px;
}

.data_content {
    background: transparent;
    border-radius: 0;
    box-shadow: 0 0;
}

.table-container {
    background: #fff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, .16);
    margin-bottom: 16px;
}

/* inquire-data 查詢條件 */
.inquire-data {
    width: 100%;
    min-width: 311px;
    margin-bottom: 24px;
}

.inquire-data-row {
    padding: 12px 16px;
    border: 2px solid #658ae6;
    border-radius: 15px;
}

.inquire-data-row>legend {
    font-size: 24px;
    font-weight: 500;
    margin-left: 16px;
    padding: 8px;
}

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

.input_group {
    width: 311px;
    margin-right: 8px;
}

.select_group {
    width: 311px;
    margin-right: 8px;
    position: relative;
    margin-bottom: 24px;
    text-align-last: left;
}

.select_group label {
    display: block;
    margin-bottom: 8px;
}

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

.inquire-data .action>.btn {
    width: 160px;
    height: 40px;
    font-size: 18px;
}

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

.dropdown-toggle {
    width: 100%;
    height: 36px;
    font-size: 20px;
    font-weight: 300;
    color: #b4b4b4;
    padding: 4px 32px 4px 12px;
    line-height: 1.3;
    background: #fff;
    border: 1px solid #C6C6C6;
    border-radius: 8px;
    outline: none;
    position: relative;
    cursor: pointer;
}

.dropdown-toggle.select_changed {
    color: #3d3d3d;
}


.dropdown-toggle::after {
    position: absolute;
    content: "";
    top: 9px;
    right: 10px;
    background-image: url(/static/v2/images/slk_down_b.svg);
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-position: center;
}

.dropdown-toggle.select-arrow-active:after {
    border-color: transparent transparent #fff transparent;
    top: 9px;
    transform: rotate(180deg);
    transition: 0.3s;
}

.dropdown-toggle .selected-text {
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    z-index: 1;
    overflow-y: auto;
    width: 100%;
}

.dropdown.active {
    max-height: 200px;
    border-radius: 8px;
    display: block;
}

/* 搜尋輸入框樣式 */
.dropdown ul li:first-child {
    padding: 8px;

}

.dropdown ul li:not(:first-child) label {
    padding: 4px 8px;
}

.dropdown ul li:not(:first-child):hover {
    background: #E6EDFF;
}

.dropdown ul li>label {
    display: flex;
    line-height: 1.2;
    margin-bottom: 0;
}

.select_group .search-input {
    width: 100%;
    height: 36px;
    font-size: 20px;
    background: #fff;
    border: 1px solid #C6C6C6;
    outline: none;
    border-radius: 8px;
    padding: 8px 16px;
    box-sizing: border-box;
}

.dropdown ul li.no-results {
    height: 34px;
    line-height: 1.5;
}

.dropdown ul li.no-results:hover {
    background-color: #f9f9f9;
}

.dropdown ul li.no-results label {
    padding: 0 16px;
}

@media screen and (max-width:768px) {
    .select_group,
    .input_group {
        width: 100%;
        margin-right: 0;
    }

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

    .inquire-data .action>.btn {
        width: 100%;
    }

    .inquire-data .action > .btn + .btn {
        margin-left: 0;
        margin-bottom: 16px;
    }

    .dropdown-toggle .selected-text {
        max-width: 450px;
    }

    .dropdown.active {
        max-height: 400px;
    }
}

.calculation_list {
    margin-bottom: 8px;
}

.calculation_list ul li {
    min-width: 240px;
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    margin-bottom: 8px;
    margin-right: 16px;
    color: #fff;
    font-weight: 500;
    background-color: #658ae6;
    border: 1px solid #658ae6;
    border-radius: 12px;
    position: relative;
}

.calculation_list ul li .amount {
    font-size: 24px;
}

.unit-dollar::before {
    content: '$';
    margin-right: 4px;
}


/* table */
.tb-data-side {
    width: 128px;
    min-width: 128px;
}

.tb-sort {
    min-width: 160px;
    max-width: 160px;
}

.tb-note {
    min-width: 160px;
    max-width: 160px;
}

.tb-money {
    width: 128px;
    min-width: 128px;
}

.tb-object {
    min-width: 128px;
    max-width: 128px;
}

.tb-invoice_num {
    width: 128px;
    min-width: 128px;
}

.tb-project {
    min-width: 128px;
    max-width: 128px;
}

.tb-department {
    min-width: 128px;
    max-width: 128px;
}

.tb-img {
    width: 128px;
    min-width: 128px;
}

.tb-edit {
    width: 144px;
    min-width: 144px;
}

.dividing_col_line {
    display: inline-block;
    width: 2px;
    height: calc(100% - 16px);
    background-color: #dbdbdb;
    margin: 8px 4px 8px 16px;
}

@media screen and (max-width:742px) {
    .subtitle_info {
        padding-left: 16px;
        padding-right: 16px;
    }

    .calculation_list ul li {
        width: 100%;
        margin-right: 0;
    }
}

@media screen and (max-width: 450px) {
    .dropdown-toggle .selected-text {
        max-width: 250px;
    }
}

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