html,
body
{
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: proxima-nova, Open Sans, Verdana, Vera, sans-serif;
}

#header
{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 60px;
    background-color: #f5f5f5;
}

#header_bottom
{
    position: fixed;
    left: 0;
    top: 60px;
    width: 100%;
    height: 1px;
    background-color: #999999;
}

#logo
{
    position: absolute;
    left: 40px;
    top: 20px;
    width: 110px;
    height: 21px;
}

#loadingImage
{
    position: absolute;
    left: 25px;
    top: 40px;
    width: 50px;
    height: 62px;
}

#loading,
#timedOut
{
    border: 2px solid;
    border-radius: 5px;
    position: fixed;
    top: 40%;
    left: 50%;
    font-family: Open Sans, Verdana, Vera, sans-serif;
}

#loadingHelp
{
    visibility: hidden;
    height: 150px;
    width: 250px;
    border: 2px solid;
    border-radius: 5px;
    position: fixed;
    top: 40%;
    left: 75%;
    margin-top: -75px;
    margin-left: -125px;
    font-family: Open Sans, Verdana, Vera, sans-serif;
}

#loading
{
    height: 150px;
    width: 250px;
    margin-top: -75px;
    margin-left: -125px;
}

#timedOut
{
    visibility: hidden;
    height: 150px;
    width: 375px;
    margin-top: -75px;
    margin-left: -175px;
}

.loading-text,
.timedout-text,
.timedout-button
{
    position: absolute;
    font-style: normal;
    letter-spacing: 0.025em;
}

.loading-text
{
    left: 90px;
    top: 55px;
    font-size: 22px;
    line-height: 31px;
}

.timedout-text
{
    left: 25px;
    top: 25px;
    font-size: 14px;
    line-height: 31px;
}

.timedout-button
{
    left: 140px;
    top: 90px;
    font-size: 18px;
    line-height: 31px;
    background: none;
    border: none;
    cursor: pointer;
}

#divCloseHelp p
{
    cursor: pointer;
}

@media (prefers-color-scheme: light)
{
    body
    {
        background-color: #F1F4F5;
    }

    #header
    {
        background-color: #f5f5f5;
    }

    #header_bottom
    {
        background-color: #999999;
    }

    #loading,
    #loadingHelp,
    #timedOut
    {
        background: #FFFFFF;
        border-color: #CCCCCC;
        color: #555555;
    }

    .loading-text,
    .timedout-text,
    .timedout-button
    {
        color: #555555;
    }
    
    #divCloseHelp p
    {
        color: #555555;
    }
}

@media (prefers-color-scheme: dark)
{
    body
    {
        background-color: #222222 !important;
    }
    
    a
    {
        color: #4FC3F7;
    }

    #header
    {
        background-color: #222222;
    }

    #header_bottom
    {
        background-color: #444444;
    }

    #loading,
    #loadingHelp,
    #timedOut
    {
        background: #222222;
        border-color: #444444;
        color: #EEEEEE;
    }

    .loading-text,
    .timedout-text,
    .timedout-button
    {
        color: #EEEEEE;
    }
    
    #divCloseHelp p
    {
        color: #EEEEEE;
    }
}