/*
  RESET
  -----
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

/*
  GENERAL
  -------
*/

html, body {
	background: #bdc6ab;
	color: black;
	min-height: 100%;
	margin-bottom: 1px;
	}

body	{
	margin: 0 auto;
	min-width: 990px;
	max-width: 1230px;
	font-family: Verdana, Geneva, Helvetica, Arial, sans-serif;
	font-size: 62.5%;
	line-height: 1.3;
	}

#container {
	margin: 15px;
	position: relative;
	font-size: 1.1em;
	background: #fff;
	color: #3d3369;
	}
	
p { padding-bottom: 1em; }
	
ul { list-style: none; }

em 	{
	font-style: italic;
	font-weight: normal;
	}
	
strong 	{
	font-style: normal;
	font-weight: bold;
	}
	
a, a:link, a:visited {
	color: #5da123;
	text-decoration: none;
	font-weight: bold;
	}
a:hover, a:active, a:focus {
	color: #00F;
	text-decoration: underline;
	}

/* link image borders */	
a:hover img, a:active img, a:focus img { outline: solid 1px #0C0; }

input, textarea, select {
	display: block;
	border: solid 1px black;
	background: #cfcac9;
	}

input:hover, input:focus, textarea:hover, textarea:focus, select:hover, select:focus {
	background: #ee6;
	}

input[type="hidden"] { display: none !important; }

input.disabled, textarea.disabled {
	background: white !important;
	}

input[type="submit"], input[type="reset"], button, .button, a.button {
	border: outset 2px #efebe7;
	padding: 0 6px;
	cursor: pointer;
	background: #3c3369;
	color: white;
	font-weight: bold;
	text-decoration: none;
	line-height: 1.3;
	}
	
input[type="submit"]:hover, input[type="reset"]:hover, button:hover, .button:hover, .button:active,
input[type="submit"]:focus, input[type="reset"]:focus, button:focus, .button:focus { 
	background: #006;
	color: white;
	text-decoration: none;
	}	

/* 
  Headings
  --------
*/

#header {
	height: 111px;
	width: 100%;
	background: #3d3369 url(../images/heading_blue.gif) scroll repeat-x top left;
	margin-bottom: 15px;
	}	

#header h1 { /* Site name */
	position: relative;
	z-index: 90;
	background: transparent url(../images/heading.png) scroll no-repeat top left;
	text-indent: -5000px;
	height: 111px;
	width: 600px;
	}

#header h1 a {
	display: block;
	height: 100%;
	width: 100%;
	}

#restricted-area-header {
	display: none;
	position: relative;
	height: 65px;
	line-height: 65px;
	margin: 0 -15px 15px 0;
	background: #3d3369;
	color: #c4dd85;
	font-size: 1.5em;
	font-weight: bold;
	}

.up79 #restricted-area-header, .up61 #restricted-area-header { /* Basecamp and Member's areas only */
	display: block;
	}

#restricted-area-header p {
	position: absolute;
	bottom: 0;
	left: 0;
	right: -215px;
	top: -141px;
	padding: 141px 215px 0 35px;
	}

body.up79 #restricted-area-header p {
	background: transparent url(../images/stretcher-nq8.png) scroll no-repeat bottom right;
	}

body.up61 #restricted-area-header p {
	background: transparent url(../images/grassy_stretcher-nq8.png) scroll no-repeat bottom right;
	}

h2 { /* Page heading */
	font-weight: bold;
	font-style: normal;
	font-size: 1.5em;
	padding-bottom: 15px;
	}

h3, h4, h5, h6 {
	font-weight: bold;
	font-style: normal;
	padding-bottom: 1em;
	}

h3 { font-size: 1.4em; }
h4 { font-size: 1.3em; }
h5 { font-size: 1.2em; }
h6 { font-size: 1.1em; }

.richtext-container h1, .richtext-container h2 { /* Discourage use of higher level headings in content */
	font-size: 1em;
	}

/* 
  Nav
  ---
*/

.nav li	{
	margin: 0.3em 0;
	font-weight: bold;
	}

.nav a:link, .nav a:visited {
	color: #3d3369;
	text-decoration: none;
	}
	
.nav a:hover, .nav a:active, .nav a:focus {
	color: #00F;
	text-decoration: underline;
	}

.nav a.button {
	color: white;
	text-decoration: none;
	}

/*
  Main nav
  --------
*/
	
#nav {
	position: absolute;
	top: 126px;
	left: 15px;
	margin-bottom: 7.545em; /* 8.3 / 1.1 */
	padding: 10px 10px 160px 10px;
	width: 180px;
	background: #c4dd85 url(../images/greenmist.jpg) scroll no-repeat bottom left;
	font-weight: bold;
	}

#nav li li a:link, #nav li li a:visited, #nav li li span.nav-here {
	text-decoration: none;
	}

#nav li li a:hover, #nav li li a:active, #nav li li a:focus {
	color: #00F;
	text-decoration: underline;
	}

#nav-search label {
	float: left;	
	width: 5em;
	text-transform: uppercase;
	font-size: 1.2em;
	}

#nav-search input {
	margin-left: 10px;
	border: none;
	background: #fff;
	color: #000;
	width: 8em;
	font-size: 1.2em;
	}

#nav-main {
	padding-top: 15px;
	}
	
#nav-main #nav48 {
	padding-bottom: 1em;
	}

#nav-main #nav624 {
	padding-top: 1em;
	}

#nav-main ul ul {
	display: none;
	}

#nav-main li.active ul {
	display: block;
	}

#nav-main li li {
	display: block;
	padding-left: 30px;
	}

#nav-main #nav62 ul {
	display: none;
	}
	
#nav-login {
	margin-top: 2em;
	}

#nav-login h2 {
	margin: 0;
	padding: 0;
	font-size: 100%;
	}

#nav-login form * {
	font-size: 100%;
	}

#nav-login form div {
	margin: 0.5em 0;
	}

#nav-login input {
	width: 80%;
	}

#nav-login .checkbox * {
	vertical-align: middle;
	display: inline;
	}

#nav-login .radio input {
        display: inline;
        width: auto;
	border: none;
	background: white;
        }

#nav-login .radio label {
        display: block;
        }

#wlpeReminderButton {
	width: 100%;
	margin: 0;
	border: none;
	padding: 0;
	background: transparent;
	color: #3d3369;
	text-decoration: none;
	font-weight: bold;
	}

#wlpeReminderButton:hover, #wlpeReminderButton:focus {
	color: #00F;
	border-bottom: solid 1px #00f;
	}	

/*
  Sub-nav
  -------
*/

#sub-nav {
	float: right;
	margin-left: 10px;
	background: #c4dd85;
	}

#sub-nav h2 {
	font-size: 1.2em;
	padding: 10px 10px 4px 10px;
	}	

#sub-nav ul {
	padding: 0 10px 10px 20px;
	}
	
/*
  Section lists (member's resources, regions)
  -------------
*/

#section-list {
	float: left;
	margin: 0 15px 15px 0;
	}

#section-list li {
	margin: 0.3em 0;
	}

/*
  Prev-jump-next
  --------------
*/

.prev-jump-next {
	float: right;
	}

.prev-jump-next li {
	float: left;
	width: 5em;
	text-align: center;
	}

/* 
  Sponsor logos
  -------------
*/

#sponsors-logos.position-bottom { /* for JS */
	position: absolute;
	left: 15px;
	bottom: 160px; /* match #nav padding-bottom */
	}

#sponsors-logos ul.column {
	float: left;
	width: 90px;
	}

#sponsors-logos li img {
	display: block;
	margin-top: 10px;
	}

/*
  Content - right hand bar
  -------
*/

#summary-content {
	float: right;
	position: relative;
	margin: 0 15px 15px 0;
	width: 200px;
	}
	
#emergency-info {
	background: #c4dd85;
	padding: 10px;
	}
	
#emergency-info .richtext-container {
	width: 180px;
	margin-top: -151px;
	margin-left: -40px;
	padding: 151px 25px 0 40px;
	background: transparent url(../images/landrover_tr-nq8.png) scroll no-repeat top right; 
	}				/* note: image url changed by onload JS */
	
#emergency-info p {
	padding: 0;
	}
	
#emergency-info strong {
	font-size: 1.2em;
	}

#side-images img {
	margin-top: 15px;
	}

#latest-news-list {
	margin-top: 1em;
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 10px;
	}

#latest-news-list h3 {
	margin-top: 50px;
	font-size: 1.6em;
	}

#latest-news-list li {
	margin: 10px 0;	
	}

#latest-news-list p, #latest-news-list .read-more {
	padding: 0;
	}

.news-RSS-link {
	float: right;
	margin: 50px 0 1em 1em;
	}

/* RSS links */

.rss-item h4 {
	font-size: 1em;
	padding-bottom: 1em;
	}

/*
  Restricted area variations
  --------------------------
*/

body.up79 #emergency-info, body.up61 #emergency-info { /* Hide emergency info but keep divs with landrover image */
	background-color: #3d3369;
	padding-bottom: 0;
	}
body.up79 #emergency-info .richtext-container, body.up61 #emergency-info .richtext-container {
	min-height: 55px;
	}
body.up79 #emergency-info .richtext-container *, body.up61 #emergency-info .richtext-container * {
	display: none;
	}

body.up61 #emergency-info .richtext-container {
	background-image: none;
	}
	
/* 
  Content
  -------
*/	
	
#content {
	position: relative;
	margin-left: 230px;
	}

#main-content {
	margin-right: 230px;
	}

#main-article .richtext-container {
	font-size: 1.2em;
	line-height: 1.4;
	}

#sub-article {
	clear: left;
	}

#main-article:after, #sub-article:after {
	content: ".";
	display: block;
	height: 0;
	clear: left;
	visibility: hidden;
	}

#content img {
	max-width: 100%;
	}

/**********************************/
/* Rich text typography (TinyMCE) */
/**********************************/

.richtext-container {
	/* Apply global styles to here, not to <p>
	 * NOTE: this may be more appropriate applied to #content
	 */
	}
	
.richtext-container ul {
	list-style-type: disc;
	padding-left: 2em;
	}
.richtext-container ol {
	list-style-type: decimal;
	padding-left: 2em;
	}

.richtext-container p, .richtext-container li {
	padding-bottom: 1em;
	}

.richtext-container strong { font-weight: bold; }

.richtext-container em { font-style: italic; }

.richtext-container sup { vertical-align: top; font-size: 60%; }

.richtext-container sub { vertical-align: bottom; font-size: 60%; }

.richtext-container img {
	display: block;
	margin-bottom: 15px;
	}

/* 
  News
  ----
*/

#news-list h3 {
	padding: 0;
	}

#news-list li {
	margin-bottom: 1em;
	}

#news-list p {
	padding: 0;
	}

/* 
  Resources e.g. downloads, external links
  ---------
*/

ul.tabs {
	background: #c4dd85;
	color: white !important;
	padding: 0.5em 0;
	}

ul.tabs * {
	margin: 0;
	padding: 0;
	}

ul.tabs a {
	display: block;
	padding-left: 15px;
	}

ul.tabs a:link, ul.tabs a:visited {
	color: black;
	}

ul.tabs a:hover, ul.tabs a:active, ul.tabs a:focus {
	color: #00F;
	}

#list-section, #search-section {
	padding: 15px;
	}

/* #downloads-list */ .download-link {
	margin-bottom: 1em; /* was 0.5em. changed 25 May 2010 */
	}

#downloads-list .external-link {
	margin-bottom: 1em;
	}

#downloads-list {
	padding: 1em 0;
	}

#downloads-list li {
	clear: left;
	padding-bottom: 1em; /* prefer margin, but IE8 doesn't work after animating tabs */
	}

#downloads-list * {
	margin: 0;
	padding: 0;
	}

#downloads-list h3 {
	font-size: 100%;
	font-weight: bold;
	}

#downloads-list p {
	margin-bottom: 0.2em;
	}

#downloads-list h3, #downloads-list p, #downloads-list .read-more {
	margin-left: 8em;
	}

#downloads-list li img {
	float: left;
	margin-bottom: 30px;
	}

#downloads-list li.with-image-120 {
	padding-bottom: 30px;
	}

#downloads-list li.with-image-120 .li-info {
	margin-left: 135px;
	}

#downloads-list li.with-image-120 .li-info * {
	margin-left: 0;
	}

#downloads-list .shortcut-links {
	float: left;
	width: 8em;
	}

.pdf-download a {
	display: block;
	min-height: 17px;
	padding-left: 34px;
	background: url(../images/pdficon_small.gif) scroll no-repeat center left;
	}

.get-adobe-reader {
	margin: 33px 0;
	}

#downloads-list-filter {
	float: right;
	}

/*
  Teams/Regions
  -------------
*/

#team-list li {
	margin-bottom: 1em;
	}

#region-map img {
	float: right;
	margin: 0 0 20px 20px;
	}

#region-map #sub-nav {
	float: none;
	margin-bottom: 1em;
	}

#region-filter {
	margin: 1em 0 2em 0;
	}

#region-filter * {
	display: inline;
	}

#region-filter option {
	display: block;
	}

/*
  Members area home
  -----------------
*/

#board-news {
	margin-bottom: 15px;
	border: solid 5px #3d3369;
	background: #3d3369;
	}

#board-news h2 {
	margin-top: -15px;
	padding: 15px 0 0.2em 10px;
	line-height: 35px;
	height: 35px;
	font-size: 1.8em;
	background: url(../images/pin.png) scroll no-repeat top right;
	color: #c4dd85;
	}

#board-news h3, #board-news .forum-post-container {
	font-size: 1.2em;
	padding: 0;
	background: white;
	}

#board-news .forum-post-container {
	padding: 10px;
	}

#board-news .forum-post-container * {
	font-size: 100%;
	}

#board-news li {
	margin-bottom: 1em;
	}

#todays-calendar ul {
	list-style-type: none;
	}

#todays-calendar li {
	padding-left: 1em;
	}

#recent-posts h2 {
	padding: 1em 0 0 0;
	}

#recent-posts table {
	table-layout: fixed;
	width: 100%;
	}

#recent-posts table thead {
	text-indent: -5000px;
	}

#recent-posts td {
	overflow: hidden;
	padding: 0.4em 0.4em 0.4em 0;
	}

span.new-post-indicator {
	font-style: italic;
	font-weight: bold;
	}

#recent-resources h2 {
        padding: 1.5em 0 0 0;
        }

/*
  Member's Offers
  ---------------
*/

#offer-image {
	margin-bottom: 20px;
	}

/*
  Member's area (other)
  ---------------------
*/

.solitary-link a {
	display: block;
	padding: 1em 0;
	}

#resource_content_container, #news_content_container {
	position: relative; /* cross-browser */
	left: 15px;
	display: block;
	margin-left: 15px;
	}

#members-contact h3 {
	clear: left;
	margin-left: 125px;
	}

/*
  Search results
  --------------
*/

#content .highlight {
	background: #FF0;
	}

#summary-content .highlight {
	background: transparent;
	}

.search-pagination {
	margin: 1em 0;
	}

.search-pagination-itemsperpage, .search-pagination-links {
	display: inline;
	}

.search-pagination-itemsperpage, .search-pagination-itemsperpage label {
	padding-right: 1em;
	}

#content input#search-re-search-terms {
	margin: 1em 1em 1em 0;
	width: 70%;
	}

#content input#search-re-search-submit {
	margin: 1em 0;
	width: 9em;
	font-size: 100%;
	}

/*
  Download list search
  --------------------
*/

#download-search #search {
	width: 15em;
	}

#download-search-results {
	margin-left: 125px;
	}

/*
  Team Admin
  ----------
*/

#team-member-list form {
	float: right;
	margin-left: 1em;
	}

#team-member-list h3 {
	padding: 1em 0 0 0;
	}

/*
  Footer
  ------
*/

#footer {
	clear: both;
	margin-top: 15px;
	}

#footer p {
	padding: 0;
	}

#footer-mr {
	padding: 0.5em 0;
	font-size: 1.4em;
	font-weight: bold;
	text-align: center;
	background: #3d3369;
	color: #fff;
	}

#credits {
	padding: 1em;
	background: #bdc6ab;
	color: black;
	}

#credits a:link, #credits a:visited {
	font-weight: bold;
	color: #1e1635;
	}

#credits a:hover, #credits a:active, #credits a:focus {
	color: #00f;
	text-decoration: underline;
	}
