:root {
    --marker-color: #0288D1;
    --marker-red-color: #FF0000;
    --marker-green-color: #FF0000;
    --marker-yellow-color: orange;
}

/*
 * map-mark styles in un-highlighted state.
 */
.map-mark {
    align-items: center;
    background-color: #FFFFFF;
    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;
}

.map-mark::after {
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 9px solid #FFFFFF;
    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-mark .icon {
    align-items: center;
    display: flex;
    justify-content: center;
    color: #FFFFFF;
}

.map-mark .icon i {
    height: 20px;
    width: auto;
}

.map-mark .details {
    display: none;
    flex-direction: column;
    flex: 1;
}

.map-mark .address {
    color: #9E9E9E;
    font-size: 10px;
    margin-bottom: 10px;
    margin-top: 5px;
}

.map-mark .features {
    align-items: flex-end;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.map-mark .features > div {
    align-items: center;
    background: #F5F5F5;
    border-radius: 5px;
    border: 1px solid #ccc;
    display: flex;
    font-size: 10px;
    gap: 5px;
    padding: 5px;
}

/*
 * map-mark styles in highlighted state.
 */
.map-mark.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-mark.highlight::after {
    border-top: 9px solid #FFFFFF;
}

.map-mark.highlight .details {
    display: flex;
}

.map-mark.highlight .icon i {
    width: 50px;
    height: 50px;
}

.map-mark .bed {
    color: #FFA000;
}

.map-mark .bath {
    color: #03A9F4;
}

.map-mark .time {
    color: #388E3C;
}

/*
 * marker icon colors.
 */
.map-mark.highlight:has(.bx) .icon {
    color: var(--marker-color);
    font-size: 3rem !important;
}

.map-mark:not(.highlight):has(.bx) {
    background-color: var(--marker-color);
    font-size: 1.5rem !important;
}

.map-mark:not(.highlight):has(.bx)::after {
    border-top: 9px solid var(--marker-color);
}


/*
 * marker red icon colors.
 */
.map-mark.red.highlight:has(.bx) .icon {
    color: var(--marker-red-color);
    font-size: 3rem !important;
}

.map-mark.red:not(.highlight):has(.bx) {
    background-color: var(--marker-red-color);
    font-size: 1.5rem !important;
}

.map-mark.red:not(.highlight):has(.bx)::after {
    border-top: 9px solid var(--marker-red-color);
}


 /*
 * marker red icon colors.
 */
    .map-mark.yellow.highlight:has(.bx) .icon {
        color: var(--marker-yellow-color);
        font-size: 3rem !important;
    }

    .map-mark.yellow:not(.highlight):has(.bx) {
        background-color: var(--marker-yellow-color);
        font-size: 1.5rem !important;
    }

        .map-mark.yellow:not(.highlight):has(.bx)::after {
            border-top: 9px solid var(--marker-yellow-color);
        }

/* Circle marker */
.circle-marker {
    width: 30px;
    height: 30px;
    background-color: hotpink;
    color: white;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}