/* ********************** */
/* CSS Styling For Entire Site */
/* ********************** */


/* ********************** */
/* Layout & Positioning... */
/* ********************** */

HTML{
	height: 100%; /* These 2 styles ensure width doesn't jump in FF when scrollbar appears / disappears */
    margin-bottom: 1px;
}
BODY{
	margin: 0px;
	padding: 0px;
	
	text-align:center; /* Default page font settings */
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:13px;
	background-color: #DDDDDD;
	background-image:url(../../images/layout/background.jpg);
	background-position:top;
	background-repeat:repeat-x;
	color: #000000;
}

/* ********************************** */
/* Key page elements...

Nesting is:
wrapper {
	header {
		tickertape {...}
		logo {...}
		applications {...}
	}
	body {
		content {...}
		sidebar {...}
	}
	footer {...}
}
*/
/* ********************************** */
#wrapper{
	text-align: left;
	margin: 0px auto;
	padding: 0px;
	border:0;
	width: 950px;
	overflow: visible;
	background-color: #FFFFFF;
}
#header{
	width: 950px;
	background-image:url(../../images/layout/lv1_ticker.gif);
	background-repeat: no-repeat;
	background-color:#FFFFFF;
}
#logo IMG{
	border: none;
}
#applications IMG{
	border: none;
}
#body{
	width: 950px;
	position: relative;
	overflow: hidden; /* This hides the excess padding in non-IE browsers */
}

/* we need this for IE 5.01 - otherwise the wrapper does not expand to the necessary height (unless fixed, this problem becomes even more acute weirdness as the method is enhanced */
#body{
/* Normally a Holly-style hack height: 1% would suffice but that causes IE 5.01 to completely collapse the wrapper - instead we float it */
	float: left;
/* NB. possibly only IE 5.01 needs to get this float value - otherwise 5.5 sometimes (I saw it happen many moons ago) makes the width of wrapper too small the float: none with the comment is ignored by 5.01, 5.5 and above see it and carry on about their business. It's probably fine to just remove it, but it's left here just in case that many moons ago problem rears its head again */
	float/**/: none;
}

/* easy clearing */
#body:after{
	content: '[DO NOT LEAVE IT IS NOT REAL]'; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}
#body{
	display: inline-block;
}
/*\*/
#body{
	display: block;
}
/* end easy clearing */

#content{
	float: left;
	width: 790px;
	margin-left: 160px;
	background-color:#FFFFFF;
}
* html #content{
	display: inline;
}
#sidebar{
	float: left;
	width: 160px;
	margin-left: -950px;
	background-color: #999999;
	background-image:url(../../images/layout/menu_background.jpg);
	background-position:top;
	background-repeat:no-repeat;
	min-height: 400px;
}

/* Start Mac IE5 filter \*/
#content, #sidebar{
	padding-bottom: 32767px !important;
	margin-bottom: -32767px !important; 
}
@media all and (min-width: 0px) {
#content, #sidebar{
	padding-bottom: 0 !important;
	margin-bottom: 0 !important; 
}
#content:before, #sidebar:before{
	content: '[DO NOT LEAVE IT IS NOT REAL]';
	display: block;
	background: inherit;
	padding-top: 32767px !important;
	margin-bottom: -32767px !important;
	height: 0;
}
}
/* End Mac IE5 filter */

#footer{
	clear: both;
	width: 950px;
}
/* Safari needs this - otherwise the ghost overflow, though painted 
correctly obscures links and form elements that by rights should be above it.
An unintended side-effect is that it cause such elements to vanish in IE 5.01
and 5.5, hence the child selector hack */
* > #footer, * > form, * > #notes, * > .output
	{
	position: relative;
	z-index: 1000;
	}


/* ********************** */
/* More specific styles... */
/* ********************** */


/* Styles to insert bottom aligned elements into content / sidebar boxes */

/* IE Win can be a bit out - you might need to adjust  
bottom value by -1px or as required */
.verticalalign{
	position: absolute;
	bottom: 0;
}
#content .verticalalign{
	width: 790px;
}
#sidebar .verticalalign{
	width: 160px;
}
/* hack for Opera 7+ */
@media all and (min-width: 0px){
.verticalalign{
	width: 100% !important;
}
/* But Opera 9 does it right, so CSS3 hax to the max */
div[id^="body"] #content .verticalalign{
	width: 790px !important;
}
div[id^="body"] #sidebar .verticalalign{
	width: 160px !important;
}
}
/* hack for IEs of all persuasions before IE7 */
* html .verticalalign{
	width: 100% !important;
}
.verticalalign p{
	position: absolute;
	bottom: 0;
	right: 0;
	margin: 0;
	padding: 0;
	background: #996666;
}


/* For typewriter effect along page top */
#typewriter_output{
	font-size: 12px;
	color:#CCCCCC;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	padding: 3px;
	padding-left: 6px;
}	
#typewriter_output A{
	color:#CCCCCC;
	text-decoration: none;
}
#typewriter_output A:hover{
	text-decoration:underline;
}

#login_text{
	margin-right: 3px;
}
#login_text A{
	color: #FFFFFF;
}


/* ********************** */
/* Core HTML Elements... */
/* ********************** */
P{
	text-align: left;
	padding: 8px 15px;
	margin: 0px;
}
H1{
	text-align:center;
	font-family:Trebuchet, "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	font-size:24px;
	color: #000000;
	padding: 15px;
	padding-bottom: 4px;
	margin-top: 5px;
}
H2{
	text-align:left;
	font-family:Trebuchet, "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	font-size:20px;
	color: #000000;
	padding-left: 15px;
	padding-right: 15px;
	padding-top: 4px;
	padding-bottom: 4px;
	font-weight:normal;
	margin: 0px;
}
.clearboth{
	clear: both;
}

A:link{
	color:#0066FF;
}
A:visited{
	color:#336699;
}
A:active{
	color:#FF6600;
}
A:hover{
	color:#FF6600;
	text-decoration:none;
}

DIV.image_block{
	padding: 8px 8px 8px 8px;
	float:right;
}

/* ********************** */
/* Homepage stuff...      */
/* ********************** */


TABLE.teasers{
	width: 100%;
}
TD.leftbox{
	padding: 20px;
	vertical-align:top;
	padding-bottom: 0px;
	text-align:center;
	width: 50%;
	padding-right: 10px;
}
TD.rightbox{
	padding: 20px;
	vertical-align:top;
	text-align:center;
	width: 50%;
	padding-left: 10px;
	padding-bottom: 0px;
}

IMG.teaser3{
	padding-top: 20px;
}



TABLE.sub_titles{
	width: 100%;
}
.sub_box1{
	vertical-align:top;
	margin: 0px;
	padding: 5px;
	width: 50%;
}
.sub_box2{
	vertical-align:top;
	margin: 0px;
	padding: 5px;
	width: 25%;
}
.sub_box3{
	vertical-align:top;
	margin: 0px;
	padding: 5px;
	width: 25%;
}
.sub_title{
	text-align:center;
	padding-top: 5px;
	margin-top: 0px;
}


.sponsors{
	text-align:center;
}

P.committee{
	font-size: 10px;
	text-align: center;
}

TABLE.hometable{
	width:781px;
	border:none;
	padding:0px;
	margin:0px;
}

TABLE.hometable TD.leftpane{
	width:444px;
	padding: 12px;
	vertical-align:top;
}

TABLE.hometable TD.rightpane{
	width: 337px;
	padding: 0px;
}

SPAN.committee{
	font-size:smaller;
}

SPAN.hidetext{
	/*color:#00CC00;*/
	visibility:hidden;
}
TABLE.sortable THEAD TR{
	cursor:pointer;
	text-decoration:underline;
	background-image:url(../../images/table_header_1.gif);
	background-color:#0099FF;
	color:#FFFFFF;
}
