﻿/* Copyright 2018-2024 Epic Systems Corporation */
.listHolder .header {
  padding: 0;
}

.section .content .inlinelabel,
.listHolder .label,
.details {
  line-height: normal;
  font-size: 0.9rem;
}

.listHolder .rowSection {
  margin: 0.2rem 0;
}
.listHolder .rowSectionSparse {
  margin: 0.2rem 0 0.5rem;
}
.listHolder.detailsOpen {
  overflow-y: visible !important;
  background-color: #ffffff;
}
.listHolder.detailsOpen .listRow {
  display: none;
}

.label + .slotsContainer {
  margin-top: 0.3rem;
}

.label.bold {
  font-weight: bold;
}

.label.date {
  padding-left: 1.25rem;
  position: relative;
}
.label.date::before {
  content: "";
  width: 1rem;
  height: 1rem;
  background-image: url("../images/calendar_grayscale.png");
  background-repeat: no-repeat;
  background-size: 1rem;
  position: absolute;
  left: 0;
}

.loadingspinner_small {
  width: 16px;
  height: 16px;
}

.whiteBG {
  background-color: #ffffff;
}

.listHolder {
  width: 30rem;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

.listHolder,
.mapHolder {
  position: relative;
}

.department_map {
  background-color: #ffffff;
  border-color: #dbdbdb;
  height: 30rem;
}

.listRow {
  padding: 0.5rem;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-color: #dbdbdb;
  cursor: pointer;
  outline: none;
}
.listRow:focus {
  box-shadow: inset 0 0 0 1px Highlight;
}
.listHolder > .listRow:is(.hover, .selected) {
  background: #f4edf3;
}

.listElementDetails {
  position: absolute;
  height: 100%;
  background-color: #ffffff;
  padding: 2rem 1rem 0rem 1rem;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  z-index: 1;
}

.sideRowContent {
  min-width: 2.5rem;
  width: 2.5rem;
  padding-top: 0.1rem;
  font-size: 0.7rem;
  line-height: 1rem;
  margin-right: 0.6rem;
}

.listHolder .positiveValue {
  font-weight: bold;
}
.listHolder .inlineStrings span {
  display: inline-block;
  padding-right: 1rem;
}

.positiveValue {
  color: #0f784a;
}

.map {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100%;
}
@media print {
  .map img {
    width: auto !important;
    display: block !important;
  }
  .map .leaflet-marker-icon {
    height: 32px !important;
    width: 32px !important;
  }
}

.mapHolder .placeHolder {
  width: 100%;
  height: 100%;
  border-left: 1px solid #eaeaea;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
}
@media screen and (max-width: 768px) {
  .mapHolder .placeHolder {
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
  }
}
.mapHolder .placeHolder .icon {
  width: 7rem;
  height: 7rem;
  background-image: url("../images/mapPlaceholder.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}
.mapHolder .placeHolder .text {
  font-size: 1.2rem;
  padding-top: 2rem;
  color: #767676;
}

@media only screen and (max-width: 768px) {
  .department_map > .flexParent {
    flex-direction: column-reverse;
  }
  .listHolder,
  .mapHolder {
    flex: auto;
    min-height: 0;
    transition: all 0.25s;
  }
  .mapHolder {
    flex-basis: 60%;
  }
  .listHolder {
    width: 100%;
    flex-basis: 40%;
  }
  .mobile .section .content ul {
    width: 100%;
  }
  .listMapContainer.listExpanded {
    height: 100%;
  }
  .listMapContainer.listExpanded .mapHolder {
    flex-basis: 25%;
  }
  .listMapContainer.listExpanded .listHolder {
    flex-basis: 75%;
  }
  .department_map,
  .embedded .department_map {
    flex-grow: 1;
    min-height: 0;
    height: 100%;
  }
}
@media screen and (min-width: 769px) {
  .mobile .department_map,
  .embedded .department_map {
    border-width: 1px;
    border-style: solid;
  }
  .embedded .department_map {
    height: calc(100vh - 9rem);
  }
}
.leaflet-popup {
  display: none;
}

@media only screen and (max-width: 420px) {
  .leaflet-control-zoom {
    display: none;
  }
}
