.half-map-text__text,
.half-map-text__map {
	width: 100%;
}

.half-map-text__text {
	padding: 65px 22px 40px;
	display: flex;
	align-items: center;
}

.fx-location__map {
	height: 209px;
}

.half-map-text__text__flex {
	position: relative;
	z-index: 1;
}

.half-map-text__text__flex::before {
	content: "";
	position: absolute;
	background: #777;
	z-index: -1;
	width: 100%;
	height: 1px;
	left: 0;
	bottom: 2px;
}

.js-map-for {
	padding-top: 25px;
}

.map-for h4 {
	font-size: 17px;
	line-height: 1.3em;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.map-search {
	position: relative;
	width: 290px;
	margin-bottom: 25px;
}

.map-content__buttons {
	display: flex;
	gap: 20px;
	align-items: center;
}

input.wpcm-zip__submit {
	font-size: 0;
	width: 22px;
	height: 22px;
	border: none;
	transition: all ease-in .3s;
	background-color: var(--color-white);
	background-repeat: no-repeat;
	background-position: center;
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHZSURBVHgBrZTdUcJAEMd3lxnHJ70SYgEy8cWPN61AOxArUCsAOoAKhA60AuIT8mSkAVNChhd9YLLuXg7BcAlh8D8TuOT2frd3+4FQ0LsJzRdkLWK8BuBQPhl5UgCMkTnKiIYXaZzABuHqy8Qc3zDjk4OVL2LonM2m3VrgyUGzzQgd9zll5D4BxXOAhGQjBgiJ+V5OEVgTxsH57OOuEjw2xy3MPRV7GO4DPZykcepbMDbNjnjczuHQO59NH0vBb4fNT/kLNnnhgzPSldx5VLQh9dZCARMm7EINXaTTjthHuWfZjc+GkOnWjhiiOtFeCDHru3W3XrBLKRBvh7CF9qARuaEZmzDwgPPUathcra9CcAMf2BrMPZNV0kJajH1OkVaUDiQIIWyhb8nrxfg0jeM1sBTCqwWXBKFMCGztM4QX3zxJMfQgP0qg1Qc1pKUPzK18A7t+HWyDgGTzV0t6E1wy4NL1E8Um8pP47HC5oDlYuY5Ye8U+NJ51Yw2U3ql0N9mULwuMxFVf4gU7+LIPVArl6thUwWnVXEtVDI60EeWLCzDESAGMeOKuYaEAORutFgpChZyhPknxqDonVzP6baMFzyvBm1QF3wlcAY93BpfA038B/4VLU0Pu/gDCCtmyoGp2GAAAAABJRU5ErkJggg==");
}

input.wpcm-zip__submit:hover {
	 filter: grayscale(1);
}

.input-field.input-field--submit {
	position: absolute;
	right: 15px;
	top: 5px;
}

.input-field.input-field--zip {
	padding: 0;
}

input.wpcm-zip__zipcode {
	border: 1px solid #ddd;
	background: var(--color-white);
	padding-right: 50px;
}

.map-search input::placeholder {
	color: #000;
	opacity: 1;
}

.map-search button {
	margin: 0;
	padding: 0;
	background: none;
	border: none;
	color: var(--primary-color);
	font-size: 22px;
	line-height: 1em;
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translate(0, -50%);
}

.map-for h5 {
	color: var(--color-black);
	font-size: 30px;
	margin-bottom: 15px;
}

.map-for .btn-tertiary {
	color: var(--color-black);
}

.map-for .btn-tertiary::after {
	color: var(--primary-color);
}

.map-for .btn-tertiary::before {
	height: 20px;
}

.map-content__image {
	height: 230px;
	position: relative;
}

.map-content__image::before {
	content: "";
	position: absolute;
	width: 100%;
	top: -1px;
	left: 0;
	height: 26px;
	background: var(--color-pink-tint);
	clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.map-logo {
	padding: 13px 22px 10px;
	background: var(--color-pink-tint);
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px 35px;
	position: relative;
	z-index: 1;

	img {
		max-width: 160px;
	}
}

@media (max-width: 600px) {
	.map-logo img {
		max-width: 140px;
	}

	.map-content__image {
		display: none;
	}
}

.map-top {
	padding: 45px 22px 18px;
	background: var(--color-white);
	box-shadow: 0 4px 17.2px 0 rgba(0, 0, 0, 0.25);
	position: relative;
	z-index: 1;
	margin-top: -16px;
}

.map-top h4 {
	color: var(--primary-color);
	font-size: 30px;
	margin-bottom: 0;
	margin-top: 0;
	line-height: 1;
}

.map-location,
.map-time {
	font-size: 18px;
	color: var(--color-black);
}

.map-location {
	max-width: 225px;
}

@media (min-width: 600px) {
	.map-location {
		max-width: 195px;
	}	
}

.map-location,
.map-time {
	font-size: 18px;
}

.map-time span {
	font-family: var(--title-font-family);
}

.map-time a {
	color: var(--primary-color);
	display: block;
}

.map-content__flex {
	margin-bottom: 25px;
	font-family: var(--body-font-family);
	max-width: 503px;
	margin-top: 23px;
	display: flex;
	flex-direction: column;
	gap: 27px;
}

.map-content__flex + .map-content__buttons {
	margin-top: 23px;
}

.map-results__list {
	padding-left: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.map-results__item {
	margin-bottom: 12px;
}

.gm-style-iw.gm-style-iw-c {
	border-radius: 0;
	background-color: none;
	box-shadow: 0 4px 17.2px 0 rgba(0, 0, 0, 0.25);
	border: none;
	padding: 0;
	margin: 0;
	max-width: min(858px, 95vw)!important;
	width: 100%;
	z-index: 9999999999;
}

.gm-style-iw-ch {
	display: none;
}

.gm-ui-hover-effect {
	position: absolute !important;
	right: 5px !important;
	z-index: 9999;
}

.gm-style .gm-style-iw-d {
	max-height: initial !important;
	padding: 0 !important;
	overflow: auto !important;
}

.gm-style .gm-style-mtc ul {
    width: 120px;
}

.gm-style .gm-style-mtc li {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 5px 8px 2px 5px!important;
}

.gm-style .gm-style-mtc label {
    margin-bottom: 1.5px;
}

.btn-link--map {
	margin-top: 16px;
	font-size: 80%;

	&:after {
		display: none;
	}

	&:before {
		background: rgb(0 0 0 / 15%);
	}
}

.map-loading__spinner {
	width: 30px;
	height: 30px;
	border: 3px solid #ccc;
	border-top-color: var(--primary-color);
	border-radius: 50%;
	animation: mapSpin 0.8s linear infinite;
	margin: 0;
}

.map-content.no-image {
    .map-top, .map-logo {
		padding-right: 33px;
	}
}

.half-map-text__map__wrapper {
	position: relative;
	height: 868px;

	ul li:before {
		display: none;
	}
}

@keyframes mapSpin {
	to {
		transform: rotate(360deg);
	}
}

@media (min-width: 768px) {
	.half-map-text__text {
		padding: 80px 52px 40px;
	}

	.half-map-text__text__wrapper {
		width: 599px;
	}

	.half-map-text__text__wrapper h2 {
		padding-right: 100px;
	}

	.fx-location__map {
		height: 724px;
	}

	.half-map-text__text__flex {
		display: flex;
		align-items: center;
	}

	.map-text-left {
		width: 78px;
	}

	.map-text-right {
		width: calc(100% - 78px);
	}

	.half-map-text__map__wrapper {
		height: 724px;
	}

	.map-content__image {
		height: 100%;
		position: absolute;
		top: 0;
		right: 0;
		z-index: 1;
		width: 207px;
	}

	.map-content__image img {
		clip-path: polygon(15% 0%, 100% 0, 100% 100%, 0% 100%);
		position: absolute;
		top: 0;
	}

	.map-content__image::before {
		display: none;
	}

	.map-logo {
		padding: 20px 232px 20px 32px;
		gap: 20px 35px;
	}

	.map-content__flex {
		margin-bottom: 10px;
		display: flex;
		flex-wrap: nowrap;
		justify-content: space-between;
		align-items: self-start;
		gap: 24px;
		flex-direction: row;
	}

	.map-top {
		padding: 30px 232px 20px 32px;
		box-shadow: none;
		margin: 0;
	}

	.map-content__text {
		position: relative;
	}
}

@media (min-width: 1200px) {
	.gm-style-iw.gm-style-iw-c {
		max-width: min(858px, 48vw)!important;
	}
	
	.half-map-text__text,
	.half-map-text__map {
		width: 50%;
	}

	.half-map-text__text {
		padding: 168px 32px 176px 63px;
	}

	.half-map-text__text__wrapper {
		width: 100%;
		max-width: 617px;
		margin-left: auto;
	}

	.half-map-text__text__wrapper h2 {
		padding-right: 0;
		max-width: 280px;
	}

	.fx-location__map {
		height: 100%;
	}

	.half-map-text__map__wrapper {
		height: 998px;
	}

	.home .half-map-text__map__wrapper {
		height: 864px;
	}

	.map-location p,
	.map-time p {
		font-size: 15px;
	}

	.map-time a:hover {
		color: #000;
		background: none;
	}
}

@media (min-width: 1600px) {
	.map-location p,
	.map-time p {
		font-size: 18px;
	}

	.map-content__flex {
		gap: 54px;
	}

	.map-content__image {
		width: 291px;
	}

	.map-top {
		padding: 38px 320px 38px 33px;
	}

	.map-top h4 {
		font-size: 34px;
	}

	.map-logo {
		padding: 21px 320px 33px 33px;
		gap: 20px 20px;
	}
}
