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


.select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 30px!important;
  
    -webkit-user-select: none;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #444;
	line-height: 10px!important;
}



/* custom color css */
.badge{
    font-size: 14px;
    font-weight: 500;
    padding: 0.35em 0.65em;
    border-radius: 0.25rem;
    
}
.bg-info{
    background-color: #5bc0de !important;
    color: #fff;
}
.bg-success{
    background-color: #5cb85c !important;
    color: #fff!important;
}
.me-1{
    margin-right: 0.25rem !important;
}



.select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 41px!important;
    user-select: none;
    -webkit-user-select: none;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    display: block;
    padding-left: 8px;
    padding-right: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-top: 11px;
}


tr.table-success-temp > td {
  background-color: #d4edda !important;
}

tr.table-danger-temp > td {
  background-color: #f8d7da !important;
}

tr.table-info-temp > td {
  background-color: #cce5ff !important;
}
.table td {
  transition: background-color 0.8s ease;
}

.navbar .navbar-right {
    flex-basis: auto;
    margin-left: auto; /* pushes it to the far right */
    text-align: right;
}

/* Mobile adjustments */
@media (max-width: 575.98px) {
  .simple-icon-user-following {
    min-width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
  .navbar-logo span {
    font-size: 0.9rem !important;
  }
  .navbar .navbar-right {
    flex-basis: 40%;
    text-align: right;
    margin-left: 163px;
}
}

/* Keep navbar one line and tight */
.navbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
}


.font-bold{
    font-weight: 600 !important;
}

.text-xl{
    font-size: 1.25rem !important;
}
.text-2xl{
    font-size: 1.5rem !important;
}

.menu .main-menu ul li i {
    font-size: 32px;
    line-height: 42px;
    color: #ffffff;
    font-weight: bold;
    background: #1a3da5;
    border-radius: 9px;
    padding: 4px 8px;
    margin-bottom: 12px;
}

.menu .main-menu ul li span {
    text-align: center;
    padding: 0 10px;
    line-height: 14px;
    margin-top: 7px;
}


main {
  
    margin-top: 120px;
    margin-right: 20px;
   
}

#app-container.sub-hidden main,
#app-container.menu-sub-hidden main,
#app-container.menu-hidden main {
  margin-left: 140px; }

#app-container.main-hidden main,
#app-container.menu-hidden main {
  margin-left: 30px; }

