html, body {
	font-family: Roboto,Arial,sans-serif;
	/*font-family:"Trebuchet MS", Arial,Helvetica,sans-serif;*/
	color:#333;
	height:100%;
	width:100%;
	overflow:hidden;
}
html, body, * {
	margin:0;
	padding:0;
}
a {
	color:inherit;
}
#map_canvas{
	width:100%;
}
noscript div {
	display:block;
	background-color:red;
	color:white;
	text-align:center;
	padding:5px;
	font-size:1.3em;
	width:100%;
}
/*#searchPosition:active, #searchPlace:active, .depliFiche img:active, .repliFiche img:active, #qrCodePopUp .close img:active, #directions .close img:active, #directions .toQrCode img:active, .storeheader .mainactions span:active, #searchPosition.fake-active, #searchPlace.fake-active, .depliFiche img.fake-active, .repliFiche img.fake-active, #qrCodePopUp .close img.fake-active, #directions .close img.fake-active, #directions .toQrCode img.fake-active, .storeheader .mainactions span.fake-active {
	background-color:pink;
}*/

/*---- MEDIA QUERIES ----*/

@media screen and (max-width: 320px) {
	.storedetails p {
		width:100%;
		clear:both;
	}
	.storedetails {
		padding-left:46px !important;
	}
}

@media screen and (min-width: 321px) {
	
	.storedetails p {
		width:50%;
		float:left;
		clear:left;
	}
	.storedetails p:first-child {
		width:50%;
		float:right;
	}
}
@media screen and (max-width:370px) {
	#searchbox div .searchlabel {
		display:none;
	}
	#directions .links {
		clear:both ;
		padding-top:7px;
	}
}
@media screen and (max-width:480px) {
	html, body {
		font-size:11px;
	}
	#autocomplete {
		min-width: 180px;
	}
}
@media screen and (min-width:481px) {
	html, body {
		font-size:12px;
	}
}
@media screen and (min-width:481px) and (max-width: 640px) {
	#autocomplete {
		min-width: 240px;
	}
}
@media screen and (max-width: 640px) {
	
	#map_canvas{
		min-height:30%;
	}
	#listview {
		overflow-y:scroll;
		position:relative;
	}
	/*.pac-container {
		margin-top:-203px;
	}*/
}
@media screen and (min-width: 641px) {
	noscript div {
		position:fixed;
		bottom:0;
	}
	#map_canvas{
		height:100%;
	}
	#searchbox {
		position:absolute;
		left:8px;
		top:8px;
		width:400px;
		border-width:1px !important;
	}
	#listview {
		position:absolute;
		left:8px;
		top:116px;
		background-color:transparent;
		border-style:solid;
		border-color:black;
		border-width:0 1px 1px 1px;
		width:400px;
		overflow-y:auto;
	}
	#autocomplete {
		min-width: 210px;
	}
}

/*---- SEARCHBOX ----*/

#searchbox {
	height:108px;
	background: #bac562 url('../img/background.png') repeat-x bottom left;
	border-width:1px 0;
	border-color:#333;
	border-style:solid;
	z-index:100;
	cursor:text;
}
#searchbox div:first-child {
	text-align:center;
	color:#333;
	height:15px;
	text-transform:uppercase;
	padding:4px;
	border-bottom:1px solid #333;
}
#searchPosition, #searchPlace, #searchMode {
	position:relative;
}
#searchPosition {
	text-align:left;
	float:left;
	cursor:pointer;
}
#searchPlace {
	text-align:right;
	float:right;
}
#searchMode {
	border-top:1px solid #333;
	text-align:center;
	padding:2px 5px;
	clear:both;
	line-height:32px;
	color:white;
}
#searchPlace img, #searchMode img {
	cursor:pointer;
}
#searchPlace span , #searchPosition span, #searchMode span {
	display:inline-block;
	line-height:32px;
	font-size:1em;
	font-style:italic;
	color:white;
}
#searchPlace span , #searchPosition span {
	margin:5px;
}
#searchMode span {
	margin: 0 5px;
	/*float:right;*/
}
#searchPosition .searchlabel {
	margin:0 !important;
	padding:0 !important;
}
#searchMode span {
	cursor:pointer;
}
#searchMode span img {
	vertical-align:middle;
}
#searchMode span.activeMode img {
	background-color:#520654;/*#333;*/
	border-radius:5px;
}
#searchMode span.activeMode span {
	color:#520654 !important;/*#333;*/
	/*text-decoration:underline;
	text-transform:uppercase;
	font-weight:bold;*/
}
#searchbox div span img {
	margin:0 4px 0 0;
	padding:0;
	width: 32px;
	height: 32px;
}
#searchPosition span img, #searchPlace span img {
	vertical-align:bottom;
}

#autocomplete{
	display:inline-block;
	height:20px;
	border:1px solid white;
	background-color:white;
	color:#333;
	padding: 3px;
}
.pac-item {
	white-space: normal !important;
}
.pac-container {
	overflow-y: scroll !important;
}
/*---- LISTVIEW ----*/

#listview {
	clear:both;
	visibility:hidden;
	cursor:text;
}
#listview ul {
	list-style-type:none;
}
#listview ul li{
	clear: both;
	padding:7px 0 0 0;
	border-bottom:1px solid #333;
	background-color: rgba(255, 255, 255, 0.8);
	background-image: url("../img/degradeTop.png");
	background-repeat: repeat-x;
	background-position: left top;
	/*box-shadow: 0 2px 10px 3px rgba(0, 0, 0, 0.3) inset;*/
	position:relative;
}
#listview li:last-child {
	border-bottom-width:0 !important;
}
.depliFiche, .repliFiche, #qrCodePopUp .close, #directions .close, #directions .toQrCode {	
	height:32px;
	cursor:pointer;
	/*line-height:16px;*/
}
.depliFiche, .repliFiche, #qrCodePopUp .close, #directions .close {
	text-align:center;
	float:right;	
	width:32px;
}
#directions .toQrCode {
	text-align:left;
	float:left;
	font-style:italic;
}
#directions .toQrCode span {
	display:inline-block;
	margin-left:7px;
	vertical-align:middle;
}
.depliFiche, .repliFiche {
	margin: 0 7px;
}
.depliFiche img, .repliFiche img, #qrCodePopUp .close img, #directions .close img, #directions .toQrCode img{
	width:24px;
	height:24px;
	vertical-align:middle;
}
.depliFiche img, .repliFiche img {
	background-color:#9dad20;
}
#qrCodePopUp .close img, #directions .close img, #directions .toQrCode img{
	background-color:#520654;
}
.mainIcon {
	float:left;	
	width:32px;
	height:32px;
	margin: 0 7px;
}
.storeheader .maininfos {
	padding:0 46px 7px 46px;
	/*cursor:pointer;*/
}
.storeheader .maininfos h1.unselected  {
	font-size:1.2em;
	color:#333;
	margin-bottom:7px;
}
.storeheader .maininfos h1.selected {
	font-size:1.4em;
	color:#520654;
	margin-bottom:14px;
	text-transform:uppercase;
}
.storeheader .selected , .storeheader .unselected {
	cursor:pointer !important;
}
.storeheader .maininfos p {
	float:left;
	margin-bottom:8px;
}
.storeheader .maininfos p.reduceSize {
	width:50%;
}
.storeheader .maininfos p span, .storedetails p span {
	display:block;
	margin-left:24px;
	padding-right:8px;
}
.subIcon {
	width:16px;
	height:16px;
	margin-right:8px;
	vertical-align:middle;
}
.maininfos .subIcon, .storedetails p .subIcon {
	float:left;
}
.storeheader .mainactions {
	clear:both;
	text-align:center;
	margin:0 22px;
	border-top:1px solid #333;
}
.storeheader .mainactions span {
	display:inline-block;
	background-color:#9dad20;
	margin:4px 4px 0 4px;
	padding:2px 8px 4px 8px;
	color:white;
	vertical-align:bottom;
	text-transform:uppercase;
	cursor:pointer;
}
/*.storeheader .mainactions span:first-child {
	float:left;
}
.storeheader .mainactions span:last-child {
	float:right;
}*/
.storedetails {
	margin: 0 22px;
	padding-top:8px;
	border-top:1px solid #333;
	clear:both;
}
.storedetails p {
	padding-bottom:7px;
}
.storedetails p.link{
	cursor:pointer;
}
.footer {
	clear:both;
}
.storedetails .footer {
	height:2px;
}
.storeheader .footer {
	height:4px;
}
.hidden {
	display:none !important;
}

/*---- DIRECTIONS ----*/
#directions {
	padding:7px;
	display:none;
	background-color: white;
}

#directions-panel {
	clear:both;
	padding-top:1px;
}
#directions-panel .adp-marker {
	visibility:hidden;
}
#directions-panel .warnbox-c1, #directions-panel .warnbox-c2, #directions-panel .warnbox-content {
	background-color:#bac562;/*#9dad20;*/
	color:white;
	height:auto !important;
}
#directions-panel .adp-placemark {
	border: 1px solid #520654 !important;
	color:#520654;
	font-weight:normal;
}

/*---- SHUTTER, QR CODE & LOADING ----*/

#shutter {
	position:absolute;
	top:0;
	left:0;
	bottom:0;
	right:0;
	background-color:rgba(0,0,0,0.5);
	z-index:200;
	display:none;
}
#loading  {
	z-index:300;
	position:fixed;
	top:50%;
	left:50%;
	margin-top:-27px;
	margin-left:-27px;
	display:none;
}
#loading  img {
	width:66px;
	height:66px;
}
#qrCodePopUp  {
	z-index:300;
	position:absolute;
	padding:7px;
	background-color:white;
	border:1px solid black;
	top:50%;
	left:50%;
	margin-top:-201px;/* 403/2 */
	margin-left:-108px;
	display:none;
	/*overflow-y:auto;
	max-height:100%;*/
	width:200px;
}
#qrCodePopUp div {
	padding-bottom:7px;
}
#qrCodePopUp .message {
	clear:both;
	text-align:justify;
}
#qrCodePopUp .links {
	text-align:center;
	clear:both;
}
#qrCodePopUp .links img {
	height:24px;
	width:24px;
	vertical-align:bottom;
}
#qrCodePopUp .links img:first-child {
	padding-right:12px;
}
/*#qrCodePopUp .glass {
	text-align:center;
	clear:both;
	padding-top:4px;
}
#qrCodePopUp .glass img {
	height:30px;
	width:86px;
	vertical-align:bottom;
}*/
