﻿/* Outdated */

#outdated-container {
    display: none;
    background-color: #f25648;
    height: 100vh;
    width: 100vw;
}

#outdated {
    display: table-cell;
    vertical-align: middle;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    line-height: 1.5em;
    text-transform: uppercase;
    color: #ffffff;
}

#outdated h1 {
    font-size: 2.6em;
    line-height: 2em;
}

#outdated p {
    line-height: 2em;
    font-size: 20px;
    margin: 0;
}

/* Spinner */
.loading {
    animation: rotation 1s infinite linear;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: rgba(255, 255, 255, 0.7);
    /*height: 3em;
    width: 3em;*/
    height: 60px;
    width: 60px;
}

@keyframes rotation {
    to {
        transform: rotate(360deg);
    }
}

/* Extra junk */
html, body, #loader-container {
    height: 100%;
}

body {
    margin: 0;
}

.loading {
    margin: auto;
    box-sizing: initial;
}


#loader-container {
    background-color: #005EB8;
    display: flex;
    margin: 0;
    overflow: hidden;
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 999999;
    transition: opacity 0.5s, height 0s 0.5s;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    #loader-container {
        display: none;
    }

    #outdated-container  {
        display: table;
    }
}

body.react-initialized #loader-container {
    opacity: 0;
    height: 0;
}