#map {
    height: 100%;
    min-height: 360px;
  }

:root {
    --icon-color: red;
}

/*
* Property styles in unhighlighted state.
*/
#map .haendler {
    align-items: center;
    background-color: var(--icon-color);
    border-radius: 50%;
    color: #263238;
    display: flex;
    font-size: 14px;
    gap: 15px;
    height: 30px;
    justify-content: center;
    padding: 4px;
    position: relative;
    transition: all 0.3s ease-out;
    width: 30px;
    border: solid 1px #FFFFFF;
}

#map  .haendler::after {
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 9px solid var(--icon-color);
    content: "";
    height: 0;
    left: 50%;
    position: absolute;
    top: 95%;
    transform: translate(-50%, 0);
    transition: all 0.3s ease-out;
    width: 0;
    z-index: 1;
}

#map .haendler .icon {
    align-items: center;
    display: flex;
    justify-content: center;
    background-color: #FFFFFF;
    border-radius: 50%;
    height: 20px;
    width: 20px;
}

#map .haendler .details {
    display: none;
    flex-direction: column;
    flex: 1;
}

#map .haendler .address {
    color: #9E9E9E;
    font-size: 10px;
    margin-bottom: 10px;
    margin-top: 5px;
}

#map .haendler img {
    width: 0px;
}

/*
* Property styles in highlighted state.
*/
#map .haendler.highlight {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.2);
    height: 80px;
    padding: 8px 15px;
    width: auto;
}

#map .haendler.highlight img {
    width: 40px;
}

#map .haendler.highlight::after {
    border-top: 9px solid #FFFFFF;
}

#map .haendler.highlight .details {
    display: flex;
}