/*
 * JRF Housing & Neighbourhoods Monitor map styles
 * 
 * @author benw@torchbox.com
 * Based on styles by nickl@torchbox.com
 * @extends screen.css
 */

#dialog_LA {
	display: none;
}

/* Layout helpers
----------------------------------*/
.ui-helper-hidden { display: none; }
.ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.ui-helper-clearfix { display: inline-block; }
/* required comment for clearfix to work in Opera \*/
* html .ui-helper-clearfix { height:1%; }
.ui-helper-clearfix { display:block; }
/* end clearfix */
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }


/* Page layout
-------------------------------------------------- */

#header, #footer {
	width: 100%;
	overflow: visible;
}
#content {
	width: 100%;
	overflow: hidden; /* required so that toolbar can be collapsed without extending window width */
}
#wrapper {
	overflow: visible;
}
#map-wrapper {
	position: relative;
}
#sidebars {
	position: absolute;
	top: 0;
	left: 0;
	width: 310px;
	overflow: hidden;
}

/* Header
-------------------------------------------------- */

#logo {
	margin: 18px 0 0 20px;
}
#nav {
	margin: 0 20px 0 0;
}
.maps h1 {
	display: none;
}

/* Toolbar
-------------------------------------------------- */

#toolbar {
	background-color: #ededed;
	padding-left: 7px;
	padding-top: 7px;
	padding-bottom: 7px;
	position: absolute;
	top: 15px;
	right: 0px;
	z-index: 100;
	-moz-box-shadow: 0px 0px 5px #444; /* FF3.5+ */
  	-webkit-box-shadow: 0px 0px 5px #444; /* Saf3.0+, Chrome */
    box-shadow: 0px 0px 5px #444; /* Opera 10.5, IE 9.0 */
}

#toolbar-inner {
	background-color: white;
	padding: 0;
	width: 262px; /* if changing this, see also 'toolbar expand/contract' in map-script.js was 319px */
	border-left: 1px solid #ccc;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

#toolbar-handle {
	position: absolute;
	width: 31px;
	height: 65px;
	top: 7px;
	left: -23px;
	text-indent: -5000px;
	background-image: url(../images/tools-handle.png);
	cursor: pointer;
}
.toolbar-collapsed #toolbar-handle {
	background-position: bottom;
}

#toolbar label#region-header-label {
	display: none;
}

#toolbar label.header-label {
	font-weight: bold;
	color: #222;
	font-size: 0.9em;
	float: left;
	margin-bottom: 5px;
	/*width: 60px;*/
}

#slider .ui-slider {
	float: right;
	width: 71%;
	background: url(../images/slider-bg.png) left top repeat-y;
	border: 1px solid #c1c3c4;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px; /* Opera 10.5, IE 9 */
}
#slider .ui-corner-all {
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
}
#slider .ui-slider-handle {
	top: -6px;
	width: 11px;
	height: 23px;
	background: url(../images/slider-handle.png) left top no-repeat;
	border: none;
}
#toolbar #sidebar-controls li {

}
#toolbar #sidebar-controls input {
	float: left;
}

#toolbar #sidebar-controls input[type="checkbox"] {
	margin: 3px 3px 3px 0px;	
}

#toolbar #sidebar-controls #postcode {
	/* width: 110px; */
    -moz-border-radius: 2px; /* FF1+ */
	-webkit-border-radius: 2px; /* Saf3+, Chrome */
	border-radius: 2px; /* Opera 10.5, IE 9 */
	border: 1px solid #828282;
	background: #f7f7f7;
	padding: 4px 3px;
	margin: 0 5px 0 0;
}

#toolbar #sidebar-controls #locationselect {
	margin: 5px 0 0 0px;
	width: 162px;
}
#toolbar #sidebar-controls #location {
	padding: 15px 15px 0 15px;
	overflow: hidden;
}

#toolbar #sidebar-controls #display {
	border-top: 1px solid #e5e5e5;
	padding: 15px;
	margin: 15px 0 0;
}
#toolbar #sidebar-controls #display .boundaryDisplay {
	font-size: 0.9em;
	display: block;
}
#toolbar #sidebar-controls #display #boundaryDisplay {
	padding: 0;
	position: relative;
	top: -2px;
}

#toolbar #sidebar-controls #slider {
	overflow: hidden;
	padding: 15px;
	border-top: 1px solid #e5e5e5;
}

/* Sidebar layout
-------------------------------------------------- */

#sidebars-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 620px;
	overflow: hidden;
}
.sidebar {
	position: absolute;
	top: 0;
	width: 310px;
	background: #e8e8e8;
}
.sidebar-container {
	position: relative;
	margin: 10px auto;
	padding: 0;
	background: #fff;
	width: 290px;
	border: 1px solid #c1c3c4;
	top: -1px;
	z-index: 1;
}
#index-sidebar {
	left: 0;
}
#inner-sidebar {
	left: 310px;
}
#button-sidebar-hide, #button-sidebar-show {
	position: absolute;
	left: 296px;
	top: 10px;
	display: block;
	overflow: hidden;
	text-indent: -1000px;
	width: 14px;
	height: 17px;
	background-image: url(../images/icon-expand.gif);
	background-position: 14px 0;
	z-index: 1000;
}
#button-sidebar-show {
	background-position: 0 0;
	left: 0;
}
body.sidebar-left #map-wrapper {
	margin-left: 310px;
}
body.sidebar-left #sidebar {
	left: 0;
}
body.nosidebar #map-wrapper {
	margin: 0;
}
body.nosidebar .sidebar {
	display: none;
}
body.sidebar-left a#button-sidebar-show, body.nosidebar a#button-sidebar-hide {
	display: none;
}

/* Sidebar content: menu
-------------------------------------------------- */

#index-sidebar .sidebar-container {
	overflow: auto;
}
#index-sidebar h2 {
	font-weight: bold;
	font-size: 16px;
	color: #fff;
	background-color: #1B4E7C;
	padding: 17px 14px 14px;
	margin: 0;
}
.accordion h3 {
	position: relative;
	font-size: 1em;
	margin: 0;
	font-weight: bold;
	padding: 7px 0 7px 14px;
	color: #1B4E7C;
	border-bottom: 1px solid #C1C3C4;
}
.accordion h3:hover {
	cursor: pointer;	
}
.accordion h3.ui-state-active, .accordion h3.ui-state-hover {
	background: #000 url(../images/accordion-h3-bg.png) left top repeat-x;
	color: #fff;
}
.accordion h3.ui-state-active {
	border-bottom: 0;
}
.accordion h3 .ui-icon {
	display: block;
	position: absolute;
	right: 14px;
	top: 12px;
	width: 9px;
	height: 6px;
	background: url(../images/accordion-h3-arrow.png) left top no-repeat;
}
.accordion h3.ui-state-active .ui-icon, .accordion h3.ui-state-hover .ui-icon {
	background-position: left -6px;
}
.accordion ul li {
	border: 0;
	border-bottom: 1px dotted #c1c3c4;
}
.accordion ul li:last-child, .accordion ul li.last {
	border-bottom: 1px solid #c1c3c4;
}
.accordion li a {
	display: block;
	padding: 7px 5px 5px 24px;
	background: url(../images/icon-arrow.gif) 14px 12px no-repeat;
}

/* Sidebar content: Upload KML
-------------------------------------------------- */

#sidebars #sidebars-wrapper #index-sidebar #uploadKMLtoolbar {
	padding: 14px 0 7px 14px;
	border-bottom: 1px dotted #C1C3C4;
}
#sidebars #sidebars-wrapper #index-sidebar #uploadKMLtoolbar #uploadKMLurl {
	border: 1px solid #858585;
	-moz-border-radius: 3px; /* FF1+ */
	-webkit-border-radius: 3px; /* Saf3+, Chrome */
	border-radius: 3px; /* Opera 10.5, IE 9 */
	width: 175px;
	background: #f2f2f2;
	color: #797979;
	padding: 4px 5px;
	float: left;
	margin: 0 5px 0 0;
}
#sidebars #sidebars-wrapper #index-sidebar #uploadKMLtoolbar #buttonUploadKML {
	float: left;
}
#sidebars #sidebars-wrapper #index-sidebar #uploadKMLtoolbar #buttonUploadKML:hover, #postcode-submit:hover {
	opacity:0.8;
	filter:alpha(opacity=80);
}
#sidebars #sidebars-wrapper #index-sidebar #uploadKMLtoolbar #buttonRemoveKML {
	border: none;
	background: none;
	color: #004e7d;
	padding: 0;
	margin: 5px 0 0;
	cursor: pointer;
	position: relative;
	left: -2px;
}
#sidebars #sidebars-wrapper #index-sidebar #uploadKMLtoolbar #buttonRemoveKML:hover {
	color: #222;
}
/* Sidebar content: key/message/summary/notes
-------------------------------------------------- */

/* Header */
#inner-sidebar .close {
	display: block;
	position: absolute;
	top: 16px;
	left: 14px;
	width: 30px;
	height: 18px;
	padding-left: 10px;
	line-height: 18px;
	font-size: 11px;
	color: #fff;
	background: url(../images/btn-back.png) left top no-repeat;
}
#inner-sidebar .close:hover {
	opacity: 0.8; 
	filter:Alpha(Opacity=80);
}

#inner-sidebar h2 {
	font-size: 1.154em;
	margin: 0 0 18px;
	padding: 19px 10px 15px 65px;
	border-bottom: 1px solid #EAEAEA;
	letter-spacing: -1px;
}

/* Legend */
.scale_colour {
	width: 15px;
	height: 15px;
	border: 1px solid #666;
}
.sidebar .legend {
	padding: 0 15px;
}
.sidebar-container .legend h3 {
	font-size: 13px;
	margin: 0 0 10px;
	text-transform: none;
	color: #103b68;
}
.sidebar-container .legend h3 span {
	font-size: 0.9em;
	font-weight: normal;
}
.sidebar-container .legend p {
	margin: 1em 0;
	font-size: 0.9em;
	color: #777;
}
.sidebar .legend dt {
	clear: left;
	float: left;
	width: 15px;
	margin-right: 5px;
}

/* Legend colours */
.sidebar .legend .colour0 { background-color: #FFFFFF; }
.sidebar .legend .colour1 { background-color: #FFFF80; }
.sidebar .legend .colour2 { background-color: #F7C348; }
.sidebar .legend .colour3 { background-color: #B0601E; }
.sidebar .legend .colour4 { background-color: #FAD155; }
.sidebar .legend .colour5 { background-color: #F2A72E; }
.sidebar .legend .colour6 { background-color: #AD5313; }
.sidebar .legend .colour7 { background-color: #6B0000; }
.sidebar .legend .colour8 { background-color: #38A800; }
.sidebar .legend .colour9 { background-color: #8BD100; }
.sidebar .legend .colour10 { background-color: #FFFF00; }
.sidebar .legend .colour11 { background-color: #FF8000; }
.sidebar .legend .colour12 { background-color: #FF0000; }
.sidebar .legend .colour13 { background-color: #E60000; }
.sidebar .legend .colour14 { background-color: #FFAA00; }
.sidebar .legend .colour15 { background-color: #6B0601; }
.sidebar .legend .colour16 { background-color: #F7C300; }

/* Message */
.sidebar .message {
	position: absolute;
	bottom: 85px;
	left: 15px;
	width: 260px;
	overflow: auto;
}

/* Popup links */
#additional-links {
	position: absolute;
	left: 14px;
	bottom: 14px;
	width: 262px;
}
#additional-links a {
	display: block;
	background-image: url(../images/btn-bg.gif);
	background-position: 0 0;
	width: 230px;
	height: 20px;
	overflow: hidden;
	padding: 5px 0 0 32px;
	margin: 0 0 5px;
	color: #fff;
	text-decoration: none;
	font-size: 0.9em;
}
#additional-links a:hover {
	background-position: 0 -25px;
}

/* Popup panels
-------------------------------------------------- */

/* National summary */
#nationalSummaryContent {
	background: url(../images/table-bg-large.png);
	z-index: 10;
	position: absolute;
	width: 416px;
	height: 260px;
	left: 330px;
	color: #000000;
	margin: 0px;
	padding: 20px;
	bottom: 25px;
	font-size: 10px;
	display: none;
	text-align: left;
}
#nationalSummaryContent .close, .notes-data .close {
	display: block;
	text-indent: -1000px;
	background: url(../images/btn-close.png);
	width: 23px;
	height: 23px;
	overflow: hidden;
	position: absolute;
	top: -7px;
	right: -7px;
}
#nationalSummaryContent table { 
	width: 100%;	
}
#nationalSummaryContent td {
	border-bottom: 1px solid #999999;
	padding: 0px;
}
#nationalSummaryContent td.title {
	font-size: 13px;
	font-weight: bold;
	/* text-transform: uppercase; */
	color: #000;
	padding: 0 0 10px 0;
}
#nationalSummaryContent td.subTitle {
	font-size: 12px;
	vertical-align: text-bottom;
	color: #103b68; 
}
#nationalSummaryContent td.values {
	font-size: 12px;
	text-align: right;
	vertical-align:text-top;
}
#nationalSummaryContent hr {
	display: none;
}

/* Notes panel */
.notes-data {
	background: url(../images/table-bg-large.png);
	z-index: 99;
	position: absolute;
	width: 416px;
	height: 260px;
	left: 330px;
	color: #000000;
	margin: 0px;
	padding: 20px;
	bottom: 25px;
	font-size: 12px;
	display: none;
}
.notes-data .wrapper {
	height: 100%;
	overflow: auto;
}

/* Instructions panel */
/* Only shown on first visit (cookie) */
#instructions {
	display: none;
	position: absolute;
	width: 314px;
	height: 153px;
	left: 48%;
	bottom: 37%;
	color: #000000;
	margin: 0px;
	padding: 14px;
	background: url(../images/table-bg-small.png);
	z-index: 10;
}
#instructions .close {
	display: block;
	text-indent: -1000px;
	background: url(../images/btn-close.png);
	width: 23px;
	height: 23px;
	overflow: hidden;
	position: absolute;
	top: -7px;
	right: -7px;
}
#instructions h2 {
	text-transform: none;
	letter-spacing: -0.025em;
	font-size: 1.9em;
	line-height: 1.3;
	font-weight: normal;
	border: none;
	text-align: center;
	margin: 30px 0 10px 0;
	color: #fff;
}
#instructions p {
	text-align: center;
	letter-spacing: -0.025em;
	color: #c4daef;
}

/* Counties popups */
.ui-dialog {
	border: 10px solid #ededed;
	-moz-box-shadow: 0px 0px 10px #444; /* FF3.5+ */
  	-webkit-box-shadow: 0px 0px 10px #444; /* Saf3.0+, Chrome */
    box-shadow: 0px 0px 10px #444; /* Opera 10.5, IE 9.0 */
	padding: 0 !important;
	height: auto !important;
	top: 25% !important; 
	display: none;
}
.ui-dialog #dialog_LA {
	border: 1px solid #cccecf !important;
	padding: 0;
	height: auto !important;
}
.ui-dialog #dialog_LA .ui-accordion-header {
	text-align: left;
}
.ui-dialog .ui-dialog-titlebar {
	padding: 0;
	border: none;
	color:#FFFFFF;
	font-size:16px;
	font-weight:bold;
	margin:0;
	padding:17px 14px 14px;
}
.ui-dialog .ui-accordion-content, #div_Scotland, #div_Wales, #div_NIreland {
	overflow: hidden;
	padding: 17px;
}
.ui-dialog a {
	color: #577499;
	display: block;
	width: 195px;
	cursor: pointer;
	text-align: left;
	padding: 3px 0 !important;
	margin: 0;
	background: none !important;
	font-size: 0.9em;
}
.ui-dialog li {
	border: none !important;
	float: left;
	padding: 0;
	margin: 0;
}
.ui-dialog li.last {
	border: none;
}

/* Split selector */
.split_selector h3 {
	position: relative;
	font-size: 1em;
	margin: 0;
	font-weight: bold;
	padding:8px 0 7px 14px;
	color: #1B4E7C;
	border-bottom: 1px solid #C1C3C4;
	border-right: 1px solid #c1c3c4;
	text-align: left;
}
.split_selector h3:hover {
	cursor: pointer;	
}
.split_selector h3.ui-state-active, .split_selector h3.ui-state-hover {
	background: #000 url(../images/icon_arrow_right.gif) right center no-repeat;
	color: #fff;
	
}
.split_selector {
	text-align: left;
}
#county_selector_england ul {
	padding: 15px 20px;
	height: 253px;
	overflow: auto;
}
.ui-dialog #county_selector_england ul a {
	width: 175px;
}
#div_England {
	height: 283px;
	overflow: hidden;
}

.ui-dialog .ui-dialog-titlebar-close {
	background: url("../../../images/btn-close.png") no-repeat !important;
	height:23px !important;;
	width: 23px !important;;
	margin: 0 !important;
	padding: 0 !important;
	top: 8px !important;
	right: 10px !important;
}

