/* ============================================
   Interactive Map
   ============================================ */

.interactive-map {
    position: relative;
}

a.map-point {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 15%;
    height: 12%;
    border-radius: 50%;
	z-index: 2;
}

a.map-point > span.map-title {
    background-color: #003087;
    color: #fff;
    text-transform: uppercase;
    padding: 0.75rem;
    font-size: 0.75em;
    font-weight: 700;
    display: none;
    position: absolute;
    top: -50%;
    left: 50%;
    /* transform: translateY(-30%); */
    width: auto;
    white-space: nowrap;
}

a.map-point::before {
    content: '';
    width: 6px;
    height: 76%;
    position: absolute;
    background-color: #003087;
    left: 50%;
    transform: translateY(-50%);
    display: none;
}

a.map-point:hover > span.map-title,
a.map-point:hover::before {
    display: block;
}

a.map-point:hover {
    z-index: 5;
}

.map-content-item {
    position: absolute;
    bottom: 10%;
    width: 600px;
    padding: 2rem;
    max-width: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #003087;
    color: #fff;
    display: none;
}

.map-content-item.show {
    display: block;
}

.map-modal.modal-body {
    padding: 3rem;
}

.modal-md {
    width: 95%;
    max-width: 750px;
}

img.map-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    background-color: #fff;
    border-radius: 50%;
    padding: 4px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
    z-index: 3;
}

figure.map-wrapper {
    position: relative;
    overflow: hidden;
    display: flex;
    padding-top: 67%;
    margin: 0;
}

figure.map-wrapper > img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-height: 100%;
    min-width: 100%;
    height: auto;
    width: auto;
    object-fit: cover;
}

@media screen and (min-width: 992px) {
    a.map-point > span.map-title {
        font-size: 1em;
    }
}
@media screen and (max-width: 992px) {
	a.map-point > span.map-title {
		transform: translateY(-35px);
	}
}
@media screen and (max-width: 768px) {
	img.map-icon {
		width: 30px;
	}
}
/* ============================================
   Services Diagram Callout
   ============================================ */

#services-diagram-callout{
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
    padding: 3rem;
	margin-top: 3rem;
	margin-bottom: 3rem;
}

#services-diagram-callout figure {
	margin-bottom: 0;
}

a.map-point:focus {
	outline: none;
}

.map-modal .close {
	opacity: 1;
}