static/scss/vote.scss
@import "globals";

#page-vote {
  min-height: 100vh;
  position: relative;

  #content {
    @include page;

    // Account for the footer
    padding-bottom: 158px;
    min-height: 874px + 158px;
  }

  footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
  }

  h2 {
    @include heading();
    margin-bottom: 10px;
  }

  h3 {
    @include sub-heading();
  }

  p {
    @include body-copy();
    color: #fff;
  }

  label {
    cursor: pointer;
  }

  #content {
    padding-left: 340px;
  }

  .entrant1 {
    clear: both;
  }

  .button[disabled] {
    background: #ddd;
    cursor: pointer;
  }

  .mini-card__content {
    cursor: pointer;

    &:after {
      content: '';
      display: block;
      background: url(/static/images/checkmark.png);
      opacity: 0;
      position: absolute;
      top: 0;
      left: 0;
      height: 100px;
      width: 100px;
    }

    &--selected:after {
      opacity: 1;
    }
  }

  .mini-card--right .mini-card__content--selected:after {
    left: auto;
    right: 0;
  }

  .mini-card--left {
    position: relative;
    &:after {
      content: 'vs';
      position: absolute;
      padding-top: 12px;
      text-align: center;
      @include border-box();
      font: 28px 'Roboto Condensed', sans-serif;
      right: -40px;
      top: 18px;
      color: #fff;
      background: $standard;
      height: 60px;
      width: 60px;
      overflow: hidden;
      border-radius: 30px;
      z-index: 9001;
      box-shadow: 0 2px 3px rgba(0, 0, 0, .75);

      @media screen and (max-width: 1170px) {
        right: calc(50% - #{spacing(5)});
        font-size: 24px;
        padding-top: 2px;
        top: auto;
        bottom: -30px;
        width: 40px;
        height: 40px;
      }
    }
  }

  .captcha {
    display: flex;
    justify-content: center;
    padding: spacing(2) 0 spacing(4);
  }

  .votes-code {
    margin-bottom: 20px;
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 10000;
    background: rgba(#000, .75);

    &__content {
      background: #fff;
      position: absolute;
      left: 50%;
      top: 50%;
      z-index: 10000;
      transform: translate(-50%, -50%);
      padding: spacing(4) spacing(8);
      border-radius: spacing(1);
      box-shadow: rgba(#000, .75) 5px;
    }

    &__header {
      @include subheading();
      @include subheading--in-light-page();
      padding-bottom: spacing(3);
    }

    &__body {
      @include body();
      @include body--large();
    }
  }


  //
  // MOBILE STYLES
  //

  @media screen and (max-width: $MOBILE-WIDTH) {

    #content {
      @include page;
      padding: 0 spacing(4) 200px;
      min-height: auto;

      header h2 {
        margin: spacing(2) 0;
        line-height: 1;
      }

    }

  }

}
