:root {
  --sidebar-width: 190px;
}

body {
  font-family: Arial !important;
  position: relative;
}

.show-div {
  display: block;
  height: auto;
}

.hide-div {
  display: none;
  height: 0;
}

.sub-menu {
  color: #ffffff;
  font-weight: bold;
  background-color: transparent;
  white-space: normal !important;
  text-align: center;
  width: 148px;
}

.sub-menu:active,
.sub-menu:hover {
  color: #ffffff;
  text-decoration: underline;
}

.white {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
}

.btn-custom {
  background-color: #ffffff;
  color: #231f20;
  border-color: #ffffff;
  white-space: normal !important;
  /* we use p-2 for padding = 16 pixes; 180(main element)-32px = 148px */
  width: 158px;
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom:active,
.btn-custom.active,
.open .dropdown-toggle.btn-custom {
  background-color: #ffffff;
  color: #231f20;
  border-color: #ffffff;
}

.header {
  text-align: center;
  background: #005eb8;
  color: #ffffff;
  font-size: 30px;
}

.selected-submenu-item {
  text-decoration: underline;
  border-color: white;
}

#cookies {
  bottom: 0;
}

#sidebarToggleWrapper {
  background-color: #005eb8;
  min-width: var(--sidebar-width);
  max-width: var(--sidebar-width);
}

#accordionSection.hidden-sidebar {
  transform: translate(40px, 0);
}

body > main:not(.index-page-container) {
  min-height: 100vh;
}

body.app-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.app-body .app-content {
  display: flex;
  flex: 1 0 auto;
  align-items: stretch;
}

.app-body .app-content > .super-wrapper {
  flex-shrink: 0;
}

/* Right-hand column: content on top, footer beneath it. Keeping the footer in
   here (rather than as a sibling of .app-content) lets the sidebar run the full
   height of the page below the header, with the footer in the space left over. */
.app-body .app-content > .app-main {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}

.app-body .app-content main {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
}

.app-body footer#cookies-and-privacy {
  position: static;
  left: auto;
  padding: 10px 0;
}

.super-wrapper {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
}

.wrapper {
  display: flex;
  justify-content: flex-start;
  flex: 1 1 auto;
}

#sidebar {
  min-width: var(--sidebar-width);
  max-width: var(--sidebar-width);
  z-index: 999;
  background: #005eb8;
  color: #ffffff;
  transition: all 0.5s;
}

#sidebarToggleWrapper {
  z-index: 999;
  display: flex;
  transition: all 0.5s;
  cursor: pointer;
  user-select: none;
  /* Now a <button> (was a <div>): strip the UA button chrome so it renders
     exactly as before while staying keyboard-operable. Background colour and
     width come from the #sidebarToggleWrapper rule higher up. */
  appearance: none;
  -webkit-appearance: none;
  border: none;
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
}

#sidebarToggleWrapper.hidden-sidebar {
  z-index: 999;
  min-width: 50px;
  max-width: 50px;
  width: 50px;
  background-color: white;
}

#sidebarToggle {
  transition: all 0.5s;
  display: inline;
  pointer-events: none;
}

#sidebarToggleLabel {
  display: none;
}

#sidebarToggleLabel.visible-sidebar {
  color: white;
  font-size: 20px;
  transform: translate(40px, 10px);
  display: initial;
}

#sidebarToggle.visible-sidebar {
  transform: translate(47px);
}

#sidebar.hidden-sidebar {
  min-width: 0;
  max-width: 0;
  width: 0;
}

#sidebar-elements.hidden-sidebar {
  display: none;
}

#sidebar-elements {
  width: 180px;
  margin: 0;
}

.selected-sidebar-element {
  width: 180px;
  padding-right: 34px;
}

.page-submenu {
  margin-left: 5px;
}
