.nav-primary {font-size: 12px; font-family: arial, georgia, helvetica, sans-serif; height: 20px;  width: 100%; padding: 0px 5px 0px 5px; position:relative; margin-left: 4px; border-bottom: 3px solid #006E98; z-index:10000;}
.nav-primary ul {padding:0; margin:0; list-style-type: none;}
.nav-primary ul li {float:left; margin-right:0.5px; position:relative; background: url("images/tab_ffffff_ffffff_right.gif") no-repeat right top; }
.nav-primary ul li a, .nav-primary ul li a:visited  {display: block;  background: url("images/tab_ffffff_ffffff_left.gif") no-repeat left top; text-decoration:none; color:#000; width:100px; height:20px; text-align:center; line-height:20px; font-size:10px; font-weight: bold; /*overflow:hidden;*/}

.nav-primary ul li ul {display: none;}
.nav-primary ul li:hover ul {display:block; position:relative; top:20px; left:0; width: auto; padding: 0px;} /* Ensure top does not exceed 20px max any higher and the drop-down menus get shoved down too low to function from the menu tab */
.nav-primary ul li ul li {float:left; margin-right:0.5px; position: relative; z-index: 10001}
.nav-primary ul li ul li ul li {float: left; left: -6px; position: relative; z-index: 10002}


/* specific to non IE browsers */
.nav-primary {font-family:  Arial, Helvetica, sans-serif; height: 20px; width: 97% /*97% 1000px 857px*/; position:relative; margin-left:5px; font-size: 12px; z-index:10000; /*padding-bottom: 5px;*/}
.nav-primary ul li:hover a { text-decoration: underline; /*background-color: #3399FF;color: #3399FF; background:#36f;*/}
.nav-primary ul li:hover ul {display:block; position:absolute; top:20px; left:0; width:100px; padding: 0px;} /* Ensure top does not exceed 20px max any higher and the drop-down menus get shoved down too low to function from the menu tab */
.nav-primary ul li:hover ul li a.hide {background:#6a3; color:#fff;}
.nav-primary ul li:hover ul li:hover a.hide {background:#6fc; color:#000; z-index: 10001;}
.nav-primary ul li:hover ul li ul {display: none; z-index: 10001;}
.nav-primary ul li:hover ul li a {display: block; text-decoration: none; background:#CCCCCC ; color:#000000 bold;  border-bottom: 1pt white solid; white-space: pre; min-width: 100px; width:auto;} /*submenu colouration etc.. use min-width and width to accommodate longer text*/
/*#expandsubmenu li {display: block; background: url("images/tab_grey.gif"); color:#000000 bold; width: 150px; white-space:pre; text-align: left;} /*submenu colouration etc..background: #006E98; color: #FFFFFF;*/
/* #expandsubmenu li:hover {width: 150px; background: #006E98;color: #FFFFFF;} */
/*#expandsubmenu li a:hover {width: 150px; background: #006E98;color: #FFFFFF;}*/
.nav-primary ul li:hover ul li a:hover {display:block; background: #006E98;/*#6fc;*/ color: #FFFFFF; min-width: 100px; width:auto; white-space: pre;}
.nav-primary ul li:visited ul li a:visited {display:block; background: #006E98;/*#6fc;*/ color: #FFFFFF; min-width: 100px; width:auto; white-space: pre; z-index: 10001;}
.nav-primary ul li:hover ul li:hover ul {display:block; position: absolute; left:96px; top:0; z-index: 10001;}
.nav-primary ul li:hover ul li:hover ul.left {left:-105px; z-index: 10001;}
.nav-primary ul li ul li {float:left; margin-right:0.5px; position: relative; z-index: 10001;}
.nav-primary ul li ul li ul li {float: left; left: -6px; position: relative; z-index: 10001;}

/*.expandsubmenu {width: 150px; display: block; white-space: nowrap; background:#CCCCCC no-repeat right;}*/

body  {
	font: 100% arial, georgia, helvetica, sans-serif;
	/*background: #666666;*/
	background-color: #CCCCCC;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 10px;
	text-align: justify; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #333333;
}

.wordwrap{word-wrap: break-word;}

#header {
	margin-bottom:10px;
	padding: 10px 10px 10px 10px;
}

.2col {vertical-align: top;}
/* Tips for Elastic layouts 
1. Since the elastic layouts overall sizing is based on the user's default fonts size, they are more unpredictable. Used correctly, they are also more accessible for those that need larger fonts size since the line length remains proportionate.
2. Sizing of divs in this layout are based on the 100% font size in the body element. If you decrease the text size overall by using a font-size: 80% on the body element or the #container, remember that the entire layout will downsize proportionately. You may want to increase the widths of the various divs to compensate for this.
3. If font sizing is changed in differing amounts on each div instead of on the overall design (ie: #sidebar1 is given a 70% font size and #mainContent is given an 85% font size), this will proportionately change each of the divs overall size. You may want to adjust based on your final font sizing.
*/
.thrColEls #container { 
	width: 900px;  /* 46em; this width will create a container that will fit in an 800px browser window if text is left at browser default font sizes */
	background: #FFFFFF;
	margin: 0px auto; /* the auto margins (in conjunction with a width) center the page */
	/*border: 1px solid #333333; */
	text-align: left; /* this overrides the text-align: center on the body element. */
	
} 

.thrColEls #subcontainer {width: 48em;  
	background: #FFFFFF;
	margin: 0px auto; /* the auto margins (in conjunction with a width) center the page */
	/*border: 1px solid #333333; */
	text-align: justify; /* this overrides the text-align: center on the body element. */}

/* Tips for sidebar1:
1. Be aware that if you set a font-size value on this div, the overall width of the div will be adjusted accordingly.
2. Since we are working in ems, it's best not to use padding on the sidebar itself. It will be added to the width for standards compliant browsers creating an unknown actual width. 
3. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the ".thrColEls #sidebar1 p" rule.
*/
.thrColEls #sidebar1 {
	float: left; 
	width: 11em; /* since this element is floated, a width must be given */
	background: White; /* the background color will be displayed for the length of the content in the column, but no further */
	padding: 10px; /* top and bottom padding create visual space within this div */
}
.thrColEls #sidebar2 {
	float: right; 
	width: 11em; /* since this element is floated, a width must be given */
	/*background: #EBEBEB;  the background color will be displayed for the length of the content in the column, but no further */
	padding: 10px 5px; /* top and bottom padding create visual space within this div */
	margin-right: 10px;
}
.thrColEls #sidebar1 h3, .thrColEls #sidebar1 p, .thrColEls #sidebar2 p, .thrColEls #sidebar2 h3 {
	margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */
	margin-right: 10px;
}

/* SIDEBAR ROUNDED CORNERS */
/*  http://www.cssplay.co.uk/boxes/snazzy.html  */

/* #xsnazzy h1, #xsnazzy h2, #xsnazzy p {margin:0 10px; letter-spacing:1px;} */
.xsnazzy h1, .xsnazzy h2, .xsnazzy p {margin:0 10px;}
/* #xsnazzy h1 {font-size:2.5em; color:#fff;} */
/* #xsnazzy h2 {font-size:2em;color:#06a; border:0;} */
.xsnazzy p {padding-bottom:0.5em;}
.xsnazzy h1, .xsnazzy h2 {
	padding-top:0.5px;
	padding-bottom:0.5px;
}
/* #xsnazzy {background: transparent; margin:1em;} */
.xsnazzy {clear:both; background: transparent; margin:1em 0 1em 1em;}

.xtop, .xbottom {display:block; background:transparent; font-size:1px;}
.xb1, .xb2, .xb3, .xb4 {display:block; overflow:hidden;}
.xb1, .xb2, .xb3 {height:1px;}
.xb2, .xb3, .xb4 {background: white; /*#efefef;*/ border-left:1px solid #08c; border-right:1px solid #08c;}
.xb1 {margin:0 5px; background:#08c;}
.xb2 {margin:0 3px; border-width:0 2px;}
.xb3 {margin:0 2px;}
.xb4 {height:2px; margin:0 1px;}

.xboxcontent {display:block; background: white; border:0 solid #08c; border-width:0 1px;}

/* Tips for mainContent:
1. If you give this #mainContent div a font-size value different than the #sidebar1 div, the margins of the #mainContent div will be based on its font-size and the width of the #sidebar1 div will be based on its font-size. You may wish to adjust the values of these divs.
2. The space between the mainContent and sidebar1 is created with the left margin on the mainContent div.  No matter how much content the sidebar1 div contains, the column space will remain. You can remove this left margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends.
3. To avoid float drop, you may need to test to determine the approximate maximum image/element size since this layout is based on the user's font sizing combined with the values you set. However, if the user has their browser font size set lower than normal, less space will be available in the #mainContent div than you may see on testing.
4. In the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This avoids several IE-specific bugs that may occur.
*/
.thrColEls #mainContent {
  margin: 0 13em 0 13em;/* 0px 20px 0px 20px ; the right margin can be given in ems or pixels. It creates the space down the right side of the page. */
} 

.thrColEls #mainContent2col {
  margin: 0 4em 0 13em;/* 0px 20px 0px 20px ; the right margin can be given in ems or pixels. It creates the space down the right side of the page. */
  text-align:justify;
} 

.thrColEls #mainContent2col_left {
  margin: 0 13em 0 2em;/* 0px 20px 0px 20px ; the right margin can be given in ems or pixels. It creates the space down the right side of the page. */
  text-align:justify;
} 

/* Miscellaneous classes for reuse */
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}

/*[if IE]*/
/* place css fixes for all versions of IE in this conditional comment */
.thrColEls #sidebar1, .thrColEls #sidebar2 { padding-top: 30px; }
.thrColEls #mainContent { zoom: 1; padding-top: 15px; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
/*[endif]*/


/* FOOTER */
#byline {
	font-weight:bold;
	font-size:0.90em;
	text-align:center;
	color:#fff;
	background-color:#006E98;
	padding:2px 0;
	margin-top:30px;
}

#footer { 
	padding:20px 7px 10px 7px;
}

#copyright {
	font-weight:bold;
	font-size: 9px;
	text-align:center;
	border-top:1px solid #006E98;
}

.welcomeboxcontent {position:relative; /* Position is declared "relative" to gain control of stacking order (z-index). */
	width:auto;
	top: 10px;
	min-width:320px;
	margin:0px 0px 20px 0px;
	/*border:1px solid #3300CC;*/
	background-color: white;
	text-align: center;
	padding:30px;
	/*z-index:3;  This allows the content to overlap the right menu in narrow windows in good browsers. */
						}
.welcome_cr_uk_icon {	 
	/*padding-top: 140px; */
	position: relative;
	left: 41%;}

/* FONT and FORMATING STYLES */

h1 {		font-size: 1.5em;
		margin: 0px 0px 10px 0px;
		}
	h1.title {font-size: 1.5em;
		margin: 0px 0px 10px 0px;
		color:  #006E98;
		text-align:center;}
	h1.title2col {font-size: 1.5em;
		margin: 0px 0px 10px 0px;
		color:  #006E98;
		text-align:left;}
	h1.bpos {font-size: 12px; font-family: arial, georgia, helvetica, sans-serif; font-style: normal; text-align: left; color:#FF0000;}

	h2 {font-size: 1.4em; margin: 0px 0px 15px 0px; font-weight: normal; }
	h2.title {text-align: center;}
	h2.subheading{font: bold 24px verdana, arial, helvetica, sans-serif;
					margin:0px 0px 15px 0px;
					text-align:center;
					padding:0px;
					color: #55788c;}
	h3 {font-size: 1.2em; margin: 0px 0px 10px 0px; font-weight: bold; }
	h3.subheading {font: bold 18px verdana, arial, helvetica, sans-serif;
					margin:0px 0px 5px 0px;
					padding:0px;
					color: #55788c;}
	h4.announcement {font: bold 14px arial, georgia, helvetica, sans-serif;
					text-align: center;
					padding:0px;
					color: #666666;}
	h4.TeamTheme1 {font: bold 16px arial, georgia, helvetica, sans-serif;
					margin:0px 0px 5px 0px;
					padding:0px;
					color: Teal;}
	h4.Newsflash {FONT-FAMILY: arial, georgia, helvetica, sans-serif;
				   font-size:12px;
                  color: #006699;}
	h4.title {font-size: 1.5em;
		margin: 0px 0px 10px 0px;
		color: #333333}
	h4.sidebartext {font-family: arial, georgia, helvetica, sans-serif;
	                font-size: 12px;
					font-weight: normal;}	
		
			a {
		color: #05435A;
		text-decoration: underline; }

	a:link 		{ color:#00f; }
	a:visited 	{ color:#00f; }
	a:active 	{ color:#00f; }
	a:hover 	{ text-decoration: none; color:#c00; }
	
	p {
	font: 11 px arial, georgia, helvetica, sans-serif;
	color: #333333;/*#000000;*/
	text-align:justify;
	padding-left: 5px;
	padding-right: 5px;
}
	p.bold {font: bold 12px arial, georgia, helvetica, sans-serif;
		color: #333333; text-align:justify; padding-left: 5px; padding-right: 5px;}
		
	.subheadstrip {background-color: #999999; width: auto; padding-left: 10px; 
	                color: white;}
	.textcenter {text-align: center;}
	.textcenterred {text-align:center; color: red; font-weight:bold; font-size: 14px;}
	.noborder {border: none;}

	.warning {color: red;
			  font-weight: bold;}

/*Tables Additional Styling*/

.table_td_1 {vertical-align: top; background-color: #ECF3FD; padding: 5px;}
.table_td_link_1 {vertical-align: top; background-color: #ECF3FD; padding: 5px; text-align:center}

.table_td_2 {vertical-align: top; background-color: #F0F0F0; padding: 5px;}
.table_td_link_2 {vertical-align: top; background-color: #F0F0F0; padding: 5px; text-align:center}

	
/* Incidental styling */
.bposmenu {font-family:  Arial Baltic; width: 847px /*857px;*/ /*750px; */; position: Absolute; margin:0; font-weight: bold; font-size:11px; margin:2px 0 100px 0; z-index:100;}
.bposmenu ul {list-style:none; text-align:left; margin:5px;}
.bpostable p{font-size:10px; height:10px;}
.bpostable u{font-size:12px}

