.map-container {
  margin-top: 20px;
  width: 100%;
  height: 500px;
}

.map-container.map-fullscreen-on {
  position: fixed;
  top: 0;
  left: 0;
  margin-top: 0px;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

#map {
  width: 100%;
  height: 100%;
}

#map .layercontrol {
  position: absolute;
  top: 0;
  right: 20px;
  background-color: #fff;
  z-index: 500;
  padding: 10px 10px 0px 10px;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.3);
  max-width: 135px;
  display: none;
}

#map .layercontrol-mobile {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #fff;
  z-index: 500;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.3);
  max-width: 135px;
  display: none;
}

.leaflet-top {
  z-index: 500 !important;
}

#map .layercontrol p {
  font-size: 16px;
  color: #3D3D3D;
  margin: 0;
}

.layercontrol .btn-fullscreen, .layercontrol-mobile .btn-fullscreen {
  background: url(../../images/icons/baseline_fullscreen_black_18dp.png) center no-repeat;
  background-size: cover;
  width: 36px;
  height: 36px;
  border: none;
  cursor: pointer;
}

.layercontrol .btn-fullscreen-container {
  width:100%;
  text-align: center;
}

.layercontrol-mobile {
  display: none;
}

.layercontrol-mobile .btn-fullscreen-container {
  margin: 0;
  margin-bottom: -5px;
}

.layercontrol .btn-fullscreen.btn-fullscreen-on, .layercontrol-mobile .btn-fullscreen.btn-fullscreen-on {
  background: url(../../images/icons/baseline_fullscreen_exit_black_18dp.png) center no-repeat;
}

#map label {
  cursor: pointer;
  display: inline-block;
  position: relative;
  padding-left: 25px;
  margin-right: 10px;
  color: #3D3D3D;
}

#map label:before {
  content: "";
  width: 20px;
  height: 20px;
  position: absolute;
  left: 0;
  background: url(../../images/icons/baseline_check_box_outline_blank_black_18dp.png) center no-repeat;
  background-size: cover;
}

#map input[type=checkbox] {
  display: none;
}

#map .checkbox label:before {
  background: url(../../images/icons/baseline_check_box_outline_blank_black_18dp.png) center no-repeat;
  background-size: cover;
}

#map input[type=checkbox]:checked + label:before {
  background: url(../../images/icons/baseline_check_box_black_18dp.png) center no-repeat;
  background-size: cover;
}

.leaflet-popup-content h3 {
  color: #194360;
  font-weight: 300;
  font-size: 18px;
  margin: 0 0 5px 0;
}

.leaflet-popup-content .marqueur_type_name {
  color: #808080;
  font-size: 12px;
  margin: 0 0 5px 0;
}

.leaflet-popup-content img {
  max-width: 100%;
}

.leaflet-popup-content p {
  color: #3D3D3D;
}

.leaflet-popup-content-wrapper {
  border-radius: 0 !important;
}

@media (max-width: 576px) {
  #map .layercontrol {
    bottom: 0;
    left: 0;
    top: inherit;
    width: 100%;
    max-width: 100%;
  }

  #map .layercontrol .map-checkbox {
    display: inline-block;
    font-size: 12px;
  }

  #map .layercontrol-mobile {
    display: block;
  }

  .layercontrol .btn-fullscreen-container {
    display: none;
  }
}
