.btn-primary{
    border:solid 1px #FF6A0C;
    color: #FF6A0C;
    font-weight: bold;
    background: #fff;
}
.btn-primary:hover{
    background: #fff;
    color: #e75d06;
    border: 1px solid #e75d06;
}
.updateajax {
    display: block;
    text-align: center;
    cursor: pointer;
}

.box-checkbox {
    position: relative;
    clear: both;
    cursor: pointer;
}

.box-checkbox::before {
    content: '';
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.box-checkbox.check .switcherys {
    background-color: rgb(38, 185, 154) !important;
    border-color: rgb(38, 185, 154);
    box-shadow: rgb(38, 185, 154) 0px 0px 0px 11px inset !important;
    transition: border 0.4s, box-shadow 0.4s, background-color 1.2s !important;
}

.box-checkbox.check .switcherys small {
    left: 11px !important;
    background-color: rgb(255, 255, 255) !important;
    transition: background-color 0.4s, left 0.2s !important;
}

.box-checkbox .switcherys {
    box-shadow: rgb(223, 223, 223) 0px 0px 0px 0px inset;
    border-color: rgb(223, 223, 223);
    background-color: rgb(255, 255, 255);
    transition: border 0.4s, box-shadow 0.4s;
}

.box-checkbox .switcherys small {
    left: 0px;
    transition: background-color 0.4s, left 0.2s;
}

.modal-lg {
    width: 65%;
}

.money {
    color: red;
}

.action {
    margin-top: 20px;
}

.modal-header {
    display: flex;
}

.modal-title {
    width: 100%;
}

.field-medicalrecord-status-add {
    display: none;
}

.add-select-cat i {
    font-size: 13px;
}

.add-select-cat {
    margin-top: 15px;
    height: 32px;
    border: 1px dashed #CFCFCF;
    text-align: center;
    width: 100%;
    line-height: 32px;
    cursor: pointer;
    display: block;
    font-size: 16px;
    float: right;
    color: #6e6e6e;
    background: #e5e5e5;
    margin-bottom: 15px;
}

.delete-cat, .delete-commission, .delete-medicine, .delete-history {
    background: red;
    display: inline-block;
    text-align: center;
    color: #fff;
    font-size: 16px;
    padding: 5px 0px;
    cursor: pointer;
    width: 100%;
}

.timeline .action-column {
    width: 10%;
}

.list_time {
    list-style: none;
    padding-left: 0px;
    display: inline-block;
    width: 100%;
}

.list_time li {
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

.list_time a {
    padding: 15px;
    color: #000000;
    display: block;
}

.list_time a:hover {
    font-weight: bold;
    padding: 15px;
    color: #ffffff;
}

.list_time li:hover {
    background-color: #c59f02;
}

.timeline li {
    border-bottom: 1px solid;
    text-align: center;
    padding: unset;
}

.timeline ul {
    margin: unset;
    padding: unset;
}

.timeline .body_left, .timeline .body_right {
    height: 500px;
    border: 1px solid;
    padding: unset;
    overflow-x: hidden;
    overflow-y: auto;
}

.timeline li:first-child {
    border-top: unset;
}

.timeline li:last-child {
    border-bottom: unset;
}

.list_time .active {
    background: #c59f02;
}

.list_time .active div {
    color: white;
    font-weight: bold;
}

.body_right .action {
    margin: 10px 0 10px 10px;
}

.payment_history {
    margin-top: 0px;
}

.payment_history h5 {
    margin-bottom: 15px;
    font-weight: bold;
}

.factory_input .col-md-6 {
    margin-bottom: 10px;
}

.form-search-time input {
    height: 34px;
    border: 1px solid #ccc;
    padding: 6px 12px;
}

.add-select-commission, .btn-add-custom {
    width: 100%;
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #6e6e6e;
    background-color: #e5e5e5;
    border-color: #e5e5e5;
}

.medical_record_image {
    height: 100% !important;
    width: auto;
}

.medical_record_image_zoom {
    width: 100%;
    height: 100%;
}

.widget-box.transparent > .widget-header {
    background: 0 0;
    border-width: 0;
    border-bottom: 1px solid #DCE8F1;
    color: #4383B4;
    padding-left: 3px;
}

.fc-state-active, .fc-state-active .fc-button-inner {
    border-color: #4F99C6 !important;
    background-color: #6FB3E0 !important;
}

.external-event {
    margin: 6px 0;
}

.external-event > .ace-icon:first-child {
    display: inline-block;
    height: 32px;
    width: 18px;
    line-height: 30px;
    font-size: 10px;
}

.fc-content .fc-time {
    display: none !important;
}

.user-introduce-custom label {
    margin-right: 15px;
}

.select2-container {
    width: 100% !important;
}

.money-sale {
    text-decoration: line-through;
    color: #9b9a9a;
    font-size: 14px;
}

.medicalrecord-action {
    display: flex;
}

.gender-team {
    background: green;
    display: inline-block;
    text-align: center;
    color: #fff;
    font-size: 16px;
    padding: 5px 0px;
    cursor: pointer;
    width: 100%;
}

.prd-team {
    margin-top: 5px;
}

.prd-team :last-child {
    margin-bottom: 10px;
}

.prd-quantity input {
    width: 20%;
    height: auto;
    margin-left: 5px;
}

.prd-quantity {
    display: flex;
}

.prd-quantity .select2-container {
    width: 80% !important;
}

/*css phần log màn hình*/
#timeline {
    list-style: none;
    position: relative;
}

#timeline .label_user {
    text-align: left;
    font-size: 15px;
    color: #333;
}

#timeline .label_action {
    text-align: left;
    color: #333;
}

#timeline .clearFix {
    clear: both;
    height: 0;
}

#timeline .timeline-badge {
    color: #fff;
    width: 50px;
    height: 50px;
    font-size: 1.2em;
    text-align: center;
    position: absolute;
    top: 20px;
    left: 50%;
    margin-left: -25px;
    background-color: #4997cd;
    z-index: 100;
    border-top-right-radius: 50%;
    border-top-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
}

#timeline .timeline-badge span.timeline-balloon-date-day {
    font-size: 1.4em;
}

#timeline .timeline-badge span.timeline-balloon-date-month {
    font-size: .7em;
    position: relative;
    top: -10px;
}

#timeline .timeline-badge.timeline-filter-movement {
    background-color: #ffffff;
    font-size: 1.7em;
    height: 35px;
    margin-left: -18px;
    width: 35px;
    top: 40px;
}

#timeline .timeline-badge.timeline-filter-movement a span {
    color: #4997cd;
    font-size: 1.3em;
    top: -1px;
}

#timeline .timeline-badge.timeline-future-movement {
    background-color: #ffffff;
    height: 35px;
    width: 35px;
    font-size: 1.7em;
    top: -16px;
    margin-left: -18px;
}

#timeline .timeline-badge.timeline-future-movement a span {
    color: #4997cd;
    font-size: .9em;
    top: 2px;
    left: 1px;
}

#timeline .timeline-movement {
    border-bottom: dashed 1px #4997cd;
    position: relative;
    padding-top: 10px;
}

#timeline .timeline-movement.timeline-movement-top {
    height: 60px;
}

#timeline .timeline-movement .timeline-item {
    padding: 10px 0;
}

#timeline .timeline-movement .timeline-item .timeline-panel {
    border: 1px solid #d4d4d4;
    border-radius: 3px;
    background-color: #FFFFFF;
    color: #666;
    padding: 10px;
    position: relative;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

#timeline .timeline-movement .timeline-item .timeline-panel .timeline-panel-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#timeline .timeline-movement .timeline-item .timeline-panel.credits .timeline-panel-ul {
    text-align: left;
}

#timeline .timeline-movement .timeline-item .timeline-panel.credits .timeline-panel-ul li {
    color: #666;
}

#timeline .timeline-movement .timeline-item .timeline-panel.credits .timeline-panel-ul li span.importo {
    text-align: left;
    color: #e2001a;
    font-size: 1.3em;
}

#timeline .timeline-movement .timeline-item .timeline-panel.debits .timeline-panel-ul {
    text-align: left;
}

#timeline .timeline-movement .timeline-item .timeline-panel.debits .timeline-panel-ul span.importo {
    color: #468c1f;
    font-size: 1.3em;
}

#timeline .model_name {
    margin-top: 10px;
    font-size: 15px;
    font-weight: 600;
}

.table-striped th {
    vertical-align: top !important;
}

.d-flex {
    display: flex;
}

.ml-auto {
    margin-left: auto;
}

.nav-md > .alert {
    margin: 0;
    padding: 0;
}

.select2-display-none {
    display: none;
}

.ui-select-dropdown {
    opacity: 1;
    width: calc(100% + 2px);
    background: #fff;
    border: 1px solid #ccc;
    border-top: unset;
    position: absolute;
    left: -1px;
    top: 33px;
    padding: 4px;
}

.ui-select-dropdown .search-container > input {
    width: 100%;
    outline: unset;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    line-height: 150%;
    padding: 5px;
}

.ui-select-dropdown .ui-select-choices {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ui-select-dropdown .ui-select-choices .select2-result-single {
    list-style: none;
    background-color: unset;
    padding: 4px;
}

.ui-select-dropdown .ui-select-choices .select2-result-single .ui-select-choices-row {
    list-style: none;
    background-color: unset;
    padding: 4px;
}

.ui-select-dropdown .ui-select-choices .select2-result-single .ui-select-choices-row + .ui-select-choices-row {
    border-top: 1px solid #ccc;
}

.attachments_preview_zone {
    list-style: none;
    margin: 0;
    padding: 0;
}

.attachments_preview_zone .image {
    cursor: pointer;
}

.attachments_preview_zone .image > .name {
    font-size: 16px;
    margin: 0 10px 0 5px;
    color: midnightblue;
}

.dstt {
    border-bottom: 2px solid #a2a2a2;
    margin-bottom: 20px !important;
}

.dstt:last-child {
    border-bottom: unset;
}

.title-dstt-commission {
    background: #008000;
    padding: 5px;
    color: #fff;
    margin-bottom: 2px
}

.change_text {
    background: red !important;
}

.info-customer-title {
    font-weight: bold;
    font-size: 16px;
}

.info-customer-content {
    font-size: 16px;
}

.s-form {
    width: 70%;
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}
.btncheckinout{
    width: 30%;
    margin: auto !important;
}
.bodycheckinout{
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}
.daden {
    border: 1px solid blue !important;
    background-color: blue !important;;
}
.chuaden {
    border: 1px solid green !important;;
    background-color: green !important;;
}
.henlai {
    border: 1px solid orange !important;;
    background-color: orange !important;;
}
.huy {
    border: 1px solid #9933ff !important;;
    background-color: #9933ff !important;;
}
.logo{
    height: 80%;
}
.nav-sm > .alert {
    margin: 0;
    padding: 0;
}
.nav{
    display: flow;
}
.mb-1 {
    margin-bottom: 4px;
}
.mb-2 {
    margin-bottom: 8px;
}
.mb-3 {
    margin-bottom: 12px;
}
.mb-4 {
    margin-bottom: 16px;
}
.mb-5 {
    margin-bottom: 20px;
}

.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto, .col-xxl, .col-xxl-1, .col-xxl-10, .col-xxl-11, .col-xxl-12, .col-xxl-2, .col-xxl-3, .col-xxl-4, .col-xxl-5, .col-xxl-6, .col-xxl-7, .col-xxl-8, .col-xxl-9, .col-xxl-auto {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-1 {
        -ms-flex: 0 0 8.33333%;
        flex: 0 0 8.33333%;
        max-width: 8.33333%
    }

    .col-md-2 {
        -ms-flex: 0 0 16.66667%;
        flex: 0 0 16.66667%;
        max-width: 16.66667%
    }

    .col-md-3 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%
    }

    .col-md-4 {
        -ms-flex: 0 0 33.33333%;
        flex: 0 0 33.33333%;
        max-width: 33.33333%
    }

    .col-md-5 {
        -ms-flex: 0 0 41.66667%;
        flex: 0 0 41.66667%;
        max-width: 41.66667%
    }

    .col-md-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%
    }

    .col-md-7 {
        -ms-flex: 0 0 58.33333%;
        flex: 0 0 58.33333%;
        max-width: 58.33333%
    }

    .col-md-8 {
        -ms-flex: 0 0 66.66667%;
        flex: 0 0 66.66667%;
        max-width: 66.66667%
    }

    .col-md-9 {
        -ms-flex: 0 0 75%;
        flex: 0 0 75%;
        max-width: 75%
    }

    .col-md-10 {
        -ms-flex: 0 0 83.33333%;
        flex: 0 0 83.33333%;
        max-width: 83.33333%
    }

    .col-md-11 {
        -ms-flex: 0 0 91.66667%;
        flex: 0 0 91.66667%;
        max-width: 91.66667%
    }

    .col-md-12 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%
    }
}