/* GENERIC SETUP */

html {
	margin: 0;
	padding: 0;
}

body {
	background-color: #526B67;
	font-family: Arial, sans-serif;
	font-size: 67%;
	background: #526B67 url(/sites/all/themes/leadline/images/background-footer.gif) no-repeat 50% 100%;
	margin: 0;
	padding: 0;
}

/* MAIN CONTENT */

#non_footer {
	position: relative;
	background: #F2F7F7 url(/sites/all/themes/leadline/images/background-nf.gif) repeat-y 0 0;
	width: 900px;
	border-top: 5px solid #526B67;
	margin: 0 auto;
	padding: 0;
}

/* Logo */

#header, 
#header h1 {
	margin: 0;
	padding: 0;
}

#header h1 {
	height: 305px;
}

#header * {
	text-indent: -9999px;
}

#header h1 a {
	display: block;
	width: 355px;
	height: 255px;
	margin: 0 0 0 20px;
	padding: 0;
	background: red url(/sites/all/themes/leadline/images/logo-header.gif) repeat-x 0 0;	
	text-decoration: none;
	outline: none;
}

#header p.slogan {
	position: absolute;
}

/* Top horizontal nav */

#useful_nav {
	position: absolute;
	top: 255px;
	left: 0;
	width: 900px;
	height: 50px;
	background-color: #DBE7E3;
}

#useful_nav ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#useful_nav li {
	float: left;
	width: 100px;
	height: 50px;
}

#useful_nav li a {
	display: block;
	width: 100%;
	height: 100%;
	text-indent: -9999px;
	background-repeat: no-repeat;
	background-position: 0 0;
	overflow: hidden;
	outline: none;
}

#useful_nav li a:hover {
	background-position: 0 -50px;
}

#useful_nav li.menu-1-1-2 {
	width: 58px;
	margin-left: 20px; /* This is the leftmost nav item */
}

#useful_nav li.menu-1-1-2 a {
	background-image: url(/sites/all/themes/leadline/images/u_nav_home.gif);
}

#useful_nav li.menu-1-2-2 {
	width: 78px;
}

#useful_nav li.menu-1-2-2 a {
	background-image: url(/sites/all/themes/leadline/images/u_nav_about.gif);
}

#useful_nav li.menu-1-3-2 {
	background-color: #b6cec5;
	width: 97px;
}

#useful_nav li.menu-1-3-2.no_bookmark {
	padding-right: 122px;
}

#useful_nav li.menu-1-3-2 a {
	background-image: url(/sites/all/themes/leadline/images/u_nav_print.gif);
}

#useful_nav li.menu-1-4-2 {
	width: 122px;
}

#useful_nav li.menu-1-4-2 a {
	background-image: url(/sites/all/themes/leadline/images/u_nav_bookmark.gif);
}

#useful_nav li.menu-1-6-2 {
	margin-top: 10px;
	height: 29px;
	width: 175px;
}

#useful_nav li.menu-1-6-2 a {
	background-image: url(/sites/all/themes/leadline/images/u_nav_free_updates.gif);
}

#useful_nav li.menu-1-6-2 a:hover {
	background-position: 0 -29px;
}

#useful_nav li.menu-1-7-2 a {
	margin-top: 10px;
	height: 29px;
	width: 175px;
}

#useful_nav li.menu-1-7-2 a {
	background-image: url(/sites/all/themes/leadline/images/u_nav_contact_us.gif);
}

#useful_nav li.menu-1-7-2 a:hover {
	background-position: 0 -29px;
}

/* This menu item has no A element */
#useful_nav li.menu-1-5-2 {
	text-indent: -9999px;
	background-image: url(/sites/all/themes/leadline/images/u_nav_tel.gif);
	background-repeat: no-repeat;
	background-position: 0 0;
	overflow: hidden;
	width: 175px;
}


/* Main text content */

#content {
	width: 505px;
	background-color: #fff;
    color: #666;
	float: right;
	margin: 0px 10px 10px;
	font-size: 1.2em;
    border-top: 10px solid #F2F7F7;
}

#content h2,
#content h3,
#content h4,
#content h5,
#content p,
#content div.webform-component-textfield,
#content div.webform-component-textarea,
#content div.webform-component-email,
#content div.webform-component-select {
	margin-left: 10px;
	margin-right: 10px;
}

#content h2.title {
	margin-top: 15px;
    color: #000;
    font-size: 1.3em;
}

#content a {
	color: #333;
	text-decoration: underline;
}

#content a:visited {
	color: #551A8B;
	text-decoration: underline;
}

/* Corners */

.corner {
	position: absolute;
	display: block;
	margin: 0;
	padding: 0;
	line-height: 0;
	width: 6px;
	height: 6px;
    background-repeat: no-repeat;
	background-position: 0 0;
}

/* Corners for the top level nav */

#section_nav .corner-tr {
	background-image: url(/sites/all/themes/leadline/images/corner-tr.gif);
	right: 0;
	top: 0;
}

#section_nav .corner-br {
	background-image: url(/sites/all/themes/leadline/images/corner-br.gif);
	right: 0;
	bottom: 0;
}

#section_nav .corner-bl {
	background-image: url(/sites/all/themes/leadline/images/corner-bl.gif);
	left: 0;
	bottom: 0;
}

#section_nav .corner-tl {
	background-image: url(/sites/all/themes/leadline/images/corner-tl.gif);
	left: 0;
	top: 0;
}

/* Corners for the 2nd level nav */

#section_nav li li .corner-tr {
	background-image: url(/sites/all/themes/leadline/images/corner-lvl2-tr.gif);
}

#section_nav li li .corner-br {
	background-image: url(/sites/all/themes/leadline/images/corner-lvl2-br.gif);
}

#section_nav li li .corner-bl {
	background-image: url(/sites/all/themes/leadline/images/corner-lvl2-bl.gif);
	left: 32px;
}

#section_nav li li .corner-tl {
	background-image: url(/sites/all/themes/leadline/images/corner-lvl2-tl.gif);
	left: 32px;
}

/* Corners for the survey */

#block-poll-0 .corner-tr {
	background-image: url(/sites/all/themes/leadline/images/corner-survey-tr.gif);
}

#block-poll-0 .corner-br {
	background-image: url(/sites/all/themes/leadline/images/corner-survey-br.gif);
}

#block-poll-0 .corner-bl {
	background-image: url(/sites/all/themes/leadline/images/corner-survey-bl.gif);
}

#block-poll-0 .corner-tl {
	background-image: url(/sites/all/themes/leadline/images/corner-survey-tl.gif);
}

/* Main navigation (on left) */

#section_nav {
	width: 355px;
	margin: 0pt 0pt 50px 20px;
	background-color: #B6CEC5;
	color: #666;
	float: right;
}

#section_nav ul {
	list-style-type: none;
	margin: 0 0 0px 10px;
	padding: 0;
}

#section_nav ul ul {
	margin: 0;
	padding: 0;
}

#section_nav li {
	/* override some Drupal styling */
	list-style-image: none;
	list-style-type: none;
}

/* (level 1 nav) */

#section_nav li {
	margin: 5px 0;
	padding: 0;
}

#section_nav li a {
	display: block;
	width: 275px;
	height: auto;
	padding: 10px 10px 10px 50px;
	background: #E5ECEA url(/sites/all/themes/leadline/images/nav_icon_generic.gif) no-repeat 10px 50%;
	text-decoration: none;
	font-weight: bold;
	color: #181314;
	font-size: 1.3em;
}

#section_nav li a:hover {
	color: #797979;
	background-position: -962px 50%;
}

/* (level 2 nav) */

#section_nav li li a {
	margin-left: 10px;
}

#section_nav li li a {
	width: 285px;
	background-color: #B6CEC5;
	height: auto;
	background-image: none;
	padding: 5px 0 5px 40px;
	color: #797979;
}

#section_nav li li.expanded a,
#section_nav li li.leaf a,
#section_nav li li.collapsed a {
	color: #181314;
	background-color: #D5E0DC;
	background-image: url(/sites/all/themes/leadline/images/nav-icon-expanded.gif);
	background-repeat: no-repeat;
	background-position: 0 50%;
}

#section_nav li li.leaf a {

background-image:url(/sites/all/themes/leadline/images/nav-icon-leaf.gif);
}
#section_nav li li.collapsed a {
	background-image: url(/sites/all/themes/leadline/images/nav-icon-collapsed.gif);
}

#section_nav li li.collapsed a:hover,
#section_nav li li.expanded a:hover {
	color: #797979;
}

/* (level 3 nav) */

#section_nav li li.expanded li a {
	color: #797979;
	background-color: #B7CEC6;
	background-image: none;
}

#section_nav li li.expanded li a:hover {
	color: #181314;
}

#section_nav li li.expanded li {
	padding: 0;
	margin: 0;
}

/* Search */

#search-form {
	margin: 20px 10px 5px 10px;
	padding: 10px;
}

#section_nav #search-form {
	background-color: #E5ECEA;    
}

#search-form h3,
#search-form div,
#search-form form {
	display: inline;
}

#search-form h3 {
	font-weight: normal;
}

#search-form input.form-text {
	width: 235px;
	border: 2px solid #6B817D;
	background-color: #B6CEC5;
	color: #6B817D;
	margin-left: 5px;
}

#search-form input.form-submit {
	padding: 0;
	margin-left: 5px;
	border: 2px solid #6B817D;
	background-color: #B6CEC5;
	font-weight: bold;
	color: #6B817D;
}

/* Survey */

#block-poll-0 {
	clear: both;
	margin: 10px 535px 10px 30px;
    padding: 5px 10px 10px 10px;
	background-color: #D7E3DF;
	color: #666;
}

#block-poll-0 h3,
#block-poll-0 p {
    margin: 0 0 4px 0;
	font-size: 1em;
	font-weight: normal;
}

#block-poll-0 form {
    margin: 0;
    padding: 0;
}

#block-poll-0 div.form-item {
    display: block;
    margin: 0;
    padding: 0;
}

#block-poll-0 .poll,
#block-poll-0 .vote-form,
#block-poll-0 .choices {
	display: block;
}

#block-poll-0 input.form-submit {
    padding: 0;
    margin: 10px 5px 0 0;
	border: 2px solid #6B817D;
	background-color: #B6CEC5;
	font-weight: bold;
	color: #6B817D;
}

#block-poll-0 label {
    font-weight: bold;
}

#block-poll-0 .poll .bar {
   background-color: #B6CEC5;
}

#block-poll-0 .poll .bar .foreground {
   background-color: #506A65;
}

#block-poll-0 ul.links {
   margin: 0;
   padding: 0;
}

#block-poll-0 ul.links li {
   margin: 0 0 0.25em;
   padding: 0;
} 


/* Misc links below content (privacy, info sources) */

#boiler-plate {
    font-size: 0.9em;
	background-color: #F2F7F7;
}

#boiler-plate ul {
	list-style-type: none;
	margin: 0;
	padding: 5px 15px 20px 0;
	text-align: right;
}

#boiler-plate li {
	display: inline;
	border-right: 1px solid #666;
	padding: 0 5px 0 0;
	margin: 0 5px 0 0;
}

#boiler-plate li.information {
	border-right: none;
	margin: 0;
	padding: 0;
}

#boiler-plate li a,
#boiler-plate li a:visited {
    color: #666;
}

/* (Drupal) ad panel, top right */

.advertisement {
	position: absolute;
	top: 0;
	right: 0;
	width: 525px;
	height: 255px;
	overflow: hidden;
	background-color: #fff;
}

.advertisement p,
.advertisement p a.main_link {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}

.advertisement p a.main_link {
	display: block;
	height: 0;
	padding-top: 340px;
	overflow: hidden;
	background-repeat: no-repeat;
	background-position: 0 0;
}

.advertisement div.alt {
	/* Hide the text in such a way that screen readers will still get at it */
	display: block;
	width: 100%;
	height: 100%;
	text-indent: -9999px;
}

/* FOOTER */

#footer {
	width: 900px;
	margin: 20px auto 0 auto;
	background-color: #272324;
	color: #fff;
}

/* ISO badges, etc */

#footer ul#badges {
    list-style-type: none;
    margin: 0;
    padding: 10px;
}

#footer ul#badges li {
    display: inline;
}

/* (C) statement */

#footer div.copy {
    margin: 0 10px;
    color: #C2DBD3;
}

/* Address/hCard */

#footer div.cite {
    margin: 5px 10px 0 10px;
    color: #C2DBD3;
}

#footer div.cite address {
    font-style: normal;
}

#footer div.cite a,
#footer div.cite a:visited {
    color: #C2DBD3;
}

#footer div.cite address .adr,
#footer div.cite address .tel,
#footer div.cite address .email {
    margin-left: 10px;
}

#sitemap ul {
    list-style-type: none;
    padding: 0;
    margin: 10px;
}

#sitemap li {
    list-style-type: none;
    list-style-image: none;
    padding: 0;
    margin: 0 0 10px 0;
}

#sitemap a {
    color: #484749;
}

#sitemap ul ul,
#sitemap ul ul li {
    display: inline;
    padding: 0;
    margin: 0;
}

#sitemap ul ul li {
    margin-left: 3px;
    padding-left: 5px;
    border-left: 1px solid #353535;
    line-height: 150%;
}
#edit-search-theme-form-1-wrapper label {
        display: none;
}
