/* mobile / base styles */
body.interactivemap-popup { overflow: hidden; }

.interactivemap {
	display: block;
	position: relative;
	overflow: hidden;
}
	.interactivemap .map-intro {
		display: block;
		padding: 25px 60px 25px 25px;
		position: relative;
		background-color: #fff;
		box-shadow: 5px 5px 9px rgba(0, 0, 0, 0.11);
		z-index: 2;
	}
		.interactivemap .map-intro::after {
			display: block;
			width: 52px;
			height: 100%;
			position: absolute;
			top: 0;
			right: 0;
			content: '';
			background-color: #008c98;
			/*
			background-image: url('/includes/public/assets/interactivemap/palm-icon.png');
			background-position: center center;
			background-repeat: no-repeat;
			*/
		}

		.interactivemap .map-intro h1 {
			margin: 0 0 10px;
			font-size: 21px;
			font-family: century-gothic, sans-serif;
			font-weight: bold;
			color: #444;
			cursor: default;
			letter-spacing: 1px;
			text-transform: uppercase;
		}

		.interactivemap .map-intro .description {
			font-family: century-gothic, sans-serif;
			font-size: 16px;
			color: #444;
			cursor: default;
			letter-spacing: 1px;
		}
			.interactivemap .map-intro .description p {
				margin-bottom: 0;
				font-family: inherit;
				font-size: inherit;
				color: inherit;
			}

	.interactivemap .map-container {
		position: relative;
	}

	.interactivemap .map-popups {
		display: block;
		width: 100%;
		position: fixed;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		z-index: 10;
		opacity: 0;
		pointer-events: none;
		transform: opacity 0.3s ease;
	}
		body.interactivemap-popup .interactivemap .map-popups {
			opacity: 1;
			pointer-events: all;
			transform: opacity 0.5s ease;
		}

		.interactivemap .map-popups .popup-slide {
			z-index: 8;
		}

		.interactivemap .map-popup {
			max-width: 90%;
			margin: 0 auto;
			position: relative;
			z-index: 12;
		}

		.interactivemap .map-popup .popup-head {
			padding: 10px;
			background-color: #008c98;
		}
			.interactivemap .map-popup .popup-head .palm-icon {
				display: inline-block;
				width: 35px;
				height: 34px;
				position: relative;
				top: 5px;
				left: 30px;
				content: '';
				/*
				background-image: url('/includes/public/assets/interactivemap/palm-icon.png');
				background-position: center center;
				background-repeat: no-repeat;
				*/
			}

			.interactivemap .map-popup .popup-head .title {
				display: inline-block;
				padding-left: 40px;
				position: relative;
				top: -3px;
				font-family: century-gothic, sans-serif;
				font-size:  26px;
				color: #fff;
				letter-spacing: 1px;
			}

			.interactivemap .map-popup .popup-head .closer {
				display: inline-block;
				width: 17px;
				height: 17px;
				padding: 20px;
				position: absolute;
				top: 11px;
				right: 10px;
				color: #fff;
				font-size: 20px;
				background-image: url('/includes/public/assets/shared/menu-close.png');
				background-position: center center;
				background-repeat: no-repeat;
			}

		.interactivemap .map-popup .popup-body {
			display: flex;
			flex-direction: column;
			padding: 40px 45px;
			background-color: #fff;
			text-align: center;
			max-height: 500px;
		}
			.interactivemap .map-popup .popup-body .image-container {
				margin: 0 auto;
			}

			.interactivemap .map-popup .popup-body .details-container {
				display: flex;
				flex-direction: column;
			}
				.interactivemap .map-popup .popup-body .details-container .title {
					display: block;
					font-family: century-gothic, sans-serif;
					font-size:  24px;
					font-weight: bold;
					color: #444;
				}

				.interactivemap .map-popup .popup-body .details-container .description {
					display: block;
					font-family: century-gothic, sans-serif;
					font-size: 18px;
					color: #444;
					overflow-y: auto;
				}
					.interactivemap .map-popup .popup-body .details-container .description p {
						font-family: inherit;
						font-size: inherit;
						color: inherit;
					}

					.interactivemap .map-popup .popup-body .details-container .description a.readmore {
						color: #444;
						font-weight: bold;
					}

				.interactivemap .map-popup .popup-body .details-container ul.links {
					margin: auto 0 0;
					list-style: none;
				}
					.interactivemap .map-popup .popup-body .details-container ul.links > li {
						display: inline-block;
					}
						.interactivemap .map-popup .popup-body .details-container ul.links > li:not(:last-child)::after {
							display: inline-block;
							padding: 0 2px;
							position: relative;
							content: '|';
							color: #008c98;
							font-family: century-gothic, sans-serif;
							font-size: 20px;
							font-weight: bold;
						}

						.interactivemap .map-popup .popup-body .details-container ul.links > li > a {
							display: inline-block;
							color: #008c98;
							font-family: century-gothic, sans-serif;
							font-size: 20px;
							font-weight: bold;
							letter-spacing: 1px;
						}

	.interactivemap .arrows {
		position: absolute;
		top: 50%;
		width: 100%;
	}
		.interactivemap .arrows .arrow {
			display: inline-block !important;
			position: absolute;
			top: 0;
			color: #008c98;
			font-size: 44px;
			line-height: 44px;
			text-align: center;
			z-index: 10;
			cursor: pointer;
		}
			.interactivemap .arrows .arrow.prev {
				left: 10px;
			}

			.interactivemap .arrows .arrow.next {
				right: 10px;
			}

	.interactivemap .shade {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0, 0, 0, 0.5);
		z-index: 9;
		cursor: pointer;
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.3s ease;
	}
		body.interactivemap-popup .interactivemap .shade {
			opacity: 1;
			pointer-events: all;
			transition: opacity 0.5s ease;
		}


/* tablet styles */
@media only screen and (min-width: 40.063em) {
	.interactivemap .map-intro h1 {
		font-size: 28px;
	}

	.interactivemap .map-intro .description {
		font-size: 18px;
	}

	.interactivemap .map-popup {
		max-width: 80%;
	}
		.interactivemap .map-popup .popup-body {
			display: flex;
			flex-direction: row;
			text-align: left;
		}

		.interactivemap .map-popup .popup-body .image-container {
			margin-right: 35px;
		}

		.interactivemap .map-popup .popup-body .details-container {
			display: flex;
			flex-direction: column;
			flex: 4;
		}
}

/* desktop styles */
@media only screen and (min-width: 64.063em) {
	.interactivemap .map-intro {
		max-width: 560px;
		position: absolute;
		top: 3%;
		right: 5%;
	}

	.interactivemap .map-popup {
		max-width: 900px;
	}

	.interactivemap .map-popup .popup-body .details-container ul.links > li:not(:last-child)::after {
		padding: 0 8px;
	}
}
