/* Custom styles for Mapbox popups */
.mapboxgl-popup {
    max-width: 300px;
}

.mapboxgl-popup-content {
    color: #4d40b2 !important;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.4;
    font-size: .8rem;
	border-radius: .24rem;
	padding:1rem;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.mapboxgl-popup-tip {
    border-bottom-color: #ffffff;
}

.mapboxgl-popup h3 {
    margin: 0 0 .667rem;
    font-size: 1rem;
    color: #4d40b2;
}

.mapboxgl-popup a {
    color: #4d40b2;
    text-decoration: underline;
    font-weight: bold;
}

.mapboxgl-popup a:hover {
    text-decoration: underline;
}

.headshot {
    border-radius: 100%;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 5rem auto;
    padding: 2.25rem 1.5rem 1rem;
    border: 1px solid #888;
    width: calc(100% - 3rem);
    max-width: 40rem;
    border-radius: 1rem;
}

.close-button {
    color: #4d40b2;
    float: right;
    font-size: 1.5rem;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
