:root {
  --color-default-green: #9ed142;
  --color-default-green-light: #e7f4cf;
  --nav-width: 250px;
  --nav-height-mobile: 60px;
}
html,
body {
  width: 100vw;
  height: 100vh;
}
body > main {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
}
body > main > nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 1;
  width: var(--nav-width);
  height: 100%;
  padding: 0;
  background-color: var(--color-default-green-light);
}
body > main > nav > div.nav-toggle {
  display: none;
  height: var(--nav-height-mobile);
  text-align: right;
}
body > main > nav > div.nav-toggle button {
  appearance: none;
  background-color: transparent;
  border: none;
  outline: none;
  height: calc(var(--nav-height-mobile) - 10px);
  width: calc(var(--nav-height-mobile) - 10px);
  margin: 5px;
  color: white;
  font-size: 24px;
}
body > main > nav > figure {
  margin: 0;
  padding: 20px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05);
}
body > main > nav > figure img {
  width: calc(100% - 30px);
  max-width: 150px;
}
body > main > nav > ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
}
body > main > nav > ul li {
  padding: 0;
  margin: 0;
}
body > main > nav > ul li a {
  display: block;
  padding: 10px 20px;
  color: black;
  text-decoration: none !important;
  border-left: 3px solid transparent;
}
body > main > nav > ul li a span.fa {
  margin-right: 10px;
}
body > main > nav > ul li a:hover,
body > main > nav > ul li a.active {
  background-color: var(--color-default-green);
  color: white;
}
body > main > nav > div.user {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: auto;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.05);
  color: black;
}
body > main > nav > div.user a {
  display: block;
  width: 20px;
  height: 20px;
  color: black !important;
}
body > main > section#content {
  flex: 1;
  padding: 20px;
}
body > main > section#content h2:first-of-type {
  margin-top: 0;
}
body > main:has(nav) > section#content {
  margin-left: var(--nav-width);
}
.select2-container--bootstrap strong.select2-results__group {
  font-size: unset !important;
  background: #d9d9d9;
  border-bottom: 1px solid #cccccc;
  color: black;
  cursor: pointer;
}
.select2-container--bootstrap strong.select2-results__group span.fa {
  display: inline-block;
  width: 15px;
}
.select2-container--bootstrap .select2-results__options--nested > li {
  padding-left: 30px !important;
  border-bottom: 1px solid #ebebeb;
}
.select2-container--bootstrap .select2-selection--multiple .select2-selection__choice {
  float: none;
  display: block;
  margin: 5px;
}
.select2-container--bootstrap .select2-results > .select2-results__options {
  max-height: 500px;
}
.select2-container--bootstrap .select2-results__option--highlighted[aria-selected] {
  background-color: #e6e6e6;
  color: unset;
}
/* login page */
body.page-login main div.input-group {
  margin-bottom: 20px;
}
body.page-login main div.panel {
  margin-top: 50px;
}
/* filebrowser */
.modal-filebrowser div.name {
  cursor: pointer;
}
.modal-filebrowser div.name:hover {
  text-decoration: underline;
}
.modal-filebrowser ul {
  list-style: none;
}
.modal-filebrowser ul ul {
  display: none;
}
/* developement env */
body.env-dev > .navbar:before {
  display: block;
  content: 'DEVELOPMENT';
  text-align: center;
  background: red;
  color: white;
  font-weight: bold;
  font-size: 10px;
}
body.env-dev > main.container {
  padding-top: 90px;
}
