.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;
}