/*
Theme Name: Roy For Congress
Theme URI: 
Description: 
Version: 1
Author: Nick Sayre for Maxus Creative
Author URI: 
Tags: 
*/

/* =About this file

File: CSS for Template Site
Author: Nick Sayre
Site: nicksayre.com
Contact: nicksayre@gmail.com
*/

/* =Colors
Text gray: #444;
Text light gray: #6d6d6d;
Link blue: #225eae;
Dark blue: #05316c;
Background Blue: #002d6a;
h2 Red: #d31128;
*/

/* =Reset
------------------------------------------------------------*/

* {
	margin: 0;
	padding: 0;
	outline:none;
}
html, body {
	height: 100%;
}
a img, a img:hover {
	border: none;
}
table {
	border-collapse: collapse;
}

h1, h2, h3, h4, h5, h6 {
	font-weight:normal;
}


/* =General
------------------------------------------------------------*/
body {
	font-family: Verdana, Helvetica, arial, sans-serif;
	font-size: 14px;
	background: #002d6a url(/img/bg-body.jpg) no-repeat center top;
	color: #444;
}

p {
	margin: 1em 0;
}

/* =Links */
a {
	color: #225eae;
}
a:hover {
	color: #d31128;
}

/* =Headings */
h1 a {
	position: absolute;
	top: 25px;
	left: 25px;
	display: block;
	height: 100px;
	width: 316px;
	
	text-indent: -1000em;
}


h2, h2 a {
	font-size: 18px;
	color: #d31128;
	text-decoration:none;
}

h3 {
	margin: 1em 0;
}


/* =Other */

.alignleft {
	float: left;
}
.alignright {
	float: right;
}


/* =Helpers (Forms, notifications, errors, etc.)
------------------------------------------------------------*/
form {
	margin: 10px;
}
form div {
	margin: 4px 0;
}
label {
	float: left;
	width: 75px;
	cursor:pointer;
	font-weight:bold;
}

input {
	width: 150px;
	border: none;
	padding: 5px;
}
input.checkbox {
	width: auto;
	margin-right: 5px;
	float: left;
}

input.submit {
	width: 80px;
	float:right;
}

input[type="text"]:focus {
	background: #b0c1d3;
}

fieldset {
	border: none;
}

form h3 {
	float: left;
	width: 75px;
	margin: 0;
	font-size: 12px;
	font-weight:bold;
}
.checkboxes label {
	float:none;
	font-size: 10px;
	font-weight:normal;
}


/* =Layout
------------------------------------------------------------*/
#wrapper {	
	width: 980px;
	position:relative; /* TRICKY */
	left: 50%;
	margin-left: -480px;

}
/* =Header */
#branding {
	position: relative;
	height: 155px;
	background: url(/img/bg-branding.jpg) no-repeat;
}
#roy {
	position:absolute;
	top: 14px;
	right:20px;
	width: 247px;
	height: 274px;
	background: url(/img/bg-roy.jpg) no-repeat;
	z-index: 10;	
}
/* =Navigation */
#nav {
	position: absolute;
	top: 163px;
	padding-left: 20px;
	width: 920px;
	height: 70px;
	background: url(/img/bg-nav.jpg) repeat-x;	
	margin: 0;
	overflow:auto;
}
#nav li {
	float: left;
	display:block;
}
#nav li a {
	text-indent: -1000em;
	display:block;
	height:70px;
}

/* Nav item widths and backgrounds */
#nav-home {
	width: 69px;
	background: url(/img/bg-nav-home.gif) no-repeat;
}
#nav-home:hover {
	background: url(/img/bg-nav-home.gif) no-repeat left -70px;
}

#nav-bio {
	width: 48px;
	background: url(/img/bg-nav-bio.gif) no-repeat;
}
#nav-bio:hover {
	background: url(/img/bg-nav-bio.gif) no-repeat left -70px;
}

#nav-blog {
	width: 64px;
	background: url(/img/bg-nav-blog.gif) no-repeat;
}
#nav-blog:hover {
	background: url(/img/bg-nav-blog.gif) no-repeat left -70px;
}

#nav-issues {
	width: 74px;
	background: url(/img/bg-nav-issues.gif) no-repeat;
}
#nav-issues:hover {
	background: url(/img/bg-nav-issues.gif) no-repeat left -70px;
}

#nav-news {
	width: 144px;
	background: url(/img/bg-nav-news.gif) no-repeat;
}
#nav-news:hover {
	background: url(/img/bg-nav-news.gif) no-repeat left -70px;
}

#nav-calendar {
	width: 109px;
	background: url(/img/bg-nav-calendar.gif) no-repeat;
}
#nav-calendar:hover {
	background: url(/img/bg-nav-calendar.gif) no-repeat left -70px;
}



/* Select current page */
.home #nav-home {
	background: url(/img/bg-nav-home.gif) no-repeat bottom left;
	margin: 0 5px;
}
#bio #nav-bio {
	background: url(/img/bg-nav-bio.gif) no-repeat bottom left;
	margin: 0 5px;
}
.blog #nav-blog {
	background: url(/img/bg-nav-blog.gif) no-repeat bottom left;
	margin: 0 5px;
}
.issues #nav-issues {
	background: url(/img/bg-nav-issues.gif) no-repeat bottom left;
	margin: 0 5px;
}
#news #nav-news {
	background: url(/img/bg-nav-news.gif) no-repeat bottom left;
	margin: 0 5px;
}
#calendar #nav-calendar {
	background: url(/img/bg-nav-calendar.gif) no-repeat bottom left;
	margin: 0 5px;
}


/* =Content */
#content {
	width:980px;
	padding-top: 70px;
	overflow:auto;
	background: url(/img/bg-content.jpg) repeat-y;
	background-position: 10px 70px;

}

#primaryContent {
	float:left;
	margin-left: 10px;
	padding-bottom:20px;
	display: inline; /* KLUDGE: IE6 */
	width: 630px;
}


#secondaryContent {
	float:right;
	display: inline; /* KLUDGE: IE6 */
	padding-top:63px;
	padding-bottom: 20px;
	width: 300px;
}

#issues {
	margin-right: 20px;
	margin-bottom: 10px;
	list-style-type: none;
}
#issues li {
	position:relative;
	margin-right:10px;
	padding: 10px;
	padding-left: 0;
	background: #fff url(/img/bg-issue.jpg) repeat-x bottom;
	min-height: 46px;
	overflow: hidden;
}
#issues h3 {
	margin: 0;
	margin-left: 80px;
}

#issues h3 a {
	text-transform:uppercase;
	color: #05316c;
	text-decoration:none;
	line-height: .92em;
}
#issues h3 a:hover {
	color: #225eae;
	text-decoration:underline;
}

#issues p {
	margin: 0 10px 0 80px;
	font-size: 12px;
	line-height: 12px;
}
#issues img {
	position: absolute;
	top:2px;
	left:10px;
}

/* =Footer */
#footer {
	clear:both;
	margin: 0 10px;
	padding-top: 37px;
	background: url(/img/bg-footer2.jpg) no-repeat;
	color: #6d6d6d;
	font-size:12px;
	overflow: hidden;
}
#footer-primary {
	margin-top:5px;
	float: left;
	padding: 10px 0 30px 0;
	width: 673px;
}
#footer-primary p {
	margin: 0 0 0 40px;
}


#footer-secondary {
	float: left;
	margin-top:5px;
	padding: 10px 0;
	width: 268px;
	background: #000 url(/img/bg-footer-secondary.jpg) repeat-x;
	overflow:hidden;
}

#footer-secondary p, #footer-secondary h2 {
	margin: 0 10px;
}
#footer-secondary h2 {
	font-size: 12px;
	text-transform: uppercase;
} 


#footerNav {
	overflow:hidden;
	list-style-type:none;
	width: 653px;
	text-align:center;

}
#footerNav li {
	padding-right: 10px;
	display:inline;
	text-transform: uppercase;
}
#footerNav a {
	color: #fff;
		text-decoration: none;
}
#footerNav a:hover {
	color: #225eae;
}

#footer dl {
	margin: 20px 0 1em 40px;
}
#footer dt {
	color: #fff;
	text-transform: uppercase;
}


/* =Post */
.post {
	margin-left:10px;
	padding: 20px 30px 10px 30px;
	background: #fff url(/img/bg-post2.jpg) repeat-x;
}
.postClear {
	margin-left:10px;
	padding: 0 30px;
}

.post h2 {
	margin-bottom: 0;
}

.post h2 span a {
	font-size: 12px;
	color:#666;
	text-transform:uppercase;
	text-decoration: underline;
}

.post h3 {
	text-transform:uppercase;
	font-size:14px;
	font-weight:bold;
}

.date {
	margin-top: 0;
	color:#888;
}
.post ul, .post ol {
	margin-left:35px;
}

/* =Page */

.pageHeader {
	margin-top: 20px;
}
.pageHeader h2 {
	margin-left: 40px;
}

/* =Archive */
.pagination {
	list-style-type: none;
	overflow: hidden;
}
.next  {
	float:left;
	margin-left: 30px;
	display: inline;
}

.prev  {
	float:right;
	margin-right: 30px;
	display: inline;
}


/* =Flickr */


#flickrWrapper {
	margin-left: 10px;
}
#flickrWrapper img{
	margin: 0 5px 3px 0;
}
#flickrWrapper p {
	margin:0; 
}
#flickrWrapper a {
	font-size: 12px; 
}

/* =Donate & Volunteer Button */

#btn-donate_volunteer {
	text-indent: -1000em;
}
#btn-donate_volunteer a {
	position:absolute;
	top: 50px;
	left: 465px;
	display: block;
	width: 225px;
	height:62px;
}

/* =Twitter */
#twitter {
	margin-right: 30px;
}

.twtr-hd, .twtr-ft {
	display: none;
}
#twitter p {
	font-size: 12px;
}

#twitter > p {
	margin-left: 10px;
}

#twtr-widget-1 + p {
	margin-top: 0;
	text-align: right;
	margin-right: 10px;
}

/* =Calendar */

.kjo-link {
	display: none !important;
}



/* =Pages
------------------------------------------------------------*/

/* =Overrides
------------------------------------------------------------*/

#headline-explore {
	height: 63px;
	background: url(/img/headline-explore_issues.jpg) no-repeat;
	text-indent: -1000em;
}
#headline-tweet {
	height: 48px;
	background: url(/img/headline-tweet.png) no-repeat !important;
	background: url(/img/headline-tweet.gif) no-repeat;
	text-indent: -1000em;
}

#headline-flickr {
	height: 48px;
	background: url(/img/headline-flickr.png) no-repeat !important;
	background: url(/img/headline-flickr.gif) no-repeat;
	text-indent: -1000em;
}

