html,
body {
  height: 100%;
}

footer {
  position: fixed;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 9999;
  background-color: #000000;
  color: #fff;
  font-size: 14px;
  line-height: 26px;
  font-weight: 300;
  text-align: center;
}

body {
  background-color: #dadada;
  font-family: "Lato", "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.4285em;
  color: rgba(0, 0, 0, 0.87);
}

.hidden {
  display: none !important;
}

.hidden-input {
  display: none;
}

.root-container {
  height: 100%;
  position: relative;
}

.main-content {
  margin-left: 224px;
  width: calc(100% - var(--sidebar-menu-width));
  overflow: auto;
  height: calc(100% - 26px);
}

/* sidebar start */

.sidebar-menu {
  position: absolute;
  width: var(--sidebar-menu-width);
  overflow: auto;
  height: calc(100% - 26px);
  color: var(--sidebar-menu-text-color);
  background-color: var(--sidebar-menu-bg-color);
}

.sidebar-logo .logo {
  display: block;
  margin: 10px auto;
  max-width: 70%;
  filter: invert(100%);
}

.sidebar-menu-group {
  position: relative;
}

.sidebar-menu-group .sidebar-menu-group-title {
  padding-left: 24px;
  cursor: pointer;
  position: relative;
  padding-top: 5px;
  padding-bottom: 5px;
}

.sidebar-menu-group .sidebar-menu-group-title:hover {
  color: #f1f1f1;
}

.sidebar-menu-group .sidebar-menu-group-title.active::after {
  content: "\f077";
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: normal;
  position: absolute;
  right: 10px;
}

.sidebar-menu-group .sidebar-menu-group-title:not(.active)::after {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: normal;
  position: absolute;
  right: 10px;
}

.sidebar-menu-group
  .sidebar-menu-group-title.active
  + .sidebar-menu-group-list {
  display: block;
}

.sidebar-menu-group
  .sidebar-menu-group-title:not(.active)
  + .sidebar-menu-group-list {
  display: none;
}

.sidebar-menu-group .sidebar-menu-group-title.active + .sidebar-menu-subgroups {
  display: block;
}

.sidebar-menu-group
  .sidebar-menu-group-title:not(.active)
  + .sidebar-menu-subgroups {
  display: none;
}

.sidebar-menu-subgroup {
  background-color: var(--sidebar-menu-subgroup-bg-color);
}

.sidebar-menu-subgroup .sidebar-menu-subgroup-title {
  cursor: pointer;
  padding-left: 48px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.sidebar-menu-subgroup .sidebar-menu-subgroup-title:hover {
  color: #f1f1f1;
}

.sidebar-menu-subgroup .sidebar-menu-subgroup-title.active::after {
  content: "\f077";
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: normal;
  position: absolute;
  right: 10px;
}

.sidebar-menu-subgroup .sidebar-menu-subgroup-title:not(.active)::after {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: normal;
  position: absolute;
  right: 10px;
}

.sidebar-menu-subgroup
  .sidebar-menu-subgroup-title.active
  + .sidebar-menu-subgroup-list {
  display: block;
}

.sidebar-menu-subgroup
  .sidebar-menu-subgroup-title:not(.active)
  + .sidebar-menu-subgroup-list {
  display: none;
}

.sidebar-menu-group .sidebar-menu-item {
  padding-left: 48px;
  background-color: var(--sidebar-menu-subgroup-bg-color);
}

.sidebar-menu-subgroup .sidebar-menu-item {
  padding-left: 72px;
}

.sidebar-menu-item {
  padding-top: 5px;
  padding-bottom: 5px;
}

.sidebar-menu-item.active {
  background-color: var(--sidebar-menu-item-active-bg-color);
}

.sidebar-menu-item.active::before {
  content: "\f0a4\00a0";
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: normal;
}

/* The navigation menu links */
.sidebar-menu a {
  text-decoration: none;
  display: block;
  cursor: pointer;
  color: var(--sidebar-menu-text-color);
}

/* When you mouse over the navigation links, change their color */
.sidebar-menu a:hover {
  color: #f1f1f1;
}

.lang {
  padding: 10px;
  text-align: center;
}

button.active {
  background-color: gray;
  color: white;
}

.sidebar-logout {
  box-sizing: border-box;
  text-align: center;
  position: absolute;
  bottom: 0;
  padding: 20px;
  width: 100%;
  font-size: 2.5em;
  font-weight: bolder;
  cursor: pointer;
  background-color: rgba(19, 19, 19, 0.65);
}
.sidebar-logout:hover {
  background-color: gray;
  color: #f1f1f1;
}
.logout-logo {
  vertical-align: text-bottom;
}
/* sidebar end */

.content-container {
  margin: 0 22px;
  padding: 24px 32px;
  background-color: white;
}

header {
  display: none;
}

#nav-toggle {
  display: block;
  position: absolute;
  right: 15px;
  top: 10px;
  cursor: pointer;
  padding: 10px 35px 16px 0px;
}

#nav-toggle span:before {
  top: -10px;
}

#nav-toggle span:after {
  bottom: -10px;
}
#nav-toggle span,
#nav-toggle span:before,
#nav-toggle span:after {
  cursor: pointer;
  border-radius: 1px;
  height: 5px;
  width: 35px;
  background: black;
  position: absolute;
  display: block;
  content: "";
  transition: all 300ms ease-in-out;
}

#nav-toggle.active span {
  background-color: transparent;
}

#nav-toggle.active span:before,
#nav-toggle.active span:after {
  top: 0;
}

#nav-toggle.active span:before {
  transform: rotate(45deg);
}

#nav-toggle.active span:after {
  transform: rotate(-45deg);
}
/* 
.page-header {
  display: flex;
} */

.page-function i {
  font-size: 1.7em;
  margin: 0.67em 0;
}

/* .page-function button:nth-of-type(1) {
  margin-left: 0.67em;
} */

.img-title {
  width: 100px;
  overflow-wrap: break-word;
}

/* medium screen size */
@media (max-width: 992px) and (min-width: 830px) {
}

/* small screen size */
@media (max-width: 830px) {
  /* .page-header {
    justify-content: space-between;
  } */

  .page-function button:first {
    margin-left: 0;
  }

  body {
    font-size: 12px;
    line-height: 1em;
  }
  header {
    display: block;
  }

  #nav-mobile {
    padding: 1.2em 1em;
  }

  #nav-title {
    font-weight: bold;
  }

  .sidebar-menu {
    position: sticky;
    width: 100%;
    height: auto;
    font-size: 1.8em;
  }
  .sidebar-menu-item {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .sidebar-menu-group .sidebar-menu-group-title {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .sidebar-menu-subgroup .sidebar-menu-subgroup-title {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .sidebar-menu:not(.active) {
    display: none;
  }
  .sidebar-menu.active {
    display: block;
  }
  .sidebar-logout {
    position: sticky;
    bottom: auto;
  }

  .sidebar-logo .logo {
    display: none;
  }

  .main-content {
    margin-left: 0;
    width: 100%;
    height: 100%;
    /* height: auto; */
  }

  .root-container {
    height: calc(100% - 70px);
    position: initial;
  }

  footer {
    position: initial;
    left: initial;
    right: initial;
    bottom: initial;
  }

  .content-container {
    margin: 0;
    padding: 5px 12px;
  }
}
