#map-front {
  height: 65vh;
}

#map-front .map-settore {
  background-color: #fff;
  width: 50px;
  height: 50px;
  display: block;
  text-align: center;
  line-height: 50px;
  font-size: 26pt;
  font-weight: bold;
  border-radius: 1rem;
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}

#map-panel {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 1000;
}

#map-panel>div {
  z-index: 1000;
  max-width: 550px;
  width: 90%;
  margin: 0 auto;
  border-radius: 1rem 1rem 0 0;
}


.settore-popup,
.settore-popup>div {
  transition: all ease-in-out .1s;
}

.settore-popup .leaflet-popup-content {
  margin: 8px;
  text-align: center;
  line-height: 12pt;
}

.settore-popup .leaflet-popup-content small {
  font-size: 8pt;
}

.settore-popup .leaflet-popup-tip,
.settore-popup .leaflet-popup-content-wrapper {
  background: rgba(255, 255, 255, 0.7);
  color: #000;
  font-weight: bold;
  font-size: 14pt;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
}

.settore-popup:hover,
.settore-popup.selected {
  z-index: 1100;
}

.settore-popup:hover .leaflet-popup-tip,
.settore-popup:hover .leaflet-popup-content-wrapper {
  background: #fff;
}

.settore-popup.selected .leaflet-popup-tip,
.settore-popup.selected .leaflet-popup-content-wrapper {
  background: #28a745;
  color: #fff;
}

.popup-bar {
  border: 1px solid #565656;
  height: 5px;
  border-radius: 2px;
  background: #fff;
}

.popup-bar>div {
  height: 3px;
}

.leaflet-interactive {
  cursor: inherit;
}

.leaflet-control-zoom {
  transform: scale(1.5);
  transform-origin: top left;
  border-radius: 1rem;
}

.leaflet-control-zoom .leaflet-control-zoom-in {
  border-top-left-radius: 1rem !important;
  border-top-right-radius: 1rem !important;
  font-family: "Titillium Web";
  line-height: 26px !important;
}

.leaflet-control-zoom .leaflet-control-zoom-out {
  border-bottom-left-radius: 1rem !important;
  border-bottom-right-radius: 1rem !important;
  font-family: "Titillium Web";
  line-height: 26px !important;
}

.list-interval .fase>div {
  transform: rotate(-90deg);
  width: 50px !important;
  font-size: 11pt;
  font-weight: bold;
  position: absolute;
  left: -9px;
  color: #e8002f;
}

.list-interval .date {
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
  line-height: 1rem;
}

.list-interval .date>div {
  width: 55px;
}

.list-interval .active-interval {
  background-color: rgba(220, 0, 45, 0.1);
}

.list-interval .active-interval .date {
  background-color: #dc002d;
  color: #fff;
  font-weight: bold;
}

.arrow-down {
  width: 100%;
  position: relative;
}

.arrow-down>div {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-top: 36px solid #fff;
  margin: 0 auto;
  z-index: 1040;
  position: absolute;
  left: calc(50% - 50px);
  top: -2px;
}