

/* Limit the width of the layer-switcher */
.layer-switcher {
  max-width: 300px;
}
.mousePosition{
  position: fixed;
  top:auto;
  right: auto;
  bottom: 5px;
  left:50%;
  transform: translateX(-50%);
  border: 1px solid #cccccc;
  padding: 5px;
}
.ol-popup{
  position: absolute;
  background-color: white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  padding: 15px;
  border-radius: 10px;
  border:1px solid #cccccc;
  bottom: 12px;
  left:-500px;
  min-width: 280px;


}
.ol-popup:after, .ol-popup:before {
 top:100%;
  border:solid transparent;
  content: "";
  height: 0;
  width: 0;
  position :absolute;
  pointer-events: none;
}
.ol-popup:after{
  border-top-color: white;
  border-width: 10px;
  left:48px;
  margin-left:-10px;
}
.ol-popup:after{
  border-top-color: #cccccc;
  border-width: 11px;
  left:48px;
  margin-left:-11px;
}
.ol-popup-closer{
  text-decoration: none;
  position: absolute;
  top:2px;
  right: 8px;
}
.ol-popup-closer:after{
  content: 'X';
}

/* barre de navigation */
.accueilbtn{
  background-color: rgba(22,85,167,0.6);
  color: white;
  font-weight:bold ;
  height: 25px;
  /*width: 25px;*/
  border-radius: 2px;
  border: none;
  align-items: center;
}
.accueilbtn:hover{
  background-color: rgba(0,60,136,1);
}
.accueilbtn.cliked{
  background-color: rgba(22,170,35,0.8);
}

.accueilbtn.cliked:hover{  background-color: rgba(22,170,35,1);
}
.homebutton{
  position: relative;
  display: block;
  margin: 10px auto auto 10px ;
}

.featureInfoDiv .lengthButtonDiv .areaButtonDiv{
  position: relative;
  display: block;
  margin: 1px auto auto 10px;
}
.ol-tooltip{
  position: relative;
  background-color: rgba(0,0,0,0.5);
  border-radius: 4px;
  color: white;
  padding: 4px 8px;
  opacity: 0.7;
  white-space: nowrap;
  font-size: 12px;
}

.ol-tooltip-measure{
  opacity: 1;
  font-weight: bold;
}
.ol-tooltip-static{
  background-color: #ffcc33;
  color: black;
  border: 1px solid white;
}
.ol-tooltip-measure:before .ol-tooltip-static:before{
  border-top: 6px solid rgba(0,0,0,0.5);
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  content: "";
  position: absolute;
  bottom: -6px;
  margin-left: -7px;
  left:50%;
}

.ol-tooltip-static:before{background-color: #ffcc33;}
