body {
    background: #aaa;
    font-family: Montserrat;
}

.login-block {
    width: 280px;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    border-top: 12px solid #334191;
    position: absolute;
    top: 15%;
    left: 50%;
    margin: 0 0 0 -160px;
}

.login-block h1 {
    text-align: center;
    color: #000;
    font-size: 18px;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 20px;
}

.login-block input {
    width: 100%;
    height: 42px;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
    font-size: 14px;
    font-family: Montserrat;
    padding: 0 20px 0 50px;
    outline: none;
}

.login-block input#username {
    background: #fff url('/resources/username.png') 20px top no-repeat;
    background-size: 16px 80px;
}

.login-block input#username:focus {
    background: #fff url('/resources/username.png') 20px bottom no-repeat;
    background-size: 16px 80px;
}

.login-block input#password {
    background: #fff url('/resources/password.png') 20px top no-repeat;
    background-size: 16px 80px;
}

.login-block input#password:focus {
    background: #fff url('/resources/password.png') 20px bottom no-repeat;
    background-size: 16px 80px;
}

.login-block input:active, .login-block input:focus {
    border: 1px solid #6699cc;
}

.login-block button {
    width: 100%;
    height: 40px;
    background: #6271c8;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #26316d;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    font-family: Montserrat;
    outline: none;
    cursor: pointer;
}

.login-block button:hover {
    background: #8995d6;
}

.login-block p {
	font-size: 12px; 
}
