/*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-player {
    order: 1;
    position: relative; left: -50%;
    background-color: #e00;
    white-space: default;
    color: #fff;
    border-radius: 5px;
    border-width: 2px;
    border-style: solid;
    border-color: #222222;
    padding: 3px;
    white-space: nowrap;
  }

  .map-label-content-playeroffline {
    order: 1;
    position: relative; left: -50%;
    background-color: #fff;
    border-radius: 5px;
    border-width: 3px;
    border-style: solid;
    border-color: #e00;
    padding: 3px;
    white-space: nowrap;
  }

  .map-label-arrow-playeroffline {
    order: 2;
    width: 0px; height: 0px; left: 50%;
    border-style: solid;
    border-color: #e00 transparent transparent transparent;
    border-width: 10px 6px 0 6px; /*[first number is height, second/fourth are rigth/left width]*/
    margin-left: -6px;
  }

  .map-label-content-hostile {
    order: 1;
    position: relative; left: -50%;
    background-color: rgb(47, 163, 240);
    white-space: default;
    color: #fff;
    border-radius: 50px;
    border-width: 2px;
    border-style: solid;
    border-color: #222222;
    padding: 3px;
    white-space: nowrap;
  }

  .map-label-content-animal {
    order: 1;
    position: relative; left: -50%;
    background-color: rgb(250, 176, 66);
    white-space: default;
    color: #fff;
    border-radius: 50px;
    border-width: 2px;
    border-style: solid;
    border-color: #222222;
    padding: 3px;
    white-space: nowrap;
  }

  .map-label-content-vehicle {
    order: 1;
    position: relative; left: -50%;
    background-color: rgb(233, 82, 253);
    white-space: default;
    color: #fff;
    border-radius: 50px;
    border-width: 2px;
    border-style: solid;
    border-color: #222222;
    padding: 3px;
    white-space: nowrap;
  }

  /*Add this arrow*/
  .map-label-arrow {
    order: 2;
    width: 0px; height: 0px; left: 50%;
    border-style: solid;
    border-color: #222222 transparent transparent transparent;
    border-width: 10px 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: #e00;
  }
  .map-label.redborder > .map-label-arrow {
    border-top-color: #e00;
  }
  
  .map-label.redbackground > .map-label-content {
    white-space: default;
    color: #fff;
    background-color: #e00;
  }

  .playerDetailButton {
    cursor: pointer;
  }

  .playerKickButton {
    cursor: pointer;
  }

  .map-drawer {
    cursor: crosshair;
  }