html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;

    background: url(lux2.jpg) rgba(0, 0, 0, 0.4) no-repeat center center fixed;
    background-blend-mode: multiply;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.brand {
    color: #fff;
    font-size: 2.5em;
    padding: 1em;
    text-decoration: none;
    display: inline-block;
}

.container {
    width: 400px;
    margin: 0 auto;
    padding: 3em;

    background: rgba(0, 0, 0, 0.85);
    color: #fff;
}

.title {
    margin-bottom: 1em;
    font-size: 2em;
}

.error-message, .success-message {
    background-color: rgb(28, 150, 28);
    padding: 0.5em;
    color: #fff;
    margin-bottom: 1em;
}

.flash-container {
    margin-bottom: 1em;
}

.flash {
    padding: 0.6em 0.8em;
    margin-bottom: 0.6em;
    border-radius: 3px;
    color: #fff;
    background: #2b2b2b;
}

.flash--success {
    background: rgb(28, 150, 28);
}

.flash--info {
    background: #2d6cdf;
}

.flash--warn {
    background: #b36a00;
}

.flash--error {
    background: #b02a37;
}

.input-group {
    margin: 0.5em 0;
}

.input {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: 60px;
    border: 0px;
    padding: 25px 10px 10px 10px;

    background: #333;
    color: white;
    font-size: 18px;
}

/*
Hack: Use box shadow to force custom background and font color when autofill is used
https://stackoverflow.com/a/13860010
*/
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow:0 0 0 50px #333 inset; /* Change the color to your own background color */
    -webkit-text-fill-color: #fff;
}

.label {
    display:block;
    position: relative;
    top: -39px;
    padding:  0px 10px;

    font-size: 18px;
    top: -57px;
}

/*.input--nonempty {*/
/*    top: -57px;*/
/*}*/

.input--focus {
    color: lightgreen;
}

:not(.input--focus) {
    color: #ddd;
}

.input:focus {
    outline: none !important;
    box-shadow: 0 0 10px lightgreen;
    border: 1px solid lightgreen;
}

.action {
    width: 100%;
    padding: 10px;
    margin:0;
    border: 0;
    border-radius: 3px;
    outline: none !important;
    background:rgb(28, 150, 28);
    font-size: 18px;
    color: white;
    text-align: center;
    cursor: pointer;
}

.action:hover, .action:focus {
    background:rgb(15, 92, 15);
}

.input--error {
    border-bottom: 1px solid lightgreen;
}

.input-error-message {
    color: lightgreen;
    margin-top: -10px;
    margin-bottom: 20px;
}

a, a:hover, a:active, a:focus {
    color: #fff;
}

.help-section {
    margin-top: 3em;
    color: #999;
}


.help-section a {
    color: #ccc;
}

.help-section a:hover, .help-section  a:active, .help-section  a:focus  {
    color: #ccc;
}
