﻿html,
body {
  height: 100%;
}

body {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  padding: 40px 16px;
  background: #0c447c;
  background: linear-gradient(145deg, #1b5a91 0%, #174a7c 48%, #102f50 100%);
  color: #263445;
}

.form-signin {
  width: 100%;
  max-width: 390px;
  padding: 34px 32px 30px;
  margin: auto;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(7,30,52,.3);
}
.form-signin > img {
  width: 250px;
  height: 62px;
  padding: 6px 10px;
  border: 1px solid #d9e3ed;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(16,47,80,.12);
  object-fit: contain;
}
.form-signin h2 { color: #102f50; font-size: 1.15rem; line-height: 1.45; }
.form-signin .checkbox {
  font-weight: 400;
}
.form-signin .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
  border-color: #174f83;
  box-shadow: 0 0 0 .2rem rgba(23,79,131,.16);
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.form-signin .btn-primary {
  border-color: #174a7c;
  background-color: #174a7c;
  box-shadow: 0 5px 12px rgba(23,74,124,.2);
}
.form-signin .btn-primary:hover,
.form-signin .btn-primary:focus,
.form-signin .btn-primary:not(:disabled):not(.disabled):active {
  border-color: #102f50;
  background-color: #102f50;
}
.form-signin a { color: #174a7c; }
.form-signin a:hover { color: #102f50; }

@media (max-width: 480px) {
  body { padding: 20px 12px; }
  .form-signin { padding: 28px 22px 25px; }
}
