html, body { padding: 0px; margin: 0px; font-family: 'Lato', sans-serif; font-size: 14px; color: #555555; background-color: #0B2F41; }

body.page-node .text-format-wrapper table.mceLayout, body.page-node .filter-wrapper, body.page-node #wysiwyg-toggle-edit-submitted-message-value, body.page-node .ckeditor_links { display: none !important; }

body.page-node-33  .form-textarea-wrapper { margin-bottom: 40px !important; }

li.date-prev, li.date-next { list-style: none; top: 32px !important; }
.date-nav ul { margin: 0px; padding: 0px; }
.date-nav li a { padding: 5px 10px; }
li.date-prev { right: auto !important; left: 0px !important; }

*:focus { 
    outline: none;
}

#content { background-color: #fff; }

#content a { color: #2787b4; text-decoration: none; }

p { display: block; margin: 0px; padding: 1em 0px; line-height: 1.5em;}
hr {
  height: 10px;
  border: 0px;
  border-bottom: 1px solid #f1f1f1;
  clear: both;
  margin-bottom: 20px;
  display: block;
}

form { text-align: center; }
label { display: block; margin: 10px auto 5px;}
input, textarea { padding: 10px; font-size: 14px; font-weight: lighter; width: 300px; margin-bottom: 10px; border: 1px solid #ccc;    }
input[type=submit] { 
	border: 1px solid #278ebe;
    color: #fff;
    background: #278ebe;
    padding: 8px 15px;
    border-radius: 3px;
    width:100px;
    text-align: center; 
 }

 textarea { width: 320px !important; margin: 0px auto !important; margin-bottom: 30px !important;   }
 .grippie { display: none; }

.sitewidth, .view-recent-news { width: 920px; margin: 0 auto; }

body.front .page__title, #first-time, #skip-link { display: none; }

.flex-container { 
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  }


ul.tabs-primary { 
  padding: 0px;
  margin: 0px 0px 0px auto;
  display: inline-block;
  position: relative;
  bottom: -2px;
  background-color: #fff;
  float: right;
  margin-right: 4px;
  z-index: 500;
   }
ul.tabs-primary li { display: inline-block; list-style: none; margin: 0px; }
ul.tabs-primary li a { text-decoration: none; font-size: 11px; padding: 2px 12px; border: 1px solid #ccc;
	margin-right: -4px; color: #999; display: block;  }
ul.tabs-primary li a.active { background-color: #ccc; color: #fff; }


@keyframes messages {
    from {opacity: 1;}
    to {opacity: 0;}
}
.messages ul { margin: 0px; padding: 0px 5px 0px 15px; }
.messages.status { 
  position: absolute; top: 15%; left: 2%; 
  background-color: rgba(255, 255, 255, 0.7); 
  border-radius: 10px; padding: 10px; 
	box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.3);  
  animation: messages 2s linear 2s normal forwards;
  -webkit-animation: messages 2s linear 2s normal forwards; }
.messages.error { color: #b72322; padding: 10px; border-radius: 10px; border: 1px solid #b72322; margin: 0 auto; width: 300px; }
.submitted { display: none; }

#header { 
	background: url('images/header-bg.jpg') center center no-repeat;
	background-size: cover; 
	color: #fff; 
	min-height: 75px; 
}

.header-logo { margin: 0px auto; text-align: center; display: block; padding-bottom: 10px;   }

a.logo { display: block; width: 40px; height: 40px; text-indent: -900px; overflow: hidden; background: url('images/little-logo.png') center center no-repeat; }


#navigation { background: rgba(0, 0, 0, 0.4); padding: 5px 0px; margin-bottom: 40px;  }

#navigation ul { list-style: none; padding: 10px 0px 10px;  }
#navigation ul li { list-style: none; display: inline-block; margin: 0px 0px 0px 20px; vertical-align: middle;  }
#navigation a { color: #fff; text-decoration: none; }
#navigation .block-title { display: none; }


.welcome-block { 
    background-color: #e5e0d1;
    text-align: center;
    color: #175573;
    font-weight: 300;
    padding: 10px 0px;
    font-size: 2em;
    line-height: 0px;
}
.welcome-block a {
      box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
    transition: box-shadow 0.4s;
}

.three-calls { background-color: #fff; color: #0c77a6; padding: 20px 0px 50px; }
.thirdbox { width: 26%; margin: 0px auto; text-align: center;  }
.thirdbox a { color: #0c77a6; text-decoration: none; }
.thirdbox h3 { text-transform: uppercase; font-size: 1.5em; padding: 50px 0px 100px; margin: 0px; background: url('images/three-calls_updated.png') center center no-repeat;  }

.thirdbox.texting h3 { background-position: 65px 82px; }
.thirdbox.legislative h3 { background-position: center 82px; }
.thirdbox.congress h3 { background-position: -580px 82px; }

.four-calls { background-color: #fff; color: #0c77a6; padding: 20px 0px 50px; }
.fourbox { width: 26%; margin: 0px auto; text-align: center;  }
.fourbox a { color: #0c77a6; text-decoration: none; }
.fourbox h3 { text-transform: uppercase; font-size: 1.5em; padding: 50px 0px 110px; margin: 0px; background: url('images/four_calls.png') center center no-repeat;  }

.fourbox.texting h3 { background-position: 65px 82px; }
.fourbox.vote h3 { background-position: -149px 82px }
.fourbox.legislative h3 { background-position: -367px 82px; }
.fourbox.congress h3 { background-position: -586px 82px; }


.welcome-and-about { 
	color: #fff; 
	padding: 50px 0px; 
	background: #004665 url('images/about-bg.jpg') center center no-repeat; 
	background-size: cover; 
	}

h1, .news-block .block-title { text-align: center; text-transform: uppercase; color: #0c77a6; font-size: 28px; font-weight: normal; }
.welcome-and-about h1, .five-calls h1 { color: #fff; }

.twocol { width: 45%; margin: 0px auto; }
.divider { width: 100%; height: 50px; margin-bottom: 50px; border-bottom: 1px solid rgba(241, 241, 241, 0.3); }



.field-name-field-publish-date, .date-display-single { color: #e0c475; display: block;}

.view-recent-news .view-content { 
  padding-top: 20px; 
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap; 
  -webkit-align-items: flex-start; 
  align-items: flex-start; 
  }
.view-recent-news .view-content p {  line-height: 14px; font-size: 13px; }
.view-recent-news .view-content .views-row { width: 45%; margin: 0px auto 20px 0px; }
.view-recent-news .view-content .views-row img { width: 125px; height: 125px; float: left; margin: 0px 15px 15px 0px; }
.date-display-single { margin-bottom: 0px; }
.views-field-title a { color: #0e6e98; font-weight: bold; text-decoration: none; }
.views-more-link { display: block; color: #0e6e98; padding-top: 5px;  text-decoration: none; }



body.front .view-recent-news .views-row { display: none; }
body.front .view-recent-news .views-row.views-row-1,
body.front .view-recent-news .views-row.views-row-2 { display: block; }

.view-recent-news .view-footer { text-align: center; padding-bottom: 40px;  }

.rss-link { 
    display: inline-block;
    padding: 10px 0px 10px 25px;
    background: url(images/rss_icon.png) left center no-repeat;
    background-size: 17px;
     }


.five-calls { 
	color: #fff; 
	padding: 50px 0px; 
	background: #004665 url('images/header-bg.jpg') center center no-repeat; 
	background-size: cover; 
 }

.fivebox { width: 18%; margin: 20px auto 0px; }
.fivebox a { width: 100%; height: 145px; display: block; 
  background-image: url('images/five-calls2.png'); background-repeat: no-repeat;
  transition: transform .3s; }
.fivebox a:hover { transform: scale(1.05); }

.cont-legi   { background-position: 0px 0px; }
.reg-vote    { background-position: -200px 0px; }
.tell-friend { background-position: -390px 0px; }
.where-vote  { background-position: -590px 0px; }
.events-cal  { background-position: -777px 0px; }

.social-block { min-height: 550px; }
.social-block h2 {   text-align: center;
  text-transform: uppercase;
  color: #0c77a6;
  font-size: 28px;
  font-weight: normal; }
  .social-block .sitewidth { text-align: center; }
.social-block #twitter-widget-0 { width: 300px !important; height: 427px; display: inline-block !important; margin-right: 50px !important;   }
#fb-iframe { display: inline-block !important; margin: 0px; }


.region-header .block-webform h2 { text-align: center; font-size: 100%; font-weight: normal;  }
body.front .region-header { padding-bottom: 40px; }

.region-header .header-btn {
    display: block;
    text-align: center;
    margin: 0px auto;
    padding: 10px;
    text-decoration: none;
    color: #fff;
    background-color: #e0c475;
    font-size: 17px;
    text-transform: uppercase;
    box-shadow: 1px 1px 10px #063c54;
    border-radius: 2px;
    width: 90%;
    max-width: 350px;
    text-shadow: -1px -1px 0px #b19c62;
    letter-spacing: 0.05em;
    line-height: 1.3em;
}

.footer-block { background-color: #1e6a8e; padding: 30px 0px; color: #fff; line-height: 26px; box-shadow: 0px 10px 20px #09222D;
	border-top: 4px solid #e0c475; }
.footer-block a { color: #fff; text-decoration: none; }

.footerbox { margin: 0px auto; width: auto; border-left: 1px solid #0c597e; padding-left: 20px; text-align: left; padding-top: 20px;  }
.footerbox.first { width: 145px; border-left: none; padding-left: 0px; margin-left: 0px; padding-top: 0px;  }
.footerlogo { width: 145px; height: 145px; background:  url('images/footer-logo.png') center center no-repeat;}

.footerbox.social a { display: inline-block; width: 30px; height: 30px; overflow: hidden; background-image: url('images/social-icons.png'); text-indent: -900px; }
.footer-facebook { background-position: 57px 0px; }
.footer-twitter { background-position: 57px 79px; }
.footer-youtube { background-position: 57px 39px; }

.menu-fb { 
display: inline-block; width: 30px; height: 30px; overflow: hidden; background-image: url('images/social-icons.png'); text-indent: -900px;
	background-position: 57px 3px; }
.menu-tw { 
display: inline-block; width: 30px; height: 30px; overflow: hidden; background-image: url('images/social-icons.png'); text-indent: -900px;
	background-position: 57px 82px; }
.menu-yt { 
display: inline-block; width: 30px; height: 30px; overflow: hidden; background-image: url('images/social-icons.png'); text-indent: -900px;
	background-position: 57px 42px; }

body.not-front #content .sitewidth { min-height: 400px; padding-bottom: 40px; padding-top: 30px; max-width: 800px;  }
body.not-front #navigation { margin-bottom: 0px; }

body.not-front table tr td {
  border-bottom: 1px solid #f1f1f1;
}
td.table-last-col {
    width: 176px;
    padding: 0px 0px 0px 10px;
}
body.not-front table a.button {
  display:inline-block;
  background-color: #1e6a8e;
  padding: 5px 10px;
  border-radius: 5px;
  color: #fff !important;
  margin-top: 5px;
}

body.not-front.page-views #content .sitewidth { min-height: 400px; padding-bottom: 40px; padding-top: 30px; max-width: 930px;  }

body.node-type-webform ul.tabs-primary, body.page-user ul.tabs-primary, body.page-event-created ul.tabs-primary {
  padding: 0px;
  margin: 10px auto 0px;
  display: block;
  text-align: center;
  display: block;
  bottom: 0px;
  background-color: #fff;
  float: none;
  }

  .g-recaptcha > div {
    margin: 0px auto 20px;
}

  #textmessageform { text-align: left; width: 425px; margin: 0 auto; }
  #textmessageform dd { text-align: left; margin: 0px !important;}
  dd #person_first_name, dd #person_last_name { width: 150px;  }
  dd #person_city { width: 200px; }
  dd #person_state { width: 40px; }
  dd #person_postal_code { width: 100px; }

 body.page-user .description { display: none; }

.iframe-wrap { 
  width: 100%; 
  text-align: center; 
  background-color: #f1f1f1; 
  position: relative; 
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;

}
iframe { 
  display: block; 
}

.iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

body.page-videos iframe { margin: 0px auto !important; display: block !important; max-width: 920px !important; }

article {   border-top: 1px solid #336699; padding-top: 10px; margin-top: 40px;}
article img { border: 1px solid #e0c475; border-bottom-width: 5px; vertical-align: middle; max-width: 100%; height: auto;  }


.twitter-timeline { width: 300px !important; height: 430px !important; margin-right: 20px;  }

#rufous-sandbox { display: none !important; }

.footer-login { 
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  }
.login-form { background-color: #E5E0D1; padding: 80px 0px;}
.login-btn { display: block; padding: 20px; color: #336699; background-color: #fff; font-size: 20px; margin: auto; font-weight: lighter;   }
.newsletter-btn { display: block; padding: 20px; color: #fff !important; background-color: #e0c475; font-size: 20px;  margin: auto; font-weight: lighter;  }
.button-divider { display: block; margin: 0px; width: 1px; height: 80px; background-color: #fff;   }


.togglemenubtn { height: 0px; overflow: hidden; }


.pdf-tile {
    display: block;
    background-color: #f1f1f1;
    border-radius: 10px;
    margin: 0px auto 20px;
    width: 70%;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
    transition: box-shadow 0.2s;
}

.welcome-block a:hover, .pdf-tile:hover {
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.20);
}

.pdf-tile img {
    height: auto;
    vertical-align: middle;
    width: 20px;
    margin-left: 10px;
    position: relative;
    top: -1px;
}

.pdf-tile a {
    display: inline-block;
    padding: 15px 0px 15px 40px;
    width: 90%;
    margin-left: -30px;
    cursor: pointer;
}

#block-block-9 p {
    display: inline-block;
    width: 19.6%;
    margin: 2px 0px;
}
#block-block-9 p a {
    display: block;
    background: #f1f1f1;
    text-align: center;
    padding: 32px 0px;
    font-size: 16px;
}
#block-block-9 p a:hover {
    background: #eaeaea;
}

.aflcio, .openstate {
    display: inline-block;
    width: 190px;
    margin: 2px 0px 2px 0px;
}
.aflcio a, .openstate a {
    display: block;
    background: #f1f1f1;
    text-align: center;
    padding: 16px 0px;
    font-size: 16px;
    margin-bottom: 25px;
    
}
.aflcio a:hover, .openstate a:hover {
    background: #eaeaea;
}

.openstate {

}

.page-state-battles .view-header {
  float: right;
}

.page-state-battles .openstate-text {
  text-align: center;
}

#block-views-state-battles-block-2 .views-row {
  margin-bottom: 20px;
}

#block-views-state-battles-block-2 .views-field-title {

}

.page-state-battles .views-field-field-state, .page-state-battles .views-field-field-state-1 {
  display: none;
}

.page-state-battles .view-state-battles h3 {
  color: #e0c475;
  font-size: 20px;
}

.page-state-battles .view-state-battles .views-row {
  margin-left: 30px;
}

.page-state-battles .view-state-battles p {
      padding: 2px 0px 10px;
}

.state-title-color {
  color: #ffc545;
}

.nolink-title, .views-field-views-conditional a {
  font-weight: bold;
  font-size: 16px;
}

.view-recent-videos .view-header {
      max-width: 638px;
    margin: 0 auto 20px;
}

.view-recent-videos .view-header img {
      max-width: 638px;
}






/* BATTLEGROUND RACES page */

body.page-node-171 .block-views {
    border-bottom: 2px solid #20698e;
    padding: 20px;
}

body.page-node-171 .block-views .view .view-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
body.page-node-171 .block-views .view .view-content h3 {
	width: 100%;
	display: block;
	flex-grow: 2;
	text-align: center;
}
body.page-node-171 .block-views .view .views-row {
    text-align: center;
    padding: 10px;
    min-width: 22%;
}

body.page-node-171 .block-views .block__title { 
	width: 100%;
	text-align: center; 
}

body.page-node-171 .block-views:nth-child(odd) {
    background-color: #f1f1f1;
    padding: 20px;
}

body.page-node-171 h2 {
    font-size: 30px;
    font-weight: 900;
    color: #246b84;
    text-transform: uppercase;
}

#block-views-battleground-block-2 h3 {
    font-size: 25px;
    margin: 15px 0px 10px;
    text-transform: uppercase;
}
#block-views-battleground-block-2 h3:after {
    display: block;
    content: " ";
    width: 150px;
    height: 2px;
    background-color: #56a2bb;
    margin: 5px auto;
}

.battleground-extra-links {
    background-color: #f1f1f1;
    padding: 5px;
    text-align: center;
    color: #368db8;
}
.battleground-extra-links a {
  display: inline-block;
  padding: 0px 10px;
}



@font-face {
    font-family: 'know_your_productregular';
    src: url('fonts/know_your_product-webfont.woff');
    src: url('fonts/know_your_product-webfont.woff2') format('woff2'),
         url('fonts/know_your_product-webfont.woff') format('woff'),
    font-weight: normal;
    font-style: normal;
}

.iframe-wrap.battleground-video {
    height: 315px;
    background: #004665 url(images/header-bg.jpg) center center no-repeat;
    width: 80%;
    margin: 0px auto;
    position: relative;
    padding: 0px !important;
}

iframe {
    display: block;
    margin: 0px auto;
}

.iframe-wrap.battleground-video iframe  {
	position: absolute;
    top: 0;
    left: 20%;
    width: 60%;
    height: 100%;
    margin: 0px auto;
}

.bg-header-buttons a {
    width: 130px;
    height: 145px;
    display: inline-block;
    background-image: url(images/battleground_icons.png);
    background-repeat: no-repeat;
    transition: transform .3s;
    position: absolute;
    top: 30%;
}
.bg-header-buttons a:hover {
    transform: scale(1.05);
}
a.where-to-vote {
    background-position: -393px 0px;
    left: 35px;
}
a.register-to-vote {
  background-position: -200px 0px;
  right: 35px; 
}

body.page-node-171 #content {
  background: #fff;
}

body.page-node-171 #content .sitewidth { 
  max-width: 960px !important;
  width: 100% !important; 
}
body.page-node-171 #content .sitewidth:after {
    display: block;
    content: " ";
    clear: both;
    width: 100%;
    height: 1px;
}

body.page-node-171 article { margin-top: 0px; }

body.page-node-171 #page-title {
    margin: 0px 0px;
    font-family: 'know_your_productregular', sans-serif;
    background: #ffffff url(images/battleground_header_2020.jpg) center center no-repeat;
    background-size: 100%;
    height: 309px;
    position: relative;
    box-shadow: 0px 0px 50px #fff;
    text-indent: -9000px;
    overflow: hidden;
    width: 100%;
}

body.page-node-171 #page-title span {
    display: block;
    font-size: 72px;
    color: #ffffff;
    text-shadow: 0 1px 0 rgb(204,204,204) , 0 2px 0 rgb(201,201,201) , 0 3px 0 rgb(187,187,187) , 0 4px 0 rgb(185,185,185) , 0 5px 0 rgb(170,170,170) , 0 6px 1px rgba(0,0,0,0.0980392) , 0 0 5px rgba(0,0,0,0.0980392) , 0 1px 3px rgba(0,0,0,0.298039) , 0 3px 5px rgba(0,0,0,0.2) , 0 5px 10px rgba(0,0,0,0.247059) , 0 10px 10px rgba(0,0,0,0.2) , 0 20px 20px rgba(0,0,0,0.14902) ;
    line-height: 1em;
    position: absolute;
    top: 50%;
    transform: rotate(1deg) translateY(-50%);
    width: 100%;
    text-align: center;
    letter-spacing: -0.04em;

/*text-shadow:0px 0px 0 rgb(236,236,236),1px -1px 0 rgb(227,227,227),2px -2px 0 rgb(218,218,218),3px -3px 0 rgb(209,209,209),4px -4px 0 rgb(200,200,200),5px -5px 0 rgb(191,191,191),6px -6px 0 rgb(182,182,182),7px -7px 0 rgb(172,172,172),8px -8px 0 rgb(163,163,163),9px -9px 0 rgb(154,154,154),10px -10px 0 rgb(145,145,145),11px -11px 0 rgb(136,136,136),12px -12px 0 rgb(127,127,127),13px -13px 0 rgb(118,118,118), 14px -14px 0 rgb(109,109,109),15px -15px 14px rgba(0,0,0,0.5),15px -15px 1px rgba(0,0,0,0.5),0px 0px 14px rgba(0,0,0,.2);
*/
}

body.page-node-171 blockquote {
    border-left: 4px solid #e0c475;
    padding-left: 10px;
    margin-left: 15px;
    background-color: rgba(241, 241, 241, 0.46);
}

#block-views-battleground-block.contextual-links-region, 
#block-views-battleground-block-1.contextual-links-region,
#block-views-battleground-block-2.contextual-links-region {
  position: initial;
}

body.page-node-171 .headshot-wrap {
    width: 150px;
    height: 150px;
    border-radius: 100%;
    overflow: hidden;
    border: 4px solid #ccc;
    background-color: #ccc;
    margin: 0px auto;
    cursor: pointer;
}
#block-views-battleground-block-2 .headshot-wrap {
    width: 150px;
    height: 150px;
    border-radius: 100%;
    overflow: hidden;
    border: 4px solid #ccc;
    background-color: #ccc;
    margin: 0px auto;
    cursor: pointer;
}


body.page-node-171 .candidate-name {
    margin: 5px 0px 25px;
    color: #0d77a6;
    letter-spacing: 0.05em;
    cursor: pointer;
}
body.page-node-171 .headshot-wrap img {
    width: 100%;
    height: auto;
}
#block-views-battleground-block {
  /*width: 25%; */
  width: 100%;
  display: inline-block; vertical-align: top;
  text-align: center;
  float: none;
  box-sizing: border-box;
}

#block-views-battleground-block .views-row {
  display: inline-block;
  vertical-align: top;
  width: 33%;
}

/*
#block-views-battleground-block-1 {
  width: 25%;
  display: inline-block; vertical-align: top;
  text-align: center;
  float: none;
  box-sizing: border-box;
}
#block-views-battleground-block-2,
#block-views-battleground-block-3 {
  display: inline-block; 
  vertical-align: top;
  width: 50%;
  text-align: center;
  float: none;
  box-sizing: border-box;
}

#block-views-battleground-block-2 {
  height: 400px;
  border-bottom: 1px solid #ccc;
  margin-bottom: 30px;
}
*/

#block-views-battleground-block-2 .candidate-name { margin: 5px 0px 5px; }


.headshot-wrap:hover {
  opacity: 0.9;
}

.candidate-details {
    display: none;
    text-align: left;
    position: fixed;
    background-color: #fff;
    padding: 20px;
    box-sizing: border-box;
    top: 50px;
    left: 20%;
    width: 60%;
    z-index: 999;
    max-height: 90vh;
    overflow: auto;
    border-radius: 5px;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.3), inset 0px -35px 25px -20px rgba(0, 0, 0, 0.1);
}

.details-wrap {
  max-width: 600px;
  margin: 0px auto; padding: 0px 0px 20px;
}
.details-wrap h2 {
  font-size: 30px;
  color: #1e6a8e;
}
.details-wrap ul {
    display: block;
    background: #f1f1f1;
    padding: 20px 20px 20px 40px;
    margin: 0px;
    border-radius: 15px;
}
.details-wrap li {
    display: block;
    margin: 0px 0px 15px 0px;
    padding: 0px 0px 0px 0px;
}
.details-wrap li p { display: inline !important; }

.details-wrap li:before {
    content: "•";
    display: inline-block;
    padding: 0px 5px 0px 0px;
}




.close-details {
    display: block;
    position: fixed;
    top: 50px;
    right: 20%;
    color: #1e6a8e;
    z-index: 999;
    height: 15px;
    cursor: pointer;
    font-size: 12px;
    background-color: #fff;
    padding: 10px;
    box-shadow: -1px 1px 1px rgba(30, 106, 142, 0.22);
}
.close-details:after {
    content: " [close]";
}

.large-candidate-photo {
    width: 250px;
    background-color: #ccc;
    text-align: center;
    border-radius: 100%;
    padding: 0px;
    overflow: hidden;
    height: 250px;
    float: left;
    shape-outside: circle(50%);
    margin: 10px 35px 10px 50px;
}
.large-candidate-photo img {
  margin: 0px auto; line-height: 0px; padding: 0px; display: block;
  width: 100%; max-width: 350px; height: auto;
}


.battleground-c2a {
    background-color: #0a2e41;
    padding: 20px 0px;
}

.battleground-c2a, .battleground-c2a-wrap {
    width: 100%;
    text-align: center;
    clear: both;
}
.battleground-c2a-wrap a {
    display: inline-block;
    width: 45%;
    padding: 17px 5px;
    text-align: center;
    background-color: #1e6a8e;
    color: #fff !important;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: bold;
    margin: 1%;
}


/* HOMEPAGE ANIMATED BUTTON */


  @-webkit-keyframes mapdrop {
      0% {  -webkit-transform: translateY(-80px);  transform: translateY(-80px); opacity: 0; }
      50% { -webkit-transform: translateY(-40px); transform: translateY(-40px); opacity: 0.3; }
      100% { -webkit-transform: translateY(0px); transform: translateY(0px); opacity: 1; }
  }


  @keyframes mapdrop {
      0% {  -webkit-transform: translateY(-80px);  transform: translateY(-80px); opacity: 0; }
      50% { -webkit-transform: translateY(-40px); transform: translateY(-40px); opacity: 0.3; }
      100% { -webkit-transform: translateY(0px); transform: translateY(0px); opacity: 1; }
  }

  @-webkit-keyframes titledrop {
      0% {  -webkit-transform: translateY(-80px);  transform: translateY(-80px); opacity: 0; }
      50% { -webkit-transform: translateY(-40px) scaleY(1); transform: translateY(-40px) scaleY(1); opacity: 0.3; }
      80% { -webkit-transform: translateY(0px) scaleY(1); transform: translateY(0px) scaleY(1); opacity: 1; }
      90% { -webkit-transform: translateY(0px) scaleY(0.8); transform: translateY(0px) scaleY(0.8); opacity: 1; }
      100% { -webkit-transform: scaleY(1); transform: scaleY(1); opacity: 1; }
  }

  @keyframes titledrop {
      0% {  -webkit-transform: translateY(-80px);  transform: translateY(-80px); opacity: 0; }
      50% { -webkit-transform: translateY(-40px) scaleY(1); transform: translateY(-40px) scaleY(1); opacity: 0.3; }
      80% { -webkit-transform: translateY(0px) scaleY(1); transform: translateY(0px) scaleY(1); opacity: 1; }
      90% { -webkit-transform: translateY(0px) scaleY(0.8); transform: translateY(0px) scaleY(0.8); opacity: 1; }
      100% { -webkit-transform: scaleY(1); transform: scaleY(1); opacity: 1; }
  }


  .battleground-btn-wrap { 
    position: relative;
    width: 550px;
    height: 220px;
    margin: 20px auto;
  }

  #battlegroundbtn { 
    display: block;
    transition: transform .5s;
    text-align: center;
    color: #fff;
    text-decoration: none;
    letter-spacing: .08em;
  }
  #battlegroundbtn:hover { transform: scale(1.05); }

.block.battleground-c2a {
    background: url(images/ua_battle_bg.jpg);
    background-size: cover;
}

  .battleground-btn-layer {
    background-size: 100%;
    background-position: center center;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%; 
    -webkit-transform: scaleX(1);
        -ms-transform: scaleX(1);
            transform: scaleX(1);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
      -webkit-animation-fill-mode: forwards;
              animation-fill-mode: forwards;
      opacity: 0;
      background-repeat: no-repeat;
  }
  .bbl1 { 
    background-image: url('/sites/all/themes/getinvolved/css/images/battleground_layer1.png'); 
      -webkit-animation-name: mapdrop; 
              animation-name: mapdrop;
      -webkit-animation-duration: 0.4s;
              animation-duration: 0.4s;
      -webkit-animation-delay: 1s;
              animation-delay: 1s;
       height: 100%;
    min-height: 100%;
    }
  .bbl2 { 
    background-image: url('/sites/all/themes/getinvolved/css/images/battleground_layer2-2.png'); 
    -webkit-animation-name: titledrop; 
            animation-name: titledrop;
      -webkit-animation-duration: 0.3s;
              animation-duration: 0.3s;
      -webkit-animation-delay: 1.6s;
              animation-delay: 1.6s;
      padding-bottom: 12%;
      top: 14%;
    }
  .bbl3 { 
    background-image: url('/sites/all/themes/getinvolved/css/images/battleground_layer3-2.png'); 
    -webkit-animation-name: titledrop; 
            animation-name: titledrop;
      -webkit-animation-duration: 0.3s;
              animation-duration: 0.3s;
      -webkit-animation-delay: 2s;
              animation-delay: 2s;
      padding-bottom: 17%;
      top: 35%;
    }
    .bbl4 { 
    background-image: url('/sites/all/themes/getinvolved/css/images/battleground_layer4_2020.png'); 
    -webkit-animation-name: titledrop; 
            animation-name: titledrop;
      -webkit-animation-duration: 0.3s;
              animation-duration: 0.3s;
      -webkit-animation-delay: 2s;
              animation-delay: 2.3s;
      padding-bottom: 5%;
      top: 71%;
    }

@media (max-width: 550px) {
      .battleground-btn-wrap {
        position: relative;
        width: 100%;
        height: 0px;
        padding-bottom: 40%;
        margin: 20px auto;
    }
      .bbl1 {
        width: 100%;
        height: 0px;
        min-height: initial;
        padding-bottom: 39%;
        background-size: 100%;
    }
      .bbl2 {
        width: 100%;
        height: 0px;
        min-height: initial;
        padding-bottom: 15%;
        background-size: 100%;
    }

    .iframe-wrap.battleground-video iframe { width: 100%; left: 0px; }

}


/* END HOMEPAGE ANIMATED BUTTON */





.block-webform.battleground-alerts-form h2.block-title {
  text-align: right;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #336699 !important;
}

.block-webform.battleground-alerts-form {
  box-sizing: border-box;
  position: fixed;
  top: 100px;
  width: 90%;
  max-width: 650px;
  text-align: center;
  background-color: #fff;
  border: 2px solid #336699;
  border-radius: 10px;
  box-shadow: 0px 0px 20px rgba(0,0,0,0.3);
  padding: 5px 20px 20px;
  left: calc(50% - 325px);
}
.block-webform.battleground-alerts-form h2.node__title.node-title {
    font-size: 25px !important;
    font-weight: 200 !important;
    margin: 0px auto 20px !important;
    text-transform: uppercase;
}
.block-webform.battleground-alerts-form article {
  margin-top: 0px !important;
}



.action-button { transition: text-shadow .3s; }

.action-button:hover {
  text-shadow: 3px 3px 10px #ccc !important;
}











@media (max-width: 750px) {
  .block-webform.battleground-alerts-form {
        width: 90%;
        left: 5%;
        padding: 5px;
  }
}







@media (max-width: 950px) {
  .sitewidth, .view-recent-news { width: 80%; }
  .twocol { width: 100%; }
  .twitter-timeline { margin: 0 auto; }
  .fivebox { width: 25%;}

  .thirdbox h3 {
    background-image: url('images/ua_icons_smaller.png');
    padding: 62px 0px 0px;
    background-position: center -3px !important;
  }
  .thirdbox.legislative h3 { background-position: center -145px !important;}
  .thirdbox.congress h3    { background-position: center -288px !important;}
  .candidate-details {
    left: 10%;
    width: 80%;
  }

  .four-calls .flex-container {
    display: block;
  }
  .fourbox {
    width: 240px;
    margin: 10px auto;
  }
  .close-details { right: 10%; }
  body.page-node-171 #content .sitewidth {
    width: 100% !important;
    position: relative;
  }
  .candidate-detail-video { margin-bottom: 10px; }
  .videoWrapper,
  .candidate-detail-video {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0px;
    height: 0;
  }
  .videoWrapper iframe,
  .candidate-detail-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0px;
    height: 100%;
  }

  a.where-to-vote {
      background-position: -608px 0px;
      left: 2%;
  }
  a.register-to-vote {
    background-position: -200px 0px;
    right: 2%; 
  }


}
@media (max-width: 760px) {
  .thirdbox { display: inline-block; vertical-align: top; margin: 0px 2%;}
  .fivebox { width: 20%; display: inline-block; margin-left: 8%; }
  .flex-container { display: block; }
  .sitewidth, .view-recent-news { width: 90%; }
  .footerbox { padding-left: 7px; }
  .footerbox.first, .footerbox.social, #block-block-8 { display: none; }
  .twitter-timeline { margin: 0 auto; }

  #navigation ul li {
    list-style: none;
    display: block;
    margin: 25px 0px 0px 20px;
    vertical-align: middle; }
  #navigation ul {
    list-style: none;
    padding: 10px 0px 10px;
    height: 31px;
    overflow: hidden;
    transition: height 0.5s;
    }
    #navigation ul.dropped { height: 460px; }
    .menu__item.first { margin: 0px !important; padding: 0px; }
    .togglemenubtn { height: 20px; overflow: hidden; color: #fff; position: absolute; left: 90px; top: 40px;  }

    .bg-header-buttons { display: none; }

}


@media (max-width: 650px) {

body.page-node-171 #page-title span { font-size: 35px; }
body.page-node-171 #page-title span:after { font-size: 18px; }
#block-views-battleground-block,
#block-views-battleground-block-1,
#block-views-battleground-block-2,
#block-views-battleground-block-3 {
	float:none;
	width: 100%;
  box-sizing: border-box !important;
	border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
    padding-bottom: 20px;
    height: initial;
}

.battleground-c2a-wrap a {
  font-size: 11px;
}

body.page-node-171 .views-row {
    min-width: 160px;
    width: 49%;
    margin: 0px auto;
    box-sizing: border-box;
	}
#block-views-battleground-block-2 .views-row,
#block-views-battleground-block .views-row {
    min-width: 160px;
    width: 49%;
    margin: 0px auto;
    box-sizing: border-box;
	}
#block-views-battleground-block-1 { margin-top: 0px; }
#block-views-battleground-block-2 {
}
#block-views-battleground-block { margin-top: 20px; }

#block-block-11 .battleground-btn-wrap a { width: 95%; box-sizing: border-box; }

.large-candidate-photo {
    float: none;
    shape-outside: initial;
    margin: 10px auto;
	}
.candidate-details {
	left: 5%;
	width: 90%;
	}
.close-details { right: 5%; }
}


@media (max-width: 500px) {
  #block-views-state-battles-block-1 .view-header, #block-views-state-battles-block-1 .view-content {
    display: block;
    width: 190px;
    margin: 0 auto;
    float: none;
  }
  .aflcio a, .openstate a {
    margin-bottom: 10px;
  }
  .header-logo { width: 100%; height: auto; }
  .thirdbox { width: 80%; display: block; margin: 30px auto;  }
  .fivebox { width: 40%; display: inline-block; margin-left: 8%; }
}



