/*Wraperclass for the divicon*/
.map-label {
    position: absolute;
    bottom: 0;left: -50%;
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  /*Wrap the content of the divicon (text) in this class*/
  .map-label-content {
    order: 1;
    position: relative; left: -50%;
    background-color: #fff;
    border-radius: 5px;
    border-width: 2px;
    border-style: solid;
    border-color: maroon;
    color: maroon;
    padding: 3px;
    white-space: nowrap;
    font-size: 12px;
    opacity: 1;
  }

  .map-label-project {
    order: 1;
    position: relative; left: -50%;
    background-color: #e8d6c2;
    border-radius: 5px;
    border-width: 2px;
    border-style: solid;
    border-color: maroon;
    padding: 3px;
    white-space: nowrap;
    font-size: 15px;
    opacity: 1;
  }


  /*Add this arrow*/
  .map-label-arrow {
    order: 2;
    width: 0px; height: 0px; left: 50%;
    border-style: solid;
    border-color: maroon transparent transparent transparent;
    border-width: 30px 6px 0 6px; /*[first number is height, second/fourth are rigth/left width]*/
    margin-left: -6px;
  }
  
  /*Instance classes*/
  .map-label.inactive {
    opacity: 0.5;
  }
  
  .map-label.redborder > .map-label-content {
    border-color: maroon;
  }
  .map-label.redborder > .map-label-arrow {
    border-top-color: maroon;
  }
  
  .map-label.redbackground > .map-label-content {
    white-space: default;
    color: #fff;
    background-color: maroon;
  }


  .map-label.blackborder > .map-label-content {
    border-color: maroon;
  }
  .map-label.blackborder > .map-label-arrow {
    border-top-color: maroon
  }

  
