.ph-user-form-wrapper, .ph-password-form-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  background: #f3f3f3;
  text-align: center;

  form:after {
    content: "";
    display: table;
    clear: both;
  }

  h1 {
    font-size: 20px;
    line-height: 1.2em;
    margin-bottom: 30px;
    text-align: center;

    a, img {
      display: inline-block;
    }

    img {
      max-width: 100% !important;
      height: auto !important;
    }
  }

  .ph-user-form {
    text-align: left;
  }

  .ph-user-form, .ph-password-form {
    max-width: 400px;
    padding: 20px;
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    @include transform( translate3d(-50%, -50%, 0) );

    .ph-form-message {
      font-size: 1.2em;
      font-weight: 600;
      margin-bottom: 15px;
      text-align: center;
    }

    label {
      display: inline-block;
      width: 100%;
      font-family: $nav-font-family;
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 5px;
    }

    input[type="text"],
    input[type="password"] {
      background: #fff !important;
      margin-bottom: 30px;
    }

    input[type="submit"] {
      padding: 12px 14px;
      font-size: 10px;
      display: inline-block;
    }

    .login-remember {
      display: block;
      float: left;
    }

    .button-primary {
      display: inline-block;
      width: auto;
      float: right;
    }
  }
}