/* ----------------- Leaflet ----------------- */
.leaflet-bar a, .leaflet-bar a:hover{
    width: 30px;
    height: 30px;
    line-height: 30px;
}
.leaflet-top, .leaflet-bottom{
    z-index : 995 !important;
}
.leaflet-control-scalefactor {
    border: 2px solid black;
    background: #fff;
}
.leaflet-control-zoom, .leaflet-bar, .leaflet-control{
    border: 1px solid black;
    border-radius: 0px;
}
.leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar {
    border: 1px solid black;
    border-radius: 0px;
}
.leaflet-control-layers label{color: black;}
.leaflet-control{box-shadow: none !important;}
.leaflet-bar a:first-child{border-radius: 0px !important;}
.leaflet-bar a:last-child{border-radius: 0px !important;}
.leaflet-touch .leaflet-bar a:first-child{border-radius: 0px !important;}
.leaflet-touch .leaflet-bar a:last-child{border-radius: 0px !important;}
.leaflet-bottom.leaflet-left{left: 55px;}
.leaflet-popup-content-wrapper{
    border-radius: 0px !important;
}
.leaflet-control-layers label{
  color: black;
}
.leaflet-control{
  box-shadow: none !important;
}
.leaflet-touch .leaflet-bar a:first-child{
  border-radius: 0px !important;
}
.leaflet-touch .leaflet-bar a:last-child{
  border-radius: 0px !important;
}
.leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar {
  border: 1px solid black;
  border-radius: 0px;
}
.leaflet-control-measure-toggle {
  width: 30px !important;
  height: 30px !important;
}
.leaflet-control-measure.leaflet-control {
  border-radius: 0px;
  border: 1px solid black;
}
.leaflet-control-measure {
  font-size: 12px !important;
}

.leaflet-bar.easy-button-container.leaflet-control{
  width: 32px !important;
  height: 32px !important;
  border: 1px solid black !important;
  border-radius: 0px !important;
}
.easy-button-button.leaflet-bar-part.leaflet-interactive.unnamed-state-active{
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  background-color: white !important;
}
.button-state.state-unnamed-state.unnamed-state-active{
  font-size: 16px !important;
}
/* Measure */
.leaflet-control-measure-toggle{
	width: 30px !important;
	height: 30px !important;
	border-radius: 0px !important;
}
.leaflet-control-measure-interaction.js-interaction{
	font-size: 14px;
	max-width: 300px;
	text-align: center;
	font-weight: normal;
}
.js-measuringprompt>h3, .js-startprompt.startprompt>h3{
	color: var(--main-color-second);
	font-weight: bold;
}
.js-results.results .group:first-child{
	display: none;
}
.leaflet-measure-resultpopup h3{
	text-align: center;
	font-weight: bold;
	color: var(--main-color-second);
	font-size: 16px;
}

/** LEAFLET SCALE **/
.leaflet-control-scale.leaflet-control{
    border: none !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
}
.leaflet-control-scale-line {border: 2px solid #333;border-top: none;}

/* Draw */
.leaflet-control-layers.leaflet-control-layers-expanded.leaflet-control{
  padding: 3px !important;
  width: 32px;
  height: 32px;
  font-size: 16px !important;
  text-align: center;
}
.leaflet-control-layers.leaflet-control-layers-expanded.leaflet-control [type="checkbox"]+span:not(.lever):before, .leaflet-control-layers.leaflet-control-layers-expanded.leaflet-control [type="checkbox"]:not(.filled-in)+span:not(.lever):after{
  content: unset !important;
}
.leaflet-control-layers.leaflet-control-layers-expanded.leaflet-control [type="checkbox"]+span:not(.lever){
  padding: 0px !important;
  font-size: 16px;
}
.leaflet-draw.leaflet-control{
  margin-top: -1px !important;
}
.btn-leaflet-custom{
  width: 30px;
  height: 30px;
}
.btn-leaflet-custom:focus{
  background-color: inherit;
}
.leaflet-draw-toolbar {
  margin-top: -2px !important;
}
.leaflet-draw-draw-polyline, .leaflet-draw-draw-polygon, .leaflet-draw-draw-rectangle, .leaflet-draw-draw-circle, .leaflet-draw-draw-marker, .leaflet-draw-draw-circlemarker, .btn-leaflet-custom, .leaflet-draw-edit-edit, .leaflet-draw-edit-remove {
  background-color: white !important;
}

.leaflet-popup-content-wrapper{
  border-radius: 0px !important;
}
.pop-up_draw label {
  font-size: 13px;
  color: #00838f;
  font-weight: bold;
}
.pop-up_draw table tr {
  border: none !important;
}
.pop-up_draw table td {
  padding: 5px 5px !important;
}

.leaflet-bottom.leaflet-right .leaflet-control {
  background-color: rgba(255, 255, 255, 0.9) !important;
  margin-right: 5px !important;
  margin-bottom: 5px !important;
}
