/* Generic
================================== */
/* Sets all margins and padding initially to zero. */
* {margin:0; padding:0;}

/* Eliminates problem with Firefox who sees image as a hyperlink. 
Will disappear with border set to 0pt. */
img
{
	border-width: 0pt;
}


/* Typography generic
================================== */

/* Sets the generic font and font size for body. Also sets browser background colour. 
Center text to center whole layout in IE5.5. Than bring back left later in wrapper. */
body
{
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 85%;
	background-color: #80879A;
}

/* Standard paragraph. Left, right and bottom padding. Set dark blue colour. 
Line-Height for leading.*/
p
{
	padding: 0 10px 10px 10px;
	color: #010F36;
	line-height: 125%;
}

/* Bold inline text. */
.p_bold
{
	font-weight: bold;
}

/* Bold inline text in red. */
.p_boldRed
{
	color: #ED174C;
	font-weight: bold;
}

/* Standard heading h2. Same padding as paragraph. Set dark blue colour. Bigger font. */
h2
{
	padding: 0 10px 10px 10px;
	color: #010F36;
	font-size: 110%;
}

/* Standard heading h3. Same padding as paragraph. Set dark blue colour. Smaller font than h2. */
h3
{
	padding: 0 10px 10px 10px;
	color: #010F36;
	font-size: 90%;
}



/* Links generic
================================== */

/* Define generic properties for all links. No underline and set font size.
Also background colour to be inherited. Then set colour for all link states. */
a
{
	text-decoration: none;
	font-size: 100%;
	background-color: inherit;
}

/* Links to be middle blue. */
a:link
{
	color: #2B5DA0;
}

/* Visited links to be lighter blue. */
a:visited
{
	color: #5CACDA;
}

/* Hover and active states to be yellow. */
a:hover, a:active
{
	color: #DDA94A;
}

/* Wrapper
================================== */

/* Order important for search engines. Calculations: 
235px(side) + 515px(primary). */

/* Main wrapper centres the whole page with set width. 
Re-align the text again to the left, after it was all centred in body tag for IE5.5. 
Background filler image for faux-columns. Faux Filler also contains right vertical strip. */
#wrapper
{
	width: 750px;
	margin: 0 auto;
	background-color: #FFF;
	padding: 0;
	text-align: left;
	background-image: url(../images/Faux_Filler.gif);
	background-repeat: repeat-y;
	background-position: left top;
}


/* Header
================================== */

/* Top header with same width as wrapper and set height. Set background colour. */
#header_one
{
	width: 750px;
	height: 60px;
	background-color: #FFF;
}

/* First box inside header_one for the header text logo on the left. 
Set width/height and float left. */
#header_one #box1
{
	float: left;
	height: 60px;
	width: 260px;
}

/* Second box inside header_one for the logo on the very right. 
Set width/height and float right. */
#header_one #box2
{
	float: right;
	height: 60px;
	width: 60px;
}

/* Third box inside header_one for the logo text, left of logo. 
Set width/height and float right. */
#header_one #box3
{
	float: right;
	width: 400px;
	text-align: right;
	font-family: Palatino, serif;
	font-size: 90%;
	position: relative;
	top: 14px;
	right: 5px;
	font-weight: bold;
}

/* Div for line above header in red. Same width as wrapper and set min-height. Faux Filler positioned 
as background image with different center colour. */
.header_line_red
{
	width: 750px;
	min-height: 2px;
	font-size: 0;
	line-height: 0;
	background-image: url(../images/Header_Line_Maroon.gif);
	background-repeat: repeat-y;
	background-position: left bottom;
}

/* Hack for IE. IE does not understand min-height, but understands height. */
* html .header_line_red
{ 
	height: 2px; 
}

/* Div for line below header in white. Same width as wrapper and set min-height. Faux Filler positioned 
as background image with different center colour. */
.header_line_white
{
	width: 750px;
	min-height: 2px;
	font-size: 0;
	line-height: 0;
	background-image: url(../images/Header_Line_White.gif);
	background-repeat: repeat-y;
	background-position: left top;
}

/* Hack for IE. IE does not understand min-height, but understands height. */
* html .header_line_white
{ 
	height: 2px; 
}

/* Second header with same width as wrapper and set min-height. Holds navigation. 
White border at the bottom. */
#header_two
{
	width: 750px;
	min-height: 24px;
	background-image: url(../images/Nav_Filler.gif);
	background-repeat: repeat-x;
	background-position: left top;
}

/* Hack for IE. IE does not understand min-height, but understands height. */
* html #header_two 
{ 
	height: 24px; 
}

/* Third header with same width as wrapper and set height. Holds flash animation. */
#header_three
{
	width: 750px;
	min-height: 80px;
	background-color: #2B5DA0;
}

/* Hack for IE. IE does not understand min-height, but understands height. */
* html #header_three
{ 
	height: 80px; 
}

/* Need to set height for flashcontent id to avoid gap below flash movie. */
#header_three #flashcontent
{
	height: 80px;
}


/* Navigation
================================== */

/* Wrapper for dropdown navigational menu. Margin left to line up with image and content. */
#menuwrapper
{
	margin-left: 65px;
}

/* Clears the floated menu items on both sides. Assigned to class just before
menuwrappers closing div tag. */
.clearit 
{
	clear: both;
}

/* MENUBAR is the root unordered list and menubar ul applies to all the sub-menu ul's.
Zero down padding and margins. Turn bullet points off. Do not add a font-size here. */
#menubar, #menubar ul
{
	padding: 0;
	margin: 0;
	list-style: none;
}

/* All MENUBAR links (a).  Display block to get links to behave like buttons. No underline. 
Padding around link text to create space between edges -> button. 
Smaller font-size for menu links. Colour for text is white. */
#menubar a
{
	display: block;
	text-decoration: none;
	padding: 5px 15px 0px 15px;
	font-size: 80%;
	color: #FFF;
}

/* Each link in MENUBAR with a submenu needs trigger class assigned.
Same padding (must) as menubar links. Background image (symbol) positioned with no repeat. */
#menubar a.trigger
{
	padding: 5px 15px 0px 15px;
}

/* List items in MENUBAR. Float left for horizontal display. Set width for IE5 Mac. 
See last rule in Navigation CSS -> sets width to auto for all other browsers 
(hides it from IE5 Mac). The width is proportional.
As you add and edit root menu items, you will need to test this width
to ensure it is wide enough to accomodate all text. */
#menubar li 
{
	float: left;
	width: 12em;
}

/* Set width for SUB-MENU box and the SUB-MENU list items inside - in proportional em units. 
This allows the sub-menu width to expand if users resize the text in their browsers. */
#menubar li ul, #menubar ul li  
{
	width: 13em;
}

/* SUB-MENU links. Set padding to suit drop down indents. */
#menubar ul li a
{
	padding: 4px 0px 4px 15px;
}

/* SUB-MENU unordered lists describes each dropdown SUB-MENU group. 
Positioned absolute to appear below their root trigger.
Set to display none to hide them until trigger is moused over.
Background color must be set or problems will be encountered in MSIE. */
#menubar li ul
{
	position: absolute;
	display: none;
	background-color: #FFFFFF;
}

/* Changes the text color and background color when the Root-Level
MENUBAR items are moused over. The second selector sets color and background
when Root-Level MENUBAR items are accessed with the keyboard tab key. The third
selector sets an active state to support keyboard access in MSIE. The fourth 
selector is assigned to IE5 and IE6 Windows via the javascript.
Note that IE7 supports hover on elements other than links and so behaves
like Firefox, Opera, and Safari - making the menu operable even if JavaScript
is not enabled. Padding bottom to align with background navigation image. */
#menubar li:hover a, #menubar a:focus,
#menubar a:active, #menubar li.hvr a
{
	color: #DDA94A;
	padding-bottom: 5px;
}

/* Set the SUB-MENU unordered list to be visible when its associated
Root-Level MENUBAR link is moused over. The second selector is assigned to IE5 and IE6 
via the javascript. Top padding zero to avoid long bar under main hover. */
#menubar li:hover ul, #menubar li.hvr ul 
{
	display: block;
	color: #DDA94A;
	padding-top: 0px;
}

/* Set text color of the SUBMENU links when the root-level
MENUBAR items are moused over. The second selector is 
assigned to IE5 and IE6 via javascript.
The color set should match the normal Sub-Level link color
in the rule: #menubar ul li a. Set left border. */
#menubar li:hover ul a, #menubar li.hvr ul a 
{
	color: #FFF;
	background-color: #9A1400;
	border-bottom: 1px #FFF solid;
}

/* The normal hover class for SUB-MENU Sub-Level links. The Important directive
is required for older browsers. We set a background color, which shows
over the gradient background. We set text color to white. */
#menubar ul a:hover 
{
	background-color: #9A1400!important;
	color: #DDA94A!important;
}

/* The single backslash \ character inside this comment
causes IE5 Mac to ignore the following rule, which allows other
browsers to render top-level menu items to their natural width.
Do not edit this rule in any way. */
#menubar li 
{
	width: auto;
}


/* PrimaryContent (middle column)
================================== */

/* Three main columns, named in order of importance and display when styles switched off.
Firstly display:inline is required for IE6 for correct column display. Margin bottom. */
#primaryContent
{
	float: left;
	width: 750px;
	display: inline;
	margin: 0;
}

/* Specifying threeColLayout in the body will activate the following div 
instead of the default primaryContent -> not IE 5.5 + 6. Float left, set width to 515. 
Margin on left to allow for sideContent with 235px width. Border left. Cicuit positioned in bg. 
Minimum height to allow fo background image to sit on bottom. */
#twoColLayout #primaryContent
{
	float: left;
	width: 515px;
	margin: 0 0 0 235px;
	background-image: url(../images/Circuit_Content_72.gif);
	background-position: left bottom;
	background-repeat: no-repeat;
	min-height: 480px;
}

/* Hack for IE. IE does not understand min-height, but understands height. */
* html #twoColLayout #primaryContent
{ 
	height: 480px; 
}

/* ID for box inside primaryContent. Margin all around. */
#boxPrimary
{
	margin: 10px 70px 10px 30px;
}

/* Smaller font size for breadcrumbs inside boxPrimary. */
.p_breadcrumbs
{
	font-size: 85%;
}

/* Horizontal rule under breadcrumbs. */
.rule
{
	border-top-width: 1px;
	border-top-style: solid;
	border-color: #010F36;
	margin-left: 10px;
	margin-right: 20px;
	margin-bottom: 10px;
}


/* List inside primary content. Disc bullets. Move in from left. 
Also move 20px in from right for correct right alignment. */
#boxPrimary ul li
{
	list-style-type: disc;
	margin-left: 40px;
	margin-right: 20px;
	padding-bottom: 2px;
}

/* Committee members images in main content to allow text wrap. Display inline and floating to achieve 
correct text position. Does only apply to committee members images. Need different name for validation*/
#cm_inline_img, #cm_inline_img_1, #cm_inline_img_2
{
	display: inline;
	float: left;
	margin-right: 10px;
}



/* SideContent (left column)
================================== */

/* Last comes the side content on the left hand side. 
Width 235px and negative margin of -750px to the left. */
#sideContent
{
	float: left;
	width: 235px;
	margin: 0 0 0 -750px;
}

/* ID for box inside sideContent. Margin all around. */
#boxSide
{
	margin: 0px 0px 10px 55px;
}

/* Need to set height for flashcontent id to avoid gap below flash movie. */
#boxSide #flashcontent2
{
	height: 200px;
}

.boxTranslator
{
	margin-left: 10px;
}


/* Table Media (Newsletters)
================================== */

/* Adjust padding for complete table. */
table
{
	padding-left: 10px;
	padding-right: 10px;
}

/* Table heading. Align content left, make it bold. Also allow for padding around. */
.headboldleft
{
	font-weight: bold;
	text-align: left;
	padding: 5px;
}

/* Table content. Align content left. Also allow for padding around. */
.textleft
{
	text-align: left;
	padding: 5px;
}

/* Table content centered. Align content center. Also allow for padding around. */
.textcenter
{
	text-align: center;
	padding: 5px;
}

/* Align all table data (content) on top. */
td
{
	vertical-align: top;
}


/* Footer
================================== */

/* Footer with same width as wrapper. Cleared both sides. Footer is required for faux-columns. 
Footer contains copyright and link to ottimoto. Different background filler image for faux-columns. */
#footerBar
{
	clear: both;
	width: 750px;
	background-color: #9A1400;
}

/* Paragraph style for footer text. Centred and smaller. White text. 
Padding top and bottom to even out vertically. */
#footerBar p
{
	font-size: 75%;
	text-align: center;
	padding-top: 5px;
	padding-bottom: 5px;
	color: #FFF;
}

/* Styles for form on contact page
================================== */

/* Fieldset groups related block. */
fieldset
{
	margin: 10px 0px 5px 10px;
	border: 1px #010F36 solid;
	color: #010F36;
	background-color: #D9DBE1;
	width: 350px;
	padding-bottom: 15px;
	padding-top: 5px;
}

/* Label for headings above form input boxes. */
label
{
	display: block;
}

/* Define length of input boxes. */
input
{
	width: 300px;
}

/* Creates anchor for user in field. */
input:focus, textarea:focus
{
	background: #FCF8EB;
}

/* CVlass for "required" text. */
.required
{
	font-size: 80%;
	color: #ED174C;
}

/* Set width for select filed. */
select
{
	width: 150px;
}

/* Style the submit button. */
.button 
{
	background-color: #D9DBE1;
	color: #010F36;
	width: 350px;
}

/* Red inline text for php messages. Used with span in html. */
#pRed 
{ 
	color: #ED174C;
}