#header {
 height: 7em;
 position: relative;
 border-bottom: 1px solid #cfcfcf;
 margin-bottom: 1em;
}

#header #logo { margin-left: 1.7em; }

#header #site-tools {
 position: absolute;
 bottom: -1px;
 right: 0;
 border: 1px solid #CFCFCF;
 background: #fff;
 padding: .6em .4em .6em 1em;
 width: 53.25em;
 font-size: 90%;
}

#header ul li { display:inline; }

div#lang-select-container {
	float: left;
	clear: both;
	width: 100%;
	position: relative;
	margin: 2px 0 5px;
}
ul#lang-select {
	float: right;
	font-size: 90%;
	clear: both;
	line-height: 10px;
	position: relative;
	margin: 0;
	padding: 0;
}

ul#lang-select li {
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: 0;
	display:inline;
}

#header #sitemap {
 position:absolute;
 top:-4.5em;
 right:0.5em;
}

#header #jump {
 position:absolute;
 top:0.2em;
 left:20em;
}

#header #search {
 position:absolute;
 top:0.2em;
 left:43em;
}

#header_link_select,
#search .search
{
 height:1.75em;
 padding:0;
 margin:0;
}

#search .search {
 height:1.5em;
 padding-top:0.1em;
}

.go_button { height: 2em; }
#sec-cont .go_button { font-size: 0.9em; }

#jump input.go_button,
#search input.go_button {
 margin-left: 3px;
}

/* WRAPPERS */

body { background:#FaFaFF; /*url(/static/i/paper.jpg) repeat -1px -2px; */}

div#edge-wrapper {
 border-right:2px solid #F1F0F1;
 border-bottom:2px solid #F1F0F1;
 width: 870px;
 display:block;
 margin:0 auto;
 text-align:left;

 }
div#edge-wrapper-right {
 padding: 0;
 border-right:2px solid #DBDADB;
 border-bottom:2px solid #DBDADB;
 margin:0;
 }
 
#site_wrapper {
 padding:0 20px 10px;
 width: 828px;
 float:left;
 margin:0;
 border:1px solid #B8B6B8;
 border-top:none;
 background:#fff;
}

/*
 Site header
*/
div#site-header {
 background: #ee2923 url(/static/i/mast_left.gif) no-repeat left bottom;
 display:block;
 height:73px;
 padding: 10px 20px 0 20px;
 margin-bottom:3px;
 position:relative;
 overflow:hidden;
}

div#site-header-right {
 float:right;
 background: #ee2923 url(/static/i/mast_right.gif) no-repeat right bottom;
 width:9px;
 height:10px;
 display:inline;
 margin:0;padding:0;
 position:absolute;
 right:0;
 bottom:0;
}
div#site-header ul li { border-right: 1px solid white; line-height: 8px; display: inline; }
div#site-header ul li.last { background-image:none; border-right: none; }

div#site-header input.go_button { height: 19px; padding-bottom: 5px; margin-top: -1px;}

div#site_content {
 padding: 0;
 margin-top:10px;
 background:#fff;
 overflow:hidden;
}

img#pri-logo {
 display: inline;	
 float: left;
}

ul#header-links {
 float: right;
 clear: right;
}
 
ul#header-links li {
 display: inline;
 margin: 0 0.5em 0 0;
 padding: 0 0.5em 0 0;
 border-right: 1px solid #222;
}

ul#header-links li.last {
 border: none;
 margin: 0;
 padding: 0;
}

ul#header-links li a {
 text-decoration:none;
 color: #333;
 padding: 0;
}

ul#header-links li a:hover { text-decoration:underline !important; }
 
form#formsearch {
 float: right;
 clear: right;
 padding: 0;
 display: block;
 width: 500px;
 text-align: right;
}

form#formsearch ul li,
form#formsearch input,
form#formsearch label
{	float:right;	}

form#formsearch ul,
form#formsearch ul li
{	display:inline;	}

form#formsearch ul li {
 margin-top: 0.3em;
 padding: 0 0.5em;
 background:#ee2923 url(/static/i/separator.gif) no-repeat right 3px;
}

form#formsearch ul li a {
 color:#fff;
 padding: 1px 0 2px;
 text-decoration:none;
 display:block;
 border-bottom:2px solid #ee2923;
}

form#formsearch ul li a:hover {
 color:#fff;
 border-bottom:2px solid #fff;
}

form#formsearch input#squery {
 width:12em;
 padding:1px 6px 2px;
 border:none;
 margin-right:2px;
 font-size:1em;
}

form#formsearch label {
 color:#f0f0f0;
 padding-right:8px;
 font-size:1.2em;
}

/* PRI-NAV */

#pri_nav {
 float:right;
 display:block;
 height:auto;
 margin:0;
 padding:0 10px 6px;
 clear:right;
 overflow:hidden;
 position:absolute;bottom:0;right:0;
 line-height: 8px;
}

ul#page_select {
	list-style: none;	
	margin: 6px 0;
	padding-left: 10px;
}

ul#page_select li {
	color: #fff;
	font-size: 1em;
	list-style-type: none;
	float: right;
	margin: 0;
	padding: 0 0.7em;
	background: #ee2923;
	list-style-type: none;
	white-space: nowrap;
	display: inline;
	overflow: visible;
	border-right: 1px solid white;
}

ul#page_select li a {
 color:#fff;
 padding: 1px 0 2px;
 text-decoration:none;display:block;border-bottom:2px solid #ee2923;
}

ul#page_select li a:hover {
	color:#fff;
	border-bottom:2px solid #fff;
}

ul#page_select li a:visited {
	color:#fff;
}

/** RED TOP SEARCH REMOVAL HACK 
	** 8th Nov 2011 - Leyton Jay	**/
ul.no-search
{	float:right;
	padding-right:8px;
}
	ul.no-search li
	{	display:block;
		float:right;
	}
		ul.no-search li a
		{	color:#fff;
			border-bottom: 2px solid #EE2923;
			padding-bottom:2px;
			display:block;
			margin:0 0.7em 1px;
		}
			ul.no-search li a:hover
			{	border-bottom: 2px solid white;
				text-decoration:none;
			}
		
		ul.no-search li.last a
		{	margin-right:-10px;	
			padding:0;
		}
		
/** END RED TOP SEARCH REMOVAL HACK	**/