﻿
/* anywhere page map */

.anywhere-page-map {
    margin: 0 auto 30px;
	border: 4px double #f1f1f1;
	padding: 45px 15px 15px;
}
.anywhere-page-map .map-title {
	margin: 0 0 25px;
	text-align: center;
	font-size: 18px;
}
.anywhere-page-map .map-title strong {
	letter-spacing: 3px;
    font-weight: normal;
	color: #4d4d4d;
	text-transform: uppercase;
}
.anywhere-page-map .map-controls {
	text-align: center;
}
.anywhere-page-map .align-map-button {
	display: block;
	max-width: 200px;
	margin: 10px auto;
	font: italic 15px/25px 'Droid Serif', serif;
	color: #e56363;
    cursor: pointer;
}

/* cross-page map elements */

.map-wrapper .map {
    height: 380px;
}
.map-wrapper .map img {
    max-width: none;
    max-height: none;
}
#shop-address-input {
    top: 10px !important;
	width: 180px;
	height: 30px;
	border: none;
	border-radius: 2px;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
	font-size: 11px;
}
.getUserGeoLocation {
	display: inline-block;
	height: 40px;
	border: 1px solid #ededed;
    background: url('images/current-location.png') left center no-repeat;
	padding: 0 20px 0 40px;
	line-height: 40px;
	font-weight: bold;
	text-transform: uppercase;
	cursor: pointer;
}
.map-controls .additional-info {
	display: block;
}


/* ALL SHOPS PAGE */

.directions-wrapper {
    display: none;
	margin: 30px 0;
}
.directions-shown {
    display: block;
}
.directions-panel {
	position: relative;
    overflow-y: auto;
	text-align: left;
}
.directions-panel .adp-text {
	padding: 0 15px;
}
.directions-panel .adp-step,
.directions-panel .adp-substep {
	padding-top: 10px;
	padding-bottom: 10px;
}
.directions-panel .adp-substep:nth-child(3) {
	word-break: break-all; /*fix for Chrome horizontal scroll issue*/
}
.current-location-wrap {
	margin: 0 0 30px;
	text-align: center;
}
.current-location-wrap + .map-wrapper {
	margin: 0 0 20px;
}
.shops-sorting-filtering-wrapper {
	overflow: hidden;
}
.shops-sorting-filtering-wrapper > div {
	margin: 10px 0;
}
.shops-sorting-filtering-wrapper label {
	display: block;
	margin: 0 0 5px;
	font: italic 14px 'Droid Serif', serif;
}
.shops-sorting-filtering-wrapper select,
.shops-sorting-filtering-wrapper input {
	width: 100%;
	max-width: 400px;
    height: 44px;
    border: 1px solid #ebebeb;
    padding: 0 10px;
    vertical-align: middle;
}
.shops-sorting-options .custom-select {
	width: 100%;
	max-width: 400px;
}
.shops-sorting-options .custom-select select {
	width: 100%;
}
.shops-sorting-options .custom-select-text {
	border-color: #ebebeb;
	text-align: left;
}
.radiusFilterWrapper span.units {
	display: inline-block;
	width: 20px;
	margin: 0 -20px 0 0;
}
.filter-shops-button {
	width: 100%;
	max-width: 400px;
	height: 44px;
	margin: 15px 0 0;
    border: none;
	outline: 1px solid #2e2e2e;
	background-color: #2e2e2e;
    padding: 0 15px;
	font-size: 14px;
	font-weight: bold;
	color: #fff;
	text-transform: uppercase;
}
.clear-filtered-shops {
    display: none;
	margin: 15px 0 0;
}

.shops-list {
	margin: 30px 0 0;
	font-size: 0;
}
.shops-item {
    margin: 50px 0;
	font-size: 13px; /*reset zeroing*/
}
.shops-item .picture-wrap {
	margin: 0 0 25px;
	font-size: 0;
}
.shops-item .picture-link {
    display: inline-block;
}
.shops-item .picture-img {
    max-width: 100%;
}
.shops-item .shop-name { 
    margin: 0 0 25px;
	font-size: 22px;
}
.shops-item .distance-line {
	display: inline-block;
    margin: 0 0 20px;
	background-color: #f8f8f8;
	padding: 15px 25px;
}
.shops-item .distance-line label, 
.shops-item .distance-line span {
	font: italic 15px/25px 'Droid Serif', serif;
}
.shops-item .show-directions {
    display: inline-block;
	margin: 10px 0 0;
    padding-left: 16px;
    background: url('images/location-marker.png') left center no-repeat;
	color: #888;
}
.shops-item .short-description {
    margin: 0 0 15px;
	font: italic 15px/32px 'Droid Serif', serif;
	color: #888;
}
.shops-item .short-description span {
	font-weight: bold;
	font-style: normal;
}
.shops-item .tags,
.shop-page .tags {
    margin: 0 0 20px;
}
.shops-item .tags-label,
.shop-page .tags-label {
	display: none;
}
.shops-item .tag-item:first-child,
.shop-page .tag-item:first-child {
	background: url('images/tags-label.png') left center no-repeat;
	padding: 0 0 0 20px;
}
.shops-item .tag-item,
.shop-page .tag-item {
    display: inline-block;
	font: italic 13px/20px 'Droid Serif', serif;
	color: #888;
}
.shops-item .tag-item:after,
.shop-page .tag-item:after {
    content: ",";
    margin: 0 10px 0 0;
}
.shops-item .tag-item:last-child:after,
.shop-page .tag-item:last-child:after {
    display: none;
}
.shops-item .read-more {
    display: inline-block;
	min-width: 150px;
	margin: 15px 0 0;
    border: none;
	outline: 1px solid #2e2e2e;
	background-color: #2e2e2e;
    padding: 13px 15px;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	color: #fff;
	text-transform: uppercase;
}
.no-shops-after-filtering {
    display: none;
}


/* SHOP PAGE */

.back-to-all-shops {
	display: none;
    margin: 0 0 15px;
}
.back-to-all-shops a {
}

.shop-page .main-picture {
    margin: 0 0 20px;
	font-size: 0;
}
.shop-page .main-picture-link {
    display: inline-block;
}
.shop-page .main-picture-img {
    max-width: 100%;
}

.all-shop-images {
	margin: 0 0 20px;
	text-align: center;
	font-size: 0;
}
.all-shop-images li {
	display: inline-block;
    margin: 0 0 2.5% 2.5%;
    width: 18%;
}
.all-shop-images li:nth-child(5n+1) {
    margin-left: 0;
}
.all-shop-images a {
    display: block;
}
.all-shop-images img {
    max-width: 100%;
}

.shop-map-images {
	max-width: 480px;
	margin: 0 auto 40px;
}
.shop-map-images .map {
	margin: 0 0 20px;
}
.shop-map-images .map-controls {
	margin: 0 0 30px;
	text-align: center;
}
.shop-map-images .map-controls a {
	display: inline-block;
	height: 40px;
	border: 1px solid #ededed;
    background: url('images/current-location.png') left center no-repeat;
	padding: 0 20px 0 40px;
	line-height: 40px;
	font-weight: bold;
	text-transform: uppercase;
	cursor: pointer;
}
.shop-map-images .directions-wrapper {
	float: none;
    width: 100%;
}

.shop-full-description {
    margin: 0 0 30px;
	font: italic 15px/25px 'Droid Serif', serif;
	color: #888;
}
.shop-full-description p {
	margin: 10px 0;
}
.shop-full-description td {
	padding: 10px 15px;
	text-align: left;
}
.shop-full-description tr:nth-child(odd) td {
	background-color: #f8f8f8;
}
.shop-full-description a {
	color: #e56363;
}
.shop-full-description ul { /*theme specific*/
	margin: 12px 0;
	padding: 0 0 0 36px;
	list-style: disc;
}
.shop-full-description ol { /*theme specific*/
	margin: 12px 0;
	padding: 0 0 0 36px;
	list-style: decimal;
}
.shops-list-wrapper {
    position: relative;
}
.shops-list-loader {
    position: absolute;
    width: 34px;
    height: 34px;
    top: 50%;
    left: 50%;
    margin-left: -17px;
    margin-top: -17px;
}
.shops-list-loader:before {
    content: '';
    position: absolute;
    width: 44px;
    height: 44px;
    margin-left: -7px;
    margin-top: -7px;
    border: 2px solid #454545;
        outline: 1px solid transparent;
    animation: spinner 2.5s linear infinite;
    animation-direction: reverse;
}
.shops-list-loader:after {
    content: '';
    position: absolute;
    border: 2px solid #454545;
    width: 30px;
    height: 30px;
    outline: 1px solid transparent;
    animation: spinner 2.5s linear infinite;
}
.infinite-scroll-loader {
    height: 100px;
    background: #fff url('images/ajaxLoader.gif') no-repeat 50% 50%;
    font-size: 0;
    filter: Alpha(opacity = 70);
    opacity: 0.7;
    z-index: 2;
    clear: both;
}


@media all and (min-width: 481px) {
	
#shop-address-input {
	width: 220px;
}

}

@media all and (min-width: 769px) {

.directions-wrapper {
	float: left;
	width: 40%;
	margin: 0;
}
.directions-panel {
	height: 380px;
	padding: 0 10px 0 0;
}
.directions-panel > div {
	margin: 0 0 10px;
}
.directions-panel #backToResults {
	display: none;
}
.directions-panel table {
	margin-top: 0;
}
.map-wrapper.directions-shown {
	float: right;
	width: 60%;
}
.shops-sorting-filtering-wrapper {
	clear: both;
	background-color: #f8f8f8;
	padding: 15px;
	font-size: 0;
}
.shops-sorting-filtering-wrapper > div {
	display: inline-block;
	width: 28%;
	margin: 0;
	padding: 0 20px;
	vertical-align: bottom;
	font-size: 12px; /*reset zeroing*/
}
.shops-sorting-filtering-wrapper > div:first-child {
	padding-left: 0;
}
.shops-sorting-filtering-wrapper > div:last-child {
	width: 16%;
	padding: 0;
	text-align: right;
}
.shops-sorting-filtering-wrapper label {
	text-align: left;
}
.shops-sorting-filtering-wrapper select,
.shops-sorting-filtering-wrapper input {
	width: 100%;
}
.shops-sorting-options .custom-select {
	width: 100%;
}
div.radiusFilterWrapper {
	padding: 0 25px 0 15px;
	white-space: nowrap;
}
.radiusFilterWrapper span.units {
	margin: 0;
	text-align: right;
	vertical-align: middle;
}
.clear-filtered-shops {
	position: relative;
	top: -2px;
	width: 100%;
	margin: 0 0 5px;
	text-align: center;
}
.filter-shops-button {
	margin: 0;
}
.shops-list {
	margin: 0;
}
.shops-item {
	display: inline-block;
	width: 50%;
	padding: 0 10px;
	text-align: center;
	vertical-align: top;
}

.shop-map-images {
	float: left;
	width: 45%;
	max-width: none;
	margin: 0;
}
.shop-map-images + .shop-info {
	float: right;
	width: 52%;
	text-align: left;
}
.shop-map-images .map-controls {
	border: none;
}

}

@media all and (min-width: 1001px) {

.anywhere-page-map {
	max-width: 980px;
}
.header-menu li.store-locator {
	position: relative !important;
}

.shops-sorting-filtering-wrapper > div {
	width: auto !important;
	padding: 0 10px;
}
div.shops-filtering-buttons:last-child {
	float: right;
}
.shops-sorting-filtering-wrapper label {
	display: inline-block;
	margin: 0 5px 0 0;
}
.shops-sorting-filtering-wrapper select {
	width: 180px;
}
.shops-sorting-filtering-wrapper input {
	width: 140px;
}
.shops-sorting-filtering-wrapper #searchRadius {
	width: 120px;
}
.shops-sorting-options .custom-select {
	width: 180px;
}
.shops-sorting-filtering-wrapper .clear-filtered-shops {
	position: static;
	width: auto;
	margin: 0 10px 0 0;
	padding-bottom: 0;
}
.shops-sorting-filtering-wrapper .button-wrap {
	display: inline-block;
}
.shops-sorting-filtering-wrapper button {
	min-width: 120px;
}
.shops-item {
	display: block;
	width: auto;
	border-top: 1px solid #f1f1f1;
	overflow: hidden;
	padding: 0;
	text-align: left;
}
.shops-item .picture-wrap {
	float: left;
	width: 40%;
	margin: 0;
	text-align: center;
}
.shops-item .info-wrap {
	position: relative;
	float: right;
	width: 57%;
	padding: 40px 0 0;
	text-align: left;
}
.shops-item .distance-line {
	position: absolute;
	top: 0;
	right: 0;
}

}

@media all and (min-width: 1281px) {

.anywhere-page-map {
	max-width: 1200px;
}
.shops-sorting-filtering-wrapper > div {
	padding: 0 20px;
}
.shops-sorting-filtering-wrapper select,
.shops-sorting-filtering-wrapper input {
	width: 230px;
}
.shops-sorting-options .custom-select {
	width: 230px;
}

}