/*
   application.css
   SmarterSafer2

   Copyright 2011 Home Front Communications. All rights reserved.
*/

@import url('reset.css');

@font-face {
	font-family: 'FunctionPro';
	src: url('../fonts/FunctionPro-Book-webfont.eot');
	src: url('../fonts/FunctionPro-Book-webfont.eot?iefix') format('eot'),
	     url('../fonts/FunctionPro-Book-webfont.woff') format('woff'),
	     url('../fonts/FunctionPro-Book-webfont.ttf') format('truetype'),
	     url('../fonts/FunctionPro-Book-webfont.svg#webfont') format('svg');
}

@font-face {
	font-family: 'FunctionPro';
	font-weight: lighter;
	src: url('../fonts/FunctionPro-Light-webfont.eot');
	src: url('../fonts/FunctionPro-Light-webfont.eot?iefix') format('eot'),
	     url('../fonts/FunctionPro-Light-webfont.woff') format('woff'),
	     url('../fonts/FunctionPro-Light-webfont.ttf') format('truetype'),
	     url('../fonts/FunctionPro-Light-webfont.svg#webfont') format('svg');
}

@font-face {
	font-family: 'FunctionPro';
	font-weight: bold;
	src: url('../fonts/FunctionPro-Demi-webfont.eot');
	src: url('../fonts/FunctionPro-Demi-webfont.eot?iefix') format('eot'),
	     url('../fonts/FunctionPro-Demi-webfont.woff') format('woff'),
	     url('../fonts/FunctionPro-Demi-webfont.ttf') format('truetype'),
	     url('../fonts/FunctionPro-Demi-webfont.svg#webfont') format('svg');
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	color: #231f20;
	font-family: Arial, Helvetica, sans-serif;
}

/* element declarations */
strong {
	font-weight: bold;
}

a,
.single a strong {
	color: #154776;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

em {
	font-style: italic; 
}
/* */

.header-container {
	background: url(/wp-content/themes/boilerplate/assets/images/header-bg.jpg) repeat-x;
	height: 101px;
}

header {
	width: 941px;
	font-size: 38px;
	margin: 0 auto;
}

header .title {
	text-transform: uppercase;
	padding: 25px 0 3px;
	display: block;
}

header .title a {
	color: #fff;
	font-family: FuturaStd, FunctionPro;
	text-decoration: none;
}

header .subtitle {
	color: #57718c;
	font-size: 14px;
	font-weight: bold;
	font-family: Helvetica, Arial, sans-serif;
}

.menu-topnav-container {
	background: url(/wp-content/themes/boilerplate/assets/images/nav-bg-2.png) repeat-x;
	height: 47px;
}
.menu-resourcessubmenu-container {
	background: #bfdae8 url(/wp-content/themes/boilerplate/assets/images/carousel-controls-selected-bg.png) repeat-x;
	height: 44px;
}

#menu-topnav, #menu-resourcessubmenu,
#footer #menu-footmenu {
	width: 941px;
	margin: 0 auto;
}

#menu-topnav .menu-item, #menu-resourcessubmenu .menu-item,
#footer .menu-item {
	float: left;
}

#menu-topnav .menu-item a,
#footer .menu-item a {
	color: #bfdae8;
	font-family: FuturaStd, "FunctionPro", Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 16px;
	text-decoration: none;
	padding:14px 60px 14px 0;
	display: block;
}

.home #menu-topnav .menu-item a {
	padding:14px 87px 14px 0;
}

#menu-resourcessubmenu .menu-item a {
	color: #154776;
	font-family: FuturaStd, "FunctionPro", Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 16px;
	text-decoration: none;
	padding: 14px 95px 14px 0;
	display: block;
}

#footer .menu-item a {
	padding-right: 42px;
}

#menu-topnav .menu-item:last-child a, #menu-resourcessubmenu .menu-item:last-child a,
#footer .menu-item:last-child a{
	padding-right: 0;
}

#menu-topnav .menu-item a:hover,
#menu-topnav .current-menu-item a,
#menu-topnav .current-page-ancestor a,
#menu-resourcessubmenu .menu-item a:hover,
#menu-resourcessubmenu .current-menu-item a,
#menu-footmenu .menu-item a:hover,
#menu-footmenu .current-menu-item a,
#menu-footmenu .current-page-ancestor a {
	color: #fff;
}

.homepage .article-container {
	display: none;
}

.homepage-banner {
	background: url(/wp-content/themes/boilerplate/assets/images/homepage-banner-bg.jpg) repeat-x center top;
	overflow: hidden;
}

.homepage-carousel-container {
	width: 944px;
	height: 434px;
	margin: 0 auto;
	position: relative;
}

#homepage-carousel,
.homepage-carousel {
	background: url(/wp-content/themes/boilerplate/assets/images/homepage-carousel-bg-2.jpg) no-repeat center top;
	width: 944px;
	height: 384px;
	margin: 0 auto;
	padding: 25px 318px;
	position: absolute;
	left: -318px;
}

#homepage-carousel {
}

.carousel {
	width: 941px;
	height: 292px;
	margin: 0 0 22px;
	position: relative;
}

.carousel li {
	width: 616px;
	height: 292px;
	position: absolute;
}

.homepage-carousel {
	display: none;
}

.carousel-title {
	font-family: FuturaStd, FunctionPro;
	font-size: 56px;
	font-weight:lighter;
	text-transform: uppercase;
	margin: 0 0 5px;
}

.carousel-image {
	margin: 0 24px 21px 0;
	float: left;
}

.carousel-copy {
	font-size: 12px;
	line-height: 1.5;
	width: 241px;
	float: left;
}

.more-link,
.sidebar-story a {
	color: #154776;
	font-weight: bold;
	font-size: 14px;
	text-decoration: none;
	margin: 5px 0 0;
	float: right;
}

.more-link:hover {
	text-decoration: underline;
}

.supporters-rotator a {
	width: 195px;
	height: 70px;
	padding: 22px 26px;
}

.carousel .more-link {
	margin-left: 15px;
}

.controls {
}

.controls ul {
	background: url(/wp-content/themes/boilerplate/assets/images/carousel-controls-bg.png) repeat-x;
}

.controls li {
	padding: 10px 8px;
	float: left;
}

.controls li.selected {
	background: url(/wp-content/themes/boilerplate/assets/images/carousel-controls-selected-bg.png) repeat-x;
}

.controls li a {
	font-size: 14px;
	text-decoration: none;
}

.controls li img {
	float: left;
}

.controls li span {
	width: 75px;
	font-family: FuturaStd, FunctionPro;
	font-weight: bold;
	text-transform: uppercase;
	margin: auto 12px;
	display: table-cell;
	vertical-align: middle;
}

.homepage-sidebar {
	background: url(/wp-content/themes/boilerplate/assets/images/homepage-sidebar-bg.jpg) repeat-x;
	width: 289px;
	height: 360px;
	padding: 50px 20px 24px;
	position: absolute;
	top: 0;
	right: 291px;
}

.sidebar-story {
	margin: 0 0 35px;
}

.sidebar-title {
	font-family: FuturaStd, FunctionPro;
	font-size: 20px;
	text-transform: uppercase;
	margin: 7px 0 20px;
}

.sidebar-copy,
.sidebar-story p {
	font-size: 12px;
	line-height: 1.5;
}

.supporters-rotator {
	width: 247px;
	height: 114px;
	margin: 0 auto;
}
article,
article.type-page {
	width: 941px;
	margin: 0 auto;
	padding: 25px 0 0;
}

.page-template-feature-page-php article {
	float: none;
}

.page-template-feature-page-php .headerImage {
	display: none;
}

.entry-title {
	width: 615px;
	font-family: FuturaStd, FunctionPro;
	font-size: 32px;
	text-transform: uppercase;
	line-height: 1;
	margin: 0 0 26px;
}

.entry-content h3 {
	width: 615px;
	font-family: FuturaStd, FunctionPro;
	font-size: 32px;
	text-transform: uppercase;
	margin: 0 0 26px;
}

.entry-content {
}

.entry-content p, .entry-content li {
	width: 615px;
	font-size: 15px;
	line-height: 130%;
	margin: 0 35px 21px 0;
	float: left;
}

.entry-content table {
	width: 615px;
	float: left;
}

.entry-content table p {
	width: 200px;
}

.entry-content table a {
	color: #154776;
	font-weight: bold;
	text-decoration: none;
}

.generic-container {
	background: #fbf9f4 url(/wp-content/themes/boilerplate/assets/images/content-bg.jpg) repeat-x center bottom;
	line-height: 18px;
	width: 100%;
	padding: 0 0 120px;
}

.content-inner {
	width: 941px;
	margin: 0 auto;
	padding: 30px 0;
	position: relative;
}

.feature {
	width: 290px;
	margin: 0 0 0 17px;
	border-right: 1px solid #e6e2cc;
	padding: 0 17px 0 0;
	float: left;
}
.double-wide {
	width:600px;
}
.feature:first-child {
	margin: 0;
}

.feature:last-child {
	border: none;
	padding: 0;
}

.feature h1 {
	color: #154776;
	font-size: 20px;
	font-family: FuturaStd, FunctionPro;
	text-transform: uppercase;
	margin: 0 0 20px;
}

.story-list li {
	margin: 0 0 26px;
}

.story-list li a {
	font-weight: bold;
	font-size: 14px;
	text-decoration: none;
}

.story-list li a:hover {
	text-decoration: underline;
}

.story-list li span,
.story-list li p {
	font-size: 12px;
}

.story-list li img {
	margin: 0 15px 0 0;
	float: left;
}

.story-list li .description,
.story-list li .publication,
.story-list li .pdf_link {
	display: block;
}

.story-list li .pdf_link a {
	color: #154776;
	font-size: 12px;
	display: inline;
}

.all_link {
	font-weight: bold;
	font-size: 14px;
	float: right;
}

.post,
.type-page,
#postlist {
	width: 615px;
	float: left;
}

#sidebar {
	width: 271px;
	font-size: 14px;
	border: 2px solid #d3d1c8;
	float: right;
	position: absolute;
	top: 24px;
	right: 0;
}

#sidebar .sidebar-content {
	width: 241px;
	padding: 15px 15px 30px;
}

#sidebar .sidebar-content h3 {
	background: #eae8de;
	color: #154775;
	height: 22px;
	font-size: 25px;
	font-family: FuturaStd, FunctionPro;
	line-height: 22px;
	text-transform: uppercase;
	text-align: center;
	margin: -15px -15px 13px;
	border-top: 2px solid #d3d1c8;
	border-bottom: 2px solid #d3d1c8;
	padding: 15px 0 10px;
}

#sidebar .sidebar-content:first-child h3 {
	border-top: none;
}

#sidebar .newsletter-banner-container {
	background: none;
	position: static;
}

#sidebar .newsletter-banner {
	width: auto;
}

#sidebar #sidebar_get_involved .newsletter-banner .form-field input[type="text"] {
	overflow: hidden;
	height: auto; 
}

#sidebar .call-to-action {
	display: none;
}

#sidebar .newsletter-signup {
	margin: 0;
	float: none;
}

#sidebar .newsletter-banner-container label {
	margin: 0 0 5px;
	display: block;
}

#sidebar .newsletter-banner .twitter-link {
	background: url(/wp-content/themes/boilerplate/assets/images/icon-twitter-navy.png) no-repeat;
	margin: 10px 0;
	float: none;
	clear:both;
}

#sidebar .sidebar-content li a img {
	float: left;
}

#sidebar .sidebar-content li h3 {
	height: auto;
	font-size: 16px;
	background: none;
	margin: 0;
	padding: 0;
	text-align: left;
	border-bottom: none;
}

#sidebar_contact a {
	font-weight: bold;
	margin: 22px 0 0;
	display: block;
}

#sidebar .sidebar-content .testimonial_desc {
	margin-left: 106px;
}

#sidebar .sidebar-content .testimonial_desc a {
 	color: #154776;
    font-weight: bold;
    text-decoration: none;
    text-transform: none;
}

#sidebar .sidebar-content .testimonial_desc p {
	font-size: 12px;
}

.banner-and-footer {
	position: relative;
}

.newsletter-banner-container {
	background: url(/wp-content/themes/boilerplate/assets/images/newsletter-banner-bg.png) repeat-x;
	width: 100%;
	height: 65px;
	position: absolute;
	top: -70px;
}

.newsletter-banner {
	width: 941px;
	margin: 0 auto;
}

.call-to-action {
	background: url(/wp-content/themes/boilerplate/assets/images/double-arrow.png) no-repeat center right;
	color: #154776;
	width: 170px;
	font-size: 36px;
	text-transform: uppercase;
	padding: 18px 0;
	float: left;
}

.newsletter-signup {
	margin: 17px 67px;
	float: left;
}

.newsletter-signup label {
	font-size: 14px;
	margin: 0 20px 0 0;
	padding: 3px 0 0;
}

.form-field input[type="text"], .newsletter-signup #email-input  {
	background: url(/wp-content/themes/boilerplate/assets/images/newsletter-input-bg.jpg) repeat-x top left;
	height: 14px;
	border: 1px solid #b0ccd9;
	-moz-border-radius: 7px;
	border-radius: 7px;
	padding: 6px 16px;
	float:left;
	margin-bottom: 7px;
}

.frm-show-form p.submit input[type="submit"], .newsletter-signup #signup-submit {
	background: url(/wp-content/themes/boilerplate/assets/images/double-arrow-small.png) no-repeat;
	width: 12px;
	height: 23px;
	text-indent: -9999em;
	margin: 0 3px;
	border: none;
}
.frm-show-form p.submit {
	position: relative;
	top: 27px;
	left: -22px;
}
div.frm-field {
	float:left;
}
.newsletter-banner .facebook-link {
	background: url(/wp-content/themes/boilerplate/assets/images/icon-facebook.png) no-repeat;
	width: 97px;
	height: 16px;
	text-indent: -9999em;
	margin: 20px 12px 20px 0;
	display: none;
	float: left;
}

.newsletter-banner .twitter-link {
	background: url(/wp-content/themes/boilerplate/assets/images/icon-twitter.png) no-repeat;
	width: 75px;
	height: 15px;
	text-indent: -9999em;
	margin:30px 0 21px 80px;
	display: block;
	float: left;
}

#footer {
	background: url(/wp-content/themes/boilerplate/assets/images/footer-bg.jpg) repeat-x;
	height: 224px;
	padding: 30px 0 0;
}

#footer #colophon {
	text-align: center;
	clear: both;
	margin: 130px 0 0;
}


/* page-specific declarations */
/* Legislation */
#responsible,
#irresponsible {
	/*width: 280px;
	float: left;*/
	width: 615px;
	float: none;
	margin: 0 35px 0 0;
	border: none;
}

#irresponsible {
	margin: 0;
}


/* News Articles */
#news-articles li {
	padding-left: 30px;
}

#news-articles .news {
	background: url(/wp-content/themes/boilerplate/assets/images/news-icon-article.png) no-repeat;
}

#news-articles .press-release {
	background: url(/wp-content/themes/boilerplate/assets/images/news-icon-press-release.png) no-repeat;
}


/* Contact */
.page-template-contact-page-php .copy {
	width: 290px;
	float: left;
}

.page-template-contact-page-php .copy p,
#frm_form_2_container p {
	width: auto;
	font-size: 14px;
}

.page-template-contact-page-php .copy h4 {
	font-size: 18px;
	text-transform: uppercase;
}

.page-template-contact-page-php #contact-form, #contact-form-holder {
	width: 290px;
	float: right;
	overflow: hidden;
}

#contact-form-holder .form-field {
	clear: both;
}

#frm_form_2_container label,
#frm_form_2_container input {
	display: block;
}

#frm_form_2_container label {
	font-weight: bold;
	margin: 0 0 5px;
}

#frm_form_2_container input[type="text"], #frm_form_2_container textarea {
	background: #cce0ef;
	width: 272px;
	height: 14px;
	font-size: 13px;
	margin: 0 0 22px;
	border: 1px solid #cce0ef;
	padding: 8px;
}

#frm_form_2_container input[type="text"]:focus {
	border: 1px solid #154776;
}

 #frm_form_2_container textarea {
	height: 188px;
}

#frm_form_2_container p {
	margin: 18px 0;
}



/**						**/
/* additional layout */
.clearfix {
	display: inline-block;
}

.clearfix:after {
	content: "";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}


/* overruling declarations */

.page-template-feature-page-php #feature_categories div {
	width: 30%;
	float:left;
}

.entry-content p.has_ul
{
	width:941px;
}
.entry-content ul {
	list-style: disc;
	clear:both;
	margin-left: 15px;
}
.entry-content ul ul {
	list-style: circle;
	margin-left:2em;
}

img.headerImage {
	margin-top: -6px;
	margin-bottom: 24px;
}
.copyright {
	color: #efeae0;
	font-weight: bold;
	font-size:13px;
}
#homepage-carousel .controls ul a {
	display:none;
}
#homepage-carousel .controls ul li a {
	width: 180px;
	height: 60px;
	padding: 0 10px 0 0;
	display: table;
}
.listpage_descriptor {
	display:none;
}
.page-template-list-page-php .listpage_descriptor {
	text-transform: uppercase;
	font-weight:bold;
	display:inline;
}
.page-template-feature-page-php .article-container
{
	background: transparent url(/wp-content/themes/boilerplate/assets/images/landingPageHeaderBg.jpg) repeat-x;
	height: 312px;
}
.page-template-feature-page-php .entry-content
{
	/* width: 900px;*/
	margin: -24px 0 0 353px;
	float: none;
}
#feature_navigation
{
	float:left;
	margin-top:0;
}
.page-template-feature-page-php .entry-content ul
{
	list-style:none;
}
.page-template-feature-page-php img.wp-post-image
{
	float:left;
	margin-top: 5px;
}
#menu-features li
{
	height:60px;
	width:300px;
}
#menu-features li a
{
	display:block;
	padding: 0 0 17px 12px;
}
#menu-features li a img {
	margin: 0 12px -17px -12px;
}
#menu-features li.current {
	display: none;
}
.menu-item-home.current-menu-item {
	display:none;
}
/* additional layout */
.submit, .clearfix {
	display: inline-block;
}

.submit:after, .clearfix:after {
	content: "";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
label.frm_pos_top {
	display:none;
}
#frm_form_fields {
	float:left;
}
footer #frm_form_fields {
	position: relative;
	top: 21px;
	left: 18px;
}
footer .frm-show-form p.submit {
	position: relative;
	top: 27px;
	left: 36px;
	float:left;
}
footer .pre-submit {
	float: left;
	position: relative;
	top: 29px;
	left: 30px;
}