/* ***************************************
*** Bankofengland.co.uk colour palette ***
#404041 - outside wrapper bg & font
#E7E0D8 - main grey
#B5ACA3 - quick links dark grey
#8F8F8F - footer
#DE7A00 - orange for hyperlinks
#E2DEDB - nav menu off
#E6E6E6 - nav menu hover
#D8D0C7 - menu border
#FFFFFF - menu background
#ACA57B - tombstone green
#A29A86 - right panel border
#CDC7AC - right panel green
#951344 - homepage "More" red/mauve
#E4E4E4 - tombstone light blue
*************************************** */

/************************
NOTE: Need to remember the following:
- advanced search page footer links hardcoded url's to page on server.  need to change in calmviewconfig.
************************/

/****************************/
/* CORE COLOUR THEME CHANGE */
/****************************/
body { background: #404041; color: #404041; font-family: Arial,Helvetica,sans-serif; margin-top: 12px;}
div#headerMenu, table.overview th, table.overview tr.record,h1#ctl00_main_whatsnewtitle { background-color: #E7E0D8; color: #404041; }

div#welcomepicture { height: 231px !important; width: 590px !important; margin: 5px !important; width: 100%; border-top: 1px solid white; }

/*div#welcomepicture { height: 231px !important; width: 590px !important; margin: 5px !important; background: url(images/homeimage.jpg) no-repeat scroll left top; width: 100%; border-top: 1px solid white; }*/

/* div#welcomepicture { display: none !important; } */
h1#welcometitle { background-color: #FFFFFF; color: #404041; font-size: 1.3em !important; padding:10px 5px;}

/****************/
/* SITE OUTLINE */
/****************/

div.site { border-left: solid 0px #E7E0D8; width: 775px; }
/*div.site { background:url(images/wrapper-bg.jpg) top left repeat-x !important; background-color: #E7E0D8!important; }*/
div.site { background-color: #E7E0D8!important; }
div.main {width: 100%; padding: 3px;}
div.navigationmenu { width: 166px; }
div.content { /* width: 577px; */ width: 602px; }
div#ctl00_PoweredBy { display: none; }

/* NOT USED FOR MOMENT, USED IF WANT INLINE IMAGE ON HOMEPAGE
.homeImgRight { float: center; padding: 0px 0px 10px 10px; width: 300px; height: 117px; url(images/image300x117.jpg) no-repeat; }
.homeImgRight { text-align: center; display: block; padding: 0px; width: 447px; height: 174px; url(images/homeimage.jpg) no-repeat; }
*/

/***********/
/* GENERAL */
/***********/
h1#welcometitle, h1#pagetitle, .main h1 {font-size: 1.3em !important; }
.breadcrumb h1 { font-size: 1em !important; }
.breadcrumb { padding-top: 5px; }
div.field-collapsed .expandsearchterm a { color: #FFFFFF; }
h2#h2title { font-size: 1.3em !important; }
h2#h2title a, h2#h2title a:hover { color: #404041 !important; }
.main h1 { padding-left: 5px; }
h1#pagetitle { font-weight: bold; text-indent: -5px; padding-bottom: 15px; border-bottom: 1px solid #ACA57B; display: block; }
div.CustomContent, div.sitemap {width: 592px; padding: 5px !important;}

/************************************************/
/* TEST TO TRY AND GET HIERACHY BROWSER WORKING
div#ct100_main_ct100 table tbody tr td, div#ct100_main_ct100n0Nodes table td
{ 
	white-space: normal !important;
	width: 100px !important;
	word-wrap: break-word !important;
}

.ct100_main_ct100_0 { white-space: normal !important; width: 100px !important; }
*/
/************************************************/

/**********/
/* HEADER */
/**********/
.header {
	float: left;
	min-height: 150px; 	/* SET TO HEIGHT OF IMAGE */
	height: 150px; 		/* SET TO HEIGHT OF IMAGE */
	height: auto !important;
	width: 765px;
	background: #FFFFFF url(images/header.jpg) no-repeat scroll top left !important;
	color: #000000;
	border: 5px solid #E7E0D8; border-top: 10px;
}

/***********/
/* TOOLBAR */
/***********/
.FontSizeSwitcherContainer input,.StyleSwitcherContainer input,input.SearchButton, input.SearchTextBox { color: #404041; border: 1px solid #C1B8B3;}
/* input.SearchButton { background-color: #ACA57B; color: #FFFFFF; border: 1px solid #A29A86; } */
div.FontSizeSwitcherContainer { border-right: solid 2px #C1B8B3; }
div#headerMenu { background-color: #E7E0D8; color: #404041; padding: 10px 0px; border-bottom: 0px; }
.FontSizeSwitcherContainer input,.StyleSwitcherContainer input,input.SearchButton, input.SearchTextBox { color: #404041; border: 1px solid #A29A86;}
div.FontSizeSwitcherContainer { border-right: solid 2px #A29A86; }

/*******************/
/* NAVIGATION MENU */
/*******************/
a.menuitem { color: #404041; overflow: hidden; text-decoration: none; width: 100%; display: block !important; }
a.menuitem:visited { color: #404041; }
div.navigationmenu { border: solid 0px #D8D0C7; margin: 0px 5px; width: 155px;}
div#ctl00_tvwMenu .AspNet-TreeView-Selected a { font-weight: bold !important; }
div#ctl00_tvwMenu .AspNet-TreeView-Selected ul a { font-weight: normal !important; color: #404041 !important; }
div.menulink,div.submenulink { background-color: #FFFFFF; border-bottom: none; float: left; padding: 10px 0px; text-align: left; }
div.menulink {border: none; min-height: 26px; height: auto ! important; height: 26px; width: 155px;}
div.submenulink { border-top: none; padding-left: 15px; padding-bottom: 10px; min-height: 16px; height: auto ! important; height: 16px; width: 140px; }
div.collapsemenu,div.expandmenu,span.spacemenu { float: left; text-align: left; width: 15px; height: 18px; }
span.spacemenu { min-height: 26px; }
ul#ctl00_tvwMenu_UL { border-top: 1px solid #D8D0C7; list-style: none; margin: 0; padding: 0; width: 100%; }
ul#ctl00_tvwMenu_UL ul { border-top: 1px solid #D8D0C7; list-style: none; margin: 14px 0px 0px 0px; padding: 0; }
ul#ctl00_tvwMenu_UL ul a { color: #585858; text-decoration: none; display: block !important; }
ul#ctl00_tvwMenu_UL li { color: #585858; border: 0px 1px 1px 1px solid #D8D0C7; float: left; border-top: none; }
ul#ctl00_tvwMenu_UL li a { color: #585858; text-decoration: none; }
ul#ctl00_tvwMenu_UL li a:hover { color: #DE7A00; text-decoration: none; }

/**********/
/* FOOTER */
/**********/
div#footer { background-color: #8F8F8F; }
div#footer, div#footer a, div.dsfooter { color: #D3D3D3; }
div#footer ul#footerlinks { padding-left: 10px; }
div.dsfooter a { color: #951344; }

/***************/
/* FONT COLOUR */
/***************/
.ctl00_main_ctl00_0 { color: #404041; }
a { color: #404041; }

/**************/
/* HYPERLINKS */
/**************/
a.menuitem { color: #404041; overflow: hidden; text-decoration: none; width: 123px; }
a.menuitem:visited { color: #404041; }
div#ctl00_tvwMenu .AspNet-TreeView-Selected a { font-weight: bold !important; }
div#ctl00_tvwMenu .AspNet-TreeView-Selected ul a { font-weight: normal !important; color: #404041 !important; }

/**********************/
/* ADVANCEDSEARCH.CSS */
/**********************/
.PagerBarControl { background-color: #E4E4E4!important; margin: 10px 0px;}

.advSearchFooter { padding-left: 10px; margin: 0px 0px 10px 0px;}

/* Advanced search control */
.AdvancedSearch, .AdvancedSearch > div {display:block;float:left;width:100%;}

/* Border around advanced search screen */
.AdvancedSearch fieldset {background: #CDC7AC none repeat scroll 0%;border: solid 2px #A29A86;float: left;width: 93%;padding: 5px;}

/* Error message box */
.AdvancedSearchError {background-color:Red;float:left;height:auto;padding:5px;width:97%;border:Brown 3px solid;color:#FFFFFF;margin-bottom:5px;font-weight:bold;filter:alpha(opacity=100);opacity:100;margin-left:0px !important;}

/* Container that contains the search fields */
.AdvancedSearchFields {float:left;width:100%;padding-top:10px;}
.AdvancedSearchFields input.tooltip {color:gray;font-style:italic;}
div.field-collapsed, div.field-expanded {margin-bottom:10px;}

/* Anchors within collapsed field */
div.field-collapsed a, div.field-expanded a {cursor:pointer;margin-left:0px;}
div.collapsesearchterm, div.expandsearchterm {float:left;text-align:left;width:15px;height:18px;}

/* Field label */
label.title-expanded, label.title-collapsed {font-weight:bold;}

/* Search term expansion */
a.expandsearchterm {width:30% !important;position:relative;top:-12px;text-decoration:none;color:#951344;}
a.expandsearchterm:before {content:url(images/arrowRight.gif);height:15px;width:15px;vertical-align:middle;}
a.collapsesearchterm {padding-top:0.5em;position:relative;top:-10px;text-decoration:none;color:#951344;}
a.collapsesearchterm:before {content:url(images/arrowTop.gif);height:15px;width:15px;vertical-align:middle;}
span.AdvancedSearchCriteriaLabel {margin-left:15px;margin-right:-15px;}
div.field-collapsed {padding-bottom:0px !important;padding-top:0px !important;height:10% !important;clear:both;}
div.field-collapsed select {margin-bottom:8px;}

/* Search button container */
.AdvancedSearchButtons {display:block;float:left;padding:10px 0px;width:100%;text-align:center;}

/* Advanced search button */
.AdvancedSearchButton {border-width:1px;border-style:solid;cursor:pointer;background-color:#ACA57B;border-color:#A29A86;color:#FFFFFF;}
.AdvancedSearchToolButton {margin-left:10px;border-width:1px;border-style:solid;cursor:pointer;background-color:#ACA57B;border-color:#A29A86;color:#FFFFFF;width:6em;}
div.field-expanded select {margin-bottom:0.8em !important;}
div.field-expanded br {font-size:0px !important;}
.AdvancedSearchField {display:block;float:left;margin-bottom:5px;}
a.collapsesearchterm, a.expandsearchterm {display:block;float:left;clear:both;margin-bottom:10px;}

/* From basic.css */
div.alternateRow {border-bottom:1px solid #A29A86!important;float:left;padding-top:6px;padding-bottom:6px;}
div.repeaterheader {background-color:#CDC7AC!important;color:#FFFFFF;float:left;}
span.headerauthor, span.headertitle, span.rowauthor, span.rowtitle {float:left;}
span.headerauthor, span.rowauthor {width:193px;}
span.headertitle {width:380px;}
div.row {float:left;}
span.headerauthor, span.headertitle {padding-top:5px;}
span.headertitle h2, span.rowtitle {margin-left:4px;width:376px;}
div#recordnavigation {float:left;width:100%;}
span#ctl00_main_DSCoveryContainer1 table {clear:both;width:100%}
span#ctl00_main_DSCoveryContainer1 table a {color:#568181;font-weight:bold;text-decoration:none;}
div.advancedsearchlink div.toplink-button a {margin-left:22px;}
.ctl00_main_ctl00_0 {color:#568181;}

/* Embedded styles from main pages */
a.skipnavigation { position: absolute; left: -10000px; font-size: smaller; }
a.skipnavigation:focus, a.skipnavigation:active { position: static; left: 0; }
 span.First { background-image: url(/CalmView/WebResource.axd?d=ZJrmqNjSli6_2MSVEpoUeWymfOztONxl0BcZEV55NkPhPJbAs8DEOTmGTZFVo5KxDgFSYWOaF9iBIhUvyafr4Q2&amp;t=634020884420000000); background-repeat: no-repeat; background-position: center center; width: 15px;
min-width: 15px;
height: 15px;
min-height: 15px;
 }
 span.Previous { background-image: url(/CalmView/WebResource.axd?d=ZJrmqNjSli6_2MSVEpoUeWymfOztONxl0BcZEV55NkPhPJbAs8DEOTmGTZFVo5KxJ7nAE7nyq0KcCAqmu7sAZw2&amp;t=634020884420000000); background-repeat: no-repeat; background-position: center center; width: 15px;
min-width: 15px;
height: 15px;
min-height: 15px;
 }
 span.Last { background-image: url(/CalmView/WebResource.axd?d=ZJrmqNjSli6_2MSVEpoUeWymfOztONxl0BcZEV55NkPhPJbAs8DEOTmGTZFVo5KxNc_kauMwup_5mUeVqbAOFA2&amp;t=634020884420000000); background-repeat: no-repeat; background-position: center center; width: 15px;
min-width: 15px;
height: 15px;
min-height: 15px;
 }
 span.Next { background-image: url(/CalmView/WebResource.axd?d=ZJrmqNjSli6_2MSVEpoUeWymfOztONxl0BcZEV55NkPhPJbAs8DEOTmGTZFVo5Kxo47d-1ysuAhVtJeRyeqfLw2&amp;t=634020884420000000); background-repeat: no-repeat; background-position: center center; width: 15px;
min-width: 15px;
height: 15px;
min-height: 15px;
 }
.overview th.sorted { background-image: url(/CalmView/WebResource.axd?d=ZJrmqNjSli6_2MSVEpoUeWymfOztONxl0BcZEV55NkPhPJbAs8DEOTmGTZFVo5KxSsSHar9BxyOSwyo-kqz8hg2&amp;t=634020884420000000); background-repeat: no-repeat; background-position: right center; width: 18px;
min-width: 18px;
height: 18px;
min-height: 18px;
 }
.overview th.notsorted { background-image: url(/CalmView/WebResource.axd?d=ZJrmqNjSli6_2MSVEpoUeWymfOztONxl0BcZEV55NkPhPJbAs8DEOTmGTZFVo5Kxcd0f7ts7HkXETtikyUxjmA2&amp;t=634020884420000000); background-repeat: no-repeat; background-position: right center; width: 18px;
min-width: 18px;
height: 18px;
min-height: 18px;
 }

/******************/
/* STYLE.CSS */
/******************/
/*------------------------------ UNDERVIEW ------------------------------ */
div.Title {margin-top: 20px;font-weight: 700;width: 97%;}
table.underview {max-width: 100%;width: 100%;margin-top: 10px;margin-bottom: 10px;}
tr.Title td {background-color: #ACA57B;border: solid 1px #FFFFFF;padding: 4px;color: #FFFFFF;}
tr.record td {background-color: #CDC7AC;border: solid 1px #A29A86;padding: 4px;}
noscript.BrowseTree {margin: 5px;border: solid 1px #A29A86;background-color: #CDC7AC;padding: 3px;}
tr.overviewheading th { border: 1px solid #A29A86; background-color: #ACA57B; }

/******************/
/* RECORDVIEW.CSS */
/******************/
.recordcontext {padding-top: 5px;padding-bottom: 10px;}
/* Hide expand / contract buttons */
.recordcontext .AspNet-TreeView-Collapse, .recordcontext .AspNet-TreeView-Expand {display: none;}
.recordcontext .AspNet-TreeView ul {list-style-type: none;padding: 0;margin: 0;}
.recordcontext .AspNet-TreeView li {background-image: url( 'images/page.png' );background-repeat: no-repeat;background-position: left top;padding-left: 20px;margin-top: 3px;}
/*------------------------------ RECORD ------------------------------*/
td.tabletitle {background-color: #ACA57B;color: #FFFFFF;vertical-align: top;}
td.tablevalue {background-color: #CDC7AC;}
span.HIT {background-color: Yellow;}

/*************************/
/* BOE ORANGE HYPERLINKS */
/*************************/
a:hover { color: #DE7A00 !important; text-decoration: none !important; } 



