.singbar {
  width: 450px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: -450px;
  z-index: 1200;
  transition: all 0.3s;
  text-align: left;

  .sing-dismiss {
    width: 35px;
    height: 35px;
    position: absolute;
    top: 10px;
    right: 10px;
    transition: all 0.3s;
    border-radius: 7px;
    text-align: center;
    line-height: 35px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .sing-head {
    padding: 10px;
    border-bottom: 1px solid #444;
    transition: all 0.3s;
    text-align: center;
    h3 {
      text-align: center;
      font-size: 25px;
      font-weight: bold;
    }
    span {
      font-size: 14px;
      @media (max-width: $maxSm) {
        font-size: 12px;
        display: block;
      }
    }
    a {
      display: inline-block;
    }
  }

  .successful-log {
    margin-bottom: 0;
    height: 88%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;

    li {
      display: inline-block;
      width: 80%;
      margin: auto;
      svg {
        font-size: 70px;
        margin-bottom: 15px;
      }
      span {
        font-size: 18px;
        font-weight: bold;
        display: block;
        margin-bottom: 15px;
      }
      div {
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;

        a {
          width: 75%;
          display: flex;
          justify-content: center;
          align-items: center;
          height: 50px;
          @extend %transition;
        }
      }
    }
  }
  .singbar-container {
    height: 100%;
  }

  .signup-form {
    position: relative;
    height: inherit;
    .register-form {
      padding: 30px 20px;
      .col-sm-6 {
        padding-left: 7px;
        padding-right: 7px;
      }
      @media (max-width: $maxSm) {
        padding: 10px;
        .col-sm-6 {
          width: 50%;
          padding: 0 !important;
        }
      }

      .g-log,
      .f-log {
        width: 100%;
        font-size: 13px;
        font-weight: bold;
        margin-bottom: 15px;
        a {
          display: inline-flex;
          padding: 7px;
          height: 50px;
          width: 100%;
          display: flex;
          align-items: center;
          justify-content: center;
          text-align: right;
          img {
            width: 14px;
            margin-right: 5px;
          }
        }
        .facebook-link {
          svg {
            margin-right: 5px;
          }
        }
      }

      .form-row {
        display: flex;
        margin: 0 -15px;

        .form-group {
          width: 50%;
          padding: 0 15px;
          margin-bottom: 10px;
          position: relative;
          @media (max-width: $maxSm) {
            margin-bottom: 5px;
          }
          input,
          select {
            display: block;
            width: 100%;
            padding: 5px 10px;
            box-sizing: border-box;
            font-weight: 500;
            font-size: 13px;
            height: 38px;
            border: none;

            @media (max-width: $maxSm) {
              font-size: 12px;
              height: 35px;
            }
          }

          .form-select {
            position: relative;
          }
        }
      }
      .confirmation {
        margin-bottom: 0;
        display: inline-flex;
        align-items: center;
        width: 100%;

        input {
          display: inline-block;
          width: auto;
          margin-left: 6px;
        }

        label {
          display: inline;
          font-size: 12px;
        }

        @media (max-width: $maxSm) {
          display: inline-block;
          margin-bottom: 10px;
          text-align: right;
        }
      }

      .login {
        margin: 5px 0;
        font-size: 13px;
        text-align: center;
        @media (max-width: $maxSm) {
          font-size: 10px;
          display: block !important;
        }
      }

      .form-submit {
        text-align: right;
        padding-top: 0;
        display: grid;
      }

      .submit {
        min-width: 90px;
        font-weight: 400;
        font-size: 16px;
        padding: 10px;
        border: none;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      #reset {
        margin-right: 8px;
      }
    }
  }
  @media (max-width: $maxSm) {
    width: 85%;
    left: -575px;
  }
  @media (max-width: $max460) {
    width: 100%;
  }
}
.singbar.active {
  left: 0;
}
.side-media {
  width: 100%;
  display: flex;
  justify-content: space-between;
  direction: ltr;
  padding: 5px 20px;
  a {
    div {
      @extend %transition;
      margin: 0 4px !important;
      background-color: transparent;
      width: 40px;
      height: 40px;
      margin: 0 4px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 4px;
      svg {
        @extend %transition;
        color: #fff;
        font-size: 22px;
      }

      &:hover {
        @extend %box-shadow;
      }
    }
  }

  @media (max-width: $maxSm) {
    padding: 5px 10px;
    a {
      div {
        width: 30px;
        height: 30px;
        svg {
          font-size: 18px;
        }
      }
    }
  }
}

.ltr {
  .singbar {
    left: initial;
    right: -450px;
    text-align: right;

    .sing-dismiss {
      right: initial;
      left: 10px;
    }

    .signup-form {
      .register-form {
        .g-log,
        .f-log {
          a {
            text-align: left;
            img {
              margin-left: 5px;
              margin-right: initial;
            }
          }
          .facebook-link {
            svg {
              margin-left: 5px;
              margin-right: initial;
            }
          }
        }

        .confirmation {
          input {
            margin-left: initial;
            margin-right: 6px;
          }

          @media (max-width: $maxSm) {
            text-align: left;
          }
        }

        .form-submit {
          text-align: left;
        }

        #reset {
          margin-right: initial;
          margin-left: 8px;
        }
      }
    }
    @media (max-width: $maxSm) {
      left: initial;
      right: -575px;
    }
  }
  .singbar.active {
    left: initial;
    right: 0;
  }
}
