html {
  width: 100%;
}

body {
  overflow-x: hidden !important;
}

body.show-spinner>main {
  overflow: hidden !important;
}

/* Hide everything under body tag */
body.show-spinner>* {
  opacity: 0;
}

/* Spinner */
body.show-spinner::after {
  content: " ";
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  border-top-color: rgba(0, 0, 0, 0.3);
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
  left: calc(50% - 15px);
  top: calc(50% - 15px);
  position: fixed;
  z-index: 1;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}
table, td,tr,th{
  vertical-align: middle !important;
}.background-primary {
  background: #145388;
}

.background-danger {
  background: #9c0000;
}

.background-success {
  background: #299100;
}

.color-white {
  color: white !important;
}

input:-internal-autofill-selected {
  background-color: inherit;
}

.card-delete-icon {
  cursor: pointer !important;
  transition: 0.3s !important;
}

.card-delete-icon:hover {
  color: red !important;
}

.card-close:hover {
  color: red !important;
}

.card-close {
  transition: 0.3s !important;
}

/* SMART WIZARD MOBILE FIX */
.sw-theme-check .sw-toolbar {
  margin-top: 15px;
  background-color: #232223;
}
@media (max-width: 767px) {
  .sw-main.sw-theme-check > ul.step-anchor > li > a:before,
  .sw-main.sw-theme-dots > ul.step-anchor > li > a:before {
    margin-top: 31px;
  }
  .sw-main.sw-theme-check > ul.step-anchor > li > a:after {
    margin-top: 45px;
  }
}
@media (max-width: 475px) {
  .sw-main.sw-theme-check > ul.step-anchor > li > a:before,
  .sw-main.sw-theme-dots > ul.step-anchor > li > a:before {
    display: none;
  }
  .sw-main.sw-theme-check > ul.step-anchor > li > a:after {
    display: none;
  }
  .sw-main.sw-theme-check > ul.step-anchor:before,
  .sw-main.sw-theme-dots > ul.step-anchor:before {
    display: none;
  }
  select {
    border: 1px black solid;
    background-color: grey;
    color: #fefefe;
  }
}

.formspan {
  font-size: 18px;
  border: 1px solid #666666;
  padding-top: 7px;
  padding-bottom: 7px;
  padding-left: 10px;
  min-height: 43px;
}

.qm-danger-day {
  color: red !important;
}

.qm-warning-day {
  color: #f18400 !important;
}

.qm-secondary-day {
  color: #ebbc00 !important;
}

.qm-primary-day {
  color: #d7d7d7 !important;
}

/* Datatables mobile fix */
@media (max-width: 1280px) {
  .dataTables_wrapper {
    overflow-x: auto;
  }
}
/* width */
::-webkit-scrollbar {
  width: 2px;
}

/* Track */
::-webkit-scrollbar-track {
  background: rgb(100, 100, 100);
  width: 4px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: rgb(77, 77, 77);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #666666;
}
.menu-main-icon > li {
  text-align: center;
}
.logo-mobile {
  width: 50px !important;
}

@media (max-width:400px){
  .table-card-body {
    overflow-x: scroll;
  }
}