/*Colour palette:
Blue: #003366
Dark grey: #333333
Deep Red: #663333
Medium grey: #999999
Strong red: #993333
*/

/*Global formats*/
/*See also blueprint styles*/
h1 {font-size: 2em;}
h2 {
	color: #036;
	border-bottom: 1px solid #036;
	font-size: 1.7em;}
h4 {margin-bottom: 0.625em;}
a {
	text-decoration: none;
	color:#036;}
a:hover {text-decoration: underline;}
textarea {
	height:100px; /*override blueprint*/
}
label {
	float: left;
	width: 12em;
	clear: left; }
label.radio {
	float:none;
}
h1 em, h2 em, h3 em, h4 em, label em {
	color: #9e9e9e;
	font-size: .6em;
	vertical-align:top;
	font-style: normal; }
caption em {
	color: #666;
	font-style: normal;}
input, textarea {
	border:1px solid #515151;
	margin-bottom:0.5em;
	margin-right:0.5em; }
fieldset {
	clear:left;
}
.clear-left {
	clear:left; }
div.title {
	font-weight: bold; }
p.attribution {
	clear:both;
	text-align: right; }
a.external {
	background: transparent url(../images/ext_link.gif) no-repeat scroll right center;
	padding-right:10px; }
a.external:hover {
	background: transparent url(../images/ext_link_hover.gif) no-repeat scroll right center;
	padding-right:10px; }

a.feed, a.rss {
	background: transparent url(../images/feed_icon.gif) no-repeat scroll left top;
	margin-left:2px;
	padding: 1px 0px 1px 18px;
	 }
a.feed.twitter {
	background: transparent url(../images/twitter_icon.png) no-repeat scroll left top;
	 }
a.facebook {
	background: transparent url(../images/facebook_icon.png) no-repeat scroll left top;
	 }
/*a.new {
	display: inline-block;
	padding-left: 24px;
	background: transparent url(../images/new_flash.gif) no-repeat left;}
a.updated {
	display: inline-block;
	padding-left: 46px;
	background: transparent url(../images/updated_flash.gif) no-repeat left;}*/

a.add_info {
	color: #8a1f11;
}
a.stale {
	color: #740;
}
a.problematic {
	color: #a11;
}
a.problematic:before, a.stale:before {
	text-transform: uppercase;
	color:#fff;
	font-size:.8em;
	padding: 1px 3px;
	margin-right: 3px;
}
a.stale:before {
	content: "Stale";
	background-color:#740;
}
a.problematic:before {
	content: "Problem";
	background-color:#a11;
}
a.button, .button-to input {
	border:1px solid #9e9e9e;
	background-color:#ddd;
	padding:1px 4px;
}
a.button:hover, .button-to input:hover {
	border:1px solid #a11;
	cursor: pointer;
}
.request_for_help a.button {
	font-size:1.6em;
	padding: 2px 6px;
	border-color:#8A1F11;
	font-weight:bold;
}
.request_for_help a.button:hover {
	background-color:#8A1F11;
	color:#fff;
	text-decoration:none;
}
a.help img {
	vertical-align:top;
}
p.more_info, a.more_info{
	text-align:right;
	font-style: italic;
}
p.more_info a, a.more_info{
margin-left:2em;
}
.more_info a:after, a.more_info:after {
	content: "»"; }
td.more_info a:after {
	content: normal; }
p.more_info, a.more_info{
	text-align:right;
	font-style: italic;
}
p.restriction a {
border:1px solid #ddd;
background-color: #eee;
padding: 2px 6px;
}
p.restriction a:hover {
background-color: #036;
text-decoration:none;
color:#fff;
}

.citation {
	vertical-align: super;
	font-size: 80%;
}
.citation a {
	color: #9e9e9e;
}
.warning, .alert {
	font-size: 120%;
	font-weight:bold;
	color: #8a1f11;}
.alert {
	border: 1pt solid #FBC2C4;
	background-color: #FBE3E4;
	padding:.5em;
	margin-bottom: 1em;
}
img.icon {
	margin: 0 .25em;}
body.councils li a.unparsed, body.committees li a.inactive, body.members a.ex_member, a.vacancy {
	color:#9e9e9e; }
form.button-to, form.button-to div {
	display:inline;
}
.intro {font-weight:bold;}
.tags {
	background: transparent url(../images/tag_icon.png) no-repeat scroll left top;
	margin-left:2px;
	padding: 1px 0px 1px 18px;
}
.tags a {
	color:#666;
}
/*General template format*/
body {
	background-color:#ddd; }
.container {
	background-color:#fff;
	padding: 18px;
	padding-bottom: 0px;
	margin-top: 18px;}
#content {
	min-height: 600px; }
#header {
  padding: 3px 0 0;
/*	border-bottom: #036 solid 3px;*/
	background: #f7f7f7 url(../images/header_bg.png) repeat-x scroll 0 0;
	margin-bottom: 9px;}
#header h2 {
	margin: 0px 6px;
	line-height:20px;
	border-bottom: none; }
#header #slogan {
  font-size:1.2em;
	font-family:Georgia,"Times New Roman",Times,serif;
	font-style:italic;
	color: #666;
}
#header h2 a {
	text-decoration: none;
	color: #69b;
	width:320px;
	height:60px;
	background:transparent url(../images/openlylocal_logo.png) no-repeat center left;
	text-indent:-9000px;
	display: block;
	float:left;
	margin-right:.5em;
	z-index:3;}
#header h2 em {
	color: #036;
	font-size:100%; }
#navigation  {
	overflow:auto;
	width:100%;
	background: url(../images/navigation_bg.png) repeat-x scroll 0 0;
	border-top:1px solid #efefef;}
#navigation * {
	float:left;}
#navigation a {
	display:block;
	height:20px;
	text-decoration:none;
	text-transform:uppercase;
	font-weight: bold;
	padding:2px 1em;}
#navigation form {
	margin-left:1em;
	margin-top:2px;
}
#navigation input {
	margin-bottom:0;}
#navigation a:hover {
	color:#633;
	background: #ddd;
}
#navigation a:active {
	color:#036;
	background: url(../images/navigation_bg_active.png) repeat-x scroll 0 0;
}
#footer {
	margin-top:18px;
	text-align:right;
	clear:both;
}
#footer #standards{
	float:left;
}
#share_block {
	clear:both;
	text-align:right;}

/*Front page formatting*/
body.main .intro, body.planning_applications .intro {
	font-size:120%;
	font-weight:normal;
}
/*Council document formatting*/
.document_body {
	border: 1px solid #ddd;
	padding: 12px;
	background-color: #eeefff;
	font-family: Times New Roman;}
.document_body h1 {
	font-size: 1.8em;}
.document_body h2 {
	font-size: 1.6em;}
.document_body h3 {
	font-size: 1.4em;}
.document_body p {
	margin: 0;}
	
/*General resource formatting - councils, members, committees, etc*/
.extra_info {
	border: 1px solid #ddd;
	background-color: #f3f3f3;
	margin-bottom: 2em;
	padding:4px;
	overflow: auto;
	clear: left;
}
.info {
	overflow:auto;
}
body.councils .extra_info  {
/*	float:left;*/
}
.extra_info .notes h4 {
	float: left;
	width: 5em;
}
dl#main_attributes {
	margin-top: 2em;
}
dl.attributes {
	clear:left;
	margin: 0 0 2em 0;
	width:450px;
	float:left;
}
.attributes dt {
	float: left;
	width: 110px;
	clear: left;
	text-align:right;
	border-top: 1px solid #ddd;
}
.attributes dd {
	float:left;
	padding-left: 12px;
	margin-left:0;
	border-top: 1px solid #ddd;
	width:300px;
}
div.item_grouping {
float: left;
width: 290px;
padding-right: 20px;}
div.item_grouping h3, #feed_entries h3 {
	border-bottom: 1px solid #036;
	margin-bottom: 0.5em;
}
div#relationships {
	clear:left;
	padding-top:1em;
}
div.item_grouping h4 {
	border-bottom: 1px solid #ddd;
	margin-bottom: 0.5em;
}
/*Council formatting*/
body.councils .council h1 {
	float:left;}
body.councils .extra_info {
	max-width:620px;}

body.councils .council, #feed_entries .feed_entry {
border-bottom:1px solid #ddd;
margin-bottom:6px;
}
body.councils .council h4 {
margin-bottom:3px;
}
body.councils .council h4 a.parsed {
font-weight:bold;
}
body.councils .area, .feed_entry .dateline {
	text-transform: uppercase;
	color: #8a1f11;
	font-size: 0.85em;
}
#data {
	overflow:auto;
	}
#data h1 {
	float:left;
	}
#data .attributes {
	clear:left;
	margin-bottom: 0.75em;
	}
#party_breakdown {
	float:right;
	width:450px;
	height:220px;
	margin-bottom: 0.75em;
}
#party_breakdown img {
	position:absolute;
}
#party_breakdown .party_in_control {
	font-weight:bold;
	text-align:center;
	margin-bottom:0;
}
.party_in_control .key {
	width: 18px;
	height: 12px;
	display:inline-block;
	margin-right:3px;
}
.graphed_datapoints {
	position: relative;
}
.graphed_datapoints table {
	position:absolute;
	left:-2000px;
}
#members li a {
	font-weight: bold;
}
.open_data_council_grouping .council div.open_data_status, .open_data_council_grouping .council div.tenten_status {
	background: url(/images/tick.gif) no-repeat;
	text-indent: -9000px;
	width: 48px;
	height: 48px;
	float:left;
}
#no_open_data_councils .council div.no_open_data, #not_signed_up .council div.not_signed_up {
	background-position:0 -48px;
}
#semi_open_data_councils .council div.semi_open_data {
	background-position:0 -96px;
}
.open_data_link {
	background: url(/images/od_80x15_blue.png) no-repeat;
	padding: 1px 0px 1px 82px;
}
.open_data_link.semi_open_data {
	background: url(/images/semi_open_data.png) no-repeat;
	padding: 1px 0px 1px 82px;
}
.dashboard #statistics {
	width:auto;
	border: 1px solid #ddd;
	background: #eee;
	padding: 6px;
	margin-bottom:1em;
	}
.dashboard .chart, #spend_by_month {float:left;}
.dashboard .in_words {
	float:left;
	font-size: 2em;
	margin-left: 1em;}
#open_data_dashboard .in_words {
	width: 400px;
}
.dashboard #total_spend .value, .dashboard #council_count .value {font-size: 3.4em;
	line-height: 1em;}
.dashboard .in_words .value {font-size: 3.2em;
	line-height: 1em;}
	
.dashboard .in_words .value {color: #036;}
.dashboard .in_words .value.not_open {color: #8a1f11;}
.dashboard .in_words .description {
	line-height: 1.5em;
	display:block;}
.dashboard .spending_count {
	float:left;
	margin-right:2em;
	text-align:right;}
#council_spending_dashboard .in_words .value {
	font-size: 3.3em;
	line-height: 1em;}
#entity_spending_dashboard .in_words .value {
	font-size: 2.6em;
	line-height: 1em;}
#company_spending_dashboard .in_words {
	font-size: 1.2em;
	float:right;
	text-align: right;
	width: 400px;}
#company_spending_dashboard .in_words .value {
	font-size: 2em;}
.dashboard .in_words .explanation {
	float:left;
}
#council_spending_dashboard .in_words .explanation .value, #entity_spending_dashboard .in_words .explanation .value {
	font-size: 1.4em;}
#council_spending_dashboard .spending_count, #entity_spending_dashboard .spending_count {
	float:none;
	margin-right:0;
	font-size:0.9em;}
#council_spending_dashboard .explanation .description, #entity_spending_dashboard .explanation .description {
	display:inline;}
#council_spending_dashboard #total_spend, #entity_spending_dashboard #total_spend {
	margin-right:1em;
	float:left;
}		
a.output_area_classification_link {color:#888;}
/*Meeting formatting*/
.past {color:#515151;}
.past a {color:#282828;}
.cancelled, a.cancelled {color:#9e9e9e; }
/*.future a {font-weight:bold;}*/

/*Parser-specific formatting*/
div.item_attribute {
	clear:left; }
div.item_attribute p {
	float:left; }
div.parser {
	border: 1px solid #ddd;
	background-color: #f3f3f3;
	clear:left;
	padding: 1.48em;
	margin-bottom: 1.5em; }
div.parser h4 {
	margin-bottom: 0; }
div.parser_attribute {
	clear:left; }
div.parser_attribute div {
	float:left; }
div.parser_attribute .title {
	width: 12em;
	text-align: right;
	margin-right: 1em; }
div.parser code.item_parser {
	margin-left: 9em; }

div.new, .changed {
	border:2px solid #DDDDDD;
	margin-bottom:1em;
	padding:0.8em;
	}
.changed {
	background:#FFF6BF;
	border-color:#FFD324;
	}
div.new {
	background:#E6EFC2;
	border-color:#C6D880;
	}
.errors {
	background:#FBE3E4;
	border-color:#8a1f11;
	}
div.unchanged {
	margin-bottom: .5em; }
.unchanged, .unchanged a {
	color: #515151; }
.unchanged h4 {
	color: #282828;
	margin-bottom: 0; }
span.flash {
	border:none;
	color:#fff;
	padding: 3px 6px;
	float:right; }
span.new {
	background-color:#264409; }
span.changed {
	background-color:#514721; }
span.error, span.errors {
	background-color:#8a1f11; }
	
/*Scraper-specific formatting*/
a.new_scraper_link {
	color:#9e9e9e; }
#other_scrapers {
	float: right;
	border: 1px solid #ddd;
	background-color: #f3f3f3;
	padding: 1em;
}
#councils #without_scrapers {
	float:right;
	width: 250px;
	border: 1px solid #ddd;
	background-color: #f3f3f3;
	margin: 0 2em;
	padding:.5em;
}
#councils #without_scrapers .council {
	border-bottom: 1px solid #ddd;
	margin-bottom: 1em;
}
#councils #without_scrapers h4{
	margin-bottom: 0.5em;
}
#councils #without_scrapers .council p{
	margin: 0;
}

form#scraper_form .defaults {
  float: right;
}
/*Ward-specific formatting*/
/*body.wards .ward {
	float:left;
	width: 630px;
}
*/
#ward_map, #ward_map #map_canvas {
	height:300px;
	width:300px;
}
#ward_comparison .ward {
	width: 320px;
	float:left;
	margin-right:12px;
}
#ward_comparison .attributes dd { width: 200px;}
#ward_comparison .attributes dt { width: 100px;}
#ward_comparison .map_canvas {width:300px; height:300px;}
#ward_comparison .map_outer {width:300px; height:300px;}

/*Dataset specific formatting*/
/*NB Much of this can be deleted when move to new style datasets is completed*/
#statistics {
	width: 300px;
	overflow:auto;
}
div#dataset_data {
	overflow:auto;
}
div#dataset_data th {
	min-width:7em;
	vertical-align:bottom;}
div#dataset_data table {
	width:auto;}

/*Spending specific formatting*/
#supplier_dashboard {
	float: right;
	width:300px;
	padding:6px;
	overflow:auto;
	border: 1px solid #ddd;
	background: #eee;
	text-align:right;
}
#supplier_dashboard .value {
	font-size: 3em;
	color: #8a1f11;
}
#supplier_dashboard .description {
	font-size: 1.2em;
}
/*Ness Statistics formatting*/
#grouped_datapoints {
	clear:both;
	float: right;
	padding-right:0px;
}
#grouped_datapoints dt {
  clear:left;
	float: left;
	width: 20em;
}
#grouped_datapoints dd {
	margin-left: 21em;
}

#grouped_datapoints table, table.statistics {
background-color: #eee;
clear:left;
margin-bottom:0;
}
#grouped_datapoints td, table.statistics td {
	border-bottom: 1px solid #fff;
}
table.statistics .selected td {
	font-weight: bold;
}
#grouped_datapoints table th, table.statistics th {
	background-color: #cde;
}
#grouped_datapoints table caption, table.statistics caption {
	background-color: #fff;
}
#grouped_datapoints table caption, #grouped_datapoints h4, table.statistics caption {
border-bottom: 1px solid #ddd;
font-size: 1.2em;
font-weight:bold;
}
table.statistics td, table.statistics th, table.statistics caption {
	padding: 4px 5px;
}
#grouped_datapoints td.value, #grouped_datapoints th.value, table.statistics .value {
text-align:right;
}
#grouped_datapoints .stats_in_words {
font-size: 1.2em;
}
table.datapoints {
	width: 900px;
}
table.datapoints td.value {
	width: 120px;
}
table.datapoints td.description {
	background: #fcd;
	background-image:url(/images/datapoint_bar.png);
	background-repeat: repeat-y;
}
table.datapoints .datapoint {
	float:none;
}
table.datapoints tr.total td {
	border-top:1px solid #036;
	font-weight:bold;
	text-align:right;
	background-color:#bcd;
	background-image:none;
}
table.datapoints td.more_info {
	width: 50px;
}
table.statistics tr.subtotal td {
  font-weight: bold;
  border-bottom: 1px solid #aaa;
}
table#payer_breakdown span.description {
  font-weight: normal;
}

/*Election data formatting*/
.candidacy.elected * {
	font-weight:bold;
}
table.statistics caption.uncontested {
	background-color:#FBC2C4;
} 
/*Crime & Police formatting*/
p.crime_level {
	border:1px solid;
	padding: 3px 6px;
}
.crime_level span {
	font-weight:bold;
	font-size: 120%;
	text-transform: uppercase;
}
.crime_level .value {
	font-weight:bold;
	font-size: 120%;
	text-transform: uppercase;
}
.crime_level.high { color:#8A1F11;}
.crime_level.above_average { color:#8F382C;}
.crime_level.average { color:#036;}
.crime_level.below_average { color:#628F68;}
.crime_level.low { color:#277F33;}

/*Map formatting*/
.map_outer {
	border:1px solid #999;
	float:right;
	height:500px;
	padding:3px;
	margin-left: 1em;
	width:450px;
	background-color:#fff;
}
#map_canvas {
	height:500px;
	width:450px;
}

#map_canvas .caption .address {
  font-style: italic;
  color: #666;
}
#map_canvas .caption h4 {
  margin-bottom: 0.25em;
  font-weight: bold;
}
#map_canvas .caption .area {
	text-transform: uppercase;
	color: #8a1f11;
	font-size: 0.85em;
	display:block;
}
#map_canvas .caption p {
  margin-bottom: 0.25em;
}

/*Hyperlocal formatting*/
#new_hyperlocal_site label {
	color:#666;
}
#new_hyperlocal_site .required label {
	color:inherit;
}
#new_hyperlocal_site .required label:before {
	content:"*";
	color:#8a1f11;
}

#hyperlocal_list_map, #hyperlocal_list_map #map_canvas {
	height:650px;
	width:500px;
}

ul#hyperlocal_sites>li.country {
	list-style:none;
	font-weight: bold;
	font-size: 1.2em;
	text-transform: uppercase;
} 
ul#hyperlocal_sites li li{
	font-weight: normal;
	font-size: .9em;
	text-transform: none;
} 
ul#hyperlocal_sites .hyperlocal_site_link{
	text-transform: uppercase;
} 
#hyperlocal_sites .area {
	text-transform: uppercase;
	color: #8a1f11;
	font-size: 0.85em;
	display:block;
}
#hyperlocal_sites .area .distance {
	color: #111;
	font-weight:bold;
}
.hyperlocal_sites .hyperlocalsite_link {
	font-size:1.1em;
}
.hyperlocal_sites li a.external, .hyperlocal_sites li a.feed {
	color:#666;
}

/*related_articles*/
.related_article .source a {
	text-transform: uppercase;
	color: #8a1f11;
	font-size: 0.88em;
}

/*Feed entries*/
.feed_entries .feed_entry h4 {
	margin-bottom:0;
	font-family: Georgia,"Times New Roman",Times,serif;
	font-weight:bold;
	font-size:1.3em;
/*	margin-top:6px;*/
}
.feed_entries .hyperlocal_site_link {
	font-weight:bold;
}
.feed_entries .feed_entry h4 a{
	color:#333;
}
#feed_entries {
	clear:left;
	margin-top: 1em;
	}
#site_news {
	background-color:#F0F0F0;
	border:1px solid #CCCCCC;
	float:right;
	padding:6px;
	width:260px;
	margin-left: 1em;
	font-size:90%;
	}
#site_news h3 {
	background-color:#ddd;
	margin:-6px -6px 0;
	padding:0 6px;
	font-size: 1.4em;
	}


/*Misc formatting*/
#api_info {
	clear: both;
	background-color: #f3f3f3;
	border-top: 1px solid #ddd;
	margin-top: 1em;
}
#api_info a {
	font-weight: bold;
}
#categories {
	float: right;
	width: 300px;
	border:1px solid #ddd;
	padding: 1em;
	background-color: #F0F0F0;
}
#categories li {
}

.breadcrumbs {
	margin-bottom: 3px;
}
.new_feature {
	font-size: 120%;
	font-weight: bold;
	background: url(/images/new_flash_red.gif) no-repeat;
	padding-left: 36px;
}
#foi_requests  {
	width: 450px;
}
#foi_request input.submit {
	font-size: 1.4em;
}
form#foi_request {
	float: left;
}
.wdtk_request .status {
	color:#fff;
	background:#369;
	text-transform:uppercase;
	padding:1px 6px;
}
.opencorporates.flash {
	width: 400px;
	padding:3px 6px;
	border: 1px solid #369;
}

#faq {
  font-size: 1.2em;
}
.ajax_fetcher {
  height: 50px;
  background: url(../images/loading.gif) no-repeat 0 18px;
  font-size: 1.2em;
  font-weight: bold;
  color: #993333;
}
.corporate_grouping a {
  background: #663333;
  padding: 1px 3px;
  color: #fff;
  text-transform: uppercase;
}
/*admin page*/
.admin #user_submissions {
	background: #eee;
	padding: 3px 6px;
	margin-bottom:1em;
	margin-right: 1em;
	font-size:90%;
}
.admin .user_submission {
	border-bottom: 2px solid #fff;
}
.admin .user_submission h4 {
	border-bottom: none;
}
.admin .buttons {
	text-align: right;
}
.admin dl.attributes {
	width: 280px;
	margin-bottom:0;
}
.admin .attributes dd {
	width:auto;
}
.admin #councils_with_data li {
  list-style-type: none;
  font-weight: bold;
  font-size: 1.25em;
}
.admin #councils_with_data li li {
  list-style-type: disc;
  font-weight: normal;
  font-size: 0.8em;
}
/*Autocomplete styling*/
.ac_results {
	padding: 0px;
	border: 1px solid black;
	background-color: white;
	overflow: hidden;
	z-index: 99999;
}

.ac_results ul {
	width: 100%;
	list-style-position: outside;
	list-style: none;
	padding: 0;
	margin: 0;
}

.ac_results li {
	margin: 0px;
	padding: 2px 5px;
	cursor: default;
	display: block;
	/*
	if width will be 100% horizontal scrollbar will appear
	when scroll mode will be used
	*/
	/*width: 100%;*/
	font: menu;
	font-size: 12px;
	/*
	it is very important, if line-height not setted or setted
	in relative units scroll will be broken in firefox
	*/
	line-height: 16px;
	overflow: hidden;
}

.ac_loading {
	background: white url('indicator.gif') right center no-repeat;
}

.ac_odd {
	background-color: #eee;
}

.ac_over {
	background-color: #BDDAEA;
	color: white;
}

/*Pagination styling*/
div.pagination {
clear: both;}

.pagination {
	padding: 3px;
	margin: 3px;
}
.pagination a {
	padding: 2px 5px 2px 5px;
	margin: 2px;
	border: 1px #9e9e9e solid;
	text-decoration: none;
	color: #677880;
}
.pagination a:hover, .pagination a:active {
	border: 1px solid #515151;
	color: #000;
}
.pagination span.current {
	padding: 2px 5px 2px 5px;
	margin: 2px;
	border: 1px solid #515151;
	font-weight: bold;
	background-color: #515151;
	color: #fff;
}
.pagination span.disabled {
	padding: 2px 5px 2px 5px;
	margin: 2px;
	border: 1px solid #eee;
	color: #ddd;
}


