* {
  margin: 0;
  padding: 0;
  font-family:"Segoe UI";
}

body {
  /* background-color: var(--dark-background); */
}

#versionDisplay {
  position: absolute;
  bottom: 0;
  right: 0;

  background-color: lightgray;
  border: 1px solid #000;

  padding: 2px;

  z-index: 1000;
}

#loadingScreen {
  display: none;
  padding-top: 30vh;
}
#loadingScreen div {
  margin: 0 auto;
}

#accessDeniedScreen {
  display: none;
}
#page {
  /* display: none; */
}


#mapContainer {
  width: 100vw;
  height: 100vh;
}

.cstToggleElement {
  width: 48px;
  height: 48px;
  box-sizing: border-box;

  padding-top: 4px;

  position: absolute;
  top: 0;
  left: 0;
  z-index: 10000;
  cursor: pointer;
  background-color: #262626;
}
.cstToggleElement:hover {
  background-color: var(--light-background);
}
.cstToggleElement .bar1, .bar2, .bar3 {
  width: 35px;
  height: 5px;
  background-color: var(--light-foreground);
  border-radius: 2px;
  margin-top: 6px;
  margin-left: 6.5px;
  transition: 0.4s;
}

#uiOverlay .cstToggleElement {
  top: 7px;
  left: 7px;
}

#closedMenu {
  z-index: 999;
  display: block;
  width: 48px;
  height: 48px;
  position: absolute;
  top: 5px;
  left: 5px;
  border-radius: 10px;
  background-color: transparent;
  border: 2px solid transparent;
}



#uiOverlay {
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--dark-background);
  color: var(--light-foreground);
  z-index: 1000;
  box-sizing: border-box;
  width: 295px;
  min-height: 100vh;
  max-height: 100vh;

  display: none;

  overflow-y: scroll;
  overflow-x: hidden;

  /* Fix für verschwindendes UI unter iOS Safari.
     Der Bug scheint ein Safari-Problem zu sein. Siehe https://github.com/Leaflet/Leaflet/issues/8068 */
  transform: translate3d(0px, 0px, 0px);
}

#uiOverlay .mainHeader {
  text-align: center;
  margin-top: 5;
  margin-bottom: 15px;
}

#uiOverlay .mainHeader img {
  margin: 0 auto;
  height: 60px;
}

#uiOverlay .mainHeader .mainHeaderText {
  margin-top: -14px;
  font-size: 25px;
}
#uiOverlay .mainHeader .mainHeaderText small {
  font-size: 15px;
}

#uiOverlay .uiContent {
  overflow-y: scroll;
  overflow-x: hidden;
}

#uiOverlay .uiHeader {
  padding: 5px;
  padding-left: 8px;
  font-weight: 700;
}

#uiOverlay .uiContainer {
  margin-bottom: 40px;
  margin-top: -15px;
  padding-top: 7px;
  /* font-size: 14px; */
}

#uiOverlay .creditContainer {
  font-size: 12px;
}


.pf10 {
  width: 10px;
  text-align: center;
}

.transparent {
  color: transparent;
}


.markerEM {
  padding: 1px 4px;

  white-space: nowrap;
  display: inline-block;

  text-align: center;
  font-size: 13px;

  box-sizing: border-box;

  border: 2px solid red;
  border: 2px solid #b3b3b3;
  background-color: #e6e6e6;
  color: #000;
  transform: translateX(-50%);
  margin-left: 6px;
}

.markerEinsatz {
  padding: 1px 4px;

  white-space: nowrap;
  display: inline-block;

  text-align: center;
  font-size: 11px;

  box-sizing: border-box;

  border: 2px solid #262626;
  background-color: #e6e6e6;
  transform: translate(-50%, +32%);
  margin-left: 6px;

  color: #cc0000;
}

.markerNotfall {
  padding: 1px 4px;

  white-space: nowrap;
  display: inline-block;

  text-align: center;
  font-size: 11px;

  box-sizing: border-box;

  border: 3px solid #e60000;
  background-color: #e6e6e6;
  transform: translate(-50%, +32%);
  margin-left: 6px;
}

.markerObjekt {
  padding: 1px 4px;

  white-space: nowrap;
  display: inline-block;

  text-align: center;
  font-size: 11px;

  box-sizing: border-box;

  border: 2px solid #262626;
  background-color: #e6e6e6;
  color: #000;
  transform: translate(-50%, +32%);
  margin-left: 6px;
}

.navTextMarker {
  padding: 1px 4px;

  white-space: nowrap;
  display: inline-block;

  text-align: center;
  font-size: 11px;

  box-sizing: border-box;

  border: 2px solid #262626;
  background-color: #e6e6e6;
  color: #000;
  transform: translate(-50%, +32%);
  margin-left: 6px;
}

.dialog-content {
  overflow-y: scroll;
}

.contextmenu {
  z-index: 9990;
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  border: 2px solid gray;
  background-color: #fff;
  white-space: nowrap;
}

.contextmenu .menu-header {
  text-align: center;
  font-weight: bold;
  padding: 3px;
  border-bottom: 1px solid gray;
}

.contextmenu .menu-item {
  padding: 3px;
  border-bottom: 1px solid lightgray;
  cursor: pointer
}
.contextmenu .menu-item + .divider {
  border-bottom: 1px solid gray;
}
.contextmenu .menu-item:last-of-type {
  border-bottom: none;
}

.contextmenu .menu-item:hover {
  background-color: #f2f2f2;
}

.display-none {
  display: none;
}
