.jm-addresses-article {
	padding: 0;
	background-color: #fff;
}

.jm-addresses {
	position: relative;
	max-width: 98%;
	margin: -3em auto 0;
	padding: 2em;
	z-index: 10;
	border: 1px solid #ccc;
	background-color: #fff;
}

.jm-address h3 {
	font-size: 1em;
	font-weight: bold;
}

.jm-address p {
	margin-bottom: 0;
}

.jm-address img {
	width: 100%;
	height: auto;
}

#map-canvas {
	width: 100%;
	height: 300px;
}

/** Photo cover **/
.jm-photoCover {
    width: 100%;
    height: 15rem;
    background-color: var(--baseLight500);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/** min-WIDTHS */
@media screen and (min-width: 768px) {
	.jm-addresses {
		margin-top: -5em;
	}

	.jm-address {
		display: inline-block;
		vertical-align: top;
		width: 30%;
	}

	.jm-address + .jm-address {
		margin-left: 4%;
	}

    .jm-photoCover {
        height: 20rem;
    }
}

@media screen and (min-width: 1280px) {
	.jm-addresses {
		max-width: 70%;
	}

    .jm-photoCover {
        height: 30rem;
    }
}

@media screen and (min-width: 1680px) {
	.jm-addresses {
		max-width: 60%;
	}
}

/** min-HEIGHTS */
@media screen and (min-height: 600px) {
	#map-canvas {
		height: 400px;
	}
}

@media screen and (min-height: 800px) {
	#map-canvas {
		height: 500px;
	}
}

@media screen and (min-height: 1000px) {
	#map-canvas {
		height: 600px;
	}
}

/** MAX-widths */
@media screen and (max-width: 767px) {
	.jm-address + .jm-address {
		margin-top: 1em;
	}
}
