/*
Theme Name:     Markey for Senate
Theme URI:      http://www.edmarkey.org/
Description:    Custom Theme for The Ed Markey Committee, based on the Well & Lighthouse Theme Framework
Author:         Well & Lighthouse
Author URI:     http://www.wellandlighthouse.com
Template:       wl-framework
Version:        1.1.3
*/

/* Reset */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
body{line-height:1.3}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
nav ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}
input, select, textarea { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.clear { clear: both; }
/* End Reset */

/* Basic Styles */
p { margin:1em 0; }
a { text-decoration: none; color: #dc1928; }
a:hover { text-decoration: underline; }
a img { border:none; }
h2, h3, h4 { font-family: 'Oswald', sans-serif; margin:0; color: #042f57; }
html { font-size: 62.4%; } /* Redefine em to 10px for easy calculations */
body { font-family: Arial, sans-serif; color: #00355e; position: relative; margin: 0; padding: 0; background-color: #013461; background-position: center top; background-repeat: no-repeat; }
body #thorax { font-size: 13px; font-size: 1.3rem; }
body #thorax h2.page-title { color: #0067b4; text-transform: uppercase; font-size: 25pt; line-height: 1em; }
body .container { width: 90%; max-width: 932px; width: 932px; margin: 0 auto; clear: both; }
body #thorax { min-height: 900px; position: relative; }
body #photoinfo { background: rgba(255,255,255,.5); border-radius: 0 0 5px 5px; font-family: Arial,sans-serif; font-size: 10px; font-size: 1rem; font-style: italic; color: #064177; padding: .5em; position: absolute; top: 0; right: 35%; cursor: pointer; }
body .button { cursor: pointer; }
/* End Basic Styles */

/* Header */
header { width: 100%; position: relative; min-height: 115px; }
header #logo { width:47%; max-width: 423px; float: left; margin: 20px 0; }
header #donate_flag { float: right; width: 13.8%; }
header img { width: 100%; }
header nav { width: 80%; clear: left; margin-left: 3%; background: url(images/nav_bg.jpg) center center repeat #063e73; box-shadow: 0 0 5px 1px #006fd6; border-radius: 3px; position: relative; top: 2px; }
header nav ul { list-style-type: none; padding: 0; margin: 0; }
header nav ul li { display: inline-block; text-transform: uppercase; text-align: center; margin:0 1.4%; font-family: 'Oswald', sans-serif; font-size: 17px; font-size: 1.7rem; position: relative; z-index: 150; }
header nav ul li.current-menu-item a, header nav ul li.current-menu-ancestor a { background: url(images/icons/nav_arrow.png) center bottom no-repeat; }
header nav ul li a { color: #fafafa; display: block; width: 100%; height: 100%; padding: .75em .35em; }
header nav ul li:hover a, header nav ul li a:hover { text-decoration: none; color:#042f57; background: #FFF; }
header nav ul li.home a { background: url(images/icons/home.png) center center no-repeat; width: 18px; width: 1.8rem; text-indent: -999999999px; }
header nav ul li.home:hover { background: #FFF; }
header nav ul li.home:hover a { background-image: url(images/icons/home-active.png); }
header nav ul li.donate { display: none; }
header nav ul li ul.sub-menu { display: none; background: #FFF; position: absolute; z-index: 50; padding:.5em; border-bottom: 6px solid #042f57; }
header nav ul li:hover > ul.sub-menu { display: block; }
header nav ul li ul.sub-menu li { display: block; font-size: 16px; font-size: 1.6rem; text-align: left; border-top:2px solid rgba(4,47,87,.29); padding:0 15px 0 40px; -moz-box-sizing:border-box; box-sizing:border-box; }
header nav ul li ul.sub-menu li:first-child { border:none; }
header nav ul li ul.sub-menu li a { color: #004d92; }
header nav ul li ul.sub-menu li:hover a { color: #cc0000; }
header nav ul li ul.sub-menu li.jobs { background: url(images/icons/briefcase.png) left center no-repeat; }
header nav ul li ul.sub-menu li.jobs:hover { background-image: url(images/icons/briefcase-active.png); }
header nav ul li ul.sub-menu li.environment { background: url(images/icons/leaf.png) left center no-repeat; }
header nav ul li ul.sub-menu li.environment:hover { background-image: url(images/icons/leaf-active.png); }
header nav ul li ul.sub-menu li.climate { background: url(images/icons/earth.png) left center no-repeat; }
header nav ul li ul.sub-menu li.climate:hover { background-image: url(images/icons/earth-active.png); }
header nav ul li ul.sub-menu li.netneutrality { background: url(images/icons/router.png) left center no-repeat; }
header nav ul li ul.sub-menu li.netneutrality:hover { background-image: url(images/icons/router-active.png); }
header nav ul li ul.sub-menu li.healthcare { background: url(images/icons/medical.png) left center no-repeat; }
header nav ul li ul.sub-menu li.healthcare:hover { background-image: url(images/icons/medical-active.png); }
header nav ul li ul.sub-menu li.security { background: url(images/icons/security.png) left center no-repeat; }
header nav ul li ul.sub-menu li.security:hover { background-image: url(images/icons/security-active.png); }
header nav ul li ul.sub-menu li.education { background: url(images/icons/education.png) left center no-repeat; }
header nav ul li ul.sub-menu li.education:hover { background-image: url(images/icons/education-active.png); }
header nav ul li ul.sub-menu li.immigration { background: url(images/icons/immigration.png) left center no-repeat; }
header nav ul li ul.sub-menu li.immigration:hover { background-image: url(images/icons/immigration-active.png); }
header nav ul li ul.sub-menu li.labor { background: url(images/icons/labor.png) left center no-repeat; }
header nav ul li ul.sub-menu li.labor:hover { background-image: url(images/icons/labor-active.png); }
header nav ul li ul.sub-menu li.lgbt { background: url(images/icons/lgbt.png) left center no-repeat; }
header nav ul li ul.sub-menu li.lgbt:hover { background-image: url(images/icons/lgbt-active.png); }
header nav ul li ul.sub-menu li.seniors { background: url(images/icons/seniors.png) left center no-repeat; }
header nav ul li ul.sub-menu li.seniors:hover { background-image: url(images/icons/seniors-active.png); }
header nav ul li ul.sub-menu li.veterans { background: url(images/icons/veterans.png) left center no-repeat; }
header nav ul li ul.sub-menu li.veterans:hover { background-image: url(images/icons/veterans-active.png); }
header nav ul li ul.sub-menu li.women { background: url(images/icons/women.png) left center no-repeat; }
header nav ul li ul.sub-menu li.women:hover { background-image: url(images/icons/women-active.png); }
header nav ul li ul.sub-menu li.news { background: url(images/icons/newspaper.png) left center no-repeat; }
header nav ul li ul.sub-menu li.news:hover { background-image: url(images/icons/newspaper-active.png); }
header nav ul li ul.sub-menu li.releases { background: url(images/icons/pen_and_paper.png) left center no-repeat; }
header nav ul li ul.sub-menu li.releases:hover { background-image: url(images/icons/pen_and_paper-active.png); }

#mobile_header { display: none; background: url(images/nav_bg.jpg) center center repeat #063e73; position: fixed; top: 0; z-index: 99999999; width: 100%; }
#mobile_header img { display: inline-block; width: auto; height: 44px; padding-top: 16px; position: absolute; right: 3%; }
#menu_button { display: inline-block; padding: .5em; font-size: 24px; font-size: 2.4rem; color: #FFF; }
/* End Header */

/* Home Page */
body.home #home_feature { width: 100%; background: #FFF; border: 4px solid #FFF; border-radius: 5px; font-size: 0; }
#home_feature #fp_rotator { width: 62.76824034%; max-width: 585px; display: inline-block; vertical-align: top; position: relative; }
#home_feature #fp_rotator img { width: auto; max-width: 100%; height: auto; }
#home_feature #fp_rotator ul { list-style-type: none; margin: 0; padding: 0; width: 100%; float: left; }
#home_feature #fp_rotator ul#slides li { width: 100% !important; float: left; }
#home_feature #fp_rotator ul#slides .placeholder { visibility: hidden; }
#home_feature #fp_rotator #fp_rotator_nav { height: 33px; width: 100%; z-index: 50; position: absolute; bottom: 0; }
#home_feature #fp_rotator #fp_rotator_nav  a { width: 20px; height: 20px; float: left; margin: 7px 0 7px 7px; background: url(images/icons/fp_rotator_inactive.png) center center no-repeat; }
#home_feature #fp_rotator #fp_rotator_nav a.activeSlide { background-image: url(images/icons/fp_rotator_active.png); }
body.home #home_signup { -moz-box-sizing:border-box; box-sizing:border-box; }
#home_feature #home_signup { width: 37.23175966%; max-width: 348px; border-left: 4px solid #FFF; display: inline-block; vertical-align: top; color: #042f57; }
body.home #team_markey { border-radius: 0 5px 0 0; padding-bottom: 10px; }
body.home #team_markey h2 { padding-top: 20px; }

#primary { background: #FFF; margin-top: 30px; width: 100%; border: 4px solid #FFF; border-radius: 5px 5px 0 0; box-shadow: 1px 1px 5px #a0a0a0; font-size: 0; }
#main { width: 63%; display: inline-block; vertical-align: top; -moz-box-sizing:border-box; box-sizing:border-box; border-right: 4px solid #FFF; padding-bottom: 20px; font-size: 13px; font-size: 1.3rem; }
#home_tabs > ul { list-style-type: none; margin:0 0 20px 0; padding-left: 5%; background: url(images/nav_bg.jpg) center center repeat #063e73; height: 50px; }
#home_tabs > ul > li.tab { display: inline-block; height: 100%; margin-right: 3em; }
#home_tabs > ul > li.tab a { color: #00a1e4; width: 100%; padding-left:1.75em; display: block; font-size: 18px; font-size: 1.8rem; font-family: 'Oswald', Arial, sans-serif; font-weight: bold; text-transform: uppercase; min-height: 24px; margin-top: 13px; outline: none; }
#home_tabs > ul > li.tab:active, #home_tabs > ul > li.tab:focus { outline: none; }
#home_tabs > ul > li.tab a:hover { text-decoration: none; }
#home_tabs > ul > li.tab.ui-tabs-active { background: url(images/icons/tabs_arrow.png) center bottom no-repeat; }
#home_tabs > ul > li.tab.ui-tabs-active a { color: #FFF; }
#home_tabs #tab_news a { background: url(images/icons/tabs_news_blue.png) left center no-repeat; }
#home_tabs #tab_news.ui-tabs-active a { background: url(images/icons/tabs_news_white.png) left center no-repeat; }
#home_tabs #tab_blog a { background: url(images/icons/tabs_blog_blue.png) left center no-repeat; padding-left: 2em; }
#home_tabs #tab_blog.ui-tabs-active a { background: url(images/icons/tabs_blog_white.png) left center no-repeat; }
#home_tabs #tab_issues a { background: url(images/icons/tabs_issues_blue.png) left center no-repeat; padding-left: 1.25em; }
#home_tabs #tab_issues.ui-tabs-active a { background: url(images/icons/tabs_issues_white.png) left center no-repeat; }
#home_tabs #tab_videos a { background: url(images/icons/tabs_videos_blue.png) left center no-repeat; }
#home_tabs #tab_videos.ui-tabs-active a { background: url(images/icons/tabs_videos_white.png) left center no-repeat; }
#home_tabs #tab_releases a { background: url(images/icons/tabs_releases_blue.png) left center no-repeat; padding-left: 1.25em; }
#home_tabs #tab_releases.ui-tabs-active a { background: url(images/icons/tabs_releases_white.png) left center no-repeat; }
#primary .ui-tabs-panel { margin: 20px; }
#primary .ui-tabs-panel .loader { text-align: center; }
body.home #issues_video { margin: 20px; }
#primary #main ul.items { list-style-type: none; padding: 0; margin: 0; }
#primary #main li.item { clear: both; }
#primary #main article { clear: both; }
#primary #main #fp_news { }
#primary #main #fp_releases { }
#primary h3, #primary h4 { font-size: 20px; font-size: 2rem; font-weight: bold; letter-spacing: 1px; text-transform: uppercase; color: #042f57; line-height: 1.3em; margin-bottom: 0.15em; }
#primary h4 { font-size: 15px; font-size: 1.5rem; }
body.post-type-archive-video li.post h3 { margin: 20px 0 10px; margin: 2rem 0 1rem; }
body.post-type-archive-video li.post iframe.video { margin: 0 0 1.5rem; }
#primary .items .item_date { font-size: 14px; font-size: 1.4rem; color: #dc1928; letter-spacing: 1px; }
#primary article p { font-size: 14px; font-size: 1.4rem; }
#primary article h3 { margin-top:1em; }
#primary article:first-child h3 { margin-top: 0; }
#primary .item_excerpt p:first-child { margin-top:0.5em; }
#primary a.readmore { color: #dc1928; }
#primary .archive_link { color: #dc1928; text-transform: uppercase; font-size: 18px; font-size: 1.8rem; font-weight: bold; }
#primary #fp_releases article { margin: 1em 0; }
#primary #fp_releases > h3 { color: #666; }
#primary #fp_releases .item_date { font-size: 12px; font-size: 1.2rem; color: #999; }
#primary .fp_items article { border-top: 2px solid #eee; }
#primary .fp_items article:first-child { border:none; }
body.issues #primary .fp_items article:first-child { border-top: 2px solid #eee; }
body.issues #primary article:first-child h3 { margin-top: 1em; }

#issue_feature { padding: 0 4px 50px 4px; width: 100%; /*height: 390px;*/ } /* How should we set this height? */
#issue_feature.jobs { background: url(images/fp_issue_bg_jobs.jpg) center top no-repeat; }
#issue_feature.energy { background: url(images/fp_issue_bg_energy.jpg) center top no-repeat; }
#issue_feature.innovation { background: url(images/fp_issue_bg_innovation.jpg) center top no-repeat; }
#issue_feature .issue_feature_copy { display: none; width: 93%; position: relative; left: 30px; padding-top: 50px; height: 17em; }
#issue_feature .issue_feature_copy.active { display: block; }
#issue_feature h3 { font-size: 36px; font-size: 3.6rem; color: #004a8f; text-transform: uppercase; font-weight: normal; text-shadow:1px 1px 3px #222; }
#issue_feature p { font-size: 16px; font-size: 1.6rem; line-height: 1.5em; color: #00355e; background: rgba(255,255,255,.6); -pie-background: rgba(255,255,255,.6); padding: 20px; border-radius: 10px; box-shadow: 1px 1px 3px #222; }
#issue_feature nav { position: relative; top: 40px; font-size: 0; }
#issue_feature nav ul { list-style-type: none; padding: 0; margin: 0; }
#issue_feature nav li { display: inline-block; text-align: center; width: 33.1%; /*min-width: 257px;*/ height: 95px; padding-top: 1em; cursor: pointer; }
#issue_feature nav li a { display: inline-block; width: 80%; max-width: 249px; /*width: 249px;*/ /*height: 87px;*/ border: thin solid #FFF; border-radius: 3px; box-shadow: 1px 1px 3px #222; }
#issue_feature nav li a h3 { text-transform: uppercase; font-size: 30px; font-size: 3rem; color: #FFF; text-shadow:1px 1px #333; width: 100%; height: 100%; line-height: 2.9em; }
/*#issue_feature nav li a.inactive h3 { background: rgba(0,74,143,.6); }*/
#issue_feature nav li a:hover { text-decoration: none; }
#issue_feature nav li a:active { box-shadow: none; }
#issue_feature nav li.jobs a { background: url(images/fp_issue_button_jobs.jpg) center top no-repeat; }
#issue_feature nav li.energy a { background: url(images/fp_issue_button_energy.jpg) center top no-repeat; }
#issue_feature nav li.innovation a { background: url(images/fp_issue_button_innovation.jpg) center top no-repeat; }
/*#issue_feature nav li.jobs a.inactive { background-image: url(images/fp_issue_button_jobs_inactive.jpg); }
#issue_feature nav li.energy a.inactive { background-image: url(images/fp_issue_button_energy_inactive.jpg); }
#issue_feature nav li.innovation a.inactive { background-image: url(images/fp_issue_button_innovation_inactive.jpg); }*/
/* End Home Page */

/* Internal Templates */
section.inner section#primary { margin-top: 0; }
section.inner section#primary #main { font-size: 14px; font-size: 1.4rem; line-height: 1.4em; }
section.inner section#primary #main p { margin: 0 0 1.2em; }
section.inner section#primary #main div.wp-caption p { margin: 0; }
#primary .wp-caption.alignleft { margin: .5em 1em 0 0;}
#primary .wp-caption.alignright { margin: .5em 0 0 1em;}
#thorax div.headline { background: #004a8f; padding: 1.5rem 0 1.8rem 6.1rem; position: relative;}
#thorax div.headline img.ribbon { display: block; position: absolute; left: 1.7rem; top: -0.2rem; width: 3.4rem; }
#thorax div.headline h1 { font-family: 'Oswald','Impact',Helvetica,Arial,sans-serif; font-weight: bold; color: #fff;font-size: 30px; font-size:3rem; text-transform: uppercase; margin: 0; line-height: 1.0em;}
#thorax #breadcrumb { background: #ccdbe9; font-family: Arial,Helvetica,sans-serif; font-size: 10px; font-size: 1rem; color: #0061af; padding: 0.3rem 1.3rem 0.6rem; line-height: 1.0em; position: relative; top:10px; }
#thorax #breadcrumb a { color: #0061af; text-decoration: none; }
#thorax #breadcrumb a:hover { text-decoration: none; }
#thorax div.header_photo { width: 100%; font-size: 0; }
#thorax div.header_photo img { width: 100%; }
#primary #main h2.post_title { font-size: 20px; margin: 2rem 0 1rem; text-transform: uppercase; line-height: 1.3em; }
#primary #main span.date { font-family: 'Oswald','Impact',Helvetica,Arial,sans-serif; font-size: 11pt; font-weight: lighter; color: #808080; display: block; margin-bottom: 0.75em; }
#primary #main #content { margin: 20px 2%; }
#primary #main #content ul { margin:1em; padding:0 1em; }
#content .post_meta { color: #808080; font-size: 14px; font-size: 1.4rem; font-weight: 300; text-transform: none; margin-bottom: .5em; }
#content .post_meta span.author { color: #cc0000; font-weight: normal; margin-right: 1em; }
#primary section#related { border-top: #f0f0f0 solid 3px; margin: 2.4rem 1.4rem; padding: .5rem; text-transform: uppercase; font-weight: bold; font-size: 13px; font-size: 1.3rem; line-height: 1.3em; }
#primary section#related ul { list-style: none; margin: 0.9rem 0; padding: 0; }
#primary section#related li { margin: 0 0 1.4rem; color: #999 }
#primary section#related a { display: block; font-size: 15px; font-size: 1.5rem; color: #042f57; }
#primary section#related div { width: 45.5%; display: block; }
#primary section#related div.right { float: right; }
#primary section#related div.left { float: left; }
section.inner #primary #main section#related h3,section.inner #primary #main section#learnmore h3 { color: #666; text-shadow: none; text-transform: uppercase; font-size: 22px; font-size: 2.2rem; margin: 0.3em 0 0; font-family: 'Oswald','Impact',Helvetica,Arial,sans-serif;}
#primary section#learnmore { padding: 0 1rem; }
#primary section#learnmore h3 { padding: 0 1rem; margin: 0 0.3rem; }
#primary div#above { border-bottom: 3px #ccc solid; }
#primary div#above { margin: 1rem 0; padding: 0 0 0.5rem; }
#primary div#above div.story img { margin: 0.9rem 0 0.5rem; }
#primary div#below { padding: 1.5rem 0; }

#primary div#below div.story { margin: 0 0 4rem; clear: both; }
#primary div#below div.story img { margin: 0 1.5rem 1.5rem 0; float: left; }
#primary div#above h2, #primary div#below h2 { text-transform: uppercase; line-height: 1.4em; font-size: 21px; font-size: 2.1rem; }
#primary div#above h2 a, #primary div#below h2 a { color: #0061af;}
#primary div#above div.story { width: 48%; margin-left: 3%; display: inline-block; vertical-align: top; }
#primary div#above div.story:first-child { margin-left: 0; }
#primary h2 a:hover { text-decoration: none; }
#primary section#related a.more, #primary div#below a.more { font-family: 'Oswald','Impact',Helvetica,Arial,sans-serif; color: #dc1928; text-transform: uppercase; font-weight: bold; text-align: right; width: 100%; display: block; font-size: 18px; font-size: 1.8rem; margin: 3rem 0 0; clear: both; }
#primary div#above h2 span.category { color: #dc1928; }
#primary #main div.story span.date { font-weight: normal; color: #dc1928; font-size: 16px; font-size: 1.6rem; }
#primary div#below div.story span.date { margin: 1rem 0 0.2rem; }
body.issues #primary #content h2 { text-transform: uppercase; font-weight: bold; font-size: 26px; font-size: 2.6rem; color: #004a8f; margin:.5em 0; }
#primary #issues_video { border-top: 3px solid #edeff4; clear: both; }
#primary #issues_video h2 { font-weight: bold; font-size: 22px; font-size: 2.2rem; margin:.5em 0; text-transform: uppercase; }
body.issues #primary #related { margin-top: 0; }
body.single-video #primary #content .video { margin:1em auto; text-align: center; }
ul.posts { list-style-type: none; padding: 0; margin: 0; }
ul.posts li.post { margin-top: .5em; padding-top: 1em; border-top: 2px solid #eee; }
ul.posts li.post:first-child { margin-top: 0; padding-top: 0; border:none; }
body.post-type-archive-video ul.posts li.post { padding-top: 0; }
section#primary .wp-caption { background: transparent; border: none; }
section#primary p.wp-caption-text { padding: 0; margin: 0; }
section#primary .main .content h1 { margin:.5em 0; font-size: 18px; font-size: 1.8rem; }

/* Sidebar Styles */
#sidebar { display:inline-block; width: 37%; vertical-align: top; }
#team_markey { padding:0 7% 13px 7%; border:2px solid #064076; border-radius: 5px 5px 0 0; background: #FFF; }
body.home #team_markey { min-height: 247px; }
#team_markey h2 { padding: 30px 0 .25em 0; margin: 0; border-bottom: 2px solid #042f57; font-size: 32px; font-size: 3.2rem; font-weight: normal; letter-spacing: 1px; text-transform: uppercase; background: url(images/icons/clipboard-dark.png) right bottom no-repeat; }
#team_markey form .form_row { margin: 10px 0; }
#team_markey form input { height: 2.5em; }
#team_markey form input[type=text], #team_markey form input[type=email] { width: 100%; background: #042f57; border: none; color: #fafafa; padding: .5em; font-size:14px; font-size: 1.4rem; }
#team_markey form input[type=text] { width: 48%; }
#team_markey form input[type=submit] { width: 50%; margin-left: 2%; height: 2.8em; border:2px solid #FFF; font-family: 'Oswald', Arial, sans-serif; font-size: 14px; font-size: 1.4rem; text-transform: uppercase; font-weight: normal; letter-spacing: 1px; line-height: 1em; }
#team_markey p { font-size: 18px; font-size: 1.8rem; font-family: 'Oswald', Arial, sans-serif; line-height: 1.6em; margin:.5em 0; }
#follow_ed { background: url(images/nav_bg.jpg) center center repeat #063e73; padding:0 14.689%; text-align: center; }
#follow_ed h2 { color: #FFF; font-weight: normal; font-size: 26px; font-size: 2.6rem; letter-spacing: 1px; text-transform: uppercase; text-align: center; padding:8px 0; }
#social_buttons { padding-bottom: 8px; }
#social_buttons > div { margin: 0 5px; display: inline-block; vertical-align: middle; }
#social_buttons > div img { width: 100%; }
#social_buttons > div#follow_fb { width: 84px; text-align: left; }
#social_buttons > div#follow_youtube { width: 22px; }
#social_buttons > div#follow_rss { width: 20px; }
#action_center { background: url(images/ac_bg.jpg) repeat #BA0000; border:1px solid #000; box-shadow: inset 0 0 111px rgba(152,0,0,.81); padding-bottom: 15px; position: relative; z-index: 20; }
#action_center h2 { background: url(images/icons/handshake.png) right bottom no-repeat; font-size: 34px; font-size: 3.4rem; letter-spacing: 1px; font-weight: normal; text-transform: uppercase; color: #FFF; border-bottom: 1px solid #FFF; padding: 5px 0; width: 90%; margin: 10px auto; padding-right: 70px; -moz-box-sizing:border-box; box-sizing:border-box; }
#action_center .ac_button { width: 90%; margin: 10px auto; font-size: 28px; font-size: 2.8rem; border-radius: 5px; border: 1px solid #FFF; }
#action_center .ac_button h3 { color: #FFF; text-transform: uppercase; padding: .25em 0; font-size: 28px; font-size: 2.8rem; font-weight: normal; text-align: center; }
#action_center #ac_vol, #action_center #ac_donate { background: #063f75; }
#action_center #ac_vol h3 {  margin:0 11.8945%; }
#action_center #ac_donate h3 { text-align: center; padding: .25em 0 0 .75em; vertical-align: baseline; }
#action_center #ac_donate input[type=text] { width: 2.5em; font-size: 1em; border-radius: 5px; vertical-align: baseline; }
#action_center #ac_donate input[type=submit] { background: transparent; border: none; font-size: 1.2em; color: #FFF; position: relative; top: -.15em; left: -.25em; cursor: pointer; padding:0 0 0 .25em; }
#action_center #actions { list-style-type: none; padding: 0; margin: 0 auto; width: 90%; text-align: center; }
#action_center .ac_action { position: relative; display: inline-block; margin:5px 5px; }
#action_center .ac_action a.block { background-color: #FFF; background-position: center center; background-repeat: no-repeat; width: 88px; height: 80px; border-radius: 3px; box-shadow: 1px 1px 3px #333; display: block; }
#action_center .ac_action a.block:active { box-shadow: none; }
#action_center .ac_action h4 { font-size: 12px; font-size: 1.2rem; position: relative; text-transform: uppercase; text-align: center; color: #FFF; margin: .5em 0; }
#action_center #ac_action_join { background-image: url(images/icons/clipboard.png); }
#action_center #ac_action_events { background-image: url(images/icons/calendar.png); }
#action_center #ac_action_canvass { background-image: url(images/icons/house.png); }
#action_center #ac_action_alerts { background-image: url(images/icons/smartphone.png); }
#action_center #ac_action_calls { background-image: url(images/icons/calls.png); }
#action_center #ac_action_contact { background-image: url(images/icons/contact.png); }
#meet_ed { width: 90%; position: relative; margin: 10px auto 10px auto; }
#meet_ed img { width: 100%; border:9px solid #FFF; box-shadow: 1px 1px 5px #666; -moz-box-sizing:border-box; box-sizing:border-box; }
#meet_ed h3 { font-size: 23px; font-size: 2.3rem; position: absolute; bottom: 7%; right: 5%; color: #FFF; text-transform: uppercase; text-shadow:1px 1px #000; background: rgba(50,50,50,.5); -pie-background: rgba(50,50,50,.5); }
#tw_box ul#recent_tweets { list-style-type: none; margin:0; padding: 0; font-size: 13px; font-size: 1.3rem; }
#tw_box li.recent_tweet { margin:1em 0; padding-left: 2.5em; background: url(images/icons/twitter.png) left top no-repeat; color: #004a8f; line-height: 1.38em; }
section#sidebar section.social h3 { text-transform: uppercase; color: #042f57; margin: 0 0 2rem; font-size:20px; font-size: 2rem}
section#sidebar section.social { margin-top: 0.5rem; padding: 2rem; background: #eeeeee; }
section#sidebar div.space { height: .1rem; }

/* SPLASH PAGE */
body.splash { background-position: center top; background-repeat: no-repeat; }
body.splash header nav, body.splash header #donate_flag { display: none; }
body.splash #thorax { padding-top:9em; height: 563px; padding-bottom: 50px; }
#splash_container { background: #FFF; width: 678px; margin: 0 auto; padding: 21px 19px 16px; box-shadow: 2px 2px 5px #333; position: relative; }

#splash_container #leftcol { float:left; width: 70%; max-width: 490px; position: relative; }
#splash_container #slogan { margin: 6px 0 21px; }
#splash_container #slogan img { width: 96.5%; }
#splash_container h2 {  }
#splash_form {  }
#splash_form .form_row { margin: 11px 0; }
#splash_form input { background: #009ade; border: none; color: #FFF; font-family: Georgia, serif; padding: 9px 11px 10px; font-size: 1.125em; font-style: italic; }
#splash_form input#email { width: 434px; }
#splash_form input#zip { width: 121px; }
#splash_form input#button_join { width: 122px; padding: 0; vertical-align: middle; margin-left: 8px; }
#splash_form #button_contrib { width: 171px; vertical-align: middle; margin-left: 3px; }
#splash_container hr { border:none; border-top:thin solid #c5c5c5; margin: 1.5em 0 .25em; width: 95.5% }
#splash_container #fb_profile { }

#splash_container #rightcol { float: right; max-width: 200px; }
#splash_container #logo {  }
#splash_container #logo img { width: 100%; }
#splash_container #fb_profile img.profilePic { width: 70px; height: 70px; vertical-align: bottom; }
#splash_container #social_buttons { position: relative; top: .75em; }
#splash_container #fb_like { width: 48px; overflow: hidden; float: left; }
#splash_container #tw_follow { text-align: center; float: right; }
/* END SPLASH PAGE */

/* PAGE TEMPLATE */
body.page { background-position: center top; background-repeat: no-repeat; }
body.page #thorax { padding-top: 0; }
#page_container { background: #FFF; width: 700px; margin: 0 auto; padding: 40px; box-shadow: 2px 2px 5px #333; position: relative; }
body.page #thorax h2.page-title { color: #0067b4; text-transform: uppercase; font-size: 25pt; line-height: 1em; }
body.page #thorax p { margin-bottom: 1em; }
body #content { line-height: 1.4em; }
body.page #content ul { list-style: disc inside; margin: 1em; }
/* END PAGE TEMPLATE */

/* Landing Pages */
body.landing header nav, body.landing header #donate_flag { display: none; }
body.landing #thorax { clear: both; min-height: auto; padding-bottom: 30px; }
#landing_container, #landing_form { background: #FFF; width: 80%; max-width: 600px; margin: 0 auto; padding: 30px; box-shadow: 2px 2px 5px #333; position: relative; }
#landing_container { border-top-left-radius: 5px; border-top-right-radius: 5px; z-index: 10; line-height: 1.3em; padding-bottom: 20px; }
#landing_container h2.page-title { padding: .3em 0 0 0; }
#landing_container blockquote { background: #f6f6f6; padding: .5em 1.5em; font-family: Georgia,Times,"Times New Roman",serif; }
#landing_form { border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; top: -1em; }
#landing_form h3.ask { color: #dc1928; text-align: center; font-size: 1.875em; text-transform: uppercase; }
#landing_form form { width: 90%; margin:0 auto; }
#landing_form .form_row { margin: .5em 0; }
#landing_form input { background: #009ade; border: none; color: #FFF; font-family: Georgia, serif; padding: 9px 11px 10px; font-size: 1.125em; font-style: italic; width: 45%; }
#landing_form .form_row input { margin-left: 1%; }
#landing_form .form_row input.first { margin-left: 0; }
#landing_form input#email { width: 63%; }
#landing_form input#zip { width: 27%; }
#landing_form input.fullwidth { width: 96%; }
#landing_form input::-webkit-input-placeholder { color: #DDD; }
#landing_form input:-moz-placeholder { color: #DDD; }
#landing_form input::-moz-placeholder { color: #DDD; }
#landing_form input:-ms-input-placeholder { color: #DDD; }
#landing_form .form_row input[type=submit] { display: block; width: auto; background: #BA0000; margin: 0 auto; padding: .4em 2em; font-size: 1.4em; text-transform: uppercase; font-style: normal; }
body.landing footer nav { display: none; }
body.landing footer .privacy { display: block; float: right; margin-top:20px; }
/* End Landing Pages */

/* Why I Support Ed */
.support_item blockquote { margin:1em; font-style: italic; }
.support_item .byline { text-align: right; font-style: italic; }
body.category-support #team_markey { display: none; }
body.category-support .socials_small { text-align: center; margin-top: 1em; }
body.category-support ul.posts li.post:first-child { border-top:2px solid #eee; }
/* End Why I Support Ed */

/* Releases */
body.releases #content .post_meta { font-family: Arial, sans-serif; font-weight: bold; letter-spacing: 0; color: #00355e; }
/* Releases */

/* Events Pages */
body.post-type-archive-events #main { width: 100%; }
body.post-type-archive-events form.bigform { width: 40%; margin-bottom: 15px; }
body.post-type-archive-events form.bigform .form-row { margin:.25em 0; }
body.post-type-archive-events .map { width: 50%; height: 300px; float: right; margin-left: 20px; }
body.post-type-archive-events ul.posts li.post:first-child { border-top: 2px solid #eee; margin-top: .5em; padding-top: 1em; }
body.post-type-archive-events form.bigform .form-row input.shortfield { width: 42%; }
body.post-type-archive-events form.bigform .selecter { width: 35%; max-width: 35%; margin:0; }
body.single-events .map { width: 100%; height:400px; }
body.post-type-archive-events h3 a { color: #042f57; }
body.post-type-archive-events .readmore { text-align: right; }
body.post-type-archive-events .twitter_stream { width: 50%; float: right; clear: right; margin-top: 10px; margin-left: 20px; }
/* End Events Pages */

/* Endorsements */
#endorsement_tabs > ul { list-style-type: none; margin:0 0 20px 0; background: url(images/nav_bg.jpg) center center repeat #063e73; height: 50px; width: 104%; margin-left: -2%; }
#endorsement_tabs > ul > li { display: inline-block; height: 100%; margin-right: 1em; }
#endorsement_tabs > ul > li a { color: #00a1e4; width: 100%; display: block; font-size: 18px; font-size: 1.8rem; font-family: 'Oswald', Arial, sans-serif; font-weight: bold; text-transform: uppercase; min-height: 24px; margin: 13px 0 0 13px; outline: none; }
#endorsement_tabs > ul > li:active, #endorsement_tabs > ul > li:focus { outline: none; }
#endorsement_tabs > ul > li a:hover { text-decoration: none; }
#endorsement_tabs > ul > li.ui-tabs-active { background: url(images/icons/tabs_arrow.png) center bottom no-repeat; }
#endorsement_tabs > ul > li.ui-tabs-active a { color: #FFF; }
.endorsement_grid { width: 100%; clear: both; }
.endorsement { display: inline-block; width: 30%; height: 75px; margin:1%; vertical-align: top; }
.endorsement h4 { font-family: 'Open Sans', Arial, sans-serif; }
.endorsement h4 .city { font-weight: normal; }
.endorsement_img { width: 100%; height: 120px; display: none; }
.back_to_top { clear: both; }
/* End Endorsements */

/* BSD CONTRIB FORM */
body.bsd header nav, body.bsd header #donate_flag { display: none; }
body.bsd #primary #main { width: 100%; }
body.bsd #content h1, body.bsd #content h2 { text-transform: uppercase; margin-bottom: .5em; }
#contribution td td td { padding-top: 0; padding-bottom: 0; }
body.page-id-6 #thorax p { font-size: 13px; font-size: 1.3rem; }
body.page #thorax td.contribcolumn { font-family: Arial,Helvetica,sans-serif; }
body.page #content td.contribcolumn { line-height: 1.4em; }
/*** BSD Form Pretty-ification fixes ***/
#body_container #contribution td td td { padding-bottom: 0; padding-top: 0; }
div.content_area td.contribcolumn span { font: 11px/13px Helvetica,Arial,sans-serif; color: #000; float: none;  }
td.contribcolumn ol { list-style-position: inside; }
td.contribcolumn ol li { margin: 1em 0; }
td.contribcolumn input#legal_confirm { float: left; position: relative; left: -4px; }
#contribution td.contribcolumn { font-size: 11px; }
#contribution td.contribcolumn label, #contribution td.contribcolumn .fieldlabel { font-weight: normal; font-size: 11px; }
#contribution td.contribcolumn td.contribheader { padding-top: 8px; font-weight: normal;  }

form#contribution table td.contribbutton table { width: 100%; }
#contribution td.contribbutton table td { text-align:center; }
body.bsd table#signuptable { width: 100%; }
body.bsd input[type=submit] {
	width: 25%;
	border: 2px solid #FFF;
	font-family: 'Oswald', Arial, sans-serif;
	font-size: 25px;
	font-size: 2.5rem;
	text-transform: uppercase;
	font-weight: normal;
	letter-spacing: 1px;
	color: #FFF;
	padding: .5em;
	text-shadow: 1px 1px 2px #000;
	background: #dc1928;
	box-shadow: inset 0 0 10px 4px rgba(101,9,16,.44);
	cursor: pointer;
}

body.bsd #unsub_form input[type=submit] { width: 100%; }

/*** BSD Contrib form standard styles ***/
.bsd-contribForm-wrap p { font-size: 16px; line-height: 24px; /*margin-bottom: 1em;*/ }
.bsd-contribForm-wrap div#thorax { padding-top: 15px; }
.bsd-contribForm-wrap div#left_container h1 { padding: 0 0 18px; }

/*** Styles to create two-column setup ***/
.bsd-contribForm-wrap form#contribution { /*width: 445px;*/ width:100%; }
.bsd-contribForm-wrap form#contribution table { /*width: auto;*/ }
.bsd-contribForm-wrap td table { margin-bottom: 0; }
.bsd-contribForm-wrap #primary h2 { font-weight: normal; line-height: 24px; }
/*.bsd-contribForm-wrap #contribution td.contribcolumn { width: 480px !important; }*/
div#left_container .bsd-contribForm-wrap h1 { padding: 4px 0 8px; }
/* END BSD CONTRIB FORM */

/* BSD for FB Page Tab */
body.fb_tab .container { width: 800px; max-width: 800px; }
body.fb_tab footer nav { width: 55%; }
body.fb_tab footer nav ul li { margin-top:1em; }
/*End BSD for FB Page Tab */


/* TY Page */
body.single-thankyou.splash header { display: none; }
body.single-thankyou #splash_container { border-radius: 5px; }
body.single-thankyou .socials_small { margin: -.5em auto 0 auto; padding: 0 0 1em 0; }
body.single-thankyou #content { width: 95.5%; line-height: 1.5em; }
/* End TY Page */

/* Events -- Google Form */
body.events form.bigform input[type=text], body.events form.bigform input[type=email], body.events form.bigform select, body.events form.bigform textarea { background: #FFF; color: #00355e; padding:.5em; font-size: 16px; font-size: 1.6rem; font-style: italic; width: 47%; border: 1px solid #00355e; webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
body.events form.bigform input[type=submit], body.events form.bigform button { width:auto; min-width: 20%; margin:0 auto; display:block; font-size: 1em; line-height: 1.5em; border:none; text-transform: uppercase; }
/* End Events */

/* Footer */
footer { background: #013461; border-top: 11px solid #004d92; padding: 0 0 3em 0; width: 100%; position: absolute; color: #FFF; }
footer #footer_logo { width: 20.32%; float: left; }
footer img { width: 100%; }
footer nav { width: 79.5%; font-size: 12px; font-size: 1.2rem; text-align: right; float: right; margin-top: 20px; text-transform: uppercase; }
footer nav ul { margin: 0; padding:0; }
footer nav ul li { display: inline-block; border-left: 1px solid #FFF; padding-left:.75em; margin-left: .75em; }
footer nav ul li:first-child { border:none; margin-left: 0; }
footer nav a { color: #FFF; text-decoration: none; }
footer #disclaimer { clear: right; width: 30%; max-width: 220px; float: right; margin-top: 20px; padding:.5em; border: 1px solid #FFF; text-align: center; text-transform: uppercase; font-size: 10px; font-size: 1rem; }
footer .privacy { display: none; text-align: center; }
footer .privacy a { color: #FFF; }
/*End Footer*/

/* Forms */
form.bigform { width:90%; margin:0 auto; }
form.bigform .form-row { margin:1em 0; }
form.bigform .form-row label { display:block; }
form.bigform .form-row input[type=text], form.bigform .form-row input[type=email], form.bigform .form-row select, form.bigform .form-row textarea { background: #FFF; color: #00355e; padding:.5em; font-size: 16px; font-size: 1.6rem; font-style: italic; width: 47%; border: 1px solid #00355e; webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
form.bigform .form-row input.first { margin-left:0; }
form.bigform .form-row input.fullwidth, form.bigform .form-row textarea.fullwidth { width:95%; margin-left:0; }
form.bigform .form-row input.shortfield { width:33.5%; vertical-align: top; margin: 0; }
form.bigform .form-row select#state { width:26%; }
form.bigform .form-row input[type=checkbox] { width:1em; margin-left:0; font-size: 1em; }
form.bigform .form-row input[type=submit], form.bigform .form-row button { width:auto; min-width: 20%; margin:0 auto; display:block; font-size: 1em; line-height: 1.5em; border:none; text-transform: uppercase; }
form.bigform .form-row button { display: inline; }
form.bigform ul { list-style-type:none !important; padding: 0; }
form.bigform .form-row .selecter-selected { border:1px solid #00355e; border-radius: 0; background-color: #FFF; color: #00355e; font-size: 16px; font-size: 1.6rem; font-style: italic; padding: 7.5px 10px; }
form.bigform .selecter { display: inline-block; vertical-align: middle; width: 26%; margin: 0; }
/* End Forms */

/* Social Buttons */
.socials { width:234px; margin:0 auto; margin-top:1em; height:70px; }
.socials > div { display: inline-block; margin-left:.5em; }
.socials > div:first-child { margin-left:0; }

.socials_small { padding: .5em 0; clear: both; }
.socials_small > div { display: inline-block; margin-left: .5em; position: relative; text-align: left; }
.socials_small > div:first-child { margin-left:0; }
.socials_small > div#tw { width: 78px; }
.socials_small > div#fb { top:-2px; }
.socials_small.right { float: right; padding: 0; }
body.archive .socials_small { margin-top: -1em; }
.fp_items .socials_small { margin: -1em 0 .5em 0; }
/* End Social Buttons */

/* Pagination */
#pagination { margin-top: 20px; text-align: center; }
/* End Pagination */

/* Misc */
img.alignright { float: right; margin:0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 1em 0; }
.shadow {
	-moz-box-shadow: 1px 1px 4px #333;
	-webkit-box-shadow: 1px 1px 4px #333;
	box-shadow: 1px 1px 4px #333;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}

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

.button { 
	border:none;
	color:#FFF;
	padding:.5em;
	text-shadow: 1px 1px 2px #000;
	font-family: 'Oswald', sans-serif;
	font-weight: 900;
	
	background:#BA0000;
	
	box-shadow: inset 0 0 10px 4px rgba(152,0,0,.81);
}
.button:active  {
	-moz-box-shadow:none;
	-webkit-box-shadow:none;
	box-shadow:none;
}
.image img { width: 100%; }
.instagram { width: 100%; box-shadow: 1px 1px 3px #333; }
/* End Misc */

/* Sidr Menu */
.sidr{display:none;position:absolute;position:fixed;top:0;height:100%;z-index:999999;width:260px;overflow-x:none;overflow-y:auto;font-family:"lucida grande",tahoma,verdana,arial,sans-serif;font-size:15px;background:#f8f8f8;color:#333;-webkit-box-shadow:inset 0 0 5px 5px #ebebeb;-moz-box-shadow:inset 0 0 5px 5px #ebebeb;box-shadow:inset 0 0 5px 5px #ebebeb}
.sidr .sidr-inner{padding:0 0 15px}
.sidr .sidr-inner>p{margin-left:15px;margin-right:15px}
.sidr.right{left:auto;right:-260px}
.sidr.left{left:-260px;right:auto}
.sidr h1,.sidr h2,.sidr h3,.sidr h4,.sidr h5,.sidr h6{font-size:11px;font-weight:normal;padding:0 15px;margin:0 0 5px;color:#333;line-height:24px;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #dfdfdf));background-image:-webkit-linear-gradient(#ffffff,#dfdfdf);background-image:-moz-linear-gradient(#ffffff,#dfdfdf);background-image:-o-linear-gradient(#ffffff,#dfdfdf);background-image:linear-gradient(#ffffff,#dfdfdf);-webkit-box-shadow:0 5px 5px 3px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 5px 3px rgba(0,0,0,0.2);box-shadow:0 5px 5px 3px rgba(0,0,0,0.2)}
.sidr p{font-size:13px;margin:0 0 12px}
.sidr p a{color:rgba(51,51,51,0.9)}
.sidr>p{margin-left:15px;margin-right:15px}
.sidr ul{display:block;margin:0 0 15px;padding:0;border-top:1px solid #dfdfdf;border-bottom:1px solid #fff}
.sidr ul li{display:block;margin:0;line-height:48px;border-top:1px solid #fff;border-bottom:1px solid #dfdfdf}
.sidr ul li:hover,.sidr ul li.active,.sidr ul li.sidr-class-active{border-top:none;line-height:49px}
.sidr ul li:hover>a,.sidr ul li:hover>span,.sidr ul li.active>a,.sidr ul li.active>span,.sidr ul li.sidr-class-active>a,.sidr ul li.sidr-class-active>span{-webkit-box-shadow:inset 0 0 15px 3px #ebebeb;-moz-box-shadow:inset 0 0 15px 3px #ebebeb;box-shadow:inset 0 0 15px 3px #ebebeb}
.sidr ul li a,.sidr ul li span{padding:0 15px;display:block;text-decoration:none;color:#333}
.sidr ul li ul{border-bottom:none;margin:0}
.sidr ul li ul li{line-height:40px;font-size:13px}
.sidr ul li ul li:last-child{border-bottom:none}
.sidr ul li ul li:hover,.sidr ul li ul li.active,.sidr ul li ul li.sidr-class-active{border-top:none;line-height:41px}
.sidr ul li ul li:hover>a,.sidr ul li ul li:hover>span,.sidr ul li ul li.active>a,.sidr ul li ul li.active>span,.sidr ul li ul li.sidr-class-active>a,.sidr ul li ul li.sidr-class-active>span{-webkit-box-shadow:inset 0 0 15px 3px #ebebeb;-moz-box-shadow:inset 0 0 15px 3px #ebebeb;box-shadow:inset 0 0 15px 3px #ebebeb}
.sidr ul li ul li a,.sidr ul li ul li span{color:rgba(51,51,51,0.8);padding-left:30px}
.sidr form{margin:0 15px}
.sidr label{font-size:13px}
.sidr input[type="text"],.sidr input[type="password"],.sidr input[type="date"],.sidr input[type="datetime"],.sidr input[type="email"],.sidr input[type="number"],.sidr input[type="search"],.sidr input[type="tel"],.sidr input[type="time"],.sidr input[type="url"],.sidr textarea,.sidr select{width:100%;font-size:13px;padding:5px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0 0 10px;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;-o-border-radius:2px;border-radius:2px;border:none;background:rgba(0,0,0,0.1);color:rgba(51,51,51,0.6);display:block;clear:both}
.sidr input[type=checkbox]{width:auto;display:inline;clear:none}
.sidr input[type=button],.sidr input[type=submit]{color:#f8f8f8;background:#333}
.sidr input[type=button]:hover,.sidr input[type=submit]:hover{background:rgba(51,51,51,0.9)}
/* End Sidr */

/* FlipClock */
#primary #main #content ul.flip { list-style: none; margin: 5px; padding: 0; }
/* End FlipClock*/

/* Background Images */
@media only screen 
and (min-device-width : 1024px) {
	body.boston { background-image: url(images/bgs/boston.jpg); }
	body.faneuil { background-image: url(images/bgs/faneuil.jpg); }
	body.fenway { background-image: url(images/bgs/fenway.jpg); }
	body.fisherman { background-image: url(images/bgs/fisherman.jpg); }
	body.harvard { background-image: url(images/bgs/harvard.jpg); }
	body.holyoke { background-image: url(images/bgs/holyoke.jpg); }
	body.lighthouse { background-image: url(images/bgs/lighthouse.jpg); }
	body.lowell { background-image: url(images/bgs/lowell.jpg); }
	body.mit { background-image: url(images/bgs/mit.jpg); }
	body.newbedford { background-image: url(images/bgs/newbedford.jpg); }
	body.revere { background-image: url(images/bgs/revere.jpg); }
	body.worcester { background-image: url(images/bgs/worcester.jpg); }
	body.amherst { background-image: url(images/bgs/amherst.jpg); }
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 720px)
and (max-device-width : 1023px) {
	body.boston { background-image: url(images/bgs/mobile/boston.jpg); }
	body.faneuil { background-image: url(images/bgs/mobile/faneuil.jpg); }
	body.fenway { background-image: url(images/bgs/mobile/fenway.jpg); }
	body.fisherman { background-image: url(images/bgs/mobile/fisherman.jpg); }
	body.harvard { background-image: url(images/bgs/mobile/harvard.jpg); }
	body.holyoke { background-image: url(images/bgs/mobile/holyoke.jpg); }
	body.lighthouse { background-image: url(images/bgs/mobile/lighthouse.jpg); }
	body.lowell { background-image: url(images/bgs/mobile/lowell.jpg); }
	body.mit { background-image: url(images/bgs/mobile/mit.jpg); }
	body.newbedford { background-image: url(images/bgs/mobile/newbedford.jpg); }
	body.revere { background-image: url(images/bgs/mobile/revere.jpg); }
	body.worcester { background-image: url(images/bgs/mobile/worcester.jpg); }
	body.amherst { background-image: url(images/bgs/mobile/amherst.jpg); }
}

/* High DPI */
@media 
only screen and (-webkit-min-device-pixel-ratio: 2), 
only screen and (min-resolution: 192dpi) {
	header nav ul li.current-menu-item a, header nav ul li.current-menu-ancestor a { background-image: url(images/icons/nav_arrow-2x.png) center bottom no-repeat; background-size: 17px; }
	#team_markey h2, #join_team #team_markey h2 { background-image: url(images/icons/clipboard-dark-2x.png); background-size: 34px; }	
	#home_feature #fp_rotator #fp_rotator_nav li a { background-image: url(images/icons/fp_rotator_inactive-2x.png); background-size: 20px; }
	#home_feature #fp_rotator #fp_rotator_nav li.activeSlide a { background-image: url(images/icons/fp_rotator_active-2x.png); background-size: 20px; }
	#action_center h2 { background-image: url(images/icons/handshake-2x.png); background-size: 69px; }
	#home_tabs > ul > li.tab.ui-tabs-active { background: url(images/icons/tabs_arrow-2x.png) center bottom no-repeat; background-size: 17px; }
	#home_tabs #tab_news a { background: url(images/icons/tabs_news_blue-2x.png) left center no-repeat; background-size: 23px 18px; }
	#home_tabs #tab_news.ui-tabs-active a { background: url(images/icons/tabs_news_white-2x.png) left center no-repeat; background-size: 23px 18px; }
	#home_tabs #tab_blog a { background: url(images/icons/tabs_blog_blue-2x.png) left center no-repeat; background-size: 32px 18px; }
	#home_tabs #tab_blog.ui-tabs-active a { background: url(images/icons/tabs_blog_white-2x.png) left center no-repeat; background-size: 32px 18px; }
	#home_tabs #tab_issues a { background: url(images/icons/tabs_issues_blue-2x.png) left center no-repeat; background-size: 18px 18px; padding-left: 1.25em; }
	#home_tabs #tab_issues.ui-tabs-active a { background: url(images/icons/tabs_issues_white-2x.png) left center no-repeat; background-size: 18px 18px; }
	#home_tabs #tab_videos a { background: url(images/icons/tabs_videos_blue-2x.png) left center no-repeat; background-size: 33px 24px; }
	#home_tabs #tab_videos.ui-tabs-active a { background: url(images/icons/tabs_videos_white-2x.png) left center no-repeat; background-size: 33px 24px; }
	#home_tabs #tab_releases a { background: url(images/icons/tabs_releases_blue-2x.png) left center no-repeat; background-size: 18px 18px; }
	#home_tabs #tab_releases.ui-tabs-active a { background: url(images/icons/tabs_releases_white-2x.png) left center no-repeat; background-size: 18px 18px; }

	header nav ul li.home a { background-image: url(images/icons/home-2x.png); background-size: 20px; }
	header nav ul li.home:hover a { background-image: url(images/icons/home-active-2x.png); background-size: 20px; }
	header nav ul li ul.sub-menu li.jobs { background-image: url(images/icons/briefcase-2x.png); background-size: 31px; }
	header nav ul li ul.sub-menu li.jobs:hover { background-image: url(images/icons/briefcase-active-2x.png); background-size: 31px; }
	header nav ul li ul.sub-menu li.environment { background-image: url(images/icons/leaf-2x.png); background-size: 22px; }
	header nav ul li ul.sub-menu li.environment:hover { background-image: url(images/icons/leaf-active-2x.png); background-size: 22px; }
	header nav ul li ul.sub-menu li.climate { background-image: url(images/icons/earth-2x.png); background-size: 32px; }
	header nav ul li ul.sub-menu li.climate:hover { background-image: url(images/icons/earth-active-2x.png); background-size: 32px; }
	header nav ul li ul.sub-menu li.netneutrality { background-image: url(images/icons/router-2x.png); background-size: 30px; }
	header nav ul li ul.sub-menu li.netneutrality:hover { background-image: url(images/icons/router-active-2x.png); background-size: 30px; }	
	header nav ul li ul.sub-menu li.healthcare { background-image: url(images/icons/medical-2x.png); background-size: 32px; }
	header nav ul li ul.sub-menu li.healthcare:hover { background-image: url(images/icons/medical-active-2x.png); background-size: 32px; }
	header nav ul li ul.sub-menu li.security { background-image: url(images/icons/security-2x.png); background-size: 29px; }	
	header nav ul li ul.sub-menu li.security:hover { background-image: url(images/icons/security-active-2x.png); background-size: 29px; }
	header nav ul li ul.sub-menu li.education { background-image: url(images/icons/education-2x.png); background-size: 29px; }	
	header nav ul li ul.sub-menu li.education:hover { background-image: url(images/icons/education-active-2x.png); background-size: 29px; }
	header nav ul li ul.sub-menu li.immigration { background-image: url(images/icons/immigration-2x.png); background-size: 29px; }	
	header nav ul li ul.sub-menu li.immigration:hover { background-image: url(images/icons/immigration-active-2x.png); background-size: 29px; }
	header nav ul li ul.sub-menu li.labor { background-image: url(images/icons/labor-2x.png); background-size: 29px; }	
	header nav ul li ul.sub-menu li.labor:hover { background-image: url(images/icons/labor-active-2x.png); background-size: 29px; }
	header nav ul li ul.sub-menu li.lgbt { background-image: url(images/icons/lgbt-2x.png); background-size: 29px; }	
	header nav ul li ul.sub-menu li.lgbt:hover { background-image: url(images/icons/lgbt-active-2x.png); background-size: 29px; }
	header nav ul li ul.sub-menu li.seniors { background-image: url(images/icons/seniors-2x.png); background-size: 29px; }	
	header nav ul li ul.sub-menu li.seniors:hover { background-image: url(images/icons/seniors-active-2x.png); background-size: 29px; }
	header nav ul li ul.sub-menu li.veterans { background-image: url(images/icons/veterans-2x.png); background-size: 29px; }	
	header nav ul li ul.sub-menu li.veterans:hover { background-image: url(images/icons/veterans-active-2x.png); background-size: 29px; }
	header nav ul li ul.sub-menu li.women { background-image: url(images/icons/women-2x.png); background-size: 29px; }	
	header nav ul li ul.sub-menu li.women:hover { background-image: url(images/icons/women-active-2x.png); background-size: 29px; }
	header nav ul li ul.sub-menu li.news { background-image: url(images/icons/newspaper-2x.png); background-size: 32px; }
	header nav ul li ul.sub-menu li.news:hover { background-image: url(images/icons/newspaper-active-2x.png); background-size: 32px; }
	header nav ul li ul.sub-menu li.releases { background-image: url(images/icons/pen_and_paper-2x.png); background-size: 32px; }
	header nav ul li ul.sub-menu li.releases:hover { background-image: url(images/icons/pen_and_paper-active-2x.png); background-size: 32px; }
}
/* End High DPI

/* Responsive */
@-webkit-viewport, @-moz-viewport, @-ms-viewport, @-o-viewport, @viewport { 
    width: device-width;
}

@media only screen 
and (max-width : 1024px) {
	* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
	#meet_ed h3 { font-size: 20px; font-size: 2.0rem; }
	#team_markey h2 { font-size: 30px; font-size: 3.0rem; }
	/* Get rid of styling that Mobile Safari adds to form submits */
	input[type=submit], textarea {
	  -webkit-appearance: none;
	  -webkit-border-radius: 0;
	}

	#landing_form input { width:48%; }
	#landing_form input#zip { width: 30%; }
	#landing_form input#email { width: 66%; }

}
/* iPads (portrait) ----------- */
@media only screen 
and (max-width : 768px) {
	body .container { width: 95%; }
	/*body .container { width: 730px; }*/
	header #donate_flag { width: 11%; }
	header nav { width: 95%; }
	header nav ul li { margin:0 .8%; }

	#photoinfo { display: none; }
	#home_feature { width: 100%; max-width: none; }
	#home_feature #fp_rotator { width: 100%; max-width: none; }
	#home_feature #fp_rotator img { width: 100%; }
	#home_feature #home_signup { width: 100%; max-width: none; font-size: 0; margin-top: 4px; border-left: none; }
	#home_signup > div { display: block; width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
	body.home #team_markey { min-height: 1px; }
	#team_markey { padding:10px 2% 10px 2%; border-radius:0; }
	#team_markey h2, body.home #team_markey h2 { display: inline; text-align: left; background-image: none; border:none; vertical-align: middle; font-size: 24px; font-size: 2.4rem; padding:0; }
	#team_markey form { display: inline; }
	#team_markey form .form_row { display: inline; vertical-align: bottom; margin-left:2%; }
	#team_markey form input[type=text], #team_markey form input[type=email] { font-size: 16px; font-size: 1.6rem; padding:.7em .5em; }
	#team_markey form input[type=text] { width:8%; }
	#team_markey form input[type=email] { width:31%; }
	#team_markey form input[type=submit] { width:22%; font-size: 16px; font-size: 1.6rem; }
	#team_markey .other_contact { text-align: center; }
	#team_markey p { display: inline-block; margin-left: 2%; padding-left: 2%; border-left: thin solid #042f57; }
	#team_markey p:first-child { margin-left: 0; padding-left: 0; border:none; }
	#follow_ed { padding: 0; }
	#follow_ed h2 { display: inline-block; vertical-align: middle; font-size: 24px; font-size: 2.4rem; }
	#follow_ed #social_buttons { display: inline-block; margin-left: 5%; }

	#action_center h2 { font-size: 24px; font-size: 2.4rem; padding-top: 6px; }

	#home_tabs > ul > li.tab { margin-right: 3%; }

	body.post-type-archive-events form.bigform { width: 60%; }
	
	body.bsd #bsd-contribution-card-type td > * { display: inline-block; float:left; margin-top:.75em; }
	body.bsd #bsd-contribution-card-type td > input { vertical-align: middle; }
	body.bsd #bsd-contribution-card-type td > input:nth-of-type(3) { clear:left; }
}

@media only screen 
and (max-width : 767px) {
	#main { width:100%; }
	#sidebar { width: 100%; }

	/*header nav > ul > li { width: 24%; margin:0; }
	header nav ul li.home a, header nav ul li.home:hover a { width: 100%; text-indent: 0; background: none; }
	header nav ul li:hover > ul.sub-menu { display: none; }*/
	header nav { display: none; }
	header { min-height: 0; overflow: auto; }

	#mobile_header.show { display: block; }

	#action_center h2 { text-align: center; background: none; padding-right: 0; }
	#action_center .ac_button { margin:10px 20%; width: auto; }
	#action_center .ac_button h3 { font-size: 20px; font-size: 2rem; }

	#meet_ed { display: none; }

	#issue_feature { background-size: cover !important; }
	#issue_feature .issue_feature_copy { height: auto; margin: 0 auto; left: 0; }
	#issue_feature nav { top: 0; }

	footer #footer_logo { float: none; width: 50%; margin:0 auto; }
	footer nav { display: none; }
	footer .privacy { display: block; }

	#landing_form form { width: 100%; }
	#landing_form input { font-size: 1em; }
	#landing_form .form_row input[type=submit] { padding: .4em 5%; font-size: 1.2em; }

	body.page #content td.contribcolumn { display: block; width: 92% !important; }
	body.bsd #bsd-amounts-cont table.amounts td { display: inline-block; }
	body.bsd #payment_options td { display: block; }
	body.bsd #contribution td.contribbutton input { min-width: 200px; }
}

@media only screen 
and (max-width : 940px) {
	#action_center #ac_vol h3 { margin: 0 5%; }
	#meet_ed h3 { font-size: 19px; font-size: 1.9rem; }
	body.home #social_boxes #tw_box { width: 30% }
}
@media only screen 
and (max-width : 825px) {
	#action_center #ac_donate input[type=text] { width: 1.5em; }
	#meet_ed h3 { font-size: 16px; font-size: 1.6rem; }
}
@media only screen 
and (max-width : 778px) {
	#action_center #ac_vol h3 { background: none; text-align: center; }
	body.home #social_boxes #fb_box { float: none; width: 50%; }
	body.home #social_boxes #tw_box { float:none; width: 100% }
	#issue_feature nav li a h3 { font-size: 24px; font-size: 2.4rem; }
}
@media only screen 
and (max-width : 740px) {
	#primary #home_tabs > ul > li.tab a { background: none !important; text-align: center; padding-left: 0 !important; }
	#primary #main #fp_news { width: 100%; float: none; }
	#primary #main #fp_releases { width: 100%; float: none; margin-top: 20px; }	
}
@media only screen 
and (max-width : 700px) {
	header #logo { width: 60%; }
	header #donate_flag { width: 14%; }

	#meet_ed h3 { font-size: 12px; font-size: 1.2rem; }
	#home_signup #team_markey h2 { display: block; text-align: center; border-bottom: 2px solid #042f57; }
	#team_markey form input[type=text], #team_markey form input[type=email] { width: 15%; font-size: 12px; font-size: 1.2rem; }
	#team_markey form input[type=email] { width: 41%; }
	#team_markey #zip { width: 15%; }
	#team_markey form input[type=submit] { width: 38%; font-size: 12px; font-size: 1.2rem; }

	#issue_feature nav li { width: 100%; }
}
@media only screen 
and (max-width : 624px) {
	#team_markey p { border:none; margin-left: 0; line-height: 1em; }
}

@media only screen 
and (max-width : 480px) {
	body.post-type-archive-events form.bigform { width: 70%; }
	#endorsement_tabs > ul > li { margin-right: 0; }
	#endorsement_tabs > ul > li a { font-size: 14px; font-size: 1.4rem; margin-left: 5px; }
	.endorsement { width: 47.5%; }
}

@media only screen 
and (max-width : 430px) {
	header #logo { width: 70%; }
	header #donate_flag { width: 18%; }
	header nav > ul > li { width: 49%; }

	#team_markey p { font-size: 16px; font-size: 1.6rem; }

	#home_tabs > ul > li.tab a { font-size: 16px; font-size: 1.6rem; }

	#meet_ed { display: block; }

	.socials_small > div { width: 100%; margin: 0; }
	body.single .socials_small { float: right; margin:0 0 .5em .5em; width: 43%; text-align: right; }
	body.single .socials_small > div#fb { top: 0; right: 2px; }

	footer #disclaimer { float: none; clear:both; margin:20px auto; width: 70%; }
}

@media only screen 
and (max-width : 320px) {
	form.bigform .form-row input#city { width: 95%; }
	form.bigform .form-row select#state, form.bigform .selecter { width:49%; }
	form.bigform .form-row input#zip-form { width: 45%; }

	body.post-type-archive-events #main #content { padding-bottom: 420px; position: relative; }
	body.post-type-archive-events form.bigform { width: 100%; }
	body.post-type-archive-events form.bigform .form-row input.shortfield { width: 35%; }
	body.post-type-archive-events .map { width: 100%; float: none; margin-left: 0; }
	body.post-type-archive-events .twitter_stream { width: 100%; float: none; margin-left: 0; position: absolute; bottom: 0; }

	.endorsement { width: 100%; height: auto; padding: .25em 0; margin-left: -2%; }
}
/* End Responsive 