.page-item {
  cursor: pointer;
}

#item_setting input.services-detail-title {
  width: 50%;
}

#item_setting input.services-detail-fee {
  text-align: right;
}

input.hide-spin::-webkit-outer-spin-button,
input.hide-spin::-webkit-inner-spin-button {
  /* display: none; <- Crashes Chrome on hover */
  -webkit-appearance: none;
  margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input.hide-spin[type="number"] {
  -moz-appearance: textfield; /* Firefox */
}

.conchimxanhxanh {
  display: none;
}

.nav-sticky-0 {
  position: sticky;
  top: 0;
  text-align: center;
  z-index: 1;
}
.custom-file-upload {
  border: 1px solid #ccc;
  margin-bottom: 0px !important;
  display: inline-block;
  /* padding: 6px 12px; */
  cursor: pointer;
  margin-left: 3px;
}

.ahihi label {
  margin-bottom: 0px !important;
}

.button-allow-notification {
  height: 40px;
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
  border-bottom: 3px #dd3d31 solid;
}

.button-allow-notification:focus {
  outline: none !important;
}

.datepicker-form-control .react-datepicker-wrapper {
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  width: 1%;
  margin-bottom: 0;
}

#sale_status .input-group-append {
  margin-left: -3px;
}

.limit-height {
  max-height: 800px;
  overflow: auto !important;
}

::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}
.pointer {
  cursor: pointer;
}

.marginRight--25 {
  margin-right: -25px !important;
}

/* nprogress */
#nprogress {
  pointer-events: none;
}

#nprogress .bar {
  background: #29d;
  position: fixed;
  z-index: 1031;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
}

#nprogress .peg {
  display: block;
  position: absolute;
  right: 0;
  width: 100px;
  height: 100%;
  box-shadow: 0 0 10px #29d, 0 0 5px #29d;
  opacity: 1;
  -webkit-transform: rotate(3deg) translate(0px, -4px);
  -ms-transform: rotate(3deg) translate(0px, -4px);
  transform: rotate(3deg) translate(0px, -4px);
}

#nprogress .spinner {
  display: block;
  position: fixed;
  z-index: 1031;
  top: 15px;
  right: 15px;
}

#nprogress .spinner-icon {
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  border: solid 2px transparent;
  border-top-color: #29d;
  border-left-color: #29d;
  border-radius: 50%;
  -webkit-animation: nprogress-spinner 400ms linear infinite;
  animation: nprogress-spinner 400ms linear infinite;
}

.nprogress-custom-parent {
  overflow: hidden;
  position: relative;
}

.nprogress-custom-parent #nprogress .spinner,
.nprogress-custom-parent #nprogress .bar {
  position: absolute;
}

@-webkit-keyframes nprogress-spinner {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes nprogress-spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* close nprogress */

textarea.mail-content {
  background: transparent !important;
  border: none;
  resize: none;
}

.pointer-events-none {
  pointer-events: none;
}

.note {
  z-index: 1029;
  right: 53px;
  bottom: 20px;
}
.note:hover {
  z-index: 1030;
}

body .form-control:disabled,
body .form-control[readonly] {
  background-color: #ffffff;
  opacity: 1;
}

input.not-allow-delete {
  background-color: #eaecf4 !important;
}
.input-group > div > input {
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #6e707e;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #d1d3e2;
  border-radius: 0.35rem;
}

.react-datepicker-popper {
  z-index: 9999 !important;
}
ul.attachment-ul {
  list-style: none;
  padding: 0;
}
li.attachment-li {
  /* padding: 0px 10px; */
}

li.attachment-li:first-child {
  /* padding: 0px 0px; */
}
.total-table {
  width: min-content;
  position: inherit;
  right: 25px;
  z-index: 1;
  color: #fff;
  background-color: #acadb4;
  border-color: #acadb4;
  padding: 8px 15px;
  float: right;
}
/*html.nprogress-busy{*/
/*opacity: 0.5;*/
/*pointer-events: none;*/
/*}*/

.MailEditorContent {
  border: 1px solid #d1d3e2;
  border-radius: 4px;
  min-height: 180px;
  padding: 0px 15px;
}
.rdw-editor-toolbar.MailEditorToolbar {
  border: 1px solid #d1d3e2;
}
.MailEditorWrapper {
  display: grid;
}

.ck-editor__editable {
  min-height: 500px;
}
.ck.ck-reset.ck-editor {
  width: 100%;
}
.switch-field {
  display: flex;
  margin-bottom: 36px;
  overflow: hidden;
}

.switch-field input {
  position: absolute !important;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  width: 1px;
  border: 0;
  overflow: hidden;
}

.switch-field label {
  background-color: #fff;
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  line-height: 1;
  text-align: center;
  padding: 8px 16px;
  margin-right: -1px;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.switch-field label:hover {
  cursor: pointer;
}

.switch-field input:checked + label {
  background-color: #333333;
  color: #fff;
}

.switch-field label:first-of-type {
  border-radius: 4px 0 0 4px;
}

.switch-field label:last-of-type {
  border-radius: 0 4px 4px 0;
}

/* This is just for CodePen. */

.form {
  max-width: 600px;
  font-weight: normal;
  line-height: 1.625;
  margin: 8px auto;
  padding: 16px;
}
.ck.ck-reset.ck-editor {
  width: 100%;
}
.cursor-pointer {
  cursor: pointer;
}

.tab-border-out a.nav-link {
  border: 1px solid;
}
.main-notice-custom .notice-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 20px 0px;
  margin-top: 20px;
  border-bottom: 1px solid;
  padding-bottom: 20px;
}
.main-notice-custom .search-notice {
  margin-bottom: 20px;
}
.main-notice-custom
  .main-list-notice
  .main-item-notice
  .item-notice
  .content-item
  .info-time
  label {
  font-size: 12px;
  color: blue;
}
.main-notice-custom
  .main-list-notice
  .main-item-notice
  .item-notice
  .content-item
  p {
  margin-bottom: 5px;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
}
.main-notice-custom
  .main-list-notice
  .main-item-notice
  .item-notice
  .content-item
  .info-time
  span {
  font-size: 16px;
  font-weight: bold;
  margin-right: 10px;
}
.main-notice-custom .main-list-notice .main-item-notice .item-notice {
  border-bottom: 1px solid #ccc;
  position: relative;
}
.main-notice-custom
  .main-list-notice
  .main-item-notice
  .item-notice
  .action-notice {
  display: none;
  position: absolute;
  right: 0;
  text-align: right;
  top: 20px;
  font-size: 20px;
}
.main-notice-custom
  .main-list-notice
  .main-item-notice
  .item-notice:hover
  .action-notice {
  display: block;
  position: absolute;
  right: 0;
  text-align: right;
  top: 20px;
  font-size: 20px;
}
.form-register-member .input-group-append {
  display: block;
}

.progress-select:focus option {
  background-color: white;
  color: #6e707e;
}
.li-selected-custom {
  position: relative;
}
.li-selected-custom input {
  position: absolute;
  right: 10px;
}
.dropdown-selected {
  /* border: 1px solid #d1d3e2; */
}
.form-register-member .btn-group-sm > .btn,
.btn-sm {
  padding: none;
  font-size: none;
}
.li-selected-custom {
  position: relative;
  display: flex;
  align-items: center;
  padding: 5px 10px;
}
.li-selected-custom a {
  width: 100px;
  display: block;
  white-space: break-spaces;
}
.dropdown-selected {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.btn-custom-color-state-work {
  background-color: #f79646;
  color: #fff;
}

.mail-content .image.image_resized {
  display: block;
  box-sizing: border-box;
}

.mail-content .image.image_resized img {
  width: 100%;
}

.mail-content .image.image_resized > figcaption {
  display: block;
}
.ul-download-file-attach {
  list-style: none;
  margin: 15px 0px;
  padding: 0;
}

.ul-download-file-attach label {
  min-width: 130px;
  display: block;
  white-space: break-spaces;
  margin: 0;
}
.ul-download-file-attach li {
  position: relative;
  display: flex;
  align-items: center;
  padding: 5px 10px;
}
.form-register-member .form-control.text-left {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.assign-checkbox {
  position: relative;
  top: 20px;
  left: -35px;
}
.ul-download-file-attach input {
  margin: 0px 0px 0px 15px;
}
.span-custom-assign {
  position: relative;
  top: -7px;
}

.custom-select-member {
  max-width: 200px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  min-width: 159px;
}
.custom-show-members {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.nav-item .nav-link {
  cursor: pointer;
}

.content-img {
  position: relative;
}

.content-img img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}
.content-img .delete {
  position: absolute;
  top: 5px;
  right: 5px;
}
.customer-form-customer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.label-file {
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar .nav-item .collapse .collapse-inner .collapse-item,
.sidebar .nav-item .collapsing .collapse-inner .collapse-item {
  text-align: left;
}
.navbar-search {
  display: flex;
  max-width: 70%;
  width: 100%;
  margin: 10px 0 10px auto;
}

@media (max-width: 992px) {
  .navbar-search {
    flex-wrap: wrap;
    gap: 15px;
    max-width: 100%;
  }
}

@media (max-width: 578px) {
  .nav-item-type button {
    font-size: 10px;
    max-width: 65px;
  }
  .btn-state {
    margin-left: 0 !important;
    margin-top: 5px;
  }
  .ml-2 {
    margin-left: 0 !important;
  }
  .pagination-m {
    overflow: auto;
    display: grid;
  }
}

@media (max-width: 1200px) {
  .pagination-m {
    overflow: auto;
    display: grid;
  }
}

.statis-info {
  flex-grow: 1;
  justify-content: space-evenly;
  padding: 20px 0;
  border-radius: 5px;
  border: 1px solid rgba(15, 7, 7, 0.1);
}
.static-item {
  height: 100%;
  padding: 20px 0;
  border-radius: 5px;
  border: 1px solid rgba(15, 7, 7, 0.1);
}

.statis-info-primary {
  width: 130px;
  height: 130px;
  background-color: #36b9cc;
  border-radius: 50%;
  flex-direction: column;
  color: white;
  gap: 10px;
  font-size: 30px;
}
.statis-info-primary.gray {
  background-color: #acadb4;
}

.title-static {
  position: relative;
  margin-left: 20px;
}
.title-static:before {
  content: " ";
  position: absolute;
  width: 5px;
  height: 100%;
  left: -10px;
  background-color: #36b9cc;
}
.gap-2 {
  gap: 5px;
}

.h-fit-content {
  height: fit-content;
}

.group--btn {
  display: flex;
  gap: 10px;
  padding-left: 1.25rem;
}
.group--btn span {
  background-color: #858796;
  color: white;
  padding: 4px 10px;
  border-radius: 5px;
  cursor: pointer;
}

.group--btn span.active {
  background-color: #4e73df;
}
.history-customer-status {
  overflow-y: scroll;
  max-height: 100px;
  list-style: none;
  width: 300px;
  height: 100%;
}
.btn-group-date button {
  width: 55px;
}

.btn-group-date button.btn-warning {
  border-color: #858796;
}
.list-customer .input-group > .form-control:not(:first-child) {
  border-top-left-radius: 0.35rem;
  border-bottom-left-radius: 0.35rem;
}
