/*	General
************************************************************ */

html {
	height: 100%;
}

body {
	width: 100%;
	height: 100%;
	background: #eaeaea;
	overflow-y: hidden;
	font: 14px "Proxima Nova", Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

a {
	color: #000;
	text-decoration: none;
	-webkit-transition: color .2s ease-in-out;
	   -moz-transition: color .2s ease-in-out;
	     -o-transition: color .2s ease-in-out;
	        transition: color .2s ease-in-out;
}

a:active {
	opacity: .8;
}

p sup {
	vertical-align: super;
	font-size: .65em;
	line-height: 100%;
}

.clear {
	clear: both;
}

/*	Loader
************************************************************ */

#loader {
	position: absolute;
	top: 90%;
	opacity: .9;
	width: 100%; height: 0;
	background: url(../img/loader.gif) center center no-repeat, url(../img/loading.png) center center no-repeat, #fff;
	background-size: 32px, 90px;
	z-index: 1000;
	-webkit-transition: all .75s ease-in-out;
	   -moz-transition: all .75s ease-in-out;
	     -o-transition: all .75s ease-in-out;
	        transition: all .75s ease-in-out;
	-webkit-transform: scaleY(.5);
	   -moz-transform: scaleY(.5);
	     -o-transform: scaleY(.5);
	        transform: scaleY(.5);
}

	#loader.on {
		top: 0;
		opacity: 1;
		height: 100%;
		-webkit-transform: scaleY(1);
		   -moz-transform: scaleY(1);
		     -o-transform: scaleY(1);
		        transform: scaleY(1);
	}


/*	Noscript
************************************************************ */

noscript {
	height: 100%; width: 100%;
	display: block;
	position: absolute;
	top: 0;
	z-index: 2000;
	background: #fff url(../img/noscript.jpg) center center no-repeat;
	font-size: 0;
}


/*	Shake & loading
************************************************************ */

#shake, #loading {
	height: 70px; width: 205px;
	display: none;
	position: absolute;
	top: 50%; left: 50%;
	margin-top: -35px; margin-left: -102px;
	z-index: 900;
	background: url(../img/shaketip.png) center center no-repeat;
	background-size: 205px;
	opacity: 1;
	-webkit-transition: all .25s ease-out;
	   -moz-transition: all .25s ease-out;
	     -o-transition: all .25s ease-out;
	        transition: all .25s ease-out;
}

#loading {
	background: url(../img/loadingtip.png) center center no-repeat;
}

#shake.off, #loading {
	display: block;
	opacity: 0;
	-webkit-transform: scaleY(0);
	   -moz-transform: scaleY(0);
	     -o-transform: scaleY(0);
	        transform: scaleY(0);
}

#loading.on {
	opacity: 1;
	-webkit-transform: scaleY(1);
	   -moz-transform: scaleY(1);
	     -o-transform: scaleY(1);
	        transform: scaleY(1);
}


/*	Header
************************************************************ */

#pagehead {
	position: absolute;
	top: 23px;
	height: 115px; width: 100%;
	background: #eaeaea;
	background: #eaeaea url(../img/fallbacks/headfoot_border.png) bottom repeat-x;
	background: #eaeaea -webkit-linear-gradient(0deg, #3c3c3c 0, #666 15px, rgba(0,0,0,0) 16px);
	background: #eaeaea -moz-linear-gradient(0deg, #3c3c3c 0, #666 15px, rgba(0,0,0,0) 16px);
	background: #eaeaea linear-gradient(0deg, #3c3c3c 0, #666 15px, rgba(0,0,0,0) 16px);
	z-index: 100;
}

	#pagehead #logo {
		height: 71px; width: 186px;
		margin: 14px 0 0 22px;
	}

		#pagehead #logoanchor {
			display: block;
			float: left;
			position: relative;
			z-index: 150;
		}

	#pagehead #aprlogo {
		float: right;
		height: 65px; width: 65px;
		margin: 17px 35px 0 0;
	}

	#pagehead #mainmenu {
		margin: 0 auto;
		height: 100px;
		text-align: center;
		text-transform: uppercase;
		font-weight: bold;
		white-space: nowrap;
		font-size: 18px;
		line-height: 100px;
		-webkit-user-select: none;
		   -moz-user-select: -moz-none;
		        user-select: none;
		-webkit-user-drag: none;
		   -moz-user-drag: -moz-none;
		        user-drag: none;
	}

		#pagehead #mainmenu li {
			display: inline;
			position: relative;
			margin: 0; padding: 0;
			z-index: 120;
		}

			#pagehead #mainmenu li a {
				margin: 0;
				padding: 1.5em .5em;
			}

				#pagehead #mainmenu li a:hover {
					color: #0d5678;
				}

			#pagehead #mainmenu li:after {
				content: " • ";
				font-family: Verdana, Tahoma, Arial, sans-serif;
				font-size: .666em;
				vertical-align: .2em;
			}

			#pagehead #mainmenu li:last-child:after {
				content: "";
			}

			#pagehead #mainmenu li.active {
				background: -webkit-radial-gradient(circle, rgba(255,255,255,1), rgba(255,255,255,0));
				   background: -moz-radial-gradient(circle, rgba(255,255,255,1), rgba(255,255,255,0));
				        background: radial-gradient(circle, rgba(255,255,255,1), rgba(255,255,255,0));
				padding: 38px 95px 40px 110px;
				margin: -38px -95px -40px -110px;
				z-index: 110;
			}

				#pagehead #mainmenu li.active a {
					color: #0f9bdc;
				}

				#pagehead #mainmenu li.active:before {
					content: "";
					position: absolute;
					top: 100%; left: 50%;
					width: 0; height: 0;
					border: 7px solid rgba(0,0,0,0);
					margin-left: -7px;
					margin-top: 14px;
					border-top-color: #3e3e3e;
				}

					#pagehead #mainmenu #aboutbtn.active:before {
						border: 0;
					}


/*	Submenu
************************************************************ */

#submenu {
	opacity: 0;
	height: 0; width: 100%;
	position: absolute;
	top: 0;
	z-index: 90;
	-webkit-transition: all .25s ease;
	   -moz-transition: all .25s ease;
	     -o-transition: all .25s ease;
	        transition: all .25s ease;
	-webkit-user-select: none;
	   -moz-user-select: -moz-none;
	        user-select: none;
	-webkit-user-drag: none;
	   -moz-user-drag: -moz-none;
	        user-drag: none;
}

	#submenu.on {
		opacity: 1;
		top: 138px;
	}


	#submenu ul {
		background-color: #fff;
		background-color: rgba(0,0,0,.9);
		position: absolute;
		top: -138px;
		width: 100%; height: auto;
		margin: 0;
		opacity: 0;
/*
		-webkit-transform: translateY(-115px);
		   -moz-transform: translateY(-115px);
		     -o-transform: translateY(-115px);
		        transform: translateY(-115px);
*/
		text-align: center;
		text-transform: uppercase;
		font-weight: bold;
		font-size: 16px;
		line-height: 50px;
		color: #fff;
		z-index: 91;
		-webkit-transition: all .25s ease;
		   -moz-transition: all .25s ease;
		     -o-transition: all .25s ease;
		        transition: all .25s ease;
	}

		#submenu ul.on {
/*
			-webkit-transform: translateY(0);
			   -moz-transform: translateY(0);
			     -o-transform: translateY(0);
			        transform: translateY(0);
*/
			opacity: 1;
			top: 0;
		}

		#submenu ul li {
			display: inline;
			position: relative;
			margin: 0; padding: 0;
		}

			#submenu ul li:first-child {
				margin-left: 0px;
			}


			#submenu ul li a {
				margin: 0;
				padding: .75em .5em;
				color: #fff;
			}

				#submenu ul a:hover {
					color: #bbb;
				}

			#submenu ul li:after {
				content: " •";
				font-family: Verdana, Tahoma, Arial, sans-serif;
				font-size: .666em;
				vertical-align: .2em;
			}

			#submenu ul li:last-child:after {
				content: "";
			}

				#submenu ul li.active a {
					color: #999;
				}


/*	Map
************************************************************ */

#map {
	position: absolute;
	left: 0; right: 0;
	top: 115px;
	bottom: 75px;
}

#map a[title="Click to see this area on Google Maps"] {
	display: none !important;
}


/*	About
************************************************************ */

#about {
	opacity: .8;
	width: 100%; height: 0;
	position: relative;
	top: -100%;
	z-index: 80;
	color: #000;
	background: rgba(255,255,255,.9);
	-webkit-transition: all .25s ease-in-out;
	   -moz-transition: all .25s ease-in-out;
	     -o-transition: all .25s ease-in-out;
	        transition: all .25s ease-in-out;
	-webkit-backface-visibility: hidden;
	overflow: hidden;
}

	#about.on {
		top: 0;
		opacity: 1;
		height: 100%;
	}

	#about #closeabout {
			opacity: 0;
			position: fixed;
			top: 0; right: 35px;
			height: 30px; width: 30px;
			font-size: 0;
			background: #fff url(../img/close.png) center center no-repeat;
			background-size: 20px;
			-webkit-transition: all .25s ease-in-out;
			   -moz-transition: all .25s ease-in-out;
			     -o-transition: all .25s ease-in-out;
			        transition: all .25s ease-in-out;
	}

		#about.on #closeabout {
			top: 150px;
			opacity: 1;
		}

	#about #aboutwrap1 {
		position: absolute;
		top: 115px;
		bottom: 75px;
		left: 0; right: 0;
		overflow-y: auto;
		overflow-x: hidden;
		-webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0)), color-stop(10%, rgba(0,0,0,1)), color-stop(90%, rgba(0,0,0,1)), to(rgba(0,0,0,0)));
		-webkit-overflow-scrolling: touch;
	}

	#about #aboutwrap2 {
		margin: 50px auto;
		width: 600px;
		padding-left: 110px;
	}

#about h1 {
	font-size: 52px;
	font-weight: lighter;
	text-transform: uppercase;
	padding-bottom: 25px;
	margin-top: -10px;
}

	#about h1 i {
		text-transform: lowercase;
	}

#about p {
	font-weight: lighter;
	font-style: italic;
	font-size: 16px;
	line-height: 20px;
	padding-bottom: 15px;
}

#about p:last-child {
	padding-bottom: 0 !important;
}

#about ul {
	margin-left: 20px;
	padding-left: 20px;
}

#about ul li {
	font-weight: lighter;
	font-style: italic;
	font-size: 16px;
	line-height: 20px;
	padding-bottom: 5px;
	list-style:  circle;
}

#about #brands {
	padding-top: 1em;
	width: 100%; height: auto;
}

/*	Footer
************************************************************ */

#pagefoot {
	position: absolute;
	bottom: 0;
	z-index: 100;
	width: 100%; height: 60px;
	padding-top: 15px;
	background: #eaeaea url(../img/fallbacks/headfoot_border.png) top repeat-x;
	background: #eaeaea -webkit-linear-gradient(top, #666 0, #3c3c3c 15px, rgba(0,0,0,0) 16px);
	   background: #eaeaea -moz-linear-gradient(top, #666 0, #3c3c3c 15px, rgba(0,0,0,0) 16px);
	        background: #eaeaea linear-gradient(top, #666 0, #3c3c3c 15px, rgba(0,0,0,0) 16px);
	overflow: hidden;
	color: #000;
	font-size: 12px;
	line-height: 60px;
}

	#pagefoot #footcopy {
		float: right;
		margin: 0 35px 0 0;
		font-weight: lighter;
	}

		#pagefoot #footcopy a {
			font-weight: normal;
			color: #0d5678;
		}

			#pagefoot #footcopy a:hover {
				color: #0f9bdc;
			}



/*	Footer: iSTYLE Near My Location
************************************************************ */

#findistyle {
	/* Block styles: */
	display: block;
	float: left;
	margin: 17px 0 0 35px;
	padding: 2px 7px 0 20px;
	min-width: 160px;
	border-radius: 2px;

	/* Background: */
	background-color: #3e3e3e;
	background: #3e3e3e url(../img/findnearest.png) 5px center no-repeat;
	background-size: 15px;

	/* Text styles: */
	line-height: 25px;
	font-size: 12px;
	color: #fff;
	font-style: italic;
	text-transform: uppercase;
	text-align: center;
	white-space: nowrap;
	text-shadow: 0 0 1px rgba(0,0,0,.2);
	-webkit-transition: none;
	   -moz-transition: none;
	     -o-transition: none;
	        transition: none;
	-webkit-user-select: none;
	   -moz-user-select: -moz-none;
	        user-select: none;
	-webkit-user-drag: none;
	   -moz-user-drag: -moz-none;
	        user-drag: none;
}

	#findistyle:first-letter {
		text-transform: lowercase;
	}

	#findistyle:hover {
		box-shadow: inset 0 -10px 20px rgba(0,0,0,.3);
	}

	#findistyle:active {
		opacity: 1;
		position: relative;
		top: 1px;
	}


/*	Marker tooltip
************************************************************ */

.tooltip {
	width: 499px;
	min-height: 180px;
	z-index: 500;
	background: #eaeaea;
	color: #000;
	padding: 16px;
	margin-top: 0;
	opacity: .9;
	border: 1px solid #666;
}

	.tooltip header {
		padding-bottom: 5px;
		border-bottom: 1px solid #bbb;
		border-bottom: 1px solid rgba(0,0,0,.2);
		margin-bottom: 10px;
		background: #eaeaea;
	}

	.tooltip header h1 {
		float: left;
		text-transform: uppercase;
		font-weight: bold;
		font-size: 18px;
		white-space: nowrap;
	}

		.tooltip header h1:first-letter {
			text-transform: lowercase;
		}

		.tooltip header a {
			float: right;
			height: 18px; width: 15px;
			padding: 10px; margin: -10px;
			font-size: 0;
			background: url(../img/close.png) center center no-repeat;
			background-size: 15px;
			cursor: pointer;
		}

.tooltip .details {
	float: left;
	width: 55%;
}

.tooltip .timetable {
	float: right;
	width: 40%;
}

	.tooltip p {
		padding-bottom: 15px;
		line-height: 17px;
		color: #1a1a1a;
		color: rgba(0,0,0,.8);
	}

		.tooltip .details p:last-child,
		.tooltip .timetable p:last-child {
			padding-bottom: 0;
		}

		.tooltip .address,
		.tooltip .timetable .title {
			font-weight: bold;
		}

		.tooltip p a {
			color: #0d5678;
		}

			.tooltip p a:hover {
				color: #0f9bdc;
			}

	.tooltip:after {
		content: "";
		position: absolute;
		top: 100%; left: 50%;
		width: 0; height: 0;
		border: 7px solid rgba(0,0,0,0);
		margin-left: -6px;
		border-top-color: #666;
		opacity: .9;
	}

.tooltip .timetable p strong {
	float: right;
}

.tooltip .timetable p {
	padding-bottom: 0;
}

.tooltip .timetable .title {
	padding-bottom: 15px;
}

#iphone_tooltip {
	position: absolute;
	opacity: .5;
	top: 0; left: 0;
	width: 100%; height: 0;
	z-index: 9999;
	background: #eaeaea;
	-webkit-transition: all .25s ease-out;
	   -moz-transition: all .25s ease-out;
	     -o-transition: all .25s ease-out;
	        transition: all .25s ease-out;
}

#iphone_tooltip .tooltip {
	display: none;
}
