.custom-map-section {
    margin: 64px 0;
}

.custom-map-section .map-title {
    margin-top: 0;
    margin-bottom: 20px;
}

.hart-wrapper__action {
    position: relative;
    margin-bottom: 30px;
}

#map-search-result-message {
    position: absolute;
    left: 0;
    border-bottom: 0;
    padding-bottom: 20px;
    margin: 0;
    font-size: 12px;
}

.custom-map-section__wrapper {
    display: flex;
    align-items: flex-start;
    column-gap: 40px;
    justify-content: space-between;
}

#all-points-highcharts-map {
    display: block;
    width: 100%;
    border-radius: 3px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    background: #fff;
    position: relative;
}

.custom-map-section__wrapper *:hover {
    cursor: pointer !important;
}
#all-points-highcharts-map:hover {
    cursor: pointer !important;
}

#all-points-highcharts-map .highcharts-markers:hover {
    cursor: pointer;
}

.custom-map-section__wrapper ul {
    padding: 0;
    margin: 0;
}

.custom-map-section__left {
    display: flex;
    flex-direction: column;
    row-gap: 24px;
    max-height: 560px;
    overflow-y: auto;
}

.custom-map-section__wrapper ul:hover {
    cursor: pointer;
}

.custom-map-section__wrapper ul li:first-child {
    padding-top: 0;
}

.custom-map-section__wrapper ul li {
    list-style: none;
    padding: 8px;
    font-size: 12px;
    font-family: "Avenir-Heavy", sans-serif;
    border-bottom: 1px solid #eeeeee;
    color: #0078A8;
    transition: 0.3s ease;
}

.custom-map-section__wrapper ul li:hover {
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s ease;
}

.highcharts-map-navigation {
    display: none;
}

g.highcharts-series-group {
    position: relative;
}

.hart-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.point-modal {
    visibility: hidden;
    position: absolute;
    padding: 12px;
    background-color: white;
    max-width: 280px;
    width: 280px;
    box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
    z-index: 9;
    display: flex;
    align-items: center;
    min-height: 92px;
}

.point-modal__arrow {
    position: absolute;
    bottom: -8px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
    transform: translateX(-50%);
}

.point-modal p {
    color: #085B8D;
    font-weight: 500;
    margin-bottom: 0;
    margin-top: 0;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.highcharts-markers {
    cursor: pointer;
}

#map-search {
    width: 100%;
    height: 40px;
    padding-left: 12px;
    font-size: 16px;
}

#map-search:focus {
    outline-color: #0078A8;
}

@media only screen and (max-width: 1025px) {
    .custom-map-section__wrapper {
        flex-direction: column-reverse;
        align-items: flex-start;
        row-gap: 36px;
    }

    .custom-map-section {
        overflow: hidden;
    }
}

@media (min-width: 600px) and (max-width: 1025px) {
    .hart-wrapper {
        max-width: 100%;
    }
}

@media only screen and (max-width: 568px) {

    .point-modal p {
        font-size: 10px;
        line-height: 12px;
    }

    .point-modal {
        padding: 10px;
        max-width: 170px;
        min-height: 56px;
    }
}

/* Leaflet Modal Fixes */
#all-points-highcharts-map {
	position: relative;
	z-index: 1;
}

#point-modal {
	position: absolute;
	z-index: 9999;
	visibility: hidden; /* ascuns implicit */
	/* NU pune display:none aici */

	background: #fff;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0,0,0,.15);
	padding: 10px;
}

.point-modal__arrow {
	position: absolute;
	width: 0;
	height: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid #fff;
	bottom: -6px;
}