html, body { height: 100%; }

* {
	/* disable mobile text inflation algorithms */
	-moz-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	text-size-adjust: 100%;
	max-height: 999999px; /* for a mobile Chrome bug: https://bugs.webkit.org/show_bug.cgi?id=FontBoosting */
}

body {
  font-family: "Trebuchet MS", Geneva, Arial, helvetica, sans-serif;
  background-color: black;
  color: white;
  /*
  font-size: 12px;
  line-height: 1.4em;
  */
  margin: 0px;
  /* min-width: 875px; */
  position: relative;
}

a,
.ui-widget-content a {
	color: #a00 !important;
	text-decoration: none;
}

	a:hover {
		text-decoration: underline;
		color: #e72929 !important;
	}

#momaLink {
	position: absolute;
	top: 0px;
	right:0px;
	width: 180px;
	height: 125px;
	z-index: 3;
}
	#momaLink img { width: 180px; height: 125px; }

#momaImg {
	position: absolute;
	top: 0px;
	right:0px;
	width: 224px;
	height: 176px;
	z-index: 1;
}

img {
	display: block;
	border: none;
}

input, textarea {
	font-family: "Trebuchet MS", Geneva, Arial, helvetica, sans-serif;
	font-size: 14px;
}

.header,
.infoBox {
	max-width: 800px;
}

.header {
	position: relative;
	margin: 0 auto;
	display: block;
	color: white;
	z-index: 2;
	padding: 5px 0;
	overflow: auto; /* float clearing */
}

.header a { color: white; }

h1,h2 {
	line-height: 1.0em;
}

	.beerhunterGuyImage {
		margin: 0px;
		float: left;
		margin-top: 18px;
	}

	.beerhunterTextImage {
		margin: 0;
	}

	#asterisk { cursor: pointer; }

	.headerText {
		font-size: 16px;
		line-height: 1.25em;
		margin-left: 141px;
		margin-right: 11px;
		padding-top: 3px;
	}

	@media screen and (max-width: 645px) {
		.beerhunterGuyImage { display: none; }
		.headerText { margin-left: 11px; }
	}

	@media screen and (max-width: 515px) {
		.beerhunterTextImage { max-width: 100%; }
	}

	.headerText strong,
	.headerText .count,
	.headerText .location,
	.headerText .declaredTime {
		font-weight: bold;
		color: #f00;
	}

	.headerText .location,
	.headerText .declaredTime,
	.headerText .time {
		cursor: pointer;
	}

	.headerText .declaredTime { }

	.headerText .time {
		font-style: italic;
	}

	.provinceText  {
		font-size: 16px;
		font-weight: bold;
		color: #fff;
	}
		a.provinceSelect:link {
			color: #fff;
			text-decoration: none;
		}
		a.provinceSelect:visited {
			color: #f00;
			text-decoration: none;
		}
		a.provinceSelect:hover {color: #FFF; text-decoration: none;}
		a.provinceSelect:active {color: #0000FF; text-decoration: none;}


	.smallPrint {
		font-size: 11px;
		color: #bbb;
	}

	form.locationSelect {
		padding-top: 10px;
		font-family:"Trebuchet MS", Geneva, Arial, helvetica, sans-serif;
		color: white;
		font-size: 12px;
		line-height: 1.4em;
		margin-top: 0;
		margin-bottom: 12px;
		padding: 10px 0 0 0;
	}

		form.locationSelect option {
			padding-left: 15px;
		}

		form.locationSelect optgroup {
			padding-top: 7px;
			padding-left: 5px;
			font-style: normal;
		}

		/*

		form.locationSelect input {
			xheight: 16px;
			xwidth: 100px;
			xmargin-bottom: -2px;
			xpadding: 1px 4px;
		}

		form.locationSelect select {
			xheight: 20px;
			xmargin-bottom: -1px;
		}

		form.locationSelect input,
		form.locationSelect select {
			xbackground-color: #ddd;
			xfont-size: 13px;
			xfont-family: sans-serif;
		}

		form.locationSelect .focus {
			xbackground-color: White;
		}

		*/

		form.locationSelect strong {
			font-weight: bold;
			font-size: 14px;
			color: #f00;
		}

#map {
	margin: 0 auto;
	text-align: left;
	color: black;
	clear: left;
	position: absolute;
	top: 152px;
	bottom: 45px;
	left: 0;
	right: 0;
}

.storetype {
	font-size: 16px;
}

div.infoBox {
	box-sizing: border-box;
	color: black;
	background-image: url(keystrip.jpg);
	background-color: #eaeaea;
	background-repeat: repeat-x;
	padding: 10px;
	text-align: left;
	margin: 0 auto;
	/* border: 1px red solid; */
}

#dialogInfoBox {
	padding: 0;
}

.formOption {
	display: block;
	margin: 0.5em 0;
	padding-left: 1.25em;
}

	.formOption .radioW {
		margin-left: -1.5em;
		width: 1.5em;
		display: inline-block;
	}

.dateSelect h2 {
	border-bottom: 1px solid #333;
	font-size: 1.125em;
	font-weight: normal;
	margin: 0.8375em 0 0.5em;
}

.moreInfo {
	clear: both;
}

.key {
}

	.key p {
		margin: 0 0 1em;
		font-size: 0.8125em;
		clear: left;
	}

	.key img {
		float: left;
		margin-right: 5px;
		margin-top: 3px;
	}

div.storeInfo {
	display: block;
	position: relative;
	/*width: 265px; for Google infoWindow problem that crushes tables in Mozilla */
	/* width: 280px; */
	max-width: 315px;
}

.gm-style {
	font-family: "Trebuchet MS", Geneva, Arial, helvetica, sans-serif;
}

div.hours {
	clear: right;
	white-space: nowrap; /* to keep the two columns next to each other */
}

	div.hours > * { white-space: normal; }

ul.hoursList {
	list-style: none;
	padding: 0;
	width: 50%;
	display: inline-block;
	vertical-align: top;
	margin: 1em 0;
}

	ul.hoursList:first-of-type { margin-right: 0.5em; }

	ul.hoursList li.day {
		padding: 0 2px;
		white-space: nowrap;
	}

		ul.hoursList li.day .dayName {
			display: inline-block;
			font-weight: bold;
			margin-right: 0.375em;
			text-align: right;
			width: 2.25em;
		}

		ul.hoursList li.day .hours {
			text-transform: lowercase;
		}

	ul.hoursList li.day.current {
		background-color: #cfc;
	}

div.hours table {
	padding:0;
	margin:0;
}

	div.hours table td {
		margin: 0;
		padding: 0 1px;
	}

	div.hours table td.day {
		padding-left: 5px;
		text-align: right;
	}

	div.hours table td.open {
		text-align: right;
	}

	div.hours table td.close {
		text-align: left;
		padding-right: 5px;
	}

	div.hours table td.closed {
		text-align: left;
		font-style: italic;
	}

	div.hours table td.todayOpen {
		background-color: #cfc;
	}

	div.hours table td.todayClosed {
		background-color: #fcc;
	}

.storename {
	margin-bottom: 0.5em;
}

img.storeImage {
	display: block;
	margin: 3px 0 3px 8px;
	position: relative;
	float: right;
}

@media screen and (max-width: 399px) {
	div.hours { white-space: normal; }
	ul.hoursList {
		width: auto;
		margin: 0 0 1em;
	}
	ul.hoursList:first-of-type { margin: 1em 0 0; }
	div.storeInfo { max-width: auto; }
	/*
	img.storeImage {
		float: none;
		margin: 3px 0;
	}
	*/
}

div.footnotes {
	margin: auto;
	padding: 5px 0;
	text-align: center;
}

div.footnotes a {
	color: #ccc !important;
}


div.badMathLogo {
	text-align: center;
	font-family : verdana, Geneva, Arial, Helvetica, sans-serif;
 	font-size: 10px;
 	margin: 0 auto 0;
 	padding: 10px 0 12px;
}

	body > div.badMathLogo {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
	}

	@media screen and (max-height: 383px) {
		body > div.badMathLogo { display: none; }
		#map { bottom: 0; }
		.beerhunterTextImage {
			max-height: 37px;
			margin-left: 10px;
		}
	}

	div.badMathLogo a {
		text-decoration: none;
		color: #626262 !important;
	}

		div.badMathLogo a:hover {
			color: white !important;
		}

		div.badMathLogo a:hover img {
			background-position: 0 -25px;
		}

	div.badMathLogo img {
		display: inline;
		width: 25px;
		height: 25px;
		border: none;
		margin: 0 8px;
		background-image: url(badMathLogo.gif);
		background-repeat: no-repeat;
		vertical-align: middle;
		margin-top: -2px;
	}
.cityNames {
	line-height: 16px;
}

		a.cityNames:link {
			/* background-color: #DADADA; */
			background-color: #fffdd7;
			color: #000 !important;
			text-decoration: none;
		}
		a.cityNames:visited {
			color: #000 !important;
			text-decoration: none;
		}
		a.cityNames:hover {
			background-color: #f7f7f7;
			color: #000 !important;
			text-decoration: none;
		}
		a.cityNames:active {color: #0000ff !important; text-decoration: none;}

img.deliciousLogo {
	display: inline;
	float: left;
	margin-right: 10px;
	margin-left: 10px;
	width: 16px;
	height: 16px;
}

.ui-dialog.fullScreen {
	bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    width: auto !important;
    position: fixed !important;
}

div.ui-dialog.fullScreen .ui-dialog-content {
	bottom: 0;
    height: auto !important;
    left: 0;
    margin-bottom: 69px;
    margin-top: 46px;
    position: absolute;
    right: 0;
    top: 0;
}

	div.ui-dialog.fullScreen #storeInfoDialog {
	    background-color: white;
    	color: black;
	}
	div.ui-dialog.fullScreen #storeInfoDialog .storeInfo { max-width: none; }
	div.ui-dialog.fullScreen #storeInfoDialog .storetype { font-size: 1.25em; }


div.ui-dialog.fullScreen .ui-dialog-buttonpane {
    bottom: 0;
    height: 56px;
    left: 0;
    position: fixed;
    right: 0;
}

html.fullScreenDialogOpen,
html.fullScreenDialogOpen body {
	height:100%;
	overflow: hidden;
}

