
.unitMap div.label{
  background: none!important;
}
.unitLabel{
  text-align: left;
  background: #ffffff80;
  border: 3px solid #adadad;
  padding: 0.5em;
  border-radius: 0.5em;
}

.unitLabel:hover{
  background: #ffffff;
}
.unitLabel .unitName{
  color: #000000;
  font-weight: bold;
  border-bottom: 1px solid #808080;
}

.unitLabel .infos{
  text-align: center;
}

.unitLabel .infos .peopleCount{
  font-size: 1.25em;
  color:#808080
}
.unitLabel .infos .peopleCeil{
  font-size: 1.25em;
  color:#808080
}

.unitLabel.little{ border: none; background: none;}
.unitLabel.little .unitName{ display: none;}
.unitLabel.little .peopleCount, .unitLabel.little .peopleCeil{ color: #000000;}

.unitLabel.tiny{ border: none; background: none;}
.unitLabel.tiny .peopleCount{ color: #000000;}

.localisation{
  font-size: 0.75em;
  padding: 1em 0 1em 1em;
  border-bottom: 1px solid #ababab;
  background: #e0e0e0;
}
/* Dynamic Icons */

/* :root{
  --entityMarkerSize: 32px;
  --entityOuterCircle: 4px;
} */

/* Global map adjustments */

.leaflet-marker-pane{
  z-index: 400!important;
}
.leaflet-labels-pane{
  z-index: 400!important;
}
.leaflet-marker-icon.label{
  /* translate: calc(-50% + 4px); */
}

/* Icons & label adjustments */

.entityMarker.s32{
  --entityMarkerSize: 32px;
  --entityOuterCircle: 4px;
}
.entityMarker.s24{
  --entityMarkerSize: 24px;
  --entityOuterCircle: 2px;
}
.entityMarker.s40{
  --entityMarkerSize: 40px;
  --entityOuterCircle: 4px;
}
.entityMarker.square .mapEntity, .entityMarker.square .mapEntity .outside, .entityMarker.square .mapEntity .inside{
  border-radius: 0!important;
}
.entityMarker.roundedSquare .mapEntity, .entityMarker.roundedSquare .mapEntity .outside, .entityMarker.roundedSquare .mapEntity .inside{
  border-radius: calc(var(--entityMarkerSize) / 10)!important;
}
.entityMarker {
  /* width: 28px!important; */
  width: var(--entityMarkerSize)!important;
  height: var(--entityMarkerSize)!important;
  /* height: 28px!important; */
  /* margin-left: -12px!important; */
  margin-left: calc(var(--entityMarkerSize) / -2 + 1px)!important;
  /* margin-top: -28px!important; */
  margin-top: calc( var(--entityMarkerSize) * -1 - 12px)!important;
  z-index: 999!important;
}
.entityMarker .centerPoint{
  position: absolute;
  width: 6px;
  height: 12px;
  background: #c0c0c0;
  bottom: -12px;
  border-radius: 0 0 1em 1em;
  left: calc( 50% - 1px);
  border: 1px solid #c0c0c0!important;
  z-index: 0;
}
/* .entityMarker.foregroundMarker { */
.foregroundMarker {
  z-index: 1000000!important;
}
.entityMarker.foregroundMarker .mapEntity {
  box-shadow: 0px 0px 2px 2px #ffffff;
}

.foregroundLabel {
  z-index: 1000000!important;
  background: #ffffff!important;
}

.mapEntity{
  /* height: 24px!important; */
  height: var(--entityMarkerSize)!important;
  /* width: 24px!important; */
  width: var(--entityMarkerSize)!important;
  border-radius: 50%;
  /* background-color: #3498db; */
  color: white;
  text-align: center;
  font-size: 8px;    
  /* line-height: 20px; */
  line-height: var(--entityMarkerSize)!important;
  /* margin-top: -13px!important; */
  /* margin-left: -13px!important; */
  border: 2px solid #c0c0c0;
}
.mapEntity .outside{
  background: #ff8000;
  border-radius: 50%;
  height: 100%;
  width:100%;
  position: relative;
}
.mapEntity .inside{
  background: #808080;
  border-radius: 50%;
  /* height: 16px!important; sur 24 */
  height: calc(var(--entityMarkerSize) - var(--entityOuterCircle) * 2 - 4px)!important;
  /* width: 16px!important; */
  width: calc(var(--entityMarkerSize) - var(--entityOuterCircle) * 2 - 4px)!important;
  /* line-height: 16px; */
  position: absolute;
  
  /* main: 32px,   border: 4px       
  /* top: 2px; */
  top: var(--entityOuterCircle);
  /* left: 2px; */
  left: var(--entityOuterCircle);
  border: 2px solid #c0c0c0;
  
}
.mapEntity.selected .inside{
  background: #00bb00;
}
.mapEntity .inside md-icon{
  font-size: calc( var(--entityMarkerSize) / 2);
  width: 100%;
  height: 100%;
  min-height: 100%;
  min-width: 100%;
  position: absolute;
  margin-left: -50%;
  top:2px;
  /* color:#000000; */
  color:#ffffff
}
.mapEntity.selected .inside md-icon{
  color:#ffffff
}
.mapEntity .levelInfo{
  position: absolute;
  background: #c0c0c0;
  width: var(--entityMarkerSize);
  height: 14px;
  bottom: 0;
  color: #000000;
  line-height: normal;
  font-size: 12px;
  text-align: right;
  z-index: -1;
  border-radius: 4px;
  left: 18px;
  top: 0;
  padding: 2px 4px 0 0;
  border: 1px solid #d0d0d0;
}
.marker-cluster{
  height: 48px!important;
  width: 48px!important;
  border-radius: 50%;
  /* background-color: #3498db; */
  color: white;
  text-align: center;
  font-size: 16px;    
  line-height: 40px;
  margin-top: -25px!important;
  margin-left: -25px!important;
  border: 2px solid #c0c0c0;
}
.marker-cluster .outside{
  background: #ff8000;
  border-radius: 50%;
  height: 100%;
  width:100%;
  position: relative;
}
.marker-cluster .inside{
  background: #808080;
  border-radius: 50%;
  height: 32px!important;
  width: 32px!important;
  line-height: 32px;
  position: absolute;
  top: 6px;
  left: 6px;
  border: 2px solid #c0c0c0;
}
.marker-cluster.selected .inside{
  background: #00bb00;
}
.marker-cluster .containsSelectedEntity {
  width: 6px;
  background: #00ff00;
  position: absolute;
  height: 6px;
  border-radius: 1em;
  top: 31px;
  left: 21px;
  /* border: 2px solid #c0c0c0; */
  z-index: 1;
}
.clusterLegend {
  display:flex;
  margin-bottom: 0.25em;
  align-items:center;
}
.clusterLegend .legendColor {
  display:inline-block;
  width:1em;
  height: 1em;
  border-radius: 2em;
  margin-right: 0.5em;
}
.clusterLegend .label {
}

#geoExplorerSelectionDetailContainer md-input-container{
  margin: 8px 0 0 0!important;
}
#geoExplorerSelectionDetailContainer md-input-container .md-errors-spacer{
  display: none;
}
#geoExplorerSelectionDetailContainer md-input-container label{
  top: -8px;
}

.debugCoordinatesBox{
  border: 1px solid rgb(0, 128, 255);
  padding: 1em 0.5em 0.5em 0.5em;
  margin: 0.5em 1em 0 1em;
  background: #0080ff20;
  border-radius: 0.5em;
}
.debugCoordinatesBox md-input-container{
  margin: 8px 0 0 0!important;
}
.debugCoordinatesBox md-input-container .md-errors-spacer{
  display: none;
}
.debugCoordinatesBox md-input-container label{
  top: -15px!important;
}