.login__wrapper {
  width: 100%;
  text-align: center;
  font-size: 0;
  letter-spacing: 0;
  height: 100%;
}

.login__container {
  display: flex;
  height: 100%;
  max-width: 640px;
  flex-direction: column;
}

.login__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5px;
  background: #3978fc;
  box-sizing: border-box;
  max-width: 520px;
}

.login__logo {
  display: block;
  width: 100px;
  margin: 0 auto 20px;
}

.login__logo img {
  width: 100%;
}

.login__top {
  margin: 0 0 20px;
  text-align: center;
}

.login__top h1 {
  display: inline-block;
  vertical-align: middle;
  font-size: 27px;
  color: #FFFFFF;
}

.login_form__row {
  position: relative;
  height: 56px;
  width: 100%;
  margin: 0 0 25px;
}

.login_form__row-rbtn {
  position: relative;
  height: 56px;
  width: 100%;
  margin: 0 0 8px;
}

.login__button_wrap {
  padding: 22px 0 0;
}

.login_form__row input{
  border: none;
  border-radius: 4px;
  width: 100%;
  height: 48px;
  font-size: 16px;
  line-height: 19px;
  color: #4A4A4A;
  padding: 7px 0 0 15px;
  border-bottom: 1px solid #C5CACE;
}

.login_form__row-rbtn label {
  border: none;
  width: 100%;
  height: 26px;
  font-size: 16px;
  line-height: 19px;
  color: #ffffff;
  padding: 7px 0 0 15px;
}

.login_form__row-link a {
  border: none;
  width: 100%;
  height: 26px;
  font-size: 16px;
  line-height: 19px;
  color: #ffffff;
  text-decoration: underline;
}

.login_form__row.filled input {
  border-bottom: 2px solid #17D04B;
}

.login_form__row.filled label {
  top: 0;
  font-size: 12px;
  line-height: 14px;
  color: #17D04B;
}

.login_form__row.error input {
  border-bottom: 2px solid red !important;
}

.login_form__row--error span{
  top: 0;
  font-size: 12px;
  line-height: 14px;
  color: #ffd421 !important;
}

.m-login__button {
  width: 100%;
}

.login__button:active {
  background-color: #3dbb42;
}

.login__button:disabled {
  background-color: #80E491 !important;
}

.login__footer {
  flex: 0 0 100px;

  text-align: left;
  padding: 16px 20px 0;
}

.login__footer:after {
  content: '';
  display: table;
  clear: both;
}

.footer__logo_wrap {
  float: left;
}

.footer__logo {
  display: inline-block;
  vertical-align: middle;
  margin: 0 6px 0 0;
}

.footer__logo_wrap p {
  font-size: 13px;
  line-height: 15px;
  color: #C5CACE;
  display: inline-block;
  vertical-align: middle;
}

.footer__version {
  float: right;
  font-size: 13px;
  line-height: 15px;
  color: #C5CACE;
}

@media screen and (min-width: 440px) {
  .login__wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .login__container {
    height: auto;
  }

  .login__inner {
    flex: 0 0;
    padding: 5px 50px 50px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2), 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border-radius: 4px;
  }

  .login__top {
    margin: 0 0 5px 0;
  }

  .login__logo {
    display: inline-block;
    vertical-align: middle;
    width: 200px;
  }

  .login__top h1 {
    font-size: 22px;
    line-height: 25px;
  }

 h3 {
    margin-top: 20px;
   margin-bottom: 10px;
    max-width: 304px;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    color: #FFFFFF;
  }

  h2 {
    margin-top: 30px;
    max-width: 304px;
    font-size: 16px;
    font-weight: bold;
    line-height: 20px;
    text-align: center;
    color: #FFFFFF;
  }

  .login__footer {
    padding: 16px 0 0;
  }
}


.login__form .btn:disabled {
  background-color: #99A9C6;
  box-shadow: none;
}

.login__form .btn {
  border-radius: 4px;
  width: 320px;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 24px;
  text-align: center;
  background-color: #3978FC;
  box-shadow: 3px 3px 3mm 4px rgba(57, 120, 252, 0.3);
  font-family: Open Sans Regular;
  border: 1px solid white;
}

.btn:disabled {
  cursor: no-drop;
}
