html, body { height: 100%; }
body { display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; padding-bottom: 40px; }
.form-signin { width: 100%; max-width: 420px; padding: 15px; margin: auto; }
.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; }