.sign-in-popup__wrapper {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 0 30px;
  opacity: 0.1;
  text-align: center;
  transition: opacity 0.5s;
}

  .sign-in-popup__wrapper:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: #fff;
  }

.sign-in-popup__wrapper--open {
  position: absolute;
  z-index: 1000001;
  overflow: visible;
  heigth: auto;
  opacity: 1;
}

  .sign-in-popup__wrapper--open:before {
    display: none;
  }

  .sign-in-popup {
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    width: 430px;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 20px 0;
    vertical-align: middle;
    background-color: #ededed;
  }

    .sign-in-popup__close-button {
      position: absolute;
      top: 5px;
      right: 5px;
      width: 40px;
      height: 40px;
      padding: 0;
      overflow: hidden;
      background-color: transparent;
      background-image: url('https://www.spectator.co.uk/content/themes/spectator-new/assets/images/close.svg');
      background-repeat: no-repeat;
      background-position: center;
      border: none;
      text-indent: 200px;
      white-space: nowrap;
      cursor: pointer;
    }

    .sign-in-popup__close-button:focus {
      outline: none;
    }

    .sign-in-popup__heading {
      margin: 0 0 15px;
      padding: 0 30px 15px 0;
      border-bottom: solid 1px #d1d1d1;
      font-family: Futura BT W01 Bold, Helvetica Neue, Arial, Sans-serif;
      font-weight: bold;
      font-size: 18px;
      line-height: 23px;
      text-transform: uppercase;
      text-align: left;
    }

    .sign-in-popup__form {
      padding: 0 0 20px;
    }

    .sign-in-popup__form .piano-id-container iframe {
      display: block;
    }

    .sign-in-popup__form--hidden {
      position: fixed;
      top: 100%;
      left: 0;
      box-sizing: border-box;
      width: 490px;
      max-width: 100%;
      height: auto;
      padding: 0 50px;
    }

      .sign-in-popup__form--hidden .piano-id-container {
        max-width: 100%;
        margin: 0 auto;
      }

    .sign-in-popup__password-reset-button-wrapper {
      padding: 0 0 20px;
      text-align: center;
      line-height: 16px;
    }

    .sign-in-popup__password-reset-button-wrapper--disabled {
      display: none;
    }

      .sign-in-popup__password-reset-button {
        display: inline-block;
        padding: 0;
        background-color: transparent;
        border: none;
        font-family: Futura BT W01 Bold, Helvetica Neue, Arial, Sans-serif;
        font-weight: bold;
        font-size: 14px;
        line-height: 16px;
        color: #d30d1e;
        cursor: pointer;
      }

      .sign-in-popup__password-reset-button:focus {
        outline: none;
      }

.sign-in-popup__overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000000;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}