html {
  min-height: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  padding-top: 24px;
  padding-bottom: 12px;
  background: #f4f7fa;
  color: #263238;
  font-family: "Segoe UI", Arial, sans-serif;
}

.rodape {
  padding: 8px 2% 4px;
}

.container[align="center"] {
  display: block;
  text-align: center;
  margin-bottom: 12px;
}

.container img[src*="logo"] {
  display: inline-block;
  width: 132px;
  max-width: 68%;
  height: auto;
  margin-bottom: 0;
  filter: none;
}

.form {
  margin: 0 auto;
  padding: 24px 28px 22px;
  background: #fff;
  border: 1px solid #dde5ee;
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(69, 90, 100, .12);
  color: #334155;
}

.form h2 {
  margin: 0 0 18px;
  padding-bottom: 0;
  color: #37474f;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.form label {
  color: #475569;
  font-weight: 500;
}

.form-group {
  margin-bottom: 12px;
}

.form-control {
  height: 42px;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  box-shadow: none;
  color: #263238;
  font-size: 15px;
}

.form-control:focus {
  border-color: #607d8b;
  box-shadow: 0 0 0 3px rgba(96, 125, 139, .14);
}

.btn-primary {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: #607d8b;
  color: #fff;
  font-weight: 700;
  box-shadow: none;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #455a64;
}

.pull-right {
  float: none !important;
}

.text-center.d-none.d-md-inline {
  display: block !important;
  width: 100%;
  max-width: 360px;
  margin: 14px auto 0;
  text-align: center;
  color: #64748b;
}

.text-center.d-none.d-md-inline p {
  margin: 0 0 6px;
  color: #64748b !important;
  font-size: 12px;
}

.text-center.d-none.d-md-inline img {
  display: block;
  width: 118px;
  height: auto;
  margin: 0 auto;
  opacity: .92;
}

.navbar-fixed-bottom {
  position: static;
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: #7b8794;
}

.footer {
  padding: 8px;
  font-size: 12px;
}

@media (max-width: 767px) {
  body {
    padding-top: 16px;
  }

  .form {
    padding: 22px 20px 20px;
  }
}

@media (max-height: 640px) {
  body {
    padding-top: 12px;
    padding-bottom: 8px;
  }

  .container[align="center"] {
    margin-bottom: 8px;
  }

  .container img[src*="logo"] {
    width: 112px;
  }

  .form {
    padding: 18px 22px 16px;
  }

  .form h2 {
    margin-bottom: 12px;
    font-size: 20px;
  }

  .form-control {
    height: 38px;
  }

  .btn-primary {
    min-height: 38px;
  }

  .text-center.d-none.d-md-inline {
    margin-top: 10px;
  }

  .text-center.d-none.d-md-inline img {
    width: 96px;
  }

  .navbar-fixed-bottom {
    margin-top: 8px;
  }
}
