﻿@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

    nav ul {
        list-style: none;
    }

    ul.no-bullets {
        list-style-type: none;
        padding: 5px 10px;
        margin: 0;
        background-color: #dbe4ea;
    }

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

b {
    font-weight: 500;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}

input, select {
    vertical-align: middle;
}

body {
    line-height: 1;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1.4em;
    background: #FFF;
}

a:link, a:visited {
    color: #000080;
}

a:hover {
    color: #233D97;
}

p {
    margin-bottom: 1.4em;
}

.small {
    font-size: 85%;
}

.login-fail, .login-timed, .login-success {
    padding: 15px;
    text-align: center;
    font-size: 1.3em;
    margin: 10px 0;
}

.login-fail {
    background-color: #ECC7C7;
}

.login-timed {
    background-color: #fcf8e3;
}

.login-success {
    background-color: #dff0d8;
}

.main-content {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgb(217,230,239);
    background: -moz-linear-gradient(180deg, rgba(217,230,239,1) 0%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(217,230,239,1) 0%, rgba(255,255,255,1) 100%);
    background: linear-gradient(180deg, rgba(217,230,239,1) 0%, rgba(255,255,255,1) 100%);
    /*background: url(../images/demo.jpg);*/ /* DEMO BG */
}

#logoi {
    width: 250px;
}

#container {
    padding: 10px 0 5% 0;
    width: 550px;
    margin: 0 auto;
}

#content {
    overflow: hidden;
    padding: 30px 45px;
}

#login h2 {
    font-weight: 500;
    font-size: 2.4em;
    margin-bottom: 20px;
    line-height: normal;
    text-align: center;
}

    #login h2 span {
        color: #073ca4;
        display: block;
    }

#login .row {
    padding: 13px 0;
    font-weight: 300;
}

#login label {
    display: block;
    font-size: 1.2em;
    font-weight: 500;
    color: #0c3d6a;
}

#login .check {
    margin-top: 20px;
}

    #login .check label {
        display: inline;
        vertical-align: bottom;
    }

#login input[type=text], #login input[type=password] {
    font-size: 1.2em;
    padding: 5px;
    width: 100%;
    margin: 3px 0; /* IE Validation Form Fix */
}

.btn-row {
    margin-top: 10px;
}

.errors,
.alert-info,
.alert-success {
    padding: 10px;
}

.errors {
    background-color: #EDC1C1;
    overflow: auto;
}

#capslock-on p {
    color: orangered;
}

#incorrect_login p {
    color: red;
    margin-bottom: 0;
}

#inactive_user p {
    color: red;
    margin-bottom: 0;
}

#never_logged_in p {
    color: red;
    margin-bottom: 0;
}

.alert-info {
    background-color: #e8d293;
}

.alert-success {
    background-color: #96d599;
}

#divSuccess p:last-of-type {
    margin-bottom: 0;
}

#divWrongEmail, #divEmailSent, #divUserExists {
    padding: 10px;
    background-color: #e8d293;
    margin-bottom: 15px;
}

:invalid {
    box-shadow: none;
}

:-moz-submit-invalid {
    box-shadow: none;
}

:-moz-ui-invalid {
    box-shadow: none;
}

#login .btn-submit {
    background: #2662a2;
    border: 0;
    padding: 15px;
    color: white;
    width: 100%;
    font-size: 1.2em;
}

    #login .btn-submit:hover {
        background-color: #3B7AAC;
    }

        #login .btn-submit:hover:enabled {
            cursor: pointer;
        }

    #login .btn-submit:focus {
        outline: 2px dotted #233e99;
    }

#gdpr {
    font-size: 85%;
    padding: 0 15%;
    margin: 0 auto;
}

.footer {
    text-align: center;
}


@media only screen and (max-width:855px) {
    #container {
        width: 100%;
        padding: 0;
    }

    .login-fail, .login-timed, .login-success {
        margin: 0;
    }

    #content {
        -webkit-border-radius: 0px;
        -moz-border-radius: 0px;
        border-radius: 0px;
        box-shadow: none;
    }

    #login {
        float: none;
        width: 100%;
    }

        #login .row input[type=text], #login .row input[type=password] {
            padding: 10px;
            box-sizing: border-box;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
        }

        #login .row .btn-submit {
            outline: none;
            -webkit-appearance: none;
            border: 0;
            padding: 15px 20px;
        }

        #login .row .btn-reset,
        a[href="#gdpr"] {
            display: none;
        }
}


#login .btn-correct-email,
#login .btn-wrong-email {
    font-size: 1.2em;
    border: 0;
    padding: 15px;
    color: white;
    width: 40%;
}

#login .btn-correct-email {
    background: #265684;
}

#login .btn-wrong-email {
    background: #6B809B;
    float: right;
}

#login .btn-correct-email:hover:enabled {
    cursor: pointer;
    background: #2f669b;
}

#login .btn-wrong-email:hover:enabled {
    cursor: pointer;
    background: #6E87A8;
}

#login .btn-correct-email:focus,
#login .btn-wrong-email:focus {
    outline: 2px dotted #233e99;
}

#btnSubmit:disabled,
.btn-correct-email:disabled,
.btn-wrong-email:disabled {
    background-color: grey !important;
}


/* Password Reqs */
.req-error {
    color: #F66;
}

.req-meets {
    color: green;
}

.req-icon {
    margin-right: 0.7em;
    color: orangered;
}
    .req-icon::before {
        content: "*";
    }


/* Utility */
.img-responsive {
    max-width: 100%;
    height: auto;
}

.center {
    margin: 0 auto;
    display: block;
}


/* Modal */
.modal-window {
    position: fixed;
    background-color: rgba(0,0,0, 0.5);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
}

    .modal-window:target {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .modal-window > div {
        max-width: 100%;
        max-height: 100%;
        overflow: auto;
        position: absolute;
        bottom: 0;
        padding: 1em;
        margin: auto;
        background: white;
    }

    .modal-window header {
        font-weight: bold;
    }

    .modal-window h1 {
        font-size: 150%;
        margin: 0 0 15px;
    }

.modal-close {
    color: #FFF;
    line-height: 50px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 70px;
    text-decoration: none;
    background-color: #334a5f;
}

    .modal-close:visited,
    .modal-close:link {
        color: #FFF;
    }

    .modal-close:hover {
        color: #AABAE1;
    }
