/*
Company:	
File:		main.css - This contains all the main styles for the website.
Docs:		File is based on html5boilerplate and YUI3 Fonts CSS.
			Learn more:
			http://html5boilerplate.com/docs/css/
			http://yuilibrary.com/yui/docs/cssfonts/

All the styles are separated into the following groups:
HTML, Body - for the html and body tags
Layout - styles that define the layout of the site
Common Text Styles - Styles for text
Default Headings - headings like h1, h2, etc
Default Lists - unordered and ordered lists
Nav - navigation bar
Forms - html forms
Default Links - links
Media Queries - media queries
Non-Semantic Helper Classes - helper styles
Print Styles - default print styles
*/

/* @group HTML, Body */
html {
	background-color: #c90202;
}
body {
	background-color: #c90202;
}

img {
	max-width: 100%;
	height: auto;
}
/* @end */

/* @group Layout */
/* Head */

/* Head Bar */
div#hd {
	
}

div#hd-inner {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	width: 100%;	
}

.top-border {
	border-top: 7px solid #c90202;
}

.bottom-border {
	border-bottom: 7px solid #c90202;
}

div.hd-bar {
	background: #012a6b url(../images/bg-mobile-hd.jpg) bottom left repeat-x;
	background-size: 19px 71px;
	position: relative;
}

/* Mobile Menu Icon */
span.mobile-menu-icon {
	cursor: pointer;
	display: block;
	width: 33.5px;
	height: 23px;
	background: url(../images/bg-mobile-menu.png) top left no-repeat;
	background-size: 33.5px 23px;
	position: absolute;
	bottom: 10px;
	right: 3px;
}

/* Logo */
div.logo {
	text-align: center;
}

/* Body */
div#bd {
	background-color: #FFF;
}

/* Simple Latest News */
div.simple-latest-news {
	padding: 12px 5%;
}

div.simple-latest-news h2 {
	color: #1e73b5;
	font-size: 20px;
}

div.simple-latest-news h2 a:link,
div.simple-latest-news h2 a:visited {
	color: #1e73b5;
}

div.simple-latest-news ul li a:link,
div.simple-latest-news ul li a:visited {
	color: #434343;
}

div.simple-latest-news ul {
	margin: 0;
	padding: 0;
}

div.simple-latest-news ul li {
	list-style: none;
	background: url(../images/blue-bullet.gif) 0 4px no-repeat;
	background-size: 9px 9px;
	padding: 0 0 14px 16px;
	font-size: 93%;
}

div.simple-latest-news p.more-news {
	text-align: right;
	font-size: 12px;
	margin: 0;
	font-weight: bold;
}

div.simple-latest-news p.more-news a:link,
div.simple-latest-news p.more-news a:visited {
	color: #010101;
}

/* Home Banner */
div.home-banner {
	background: url(../images/john-bolton-mobile.jpg) center center no-repeat;
	background-size: cover;
	padding: 15px 0 12px 0;
}

div.home-banner h3 {
	background-color: #1a71b8;
	color: #FFF;
	display: inline-block;
	margin: 0 0 12px 0;
	padding: 7px 10px;
}

/* Email Form */
div.home-banner div.email-form {
	padding: 0 0 0 14px;
}

div.email-form input[type="email"],
div.email-form input[type="text"] {
	border: none;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	color: #150f68;
	padding: 0 0 0 13px;
	height: 32px;
	margin: 0 2px 0 0;
	font-size: 108%;
	display: block;
	margin: 0 0 7px 0;
}

.email-field {
	width: 156px;
}

.zip-field {
	width: 75px;
}

div.email-form input[type="submit"] {
	float: left;
	font-weight: normal;
	text-shadow: none;
	border: none;
	background-image: none;
	background-color: #c90202;
	color: #FFF;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
	font-size: 18px;
	height: auto;
	padding: 3px 20px;
}

/* Page Banner */
div.page-banner {
	background: #3681c8 url(../images/bg-interior-banner.jpg) top center no-repeat;
	background-size: cover;
}

div.page-banner img {
	position: relative;
	left: -14px;
}

/* Page Container Standard Template */
div.page-container-standard-template {
	color: #01327f;
}

div.page-container-standard-template div.inner {
	background: url(../images/bg-gradient.jpg) top left repeat-x;
	padding: 12px 5% 24px 5%;
}

/* Footer */
div#ft {
	background-color: #c90202;
	color: #FFF;
	padding: 10px 0 6px 0;
}

/* Footer Nav */
div.ft-nav ul {
	margin: 0 0 7px 0;
	padding: 0;
	text-align: center;
}

div.ft-nav ul li {
	list-style: none;
	display: inline;
	font-size: 9px;
	text-transform: uppercase;
	padding: 0 4px;
}

div.ft-nav a:link,
div.ft-nav a:visited {
	color: #FFF;
}

/* Paid For By */
div.paid-for-by-container {
	text-align: center;
}

p.paid-for-by {
	padding: 6px 8px;
	border: 1px solid #FFFFFF;
	margin: 0;
	font-size: 8px;
	display: inline-block;
}

/* @end */

/* @group Common Text Styles */
.hide-desktop {
	display: block;
}
.hide-mobile {
	display: none;
}

div.page-container-standard-template p {
	font-size: 100%;
	line-height: 1.7em;
	margin: 0 0 1.7em 0;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 5%;
	max-width: 45%!important;
	height: auto;
	margin-bottom: 1em;
}
	
/* @end */

/* @group Default Headings */
div.page-container-standard-template h1,
div.page-container-standard-template h2,
div.page-container-standard-template h3,
div.page-container-standard-template h4,
div.page-container-standard-template h5,
div.page-container-standard-template h6 {
	font-weight: normal;
}

div.page-container-standard-template h1 {font-size: 200%; text-transform: uppercase;}
div.page-container-standard-template h2,
body.blog div.page-container-standard-template h1.entry-title,
body.search div.page-container-standard-template h1.entry-title,
body.archive div.page-container-standard-template h1.entry-title {font-size: 160%; text-transform: uppercase}
div.page-container-standard-template h3 {font-size: 150%;}
div.page-container-standard-template h4 {font-size: 130%;}
div.page-container-standard-template h5 {font-size: 120%;}
div.page-container-standard-template h6 {font-size: 100%;}

/* @end */

/* @group WordPress Styles */
body.archive .hentry,
body.search .hentry,
body.blog .hentry {
	padding-bottom: 24px;
	border-bottom: 1px solid #e6e6e6;
}

/* @end */

/* @group Default Lists */
/* Make default ul and ol styles to match p styles */
div.page-container-standard-template ul,
div.page-container-standard-template ol {
	margin-bottom: 1.7em;
}

div.page-container-standard-template ul li,
div.page-container-standard-template ol li {
	font-size: 100%;
	line-height: 1.7em;
}

/* @end */

/* @group Nav */
/* Nav Overlay */
div.mobile-overlay {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, .24);
}

.mobile-triangle {
	width: 24px;
	height: 12px;
	background: url(../images/bg-mobile-triangle.png) top left no-repeat;
	background-size: 24px 12px;
	position: absolute;
	top: 7px;
	right: 0;
}

div.mobile-nav-container {
	position: relative;
}

div.mobile-nav-container div#nav {
	display: none;
}

div#nav {
	background-color: #3d7bba;
}

div#nav ul {
	margin: 0;
	padding: 15px 13px;
}

div#nav ul li {
	list-style: none;
	font-weight: bold;
	font-size: 18px;
	border-bottom: 1px solid #7da6d1;
	text-transform: uppercase;
}

div#nav ul li a:link,
div#nav ul li a:visited {
	color: #FFF;
	display: block;
	text-align: center;
	padding: 15px 0;
}

div#nav ul li a:hover {
	background-color: rgba(0, 0, 0, .1);
}
	
/* @end */

/* @group Forms */
	
/* @end */

/* @group Default Links - link visited hover active */
a:link, a:visited {
	color: #01327F;
	text-decoration: none;
}
a:hover, a:active {
	
}
/* @end */

/* @group Media Queries */
@media only screen and (min-width: 35em) {
	/* Style adjustments for viewports that meet the condition */
}
/* @end */

/* @group Non-Semantic Helper Classes */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }
.clear { clear: both; }
/* @end */

/* @group Print Styles */
@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a: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; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
/* @end */

/* Candidates */
div.candidates {
    color: #373737;
}
div.candidates h1,
div.candidates h2,
div.candidates h3,
div.candidates h4,
div.candidates h4 {
    margin: 1px 0 1px 0;
    padding: 0;
}

div.candidates h2 {
    font-weight: bold;
}

div.featuredCandidate {

    width: 100%;
    border: 1px solid lightgray;
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-shadow: inset 0px 0px 7px lightgray;
    -moz-box-shadow: inset 0px 0px 7px lightgray;
    box-shadow: inset 0px 0px 7px lightgray;
}

div.featuredCandidate div.thumbnail {
    float: left;
    width: 235px;
    vertical-align: top;
}

div.featuredCandidate div.thumbnail img {
    width: 215px;
    height: 240px;
}

div.featuredCandidate div.body {
    vertical-align: top;
}

div.featuredCandidate div.body p {
    line-height: 1.4em;
    margin-bottom: 10px;
}

div.featuredCandidate div.body h3 {
    font-size: 150%;
    margin-bottom: 12px;
}

a.candidate-learn-more-link:link,
a.candidate-learn-more-link:visited,
a.candidate-learn-more-link:hover,
a.candidate-learn-more-link:focus,
a.candidate-learn-more-link:active {
    width: auto !important;
    padding: 0px !important;
    font-size: 100% !important;
    line-height: 1em !important;
    margin: 0px !important;
}

ul.candidate-list {
    color: #373737;
    margin:0px;
    padding: 0px;
    width: 100%;
}

ul.candidate-list p {
    line-height: 1.3em !important;
    margin-bottom: 8px;
}

ul.candidate-list h4 {
    margin-bottom: 2px;
}

ul.candidate-list h4 {
    margin-bottom: 2px;
}

ul.candidate-list p {
    line-height: 1.3em !important;
    margin-bottom: 8px;
}

ul.candidate-list li {
    list-style-type: none;
    list-style-position: inside;
    list-style-image: none;
    width: 100%;
    font-size: 0.9em !important;
    margin-top: 50px;

    overflow: hidden;
    height: 260px;


    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    border: 1px solid lightgray;
    padding: 10px;
    -webkit-box-shadow: inset 0px 0px 7px lightgray;
    -moz-box-shadow: inset 0px 0px 7px lightgray;
    box-shadow: inset 0px 0px 7px lightgray;
}

ul.candidate-list li:first-child {
    margin-top: 0px;
}

ul.candidate-list li div.thumbnail {
    margin-right: 5px;
    float: left;
    width: 145px;
    vertical-align: top;
}

ul.candidate-list li div.thumbnail img {
    width: 140px;
    height: 156px;
    float: left;
}

ul.candidate-list li div.body {
    vertical-align: top;

    margin-left: 5px;
}

/* Register to Vote */

/* Mini Form */
#certify_error_message {
    color: Red;
}

/* Full Form */
div.register-to-vote-mail div.row div.col-1 span.label,
div.register-to-vote-mail div.row div.col-2 span.label {
    display: block;
    margin-bottom: 5px;
}

div.register-to-vote div.row {
    margin-bottom: 5px;
}
div.register-to-vote-mail div.row {
    margin-bottom: 0px;
}

div.register-to-vote-mail div.row div.col-1 {
    margin-bottom: 5px;
}

div.register-to-vote-mail div.row div.col-2 {
    margin-bottom: 5px;
}

div.register-to-vote div.row input[type="text"],
div.register-to-vote div.row input[type="email"],
div.register-to-vote-mail div.row input[type="text"],
div.register-to-vote-mail div.row input[type="email"],
div.register-to-vote-mail div.row input[type="date"],
div.register-to-vote-mail div.row select {
    border: thin solid #999;
    color: #778084;
    display: block;
    height: 30px;
    padding: 5px;
    width: 100%;
}



/* Home Page Banner */
.home-page-banner-container {
	width: 100%;
	margin-bottom: 10px;
	padding: 20px;
	box-sizing: border-box;
}

.home-page-banner-container .col-1 {
	width: 100%;
	float: none;
	margin-bottom: 20px;
}

.home-page-banner-container .col-2 {
	width: 100%;
	float: none;
}

.home-page-banner-container img {
	width: 100%;
}
/* END - Home Page Banner */

/*Signup Page Styles */

#signup_form input,
#signup_form select  {
	margin-bottom: 10px;
}

#signuppage-email {
    background-color: #CDCDCD;
	position: relative;
	margin-bottom: 10px;
	padding: 10px 10px 10px 70px;
}

#signuppage-emailleft {
    background-image: url("/wp-content/themes/bolton/images/signuppage-emailicon.gif");
    background-position: center top;
    background-repeat: no-repeat;
    height: 24px;
    margin-top: 4px;
	width: 44px;
	position: absolute;
	left: 15px;
}

#signuppage-emailcenter {
    width: 100%;
}

input.signup-email {
    border: medium none;
    color: #778084;
    display: block;
    height: 30px;
    padding: 5px;
	width: 100%;
	margin-bottom: 0 !important;
}


#signuppage-formrow {
    
    width: 100%;
}

#signupform-left {
    float: none;
    width: 100%;
}

input.signup-vol1 {
    border: thin solid #999999;
    color: #778084;
    display: block;
    height: 30px;
    padding: 5px;
    width: 100%;
}

#signupform-right {
    float: none;
    width: 100%;
}

input.signup-vol1short {
    border: thin solid #999999;
    color: #778084;
    display: block;
    height: 30px;
    padding: 5px;
    width: 100%;
}

select.signup-vol1 {
    border: thin solid #999999;
    color: #778084;
    display: block;
    height: 30px;
    padding: 5px;
    width: 100%;
}

select.signup-vol1short {
    border: thin solid #999999;
    color: #778084;
    display: block;
    height: 30px;
    padding: 5px;
    width: 100%;
}

#signupform-rightshort-left {
    float: left;
    margin-right: 10px;
    width: 65%;
}

#signupform-rightshort-right {
    float: right;
    width: 30%;
}

ul.signup_options {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
    list-style-position: inside;
}

ul.signup_options > li {
    margin: 0px 0px 5px 0px;
    padding: 0px;
    list-style-type: none;
    font-size: 14px;
}

ul.signup_options > li > label {
    margin-left: 5px;
}
/* */