/* Chrome, Safari, Edge, Opera */
.disable-number-arrow::-webkit-outer-spin-button,
.disable-number-arrow::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.disable-number-arrow {
  -moz-appearance: textfield;
}

/* navbar styles */
.menu .app-brand.demo {
  height: 64px;
  margin-top: 12px;
}

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

.form-control {
  border-radius: 0.357rem !important;
  border: 1px solid #d8d6de !important;
}

/* data table fix */
.box {
  overflow-x: auto;
  overflow-y: hidden;
  margin: 35px 0;
  margin-bottom: 20px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  min-height: 300px;
  clear: both;
}

table.dataTable td,
table.dataTable th {
    padding: 0.5rem 1.3rem;
}
th {
    font-size: 11px;
}
td {
    font-size: 12px;
    height: 25px;
}
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_info {
  float: left;
}
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_paginate {
  float: right;
}
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_desc_disabled:before {
    right: 0.5em;
    content: '';
}
table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:after {
  content: '';
}
/* data table fix */

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 76px !important;
}

/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/* sweetalert 2 custom style */
.swal2-popup {
  width: 34em;
}

.swal2-popup #swal2-content {
  margin: 0 !important;
}

/* media library */
.media-library-wrapper .collections,
.media-library-wrapper .media {
  min-width: 100px;
  padding: 5px;
}

.media-library-wrapper .collections .card-body ,
.media-library-wrapper .media .card-body {
  max-height: 150px;
  height: 150px;
  overflow: hidden;
  cursor: pointer;
}

.media-library-wrapper .collections .card-body .bxs-folder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 88px;
  color: var(--bs-purple);
  background: #eef0fd;
}
.media-library-wrapper .media .card-body .preview {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  /* background-color: #eef0fd; */
  background-position: center center;
}
.media-library-wrapper .media .media-download {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
}
.media-library-wrapper .media .media-download .bxs-download {
  font-size: 20px;
    color: var(--bs-red);
}

/* select 2 fix */

.select2-container--default {
  width: -webkit-fill-available !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
  line-height: 40px !important;
}
.select2-container--default .select2-selection--multiple{
padding-top: 5px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
  height: 40px !important;
}
.select2-container .select2-selection--single {
  height: 40px;
}
.select2-results__option:hover {
  background:#f1f1f1;
}
.select2-search__field {
  border:1px solid var(--bs-primary);

  border-radius: 3px;
}
.select2-container--default .select2-selection.select2-selection--multiple .select2-selection__choice {
  background-color: #e4e4e4;
  color: #161616;
  box-shadow: 1px 1px #bdbdbd;
  margin-right: 4px;
}

/* side nav bar */
.layout-menu,
.layout-page,
.layout-navbar {
  transition: all 0.6s ease-in !important;
}

.left-menu-open {
  transform: translate3d(0, 0, 0);
}

.left-menu-open .layout-menu-toggle {
  display: block;
}

.layout-page-menu-open {
  padding: 0;
}

.menu-vertical .menu-item .menu-link {
  font-size: 0.8375rem;
}

/* multi file upload css */
.multi-file-upload {
  width: 100%;
  padding: 3px;

}
.multi-file-upload .drop-area {
  border: 2px dashed #ccc;
  padding: 5px;
  text-align: center;
  cursor: pointer;
  min-height: 80px;
}
.multi-file-upload .drop-area ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.multi-file-upload .drop-area ul li {
  margin: 2px;
  position: relative;
}
.multi-file-upload .drop-area ul li:hover .remove-image {
  display: block;
}
.multi-file-upload .drop-area ul li .remove-image{
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  transition: all 0.5s linear;
}
.multi-file-upload .drop-area ul li .remove-image i{
  background: #000;
  color: #fff;
  border-radius: 50%;
  padding: 3px;
  position: absolute;
  top: 0;
  right: 0;
  width: 23px;
  height: 23px;
  line-height: 17px;
  text-align: center;
}
/* multi file upload css */
.tox-notifications-container {
  display: none !important;
  visibility: hidden !important;
}

/* tag input styles */

.v3ti .v3ti-content .v3ti-tag {
  background: #e4e4e4;
  color: #161616;
  box-shadow: 1px 1px #bdbdbd;
}

.v3ti .v3ti-tag .v3ti-remove-tag {
  color: #161616 !important;
}

/* full calender custom styles */
.allotment-calender .fc .fc-view-harness .fc-event {
  padding: 1px 0.5rem;
  border-radius: 1px;
  font-weight: normal;
}
.progress.allotment-calender-progress {
  width: 100%;
  border-radius: 3px;
  height: auto;
  background: #dbdbdb;
  cursor: pointer;
}
.progress.allotment-calender-progress .progress-bar{
  border-radius: 3px;
  padding: 3px 7px;
  font-size: 12px;
  overflow: visible;
  background: #696cff;
  color: #000;
  text-align: left;
}

.progress.allotment-calender-progress .progress-bar.blocked-date-progress{
  background: #f4a3a3;
}
.progress.allotment-calender-progress .progress-bar.low-date-progress{
  background: #ffcb39;
}
.progress.allotment-calender-progress .progress-bar.date-progress{
  background:#8bd68b;
}


#nprogress .bar {
  height: 7px !important;
  background: #0004ff !important;
  z-index: 1081 !important;
  border-radius: 0 15px 15px 0 !important;
}

#nprogress .peg {
  box-shadow: none !important;
}

#nprogress .spinner-icon {
  width: 40px !important;
  height: 40px !important;
  border-width: 4px !important;
  border-top-color: #0004ff !important;
  border-left-color: #0004ff !important;
  z-index: 1081 !important;
}

#nprogress .spinner{
  /* right: 50% !important; */
  z-index: 1081 !important;
}
