.vertical-align-wrap {
  position: absolute;
  width: 100%;
  height: 100%;
  display: table;
}

.vertical-align-middle {
  display: table-cell;
  vertical-align: middle;
}

.auth-box {
  width: 400px;
  height: auto;
  margin-left: 130px;

  .card {
    padding: 25px;
  }
}

.auth-main::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 600px;
  height: 100%;
  z-index: -1;
  background: url("/assets/img/test1.png") no-repeat left top;
  background-color: #223d7d;
  background-size: cover;
  background-position: 10%;
}

.auth-main:after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 80%;
  height: 100%;
  z-index: -2;
  background: url("/assets/img/inverlec_logo.png") no-repeat 70% center;
  background-color: #fff;
  //background: url(../../assets/images/auth_bg.jpg) no-repeat top left fixed;
}

.logo-box {
  width: 400px;
  float: right;
  margin-right: 150px;
}

.card {
  background: #fff;
  transition: 0.5s;
  border: 0;
  margin-bottom: 30px;
  border-radius: 0.55rem;
  position: relative;
  width: 100%;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 1200px) {
  .auth-main:after {
    background: url("/assets/img/inverlec_logo.png") no-repeat 85% center;
    background-color: #fff;
  }
}

@media screen and (max-width: 1024px) {
  .auth-box {
    width: 80%;
    margin: 0 auto;
  }

  .auth-main:before {
    width: 100%;
    //background-image: url("/assets/img/login-bg.png");
  }

  .top {
    margin: 0 auto 20px;
    text-align: center;
    img {
      width: 100%;
      max-width: 350px;
    }
  }
}

@media screen and (max-width: 768px) {
  .auth-main:before,
  .auth-main:after {
    background-color: #223d7d;
  }

  .top {
    margin: 0 auto 20px;
    text-align: center;
    img {
      width: 100%;
      max-width: 350px;
    }
  }
}

@media screen and (max-width: 640px) {
  .auth-box {
    width: 90%;
    border: 0;

    .card {
      box-shadow: none;
    }
  }
  .auth-main:before,
  .auth-main:after {
    background-image: none;
    background-color: #fff;
  }

  .top {
    margin: 0 auto 20px;
    text-align: center;
    img {
      width: 100%;
      max-width: 300px;
    }
  }
}
