/*
Theme Name: Randy for Congress 2013
Theme URI: /
Description: Custom theme for Randy for Congress
Author: RedRight Strategies
Author URI: http://www.redrightstrategies.com/
Version: 1.0
*/

@import url('/_ext/fonts.googleapis.com/css__qc653f99232.css');
@import url('/wp-content/themes/randyforcongress2013/bootstrap/css/bootstrap.css'); 
@import url('/wp-content/themes/randyforcongress2013/bootstrap/css/bootstrap-responsive.css'); 

/* STRUCTURE */

html, body {
	height: 100%;
}

body {
	font-family: 'Source Sans Pro', Arial, sans-serif;
}

h1, h2, h3 {
	color: #162237;
	font-family: Oswald, Arial, serif;
	font-weight: 400;
	text-transform: uppercase;
}

@media (min-width: 1200px) {
 	h1 {
 		font-size: 36px;
 		line-height: 40px;
 	}
 	h2 {
 		font-size: 28px;
 		line-height: 31px;
 	}
 	h3 {
 		font-size: 22px;
 		line-height: 24px;
 	}
}

@media (min-width: 980px) and (max-width: 1199px) {
 	h1 {
 		font-size: 30px;
 		line-height: 33px;
 	}
 	h2 {
 		font-size: 22px;
 		line-height: 24px;
 	}
 	h3 {
 		font-size: 18px;
 		line-height: 20px;
 	}
}

@media (min-width: 768px) and (max-width: 979px) {
 	h1 {
 		font-size: 24px;
 		line-height: 26px;
 	}
 	h2 {
 		font-size: 18px;
 		line-height: 20px;
 	}
 	h3 {
 		font-size: 14px;
 		line-height: 16px;
 	}
}

@media (max-width: 767px) {
 	h1 {
 		font-size: 24px;
 		line-height: 26px;
 	}
 	h2 {
 		font-size: 18px;
 		line-height: 20px;
 	}
 	h3 {
 		font-size: 14px;
 		line-height: 16px;
 	}
}

a, a:hover, a:focus {
	color: #223351;
}

a:focus {
	text-decoration: none;
}

input[type=text], textarea, select {
	font-family: 'Source Sans Pro', Arial, sans-serif;
}

input[type=submit] {
	border: 0px none;
	border-radius: 3px;
	padding: 4px 12px 4px 12px;
	background: #223351;
	color: rgb(182, 198, 218);
	font-family: Oswald, Arial, serif;
	font-size: 20px;
	text-transform: uppercase;
}

input[type=submit]:hover {
	color: rgb(255, 255, 255);
}

@media (max-width: 767px) {
	#header, #main, #footer {
		margin-left: -20px;
		margin-right: -20px;
		padding-left: 20px;
		padding-right: 20px;
	}
}

#header {
	border-top: 10px solid #a82b1c;
	border-bottom: 10px solid #a82b1c;
	padding-bottom: 10px;
	background: url('/wp-content/themes/randyforcongress2013/images/back-header.jpg') no-repeat center top;
	-webkit-background-size: cover;
	-moz-backround-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

#header #menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#header #menu ul li {
	display: inline-block;
	margin: 0;
	padding: 0;
}

#header #menu ul li a {
	display: block;
	color: rgb(182, 198, 218);
	letter-spacing: 1px;
	text-transform: uppercase;
}

#header #menu ul li a:hover {
	color: rgb(255, 255, 255);
	text-decoration: none;
}

#header #menu ul li#contribute a {
	border-radius: 3px;
	background: #a82b1c;
	color: rgb(217, 184, 180);
}

#header #menu ul li#contribute a:hover {
	color: rgb(255, 255, 255);
}

@media (min-width: 1200px) {
	#header #menu ul {
		padding-top: 60px;
	}
	#header #menu ul li a {
		padding: 0 15px 0 15px;
		font-size: 15px;
		line-height: 40px;
	}
}

@media (min-width: 980px) and (max-width: 1199px) {
	#header #menu ul {
		padding-top: 65px;
	}
	#header #menu ul li a {
		padding: 0 10px 0 10px;
		font-size: 13px;
		line-height: 30px;
	}
}

@media (min-width: 768px) and (max-width: 979px) {
	#header #menu ul {
		padding-top: 50px;
	}
	#header #menu ul li a {
		padding: 0 5px 0 5px;
		font-size: 11px;
		line-height: 20px;
	}
}

@media (max-width: 767px) {
	#header #logo {
		text-align: center;
	}
	#header #menu {
		padding-top: 10px;
	}
}

#header #menu form {
	margin: 0;
}

#header #slider {
	margin-top: 10px;
	margin-bottom: 10px;
	padding-left: 20px;
	padding-right: 20px;
}

#main {
	padding-bottom: 20px;
	background: url('/wp-content/themes/randyforcongress2013/images/back-main.jpg');
}

#main #content {
	padding-top: 20px;
}

#main #sidebar {
	border: 1px solid #cacaca;;
	padding: 20px;
	background: #eeeeee;
	text-align: center;
}

#main #sidebar img {
	margin-top: 10px;
}

#footer {
	border-top: 10px solid #a82b1c;
	padding-top: 20px;
	padding-bottom: 20px;
	background: url('/wp-content/themes/randyforcongress2013/images/back-footer.jpg');
	text-align: center;
}

#footer #menu {
	padding-bottom: 10px;
}

#footer #menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#footer #menu ul li {
	display: inline-block;
	margin: 0;
	padding: 0;
}

#footer #menu ul li a {
	display: block;
	padding: 0 10px 0 10px;
	color: rgb(182, 198, 218);
	font-size: 12px;
	line-height: 24px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

#footer #menu ul li a:hover {
	color: rgb(255, 255, 255);
	text-decoration: none;
}

#footer #legal {
	display: inline-block;
	border: 1px solid #b6c6da;
	padding: 4px 12px 4px 12px;
	color: #b6c6da;
	font-size: 12px;
	line-height: 16px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* VIDEO */

div.video {
	position: relative;
	padding-top: 0px;
	padding-bottom: 67.5%;
	height: 0;
	overflow: hidden;
}

div.video.widescreen {
	padding-bottom: 57.25%;
}

div.video.vimeo {
	padding-top: 0;
}

div.video iframe,
div.video object,
div.video embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

@media only screen and (max-device-width: 800px), only screen and (device-width: 1024px) and (device-height: 600px), only screen and (width: 1280px) and (orientation: landscape), only screen and (device-width: 800px), only screen and (max-width: 767px) {
	div.video { padding-top: 0; }
}

/* FORMS */

.container .gform_wrapper .top_label .gfield_label {
	font-weight: normal;
}

.container .gform_wrapper ul li.gfield {
	margin-bottom: 8px;
}

.container .gform_wrapper .gfield_required {
	color: #a82b1c;
}

.container .gform_wrapper.gf_browser_gecko select {
	padding: 3px;
}

.container .gform_wrapper ul.gfield_radio li input[type="radio"]:checked + label, .container .gform_wrapper ul.gfield_checkbox li input[type="checkbox"]:checked + label {
	font-weight: normal;
}

.container .gform_wrapper div.validation_error {
	color: #a82b1c;
}

.container .gform_wrapper li.gfield.gfield_error, .container .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
	background-color: transparent;
	border-top: 0px none;
	border-bottom: 0px none;
}

.container .gform_wrapper .gfield_error .gfield_label {
	color: #a82b1c;
}

.container .gform_wrapper li.gfield_error ul.gfield_radio {
	color: #a82b1c;
}

.container .gform_wrapper li.gfield_error div.ginput_complex.ginput_container label {
	color: #a82b1c;
}

.container .gform_wrapper li.gfield.gfield_error.gfield_contains_required {
	padding-left: 0px !important;
}

.container .gform_wrapper li.gfield.gfield_error, .container .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
	padding: 0px !important;
}

.container .gform_wrapper li.gfield.gfield_error.gfield_contains_required {
	margin-bottom: 0px !important;
}

.container .gform_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label, .container .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container {
	margin-top: 0px;
}

.container .gform_wrapper li.gfield_error input[type="text"], .container .gform_wrapper li.gfield_error input[type="url"], .container .gform_wrapper li.gfield_error input[type="email"], .container .gform_wrapper li.gfield_error input[type="tel"], .container .gform_wrapper li.gfield_error input[type="number"], .container .gform_wrapper li.gfield_error input[type="password"], .container .gform_wrapper li.gfield_error textarea {
	border: 1px solid rgb(204, 204, 204);
}

.container .gform_wrapper .ginput_container + .gfield_description.validation_message {
	margin-top: 0px;
}

.container .gform_wrapper .top_label .gfield_description.validation_message, .container .gform_wrapper .gfield_description.validation_message {
	
}

.container .gform_wrapper .validation_message {
	color: #a82b1c;
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 9px;
	font-weight: normal;
	text-transform: uppercase;
}

.container .gform_wrapper .top_label li.gfield.gfield_error.gf_right_half {
	margin-right: 0;
}

.container .gform_wrapper .top_label li.gfield.gfield_error.gf_left_half, .container .gform_wrapper .top_label li.gfield.gfield_error.gf_right_half {
	width: 49%;
}

.container .gform_wrapper .top_label li.gfield.gfield_error.gf_right_third {
	margin-right: 0;
}

.container .gform_wrapper .top_label li.gfield.gfield_error.gf_left_third, .container .gform_wrapper .top_label li.gfield.gfield_error.gf_middle_third, .container .gform_wrapper .top_label li.gfield.gfield_error.gf_right_third {
	width: 32%;
}

.container .gform_wrapper .description, .container .gform_wrapper .gfield_description, .container .gform_wrapper .gsection_description {
	padding: 0 !important;
}

.container .gform_wrapper .top_label .gfield_description.validation_message, .container .gform_wrapper .gfield_description.validation_message {
	padding: 0 0 10px 0 !important;
}

.container .gform_wrapper .gform_footer {
	padding: 0 !important;
}

/* WORDPRESS */

.post { padding: 0 0 20px 0; }
.date { position: relative; top: -8px; color: #999; }
.entry { line-height: 150%; }
.alignleft { float: left; }
.alignright { float: right; }
img.alignleft { margin: 10px 20px 10px 0; }
img.alignright { margin: 10px 0 10px 20px; }
img.aligncenter { display: block; margin: 0px auto; }
.clear { clear: both; }