/* Locations General Styles */
.map-section {
}

.top-section {
	max-height: 80vh;
	overflow: hidden;
}
/* End Locations General Styles */

/* iMap */
.map-view {
	position: relative;
	margin-top: 0;
	overflow: hidden;
}

.locations-map .map-wrapper {
	width: 75%;
	height: 30em;
	position: relative;
}

.locations-map .map-view .imap {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.locations-map .map-view .view-all {
	position: absolute;
	right: 1em;
	top: 1em;
}
/* End iMap */

/* Location Search */
.search-wrapper {
	width: 25%;
	background-color: #F1F1F1;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-align-items: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
}

.location-search {
	width: 100%;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-flex: 1 1 auto;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
}

.location-search .location-search-filter-wrapper {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-flex: 1 1 auto;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
}

.location-search .sort-by {
	text-align: center;
	padding: .5em;
}

.location-search .sort-by strong {
	color: #385DAE;
	font-weight: 400;
	font-size: 1.333em;
}

.location-search strong {
	display: block;
}

.location-search .search-container {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	padding: 1em .5em;
	-webkit-flex: 1 1 auto;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
}

.location-search .search-container ul {
}

.location-search .zip-con {
	background-color: #237DB1; /* $secondary */
}

.location-search .loc-con {
	background-color: #0B1F8F;
}

.location-search .serv-con {
	background-color: #931621; /* $accent */
}

.location-search .name-con {
	background-color: #295F7E; /* $primary */
}

.location-search .search-container strong {
	font-size: 1.25em;
	color: #FFFFFF;
	padding: .25em 1em;
}

.location-search .search-container .search-filters {
	padding: 0 1em;
	color: #FFFFFF;
}

.location-search .search-container .search-filters ul {
	max-height: 8em;
	overflow-y: auto;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
}

.location-search .main-search-field input, .location-search select {
	width: 100%;
	padding: .5em 1em;
	font-size: 16px;
}

.location-search .search-container li label {
	font-weight: 500;
	color: #FFFFFF;
	position: relative;
	font-size: .789em;
}

.location-search .search-container li label:before {
	position: absolute;
	height: 1em;
	width: 1em;
	top: 50%;
	left: -1.4em;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	background-color: #FFFFFF;
	border: solid 1px #E4F4FE;
}

.location-search .search-container li.radio-list label:before {
	border-radius: 50%;
}

.location-search .search-container li label:after {
	position: absolute;
	width: 1em;
	height: 1em;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	top: 50%;
	left: -1.4em;
	transition: .4s ease 0s;
}

.location-search .search-container li.radio-list label:after {
	background-color: #46A02F;
	-webkit-transform: translateY(-50%) scale(0);
	-ms-transform: translateY(-50%) scale(0);
	transform: translateY(-50%) scale(0);
	border-radius: 50%;
	opacity: 1;
}

.location-search .search-container li.radio-list input:checked ~ label:after {
	-webkit-transform: translateY(-50%) scale(.75);
	-ms-transform: translateY(-50%) scale(.75);
	transform: translateY(-50%) scale(.75);
}

.location-search .search-container li.radio-list input {
	opacity: 0;
}
/* End Location Search */

/* Locations List */
.locations-list {
	padding-left: 0;
	padding-right: 0;
}

.locations-list ul.items-1 li {
	width: 100%;
}

.locations-list ul.items-2 li {
	width: 49%;
}

.locations-list li {
	width: 32%;
	margin-bottom: 1.5em;
	background-color: #E1EAFF;
	margin-right: 1.5em;
}

.locations-list li:nth-child(3n + 3) {
	margin-right: 0;
}

.locations-list li .img-con {
	width: 100%;
	height: 7.5em;
	border: solid 1px #F6883F; /* $tertiary */
	border-bottom: none;
	padding: 1em;
	background-color: #FFFFFF;
}

.locations-list li .img-con img {
	height: 100%;
	width: 100%;
	background-size: contain;
	background-color: #FFFFFF;
}

.locations-list li .default, .locations-details .default {
	background-image: url(/images/logo.png);
	background-size: 90%;
}

.locations-list li .details {
	padding: 1.5em;
	text-align: center;
	background-color: #F6883F; /* $tertiary */
	font-size: 1.111em;
	color: #FFFFFF; /* $white */
}

.locations-list li .details h3 {
	color: #FFFFFF; /* $white */
	font-weight: 700;
	font-size: 1.222em;
	margin-bottom: 1em;
}

.locations-list li .details a[href^=tel] {
	color: #FFFFFF; /* $white */
}

.locations-list li .details .btn-con {
	margin-top: 1.444em;
}

.locations-list li .details span {
	display: block;
}
/* End Locations List */

/* Location Pop Up */
.location-popup {
	position: absolute;
	z-index: 50;
	max-width: 20em;
	min-width: 17em;
	text-align: center;
	background-color: #FFFFFF;
	opacity: 0;
	visibility: hidden;
	box-shadow: 0 2px 8px rgba(0,1,1,.4);
	transition: .5s ease 0s, opacity .3s ease 0s;
	padding: 1em;
}

.location-popup:after {
	content: '\e0eb';
	position: absolute;
	top: 100%;
	left: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	font-size: 1.222em;
	color: #FFFFFF;
	font-family: 'icomoon-ult';
	width: 1em;
	height: 1em;
}

.location-popup strong {
	font-weight: 600;
	font-size: 1.222em;
	color: #931621; /* $accent */
}

.location-popup a.phone-link {
	display: block;
	font-weight: 800;
	letter-spacing: .1em;
	font-size: 1.111em;
	color: #F6883F; /* $tertiary */
	cursor: pointer;
}

.location-popup a.phone-link:hover {
	color: #76BD22;
}

.location-popup span {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
}

.location-popup.active {
	z-index: 1;
	opacity: 1;
	visibility: visible;
	transition: opacity .1s ease 0s;
}

.location-popup .popup-close {
	position: absolute;
	top: 0;
	right: 0.12em;
}
/* End Location Pop Up */

/* Location Details */
.locations-details {
}

.locations-details .img-con {
	width: 27.556em;
	height: 14.167em;
	border: solid 1px #F6883F; /* $tertiary */
}

.locations-details .img-con img {
	height: 100%;
	width: 100%;
	background-size: 90%;
}

.locations-details .content-con {
	padding: 1.5em 0;
}

.locations-details .content-con h2 {
	font-size: 1.222em;
}

.content-con .address {
	margin: 1.222em 0;
}

.locations-details .content-con .phone-link {
	color: #2C2C2C;
}

.content-con .hours {
	margin: 1.222em 0;
}

.content-con .hours strong {
	display: block;
}
/* End Location Details */

/* IE Fallbacks */
.no-flexbox .locations-map .map-view .location-search header div > * {
	display: inline-block;
	vertical-align: top;
}

.no-flexbox .locations-map .map-view .location-search .category-select li > * {
	vertical-align: top;
}

.no-flexbox .locations-map .location-popup img {
	width: 100%;
}

.no-flexbox .locations-map .location-popup .details {
	vertical-align: top;
}

.no-backgroundsize .locations-map .map-view .location-search {
	display: none;
}
/* End IE Fallbacks */

/* Responsive @ 1000px */
@media screen and (max-width:1000px) {
	.locations-list li {
		width: 30%;
	}
}
/* End Responsive @ 1000px */

/* Responsive @ 900px */
@media screen and (max-width:900px) {
	.locations-map .map-view .location-search {
		top: 0;
	}
}
/* End Responsive @ 900px */

/* Responsive @ 800px */
@media (max-width: 800px) {
	.locations-map .map-section .map-view {
		display: none;
	}

	.locations-details .location {
		-webkit-flex-wrap: wrap !important;
		-ms-flex-wrap: wrap !important;
		flex-wrap: wrap !important;
	}

	.locations-details .img-con {
		width: 100%;
	}

	.locations-details .content-con {
		width: 100%;
	}
}
/* End Responsive @ 800px */

/* Responsive @ 600px */
@media (max-width: 600px) {
	.search-results {
		-webkit-flex-wrap: wrap !important;
		-ms-flex-wrap: wrap !important;
		flex-wrap: wrap !important;
	}

	.locations-list li {
		width: 100%;
	}
}
/* End Responsive @ 600px */
