.leaflet-control-center-scale {
    position: absolute;
    left: 80% !important;
    transform: translate(-50, 0%); /* Center horizontally and vertically */
    z-index: 1000; /* Ensure it's above other map elements */
}


* {
	margin:0;
    padding:0;
}

#map {
    position:absolute;
    top:40px;
    bottom:0;
    width:100%;
}

/*Legend specific*/

.legend {
  padding: 6px 8px;
  font: 12px Arial, Helvetica, sans-serif;
  background: white;
  background: rgba(255, 255, 255, 1);
  line-height: 24px;
  color: #555;
}


.legend h4 {
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  margin: 2px 12px 8px;
  color: #777;
}

.legend span {
  position: relative;
  bottom: 3px;
  color: #777;
}

.legend i {
  width: 18px;
  height: 18px;
  float: left;
  margin: 0 8px 0 0;
  opacity: 1;
}

.legend i.icon {
  background-size: 18px;
  background-color: rgba(255, 255, 255, 1);
}

.legend .circle {
  border-radius: 50%;
  
  width: 18px;
  height: 18px;
  opacity: 1;
}





/*  Die chart style probeerslag   */
.leaflet-control-container .chart_mine {
  background-color: rgba(255, 255, 255, 1);
  padding: 10px;
  border-radius: 5px;
}



/*EasyBar specific*/
#EasyBar1 {
    z-index: 1000;

}
#EasyBar1 button{
    width : 50px;
    height: 25px;
    font-family: arial;
    font-weight: bold;
    font-size: 10px;
    display: inline-block;
    border-radius: 1px;
    border:1px solid #e7e7e7;
  }
#EasyBar2 {
    z-index: 1000;

}
#EasyBar2 button{
    width : 50px;
    height: 25px;
    font-family: arial;
    font-weight: bold;
    font-size: 10px;
    display: inline-block;
    border-radius: 1px;
    border:1px solid #e7e7e7;
  }  
.leaflet-container.pointer-cursor-enabled {
  cursor: default;
}


#autocomplete {
	z-index: 100;
    margin-bottom: 5px;
}



.topnav {
	background-color: rgba(255, 255, 255, 0.5);
	position: fixed;
	width: 100%;
	height: 40px;
	display: flex;
	align-items: center;
	box-shadow: 0 0 25px 0 black;
	z-index: 10000;
}

.topnav img {
	height: 35px;
	margin-left: 40px;
	display: flex;         /* sit die logos mooi in middel verticvally */
}

.topnav * {
	display: inline;
}

.topnav-right li{    /* hierdie is vir die logged in nav bar */
	float: right;
	margin-right: 40px;
	font-size: 18px;
	font-family: Calibri;
}

.topnav-right {
	display:inline-block;
	width: 100%;
}




.customPopup .leaflet-popup-content-wrapper {
	font-size: 12px;
	font-weight: bold;
	color: black;
	border-radius: 20px;
	width: auto;
	background: rgba(150, 250, 150, 0.9);
	border: none !important;
	margin-top: 0;
	margin-bottom: 0;
	
}
.customPopup .leaflet-popup-tip {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.customPopup .leaflet-popup-close-button {
   display: none; 
}






.line {
  height: 2px;
  background: linear-gradient(to right, transparent 50%, #618da6 50%);
  background-size: 16px 2px, 100% 2px;
}

.lineTemperature {
  height: 2px;
  background: linear-gradient(to right, transparent 50%, #3366ff 50%);
  background-size: 16px 2px, 100% 2px;
}

.lineTemperature2 {
  height: 2px;
  background: #ff9933;
}

.lineTemperature3 {
  height: 2px;
  background: linear-gradient(to right, transparent 50%, #ff3300 50%);
  background-size: 16px 2px, 100% 2px;
}


.leaflet-tooltip-top.ownTowns:before {   /*hierdie is vir die wit arrow, afhangende watter kant die label se position is */
    border-top-color: rgba(0, 0, 0, 0);
    }
.leaflet-tooltip-right.ownTowns:before {   /*hierdie is vir die wit arrow, afhangende watter kant die label se position is */
    border-right-color: rgba(0, 0, 0, 0);
    }
.leaflet-tooltip.ownTowns {   /*die ownTowns is my eie classname in die script, en dis hoe dit gebruik word */
	font-size: 14px;
    position: absolute;
    padding: 2px;
    background-color: rgba(0, 0, 0, 0);
    border: 0px solid #000;
    color: #000;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0);
}



.leaflet-tooltip-right.ownRain:before {   /*hierdie is vir die wit arrow, afhangende watter kant die label se position is */
    border-right-color: rgba(255, 255, 255, 0.5);
    }
.leaflet-tooltip.ownRain {   /*die ownRain is my eie classname in die script, en dis hoe dit gebruik word */
	font-size: 12px;
    position: absolute;
    padding: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 0px solid #000;
    color: #000;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    box-shadow: 0 1px 3px rgba(0,0,0,1);
}
