.form-signin { max-width: 330px; padding: 15px; margin: 50px auto; } .form-signin .form-signin-heading, .form-signin .checkbox { margin-bottom: 10px; text-align: center; } .form-signin .checkbox { font-weight: normal; } .form-signin .form-control { position: relative; font-size: 16px; height: auto; padding: 10px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .form-signin .form-control:focus { z-index: 2; } .form-signin input[type="text"] { margin-bottom: -1px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; } .form-signin input[type="password"] { margin-bottom: 10px; border-top-left-radius: 0; border-top-right-radius: 0; } .logout { margin: 100px auto; text-align: center; } h1 { text-align: center; } a:hover { text-decoration: none; }