body {
    text-align: center;
}
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px 0;
    position: relative;
}
.login-form {
    margin: 0 auto;
    width: 440px;
    max-width: 100%;
    background: #f7f7f7;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    padding: 30px;
}
.login-form h2 {
    margin: 0 0 15px;
}
.login-form .form-control,
.login-form .btn {
    min-height: 38px;
    border-radius: 2px;
}
.login-form .btn {        
    font-size: 15px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: -15px;
}
[tooltip]:before {
    content: attr(tooltip);
    position: absolute;
    opacity: 0;
    transition: all 0.15s ease;
    padding: 10px;
    color: #333;
    border-radius: 10px;
    box-shadow: 2px 2px 1px silver;    
    pointer-events: none;
}
[tooltip]:hover:before {
    opacity: 0.9;
    background: #111;
    color: #eee;
    font-size: 0.9em;
    text-shadow: 0.5px 0.5px #aaa;
    margin-top: -50px;
    margin-left: -80px;    
}
.login-form .form-check {
    text-align: left;
    padding-left: 30px;
}
#user-box {
    float: right;
}
#user-hovered {
    visibility: hidden;
    max-height: 0;
    opacity: 0;
    z-index: 2;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    transform: translateY(-2em);
    transition: all 0.2s ease-in-out 0.2s;
    position: absolute;
    top: 55px;
    right: 10px;
}
#user-box:hover > #user-hovered {
    visibility: visible;
    max-height: 999px;
    padding: 8px;
    opacity: 1;
    background-color: #f1f1f1;
    transform: translateY(0%);
}
#username {
    text-align: right;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: none;
    cursor: default;
    padding-right: 5px;
}
#user-box-dropdown {
    font-size: 0.5em;
    color: #6c757d;
    padding-left: 2px;
}