html,
body {
  min-height: 100%;
  min-width: 100%;
  display: grid;
}

label.error {
  border-bottom: 1px double #df5050;
  position: absolute;
  right: 0;
  top: 0;
  white-space: nowrap;
  color: #df5050;
}

label.error:after {
  border-color: #df5050 transparent transparent;
  border-style: double;
  border-width: 5px;
  bottom: -10px;
  content: "";
  height: 0;
  position: absolute;
  right: 38px;
  width: 0;
}

.error-page {
  display: flex;
  width: fit-content;
}

.error-page > .error-content {
  margin-left: 18px;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
  overflow: hidden;
}

.fullbody {
  flex: auto;
}

.icheckbox_minimal.disabled {
  background-color: #ccc;
}

section.sidebar .sidebar-menu li.has-child > a::before {
  content: "\f104";
  font-family: "FontAwesome";
  width: 14px;
  float: right;
  margin-top: 2px;
  background: transparent;
  z-index: 0;
  margin-right: 7px;
  font-weight: normal;
}

section.sidebar .sidebar-menu li.has-child.active > a::before {
  content: "\f107";
  margin-right: 4px;
}

.main-header .logo img {
  max-height: calc(100% - 15px);
  margin: 10px auto;
}

.main-header .logo .logo-mini img {
  margin: 1px auto;
}

.main-header .logo .logo-lg {
  display: contents;
}
