/*-----------------------------------------------------------------------------
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: 920px;
	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-color: #fff;
}

#wrapper_single { /* for glossary only */
	position: relative;
	width: 920px;
	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;
}

a img { /* this will get rid of the nasty blue border around linked images */
	border: none;}
	
a:hover img {
	background-color: none;}
	
p.notes {
	font-style: italic;}

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

/* =Masthead : logo
----------------------------------------------------------------------------- */
#masthead {
	width: 920px;
	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: #173725 url("../images/main_nav_bg.jpg") repeat-x;
	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: #173725 url("../images/main_nav_bg.jpg") repeat-x;
	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-assess 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: #2a1d0b url("../images/glossary_nav_bg.jpg") repeat-x;
	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.2em;
	background: #2a1d0b url("../images/glossary_nav_bg.jpg") repeat-x; 
	margin: 0;
}

#sub_nav li a:hover {
	display: block;	
	text-decoration: none;
	color: #fff;
	padding: 0.6em 1.2em;
	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 on HOME page
----------------------------------------------------------------------------- */
#main_content_homeL {
	float: left;
	width: 535px;
	margin: 0 0 0 10px;}

#main_content_homeL p {
	line-height: 1.5em;
	font-size: 0.9em;
	color: #333;
	margin-bottom: 10px;}

#main_content_homeL h1 {
	font-size: 1.3em;
	padding-bottom: 10px;
	color: #2f6a4a;
	font-weight: normal;}
	
#main_content_homeL h5 {
	font-size: 0.9em;
	padding: 5px 0;
	color: #2f6a4a;
	font-weight: normal;}
	
#main_content_homeL a:link {
	color: #2f6a4a;}

#main_content_homeL a:visited {
	color: #666;}

#main_content_homeL a:hover {
	color: #fff;
	background-color: #2f6a4a;}

#main_content_homeL ul {
	font-size: 0.9em;
	line-height: 1.5em;
	color: #333;
	margin: 0;
	padding: 0;
	list-style-type: none;}

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

/* =Main content: for 2 columns other than HOME page on site
----------------------------------------------------------------------------- */
#main_content_L {
	float: left;
	width: 650px;
	margin: 25px 0 0 10px;}
	
#main_content_L p {
	line-height: 1.5em;
	font-size: 0.9em;
	color: #333;
	margin-bottom: 15px;}
	
.blue_highlight {
	background-color: cyan;}

#main_content_L h1 {
	font-size: 1.3em;
	padding-bottom: 10px;
	color: #2f6a4a;
	font-weight: normal;}
	
#main_content_L h2 {
	font-size: 1.2em;
	padding-bottom: 10px;
	color: #333;
	font-weight: normal;}
	
#main_content_L h3 {
	font-size: 1.1;
	padding-bottom: 5px;
	color: #333;
	font-weight: normal;}
	
#main_content_L h4 {
	font-size: 1.2em;
	padding: 5px 0;
	color: #333;
	font-weight: normal;
	border-top: 1px solid #ccc;}
	
#main_content_L h5 {
	font-size: 1.2em;
	padding: 5px 0;
	color: #333;
	font-weight: normal;
	margin-top: 40px;}
	
#main_content_L h6 {
	font-size: 1em;
	padding: 5px 0;
	color: #333;
	font-weight: normal;}
	
#main_content_L a:link {
	color: #2f6a4a;}

#main_content_L a:visited {
	color: #666;}

#main_content_L a:hover {
	color: #fff;
	background-color: #2f6a4a;}
	
#main_content_L ul {
	font-size: 0.9em;
	line-height: 1.5em;
	color: #333;
	margin: 0;
	padding: 0;
	list-style-type: none;}

#main_content_L li {
	padding: 0 0 5px 22px;
	background: url("../images/bullet.gif") no-repeat 0 2px;}
	
#main_content_L img.floatright {
	float: right;
	margin: 0 0 10px 10px;
	border: 1px solid #000;}
	
#main_content_L img {
	border: 1px solid #000;}	

/////

#main_content_homeL h5 {
	font-size: 0.9em;
	padding: 5px 0;
	color: #2f6a4a;
	font-weight: normal;}

#main_content_homeL a:link {
	color: #2f6a4a;}

#main_content_homeL a:visited {
	color: #666;}

#main_content_homeL a:hover {
	color: #fff;
	background-color: #2f6a4a;}

#main_content_homeL ul {
	font-size: 0.9em;
	line-height: 1.5em;
	color: #333;
	margin: 0;
	padding: 0;
	list-style-type: none;}

#main_content_homeL li {
	padding: 0 0 5px 22px;
	background: url("../images/bullet.gif") no-repeat 0 2px;}
	
#main_content_L
	
.downloadpdf {
	border: 1px solid #ccc;
	padding: 5px;
	background-color: #fafafa;
	margin-bottom: 10px;}
	
#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 {
	float: left;
	border: 1px solid #2f6a4a;}

.select {
	margin-bottom: 15px;}

#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, #main_content_L 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.5em;
	width: 100%;
	border-collapse: collapse;}
	
th {
	background-color: #2f6a4a;
	font-size: 1.2em;
	color: #fff;
	padding: 5px;}

table td {
	margin: 0;
	padding: 5px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid #2f6a4a;
	line-height: 1.75em;}
	
.col_header_L {
	font-size: 1.2em;
	background-color: #fff;
	color: #2f6a4a;
	border-right: 1px solid #2f6a4a;}
	
.col_header {
	font-size: 1.2em;
	background-color: #fff;
	color: #2f6a4a;}
	
.cell_L {
	border-right: 1px solid #2f6a4a;
	width: 50%;
	font-size: 1.15em;}
	
.cell_R {
	font-size: 1.15em;}
	
#main_content_L .cell_R li {
	list-style-type: disc;
	background: none;
	padding: 0 0 10px 5px;
	list-style-position: inside;}
	
table caption {
	text-align: left;
	font-weight: bold;}

.headertitle {
	text-align: left;
	color: #fff;
	padding: 5px;
	background-color: #2f6a4a;}
	
.jca_header {
	background-color: #2f6a4a;
	font-size: 1.1em;
	color: #fff;
	text-transform: uppercase;
	border-top: 1px solid #000;}

.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;}

.notice {
	color: #666;}
	
table td img {
	float: right;}

/* =Main content : for 1 column
------------------------------------------------------------------------------------------------ */
#main_content_glossary {
	float: left;
	margin: 25px 10px;
	display: inline;}

#main_content_glossary p {
	line-height: 1.6em;
	font-size: 1em;
	color: #333;
	padding-bottom: 10px;}

#main_content_glossary h1 {
	font-size: 1.4em;
	padding-bottom: 10px;
	color: #7f5726;
	font-weight: normal;}

#main_content_glossary h2 {
	font-size: 1.2em;
	padding-bottom: 5px;
	color: #7f5726;
	font-weight: normal;
	border-top: 1px solid #83a693;
	padding-top: 8px;}

#main_content_glossary h3 {
	font-size: 1.1em;
	padding: 0 0 5px 0;
	color: #2f6a4a;
	font-weight: normal;}
	
#main_content_glossary a:link {
	color: #2f6a4a;}

#main_content_glossary a:visited {
	color: #666;}

#main_content_glossary a:hover {
	color: #fff;
	background-color: #2f6a4a;}

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

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

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

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

#main_content_glossary 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 10px 0 10px;}

#main_content_home p {
	line-height: 1.5em;
	font-size: 0.9em;
	color: #333;
	padding-bottom: 10px;}

#main_content_home h1 {
	font-size: 1.3em;
	padding-bottom: 10px;
	color: #2f6a4a;
	font-weight: normal;}
	
#main_content_home h2 { /* same as h1 but incl divider between sections */
	font-size: 1.3em;
	padding: 10px 0;
	color: #2f6a4a;
	font-weight: normal;
	border-top: 1px solid #2f6a4a;}
	
#main_content_home h5 {
	font-size: 0.9em;
	padding: 5px 0;
	color: #2f6a4a;
	font-weight: normal;}

#main_content_home a:link {
	color: #2f6a4a;}
	
#main_content a:visited {
	color: #666;}

#main_content_home a:hover {
	background-color: #2f6a4a;
	color: #fff;}

#main_content_home ul {
	font-size: 0.9em;
	color: #333;
	margin: 0 0 10px 0;
	padding: 0;
	list-style-type: none;}

#main_content_home li {
	padding: 0 0 5px 20px;
	background: url("../images/bullet.gif") no-repeat 0 2px;}
	
#main_content_home img {
	padding: 0 0 10px 0;}
	
/* =Sub content : boxes on right of HOME page
----------------------------------------------------------------------------- */
.sub_content {
	float: right;
	width: 300px;
	border: 1px solid #2f6a4a;
	margin: 0 10px 20px 0;
	background-color: #fafafa;}

.sub_content p {
	font-size: 0.9em;
	line-height: 1.4em;
	color: #333;
	padding: 5px;}

.sub_content a:link {
	color: #2f6a4a;}
	
.sub_content a:visited {
	color: #666;}

.sub_content a:hover {
	color: #fff;
	background-color: #2f6a4a;}
	
.sub_content ul {
	font-size: 0.9em;
	color: #333;
	margin: 0 0 0 5px;
	padding: 0;
	list-style-type: none;}

.sub_content li {
	padding: 0 0 5px 20px;
	background: url("../images/bullet.gif") no-repeat 0 2px;}
	
#yourarea_wrapper {
	float: left;}
	
	
/* =Sub content : column on right of page used with main_content_L
----------------------------------------------------------------------------- */
#sub_content {
	float: right;
	width: 200px;
	margin: 25px 5px 0 0;}

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

#sub_content p a:link {
	color: #2f6a4a;}

#sub_content a:hover {
	color: #fff;
	background-color: #2f6a4a;}
	
#sub_content p.yellow_highlight {
	background-color: yellow;
	padding: 3px;}
	
#sub_content p.yellow_highlight a:link {
	color: #2f6a4a;}

#sub_content p.yellow_highlight a:hover {
	color: #fff;
	background-color: #2f6a4a;}

#sub_content h2 {
	font-size: 0.9em;
	font-weight: normal;
	padding: 0 0 5px 0;}

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

#sub_content ul {
	margin: 0 0 20px 0;
	padding: 0;
	list-style-type: none;}

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

#sub_content li a {
	display: block;
	font-size: 0.8em;
	border-bottom: 1px solid #fff;	
	text-decoration: none;
	color: #fff;
	padding: 0.4em;
	background-color: #6785a3; /* colour coding: REGIONAL */
	margin: 0;}

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

#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: 5px;
	margin-top: 10px;
	color: #6785a3;}

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

#regional #sub_content h2.dividernational, #sources #sub_content h2.dividernational, #local #sub_content h2.dividernational {
	border-top: 1px solid #ccc;
	padding-top: 5px;
	color: #003366;}
	
#af #sub_content h2.dividerassess {
	border-top: 1px solid #ccc;
	padding-top: 5px;
	margin-top: 10px;
	color: #7f0000;}

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

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

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





#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 sub menu colour */

#sub_content #loc li a:link {
	background-color: #a3b1bf;
	color: #ccc;}

#sub_content #loc li a:hover {
	background: #666;}
	
#sub_content #loc .on a:link {
	color: #fff;
}
	

#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;
}



/* 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: 1.5em;
	border-top: 1px solid #fff;}

#site_info {
	color: #fff;
	font-size: 0.8em;
	text-align: center;}

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

.notestoself {
	background-color: yellow;
}
