﻿body {
    background-image: url('../Images/background4med.jpg');
    background-size: cover;
    color: #193660;
    font-family: Arial;
    margin: 0;
    padding: 0;
    text-align: center;
}

form { margin: 0; }

h1 { margin-bottom: 5px; }

p {
    margin-bottom: 40px;
}

#content {
    display: flex;
    flex-direction: row;
    height: 100%;
}

#login-wrapper {
    align-items: center;
    display: flex;
    flex: auto;
    flex-direction: column;
    justify-content: center;
}

.spacer {
    flex: auto;
    flex-basis: 25%;
    flex-shrink: 1;
    max-height: 25vh;
}

.spacer.bottom {
    flex-basis: 10%;
    flex-grow: 0;
    flex-shrink: 1;
    max-height: 10vh;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #FFCBCB inset;
    -webkit-text-fill-color: #1B355F;
    border: 1px solid orange;
}



#login {
    /*box-shadow: 0 2px 3px rgba(0,0,0,.55);*/
    border: 0 solid rgba(0, 0, 0, .4);
    display: flex;
    flex: none;
    flex-direction: column;
    padding: 0;
    width: 440px;
}

#login #topbar {
    background: #193660;
    display: flex;
    flex: auto;
    flex-shrink: 0;
    flex-shrink: 0;
}

#login #topbar a {
    color: #eee;
    display: inline-block;
    flex: auto;
    flex-grow: 0;
    font-size: 18px;
    height: 22px;
    padding: 15px 30px 10px 30px;
    text-align: center;
    text-decoration: none;
    transition: all 300ms ease;
}

#login #topbar a#RegisterTabLink { flex-grow: 1; }

#login #topbar a:hover,
#login #topbar a.selected {
    background: #F59817;
    color: #fff;
}

#login #mainwindow {
    background: white;
    display: flex;
    flex: auto;
    flex-direction: column;
    padding: 1em 2em;
}

#login #bottom {
    background: linear-gradient(white, rgba(1, 1, 1, 0));
    clear: both;
    left: 0px;
    margin: 0px;
    padding: 5px;
    padding-bottom: 30px;
    padding-top: 50px;
    text-align: center;
}


#login #bottom a {
    color: #193660;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    margin: 1px;
    padding: 0px 12px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

#login #bottom a:hover {
    color: #F39719;
    transition: all 300ms ease;
}

#login #logo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 30px 0;
}

#login #logo img { width: 90%; }

#login h1 {
    color: #003068;
    font-size: 2em;
    font-weight: normal;
    letter-spacing: 0.05em;
}

#login input[type=text], #login input[type=password] {
    background-color: #fff;
    border: none;
    border-bottom: 1px solid #003068;
    flex: auto;
    font-family: Arial;
    font-size: 0.8em;
    height: 2em;
    letter-spacing: 0.05em;
    padding: 2px;
}

#login input[type=text]:focus, #login input[type=password]:focus { border-bottom: 1px solid #F6941D; }

#login .field { margin: 25px 0; }

#login .field label {
    display: block;
    margin-bottom: 5px;
}

#login .field input { width: 100%; }

#login #buttons {
    display: flex;
    flex-direction: row;
    margin-top: 1em;
}

#login #Login1_ValidationSummary1 ul {
    color: #F6941D;
    font-size: 0.8em;
    list-style: none;
    margin: 0;
    padding: 0;
}

#login #buttons input, #login #buttons a, #login input[type=submit] {
    background: none;
    border: 0;
    border: 1px solid #003068;
    color: #003068;
    cursor: pointer;
    display: block;
    flex: auto;
    flex-basis: 40%;
    flex-grow: 1;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: bold;
    margin: 0.2em;
    padding: 0.5em;
    text-align: center;
    text-decoration: none;
    text-transform: capitalize;
    transition: all 300ms ease;
}

#login #buttons input:hover, #login #buttons a:hover, #login #buttons #Login1_LoginButton:hover, #login input[type=submit]:hover {
    background: #003068;
    color: #F6941D;
}

#login #buttons #Login1_LoginButton, #login input[type=submit] {
    background: #003068;
    color: #fff;
}

#CopyrightPrivacy {
    text-decoration: none;
    color: grey;
    margin-top:10px;
}

#CopyrightPrivacy:hover {
    color: #1B355F;
}

.failure {
    color: red;
}