﻿body > main
{
    justify-content: center;
    align-items: center;
    position: relative;
}

body > main > form
{
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    background-color: #f0f0f0;
    background: linear-gradient(to bottom, #e0e0e0, #d8d8d8);
    padding: 20px;
    width: 1000px;
    box-shadow: 5px 5px 20px -6px #00000040;
}

body > main h1
{
    margin: 0px;
    font-size: 100%;
    font-weight: bold;
    text-transform: uppercase;
    color: #808080;
    padding: 10px;
}

body > main fieldset
{
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    border: none;
}

body > main fieldset > .row
{
    display: flex;
    flex-direction: row;
}

body > main fieldset > .popup-container
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

body > main fieldset > .popup-container > .popup
{
    width: 1200px;
    background-color: #333;
    padding: 20px;
    box-shadow: 5px 5px 30px -8px #000000c0;
}

body > main fieldset .field
{
    flex-grow: 1;
    margin: 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 .document-body
{
    font-size: 90%;
    padding: 10px;
    padding-top: 0;
}

body > main .document-body > div:first-child > p:first-child
{
    margin-top: 0;
}

body > main .document-body ul
{
    padding-left: 20px;
}

body > main .document-body input
{
    margin-left: 0;
    color-scheme: light;
}

body > main .document-body > .annotation
{
    padding-top: 2px;
}

body > main .document-body > .annotation
{
    color: #b70000;
    font-size: 80%;
    padding: 5px 0;
    opacity: 0;
    transition: opacity .3s ease;
}

body > main .document-body.error input
{
    outline: 1px solid red;
}

body > main .document-body.error > .annotation
{
    border-top: 1px solid #cf1008;
    opacity: 1;
}

body > main > .registration > nav
{
    display: flex;
    justify-content: center;
}

body > main > .registration > nav > 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;
    transition: background-color .2s ease;
}

body > main > .registration > nav > a.button:hover
{
    background-color: #86ac3f;
}

body > main > .registration > nav > a.disabled
{
    opacity: .4;
    pointer-events: none;
}

body > main > .registration > nav > a > span:first-child
{
    opacity: 1;
    transition: opacity .3s ease;
}

body > main > .registration > nav > a > span:last-child
{
    opacity: 0;
    transition: opacity .3s ease;
    position: absolute;
    left: 0;
    right: 0;
}

body > main > .registration > nav > a > span:last-child > i
{
}

body > main > .registration > nav > a.running
{
    cursor: default;
}

body > main > .registration > nav > a.running > span:first-child
{
    opacity: 0;
}

body > main > .registration > nav > a.running > span:last-child
{
    opacity: 1;
}

body > main > .registration > nav > a.button:hover
{
    text-decoration: none;
}

body > main > .registration > nav > a.button:last-child
{
    margin-left: 10px;
}



@media (max-width:1000px)
{
    body > main > form
    {
        width: 100%;
    }
}


@media (max-width:800px)
{
    body > main fieldset > .row
    {
        flex-direction: column;
    }
}
