/**
 * Housing League Tables
 * Main stylesheet
 *
 * 13 January 2010
 *
 * Edward Jung
 **/
h1, h2, h3, h4 {
	font-family:"Helvetica Neue",Helvetica;
	font-weight:300;
	margin:0.5em 0 0.5em 0;
}

h1 { font-size:2em;}
h2 { font-size:3em; letter-spacing:-0.5px; line-height:1.2em; color:#ff0000}
h3 { font-size:1.8em; line-height:1.2em; }
h4 { font-size:1.3em; font-weight:bold; }

#header h1 {
	margin: 1em 0 0 0;
}

h3#takeaction {
	color:#f00;
}

p, ol, li, ul, dl, dd, dt, blockquote {
	line-height:1.4em;
	font-size:1.1em;
	padding:0.4em 0;
}

strong, label {
	font-weight:bold;
}

hr {
	display:none;
}

hr.feint, hr.band {
	display:block !important;
	margin:1.5em 0;
	border:0;
}

hr.feint {
	margin:0 20px 1.5em 20px;
	border-top:1px solid #ccc;
}

hr.band {
	border-top:3px solid #f00;
}

a, a:link, a:visited {
	color:#006699;
}

a:hover, a:visited:hover  {
	color:#003366;
}

pre {
	width:100%;
}

p.extraPad {
	margin-top:1em;
	margin-bottom:1em;
}

p.note {
	font-size:1em;
}

.toTop {
	text-align:right;
}

.toTop a {
	padding-right:20px;
	background: url(../images/action_arrow.gif) no-repeat right -85px;
}

blockquote {
	padding:1em 30px;
	background:#eee;
	margin:1em 40px;
}

blockquote p {
	margin:0 !important;
	font-size:1em;
}


img.right {
	float:right;
	padding:0 0 0.5em 0.5em;
}

/** Sifr **/
.sIFR-flash {
	visibility: visible !important;
	margin:0;
	padding:0;
}

.sIFR-unloading .sIFR-flash {
	visibility: hidden !important;
}

.sIFR-replaced, .sIFR-ignore {
	visibility:visible !important;
}

.sIFR-alternate {
	position:absolute;
	left:0;
	top:0;
	width:0;
	height:0;
	display:block;
	overflow:hidden;
}

.sIFR-replaced div.sIFR-fixfocus {
	margin: 0; 
	padding: 0; 
	overflow: auto;
	letter-spacing: 0;
	float: none;
}

.sIFR-active #bd h2, .sIFR-active #bd h3, .sIFR-active #actions h3 {
	visibility:hidden;
	margin-bottom:0;
}

.sIFR-active #bd h3 {
	margin-top:0.5em;
}

.sIFR-active object {
	display: block;
}

/** Structure **/
html {
	background:#fff url(../images/HLT_bg.jpg) no-repeat fixed center top;
	margin:0 !important;
	height:100%;
}

body {
/*	background:#fff url(../images/HLT_bg.jpg) no-repeat fixed center top; */
	margin-bottom:0 !important;
	padding:0;
	height:100%;
}

#bd {
	background:#fff;
	box-shadow: 0 3px 5px rgba(0,0,0,.3);
	-moz-box-shadow: 0 3px 5px rgba(0,0,0,.3);
	-webkit-box-shadow: 0 3px 5px rgba(0,0,0,.3);
}

#doc {
	min-height:100%;
	margin-bottom:-13em;
}  

*html #doc {
	height: 100%;
}

#skip {
	position:absolute;
	z-index:-1;
	margin-left:-1000px;
}

#ft {
	background:#efefef url(../images/footer_bg.gif) repeat-x top left;
	padding:1em 0 0 0;
	height:12.5em;
}

#ftSpacer {
	height:14em;
}

.pad {
	margin:0 0 1em 0;
	padding:1.7em 1em 2.5em 1em;
}

.colPad, .pad h2, .pad h3, .pad h4, .pad p, .pad ul, .pad ol, .pad form {
	padding-left:20px!important;
	padding-right:20px!important;
}

#actions p, #actions h4 {
	padding-left:0!important;
	padding-right:0!important;
}

/** list menu links **/
.links {
	margin:0 0 0.5em 0;
}

.links li {
	font-size:0.95em;
	color:#999;
	margin:0 0 0 1.5em;
	list-style-type:square;
	padding:0.2em 0;
}

.links span {
	color:#000;
}

ol.links li {
	list-style-type: decimal;
}

/** Flat links with icons **/

a.hasIcon {
	padding:3px 0 3px 25px !important;
}

/*
#emailThis { background:url(../images/link_icons.gif) no-repeat top left; }
#fb { background:url(../images/link_icons.gif) no-repeat left -128px; }
#campaign { background:no-repeat left -256px; }
#tweet { background:url(../images/link_icons.gif) no-repeat left -384px; }
*/
.divider a {
	padding:0 0.3em 0 0;
}
.divider li, .buttons li {
	display:inline;
	margin-right:0.3em;
}

.divider li.last {
	margin-right:0 !important;
}

.divider li:after {
	content:" |";
}

.divider li.last:after {
	content:"";
}

/** Footer **/
#links, #siteCredit, #debug {
	margin:auto;
	text-align:left;
	width:57.69em;
	*width:56.25em;
}

#ft h2 { 
	color:#000;
	font-size:1em;
	font-weight:bold;
}

.linkList {
	float:left;
	width:32%;
	margin-right:9px;
	font-size:0.85em;
}

.last {
	margin-right:0 !important;
}

.linkList .title {
	font-weight:bold;
}

.linkList a, .linkList a:visited {
	color:#333;
	font-size:0.85em;
	text-decoration:none;
}

.linkList a:hover, .linkList a:hover {
	text-decoration:underline;
}

.linkList li {
	color:#666;
	list-style-type:square;
	margin:0 0 0 1.3em;
	padding:0 0 0 0;
}

#siteCredit li {
	color:#666;
	font-size:0.8em;
}

/** Toolbar / menu / mini search **/
#toolbar {
	margin:1em 0 0 0;
}

#menu {
	float:left;
	margin-right:5px!important;
	position:relative;
	margin:0;
	padding:0 0 0 0.7em;
}

#menuLinks {
	float:left;
	display:block;
	padding:0;
	margin:0;
}

#menuLinks a {
	font-size:0.86em;
	display:block;
	text-decoration:none;
	line-height:1.2em;
	min-height:1.7em;
	padding:10px 8px;
	border:1px solid #bfbfbf;
	border-bottom:0;
	color:#000;
	background:#eee url(../images/button_bg.gif) repeat-x left 20px;
	-moz-border-radius-topleft:3px;
	-moz-border-radius-topright:3px;
	-webkit-border-top-left-radius:3px;
	-webkit-border-top-right-radius:3px;
	border-radius-topleft:3px;
	border-radius-topright:3px;
	width:68px;
	min-height:35px;
}

#menuLinks li {
	float:left;
	display:inline;
	text-align:left;
	padding:0;
	margin:0 0.2em 0 0;
	font-size:1.1em;
	box-shadow: 1px -1px 3px rgba(0,0,0,.1);
	-moz-box-shadow: 1px -1px 3px rgba(0,0,0,.1);
	-webkit-box-shadow: 1px -1px 3px rgba(0,0,0,.1);
}

#menuLinks a:hover {
	text-decoration:underline;
}

.selected a {
	background:#fff !important;
	color:#f00 !important;
}

#miniSearch {
	font-size:1em;
	width:245px;
	padding:4px 5px 4px 5px;
	color:#666;
}

#searchBoxMini {
	float:right;
	width:270px;
	display:inline;
	margin:10px 0 0 0;
}

#searchBoxMini #searchSubmit {
	cursor:pointer;
	position:absolute;
	margin:-1px 0 0 -20px;
	width:32px;
	height:32px;
	background:transparent url(../images/searchbutton_sml.png) no-repeat top left;
	border:0;
}

#searchBoxMini #searchSubmit:hover {
	background-position: left -34px ;
}


/** Actions / SM icons **/
#actions {
	position:relative;
	min-height:70px;
}

#share {
	width:120px;
	float:right;
	position:absolute;
	right:20px;
}

ul.buttons {
	text-align:left;
	float:left;
	margin:0;
	padding:0;
}

.buttons li {
	margin:0;
	padding:0;
}

.buttons a {
	display:block;
	float:left;
	margin-right:4px;
	width:29px;
	height:29px;
}

.buttons span {
	display:none;
}

a#tbEmail { background: url(../images/button_icons.gif) no-repeat 0 top; }
#tbEmail:hover { background-position:bottom left; }

a#tbFB { background: url(../images/button_icons.gif) no-repeat -171px top; }
#tbFB:hover { background-position:-171px bottom; }

a#tbTwitter { background: url(../images/button_icons.gif) no-repeat -85px top; }
#tbTwitter:hover { background-position:-85px bottom; }

/* Actions */
#actions {
	padding: 0 20px;
}

#actions h3 {
	color:#f00;
	padding-left:0 !important;
	margin-top:0;
	font-size:1.6em;
}

#actions p, #actions li {
	font-size:0.95em;
}

#actions .colPad {
	padding:8px !important;
}

#actions ul {
	padding:0 0 !important;
}

#actions ul.links li {
	font-size:1em;
	margin:0 0 0.3em 0;
	list-style-type:none;
	padding:0.3em 10px;
	background:#e3e3e3 url(../images/action_arrow.gif) no-repeat bottom right;
}

#actions ul.links li:hover {
	background-color:#999;
	background-position:right top;
	cursor:pointer;
}

#actions ul.links li:hover a {
	color:#fff;
}

/** Search index **/
.searchIndex {
	margin:0 0 50px 0;
	padding:10px 40px 20px 40px;
}

.searchIndex #actions {
	padding:0 !important;
}

.searchIndex h2 {
	font-size:2.7em !important;
}

#searchBox {
	position:relative;
	margin:0.5em 0 0 0;
}

#searchBox label {
	display:none;
}

#searchTextBox {
	font-size:2em;
	width:600px;
	padding:0.5em 0.5em;
	color:#666;
}

.notDefault {
	color:#000!important;
}

#searchBox #searchSubmit {
	position:absolute;
	margin:-10px 0 0 -27px;
	width:87px;
	height:87px;
	background:transparent url(../images/searchbutton.png) no-repeat top left;
	border:0;
	cursor:pointer;
}

#searchBox #searchSubmit:hover {
	background-position:left -88px;
}

button span {
	display:none;
}

#intro {
	font-size:1em;
	margin:1.5em 0 1em 0;
}

#noSearchResults {
	font-size:1.5em;
}

#suggestions {
	background:#f8f893;
	padding:1em 10px 0.5em;
	margin:0 20px;
	font-size:0.9em;
}

#suggestions h3 {
	margin-top:0.5em;
}

#suggestions li, #suggestions ul {
	padding-top:0.2em;
}

#resultHolder li {
	list-style-type:square;
	margin:0 0 0 1.1em;
}

/* #multipleAuthorities {
	min-height:300px;
	overflow:auto; 
}*/

#multipleAuthorities ul {
	margin-left:5px;
}

#multipleAuthorities li {
	font-size:0.95em;
	padding-bottom:0.3em;
}

#promo {
	padding-right:20px !important;
}

.promoBox {
	background:#eee;
	margin:0;
	font-size:0.9em;
	padding:0.2em 0.5em 1em 120px;
	border:1px solid #ccc;
}

.noIcon {
	padding:0.2em 0.5em 1em 0.5em;
}

.promoBox li {
	font-size:1em;
	padding-top:0;
	margin-left:15px;
}

.promoBox h3 {
	margin-bottom:0;
}

#promo #campaign { background:#eee url(../images/campaigning_background.gif) no-repeat -5px top; }
#promo #advice { background:#eee url(../images/housingadvice_bg.gif) no-repeat 10px center; }
#promo #plan { background:#eee url(../images/statement_housing.gif) no-repeat center left; }


/** Forms  **/
fieldset {
	padding:0.7em 1em;
	margin:0 0 1em 0;
	border:1px solid #ccc;
	position:relative;
}

.noFieldset {
	margin:0 !important;
	padding:0 !important;
	border:0;
}

legend {
	font-weight:bold;
	font-size:1.3em;
	padding:0 1em;
}

.field {
	font-size:1.2em;
	margin:0.2em;
	padding:0.5em 0;
}

#moreFriends .even {
	background-color:#eee !important;
}

.button {
	float:right;
	font-size:1.3em;
	padding:5px 10px;
	margin:0 0 0 10px;
	cursor:pointer;
	background:#fff url(../images/button_bg.gif) repeat-x top left;
	border-top:1px solid #ccc;
	border-left:1px solid #999;
	border-right:1px solid #ccc;
	border-bottom:1px solid #999;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
}

.button:hover {
	background:#fff url(../images/button_bg.gif) repeat-x left -10px;
}

label, .label {
	font-weight:bold;
}

.error {
	color:#f00;
}

.requiredMsg {
	color:#f00;
	font-size:0.85em;
	font-weight:bold;
	padding:0.2em 0 0.2em 0;
}

.fieldLabel, .fieldLabelWide {
	float:left;
	width:140px;
	margin:0 1em 0 0;
	font-size:0.9em;
}

.fieldLabelWide {
	width:100%;
	margin-bottom:0.5em;
}

.fieldEntry {
	float:left;
	width:290px;
	font-size:0.95em;
}

.textbox {
	width:290px;
	padding:0.1em 0.3em;
}

input.short {
	width:150px !important;
}

.textarea {
	width:450px;
	padding:3px 5px;
	margin:0.5em 0;
	font-size:0.9em;
	line-height:1.4em;
}

.select {
	width:300px;
}

.selectWide {
	width:450px;
}

.ajaxLoading {
	background:url(../images/loading_bg.gif) no-repeat top right;
}

.explainBox {
	background:url(../images/arrow_popout.gif) no-repeat left 5px;
	position: absolute;
	right:-185px;
	width:200px;
	font-size:0.9em;
}

.explainBox p {
	background:#666;
	line-height:1.3em;
	padding:0.5em 0.5em;
	margin-left:20px;
	color:#fff;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;	
}

/** LA page **/
#laHeader {
	border:2px solid #eee;
	margin:0;
}

#rankcalc_explain {
	margin-top:0;
	padding:30px 0 0 0;
	background-position:575px -220px;
	background-image:url(../images/arrow_popout.gif);
	background-repeat:no-repeat;
}

#messaging {
	margin:1em 0 2em 0;
}

#messaging .message {
	font-size:1.15em;
	min-height:30px;
	margin:0 0 0.5em 0;
	padding:1.5em 20px 1.5em 100px !important;
}

#messaging .odd {
	background-color:#eee;
}

#messaging .even {
	background-color:#fff;
}

#housePrices { background:url(../images/statement_money.gif) no-repeat center left; }
#waitingLists { background:url(../images/statement_households.gif) no-repeat center left; }
#homesNeeded { background:url(../images/statement_housing.gif) no-repeat center left; }

#bd h2 {
	font-size:2em;
}

#bd #gr-main {
	position:relative;
}

#region {
	padding-top:0!important;
	font-size:1.3em;
}

/** Ranking display **/
#ranking {
	border-left:2px solid #eee;
	margin:0;
	padding:0.2em 0;
}

#calc {
	font-weight:bold;
	font-size:1.1em;
	padding:0.5em 8px 0.5em 8px !important;
}

#calc a {
	font-size:1em;
	padding:0.3em 25px 0.2em 0!important;
	background:url(../images/Question_icon.png) no-repeat top right;
	color:#000;
	text-decoration:none;
}

.rank {
	border-top:2px solid #eee;
	padding:4px 4px 3px 2px;
}

.number {
	font-size:1.05em;
	padding:0.2em 0;
}

.number .position {
	width:48px;
	display:block;
	float:left;
	letter-spacing:-1px;
	font-size:2em;
	color:#f00;
	text-align:right;
	line-height:1.1em;
	margin-right:7px;
}

.number .outof {
	width:105px;
	float:left;
	font-size:0.9em;
	padding:0;
	line-height:1.20em;
}

.noRank {
	font-size:0.5em;
	padding:0;
	line-height:1.1em;
	letter-spacing:0;
	text-align:left;
	padding-left:5px;
}

form#emailCouncillors {
	background:#eee;
	padding:1em 10px;
	margin:0 0 2em 0;
}

/** inline search form **/
form#searchAgain {
	background:#eee;
	padding:1em 1em;
	margin:1em 0;
	font-size:1.1em;
}

form#searchAgain .textbox {
	padding:0.4em 0.5em;
	width:200px;
}


form#searchAgain .button {
	float:none;
	font-size:1em;
}

form.noInline {
	display:block !important;
	padding-left:0 !important;
	padding-right:0 !important;
}


/** Detailed LA page **/
.all_explain, #all_explain {
	background:url(../images/Question_icon.png) no-repeat top left;
}

#laDetailed {
	width:100%;
	font-family:arial;
	margin:0.5em 0 1em;
	font-size: 1.1em;
	text-align: left;
	border-collapse:collapse;
	border:1px solid #eee;
	padding:0 10px;
}

#laDetailed td {
	color: #000;
	padding:0.8em 10px;
	background-color:#ededed;
	vertical-align:top;
	border-collapse:collapse;
	border:1px solid #fff;
}

td.last {
	text-align:center;
}

#laDetailed th {
	background-color: #eee;
	font-size:1.1em;
	padding:0.8em 10px;
	border:1px solid #fff;
	font-weight:bold;
}

#laDetailed th.first {
	padding-left:20px;
	border-left:1px solid #eee;
}

#laDetailed th.last {
	border-right:1px solid #eee;
}

tr.odd td {
	background-color:#fff;
	border-bottom:1px solid #fff;
}

#laDetailed td.first {
	padding-left:20px;
}

#laDetailed td.last {
	padding-right:20px;
}

#laDetailed td.figure, td.year, td.change {
	text-align:center;
	font-size:0.9em;
}

/* 
#laDetailed tr.odd td.first {
	border-left:1px solid #fff;
}
*/
#laDetailed tr.odd td.last {
	border-right:1px solid #fff;
}

.groupHeader td {
	color:#fff !important;
	background:#999 !important;
	padding:0.4em 20px !important;
	border-left:1px solid #999;
	border-right:1px solid #999;
	font-weight:bold;
}

#laDetailed th#desc { width:60%; color:#f00; }
#laDetailed th#year { width:14%; font-size:0.9em; }
#laDetailed th#figure { width:14%; font-size:0.9em; }
#laDetailed th#trend { width:14%; font-size:0.9em;}

.down, .up {
	margin:auto;
	width:17px;
	height:15px;
}

.down span, .up span {
	display:none;
}

.down { background:url(../images/Arrows_updown.gif) no-repeat -451px top; }
.up { background:url(../images/Arrows_updown.gif) no-repeat left top; }

.nc, .na {
	width:100%;
	font-size:1em;
	text-align:center;
}

/** slide down explanations **/
#explanation {
	position:relative;
}

.moveUp {
	margin-top:-30px !important;
}

#explanation .title {
	font-size:1.3em;
	font-weight:bold;
	padding:0.5em 20px 0 20px;
}

#explanation h3 {
	margin-bottom:0;
}

#hideExplain {
	position:absolute;
	right:0;
	margin:0.6em 0 0 0;
	float:right;
}

.explainRow, .explainRow td {
	margin:1em 0 0 -10px;
	padding:0.5em 10px 0.5em 10px;
	background:#f8f893 !important;
	font-size:0.9em;
	clear:both;
}

.explain {
	margin:0.2em 0;
	padding:0 0 30px 0;
	background-image:url(../images/arrow_popout.gif);
	background-repeat:no-repeat;
}

.explain h4 {
	margin-bottom:0;
}

#pd_explain { background-position:280px bottom; }
#ahd_explain { background-position:380px bottom; }
#hna_explain { background-position:470px bottom; }
#pand_explain { background-position:570px bottom; }
#or_explain { background-position:665px bottom; }

.compare #pd_explain { background-position:180px bottom; }
.compare #ahd_explain { background-position:280px bottom; }
.compare #hna_explain { background-position:400px bottom; }
.compare #pand_explain { background-position:540px bottom; }
.compare #or_explain { background-position:665px bottom; }

.explain div {
	background:#f8f893;
	padding:0.5em 0.5em;
}

.dataset {
	width:auto;
	margin:0 0 0.5em 45px;
	text-align:left;
}

.moreDetails {
	float:left;
	color:#999;
	padding-right:10px;
	width:33px;
	letter-spacing:-1px;
}

.moreDetails a {
	text-decoration:none;
	padding:0 0.2em;
}

/** Email councillor **/
#emailPreview {
	padding:1em 1.5em;
	margin:0 0 1em;
	background:#eee;
}

/** Data tables **/
#localAuthorityData .region {
	font-weight:bold;
}


/** Address drop down **/
#addressesHolder {
	width:100%;
}

#addressesHolder #intro {
	font-weight:bold;
}

#addressesHolder #close {
	float:right;
	text-align:right;
	margin-top:-2em;
}

#addressLookUpList {
	height:200px;
	overflow:auto;
	border:1px solid #666;
	padding:0.5em;
	margin:0.5em 0;
}

#addressLookUpList li {
	padding:0;
	font-size:0.9em;
}

#addressLookUpList li:hover {
	cursor:pointer;
	background-color:#FFFFCC;
}

/** Debug info **/
#debug {
	padding:0.5em;
	margin:1em 0;
	border:3px solid #f00;
	background:#ccc;
	text-align:left;
}

