/* - - - - - - - - - - - - - - - - - - - - - - -

Title :    Billy Long for Congress
URL :      billylongforcongress.com

Created :  08.06.2011
Modified : 10.12.2011

- - - - - - - - - - - - - - - - - - - - - - - */

/* Webfonts
-------------------------------------------------------------- */
@import url("Latin-Modern-Roman/stylesheet.css");

/* Position Everything
-------------------------------------------------------------- */
* { position: relative; }

/* HTML5 Tags
-------------------------------------------------------------- */
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {display:block;}

/* General Typography
-------------------------------------------------------------- */
body {font-size:62.5%; line-height:1;} /* 62.5% sets 1em=10px */

q:before{content:'\201C';}
q:after{content:'\201D';}
q q:before{content:"\2018";}
q q:after{content:"\2019";}

ul, li {margin:0; padding:0;}
li {margin-left:30px;}

ul {list-style-type:disc;}
ul ul {list-style-type:circle;}
ul ul ul {list-style-type:square;}
ul ul ul ul {list-style-type:disc;}
ul ul ul ul ul {list-style-type:circle;}

ol {list-style-type:decimal;}
ol ol {list-style-type:upper-roman;}
ol ol ol {list-style-type:lower-roman;}
ol ol ol ol {list-style-type:upper-alpha;}
ol ol ol ol ol {list-style-type:lower-alpha;}

pre,code,samp,kbd,var{font-family:'Courier New',monospace,serif;font-size:1em;}

pre {
    white-space: pre-wrap; /* css-3 */
    white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
}

del { text-decoration: line-through; }
ins { border: 0; text-decoration: none; color: #333; background-color: #ffc; }

sup, sub {position:relative; font-size:.8em; line-height:1; vertical-align:baseline;}
sup {top: -.5em;}
sub {bottom: -.5em;}

abbr {border: 0;}
abbr[title] {border-bottom:1px dotted; cursor:help;}

/* Tables
-------------------------------------------------------------- */
table { display: block; border-collapse: collapse; border-spacing: 0; }
caption { position:absolute; left:-999em; text-align:left; }
th, td { margin:0; padding:5px 20px 5px 0; vertical-align:top; }
td, tbody th { text-align:left; }
tfoot { font-size: .9em; font-style:italic; }

/* Table Styles */
th, td { border:0; }
th { text-align:center; } 

table td h4 {margin: 0 0 4px;}

/* Forms Reset
-------------------------------------------------------------- */
form, fieldset, legend, input, textarea { margin:0; padding:0; }
input[type=hidden] { display: none !important; }
label, input[type=button], input[type=submit], button { cursor: pointer; }
.ie6 legend, .ie7 legend { margin-left: -7px; }
/* www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */
textarea { overflow: auto; }
/* viget.com/inspire/styling-the-button-element-in-internet-explorer/  */
button { width: auto; overflow:visible; }
/* Align checkboxes, radios, text inputs with their label by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css  */
form{ line-height:1; }
input[type=radio] { vertical-align: bottom; }
input[type=checkbox] { vertical-align: text-bottom; }
.ie7 input[type=checkbox] { vertical-align: baseline; }
.ie7 button,
.ie7 input[type=submit],
.ie7 input[type=reset],
.ie7 input[type=button] { overflow: visible; padding: .2em .4em; }

/* Basic Form Styles */
fieldset {margin: 1.5em 0; padding: .5em; border: 1px solid #ccc; }
legend { padding: .25em; font-size: 1.6em; color: #999; }
form div { margin: 1em 0; }
label { display: block; margin: 0 0 .5em; font-size: 1.2em; font-weight: bold; }
input[type=text], input[type=password] { width: 240px; height: 18px; }
textarea { width: 390px; height: 250px; padding: 5px; }

/* Headings
-------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
	line-height: 1.3;
}

h1 { margin: 0 0 .75em; font-size: 2.2em; color: #043662; }
h2 { margin: .75em 0; font-size: 2em; }
h3 { margin: 1em 0 4px; font-size: 1.8em; font-weight:normal; }
h4 { margin: 1em 0; font-size: 1.8em; }
h5 { margin: 1.5em 0; font-size: 1.6em; }
h6 { margin: 1.5em 0 0; font-size: 1.6em; }

/* Specific Typography
-------------------------------------------------------------- */
p, ul, ol, dl, table, pre, code, samp, address, blockquote {
    margin: 0 0 1em;
    padding: 0;
    font-size: 1.2em;
    line-height: 1.4;
}

table { margin: 1em 0; }

blockquote {
    padding: 0 1.5em;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.6em;
    line-height: 1.5;
    font-style: italic;
}

cite {font-size: .9em; font-style: italic;}

pre {
    display: block;
    padding: 1em;
    border: 1px solid #ccc;
    background-color: #eee;
}

code { color: #06f; }

/*http://support.microsoft.com/kb/883631 */
hr, .hr {
	display:block;
    height:1px;
    margin:1.5em 0;
    padding:0;
    border:0;
 	border-top: 1px solid #ccc;
}

.hr hr {display:none;}

/* maxdesign.com.au/articles/definition/ */
dt { margin: 0; font-weight: bold; }
dd { margin: 0 0 1em 1em; }
dd p, dd ul, dd ol { margin-top: 0; }

/* Event Definition List */
dl.event { margin: 2em 0 .5em; font-family: georgia,times,serif; }
dl.event dt { width: 4em; }
dl.event dd {
	position: relative;
	left: 0;
	top: -1.5em;
	border-left: 1px solid #333;
	margin: 0 0 0 5em;
	padding: 0 0 .5em .75em;
}

/* Addressing Font-Size / Margin Cascade Issues */
li p, li ul, li ol, li code, li samp, li pre, li blockquote, li table,
dd p, dd ul, dd ol, dd code, dd samp, dd pre, dd blockquote, dd table,
table p, table ul, table ol, table code, table samp, table pre, table blockquote, table table,
blockquote p, address p, pre code, p code, pre samp, p samp {font-size:1em;}

li ul, li ol {margin:0;}

li h1, li h2, li h3, li h4, li h5, li h6,
dd h1, dd h2, dd h3, dd h4, dd h5, dd h6,
table h1, table h2, table h3, table h4, table h5, table h6 {font-size: 1em;margin: 1em 0;}

/* Navigation Reset
-------------------------------------------------------------- */
.nav,.nav li,nav ul,nav li{margin:0;padding:0;list-style:none;list-style-image:none;font-size:1em;}
nav {position:static;}

/* Anchor Links
-------------------------------------------------------------- */
a:link{color:#970505;text-decoration:none;}
a:visited{color:#970505;text-decoration:none;}
a:hover{color:#970505;text-decoration:underline;}
a:active{color:#970505;text-decoration:underline;}
a:focus,:focus{color:#970505;text-decoration:underline;outline:0;}
input:focus, select:focus{color:#333;text-decoration:none;}
a:hover,a:active{outline:0;} /* http://24ways.org/2009/dont-lose-your-focus */

/* Google Voice Link Style (Chrome Extension) */
span.gc-cs-link{ color:#970505; text-decoration:underline; }
span.gc-cs-link:hover{ text-decoration:none; }

/* Images
-------------------------------------------------------------- */
img{vertical-align:top;border:0;} /* https://developer.mozilla.org/en/Images,_Tables,_and_Mysterious_Gaps */
img.right{float:right;margin:0 0 .25em 2em;}
img.left{float:left;margin:0 2em .25em 0;}


/* MAIN-LAYOUT
============================================================== */
html { overflow-y:scroll; padding:0; background:#000; }

body {
	margin: 0;
	padding: 0;
	font-family: sans-serif;
	color: #555;
	background: #000 url(../img/body_bg.jpg) repeat-x center top;
	text-align: center;
}

#wrapper,
.wrapper {
	width: 960px;
	margin: 0 auto;	
	text-align: left;
}

/* Global Classes */
.hide{display:none;}
.show{display:block;}
.center{text-align:center;}

/* Header
-------------------------------------------------------------- */
#header {
	height: 270px;
	text-align: center;
}

#header #branding {
	top: 30px;
	margin:0 auto;

}

/* Global Navigation */
#global-nav {
	position: absolute;
	right: 0;
	bottom: 20px;
	left: 0;
	width: 920px;
	height: 40px;
	padding: 0 0 0 40px;
	overflow: hidden;
	background: url(../img/global_nav.png) no-repeat 0 0;
}

#global-nav li { float: left; }

#global-nav li a {
	display: none; /* Hide All Items */
	float: left;
	height: 34px;
	margin-right: 35px;
	text-indent: -999em;
	overflow: hidden;
	background-image: url(../img/global_nav.png);
	background-repeat: no-repeat;
	border-top: 6px solid #043662;	
}

#global-nav .active a,
#global-nav a:hover,
#global-nav a:active,
#global-nav a:focus { border-top: 6px solid #970505; }

/* Only show these... */
#global-nav #gn-home a { display:block; width: 50px; background-position: -40px -46px; }
#global-nav #gn-about_billy a { display:block; width: 160px; background-position: -125px -46px; }
#global-nav #gn-issues a { display:block; width: 57px; background-position: -320px -46px; }
#global-nav #gn-action_center a { display:block; width: 135px; background-position: -410px -46px; }
#global-nav #gn-newsroom a { display:block; width: 100px; background-position: -580px -46px; }
#global-nav #gn-contact a { display:block; width: 81px; background-position: -715px -46px; margin-right: 26px; }
#global-nav #gn-donate a { display:block; width: 125px; background-position: -824px -46px; margin-right: 0; border-color:#043662 !important; }


/* Content
-------------------------------------------------------------- */
.ie7 #content { padding: 0 0 20px; }

.module {
	margin: 0 0 20px;
	background: #fff;
	overflow: hidden;
	
	/* CSS3 Box Shadow */
	-moz-box-shadow: 	1px 1px 3px #333;
	-webkit-box-shadow: 1px 1px 3px #333;
	box-shadow: 		1px 1px 3px #333;
}

.border {
	overflow: hidden;
	margin: 5px;
	padding: 10px 14px 5px 14px;
	border: 1px solid #970606;
}

#primary-content {
	float: left;
	width: 630px;	
}

#primary-content .border {padding-bottom: 40px;}

/* Secondary Content Modules */
#secondary-content {
	float: right;
	width: 310px;
}

#secondary-content .module {
	float: left;
	width: 310px;
	text-align: center;
}

#secondary-content .module h4 {
	margin: 0 0 10px;
	font-family: 'LatinModernRoman10Regular', serif;
	font-weight: normal;
	font-size: 3.2em;
	line-height: 1;
	color: #043662;
}

/* Social Callout [fb like] [tweet] */
#social-callout {
	margin: 10px 0;
}

#social-callout iframe {
	width:52px; 
	height:20px;
	margin: 2px 5px 0 0;
	border:none; 
	overflow:hidden; 
}

.button a {
	display: inline-block;
	padding: 5px 12px 3px 20px;
	color: #fff;
	border: 1px solid #970505;
	text-decoration: none;

	/* CSS3 Border Radius */
	-moz-border-radius:    3px;
	-webkit-border-radius: 3px;
	border-radius: 		   3px;
	
	background: -webkit-gradient(linear, left top, left bottom, from(#950505), to(#790404));
	background: -moz-linear-gradient(#950505, #790404);
	background-color: #790404;

	/* CSS3 Box Shadow */
	-moz-box-shadow: 	1px 1px 3px #333,
						inset 1px 1px 3px #C47373;
	-webkit-box-shadow: 1px 1px 3px #333,
						inset 1px 1px 3px #C47373;
	box-shadow: 		1px 1px 3px #333,
						inset 1px 1px 3px #C47373;
}

.button a:hover,
.button a:focus {
	background: -webkit-gradient(linear, left top, left bottom, from(#790404), to(#950505));
	background: -moz-linear-gradient(#790404, #950505);
	background-color: #950505;
	
}

.button a:active {
	padding: 6px 11px 2px 21px;
	border: 1px solid #690303;
	background: -webkit-gradient(linear, left top, left bottom, from(#790404), to(#950505));
	background: -moz-linear-gradient(#790404, #950505);
	background-color: #950505;
	/* CSS3 Box Shadow */
	-moz-box-shadow: 	1px 1px 3px #333,
						inset 1px 1px 3px #333;
	-webkit-box-shadow: 1px 1px 3px #333,
						inset 1px 1px 3px #333;
	box-shadow: 		1px 1px 3px #333,
						inset 1px 1px 3px #333;
}


/* Footer
-------------------------------------------------------------- */
#footer {
	clear: both;
	background: url(../img/footer_bg_shade.png) repeat-x 0 0;
}

#footer .wrapper {
	padding: 30px 0 80px;
	overflow: hidden;
	background: url(../img/footer_bg.png) repeat-x 0 0;
}

#footer img { float: left; }

#footer p {
	float: right;
	width: 630px;
	color: #fff;
}

/* Pipelist */
#footer-nav {
	float: right;
	width: 635px;
	margin: 0;
	padding: 4px 0;
	font-size: 1.2em;
	line-height: 1.2;
}

#footer-nav li {
	/* Cross Browser Inline-Block */
	display: -moz-inline-stack;
	display: inline-block;
	vertical-align: top;
	zoom: 1;
	*display: inline;

	height: 10px;

	margin: 0 1px 0 0;
	border-left: 1px solid #eee;
}

#footer-nav li:first-child { border: 0; }

#footer-nav li a {
	/* Cross Browser Inline-Block */
	display: -moz-inline-stack;
	display: inline-block;
	vertical-align: top;
	zoom: 1;
	*display: inline;

	margin: -2px 0 0;
	padding: 0 1px 0 5px;
	text-decoration: none;
	color: #fff;
}

#footer-nav li a:hover {text-decoration:underline;}

/* SECONDARY-LAYOUT
============================================================== */

/* HOME PAGE
-------------------------------------------------------------- */
body.home #primary-content {
	width: 960px;
	overflow: visible;
}

body.home #primary-content .border {
	height: 156px;
	margin: -2px 0 0;
	padding: 24px 140px 0 180px;
	border:0;	
	background: url(../img/welcome_bg.png) no-repeat 0 0;
}

body.home #primary-content h1 {
	margin: 0 0 10px;
	font-family: 'LatinModernRoman10Regular', serif;
	font-weight: normal;
	font-size: 3.2em;
	line-height: 1;
	color: #043662;
}

body.home #secondary-content {
	float: none;
	width: 960px;
}

body.home #secondary-content .module {
	display: block;
	float: left;
	width: 310px;
	margin: 0 0 20px 15px;
}

body.home #secondary-content .module:first-child { margin-left: 0; }

body.home #secondary-content .module .border { min-height: 176px; }

/* Slideshow Banner */
#banner {
	width: 946px;
	height: 382px;
	margin: 0 0 30px;
	padding: 7px;
	overflow: visible;
	background: #fff;
}

#slideshow {
	position: relative;
	top: 0px;
	left: 0px;	
	width: 946px;
	height: 382px;
	padding-bottom: 30px;
}

.slides {
	
}

.slides img {z-index: 100;}

.card {
	z-index: 1000;
	position: absolute;
	top: 24px;
	left: 24px;
	width: 260px;
	height: 320px;
	padding: 20px;
	border: 12px solid #E3E3E3;
	text-align: center;
	background: #F3F3F3;
	-moz-box-shadow: 	1px 1px 6px #333;
	-webkit-box-shadow: 1px 1px 6px #333;
	box-shadow: 		1px 1px 6px #333;
}

.card h4 {
	margin: 0 0 14px;
	padding: 0 0 12px;
	border-bottom: 2px solid #970505;
	font-family: 'LatinModernRoman10Regular', serif;
	font-weight: normal;
	font-size: 5.5em;
	line-height: 1;
	color: #043662;
}

.card h4 span {
	display: block;
	top: 4px;
	font-size: .5em;
	line-height: .5em;
}

#pager-nav {
	z-index: 200;
	position: absolute;
	bottom: 10px;
	left: 46px;
	width: 290px;
	text-align: center;
}

#pager-nav a {
	/* Cross Browser Inline-Block */
	display: -moz-inline-stack;
	display: inline-block;
	vertical-align: top;
	zoom: 1;
	*display: inline;

	width: 18px;
	height: 16px;
	text-indent: -999em;
	overflow: hidden;
	background: url(../img/pager_nav.png) no-repeat -18px 0;
}

#pager-nav a.activeSlide {
	background: url(../img/pager_nav.png) no-repeat 0 0;
}


/* SECONDARY PAGE
-------------------------------------------------------------- */
.photo-module { float: left; width: 150px; }
.photo-module img { padding-bottom: 10px; }
.main-module { float: right; width: 440px; }

.error-message, #flashMessage.error {
	color: #ff0000;
    font-size: 1.2em;
    line-height: 1.4;
    margin: 1em 0 0 0;
    padding: 0;
}

/* NEWS PAGES
-------------------------------------------------------------- */
body.index .rss-feed {
	position: absolute;
	top: 8px;
	right: 8px;
}

body.view .rss-feed { margin-top: -3em; }

.rss-feed a {
	display: block;
	padding: 0 0 0 18px;
	line-height: 16px;
	background: url(../img/feed-icon.png) no-repeat left center;
}

/* CONTACT & DONATE PAGES
-------------------------------------------------------------- */
#PageFormForm {
	float: left;
	width: 420px;
	margin: 0;
}

#PageFormForm fieldset { padding: 10px 20px;}

#PageFormForm fieldset > div {
	/* Cross Browser Inline-Block */
	display: -moz-inline-stack;
	display: inline-block;
	vertical-align: top;
	zoom: 1;
	*display: inline;
}

#FormDataFirstName {width:170px; margin-right:20px; }
#FormDataLastName {width:170px;}
#FormDataEmail {width:170px; margin-right:20px;}

#FormDataAddress {width:370px;}
#FormDataCity {width:170px; margin-right:20px;}
#FormDataState {width:90px; margin-right:20px;}
#FormDataZipcode {width:52px;}

#FormDataPhone {width:170px; margin-right:20px;}
#FormDataFax {width:170px;}

#FormDataComments {
	width: 410px;
	height: 210px;
	padding: 5px;
	border: 1px solid #ccc;	
}

#FormDataCcNumber {width:130px; margin-right: 10px;}
#FormDataCcYear {margin-right: 10px;}
#FormDataCcv2Code {width:60px;}

/* CLEARFIX
============================================================== */
/*
	perishablepress.com/press/2009/12/06/new-clearfix-hack/
	j.mp/bestclearfix
*/
.clearfix:before, .clearfix:after,
.wrapper:before, .wrapper:after,
#content:before, #content:after {display:block;visibility:hidden;height:0;content:"\0020";}
.clearfix:after,
.wrapper:after,
#content:after {clear:both;}
.clearfix,
.wrapper,
#content {zoom:1;}


/* PRINT STYLES
============================================================== */
/*
	Inlined to avoid required HTTP connection:
	www.phpied.com/delay-loading-your-print-css/
*/

@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
  -ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  a#branding:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
  tr, img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}

