/* Redefinition of basic elements */

html, body {
	margin: 0;
	padding: 0;
}

body {
	padding: 0.2em;
}

a img {
	border: none;
}

h1, h2, h3 {
	line-height: 1.2em;
	padding: 0;
}

h1 {
	margin: 10px 0;
	font-size: 142%; 
}

h2 { 
	margin: 0 0 6px 0;
	font-size: 133%; 
	font-weight: normal;
}

h3 {
	margin: 0 0 5px 0;
	font-size: 100%; 
	font-weight: bold;
}

h4 {
	margin: 0;
	font-size: 100%; 
	font-weight: bold;
}

p {
	margin: 0 0 10px 0;
}

ul {
	margin: 0 0 1em 0;
	padding: 0 0 0 1em;
}

ul li {
	padding: 0 0 4px 0;
}

/* Major layout blocks */

#container {
	padding: 5px;
}

#header {
	margin: 2px 2px 8px 2px;
	font-size: 142%;
	line-height: 50px;
}

#header img {
	float: left;
}

#header.homehead {
	padding-bottom: 0;
}

#header.homehead img {
	float: none;
	margin: 0;
}

#header a {
	text-decoration: none;
}

#footer {
	height: 2em;
	margin: 1.5em 0;
}



/* Forms */

form {
	margin: 0 0 1em 0;
	padding: 0;
}

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

.combobutton, .submitbutton {
	font-size: x-small;
}

.inputcombo .forminput {
	font-size: 100%;
	float: left;
	width: 60%;
	padding: .2em;
}

.inputcombo .combobutton, .inputcombo .submitbutton {
	font-size: 93.75%;
	padding: 0 .2em;
	margin-left: .3em
}

.formbuttons {
  margin: 10px;
  text-align: center;
  font-weight: bold;
}



/* Navigation and results lists */
/* Many smartphones don't correctly interpret "display:block" for inline elements like <a> */

.nav {
	margin: 0.5em 0 1em 0;
	padding: .5em;
	font-size: 100%;
	line-height: 1.75em;
}

.secondary {
	margin: 1em 0;
	padding: .4em;
	font-size: 95%;
	line-height: 1.6em;
}

.paging {
	margin: 0;
	padding: .4em;
	line-height: 1.6em;
}

.bottomnav {
	margin: 1.5em 0 0.75em 0;
	padding: .4em;
	line-height: 1.5em;
	background-color: @@@navbar_background_color@@@;
	font-size: 93%;
}

.bottomnav a {
	color: @@@navbar_text_color@@@;
}

.results {
	font-size: 100%;
	line-height: 1.75em;
	margin-bottom: 1em;
}

ul.nav, ul.secondary, ul.results {
	list-style-type: none;
	margin: 0.25em 0 1em 0;
	padding: 0;
}



/* Specific content formatting */

.focal {
	padding: 0.5em;
	margin: 0.25em 0 1em 0;
}

.nonfocal {
	padding: 0;
	margin: 0.25em 0 0.5em 0;
}

.paging {
	text-align: left;
	margin: 1em 0;
}

.legend {
	margin-top: 0.5em;
	font-size: 79%;
	line-height: 1.36em;
}

.smallprint {
	font-size: 86%;
	font-weight: normal;
	line-height: 1.36em;
}

.fineprint {
	font-size: 71%;
	line-height: 1.1em;
}

.clear {
	clear: both;
}

.label {
	width: 3.5em;
	padding-right: 3px;
}

.value {
	font-size: 100%;
}

.divider {
	height: 0;
	margin: 0.75em 0;
	border: none;
	border-top: 1px dotted #999;
}

hr {
	display: none;
}

.bb {
	display: none;
}

.image {
	text-align: center;
	padding-bottom: .4em;
}

.hidden {
	visibility: hidden;
}

.maintable {
	width: 100%;
	background-color: #fff;
}

.maintable td, .maintable th {
	padding: .21em .36em;
}

.centered {
	text-align: center
}

.fontsize {
	font-size: 93%;
	margin: 1.5em 0;
}

.fontsmall {
	font-size: 5pt;
}

.fontmedium {
	font-size: 8pt;
}

.fontlarge {
	font-size: 11pt;
}

.fontxlarge {
	font-size: 13pt;
}

/* Iconically coded links - e.g., Shuttle Schedule, 3DOWN, etc. */

a.icon {
	background-repeat: no-repeat;
	background-position: 0px 3px;
}

span.icon {
	background-repeat: no-repeat;
	background-position: 0 0;
	padding-right: 6px;
}

.icon span {
	padding: 3px 0 3px 17px;
	line-height: 1.14em;
}

.gps {
	background-image: url(/common/images/gps.gif);
}

.sch {
	background-image: url(/common/images/schedule.gif);
}

.ok {
	background-image: url(/common/images/ok.gif);
}

.alert {
	background-image: url(/common/images/alert.gif);
}

.warning {
	background-image: url(/common/images/warning.gif);
}

.critical {
	background-image: url(/common/images/critical.gif);
}

.running {
	background-image: url(/common/images/shuttle.gif);
}


/* Tabs */

.tabs {
	margin: 1.5em 0 1em 0;
	color: @@@secondary_text_color@@@;
}

.tabs .active {
	/* Text label of currently selected tabs */
	font-weight: bold;
	color: @@@strong_text_color@@@;
}

.tabs.top {
	margin-top: 0.25em;
}

.tabs a {
	font-weight: normal;
}


.iconlegend {
	font-size: 80%;
	margin-bottom: 1.5em;
}

.iconlegend img {
	margin-right: 3px;
	position: relative;
	top: 2px;
}

.iconlabel {
	float: right;
	margin-left: 10px;
}

.dininghall {
	margin-left: 4px;
}

.dl td {
	padding: 0 4px 10px 0;
}

.footertable {
  border: none;
  margin: 1.5em .5em;
  width: auto;
}
.footertable th,
.footertable td {
  font-size: 70.6%;
  line-height: 1.33em;
  padding: 0 .25em;
  margin: 0;
  text-align: left;
}
.footertable th {
  font-weight: bold;
  text-align: right;
  white-space: nowrap;
}


/* Freeform content module - basic styles to format unstyled raw HTML */

.staticContentBody {
	margin: 0.5em;
	background-color: #fff;
	padding: 0.5em;
}

.staticContentBody h2 {
	font-size: 123%;
	font-weight: normal;
	color: #000;
	margin: 0 0 1em 0;
}

.staticContentBody h3 {
	font-size: 100%;
	font-weight: bold;
	color: #000;
	margin: 0 0 0.5em 0;
}

.staticContentBody h4 {
	font-size: 100%;
	font-weight: bold;
	color: #333;
	margin: 0 0 1em 0;
}

.staticContentBody ul {
	margin-bottom: 1.5em;
}


