/*-----------------------------------------------------------------------------
English Heritage Toolkit Style Sheet
Copyright 2006
All Rights Reserved
----------------------------------------------------------------------------- */

/* =Body : remove padding and margin
----------------------------------------------------------------------------- */
* {
  margin: 0;
	padding: 0;
}

body {
	font-family: "Lucida Grande","Trebuchet MS","Tahoma","Helvetica","Arial",sans-serif;
	background: #000;
	text-align: center; /* for IE + auto margins */
	font-size: x-small; /* IE5/Win thinks the declaration has ended */
	voice-family: "\"}\"";
	voice-family: inherit;
	font-size: small; /* for complient browsers */
}

html>body { /* be nice to Opera */
	font-size: small;
}

/* =Wrapper : container for all elements
----------------------------------------------------------------------------- */
#wrapper {
	position: relative;
	width: 800px;
	margin: 0 auto;
	text-align: left;
	border-left: 1px solid #fff;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	height: 100%;
	overflow: hidden;
	background: #fff url("../images/faux_columns.gif") repeat-y top left;
}

#wrapper_single { /* for glossary only */
	position: relative;
	width: 800px;
	margin: 0 auto;
	text-align: left;
	border-left: 1px solid #fff;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	height: 100%;
	overflow: hidden;
	background: #fff;
}

#wrapper img {
	border: 0
}

/* =JCA navigation :
----------------------------------------------------------------------------- */
#jca_nav {
	background-color: #000;
	margin: 0;
	padding: 0.3em;
	text-align: right;
}

/* =Masthead : logo
----------------------------------------------------------------------------- */
#masthead {
	width: 800px;
	height: 120px;
	float: left;
	background: url("../images/header.jpg") no-repeat;
}

#masthead h1.summary a {
	clear: both;
	display: block;
	text-indent: -5000px;
}

/* =Main navigation :
----------------------------------------------------------------------------- */
#main_nav {
	width: 100%;
	background-color: #2f6a4a;
	float: left;
	margin: 0;
	border-top: 1px solid #fff;
}

#main_nav li {
	float: left;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.8em;
	border-right: 1px solid #fff;
}

#main_nav li a {
	display: block;	
	text-decoration: none;
	color: #fff;
	font-weight: bold;
	padding: 0.6em 1em;
	background: #2f6a4a;
	margin: 0;
}

#main_nav li a:hover {
	display: block;	
	text-decoration: none;
	color: #fff;
	padding: 0.6em 1em;
	background: #000;
	margin: 0;
}

#home #main_nav #t-home a, #national #main_nav #t-national a, #regional #main_nav #t-regional a, #local #main_nav #t-local a, #af #main_nav #t-af a, #glossary #main_nav #t-glossary a, #dating #main_nav #t-dating a, #sources #main_nav #t-sources a {
	color: #fff;
	background: #000;
	cursor: default;
	font-weight: bold;
}

#glossary #sub_nav #t-a a, #glossary #sub_nav #t-b a {
	color: #fff;
	background: #000;
	cursor: default;
	font-weight: bold;
}

/* =Sub navigation for GLOSSARY only a - z:
----------------------------------------------------------------------------- */
#sub_nav {
	width: 100%;
	background-color: #7f5726;
	float: left;
	margin: 0;
	border-top: 1px solid #fff;
}

#sub_nav li {
	float: left;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.8em;
}

#sub_nav li a {
	display: block;	
	text-decoration: none;
	color: #fff;
	font-weight: bold;
	padding: 0.6em 1.4em;
	background: #7f5726;
	margin: 0;
}

#sub_nav li a:hover {
	display: block;	
	text-decoration: none;
	color: #fff;
	padding: 0.6em 1.4em;
	background: #000;
	margin: 0;
}

#sub_nav li.search {
	float: right;
	padding: 0 1em 0 0;
}

#sub_nav input {
	color: #999;
}

#sub_nav input:focus {
	color: ff0000;
}
	

/* =Main content : for 2 columns
----------------------------------------------------------------------------- */
#main_content {
	float: left;
	width: 525px;
	margin: 25px 0 0 1em;
	display: inline;
}

#main_content p {
	line-height: 1.6em;
	font-size: 100%;
	color: #333;
	padding-bottom: 10px;
}

#main_content p.first {
	font-weight: bold;
}

#main_content h1 {
	font-size: 140%;
	padding-bottom: 10px;
	color: #2f6a4a;
	font-weight: bold;
}

#main_content h2 {
	font-size: 120%;
	padding: 10px 0 5px 0;
	color: #2f6a4a;
	font-weight: bold;
}

#main_content h3 {
	font-size: 110%;
	padding-bottom: 5px;
	color: #2f6a4a;
	font-weight: bold;
}

#main_content h4 {
	font-size: 100%;
	padding-bottom: 5px;
	color: #2f6a4a;
	font-weight: bold;
}

#main_content a:link {
	color: #000;
	font-weight: bold;
}

#main_content a:visited {
	color: #666;
	font-weight: bold;
}

#main_content a:hover {
	background-color: #ddd;
}

#main_content ul {
	font-size: 100%;
	line-height: 1.8em;
	color: #333;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#main_content li {
	padding: 0 0 5px 22px;
	background: url("../images/bullet.gif") no-repeat 3px 6px;
}

#main_content #titles {
	font-size: 110%;
	color: #2f6a4a;
	font-weight: bold;
}

.main_divider {
	border-top: 1px solid #ccc;
	margin-top: 20px;
}

#main_content p.note {
	font-size: 90%;
	color: #999;
	font-style: italic;
}

#main_content p.details {
	font-size: 90%;
	color: #666;
}

#main_content p img {
	float: right;
	margin: 10px 0 10px 10px;
	border: 1px solid #000;
}

#main_content img {
	border: 1px solid #333;
}

#main_content img.no_link a:hover {
	background-color: #fff;
}

#main_content p.usernote {
	font-style: italic;
	color: #ff0000;
	font-weight: bold;
}
/* for highlighting links to glossary */
#main_content a.glossary {
	background: url("../images/glossary_bullet.gif") no-repeat right top;
	padding-right: 10px;
}

#main_content a:hover.glossary {
	background: url("../images/glossary_bullet.gif") no-repeat right top;
	padding-right: 10px;
	text-decoration: underline;
}
/* end */

/* for highlighting EXTERNAL links only */
a[href^="http:"] {
	background: url("../images/bullet_external.gif") no-repeat right top;
	padding-right: 10px;
}
/* end */

/* for highlighting PDF links only */
a[href$=".pdf"] {
	background: url("../images/bullet_pdf.gif") no-repeat right top;
	padding-right: 10px;
}
/* end */

/* changing the h1 and h2 to appropriate section colour */
#national #main_content h1, #national #main_content h2, #national #sub_content h2 {
	color: #003366;
}

#regional #main_content h1, #regional #main_content h2, #regional #main_content h3, #regional #sub_content h2 {
	color: #6785a3;
}

#local #main_content h1, #local #main_content h2, #local #main_content h3, #local #sub_content h2 {
	color: #a3b1bf;
}

#af #main_content h1, #af #main_content h2, #af #sub_content h2 {
	color: #7f0000;
}

/* =Table for displaying images and copy - JCA and GLOSSARY
---------------------------------------------------------------------------------------------------------------------- */
table {
	background-color: #ebebeb;
	margin: 10px 0;
	border-top: 1px solid #2f6a4a;
	border-left: 1px solid #2f6a4a;
	border-right: 1px solid #2f6a4a;
	font-size: 80%;
	line-height: 1.4em;
	width: 100%;
}

table td {
	margin: 0;
	padding: 5px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid #2f6a4a;
}

table caption {
	text-align: left;
	font-weight: bold;
}

.headertitle {
	text-align: left;
	color: #fff;
	padding: 5px;
	background-color: #2f6a4a;
}

.cellborder {
	border-right: 1px solid #000;
}

.copynote {
	font-size: 90%;
}

.tablenote {
	font-size: 90%;
	font-weight: normal;
	color: #ccc;
}

.alt {
	background-color: #fff;
}

table td.imgonly {
	text-align: right;
}

/* =Main content : for 1 column : GLOSSARY only - now there's a colour assigned to the glossary this should really be renamed to something like #main_content_glossary
------------------------------------------------------------------------------------------------ */
#main_content_single {
	float: left;
	margin: 25px 1em;
	display: inline;
}

#main_content_single p {
	line-height: 1.6em;
	font-size: 100%;
	color: #333;
	padding-bottom: 10px;
}

#main_content_single h1 {
	font-size: 140%;
	padding-bottom: 10px;
	color: #7f5726;
	font-weight: bold;
}

#main_content_single h1.notfound {
	font-size: 140%;
	padding-bottom: 10px;
	color: #ff0000;
	font-weight: bold;
}

#main_content_single h2 {
	font-size: 120%;
	padding-bottom: 5px;
	color: #7f5726;
	font-weight: bold;
	border-top: 1px solid #83a693;
	padding-top: 8px;
}

#main_content_single h3 {
	font-size: 110%;
	padding: 0 0 5px 0;
	color: #2f6a4a;
	font-weight: bold;
}

#main_content_single a:link {
	color: #000;
}

#main_content_single a:hover {
	background-color: #ddd;
	color: #000;
}

#main_content_single ul {
	font-size: 100%;
	color: #333;
	margin: 0 0 25px 0;
	padding: 0;
	list-style-type: none;
}

#main_content_single li {
	padding: 0 0 5px 20px;
	background: url("../images/bullet.gif") no-repeat 0 5px;
}

#main_content_single img, #main_content_single a {
	border: none;
}

#main_content_single img.inlineimage {
	border: 1px solid #333;
	float: right;
	margin: 10px 0 10px 10px;
}

#main_content_single p.usernote {
	font-style: italic;
	color: #ff0000;
	font-weight: bold;
}

/* =Main content : for 1 column : HOME only - now there's a colour assigned to the glossary this should really be renamed to something like #main_content_glossary
------------------------------------------------------------------------------------------------ */
#main_content_home {
	float: left;
	margin: 25px 1em;
	display: inline;}

#main_content_home p {
	line-height: 1.6em;
	font-size: 100%;
	color: #333;
	padding-bottom: 10px;}

#main_content_home h1 {
	font-size: 140%;
	padding-bottom: 10px;
	color: #2f6a4a;
	font-weight: bold;}

#main_content_home h2 {
	font-size: 120%;
	padding-bottom: 5px;
	color: #2f6a4a;
	font-weight: bold;
	border-top: 1px solid #83a693;
	padding-top: 8px;}

#main_content_home a:link {
	color: #000;}

#main_content_home a:hover {
	background-color: #ddd;
	color: #000;}

#main_content_home ul {
	font-size: 100%;
	color: #333;
	margin: 0 0 25px 0;
	padding: 0;
	list-style-type: none;}

#main_content_home li {
	padding: 0 0 5px 20px;
	background: url("../images/bullet.gif") no-repeat 0 5px;}
	

/* =Sub content : on right of page
----------------------------------------------------------------------------- */
#sub_content {
	float: right;
	width: 250px;
	display: inline;
}

#sub_content p {
	font-size: 80%;
	line-height: 1.4em;
	color: #333;
	margin: 5px 5px 0 10px;
}

#sub_content p a {
	text-decoration: underline;
	color: #333;
}

#sub_content p a:hover {
	color: #333;
	background-color: #ddd;
}

#sub_content h2 {
	font-size: 90%;
	font-weight: bold;
	margin: 20px 5px 5px 10px;
}

.divider {
	border-top: 1px solid #ccc;
	padding-top: 15px;
	color: #2f6a4a;
}

#home #sub_content h2.dividerregional, #national #sub_content h2.dividerregional, #local #sub_content h2.dividerregional, #af #sub_content h2.dividerregional, #sources #sub_content h2.dividerregional {
	border-top: 1px solid #ccc;
	padding-top: 15px;
	color: #6785a3;
}

#local #sub_content h2.dividerlocal, #sub_content h2.dividernational, #regional #sub_content h2.dividerlocal {
	border-top: 1px solid #ccc;
	padding-top: 15px;
	color: #a3b1bf;
}

#regional #sub_content h2.dividernational, #sources #sub_content h2.dividernational, #local #sub_content h2.dividernational {
	border-top: 1px solid #ccc;
	padding-top: 15px;
	color: #003366;
}

#sources #sub_content h2.dividersource {
	border-top: 1px solid #ccc;
	padding-top: 15px;
	color: #2f6a4a;
}

#sources #sub_content h2 {
	color: #2f6a4a;
}

#home #sub_content h2 {
	color: #2f6a4a;
}

.topmargin {
	padding-top: 5px; /* brings the sub content header inline with main content header */
}

#sub_content ul {
	margin: 0 5px;
	padding: 0;
	list-style-type: none;
	font-size: 90%;
}

#sub_content li {
	margin: 0;
	padding: 0;
}

#sub_content li a {
	display: block;
	border-bottom: 1px solid #fff;	
	text-decoration: none;
	color: #fff;
	padding: 0.6em;
	background-color: #6785a3; /* colour coding: REGIONAL */
	margin: 0;
	height: 1.5em; /* without this height value IE will separate the menu <li> */
}

#sub_content li a:hover {
	background: #666;
}

#sub_content img {
	margin: 0 5px 0 0;
}

#regional #sub_content #sub_highlight a, #glossary #sub_content #sub_highlight a, #dating #sub_content #sub_highlight a, #sources #sub_content #sub_highlight a, #national #sub_content #sub_highlight a, #local #sub_content #sub_highlight a {
	color: #fff;
	background: #333;
	cursor: default;
}

#sub_content input {
	color: #999;
}

#sub_content input:focus {
	color: #ff0000;
}

/* LOCAL colour */

#loc li a {
	display: block;
	border-bottom: 1px solid #fff;	
	text-decoration: none;
	color: #ccc;
	padding: 0.4em;
	background-color: #a3b1bf;
	margin: 0;
	height: 1.2em; /* without this height value IE will separate the menu <li> */
	font-size: 85%;
	cursor: default;
}

#loc li a:hover {
	background: #666;
}

#local #local_sub li a { /* these next 2 styles are controlling the link states of the 'local' context' sub menu - only required to distinguish between this menu and the inactive options on SE local character summaries */
	display: block;
	border-bottom: 1px solid #fff;	
	text-decoration: none;
	color: #fff;
	padding: 0.4em;
	background-color: #a3b1bf;
	margin: 0;
	height: 1.2em; /* without this height value IE will separate the menu <li> */
	font-size: 85%;
}

#local #local_sub li a:hover {
	background: #666;
}

#dating #sub_content #article_highlight a {
	color: #fff;
	background: #333;
	cursor: default;
}

#regional #sub_content #on a {
	color: #fff;
	cursor: pointer;
}

/* NATIONAL colour */

#nat li a {
	display: block;
	border-bottom: 1px solid #fff;	
	text-decoration: none;
	color: #fff;
	padding: 0.6em;
	background-color: #003366;
	margin: 0;
	height: 1.5em; /* without this height value IE will separate the menu <li> */
}

#nat li a:hover {
	background: #666;
}

/* ASSESSMENT FRAMEWORK colour */

#assess li a {
	display: block;
	border-bottom: 1px solid #fff;	
	text-decoration: none;
	color: #fff;
	padding: 0.6em;
	background-color: #7f0000;
	margin: 0;
	height: 1.5em; /* without this height value IE will separate the menu <li> */
}

#assess li a:hover {
	background: #666;
}

/* SOURCES colour */

#source li a {
	display: block;
	border-bottom: 1px solid #fff;	
	text-decoration: none;
	color: #fff;
	padding: 0.6em;
	background-color: #2f6a4a;
	margin: 0;
	height: 1.5em; /* without this height value IE will separate the menu <li> */
}

#source li a:hover {
	background: #666;
}

/* =Site info : footer information
----------------------------------------------------------------------------- */
#site_info {
	clear: both;
	background-color: #2f6a4a;
	padding-top: 15px;
	height: 2em;
	border-top: 1px solid #fff;
}

#site_info {
	color: #fff;
	font-size: 80%;
	text-align: center;
}

/* = amendment notes
----------------------------------------------------------------------------- */

.notestoself {
	background-color: yellow;
}
