/* table list */
.jtable-title-text {
    text-shadow: unset !important;
}

.jtable-main-container {
    font-size: 1rem !important;
}

.jtable tbody td,
.jtable-column-header-text {
    font-size: 0.875rem;
}

/* child table */
.jtable-child-table-container .jtable-title {
    background: #549688 !important;
}

.jtable-child-table-container .jtable-title-text {
    color: #fff !important;
}

.jtable-child-table-container th {
    background: #c5e0da !important;
}

.jtable-child-table-container .jtable-data-row td {
    background: #f8fff4 !important;
}

.jtable-child-table-container .jtable-row-even td {
    background: #e8f2e8 !important;
}

/*second child table */
.jtable-child-table-container .jtable-child-table-container .jtable-title {
    /* background: #549688 !important; */
    background: #eba590 !important
}

.jtable-child-table-container .jtable-child-table-container .jtable-title-text {
    color: #fff !important;
}

.jtable-child-table-container .jtable-child-table-container th {
    /* background: #c5e0da !important; */
    background-color: #f4c7b0 !important
}

.jtable-child-table-container .jtable-child-table-container .jtable-data-row td {
    /* background: #f8fff4 !important; */
    background-color: #fff1e9 !important
}

.jtable-child-table-container .jtable-child-table-container .jtable-row-even td {
    /* background: #e8f2e8 !important; */
    background-color: #ffe8df !important
}

/* dialog */
.ui-dialog {
    width: 50vw !important;
}

.ui-dialog-titlebar {
    color: #fff;
    background: #549688;
}

.ui-dialog-titlebar-close {
    border: 0px;
    background: #549688;
    margin: -10px 10px 0 0 !important;
}

.ui-dialog-titlebar-close:after {
    content: '';
    width: 20px;
    height: 20px;
    display: inline-block;
    background-image: url(../Packages/jtable/lib/themes/basic/close_circle.png);
    background-position: 0.5px 0.9px;
    background-repeat: no-repeat;
}

.jtable-dialog-form {
    font-size: 0.875rem !important;
}

.jtable-dialog-form input:not([type='radio']),
.jtable-dialog-form textarea {
    width: 100% !important;
}

.ui-dialog-buttonset button {
    color: white;
    padding: .375rem .75rem;
    background: #549688;
    border-radius: 0.25rem;
    border: 1px solid #dddddd;
}

/* custom */
.form-control:focus {
    border-color: #549688;
    box-shadow: 0 0 0 0.2rem rgb(84 150 136 / 28%);
}

.jtable_form_column {
    padding: 2px 0 8px 0 !important;
    border-bottom: unset !important;
}

#cover {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 546px;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
}

/* upload file modal */
#update_img_modal .modal-header {
    background-color: #319BC2;
    color: white;
    font-size: 1.25rem;
}

#submit_img {
    background-color: #319BC2;
    color: white;
}

/*upload button style*/
.select_img_btn {
    background: transparent;
    border: 2px solid #319BC2;
    border-radius: 4px;
    color: #319BC2;
    font-family: "Microsoft JhengHei";
    outline: none;
    white-space: nowrap;
}

.select_img_btn:hover {
    background: #319BC2;
    color: #FFFFFF;
}

.select_img_btn:active {
    box-shadow: 1px 1px 1px #3B7D96 inset;
}

/* upload display img */
#my_dropzone {
    align-items: center;
    border: 2px dashed #63AAD4;
    display: flex;
    justify-content: center;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
}

.dz-progress {
    display: none;
}

.dropzone .dz-preview .dz-image {
    width: auto;
    height: auto;
    min-width: 120px !important;
    min-height: 120px !important;
}