#main-wrapper {
  overflow-y: auto;
}

.sidebar-nav {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.sidebar-nav .logo-bottom {
  margin-top: auto;
  padding: 24px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 1px solid #edf2f9;
}

.sidebar-nav .logo-bottom .logo-bottom-img {
  width: 40%;
  object-fit: contain;
  margin-top: auto;
  margin-bottom: 4px;
  margin-left: auto;
  margin-right: auto;
}

.sidebar-nav .logo-bottom .logo-bottom-text {
  color: #818181;
  font-size: 12px;
}

.sidebar-nav #application-switcher .dropdown-menu {
  width: 230px;
  right: 20px;
  width: auto;
  max-height: calc(100vh / 2);
  overflow: auto;
  margin: 0;
  padding: 0;
}

.sidebar-nav #application-switcher .dropdown-item span {
  text-overflow: ellipsis;
  overflow: hidden;
  width: 150px;
}

.application-switcher .dropdown-item.active,
.application-switcher .dropdown-item:active {
  background-color: #d5dce5;
}

.application-switcher .application-switcher-item {
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.sidebar-nav #sidebarnav .sidebar-item.application-switcher > .sidebar-link {
  margin-bottom: 20px;
  color: #fff !important;
  background-color: #000000;
  opacity: 1;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
}

.sidebar-nav #sidebarnav .sidebar-item.selected > .sidebar-link {
  border-radius: 0px 60px 60px 0px;
  color: #454545 !important;
  opacity: 1;
}

.sidebar-link {
  display: flex;
}

.sidebar-link > .feather {
  margin-right: 8px;
}

.sidebar-link .hide-menu {
  flex: 1;
}

#main-wrapper .topbar .top-navbar .navbar-header .navbar-brand {
  display: flex;
  justify-content: center;
}

#main-wrapper .topbar .top-navbar .navbar-header .navbar-brand > a {
  display: flex;
  flex-direction: row;
  height: 80px;
  color: black;
}

#main-wrapper .topbar .top-navbar .navbar-header .navbar-brand .header-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

#main-wrapper .topbar .top-navbar .navbar-header .navbar-brand .header-title {
  display: flex;
  align-items: center;
}

@media (max-width: 1199.98px) {
  #main-wrapper .topbar .top-navbar .navbar-header .navbar-brand .header-logo {
    display: block;
  }
  #main-wrapper .topbar .top-navbar .navbar-header .navbar-brand .header-title {
    display: none;
  }
}

@media (max-width: 767.98px) {
  #main-wrapper .topbar .top-navbar .navbar-header .navbar-brand .header-title {
    display: block;
  }
  #main-wrapper .topbar .top-navbar .navbar-header .navbar-brand .header-logo {
    display: none;
  }
}

.auth-wrapper .auth-box {
  margin: 0;
}

.sidebar-nav #application-switcher .dropdown-toggle span {
  text-overflow: ellipsis;
  overflow: hidden;
  width: 80%;
}

.table-container {
  position: relative;
  overflow: auto;
}

.table-container .table-loader-container {
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

#launcher-count {
  position: absolute;
  top: 15px;
  right: 15px;
}

.menu-badge {
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  padding: 0;
  display: inline-flex;
  float: right;
}

.table-container .table-loader-container.downloading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  align-items: flex-start;
}

.table-container .lds-ripple {
  position: relative;
  top: 0;
  left: 0;
}

.table-container table thead .filter {
  overflow: hidden;
  transition: height 0.2s ease-in-out, opacity 0.2s ease-in-out;
  height: 0;
  opacity: 0;
}

.table-container table thead.expanded .filter,
.table-container table thead:hover .filter {
  height: 38px;
  opacity: 1;
}

.table-container table tbody tr {
  transition: 0.1s background-color ease-in-out;
  cursor: pointer;
}

.table-container table thead th {
  padding: 0;
  border: none;
}

.table-container table thead th.sticky {
  position: sticky;
  top: 0;
}

.table-container table thead th > div {
  background: #fff;
  /* box-shadow: 0px 7px 12px 0px rgba(0,0,0, 0.10);*/
  border-top: 1px solid #e9ecef;
  border-right: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
  width: 100%;
  height: 100%;
  padding: 1rem;
}

.table-container table thead th:last-child {
  border-right: none;
}

.table-container table tbody tr:hover {
  background-color: rgb(240, 240, 240);
}

.table-container table td,
.table-container table th {
  white-space: nowrap;
  width: 1%;
  padding: 0.8rem 0.3rem;
  max-width: 30vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 575.98px) {
  .table-container table td,
  .table-container table th {
    padding: 0.8rem 0.3rem;
    max-width: 70vw;
  }
}

.custom-accordion {
  border-radius: 2px;
  box-shadow: 0 3px 9px 0 rgba(169, 184, 200, 0.15);
  overflow: hidden;
}
.custom-accordion .card-header {
  background: white;
  border-top: 1px solid #0000001c;
}

.change-timezone.dropdown a.nav-link.dropdown-toggle span.custom-shadow {
  border: 1px solid black;
  border-radius: 0;
  box-shadow: none;
  color: black;
}

.translation-text {
  white-space: normal;
}

/*
 * Switch checkbox iOS
 */
input[type='checkbox'].ios-switch {
  position: absolute;
  margin: 8px 0 0 16px;
}
input[type='checkbox'].ios-switch + label {
  position: relative;
  padding: 5px 0 0 50px;
  line-height: 2em;
}
input[type='checkbox'].ios-switch + label:before {
  content: '';
  position: absolute;
  display: block;
  left: 0;
  top: 0;
  width: 40px; /* x*5 */
  height: 24px; /* x*3 */
  border-radius: 16px; /* x*2 */
  background: #fff;
  border: 1px solid #d9d9d9;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
input[type='checkbox'].ios-switch:disabled + label:before {
  background-color: #9e9e9e;
}
input[type='checkbox'].ios-switch:disabled:checked + label:before {
  filter: brightness(0.77);
}
input[type='checkbox'].ios-switch + label:after {
  content: '';
  position: absolute;
  display: block;
  left: 0px;
  top: 0px;
  width: 24px; /* x*3 */
  height: 24px; /* x*3 */
  border-radius: 16px; /* x*2 */
  background: #fff;
  border: 1px solid #d9d9d9;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
input[type='checkbox'].ios-switch:not([disabled]) + label:hover:after {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
input[type='checkbox'].ios-switch:checked + label:after {
  margin-left: 16px;
}
input[type='checkbox'].ios-switch:not(:checked):not([disabled]) + label:before {
  background: var(--secondary);
}
input[type='checkbox'].ios-switch:checked + label:before {
  background: var(--primary);
}

/*
 * END Switch checkbox iOS
 */
