@charset "UTF-8";

.login-form {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: $color-primary-light-04;
  background-color: var(--theme-color-primary-dimmed-02, $color-primary-light-04);
  padding: 32px 42px;
  margin: 40px 0;

  @media(max-width: 567px) {
    padding: 24px 20px;
  }

  .login-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;

    > div {
      position: relative;
      display: block;
      padding: 10px;
      flex: 1 1 50%;
      max-width: 50%;

      &.terms {
        max-width: 100%;
        flex: 1 1 100%;
      }
    }
  }

  .terms-text {
    max-width: calc(100% - 45px);
    display: inline-block;

    a {
      @include focusvisible;
    }
  }

  .btn-wrapper {
    text-align: right;
  }

  .submit {
    @extend .btn;
    @extend .has-icon;
    background-color: $color-secondary;
    background-color: var(--theme-color-secondary, $color-secondary);
    color: $color-primary;
    color: var(--theme-color-primary, $color-primary);
    @include focusvisible;

    &:hover, &:focus {
      color: $color-primary;
      color: var(--theme-color-primary, $color-primary);
      box-shadow: 0 0 0 5px rgba($color-secondary, 0.5);
    }

    &:before {
      @include icon-login;
      font-size: 30px;
      line-height: 1;
    }
  }
}


section.extranet-wrapper {
  .update-wrapper {
    border-top: solid 1px;
    margin-top: 20px;
    padding-top: 20px;
  }
  .update-wrapper .item {
    margin-bottom: 10px;
  }
  .widecol {
    flex: 1 1 66%;max-width: 100%;
  }
}

