/* fix for banner border when text position cover is being used */
.bodyBanner .bannerText { position: relative; }
.bodyBanner .bannerText.cover { text-align: center; }

/* fix for banner button on certain pages */
.grid-5col--center-main {
  position: relative;
  z-index: 1;
}

div.twitter-tweet, iframe[src^="https://www.facebook.com"] { margin: 10px auto; }

/* temp home of fix for banners on pages that use .content-middle-grid--wrapper and .program-middle-grid */
#election-body.content-middle-grid--wrapper .program-middle-grid + .bodyBanner {
  max-width: 650px;
  margin-left: 80px;
}

@media only screen and (max-width: 1024px) {
  #election-body.content-middle-grid--wrapper .program-middle-grid + .bodyBanner {
    margin-left: 40px;
  }
}

@media only screen and (max-width: 600px) {
  #election-body.content-middle-grid--wrapper .program-middle-grid + .bodyBanner {
    margin-left: 0;
  }
}

/* temp home of fix for banners on blog posts */
#blog-body.content-middle-grid--wrapper .bodyBanner {
  max-width: 650px;
  margin-left: 320px;
}

/* media queries for the banner fix */
@media only screen and (max-width: 1024px) {
  #blog-body.content-middle-grid--wrapper .bodyBanner {
    margin-left: 120px;
  }
}

@media only screen and (max-width: 760px) {
  #blog-body.content-middle-grid--wrapper .bodyBanner {
    max-width: calc(95% - 115px);
    margin-left: 120px;
  }
}

@media only screen and (max-width: 600px) {
  #blog-body.content-middle-grid--wrapper .bodyBanner {
    max-width: 95%;
    margin: 1.25rem auto;
  }
}

/* styling for links on The Brady Plan page */
.plan-item--copy a {
  background-color: #5C068C;
  /* background-color: #8721C0; */
  color: #fff;
  padding: 0 3px;
  transition: background-color .3s ease, color 0.3s ease;
}

.plan-item--copy a:hover {
  background-color: #ccc;
  color: #5C068C;
}

/* gives the text for Brady Plan items a little more breathing room, esepcially helpful with the new links/link style */
.plan-item--copy { line-height: 1.25em; }

.collage .quilt__item img:hover{
  -webkit-filter: brightness(100%);
  filter: brightness(100%);
  -webkit-transform: scale(0.97);
  transform: scale(0.97);
}