/* start with a clean slate */

/* we specifically include td to keep IE5.5 Win happy */
html, body, form, fieldset, div, td {
	margin: 0;
	padding: 0;
	font: 12px arial, sans-serif;
	line-height: 1.3;
}

h1, h2, h3, h4, h5, h6, p, pre, object,
blockquote, ul, ol, li, dl, dd, address {
	margin: 1em 0;
	padding: 0;
}

ul, ol, dl, blockquote, li {
	margin-left: 1.5em;
}

input, select, textarea {
	margin: 0;
	padding: 0;
	font: 11px helvetica,arial,sans-serif;
}

/* main structural divs */

body {
	background-color: #E7E9DC;
	text-align: center;
}

#container {
	width: 921px;
	margin: 0 auto;
	background: #fff url(/images/admin/container_bg.gif);
	text-align: left;
}

#container2 {
	background: url(/images/admin/container2_bg.gif) repeat-x;
	text-align: left;
}

#top {
	width: 921px;
	margin: 0 auto;
	height: 144px;
	background: white url(/images/admin/logo.gif) no-repeat;
}

#signup {
	float: right;
	width: 188px;
	padding: 37px 0 0 0;
}

#signup h3 {
	margin: 0 0 6px 0;
}

#signup .submit {
	float: right;
	margin-right: 30px;
}

#topnav {
	/*height: 25px;*/
	width: 704px;
	height: 46px;
	position: relative;
	top: 97px;
	margin-left: 200px;
	background: #E7E9DC url('/images/admin/topnav_bg.gif') no-repeat;
	text-align: center;
}

#top-image{
	width: 903px;
	margin: 0 auto;
}

#content {
	width: 873px;
	margin: 0 auto;
	padding: 15px;
}

#bottomnav {	
	width: 851px;
	margin: 0 auto;
	line-height: 25px;
	padding: 0 28px;
	background: url(/images/admin/bottomnav_bg.gif);
	text-align: left;
}

#bottomnav a,
#bottomnav a:hover {
	text-decoration: none;
	font-weight: bold;
}

#footer {
	width: 851px;
	margin: 0 auto;
	padding: 5px 28px;
	text-align: left;
}

#footer p {
	margin: 0;
	line-height: 1.6;
}
#footer a,
#footer a:hover {
	text-decoration: none;
	font-weight: bold;
}

#bottom {
	width: 796px;
	height: 26px;
	margin: 0 auto;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* top nav */

#mainnav {
	margin: 0 0 0 20px;
	list-style: none;
	font-family: LubalinGraphStd-Book, times, serif;
}
#mainnav li {
	margin: 10px 0 0 0;
	/*height: 20px;*/
	line-height: 20px;
	float: left;
}

#mainnav li a,
#mainnav li strong {
	display: block;
	padding: 0 10px;
	color: #5B9400;
	font-size: 22px;
	text-decoration: none;
	float: left; /* for IE5/Mac - we take it back below */
}
/* Hides from IE-mac \*/
#mainnav li a,
#mainnav li strong {
	float: none;
}
/* End hide from IE-mac */

#mainnav li.selected a,
#mainnav li.selected strong {
	color: #5B9400;
}
#mainnav li a:hover {
	color: #5B9400;
}

#mainnav li a img{
	margin: 5px 6px;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* sidebar boxes */

.rightbox {
	padding: 1px 10px;
	margin: 10px 0;
	background: #fff url(/images/admin/rightbox_bg.gif) no-repeat;
	border-bottom: 5px solid #d5e7f4;
}
.rightbox h3 {
	margin-top: 10px;
}

#buttons {
	padding-top: 5px;
	margin-top: 0;
	background-image: none;
}
#buttons p {
	margin: 5px 0;
	height: 30px;
	width: 160px;
}
#buttons p a { 
	height: 30px;
	width: 160px;
	display: block;
	text-decoration: none;
}
#volunteer_button { background: url(/images/admin/volunteer_button.gif) no-repeat; }
#tell_button { background: url(/images/admin/tell-your-friends_button.gif) no-repeat; }
#contribute_button { background: url(/images/admin/make-a-contribution_button.gif) no-repeat; }
#register_button { background: url(/images/admin/register-to-vote_button.gif) no-repeat; }

#login .submit {
	float: right;
	margin-top: 12px;
}
#login label {
	font-weight: normal;
}

#mobile form {
	background: url(//images/admin/mobile_phone.jpg) bottom right no-repeat;
}
#mobile_box_phone {
	width: 85px;
}

#search .submit {
	float: right;
	margin-top: -3px;
}
#search form {
	margin-bottom: 10px;
}

#feeds img {
	display: inline;
	vertical-align: middle;
}

/* misc text stylings */

h1, h3 {
	color: #5B9400;
	font-family: LubalinGraphStd-Book, times, serif;
}

h1 {
	margin-top: 0;
	font-size: 22px;
}
h2 {
	font-size: 16px;
	color: black;
	margin: 0;
}
h3 {
	font-size: 13px;
}
li {
	/*margin: 1em 0 1em 1.5em*/
}
a {
	color: #5A9600;
	font-weight: bold;
	outline: none;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
hr {
	border: none;
	color: #000;
	background: #000;
	height: 1px;
}
.odd {
	background: #e7f3fb;
}
.even {
	background: #fff;
}

/* images */

img {
	border: none;
    display: block;
}
p.pic {
	margin: 0;
}
p.pic small {
	font-weight: bold;
	font-size: 10px;
	line-height: 1.2;
}
p.align-f {
	display: block;
}
p.align-c {
	margin: 10px auto;
}
p.align-r {
	float: right;
	margin: 0 0 10px 10px;
}
p.align-l {
	float: left;
	margin: 0 10px 10px 0;
}
p.border {
	border: 1px solid #000;
	padding: 2px;
}

/* simple default form elements often used in templates */

form div.formrow {
	margin: 0px 0 10px 0;
}
form div.formrow.first {
	margin-top: 0;
}
form div.formrow.last {
	margin-bottom: 0;
}
form div.formrow.border {
	padding-bottom: 12px;
	margin-bottom: 12px;
	border-bottom: 1px dotted #13578d;
}
form label {
	display: block;
	font-weight: bold;
}
form label.inline {
	display: inline;
	font-weight: bold;
}
form input.submit {
	font-weight: bold;
	overflow: visible; /* removes extra space beside text in IE Win 5.5+ */
	padding: 1px 2px;
}
input, textarea {
	padding: 1px;
}

/* section box - for use on simple section_covers and homepage */

.sectionbox,
.sectionboxwide {
	margin: 0 0 20px 0;
}
.sectionbox h2,
.sectionboxwide h2 {
	/*height: 26px;*/
	line-height: 26px;
	margin: 0;
	padding: 0 10px;
	background: #13558b url(//images/admin/section_full_bg.gif) no-repeat;
	color: #fff;
}
.sectionboxwide h2 {
	background: #13558b url(//images/admin/section_wide_bg.gif) no-repeat;
}
.sectionboxstory {
	margin: 0;
	padding: 10px;
	border-bottom: 1px solid #accfe9;
}
.sectionboxstory h3,
.readmore h3 {
	margin: 0;
}
.sectionboxstory blockquote {
	margin-left: 0;
	margin-top: 0;
	padding-left: 15px;
	border-left: 1px dotted #13578d;
}
.readmore {
	margin: 0;
	padding: 4px 10px;
	border-bottom: 5px solid #accfe9;
}

/* hacks : some IE specific declarations are in conditional comments in category.tmpl */

.padded {
	padding: 1px 10px;
	/* assumes that items in container have top-bottom margins; top-bottom padding added to 
       fix problem with IE Win, which would not apply bottom margin without at least 1px padding
       to trigger the margin */
}
.padded.border {
	border-bottom: 1px dotted #13578d;
}

/* probably better than padded when background color is not an issue */
.margined {
	margin: 10px;
}

.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.clearfix {
	display: inline-block;
}
/* Hides from IE-mac \*/
.clearfix { display: block; }
/* End hide from IE-mac */

.ir {
	margin: 0;
	padding: 0;
	text-indent: -8888px; /* Phark image replacement */
}
