body {
	margin: 0;
	padding: 0;
 	overflow:-moz-scrollbars-vertical;
	font: 90% Arial, Verdana, Helvetica, sans-serif;
	line-height: 1.5;
	background-image: url('/images/main-bg.jpg');
	background-repeat: repeat-x;
	background-color: #ffffff;
	text-align: center;
}
h1,h2,h3,h4,h5,h6 {
	margin: 0;
	padding:0;
}
#topbar {
	position: relative;
	width: 760px;
	margin: auto;
	padding: 0;
	background-color: #000066;
	height: 20px;
}
#header {
	position: relative;
	width: 760px;
	margin: auto;
	padding: 0;
	background-image: url('/images/header-bg.jpg');
	background-repeat: no-repeat;
	height: 100px;
}
#schoolname {
	float: left;
	margin-top: 27px;
	margin-left: 150px;
	color: #663300;
	font-size: 200%;
}
#searchbar {
	position: relative;
	width: 760px;
	margin: auto;
	padding: 0;
	background-color: #0a0a47;
	height: 30px;
}
#wrapper {
	position: relative;
	width: 760px;
	margin: auto;
	padding: 0;
	background-image: url('/images/contentbg.gif');
	background-repeat: repeat-y;
	background-color: #FFFFFF;
	text-align: left; /* this overrides the text-align: center on the body element. */
	border-bottom: 1px solid #000066;
}
#contenttop {
	padding: 0;
	margin: 0;
	background-image: url('/images/contenttop.gif');
	background-repeat: no-repeat;
	height: 59px;
}
#content {
	padding: 0 50px;
	margin: 0 20px;
}
#bottombar {
	position: relative;
	width: 760px;
	margin: auto;
	padding: 0;
	background-color: #000066;
	height: 8px;
}
.osapplink {
	float: left;
	margin-left: 20px;
	color: #FFF;
	font-size: 80%;
}
.osapplink a {
	color: #FFF;
}
.mainsitelink {
	float: right;
	margin-right: 20px;
	color: #FFF;
	font-size: 80%;
}
.mainsitelink a {
	color: #FFF;
}
.searchbox {
	float: left;
	margin-left: 20px;
	margin-top: 4px;
	color: #FFF;
}
.chooseyearbox {
	float: right;
	margin-right: 20px;
	color: #FFF;
	margin-top: 4px;
}
#searchsomeone {
	background-color: #ffcc00;
	padding: 10px;
	margin-bottom: 10px;
	border: 10px solid #f8f8f8;
}
#registerdetails {
	background-color: #ccccff;
	padding: 10px;
	margin-bottom: 10px;
	border: 10px solid #f8f8f8;
}
#signin {
	background-color: #ffff66;
	padding: 10px;
	margin-bottom: 10px;
	border: 10px solid #f8f8f8;
}
#forgotpass {
	background-color: #ffff66;
	padding: 10px;
	margin-bottom: 10px;
	border: 10px solid #f8f8f8;
}

/* Navigation Styling */

#navigation {
	margin-right: 30px;
	width: 240px; /* nav width */
	height: 25px;
	float: right;
	text-align: center;
	/*background-image: url("/images/loginbox-bg.gif");*/
	background-color: #FFCC00;
}
#navigation ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}
#navigation li {
	display: inline;
	font-size: 1em;
	padding: 0 2px 0 2px;
	font-size: 90%;
}
#navigation li a {
	text-decoration: none;
	color: #000;
}
#navigation a:hover {
	/*color: #FFFF66;*/
	color: #333333;
	text-decoration: underline;
}
#navigation a.highlightednav {
	text-decoration: underline;
}
#navigation a.highlightednav:hover {
	color: #FFFF66;
}

/* Footer Styling */
#footer {
	position: relative;
	width: 760px;
	margin: auto;
	padding: 10px 0 10px 0;
	background-color: #4368bb;
	font-size: 80%;
	text-align: center;
	color: #CCCCCC;
}

#footer p {
	margin: 0;
}

#footer ul {
	list-style-type: none;
	padding: 5px 0 5px 0;
	margin: 0;
	border: none;
}
#footer li {
	display: inline;
	padding: 0 3px 0 3px;
	vertical-align: bottom;
}
#footer a {
	color: #CCCCCC;
	text-decoration: none;
}
#footer a:hover {
	color: #CCCCCC;
	text-decoration: underline;
}

/* Search Results Styling */
#year-list {
	margin-left: 0;
	padding-left: 0;
	list-style-type: none;
}
#year-list li {
	float: left;
	width: 220px;
}
.reg {
	background-image: url("/images/user_green.png");
	background-repeat: no-repeat;
	background-position: 4px;
	padding: 3px 1px 3px 25px;
	margin-bottom: 10px;
	margin-left: 25px;
	font-size: 12px;
	line-height: 18px;
	background-color: #FFFFCC;
	border: 1px solid #FFCC99;
}
.unreg {
	background-image: url("/images/user_red.png");
	background-repeat: no-repeat;
	background-position: 4px;
	padding: 3px 1px 3px 25px;
	margin-bottom: 10px;
	margin-left: 25px;
	font-size: 12px;
	line-height: 18px;
	background-color: #fafafa;
	border: 1px solid #FFCC99;
}
.dec {
	background-image: url("/images/cross.png");
	background-repeat: no-repeat;
	background-position: 4px;
	padding: 3px 1px 3px 25px;
	margin-bottom: 10px;
	margin-left: 25px;
	font-size: 12px;
	line-height: 18px;
	background-color: #f0f0f0;
	border: 1px solid #FFCC99;
}
.small-grey {
	font-size: 80%;
	color: #666666;
}
a.searchadv:link, a.searchadv:visited {
	color: #FFFFFF;
	text-decoration: underline;
	font-size: 80%;
}

table.zebra {
	padding: 0;
	margin: 0;
}

table.zebra th {
	font: bold 10px Arial, Helvetica, sans-serif;
	border-left: 1px solid #e2e6cc;
	border-bottom: 1px solid #e2e6cc;
	border-right: 1px solid #e2e6cc;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-align: left;
	padding: 6px 6px 6px 12px;
}
table.zebra td {
	border-bottom: 1px solid #e2e6cc;
	padding: 6px 6px 6px 12px;
	border-right: 1px solid #e2e6cc;
}
table.zebra tr.even td {
	background: #fff;
	color: #4f6b72;
}
table.zebra tr.even td.alert {
	background: #FFCCFF;
	color: #000000;
	border-bottom: 2px solid #CC0033;
}
table.zebra tr.even th {
	color: #4f6b72;
	background: #fff;
}
table.zebra tr.odd td {
	background: #f4f5e4;
	color: #797268;
}
table.zebra tr.odd td.alert {
	background: #FFCCFF;
	color: #000000;
	border-bottom: 2px solid #CC0033;
}
table.zebra tr.odd th {
	color: #797268;
	background: #f4f5e4;
}
table.zebra tr.over td {
	background: #e2e6cc;/*#bcd4ec;*/
}
table.zebra tr.over th {
	background: #e2e6cc; /*#bcd4ec;*/
}
table.zebra tr.none td {
	border-right: none;
}
table.zebra tr.firstrow th {
	border-top:  1px solid #e2e6cc;
}
table.zebra tr.firstrow td {
	border-top:  1px solid #e2e6cc;
}

/* Validation Error Styling */
/*label.error {
	color: red;
	font-style: italic;
	background:url('/images/validation_bg.gif') no-repeat 2px 1px;
	padding-left:17px;
	font-size:.8em;
	margin-top:4px;
	display: block;
}
div.error {
	display: none;
}
input {	border: 1px solid #999999; }
input:focus { border: 1px dotted black; }*/
input.error { border: 1px dotted red; background-color: #FFFFCC;}
select.error { border: 1px dotted red; background-color: #FFFFCC;}
textarea.error { border: 1px dotted red; background-color: #FFFFCC;}

#searcherror {
	background-color: #FFCCFF;
	width: 758px;
	margin: auto;
	border: 1px dotted red;
	display: none;
	text-align: left;
	padding: 5px 0;
}
#searchmainerror {
	background-color: #FFCCFF;
	width: 60%;
	margin: auto;
	border: 1px dotted red;
	display: none;
	padding: 5px 0;
}
#signinerror {
	background-color: #FFCCFF;
	width: 200px;
	margin: auto;
	text-align: center;
	border: 1px dotted red;
	display: none;
}

/* Highslide Styling */
.highslide-html {
    background-color: white;
}
.highslide-html-blur {
}
.highslide-html-content {
	position: absolute;
    display: none;
}
.highslide-loading {
    display: block;
	color: black;
	font-size: 8pt;
	font-family: sans-serif;
	font-weight: bold;
    text-decoration: none;
	padding: 2px;
	border: 1px solid black;
    background-color: white;
    
    padding-left: 22px;
    background-image: url('/graphics/loader.white.gif');
    background-repeat: no-repeat;
    background-position: 3px 1px;
}
a.highslide-credits,
a.highslide-credits i {
    padding: 2px;
    color: silver;
    text-decoration: none;
	font-size: 10px;
}
a.highslide-credits:hover,
a.highslide-credits:hover i {
    color: white;
    background-color: gray;
}


/* Styles for the popup */
.highslide-wrapper {
	background-color: white;
}
.highslide-wrapper .highslide-html-content {
    width: 650px;
    padding: 5px;
}
.highslide-wrapper .highslide-header div {
}
.highslide-wrapper .highslide-header ul {
	margin: 0;
	padding: 0;
	text-align: right;
}
.highslide-wrapper .highslide-header ul li {
	display: inline;
	padding-left: 1em;
}
.highslide-wrapper .highslide-header ul li.highslide-previous, .highslide-wrapper .highslide-header ul li.highslide-next {
	display: none;
}
.highslide-wrapper .highslide-header a {
	font-weight: bold;
	color: gray;
	text-transform: uppercase;
	text-decoration: none;
}
.highslide-wrapper .highslide-header a:hover {
	color: black;
}
.highslide-wrapper .highslide-header .highslide-move a {
	cursor: move;
}
.highslide-wrapper .highslide-footer {
	height: 11px;
}
.highslide-wrapper .highslide-footer .highslide-resize {
	float: right;
	height: 11px;
	width: 11px;
	background: url('/graphics/resize.gif');
}
.highslide-wrapper .highslide-body {
}
.highslide-move {
    cursor: move;
}
.highslide-resize {
    cursor: nw-resize;
}

/* These must be the last of the Highslide rules */
.highslide-display-block {
    display: block;
}
.highslide-display-none {
    display: none;
}

/* jqModal base Styling courtesy of;
	Brice Burgess <bhb@iceburg.net> */

/* The Window's CSS z-index value is respected (takes priority). If none is supplied,
	the Window's z-index value will be set to 3000 by default (in jqModal.js). You
	can change this value by either;
	  a) supplying one via CSS
	  b) passing the "zIndex" parameter. E.g.  (window).jqm({zIndex: 500}); */
	
.jqmWindow {
    display: none;
    
    position: fixed;
    top: 17%;
    left: 50%;
    
    margin-left: -300px;
    width: 600px;
    
    background-color: #EEE;
    color: #333;
    border: 1px solid black;
    padding: 12px;
}

.jqmOverlay { background-color: #000; }

/* Background iframe styling for IE6. Prevents ActiveX bleed-through (<select> form elements, etc.) */
* iframe.jqm {position:absolute;top:0;left:0;z-index:-1;
	width: expression(this.parentNode.offsetWidth+'px');
	height: expression(this.parentNode.offsetHeight+'px');
}

/* Fixed posistioning emulation for IE6
     Star selector used to hide definition from browsers other than IE6
     For valid CSS, use a conditional include instead */
* html .jqmWindow {
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}

div.jqmConfirm input[type="submit"] { padding: 4px; margin: 10px 30px; background: #666666; color: #FFF; border: 1px solid #AAA; width: 50px; }

/* jqModal confirm CSS courtesy of;
   Alexandre Plennevaux <alexandre@pixeline.be>,
   Brice Burgess <bhb@iceburg.net> */

div.jqmConfirm { /* contains + positions the alert window */
  display: none;
  
  position: fixed;
  top: 17%;
  left: 50%;
	margin-left: -200px;
	width: 400px;
	border: 10px solid #FF0000;
}
    
/* Fixed positioning emulation for IE6
     Star selector used to hide definition from browsers other than IE6
     For valid CSS, use a conditional include instead 
* html div.jqmConfirm {
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}*/

div.jqmConfirmWindow {
  height:auto;
  width: auto;
  margin: auto;
  
  max-width:400px;
  padding: 0 10px 10px;
  
  background:#FFF;
  border:1px dotted #FFF;
}

.jqmConfirmTitle{
  margin:5px 2px;
  height:20px;
  color:#000;
  background:#FFF;
}
.jqmConfirmTitle h1{
  margin:5px 2px;
  padding-left:5px;
  padding:0;
  font-size:14px;
  text-transform:capitalize;
  letter-spacing:-1px;
  font-weight:bold;
  color:#000;

  float:left;
  height:20px;
}

div.jqmConfirm .jqmClose em{display:none;}
div.jqmConfirm .jqmClose {
  width:20px;
  height:20px;
  display:block;
  float:right;
  clear:right;
  background:transparent url('/images/close_icon_double.png') 0 0 no-repeat;
}

div.jqmConfirm a.jqmClose:hover{ background-position: 0 -20px; }

div.jqmConfirmContent{
  border-top:px;
  color:#000;
  font: 110% arial;
  padding:5px 20px 5px;
  margin:5px;
  border:1px dotted #111;
  letter-spacing:0px;
}

/*°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
  clearing a float without additional markup
   http://www.positioniseverything.net/easyclearing.html */

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

/* Error Message Styling */
div.container {
	background-color: #FFFFCC;
	border: 1px solid red;
	padding: 5px;
	width: 80%;
	margin: 10px auto;
}
div.container p {
	font-weight: bold;
	text-align: center;
	color: #666666;
}
div.container ol li {
	list-style-type: none;
	margin-bottom: 10px;
}
div.container { display: none }
.container label.error {
	display: inline;
	color: red;
	background:url('/images/error.png') no-repeat 2px 1px;
	padding-left:30px;
	font-size:.9em;
}

