/***********************************************
Location Nav
***********************************************/

.location-nav {
	width: 100%;
	padding: em(20);
	border-top: solid 1px $red;
	position: relative;
	margin-top: em(30);

	&:before, &:after {
		@extend %pseudos;
		top: 0;
		width: 1px;
		height: em(20);
		background-color: $red;
	}
	&:before {
		left: 0;
	}
	&:after {
		right: 0;
	}
 
	@media screen and (min-width: $bp-tablet) {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		flex-direction: row;
		max-width: 950px;
		padding: em(25);
		margin-top: em(60);
		padding-bottom: 25px;
	}

	@media screen and (min-width: $bp-tablet) and (max-height: 600px) {
		padding-bottom: 0;
	}
}
.location-nav__item {
	list-style: none;
	display: block;

	> a {
		display: block;
		position: relative;
		font-size: $font-micro;
		color: $color-primary;
		text-transform: uppercase;
		padding: em(20) 0;
		width: 100%;
		border-bottom: $border-default;

		&:before {
			@extend %pseudos;
			width: 6px;
			height: 10px;
			left: -11px;
			top: em(22);
			background: url(../img/icon-triangle.png) no-repeat;
			background-size: cover;
		}
	}
	
	@media screen and (min-width: $bp-tablet) {
		> a {
			border-bottom: 0;
			&:before {
				display: none;
			}
		}

		&:first-of-type {
			margin-left: 10px;
		}
		&:after {
			content: '';
			width: 1px;
			height: 25px;
			margin: 0 auto;
			background-color: $red;
			// display: block;
			display: none;
			margin-top: 5px;
			transform: scaleY(0);
			transform-origin: top;
			transition: transform .2s 0s;
		}
		.no-touch &:hover {
			.location-block {
				opacity: 1;
				transform: translateY(0);
				transition: opacity .2s .2s, transform .3s .2s;
			}

			&:after {
				transform: scaleY(1);
				transition: transform .2s 0s;
			}
		}
	}
	@media screen and (min-width: 900px) {
		> a {
			&:before {
				display: block;
				width: 7px;
			}
		}
	}
	@media screen and (min-width: $bp-tablet) and (max-height: 600px) {
		&:after {
			display: none;
		}
	}
}
.location-block {
	display: none;

	@media screen and (min-width: $bp-tablet) {
		display: block;
		width: 100%;
		border: solid 1px $color-accent;
		height: 100px;
		max-width: 950px;
		position: absolute;
		bottom: 25px;
		left: 0;
		padding: 5px;
		opacity: 0;
		transform: translateY(30px);
		transform-origin: top;
		transition: opacity .2s 0s, transform .3s 0s;
	}

	@media screen and (min-width: $bp-tablet) and (max-height: 600px) {
		display: none;
	}
}
.location-block__details {
	width: 515px;
	padding: 0 em(50);
	position: absolute;
	left: 5px;
	top: 5px;
	bottom: 5px;
	border-left: solid 10px $color-accent;
	display: flex;
	align-items: center;
}
.location-block-details__content {
	width: 100%;
	display: flex;
	justify-content: space-between;
}

/***********************************************
Map Blocks
***********************************************/

.map {

	&--location-nav {
		width: 100%;
		padding-left: 535px;
		height: 100%;
	}
}
.map-container {
	display: block;
	position: relative;
	overflow: hidden;
	height: 100%;
	position: relative;
	display: block;
	
	// iframe {
	// 	position: absolute;
	// 	top: 0;
	// 	left: 0;
	// 	width: 100%;
	// 	height: 100%;
	// }

	img {
		position: absolute;
		height: 100%;
		width: auto;
		display: block;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		margin: auto;
	}
}