* {
    font-size: 12px;
}
body {
    background-color: #f5f8fa;
    overflow-x: hidden;
    font-size: 0.9em;
}
.erp-header {
    border: 1px solid #d3e0e9;
    background-color: #fff;
    margin-bottom: 22px;
    border-style: solid none solid none;
}
.erp-header .logo img {
    max-width: 300px;
}
.erp-header .copyright,
.erp-header .user {
    text-align: right;
    padding: 15px 0;
}
.erp-header .copyright a {
    color: #d39e00;
}
.erp-header .copyright a:hover {
    text-decoration: underline;
}
.erp-header .user a {
    color: #333;
}

.erp-navbar {
    border: 1px solid #d3e0e9;
    background-color: #fff;
    margin-bottom: 22px;
    border-style: solid none solid none;
}
.erp-nav-item a.nav-link:hover {
    color: #007bff !important;
}
.erp-nav-item a.nav-link.active {
    color: #dc3545 !important;
}
.dropdown-menu.large {
    right: 0 !important;
    left: auto !important;
}
#menu-top-menu {
    display: block;
    width: 100%;
}
#menu-top-menu.nav-large {
    width: 660px;
}
#menu-top-menu .menu-item a {
    background: none;
    border: 0;
    clear: both;
    color: #838e95;
    display: block;
    font-size: 14px;
    font-weight: 400;
    padding: 0.25rem 1.5rem;
    text-align: inherit;
    white-space: nowrap;
    width: 100%;
}
#menu-top-menu .menu-item a:hover {
    background: #f5f6f9;
    color: #007bff;
    text-decoration: none;
}
#menu-top-menu .menu-item a.active {
    background: #f5f6f9;
    color: #dc3545;
    text-decoration: none;
}
.menu-item-employee {
    position: relative;
}
.navbar-nav.navbar-nav-employee {
    flex-direction: column;
    position: absolute;
    background: #fff;
    right: -189px;
    width: 200px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    top: 0;
}
.card-login {
    border: 1px solid #d3e0e9;
}
.card-login .card-header {
    background: #fff;
}
.erp-menu .card {
    border: 1px solid #d3e0e9;
}
.erp-menu .card-header {
    padding: 5px 0;
    margin-bottom: 0;
    background-color: #fff;
    border-bottom: 1px solid #d3e0e9;
}
.erp-menu .card-header h2 a {
    color: #333;
}
.erp-menu .card-body {
    padding: 1rem;
}
.erp-menu .list-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.erp-menu .list-menu li {
    margin-bottom: 2px;
}
.erp-menu .list-menu li a {
    color: #333;
}
.erp-menu .list-menu li a:hover,
.erp-menu .list-menu li a.active {
    color: #007bff;
    text-decoration: none;
}

.erp-main-top {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #dfdfdf;
}
.erp-main-actions {
    margin-bottom: 20px;
}
.erp-main-actions i {
    color: #fff;
}

.erp-main-form .alert {
    padding: 0.3rem 1rem;
    margin-bottom: 0;
}
.erp-main-form.erp-main-form-small .form-group {
    margin-bottom: 3px;
}
table.dataTable > thead > tr > th.datatable-th-search {
    padding-right: 0.75rem;
}
.erp-invalid-feedback,
.cms-error {
    margin-top: 0.25rem;
    font-size: 80%;
    color: #dc3545;
}

.erp-outside-image {
    border: 1px solid #bfbfbf;
    cursor: pointer;
    margin-bottom: 1rem;
    height: 185px;
    text-align: center;
}
.erp-image {
    width: auto;
    max-width: 100% !important;
    height: 100%;
}
.cms-picture {
    width: 150px;
    height: 150px;
    border: 1px solid #bfbfbf;
    text-align: center;
    overflow: hidden;
}
.cms-picture.banner {
    width: 100%;
}
.cms-picture img {
    width: 100%;
    height: auto;
}
.cms-picture-label {
    position: relative;
    display: block;
}
.cms-picture-delete {
    position: absolute;
    top: 0;
    right: 0;
    color: red;
    cursor: pointer;
    z-index: 100;
}
.cms-picture-delete i {
    font-size: 20px;
}
.cms-pic-w33-h33 {
    width: 33px;
    height: 33px;
}
.cms-db-w44-h44 {
    width: 34px;
    height: 34px;
    display: block;
}

.text-require .fa,
.text-require .fas {
    color: #dc3545;
    font-size: 7px;
}
.text-require.left5 {
    padding-left: 5px;
}
.cms-spic {
    width: 50px;
}

.table-picture {
    max-width: 100px;
}
.table-picture.tp-small {
    max-width: 50px;
}

.select2-container--bootstrap4
    .search-order-detail
    .select2-results
    > .select2-results__options {
    max-height: 30em;
}
.s2ajax-item-picture {
    text-align: center;
}
.s2ajax-item-picture img {
    max-width: 50px;
}

.modal.modal-fullscreen .modal-dialog {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    max-width: none;
}
.modal.modal-fullscreen .modal-content {
    height: auto;
    height: 100vh;
    border-radius: 0;
    border: none;
}
.modal.modal-fullscreen .modal-body {
    overflow-y: auto;
}

.erp-mw-80 {
    min-width: 80px;
}
.erp-mw-100 {
    min-width: 100px;
}
.erp-mw-120 {
    min-width: 120px;
}
.erp-mw-140 {
    min-width: 140px;
}
.erp-mw-150 {
    min-width: 150px;
}
.erp-mw-160 {
    min-width: 160px;
}
.erp-mw-170 {
    min-width: 170px;
}
.erp-mw-180 {
    min-width: 180px;
}
.erp-mw-190 {
    min-width: 190px;
}
.erp-mw-200 {
    min-width: 200px;
}
.erp-mw-210 {
    min-width: 210px;
}
.erp-mw-220 {
    min-width: 220px;
}
.erp-mw-230 {
    min-width: 230px;
}
.erp-mw-240 {
    min-width: 240px;
}
.erp-mw-250 {
    min-width: 250px;
}
.erp-mw-260 {
    min-width: 260px;
}
.erp-mw-270 {
    min-width: 270px;
}
.erp-mw-280 {
    min-width: 280px;
}
.erp-mw-290 {
    min-width: 290px;
}
.erp-mw-300 {
    min-width: 300px;
}
.erp-w-100 {
    width: 100px;
}

.max-w-200 {
    max-width: 200px;
}

.width-5 {
    width: 5px !important;
}
.width-10 {
    width: 10px !important;
}
.width-50 {
    width: 50px !important;
}
.width-100 {
    width: 100px !important;
}
.width-150 {
    width: 150px !important;
}
.width-200 {
    width: 200px !important;
}
.width-300 {
    width: 300px !important;
}
.width-400 {
    width: 400px !important;
}
.width-500 {
    width: 500px !important;
}

.width-percent-100 {
    width: 100%;
}
.height-percent-100 {
    height: 100%;
}

.r-required {
    color: red;
}
#erp-loading {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    width: 100%;
    height: 100%;
    display: block;
    background-color: rgba(51, 51, 51, 0.5);
}
.erp-loading-area {
    position: relative;
}
.erp-loading-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 100;
}
.erp-loading-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}
#import-tbody-errors ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.big-width {
    min-width: 200px !important;
}
.min-width-300 {
    min-width: 300px !important;
}
.medium-width {
    min-width: 150px !important;
}
.fa-basic {
    font-size: 18px;
    cursor: pointer;
}
.cursor-p {
    font-size: 0.9em;
    cursor: pointer;
}
.erp-notify {
    position: relative;
}
.erp-notify-count {
    position: absolute;
    top: -5px;
    right: 10px;
}
.cms-dt-sw {
    max-width: 50px !important;
}
.cms-dt-bw {
    min-width: 400px !important;
}
.tab-error {
    border: solid 1px #d9534f;
    color: #d9534f;
}
.form-picker[readonly] {
    background: none;
}
.has-success .form-control {
    border-color: #5cb85c;
}
.required-field > label::after {
    content: "*";
    color: red;
    margin-left: 0.25rem;
}
.has-danger .form-control {
    border-color: #d9534f;
}
.has-danger .col-form-label,
.has-danger .custom-control,
.has-danger .form-check-label,
.has-danger .form-control-feedback,
.has-danger .form-control-label {
    color: #d9534f;
}
.has-success .col-form-label,
.has-success .custom-control,
.has-success .form-check-label,
.has-success .form-control-feedback,
.has-success .form-control-label {
    color: #5cb85c;
}
.v-middle {
    vertical-align: middle !important;
}
.crm-question {
    padding: 20px;
    border: 1px solid #bfbfbf;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 425px) {
    .erp-header .logo {
        text-align: center;
        padding: 10px 0;
    }
    .erp-header .logo img {
        max-width: 200px;
    }
    .erp-header .copyright {
        display: none;
    }
}
@media only screen and (max-width: 375px) {
}
@media only screen and (max-width: 320px) {
}

.car-status-box {
    min-height: 50px;
}
.badge.larger-badge {
    font-size: 1.1em;
}
.ppi-item .ppi-picture {
    padding: 4px;
    border: 1px solid #bfbfbf;
}
.ppi-item .ppi-picture img {
    max-width: 100%;
}
.car-status-box {
    min-height: 50px;
}
.badge.larger-badge {
    font-size: 1.1em;
}
.right-checkbox {
    padding-right: 20px;
    text-decoration-line: underline;
    font-style: italic;
    font-size: 0.8em;
    cursor: pointer;
}
.payment-status-form {
    margin-bottom: 15px;
}
.text-truncated {
    width: 100px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.text-truncated:hover {
    overflow: visible;
    white-space: normal;
    width: auto;
    position: absolute;
    background-color: #fff;
}
.text-truncated:hover + div {
    margin-top: 10px;
}
.cell-child {
    background-color: #f0f0f0;
    height: 70px;
}
.ps-check-odd {
    min-width: 115px;
    font-weight: bold;
    display: inline-block;
}
.part-avatar {
    background-color: #bcf1ad;
    color: #fff;
    font-size: 1.5em;
    padding: 10px;
}
#viewModal .table td,
#viewModal .table th {
    padding: 0.35rem;
}

.part-avatar {
    background-color: #bcf1ad;
    color: #fff;
    font-size: 1.5em;
    padding: 10px;
}
.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice {
    background-color: #4cbdb2;
    color: #fff;
}
.notify-new {
    background-color: #e8f4fa;
    padding: 5px;
    border-radius: 5px;
    margin-bottom: 5px;
}
select.basic-select2,
.user-form select.create-select2 {
    width: 100% !important;
}
table.scrollable tbody {
    display: block;
    max-height: 500px;
    overflow-y: scroll;
    width: 101%;
}
table.scrollable thead,
table.scrollable tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}
table.scrollable tbody tr td span {
    white-space: normal !important;
    line-height: 12px;
}
table.dataTable td.dt-control:before {
    height: 1em;
    width: 1em;
    margin-top: -9px;
    display: inline-block;
    color: white;
    border: 0.15em solid white;
    border-radius: 1em;
    box-shadow: 0 0 0.2em #444;
    box-sizing: content-box;
    content: "-";
    background-color: #6c757d;
    cursor: pointer;
    text-align: center;
    text-indent: 0 !important;
    font-family: "Courier New", Courier, monospace;
    line-height: 1em;
}
table.dataTable tr.shown td.dt-control:before {
    content: "+";
    background-color: #49985a;
}
.text-orange {
    color: #e16e0e !important;
}
.margin2px {
    margin: 2px;
}

table.fix-header-vertical-scroll tbody {
    display: block;
    max-height: 500px;
    overflow-y: auto;
}
table.fix-header-vertical-scroll thead,
table.fix-header-vertical-scroll tbody tr,
table.fix-header-vertical-scroll tfoot {
    display: table;
    width: 100%;
    table-layout: fixed;
}
table.fix-header-vertical-scroll thead,
table.fix-header-vertical-scroll tfoot {
    width: calc(100% - 1em);
}
table.table.table-fs-min td,
table.table.table-fs-min th {
    padding: 0.5rem !important;
    font-size: 12px;
}
#overlay {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 99999;
    background-color: gray;
    filter: alpha(opacity=75);
    -moz-opacity: 0.75;
    opacity: 0.75;
    display: none;
}
#overlay h6 {
    position: fixed;
    margin-left: 45%;
    top: 40%;
}
.btn-green-blue {
    background: #28a745; /* fallback for old browsers */
    background: -webkit-linear-gradient(
        to right,
        #28a745,
        #007bff
    ); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(
        to right,
        #28a745,
        #007bff
    ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    color: #fff;
    border: none;
}
.btn-green-blue:hover {
    background: #007bff; /* fallback for old browsers */
    background: -webkit-linear-gradient(
        to right,
        #007bff,
        #28a745
    ); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(
        to right,
        #007bff,
        #28a745
    ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    color: #fff;
    border: none;
}
.bg-dt-cell-edit {
    background-color: aliceblue;
}
iframe {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 4px 4px 14px #000;
    -webkit-box-shadow: 4px 4px 14px #000;
    box-shadow: 4px 4px 14px #000;
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=.2);
}
.toggle-group label.toggle-on,
.toggle-group label.toggle-off {
    line-height: 1rem !important;
}
.vls-input-error {
    border: solid 1px #d9534f;
    color: #d9534f;
}
.create_ydc_input,
.view_ydc_input {
    border: none;
}
.create_ydc_input:focus,
.view_ydc_input:focus {
    outline: none;
}
.card.border-info .card-body:hover {
    cursor: pointer;
    background-color: #fdeec3;
}
a.clear-search {
    position: absolute;
    right: 27px;
    top: 17px;
    z-index: 99;
}
a.clear-search.exp {
    top: 87px;
}
.card-body.text-secondary.search-box {
    padding: 5px;
}
.body-load-search {
    max-height: 450px;
    overflow-y: auto;
}
.import-osr-item {
    padding: 5px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #17a2b8;
    cursor: pointer;
}
.import-osr-item:hover,
.import-osr-item.active {
    background-color: #d1ecf1;
}
.tree-ajax {
    overflow: auto;
    border: 1px solid silver;
    min-height: 100px;
}
.tree-item-active {
    color: #333;
}
.tree-item-inactive {
    color: #d9534f;
}
.print-dropdown-item:hover {
    cursor: pointer;
    background-color: #d9534f !important;
    color: #fff !important;
}
.table.table-sub td,
.table.table-sub td span,
.table.table-sub td a.cursor-p,
.table.table-sub td a.cursor-p i,
.table.table-sub th,
.table.table-sub select.form-control {
    font-size: 0.9em;
    padding: 2px;
}
.table.table-sub td .form-control {
    height: 27px;
}
.table.table-sub td .form-group {
    margin-bottom: 0;
}
.table-sub span.select2-selection.select2-selection--single {
    position: absolute;
}
.table-sub .input-group {
    padding: 0 5px 10px 5px;
}
.box-search-value {
    background-color: #fff;
    width: 150%;
    min-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 10px;
    border: 1px solid #ddd;
}
.form-check-input:checked,
input:disabled {
    background-color: #0d6efd;
    border-color: #0d6efd;
}
.font-w-n {
    font-weight: normal;
}
.form-group label {
    font-weight: bold;
}

/* Begin Import */
.erp-import-title {
    font-size: 12px;
    font-weight: bold;
    padding: 5px 0;
    text-align: center;
    background-color: #ccc;
    margin: 0 0 5px 0;
    position: relative;
}
.erp-import-title span {
    display: inline-block;
    font-weight: normal;
    margin: 0 5px;
    cursor: pointer;
}
.erp-import-title span:hover,
.erp-import-title span.active {
    font-weight: bold;
}
.erp-import-title strong {
    position: absolute;
    top: 5px;
    right: 5px;
    font-weight: normal;
    cursor: pointer;
}

.select2-container .select2-selection--single.erp-select2-sm {
    height: 22px;
}
.select2-container--default .select2-selection--single.erp-select2-sm {
    border-radius: 0px;
}
.select2-container--default
    .select2-selection--single.erp-select2-sm
    .select2-selection__rendered {
    line-height: 22px;
}
.select2-container--default
    .select2-selection--single.erp-select2-sm
    .select2-selection__arrow {
    height: 21px;
}
.erp-import-nav a.nav-link {
    color: #343a40;
    padding: 2px 5px;
    font-size: 11px;
}
.erp-import-nav .nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: #6c757d;
}
.box-parent{
    height: 10px;
    color: #0b2e13;
    position: relative;
    text-align: center;
}
.box-parent.bog {
    bottom: 24px;
    margin-left: 70px;
    text-align: left !important;
}
.box-parent:hover .box-buttons{
      display: block;
  }
.box-buttons{
    display: none;
    background-color: #fff;
    padding: 10px;
    position: absolute;
    width: 215px;
    right: 40px;
    /*top: -6px;*/
    border-radius: 5px;
}
.bog .box-buttons{
    left: 27px;
    bottom: -20px !important;
    background-color: #fbfbfb;
    width: 200px;
}

.box-buttons button{
    margin-bottom: 2px;
}
table.dataTable.fixedHeader-floating {
    top: 36px !important;
}
