/* Google Maps Consent for Elementor */

.gmc-map {
	position: relative;
	overflow: hidden;
	height: 300px;
	background-color: #e8e6e1;
}

.gmc-map iframe {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.gmc-placeholder {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	box-sizing: border-box;
	padding: 16px;
	overflow: auto;
	background-color: #e8e6e1;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.gmc-placeholder[hidden] {
	display: none;
}

/* Tint over the placeholder image (color adjustable in the widget). */
.gmc-placeholder::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.25);
	pointer-events: none;
}

/* margin:auto centers the box and still scrolls cleanly when the map is very low. */
.gmc-overlay {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: 100%;
	max-width: 440px;
	margin: auto;
	padding: 20px 24px;
	border-radius: 8px;
	background-color: rgba(255, 255, 255, 0.95);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	text-align: center;
}

.gmc-text {
	color: #222;
	font-size: 14px;
	line-height: 1.5;
}

.gmc-text p {
	margin: 0 0 0.75em;
}

.gmc-text > :last-child {
	margin-bottom: 0;
}

.gmc-text a {
	color: inherit;
	text-decoration: underline;
}

/* Two classes deep so theme button styles (e.g. Hello Elementor) don't win. */
.gmc-map .gmc-button {
	display: inline-block;
	margin-top: 14px;
	padding: 10px 22px;
	border: 0;
	border-radius: 4px;
	background-color: #1f1f1f;
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}

.gmc-map .gmc-button:hover,
.gmc-map .gmc-button:focus-visible {
	background-color: #444;
	color: #fff;
}

.gmc-map .gmc-button:focus-visible {
	outline: 2px solid #1a73e8;
	outline-offset: 2px;
}

/* Consent already stored: hide the box right away while the map loads. */
html.gmc-consented body:not(.elementor-editor-active) .gmc-overlay {
	visibility: hidden;
}

.gmc-reset-status:empty {
	display: none;
}
