.institution-map {
    min-height: 520px;
}

.institution-map__canvas {
    min-height: 520px;
}

.institution-map__cities {
    max-height: 520px;
    overflow-y: auto;
}

.institution-map__city-items .list-group-item {
    padding-left: 1.5rem;
    border-right: 0;
    border-left: 0;
    font-size: .875rem;
}

.institution-map__institution--selected {
    font-weight: bold;
}

.institution-map__marker {
    width: 30px;
    height: 30px;
    padding: 0;
    color: #fff;
    border: 3px solid #fff;
    background: var(--primary, #7d283b);
    border-radius: 50%;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .35);
    cursor: pointer;
    font-size: .625rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    transform: translate(-50%, -50%);
}

.institution-map__marker:hover,
.institution-map__marker:focus {
    background: #5b1d2b;
}

.institution-map__cluster {
    width: 40px;
    height: 40px;
    padding: 0;
    color: #fff;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--primary, #7d283b);
    box-shadow: 0 1px 5px rgba(0, 0, 0, .35);
    cursor: pointer;
    font-weight: 700;
    transform: translate(-50%, -50%);
}

.marker {
    background-color: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    font-weight:bold ;
    text-align: center;
    cursor: pointer;
    transform: translate(-50%, -118%);
    min-width: 260px;
    line-height: 1.3;
}
.marker::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid var(--primary);
}

.marker a {
    color: inherit;
    font-weight: 600;
    text-decoration: none;
}
.marker a:hover {
    color: inherit;
}
.institution-map__popup-close {
    position: absolute;
    top: .25rem;
    right: .5rem;
    padding: 0;
    color: white;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
}

@media (max-width: 991.98px) {
    .institution-map,
    .institution-map__canvas {
        min-height: 420px;
    }

    .institution-map__cities {
        max-height: none;
    }
}
