.bcapopup {
  z-index: 99998; }
  .bcapopup .post-edit-link {
    font-size: .75em;
    position: absolute;
    left: 0;
    top: 0; }
  .bcapopup .aftercontent {
    display: none; }
  .bcapopup .content-inner, .bcapopup .content-form, .bcapopup .content-after-form {
    font-size: .9375em;
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; }
  .bcapopup p {
    margin: 0 0 1em; }

.bcapopup .close {
  display: block;
  position: absolute;
  text-decoration: none;
  border: none;
  padding: .5em;
  transition: .2s all;
  right: 0;
  bottom: 0; }
  .bcapopup .close span {
    display: block;
    background: #222;
    color: #ccc;
    padding: .5em;
    width: 1em;
    height: 1em;
    line-height: 1em;
    border-radius: 1em;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3); }
  .bcapopup .close:hover span {
    text-shadow: 0 0 .5em #fff;
    background: #2f2f2f; }

.bcapop_content {
  position: relative;
  border: 0.25em solid #c00;
  z-index: 1;
  color: #333;
  padding: 1em;
  background: #eee;
  box-shadow: 0 0 1em rgba(0, 0, 0, 0.5);
  margin: 0 auto; }

/* Popup is an overlay if we have enough room for content */
@media screen and (min-width: 36em) and (min-height: 36em) {
  .bcapopup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 3em; }
    .bcapopup .close {
      right: -1.5em;
      top: -1.5em;
      bottom: auto; }
  .bcapop_inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2em;
    display: flex;
    align-items: center;
    justify-content: center; }
  .bcapop_content {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center; }
    .bcapop_content .featured-image {
      margin: 0 1em 0 0;
      grid-row: 1; }
    .bcapop_content .content-inner {
      text-align: left;
      margin-left: 1em; }
    .bcapop_content .content-form {
      margin-left: 1em;
      grid-row: 1 / 3; }
    .bcapop_banner-left .bcapop_content {
      left: 0; }
    .bcapop_banner-right .bcapop_content {
      right: 0; }
  .bcapop_overlay {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7); } }

/* Taller? Left & Right Popups get full treatment */
@media screen and (min-width: 36em) and (min-height: 48em) {
  .bcapop_banner-left, .bcapop_banner-right {
    top: auto; }
    .bcapop_banner-left .bcapop_inner, .bcapop_banner-right .bcapop_inner {
      max-width: 72em;
      margin: 0 auto;
      position: absolute;
      left: 0;
      right: 0;
      border: 0;
      background: none;
      box-shadow: none; }
    .bcapop_banner-left .bcapop_content, .bcapop_banner-right .bcapop_content {
      width: 22.5em;
      /* = 360px = already-set featured image width */
      display: block;
      /* remove grid */
      position: absolute;
      border-width: .5em 0 0;
      bottom: 0; }
      .bcapop_banner-left .bcapop_content .featured-image, .bcapop_banner-right .bcapop_content .featured-image {
        margin: -1.5em -1em 1em;
        border-bottom: 0.5em solid #c00; }
        .bcapop_banner-left .bcapop_content .featured-image img, .bcapop_banner-right .bcapop_content .featured-image img {
          display: block;
          height: 180px; }
    .bcapop_banner-left .bcapop_overlay, .bcapop_banner-right .bcapop_overlay {
      display: none; }
  .bcapop_banner-left .close {
    top: -1.75em;
    right: -1.5em; }
  .bcapop_banner-right .close {
    top: -1.75em;
    left: -1.5em; }
  .bcapop_banner-left .bcapop_content {
    left: 0; }
  .bcapop_banner-right .bcapop_content {
    right: 0; }
  .bcapop_banner-left .post-edit-link {
    top: -2em; }
  .bcapop_banner-right .post-edit-link {
    top: -2em;
    right: 0;
    left: auto; } }

/* Wider? Top & Bottom Popups get put in place */
@media screen and (min-width: 48em) and (min-height: 36em) {
  .bcapop_banner-top .bcapop_content,
  .bcapop_banner-bottom .bcapop_content {
    max-width: 75em;
    padding: 1.5em;
    border: 0;
    box-shadow: none; }
  .bcapop_banner-top .bcapop_inner,
  .bcapop_banner-bottom .bcapop_inner {
    display: block;
    padding: 0;
    background: #eee;
    box-shadow: 0 0 1em rgba(0, 0, 0, 0.5); }
  .bcapop_banner-top .bcapop_overlay,
  .bcapop_banner-bottom .bcapop_overlay {
    display: none; }
  .bcapop_banner-top {
    bottom: auto; }
    .bcapop_banner-top .bcapop_inner {
      bottom: auto;
      border-bottom: 0.5em solid #c00; }
    .bcapop_banner-top .close {
      top: auto;
      right: 2em;
      bottom: -1.75em; }
  .bcapop_banner-bottom {
    top: auto; }
    .bcapop_banner-bottom .bcapop_inner {
      top: auto;
      border-top: 0.5em solid #c00; }
    .bcapop_banner-bottom .bcapop_content {
      align-items: flex-start; }
    .bcapop_banner-bottom .close {
      top: -1.75em;
      right: 2em; } }

/* Wider still? Top & Bottom Popups get full treatment */
@media screen and (min-width: 54em) and (min-height: 36em) {
  .bcapop_banner-top .bcapop_content,
  .bcapop_banner-bottom .bcapop_content {
    display: flex; }
  .bcapop_banner-top .content-inner,
  .bcapop_banner-top .content-form,
  .bcapop_banner-bottom .content-inner,
  .bcapop_banner-bottom .content-form {
    flex: 1; } }

/*# sourceMappingURL=bca-popups.css.map */