﻿body > main
{
    justify-content: center;
}

form.recover-password
{
    align-self: center;
    display: flex;
    flex-direction: column;
    background-color: #f0f0f0;
    background: linear-gradient(to bottom, #e0e0e0, #d8d8d8);
    box-sizing: border-box;
    width: 400px;
    padding: 20px;
    box-shadow: 5px 5px 30px -8px #000000c0;
}

form.recover-password > h1
{
    margin: 0px;
    font-size: 100%;
    font-weight: bold;
    text-transform: uppercase;
    color: #808080;
    padding: 10px;
}

form.recover-password > p
{
    padding: 0 10px;
}

form.recover-password > fieldset
{
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 10px;
    border: none;
    padding-bottom: 0;
}

body > main fieldset .field
{
    margin-bottom: 10px;
}

body > main fieldset .field input,
body > main fieldset .field select,
body > main fieldset .field .checkboxes,
body > main fieldset .field .document-upload
{
    box-sizing: border-box;
    width: 100%;
    font: inherit;
    background-color: #f0f0f0;
    color: #000000B0;
    color-scheme: light;
    border: none;
    border-bottom: 1px solid #808080;
    padding: 6px;
    transition: background-color .3s ease;
}

body > main fieldset .field input:hover,
body > main fieldset .field input:focus
{
    outline: none;
    background-color: white;
}

body > main fieldset .field.error input,
body > main fieldset .field.error input::placeholder
{
    background-color: #edcac9;
    color: #cf1008ff;
}

body > main fieldset .field.error input
{
    border-bottom: 1px solid #cf1008;
}

body > main fieldset .field .annotation
{
    color: #b70000;
    font-size: 80%;
    padding: 5px 0;
    opacity: 0;
    transition: opacity .3s ease;
}

body > main fieldset .error .annotation
{
    opacity: 1;
}

body > main .message
{
    margin: 10px;
    margin-top: 0;
    background-color: #6f0804;
}

body > main .message > p
{
    margin: 10px;
    font-size: 85%;
    color: #ffffff8f;
}

form.recover-password > .buttons
{
    display: flex;
    padding: 10px;
}

form.recover-password > .buttons > a.button
{
    background-color: #004d58;
    border-radius: 4px;
    color: white;
    padding: 5px 20px;
    box-sizing: border-box;
    min-width: 100px;
    text-align: center;
    position: relative;
    flex-grow: 1;
}

form.recover-password > .buttons > a.disabled
{
    opacity: .4;
    pointer-events: none;
}

form.recover-password > .buttons > a > span:first-child
{
    opacity: 1;
    transition: opacity .3s ease;
}

form.recover-password > .buttons > a > span:last-child
{
    opacity: 0;
    transition: opacity .3s ease;
    position: absolute;
    left: 0;
    right: 0;
}

form.recover-password > .buttons > a > span:last-child > i
{
}

form.recover-password > .buttons > a.running
{
    cursor: default;
}

form.recover-password > .buttons > a.running > span:first-child
{
    opacity: 0;
}

form.recover-password > .buttons > a.running > span:last-child
{
    opacity: 1;
}

form.recover-password > .buttons > a.button:hover
{
    text-decoration: none;
}

form.recover-password > .links
{
    padding: 10px;
    display: flex;
    justify-content: space-between;
    font-size: 85%;
}

@media (max-width:400px)
{
    form.recover-password
    {
        width: 100%;
        flex-grow: 1;
    }
}

@media (max-width:300px)
{
    form.recover-password > .links
    {
        flex-direction: column;
        align-items: center;
    }

    form.recover-password > .links > .register
    {
        order: 1;
    }

    form.recover-password > .links > .recover-password
    {
        order: 0;
    }
}
