/*
 * Date: August 28, 2012
 *
 * base.css
 * Base CSS stylesheet for storefinder interface components
 * Copyright (C) 2012 by Daniel Vidoni, Sydney Australia, All rights reserved.
 * Web: www.storefinder.com.au
 *
 * You may not distribute this code in any manner, modified or otherwise, without the express, written
 * consent from Daniel Vidoni.
 * 
 * You may make modifications and / or install this file on your servers for the purpose of
 * providing your website with store finder functionality.
 *
 * In all cases copyright and header must remain intact.
 */

/* === BASE STYLES === */
body {
	margin: 0;
	padding: 0;
	font: 10pt Verdana, Arial, Helvetica, sans-serif;
	line-height: 150%;
}

a:link, a:visited {
	text-decoration: none;
	color: #F70;
}

a:hover {
	text-decoration: underline;
	color: #0000ff;
}

/* === LAYOUT CONTAINERS === */
#container {
	background: #fff;
}

#header {
	background: url(/images/shadow_up.gif) repeat-x bottom;
	border-bottom: 2px solid #FF7000;
}

#header h1 {
	margin: 0;
	font-size: 14pt;
	color: #FF7000;
	text-transform: capitalize;
}

#header #prompt {
	margin: 0;
}

#footer {
	background: url(/images/shadow_down.gif) repeat-x;
	border-top: 2px solid #FF7000;
	text-align: center;
}

#customFormOptions {
	padding: 5px 10px 15px 5px;
}

/* === RESULTS PANEL === */
#summary {
	color: #777;
	background: #f0f0f0 url(/images/house.jpg) no-repeat;
	align-content: center;
}

#resultsList, #directionsItinerary {
	overflow-y: auto;
	background: url(/images/SF_TEMPLATE_7_11.gif) repeat-x left bottom;
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE and Edge */
}

#resultsList::-webkit-scrollbar, #directionsItinerary::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Opera */
}

#directionsItinerary {
	display: none;
}

/* === RESULT ITEMS === */
.result, .resultSelected {
	background-color: #ff700010;
	box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.2);
}

.resultSelected {
	background-color: white;
}

.resultContainer {
	padding: 10px 5px 10px 10px;
}

.resultMainPanel {
	margin-left: 30px;
	width: 88%;
	overflow: hidden;
	text-align: left;
}

.resultLocationName {
	font-size: 115%;
	font-weight: bold;
	white-space: normal;
}

.resultDetails {
	overflow: hidden;
	white-space: normal;
	text-overflow: ellipsis;
	display: none;
}

.resultControlCluster {
	background-color: #eee;
	display: none;
}

.resultControlClusterRoute {
	border-top: 1px solid #ddd;
	display: none;
}

#resultDistanceMarker {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 9pt;
	font-weight: bold;
	text-align: center;
	float: left;
	width: 18px;
	height: 50px;
	background: url(/images/map-marker-orange-2.gif) no-repeat 0px 0px;
	color: #FFF;
}

#resultDistanceMarkerDistance {
	line-height: 100%;
	margin-top: 15px;
}

/* === CONTROLS === */
#activityIndicator {
	float: left;
	width: 40px;
	height: 40px;
	background: url(/widgets/loading_orange.gif) no-repeat 3px 3px;
	display: none;
	margin-top: -4px;
}

#searchButton {
	float: left;
	width: 40px;
	height: 40px;
	background: url(/images/orange_arrow.png) no-repeat center center;
	display: inline;
	margin-top: -4px;
	/* margin-left: 10px; */
}

#gpsButton {
	float: left;
	display: none;
	height: 30px;
	margin-left: 5px;
	cursor: pointer; 									/* Show pointer cursor */
	transition: transform 0.3s ease; 	/* Smooth scaling transition */
	border-radius: 16px; 							/* Rounded corners */
	transform: scale(1.1);						/* Default size */
}

/* Shrink gpsButton on click/tap, then return to normal size */
#gpsButton:active {
	transform: scale(0.85);
}

select {
	height: 30px;
	padding-left: 5px;
	border-radius: 10px;
	box-shadow: 0px 0px 10px 0px orange;
}

.sfButton, .sfButton:link {
	padding: 3px 8px;
	background: lightgray;
	border: 1px solid grey;
	border-radius: 10px;
	color: #222;
	font-size: 10pt;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
	cursor: pointer;
}

.sfButton:hover {
	background: orange;
	color: white;
}

/* === UTILITY CLASSES === */
.fltrt {
	float: right;
	margin-left: 8px;
}

.fltlft {
	float: left;
	margin-right: 8px;
}

.clearfloat {
	clear: both;
	height: 0;
}

/*
 * end of CSS
 */
