.table {
    padding-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

.prefix_other_width {
    width: auto !important;
}

.autocomplete {
    position: relative;
    display: inline-block;
}

input[type=text] {
    width: 100%;
}

input[type=submit] {
    background-color: DodgerBlue;
    color: #fff;
    cursor: pointer;
}

.autocomplete-items {
    border: 1px solid #ccc;
    border-radius: 4px;
    position: absolute;
    /* position: static; */
    /* float: none; */
    /* border-bottom: none;
    border-top: none; */
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    /* top: 100%;
    left: 0;
    right: 0; */
    height: auto;
    max-height: 300px;
    overflow-y: auto;
    min-height: 50px;
}

.autocomplete-items div:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.autocomplete-items div:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
}


/*when hovering an item:*/

.autocomplete-items div:hover {
    background-color: #e9e9e9;
}


/*when navigating through the items using the arrow keys:*/

.autocomplete-active {
    background-color: DodgerBlue !important;
    color: #ffffff;
}

.bg-light-custom {
    background-color: #edf1f4 !important;
}

.text-dark {
    color: #343a40!important;
}

.p-3 {
    padding: 16px!important;
}

.mb-2,
.my-2 {
    margin-bottom: .5rem!important;
}


/* .modal,
body.modal-open {
    padding-right: 0 !important
}

body.modal-open {
    overflow: auto
}

body.scrollable {
    overflow-y: auto
}
 */

.modal-open {
    overflow: hidden
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto
}

.modal,
body.modal-open {
    padding-right: 0 !important;
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    outline: 0;
}

.modal-dialog {
    width: 90%;
    position: relative;
    width: auto;
    margin: .5rem;
    pointer-events: none
}

.modal.fade .modal-dialog {
    transition: -webkit-transform .3s ease-out;
    transition: transform .3s ease-out;
    transition: transform .3s ease-out, -webkit-transform .3s ease-out;
    -webkit-transform: translate(0, -25%);
    transform: translate(0, -25%)
}

@media screen and (prefers-reduced-motion:reduce) {
    .modal.fade .modal-dialog {
        transition: none
    }
}

.modal.show .modal-dialog {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0)
}

.modal-dialog-centered {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - (.5rem * 2))
}

.modal-dialog-centered::before {
    display: block;
    height: calc(100vh - (.5rem * 2));
    content: ""
}

.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: .3rem;
    outline: 0
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000
}

.modal-backdrop.fade {
    opacity: 0
}

.modal-backdrop.show {
    opacity: .5
}

.modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem
}

.modal-header .close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5
}

.modal-body {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem
}

.modal-footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #e9ecef
}

.modal-footer>:not(:first-child) {
    margin-left: .25rem
}

.modal-footer>:not(:last-child) {
    margin-right: .25rem
}

.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll
}

@media (min-width:576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto
    }
    .modal-dialog-centered {
        min-height: calc(100% - (1.75rem * 2))
    }
    .modal-dialog-centered::before {
        height: calc(100vh - (1.75rem * 2))
    }
    .modal-sm {
        max-width: 300px
    }
}

.modal-lg {
    max-width: 85% !important;
}

@media (min-width:992px) {
    .modal-lg {
        max-width: 800px
    }
    .width_title {
        width: 55px;
        /* white-space: normal; */
    }
}

@media (min-width:747px) {
    .dataTables_info {
        white-space: normal;
    }
}

.fade {
    transition: opacity .15s linear;
}

.invalid_alert {
    color: #a94442;
    font-size: 12px;
    padding-left: 15px;
    /* text-align: center; */
}

.border_invalid_alert {
    /* background-color: #f8d7da; */
    /* border: 1px solid #f5c6cb; */
    border-color: #f5c6cb;
}

.width_title {
    overflow: hidden;
    text-overflow: ellipsis;
}


/* .input-group>input,
.form-group>.col-md-4>input,
.col-md-3>.form-group>.col-md-8>input {
    color: #999 !important
} */

#workflow_result_table tr th,
#workflow_result_table tr td {
    border-left: 1px solid #e9e9e9;
}

#workflow_result_table tr th:last-child,
#workflow_result_table tr td:last-child {
    border-right: 1px solid #e9e9e9;
}

#workflow_result_table tr th {
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1px solid #e9e9e9;
    border-bottom: 1px solid #e9e9e9;
}

#workflow_result_table tr td {
    padding: 10px;
    border-bottom: 1px solid #e9e9e9;
}

#table_record_wait_yellow_before_reject_table_wrapper .dataTables_scrollHead .dataTables_scrollHeadInner tr th,
#table_record_wait_yellow_before_reject_table_wrapper .dataTables_scrollBody #table_record_wait_yellow_before_reject_table tr td {
    border-left: 1px solid #e9e9e9;
}

#table_record_wait_yellow_before_reject_table_wrapper .dataTables_scrollHead .dataTables_scrollHeadInner th:last-child,
#table_record_wait_yellow_before_reject_table_wrapper .dataTables_scrollBody #table_record_wait_yellow_before_reject_table tr td:last-child {
    border-right: 1px solid #e9e9e9;
}

#table_record_wait_yellow_before_reject_table_wrapper .dataTables_scrollHead .dataTables_scrollHeadInner tr th {
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1px solid #e9e9e9;
    border-bottom: 1px solid #e9e9e9;
}

#table_record_wait_yellow_before_reject_table_wrapper .dataTables_scrollBody #table_record_wait_yellow_before_reject_table tr td {
    padding: 10px;
    border-bottom: 1px solid #e9e9e9;
}

.modal.fade .modal-dialog {
    transform: translate(0, 0) !important;
}

.dataTables_scrollHeadInner .display,
.dataTables_scrollHeadInner {
    width: 100% !important;
}

.active {
    visibility: visible;
}

.disabled {
    visibility: hidden;
}

.bootstrap-select .dropdown-toggle:focus {
    outline: thin dotted #333!important;
    outline: 0px auto -webkit-focus-ring-color!important;
    outline-offset: 0px!important;
}

.btn-default.focus,
.btn-default:focus {
    color: none;
    background-color: #e6e6e6;
    border-color: none;
}

.modal-footer {
    margin-top: 5px;
}


/*     
.btn,
.btn:after,
.btn:active,
.btn:before {
    -webkit-box-sizing: none !important;
    -moz-box-sizing: none !important;
    box-sizing: none !important;
} */

button:focus,
button::after,
button::before,
input,
input:focus,
a:focus {
    outline: none !important;
}

.text-waiting {
    color: #ffc107;
}

.autocomplete-items {
    min-height: 42px !important;
}

.space-between {
    display: flex;
    justify-content: space-between;
}