html,body{height:100%}

body {
  font-size: .875rem;
}
.navbar{
  background-color: #fff;
}
.feather {
  width: 16px;
  height: 16px;
  vertical-align: text-bottom;
}

/*
 * Sidebar
 */

.sidebar {
  overflow-y: auto;
  position: fixed;
  top: 0;
  /* rtl:raw:
  right: 0;
  */
  bottom: 0;
  /* rtl:remove */
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 48px 0 0; /* Height of navbar */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}
.sidebar::-webkit-scrollbar{width: 6px; background-color: rgba(0, 0, 0, .3); border-radius:3px;}

@media (max-width: 767.98px) {
  .sidebar {
    top: 5rem;
  }
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  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 {
  background-color: #1C4196;
  color: #fff;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}

/*
 * Navbar
 */

.navbar-brand {
  display: flex;
  height:50px;
  font-size: 1rem;
  background-color: #fff;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
  align-items: center;
}

.navbar .navbar-toggler {
  top: .25rem;
  right: 1rem;
}

.navbar .form-control {
  padding: .75rem 1rem;
  border-width: 0;
  border-radius: 0;
}

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

/* login */
.container{min-height: calc(100% - 50px);}
.login{display: flex; align-items: center; justify-content: center;}
.login>div{width: 400px; padding:50px; white-space: nowrap;}

.profile-img{overflow:hidden; border-radius: 50%; background:url(/images/no_profile.svg) no-repeat; background-size: contain; flex-shrink: 0;}
.profile-img.sm {width: 32px; height: 32px;}
.profile-img.xl {width: 128px; height: 128px;}

/* json viewer */
.json-key {
  font-weight: 500;
  color: #0d6efd;
}
.json-value {
  color: #198754;
}
.json-toggle {
  cursor: pointer;
  user-select: none;
  margin-right: 4px;
}
.json-tree ul {
  list-style-type: none;
  padding-left: 1rem;
  margin: 0;
  border-left: 1px solid #dee2e6;
}
.json-tree li {
  margin: 4px 0;
}
.hidden {
  display: none;
}