.logo {
  height: 30px;
}
.sidebar-logout {
  text-decoration: none;
  color: rgb(136, 3, 3);
  font-weight: bold;
  padding-left: 1rem;
}

h1 {
  font-size: 2rem;
}

table.dataTable tr.selected td.select-checkbox:after, table.dataTable tr.selected th.select-checkbox:after {
  content: "✓";
  font-size: 18px;
  margin-top: -24px;
}

.card-body {
  overflow-x: auto;
}

.severity-icon {
  max-width: 20px;
}

div.dt-buttons {
  margin-bottom: 1rem;
}

button.mini {
  height: 1rem;
  padding-top: 0;
  line-height: .8rem;
}

.btn {
  margin-bottom: 0.25rem;
}

.noborder {
  border: 0;
}

.form-label {
  margin-bottom: 0;
}

.row {
  margin-bottom: 10px;
  padding-top: 10px;
  --bs-gutter-y: 1.5rem;
}

main {
  position: relative;
}

#loading {
  background-color: rgba(255,255,255,0.5);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: 100;
  left: 0;
  display: flex;
  justify-content: center;
  display: none;
}
#loading div {
  position: absolute;
  top: 50vh;
}

/* Admin-Theme */

body {
    font-size: .875rem;
  }
  
  .feather {
    width: 16px;
    height: 16px;
  }
  
  /*
   * Sidebar
   */
  
  .sidebar {
    position: fixed;
    top: 0;
    /* rtl:raw:
    right: 0;
    */
    bottom: 0;
    /* rtl:remove */
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: 54px 0 0; /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
  }
  
  .sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 54px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
  }
  
  .sidebar .nav-link {
    font-weight: 500;
    color: #333;
  }
  
  .sidebar .nav-link .feather {
    margin-right: 4px;
    color: #727272;
  }
  
  .sidebar .nav-link.active {
    color: #2470dc;
  }
  
  .sidebar .nav-link:hover .feather,
  .sidebar .nav-link.active .feather {
    color: inherit;
  }
  
  .sidebar-heading {
    font-size: .75rem;
  }

  .controller-info {
    color: #fff;
  }
  
  /*
   * Navbar
   */
  
  .navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
  }
  
  .navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
  }
  
  .navbar .form-control {
    padding: .75rem 1rem;
  }
  
  .form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
  }
  
  .form-control-dark:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
  }

  .state-on {
    background-color: green;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    display: inline-block;
  }
  .state-off {
    background-color: red;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    display: inline-block;
  }
  
  .invalid, .invalid:focus {
    border-color: red;
  }