body {
  background-color: #f3f3f3 !important;
}

.switch {
  position: relative;
  display: inline-block;
  margin-bottom: 0 !important;
  width: 60px;
  height: 23px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cfc7c7;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 10px;
  width: 10px;
  left: 7px;
  right: 10px;
  bottom: 4px;
  top: 6px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.slider {
  background-color: #24afda;
}

input:focus+.slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
  -webkit-transform: translateX(35px);
  -ms-transform: translateX(35px);
  transform: translateX(35px);
}

/*------ ADDED CSS ---------*/
.on {
  display: none;
}

.on,
.off {
  color: white;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  font-size: 10px;
  font-family: Verdana, sans-serif;
}

input:checked+.slider .on {
  display: block;
}

input:checked+.slider .off {
  display: none;
}

/*--------- END --------*/

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.label-required::after {
  content: " *";
  color: red;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: #8787870d !important;
}

.modal {
  padding-right: 0 !important;
}


.table-detail {
  font-size: 9.4pt;
  min-width: 400px;
}

.table-detail th,
.table-detail td {
  padding: 5px 5px !important;
  border: 1px solid #e5e5e5 !important;
  font-size: 12px !important;
}

.table-detail th {
  background: #f3f3f3 !important;
  font-weight: 600;
}

.table-detail td {
  padding: 18px 20px !important;
  font-size: 9.3pt;
}

table {
  border-collapse: separate !important;
  border-spacing: 1px !important;
}

table.table-detail td {
  padding: 5px !important;
}

.vue__time-picker input.display-time {
  width: 100% !important;
}

.btn-primary {
  background-color: #da251c !important;
  border: 1px #da251c solid !important;
}

.navbar-custom {
  background-color: #fff !important;
  border-bottom: 1px #f2f2f2 solid !important;
  /* For browsers that do not support gradients */
}

.modal-header {
  padding: 10px !important;
  background: #da251c !important;
}

.modal-header .modal-title {
  font-size: 14px !important;
}

a:hover {
  color: #da251c;
}

.mx-input:disabled,
.mx-input.disabled {
  color: #6c757d !important;
}

.form-control {
  font-size: 12px !important;
}

label {
  font-size: 11px !important;
  margin-bottom: 3px !important;
}

.form-group {
  margin-bottom: 5px;
}

.custom-file {
  font-size: 12px !important;
}

.mx-input {
  font-size: 12px !important;
}

.text-xs {
  font-size: 12px;
}

.card {
  box-shadow: 0 0 20px 0 rgb(76 87 125 / 2%) !important;
}

.c-primary {
  color: #da251c !important
}

.mx-datepicker {
  width: 100% !important;
}

.nav-tabs .nav-item .nav-link.active {
  color: #348cd4 !important;
}

.text-white {
  color: #fff !important;
}

@media(max-width:991px) {
  #topnav .navigation-menu>li .submenu li a {
    color: #fff !important;
  }
}

.nav-top-custom-group {
  color: #fff !important;
}

.nav-top-custom-group a,
.nav-top-custom-group i {
  color: #fff !important;
}

.nav-top-custom-link.active,
.nav-top-custom-link.active i {
  color: #da251c !important;
}

.nav-top-custom-link:hover,
.nav-top-custom-link:hover i {
  color: #da251c !important;
}

.nav-top-custom-group.active,
.nav-top-custom-group.active i {
  color: yellow !important;
}

.nav-top-custom-group:hover,
.nav-top-custom-group:hover i {
  color: yellow !important;
}


.custom-vue-datatable {
  font-size: 12px !important;
}

.datatable-component .btn-xs {
  padding: 3px 5px !important;
  font-size: 8px !important;
}

.btn-xs {
  font-size: 12px;
  padding: 5px !important;
}

.text-detail {
  font-size: 14px;
  font-weight: 500;
  word-break: break-word;
  color: black !important
}

.navbar-custom {
  display: none !important;
  height: 0px !important;
}

#topnav .topbar-menu {
  margin-top: 0 !important;
}

.content-page {
  padding-bottom: 100px !important;
}

@media(max-width:991px) {
  .navbar-custom {
    display: block !important;
    height: 70px !important;
  }

  #topnav .topbar-menu {
    margin-top: 70px !important;
  }

}

@media(max-width:991px) {
  .menu-desktop-profile {
    display: none !important;
  }

  .nav-group-top-left-right {
    display: block !important;
  }
}


body[data-layout=horizontal] .content-page {
  padding-top: 0 !important;
}

.page-title-box {
  padding: 10px 0 !important;
}

.page-title-box .page-title-right {
  font-size: 12px !important;
  margin-top: 0 !important;
}

.page-title-box .page-title {
  font-size: 14px !important;
  line-height: unset !important;
}

.page-title-box .breadcrumb {
  padding: 0 !important
}

.card-body .header-title {
  font-size: 14px !important;
}

.card-body {
  padding: 15px 25px !important;
}

.only-print{
  display: none !important;
}
@media print {
  .only-print{
    display: block !important;    
  }
  .no-print {
    display: none !important;
  }

  body {
    background-color: #fff !important;
  }
  .col-lg-1 {
    -webkit-box-flex: 0 !important;
    -ms-flex: 0 0 8.33333% !important;
    flex: 0 0 8.33333% !important;
    max-width: 8.33333% !important;
  }
  .col-lg-2 {
    -webkit-box-flex: 0 !important;
    -ms-flex: 0 0 16.66667% !important;
    flex: 0 0 16.66667% !important;
    max-width: 16.66667% !important;
  }
  .col-lg-3 {
    -webkit-box-flex: 0 !important;
    -ms-flex: 0 0 25% !important;
    flex: 0 0 25% !important;
    max-width: 25% !important;
  }  
  .col-lg-4 {
    -webkit-box-flex: 0 !important;
    -ms-flex: 0 0 33.33333% !important;
    flex: 0 0 33.33333% !important;
    max-width: 33.33333% !important;
  }  
  .col-lg-5 {
    -webkit-box-flex: 0 !important;
    -ms-flex: 0 0 41.66667% !important;
    flex: 0 0 41.66667% !important;
    max-width: 41.66667% !important;
  }
  .col-lg-6 {
    -webkit-box-flex: 0 !important;
    -ms-flex: 0 0 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

  .col-lg-7 {
    -webkit-box-flex: 0 !important;
    -ms-flex: 0 0 58.33333% !important;
    flex: 0 0 58.33333% !important;
    max-width: 58.33333% !important;
  }
  .col-lg-8 {
    -webkit-box-flex: 0 !important;
    -ms-flex: 0 0 66.66667% !important;
    flex: 0 0 66.66667% !important;
    max-width: 66.66667% !important;
  }
  .col-lg-9 {
    -webkit-box-flex: 0 !important;
    -ms-flex: 0 0 75% !important;
    flex: 0 0 75% !important;
    max-width: 75% !important;
  }
  .col-lg-10 {
    -webkit-box-flex: 0 !important;
    -ms-flex: 0 0 83.33333% !important;
    flex: 0 0 83.33333% !important;
    max-width: 83.33333% !important;
  }
  .col-lg-11 {
    -webkit-box-flex: 0 !important;
    -ms-flex: 0 0 91.66667% !important;
    flex: 0 0 91.66667% !important;
    max-width: 91.66667% !important;
  }
}
