@import "client/common";

$fluid-break: 1100px;
$copy-color-on-dark: #b9b9b9;
$cta-color: #e03d04;


@mixin layout-small {
  @media (max-width: #{$fluid-break - 1px}) {
    @content;
  }
}

@mixin layout-normal {
  @media (min-width: #{$fluid-break}) {
    @content;
  }
}


body.web.retailer_register {

  h1.web-tagline {
    @include layout-small {
      display: none;
    }
  }

  .header-area {
    padding-top:30px;
    text-align:center;
    margin-bottom:40px;
  }

  .explain {
    margin-bottom:40px;
    text-align:center;

    p {
      display:inline-block;
      text-align: left;
      width:600px;
    }
  }

  .field {
    margin-top:1px;
  }
  .header-content {
    display:inline-block;
  }

  .retailer-logo {
    margin-right:60px;
    float:left;

    img {
      max-width:225px;
      max-height:225px;
    }
  }

  .headers {
    float:left;
    text-align:left;
    padding-top:64px;
    h1 {
      margin-bottom:10px;
    }
    h2 {
      font-size:16px;
    }
  }

  .register-area {
    text-align:center;
    width:400px;
    margin:0 auto;

    input {
      background-color: $copy-color-on-dark;
      color: black;
      font-size: 16px;

      @include layout-small {
        font-size:30pt;
      }
      &[name="terms"] {
        width:auto;
        line-height:24px;
        vertical-align:middle;

        @include layout-small {
          line-height:125%;
        }
      }
    }
    .checkbox-wrap {
      float: left;
      margin-top: 6px;
      margin-left:64px;
      @include border_box_sizing;
      text-align:right;

      input {
        height:auto;
        @include layout-small {
          height: 30pt !important;
          width: 30pt !important;
        }
      }
      @include layout-small {
        width:40%;
        margin-left:0;
        .icheckbox_minimal {
          right: -18px;
        }
      }
      .icheckbox_minimal {

      }
    }
    .cta-button {
      font-size: 24px;
      color: white;
      background-color: $cta-color;
      text-align: center;
      padding: 10px;
      display: block;
      width: 100%;
      border: 1px outset buttonface;
      font-family: Raleway, Arial, Helvetica, sans-serif;

      @include layout-small {
        font-size:30pt;
      }
    }

    .privacy-policy {
      margin-top:10px;
      line-height:125%;

    }

    form {
      display:inline-block;
    }
    .errors {
      font-size:12px;
      height:20px;
      margin:0;
      visibility: hidden;
      text-align: center;
      color: red;
      font-weight: bold;

      &.active {
        visibility: visible;
      }

      @include layout-small {
        font-size:20pt;
        height:32pt;
      }
    }
    label {
      text-align:left;
      width:100px;
      display: inline-block;
      height: 36px;
      vertical-align: middle;
      line-height: 36px;
      margin-bottom: 15px;
      @include border-box_sizing;

      &.terms-help {
        color:$ColorTextTypical;
        width:205px;
        height:28px;
        line-height:14px;
        float:right;
        @include layout-small {
          line-height:125%;
        }
      }
      @include layout-small {
        height:40pt;
        font-size:30pt;
      }
    }
    input {
      width: 206px;
      height: 36px;
      float: right;
      margin-bottom: 15px;
      @include border-box_sizing;

      @include layout-small {
        height:40pt;
        font-size:30pt;
      }
    }
  }
}