﻿@import url('//fonts.googleapis.com/css?family=Montserrat:700, 400|Lato:700, 400|Roboto:700, 400');

html {
    font-size: 14px;
    font-family: Lato, Arial, sans-serif;
}

body {
    margin: 0px;
    background-color: #fff;
    background-image: url(/img/login/background.webp);
    background-size: cover;
    background-position: right bottom;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

* {
    margin: 0px;
    padding: 0px;
}


#ErrorPosition {
    margin: 24px;
}

#ErrorPanel {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0px 0px 16px rgba(0,0,0,.5);
    box-sizing: border-box;
    background-color: #fff;
}

    #ErrorPanel header {
        padding: 12px;
        text-align: center;
        background-color: #fff;
    }

        #ErrorPanel header img {
            width: 100%;
            max-width: 320px;
            vertical-align: bottom;
        }

        #ErrorPanel header h1 {
            margin: 6px 0;
            font-family: Lato, Arial, sans-serif;
            color: #4A5664;
            font-size: 18px;
            text-transform: uppercase;
            text-align: center;
        }

    #ErrorPanel main {
        padding: 12px;
    }

        #ErrorPanel main p {
            text-align: center;
        }

    #ErrorPanel .action {
        display: flex;
        justify-content: end;
        padding-top: 20px;
    }

        #ErrorPanel .action.center {
            justify-content: center;
        }

footer {
    border-top: 1px solid #e0e9fe;
    position: fixed;
    bottom: 0;
    left: -32px;
    right: -32px;
    padding: 12px 44px;
    background: #fff;
    color: #3f485a;
    font-family: Lato, Arial, sans-serif;
    text-align: right;
    font-size: 1em;
}

    footer a {
        color: #fff;
        font-family: Lato;
        text-align: center;
        font-weight: 700;
        font-size: 1em;
        text-decoration: none;
    }

#Disclaimer {
    margin-top: 12px;
    padding: 12px;
    background: #4A5664;
    box-shadow: inset 0px 0px 6px rgba(0,0,0,.1), 0px 0px 16px rgba(255,255,255,.5);
    color: #fff;
    text-align: center;
    font-size: 12px;
    text-shadow: 0 0 2px rgba(0,0,0,.3);
}

    #Disclaimer a {
        color: #fff;
        font-weight: 700;
        font-size: 12px;
        text-shadow: 0 0 2px rgba(0,0,0,.3);
        text-decoration: none;
    }

@media only screen and (min-width: 640px) and (min-height: 640px) {
    #ErrorPosition {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100vw;
        display: grid;
        margin: 0px;
        align-content: center;
        justify-content: center;
    }

    #ErrorPanel {
        position: relative;
        width: 50vw;
        min-width: 460px;
        max-width: 640px;
        overflow: hidden;
        border-radius: 3px;
        box-shadow: 0px 0px 16px rgba(0,0,0,.5);
        box-sizing: border-box;
        background-color: #fff;
    }
}

