﻿* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family: sans-serif;
}

topbar {
    background-color: white;
    display: grid;
    grid-area: topbar;
    grid-template-columns: 1fr;
    justify-items: left;
}

#navbar {
    background-color: #004a88;
    display: grid;
    grid-area: navbar;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
}

#esha-brand-logo {
    height: 83px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: sans-serif;
    margin-bottom: 1em;
    margin-top: 2em;
}

/*h1 {
    display: inline-block;
    font-size: 2.5rem;
}

h2 {
    font-size: 1.8em;
}

h3 {
    font-size: 1.3em;
}

h4 {
    font-size: 1.3em;
}

h5 {
    font-size: 1.2em;
}

h6 {
    font-size: 1.1em;
}*/

main {
    grid-area: content;
    margin: auto;
}

body {
    background-color: #fff;
    margin: auto;
}

footer {
    background-color: #383838;
    text-align: center;
    grid-area: footer;
}

    footer * {
        color: #f8f8f8;
        font-family: 'Source Sans Pro', sans-serif;
        font-weight: 400;
        line-height: 1.5;
    }

    footer li {
        display: inline-block;
        margin: 1rem;
        vertical-align: top;
    }

    footer a {
        display: block;
        text-decoration: none;
    }

        footer a:hover {
            text-decoration: underline;
        }

main .content-box {
    background-color: #fff;
    box-shadow: 1px 1px lightgray;
    padding: 10px;
}

table td, table th {
    padding: 6px;
}

table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.menu {
    padding-left: 1.5rem;
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.menu li {
    list-style-type: none;
    min-width: 100px;
}

.form-group label {
    display: inline-block;
    color: #212529;
    line-height: 24px;
    margin-bottom: 0.5rem;
}

.validateInput {
    display: block;
    color: #4d4d4d;
    border: 1px solid #cbcbcb;
    line-height: 24px;
    padding: 0.375rem 0.75rem;
    width: 250px;

    font-family: 'Source Sans Pro', sans-serif;
    display: inline-block;
    min-width: 1fr;
    margin-bottom: 1rem;
}

/* todo: rename this to something more generic. */
.validateButton {
    display: inline-block;
    background-color: #069;
    border: 1px solid;
    border-color: #069;
    border-radius: 0.25rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    grid-column: 1;
    line-height: 1.5;
    padding: 0.375rem 0.75rem;
    transition-duration: 0.1s;
    transition-property: background-color, border-color, color;
    transition-timing-function: linear;
}

.validateButton:hover {
    background-color: #004d73;
    border-color: #004d73;
    color: #fff;
}

.button {
    display: inline-block;
    background-color: #069;
    border: 1px solid;
    border-color: #069;
    border-radius: 0.25rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    grid-column: 1;
    line-height: 1.5;
    padding: 0.375rem 0.75rem;
    transition-duration: 0.1s;
    transition-property: background-color, border-color, color;
    transition-timing-function: linear;
}

    .button:hover {
        background-color: #004d73;
        border-color: #004d73;
        color: #fff;
    }

.loginexternal {
    display: none;
}
/* Mobile */

@media screen and (max-width: 540px) {
    body {
        display: grid;
        grid-template-areas: "topbar topbar" "content content" "footer footer";
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 45px 1fr 60px;
        margin: 0;
        min-height: 100vh;
    }

    filler {
        display: none;
    }
}

/* Large Screen */

@media screen and (min-width: 541px) {
    body {
        display: grid;
        grid-template-areas: "topbar topbar topbar" "navbar navbar navbar" "content content content" "footer footer footer";
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 85px 30px 1fr 60px;
        margin: 0;
        min-height: 100vh;
    }
}
