﻿
/* anywhere page map */

.anywhere-page-map {
    margin: 0 0 30px;
}
.anywhere-page-map .map-title {
    margin: 0 0 25px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    text-align: center;
    text-transform: uppercase;
    font-size: 24px;
    color: #444;
}
.anywhere-page-map .map-title strong {
    font-weight: normal;
}
.anywhere-page-map .map-wrapper {
	margin: 0 0 10px;
}
.anywhere-page-map .map-controls {
    margin-top: 20px;
    text-align: center;
}
.anywhere-page-map .map-controls span {
    cursor: pointer;
    color: #57b568;
}
.anywhere-page-map .map-controls .additional-info {
    display: block;
    margin-top: 15px;
}
/* cross-page map elements */
.map-wrapper .map {
    height: 300px;
}
.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 {
	margin: 0 20px 0 0;
}
.getUserGeoLocation:before {
    content: '\e951';
    display: inline-block;
    margin-right: 5px;
    font-family: prisma;
    font-size: 20px;
    color: #ccc;
    vertical-align: bottom;
}
.align-map-button:before {
    content: '\e950';
    display: inline-block;
    margin-right: 5px;
    font-family: prisma;
    font-size: 20px;
    color: #ccc;
    vertical-align: bottom;
}

/* ALL SHOPS PAGE */
.directions-wrapper {
    display: none;
    margin: 30px 0 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 15px;
    text-align: center;
}

.shops-sorting-filtering-wrapper {
    margin: 30px 0 0;
    padding: 20px; /*not margin due to unwrapped floats*/
    background: #f6f6f6;
    overflow: hidden;
}
.shops-sorting-filtering-wrapper > div {
	margin: 10px 0;
}
.shops-sorting-filtering-wrapper label {
	display: block;
     margin: 8px 0 8px 0;
    font-size: 13px;
    color: #666;
}
.shops-sorting-filtering-wrapper select,
.shops-sorting-filtering-wrapper input {
	width: 80%;
	max-width: 450px;
    height: 40px;
    border: 1px solid #eee;
    padding: 0 10px;
    vertical-align: middle;
}
.radiusFilterWrapper span.units {
    display: inline-block;
    width: 20px;
    margin: 0 -20px 0 0;
    font-size: 13px;
    color: #666;
}
.filter-shops-button {
    min-width: 120px;
    height: 40px;
    margin: 15px 0 0;
    border: 0;
    padding: 0 20px;
    background: #57b568;
    font-weight: bold;
    font-size: 14px;
    color: #fff;
}
.clear-filtered-shops {
    display: none;
	margin: 15px 0 0;
    background: url('images/close-button.png') no-repeat left center;
    padding: 0 12px;
}

.shops-list {
	margin: 0;
}
.shops-item {
    margin: 50px 0;
    padding: 20px;
    background: #f6f6f6;
    overflow: hidden;
    font-size: 13px;
    color: #666;
}
.shops-item .picture-wrap {
	margin: 0 0 20px;
	font-size: 0;
}
.shops-item .picture-link {
    display: inline-block;
}
.shops-item .picture-img {
    max-width: 100%;
}
.shops-item .info-wrap {
}
.shops-item .shop-name {  
    margin: 0 0 15px;
}
.shops-item .distance-line {
    margin: 0 0 10px;
}
.shops-item .show-directions {
    display: inline-block;
	margin: 0 0 15px;
    padding-left: 16px;
    background: url('images/location-marker.png') left center no-repeat;
}
.shops-item .short-description {
    margin: 0 0 15px;
	line-height: 20px;
	color: #666;
}
.shops-item .tags,
.shop-page .tags {
    margin: 0 0 20px;
}
.shops-item .tags-label,
.shop-page .tags-label {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 5px;
}
.shops-item .tag-item,
.shop-page .tag-item {
    display: inline-block;
}
.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;
    padding: 14px 20px 13px;
    background: #57b568;
    font-weight: bold;
    font-size: 14px;
    color: #fff;
}
.no-shops-after-filtering {
    display: none;
}


/* SHOP PAGE */

.store-locator-pages-body .page-body {
    padding: 20px;
    background: #f6f6f6;
}
.store-locator-pages-body .all-shops-page .page-body {
    padding: 0;
    background: #fff;
}
.back-to-all-shops {
    margin: 0 0 15px;
}
.back-to-all-shops a:before {
    content: '\e92e';
    display: inline-block;
    margin-right: 5px;
    font-family: prisma;
    font-size: 15px;
    color: #bcbcbc;
    vertical-align: middle;
}

.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;
	font-size: 0;
}
.all-shop-images li {
	display: inline-block;
    margin: 0 0 5% 5%;
    width: 30%;
}
.all-shop-images li:nth-child(3n+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 {
	border-bottom: 1px solid #ccc;
	padding: 0 0 20px;
    text-align: center;
}
.shop-map-images .map-controls .get-directions-to-shop {
    color: #57b568;
}
.shop-map-images .map-controls .get-directions-to-shop:before {
    content: '\e953';
    display: inline-block;
    margin-right: 5px;
    font-family: prisma;
    font-size: 19px;
    color: #bcbcbc;
    vertical-align: sub;
}
.shop-map-images .directions-wrapper {
	float: none;
    width: 100%;
}

.shop-full-description {
    margin: 0 0 30px;
}
.shop-full-description p {
	margin: 0 0 10px 0;
    line-height: 1.5;
}
.shop-full-description td {
	border: 1px solid #ccc;
	padding: 10px 15px;
	text-align: left;
}
.shop-full-description a {
}
.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;
    top: 50%;
    left: 50%;
    margin: -20px 0 0 -30px;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 40px solid #57b568;
    -webkit-animation: triangle-skew-spin 3s 0s cubic-bezier(.09,.57,.49,.9) infinite;
    animation: triangle-skew-spin 3s 0s cubic-bezier(.09,.57,.49,.9) infinite;
    font-size: 0;
    text-indent: -9999px;
}
.infinite-scroll-loader {
    position: relative;
    margin-bottom: 5px;
    height: 100px;
    background: #fff;
    font-size: 0;
    filter: Alpha(opacity = 70);
    opacity: 0.7;
    z-index: 2;
    clear: both;
}
.infinite-scroll-loader:before {
    content: '.';
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -20px 0 0 -30px;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 40px solid #57b568;
    width: 0;
    height: 0;
    -webkit-animation: triangle-skew-spin 3s 0s cubic-bezier(.09,.57,.49,.9) infinite;
    animation: triangle-skew-spin 3s 0s cubic-bezier(.09,.57,.49,.9) infinite;
    font-size: 0;
    text-indent: -9999px;
}


@media all and (min-width: 481px) {
	
#shop-address-input {
	width: 220px;
}

}

@media all and (min-width: 769px) {

.directions-wrapper {
	float: left;
	width: 40%;
	height: 300px;
	margin: 0;
}
.directions-panel {
	height: 100%;
	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;
	font-size: 0;
}
.shops-sorting-filtering-wrapper > div {
	display: inline-block;
	width: 28%;
	margin: 0 0 5px;
	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%;
}
div.radiusFilterWrapper {
	padding: 0 25px 0 15px;
	white-space: nowrap;
}
.radiusFilterWrapper span.units {
	margin: 0;
	text-align: right;
	vertical-align: middle;
}
.clear-filtered-shops {
	margin: 0 0 5px;
}
.filter-shops-button {
	margin: 0;
}
.shops-item .picture-wrap {
	float: left;
	width: 40%;
	margin: 0;
}
.shops-item .info-wrap {
	float: right;
	width: 57%;
	text-align: left;
}

.shop-map-images {
	float: left;
	width: 40%;
	max-width: none;
	margin: 0;
}
.shop-map-images + .shop-info {
	float: right;
	width: 57%;
	text-align: left;
    color: #888;
}
.shop-map-images .map-controls {
	border: none;
}

}

@media all and (min-width: 1025px) {

.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,
.shops-sorting-filtering-wrapper input {
	width: 180px;
}
.shops-sorting-filtering-wrapper #searchRadius {
	width: 120px;
}
.shops-sorting-filtering-wrapper .clear-filtered-shops {
	margin: 0 10px 0 0;
	padding-bottom: 0;
}
.shops-sorting-filtering-wrapper .button-wrap {
	display: inline-block;
}
.shops-list {    
     margin: 0 -1%;
	font-size: 0;
}
.shops-item { /*do not float&clear because filtration is breaking the nth-child sequence*/
	display: inline-block;
	width: 48%;
	margin: 25px 1%;
	vertical-align: top;
	font-size: 12px; /*reset zeroing*/
}
.shops-item .picture-wrap {
	width: 45%;
}
.shops-item .info-wrap {
	width: 52%;
}

}

@media all and (min-width: 1281px) {

.shops-sorting-filtering-wrapper > div {
	padding: 0 20px;
}

}