/*
Theme Name: Politics PA - 2014 Responsive
Author: Drew Parroccini - ParrocciniDesign
Author URI: http://parroccini.com/
Description: An updated theme for Politics PA, mobile friendly and easy on the eyes. 
Version: 1.1

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

#banner-ad {width: 100%; height: auto;}

#banner-ad img {width: 100%; height: auto;}

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 { margin: 0; padding: 0; border: 0; font: inherit; font-size: 100%; vertical-align: baseline; }

html { line-height: 1; }

ol, ul { list-style: none; }

table { border-collapse: collapse; border-spacing: 0; }

caption, th, td { text-align: left; font-weight: normal; vertical-align: middle; }

q, blockquote { quotes: none; }
q:before, q:after, blockquote:before, blockquote:after { content: ""; content: none; }

a img { border: none; }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary { display: block; }

.span1, .span2, .span3, .span4, .span5, .span6, .span7, .span8, .span9, .span10, .span11, .span12 { float: left; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

.col { margin-left: 1.5%; }

.col:first-child { margin-left: 0; }

.span1 { width: 6.95833%; }

.span2 { width: 15.41667%; }

.span3 { width: 23.875%; }

.span4 { width: 32.33333%; }

.span5 { width: 40.79167%; }

.span6 { width: 49.25%; }

.span7 { width: 57.70833%; }

.span8 { width: 66.16667%; }

.span9 { width: 74.625%; }

.span10 { width: 83.08333%; }

.span11 { width: 91.54167%; }

.span12 { width: 100%; margin-left: 0; }

#container { width: 97%; margin-left: 1.5%; margin-right: 1.5%; }

.cf { zoom: 1; }
.cf:before, .cf:after { content: ""; display: table; }
.cf:after { clear: both; }

header { background-image: url(img/header-bg.png); background-repeat: repeat-x; background-position: top; min-height: 150px; }
header .social-stuff { padding-top: 35px; }
@media screen and (max-width: 760px) { header .social-stuff { width: 100%; margin-left: 0; padding: 10px 0; } }
@media screen and (max-width: 620px) { header .social-stuff .signup { width: 100%; }
  header .social-stuff .signup img { margin: 0 auto; display: block; } }
@media screen and (max-width: 620px) { header .social-stuff .share { width: 100%; } }
header .social-stuff .share ul { padding-top: 10px; }
@media screen and (max-width: 760px) { header .social-stuff .share ul { text-align: right; } }
@media screen and (max-width: 620px) { header .social-stuff .share ul { text-align: center; } }
header .social-stuff .share ul li { display: inline-block; padding: 0 5px; }
header .social-stuff .share ul li a { display: block; width: 30px; height: 30px; background-image: url(img/sprites/social.png); background-repeat: no-repeat; }
header .social-stuff .share ul li .fb { background-position: 0px 0px; }
header .social-stuff .share ul li .tw { background-position: -46px 0px; }
header .social-stuff .share ul li .rss { background-position: -100px 0px; }
@media screen and (max-width: 760px) { header .logo { width: 100%; margin-left: 0; } }
header .logo img { padding-left: 30px; padding-bottom: 20px; max-width: 100%; }
@media screen and (max-width: 760px) { header .logo img { margin: 0 auto; display: block; } }
@media screen and (max-width: 620px) { header .logo img { max-width: 78%; padding-bottom: 40px; } }
header nav { background-color: #eac233; *zoom: 1; filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FFEAC233', endColorstr='#FFD8B12F'); background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #eac233), color-stop(50%, #d8b12f), color-stop(51%, #e5be32), color-stop(100%, #d8b12f)); background-image: -webkit-linear-gradient(top, #eac233 0%, #d8b12f 50%, #e5be32 51%, #d8b12f 100%); background-image: -moz-linear-gradient(top, #eac233 0%, #d8b12f 50%, #e5be32 51%, #d8b12f 100%); background-image: -o-linear-gradient(top, #eac233 0%, #d8b12f 50%, #e5be32 51%, #d8b12f 100%); background-image: linear-gradient(top, #eac233 0%, #d8b12f 50%, #e5be32 51%, #d8b12f 100%); }
header nav .show-nav { display: none; }
@media screen and (max-width: 620px) { header nav .show-nav { display: block; } }
@media screen and (max-width: 620px) { header nav .show-nav { display: block; color: white; background-color: #eac233; *zoom: 1; filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FFEAC233', endColorstr='#FFD8B12F'); background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #eac233), color-stop(50%, #d8b12f), color-stop(51%, #e5be32), color-stop(100%, #d8b12f)); background-image: -webkit-linear-gradient(top, #eac233 0%, #d8b12f 50%, #e5be32 51%, #d8b12f 100%); background-image: -moz-linear-gradient(top, #eac233 0%, #d8b12f 50%, #e5be32 51%, #d8b12f 100%); background-image: -o-linear-gradient(top, #eac233 0%, #d8b12f 50%, #e5be32 51%, #d8b12f 100%); background-image: linear-gradient(top, #eac233 0%, #d8b12f 50%, #e5be32 51%, #d8b12f 100%); text-align: center; cursor: pointer; text-decoration: none; font-family: georgia, serif; padding: 10px 0; } }
header nav .show-nav a { color: white; font-size: 0.8em; text-align: center; cursor: pointer; text-decoration: none; font-family: georgia, serif; display: block; height: 18px; background-position: 75%; background-image: url(img/burger.png); background-repeat: no-repeat; }
header nav .show-nav a .nav-text { display: none; }
header nav .show-nav a .nav-text.show { display: inline; }
header nav .show-nav a .nav-text-2 { display: inline; }
@media screen and (max-width: 620px) { header nav .show-nav a .nav-text-2 { display: none; } }
header nav .show-nav a .nav-text-2.show { display: none; }
header nav .navigation.hide { height: 0; visibility: hidden; }
header nav .navigation.display-full { height: auto; visibility: visible; }
@media screen and (max-width: 760px) { header nav .navigation { width: 100%; } }
@media screen and (max-width: 620px) { header nav .navigation { height: 0; visibility: hidden; } }
header nav .navigation li { width: 15.41667%; display: inline-block; text-align: center; font-size: 1.35em; border-right: 3px solid #b88526; }
@media screen and (max-width: 620px) { header nav .navigation li { width: 100%; border-right: none; border-top: 1px solid white; } }
@media screen and (max-width: 760px) { header nav .navigation li:last-of-type { border-right: none; } }
@media screen and (max-width: 800px) { header nav .navigation li { font-size: 1.1em; } }
header nav .navigation li a { color: white; text-decoration: none; font-size: 0.8em; padding: 12px 0px; font-family: georgia, serif; display: block; cursor: pointer; text-shadow: -1px -1px 2px #969696; }
header nav .navigation .current-cat { background: #f7d459; }
@media screen and (max-width: 760px) { header nav .search { width: 100%; padding-bottom: 5px; } }
header nav .search .screen-reader-text { display: none; }
header nav .search form { padding-top: 8px; text-align: right; }
@media screen and (max-width: 760px) { header nav .search form { padding-top: 5px; padding-bottom: 6px; margin: 0 auto; width: 90%; display: block; } }
@media screen and (max-width: 620px) { header nav .search form { height: 32px; display: block; } }
header nav .search form input { float: left; }
header nav .search form input[type=text] { width: 74%; padding: 5px; border-radius: 5px; }
@media screen and (max-width: 760px) { header nav .search form input[type=text] { width: 80%; } }
header nav .search form input[type=submit] { width: 27px; height: 24px; background-image: url(img/header-search.png); color: transparent; padding: 0 0 0 30px; margin-left: 10px; margin-top: 3px; padding-top: 4px; padding-left: 5px; }
@media screen and (max-width: 620px) { header nav .search form input[type=submit] { margin-left: 5px; } }

.main { background-color: white; padding: 10px 1.5%; }
.main .ad { margin: 0 auto; max-width: 100%; display: block; }
@media screen and (max-width: 700px) { .main .content { width: 100%; margin-left: 0; } }
.main .content article { border-top: 1px solid #5d92d6; padding: 15px 0px; }
.main .content article .top-author { font-style: italic; padding-bottom: 10px; }
.main .content article .top-story-author { font-style: italic; padding-bottom: 10px; }
.main .content article .author { padding-top: 10px; }
.main .content article .no-break { clear: both; padding: 10px 0; }
.main .content article .wp-polls { background-color: #f8f8f8; padding: 15px; border: 1px solid #999999; }
@media screen and (max-width: 620px) { .main .content article figure { width: 100%; }
  .main .content article figure img { margin: 0 auto; display: block; padding-bottom: 10px; } }
.main .content article figure img.wp-post-image { width: 96%; height: auto; }
.main .content article figure .thumbnail { max-width: 96%; height: auto; display: block; }
@media screen and (max-width: 620px) { .main .content article .span7 { width: 100%; } }
.main .content .navigation ol { text-align: center; }

@media screen and (max-width: 700px) { .sidebar { width: 100%; margin-left: 0; } }
.sidebar .callout { padding: 0 0 10px 0; }
@media screen and (max-width: 700px) { .sidebar .callout { width: 49.25%; margin-left: 0.5%; } }
@media screen and (max-width: 620px) { .sidebar .callout { width: 100%; margin-left: 0; } }
.sidebar .callout:first-child { margin-left: 0; }
.sidebar .callout h1 { text-align: center; background-color: #1982d1; color: white; padding: 5px 0; margin-bottom: 10px; }
.sidebar .callout h1 p { color: black; }
.sidebar .callout .adspace iframe img { width: 100% !important; height: auto !important; }
.sidebar .callout iframe { width: 100% !important; }
.sidebar .callout iframe #DfaVisibilityIdentifier_3091035277 a img { width: 100% !important; height: auto !important; }
#top-banner iframe {width: 100% !important; }
#top-banner iframe img {width: 100% !important; height: auto; }
.content article .author { font-style: italic; clear: both; display: block; }
.content article .inside-article img { width: 50%; height: auto; float: left; margin: 0 10px 10px 0; }
@media screen and (max-width: 620px) { .content article .inside-article img { width: 98%; margin: 0 auto; padding-bottom: 20px; height: auto; } }

footer { background-color: #d8b12f; padding: 10px 0; font-family: Arial, sans-serif; line-height: 1.4; font-size: 0.8em; }
footer ul li { display: inline-block; color: white; border-right: 2px solid white; padding: 5px; line-height: 0.4em; }
footer ul li:last-of-type { border-right: none; }
footer ul li a { text-decoration: none; color: white; font-size: 1em; line-height: 0.4em; }
footer .span7 { text-align: right; }
@media screen and (max-width: 620px) { footer .span7 { width: 100%; text-align: center; } }
@media screen and (max-width: 620px) { footer .span5 { width: 100%; text-align: center; } }

.pager { border-top: 1px solid #5d92d6; padding: 20px; }
.pager ol { list-style-type: decimal; list-style: none; text-align: center; }
.pager ol li { display: inline-block; width: 10px; height: 10px; padding: 0 3px; margin: 7px; }
.pager ol li .title { display: none; }
.pager ol li a { background: #dddddd; border: 1px solid #cccccc; color: #666666; margin-right: 4px; padding: 3px 6px; text-align: center; text-decoration: none; }

.custom-pagination { clear: both; text-align: center; padding-bottom: 25px; }
.custom-pagination .page-num.page-numbers { display: none; }
.custom-pagination .page-numbers { display: inline-block; background: #dddddd; border: 1px solid #cccccc; color: #666666; margin-right: 4px; padding: 3px 6px; text-align: center; text-decoration: none; line-height: 1; }
.custom-pagination .current { color: white; background: #5f87ae; border: 1px solid #89adcf; margin-right: 4px; padding: 3px 6px; }

.content ul { list-style: disc; margin-left: 20px; padding-top: 10px; }
.content ul li { font-family: Arial, sans-serif; line-height: 1.4; font-size: 0.8em; color: black; line-height: 1.4; padding-bottom: 5px; }
.content .alignleft { float: left; margin: 20px; }
@media screen and (max-width: 620px) { .content .alignleft { float: none; margin: 0 auto; max-width: 97%; display: block; margin-bottom: 10px; height: auto; } }
.content .alignright { float: right; margin: 20px; }
@media screen and (max-width: 620px) { .content .alignright { float: none; margin: 0 auto; max-width: 97%; display: block; height: auto; margin-bottom: 10px; } }
.content blockquote { width: 80%; margin: 0 auto; font-family: georgia, serif; font-size: 15pt; line-height: 1.4; color: #005687; padding-bottom: 20px; }
.content blockquote p { font-family: georgia, serif; font-size: 15pt; line-height: 1.4; color: #005687; }

.ad { padding-bottom: 25px; }
.ad img { width: 100% !important; margin: 0 auto; height: auto; }
.adspace img { width: 100% !important; height: auto; }
.ad iframe img { width: 100% !important; height: auto; }
iframe.ad img { width: 100% !important; height: auto; }
.ad-mid { padding: 20px 0; }
.ad-mid a { display: block; width: 100%; }
.ad-mid a img { max-width: 98% !important; margin: 0 auto; height: auto; }

#comments h2 { font-size: 25px; line-height: 1.2em; color: #2a565f; font-family: georgia, serif; padding: 20px 0; }
#comments .comment-list li { padding: 20px; background: #f6f6f6; border: 1px solid #dddddd; -moz-border-radius: 3px; border-radius: 3px; margin: 0 0 1.625em; }
#comments .comment-list li .comment-body p { padding: 10px 0; }
#comments .comment-list li .comment-body .comment-author { font-family: Arial, sans-serif; line-height: 1.4; font-size: 0.8em; float: left; }
#comments .comment-list li .comment-body .avatar { display: none; }
#comments .comment-list li .comment-body .comment-meta a { margin: 0 10px; font-weight: bold; }
#comments .comment-list li .comment-body .comment-meta .comment-edit-link { float: right !important; }
#comments #respond { background: #dddddd; border: 1px solid lightgrey; -moz-border-radius: 3px; border-radius: 3px; margin: 0 auto 1.625em; padding: 1.625em; clear: both !important; }
#comments #respond textarea { resize: vertical; width: 95%; background: white; border: 4px solid #eeeeee; -moz-border-radius: 5px; border-radius: 5px; -webkit-box-shadow: inset 0 1px 3px rgba(204, 204, 204, 0.95); -moz-box-shadow: inset 0 1px 3px rgba(204, 204, 204, 0.95); box-shadow: inset 0 1px 3px rgba(204, 204, 204, 0.95); position: relative; padding: 10px; text-indent: 80px; }
#comments #respond label { background: #eeeeee; -webkit-box-shadow: 1px 2px 2px rgba(204, 204, 204, 0.8); -moz-box-shadow: 1px 2px 2px rgba(204, 204, 204, 0.8); box-shadow: 1px 2px 2px rgba(204, 204, 204, 0.8); color: #555555; display: inline-block; font-size: 13px; left: 4px; padding: 4px 10px; position: relative; z-index: 1; }
#comments #respond .form-submit { float: right; margin: -10px 14px 6px 6px; }
#comments #respond .form-submit #submit { background: #222222; border: none; -moz-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3); -moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3); box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3); color: #eeeeee; cursor: pointer; font-size: 15px; margin: 20px 0; padding: 5px 42px 5px 22px; position: relative; left: 30px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3); }
#comments #respond #reply-title { color: #373737; font-size: 24px; font-weight: bold; font-family: Arial, sans-serif; line-height: 30px; }
#comments #respond .form-allowed-tags { display: none; }



.wpcf7 input[type=text], .wpcf7 input[type=password], .wpcf7 input[type=email], .wpcf7 textarea { background: #fafafa; -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); border: 1px solid #dddddd; color: #888888; width: 90%; line-height: 2.5; }

.inline-search form .screen-reader-text { display: block; margin-bottom: 10px; font-family: georgia, serif; font-size: 13pt; line-height: 1.4; color: #1982d1; }
.inline-search form input[type=text] { width: 80%; padding: 10px; margin-bottom: 20px; }
.inline-search form #searchsubmit { width: 27px; height: 24px; background-image: url(img/header-search.png); color: transparent; padding: 0 0 0 30px; margin-left: 10px; margin-top: 3px; padding-top: 4px; padding-left: 5px; }

html { background-color: #4268a1; background-image: url(img/site-bg.png); background-repeat: repeat-x; background-position: top; }

body { background-color: transparent; max-width: 55em; margin: 20px auto; width: 97%; }

h1 { font-family: georgia, serif; font-size: 15pt; line-height: 1.4; color: #1982d1; padding-bottom: 10px; }
h1 a { font-family: georgia, serif; font-size: 15pt; line-height: 1.4; color: #1982d1; padding-bottom: 10px; text-decoration: none; }

h2 { font-family: georgia, serif; font-size: 13pt; line-height: 1.4; color: #1982d1; }

p { font-family: Arial, sans-serif; line-height: 1.4; font-size: 0.8em; color: black; line-height: 1.4; padding-bottom: 10px; }

strong { font-weight: bold; }

em {font-style: italic;}

a { font-family: Arial, sans-serif; line-height: 1.4; color: #005687; }

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
    margin-bottom: 16px;
 	max-width: 276px;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
