.btn {
    margin:.5em;
}

.current {
    background: #fff;
    /*height: 3.125em;
    line-height: 3.125em;*/
    border-right: 3px solid #EAE8E8;
    border-top: 6px solid #EAE8E8;
    border-left: 1px solid #EAE8E8;
    border-radius: 8px 8px 0 0;
}

.dt-input{
    margin-right:1em;
}

nav {
    height: 3.125em;
    background: #F5F4F3;
    border-bottom: 1px solid #EAE8E8;
    font-family: Verdana;
    line-height: 2em;
}

.nav-item {
    height: 3.125em;
    list-style: none;
    display: inline-block;
    padding: 0;
    margin: 0;
    min-width: 9.375em;
    text-align: center;
}
    /* first descendant link within a top level navigation item */
    .nav-item > a {
        position: relative;
        display: inline-block;
        padding: 0.5em 1em;
        margin: 0 0 -1px 0;
        text-decoration: none;
        color: #0064c5;
    }
        /* focus/open states of direct descendant link within a top level navigation item */
        .nav-item > a.open,
        .nav-item > a:hover  {
            color: #000;
            font-weight: bold;
        }
        /* open state of direct descendant link within a top level navigation item */
        .nav-item > a.open {
            z-index: 1;
        }

.dropdown:hover .dropdown-menu{
    display: block;
    margin-top: 0; /* remove the gap so it doesn't close */
}

.dropdown:hover .dropdown-label {
    color: #000;
    font-weight: bold;
}

.nav-menu {
    display: block;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 15;
    min-height: 3.125em;
    /*-webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 0;*/
}

.sub-nav {
    position: absolute;
    display: none;
    top: 3.125em;
    /*padding: 0.5em 1em;*/
    background-color: #F5F4F3;
    /*border: 0;
          clip: rect(0 0 0 0);
          height: 1px;
          margin: -1px;
          overflow: hidden;
          padding: 0;
          width: 1px;*/
}

    .sub-nav.open {
        display: block;
        /*width: unset;
            height: unset;
            margin: unset;
            padding: unset;
            overflow: unset;
            clip: auto;*/
    }

    .sub-nav ul {
        display: inline-block;
        vertical-align: top;
        margin: 0;
        padding: 0;
    }

    .sub-nav li {
        display: block;
        list-style-type: none;
        margin: 0;
        padding: 0;
        min-height: 3.125em;
        width: auto;
        min-width: 25em;
    }

    .sub-nav a {
        display: block;
        text-decoration: none;
        color: #363872;
        margin: 0;
        line-height: 3.125em;
    }

        .sub-nav a:focus, .sub-nav a:hover {
            display: block;
            background-color: #4A5153;
            margin: 0 0 0 0;
            padding: 0;
            color: #FFF;
            font-weight: bold;
            min-height: 3.125em;
            width: 100%;
        }
/*
Page and Shared Layout
*/
* {
    box-sizing: border-box; /* Combine padding into total container width calculations (for all browsers) */
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    text-decoration: none; /* Clear automatic formatting of links */
}

h1 {
    font-weight: normal;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    margin-top: 0;
    margin-bottom: 0;
}

body {
    padding: 0;
    margin: 0;
    border-top: 0.375em solid #363872;
    font-family: Verdana;
    font-size: 100%;
}

.header-logo {
    float: left;
    width: 33.33%;
}

nav {
    width: 94%;
    margin: 0 auto;
    max-width: 62.5em;
}

.header-title {
    float: left;
    width: 66.67%
}

#LogoutLnk {
    position: absolute;
    right: 5px;
    top: 15px;
    z-index: 20;
    color: #363872;
}
/*
Header
*/
header {
    min-height: 15em;
    width: 94%;
    max-width: 81.25em;
    margin: 0 auto;
    border-bottom: 1px dashed #E8E8E8;
    padding-top: 3.75em;
}

.main-title {
    font-weight: bold;
    color: #000000;
    font-size: 2em;
    letter-spacing: -2px;
    margin-top: 0.67em;
    margin-bottom: 0.67em;
}

    .main-title strong {
        color: #363872;
    }

.sub-title {
    position: absolute;
    left: 0;
    display: block;
    height: 2em;
    background-color: #E8E8E8;
    background: -webkit-linear-gradient(left, rgba(232,232,232,1), rgba(232,232,232,0)); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(right, rgba(232,232,232,1), rgba(232,232,232,0)); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(right, rgba(232,232,232,1), rgba(232,232,232,0)); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to right, rgba(232,232,232,1), rgba(232,232,232,0));
    font-size: 1.5em;
    color: #000000;
}

.sub-title-main {
    width: 10em;
    line-height: 2em;
    padding-left: 2.7em;
}

.header-logo img {
    height: 9.0625em;
    width: auto;
}

nav {
    position: relative;
}

.header-nav {
    position: absolute;
    top: 0.375em;
    left: 0;
    height: 3.125em;
    width: 100%;
    background-color: #F5F4F3;
    border-bottom: 1px solid #EAE8E8;
}

.skip {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

    .skip:focus,
    .skip:hover,
    .skip:active {
        background-color: #363872;
        position: fixed;
        left: 1px;
        width: 19.25em;
        height: 2.5em;
        color: #FFF;
        padding-left: 0.625em;
        line-height: 2.5em;
        z-index: 1000;
    }

/*
Footer
*/

footer {
    position: relative;
    background: #F5F4F3;
    height: 6.25em;
    width: 100%;
    margin-top: 4.25em;
}

/*
**
Begin Responsive Styles for Tablet and Phone based on screen width.
Order of @media groupings cannot be changed due to inheritance.
**
*/

/*
Large Notebooks
*/

/*@media only screen and (max-width: 1366px) {
        header h1 {
            font-size: 1.7em;
        }
        header p {
            font-size: 1.25em;
        }
    }*/

/*
Small / Low Resolution Desktop Monitors
*/

@media only screen and (max-width: 1280px) {

    .header-logo {
        display: none;
    }

    .header-title {
        width: 100%;
        text-align: center;
        display:contents;
    }

    .sub-title {
        position: relative;
        width: 50%;
        margin: 0 auto;
        background: none;
        font-size: 1.75em;
        height:auto;
        padding-bottom:1rem;
        margin-bottom:1rem;
    }

    .sub-title-main {
        padding-left: 0;
    }
}

/*
Large Phones
*/

@media only screen and (max-width: 768px) {
    /*
        Header
        */
    header {
        background-image: none;
    }

        header .main-title {
            font-size: 2em;
        }

        header p {
            font-size: 1.125em;
            position: inherit;
        }

    .header-title {
        width: 100%;
        clear: both;
        text-align: center;
    }

    .nav-item {
        min-width: 0px;
    }

    .btn {
        margin: 1em;
    }
}



h1 {
    font-size: 1.5em;
    border-bottom: 4px solid #363872;
    width: 400px
}

ul {
    list-style-type: none;
    margin-top: 10px;
    margin-left: 20px;
}

li {
    padding: 4px;
}

.alignment {
    margin: auto;
    width: 40%;
}
main {
    display: block;
    width: 94%;
    margin: 0 auto;
    padding-top: 1em;
}

    /*Override stupid chrome default behavior*/
    main input[type="button"],
    main input[type="submit"],
    main input[type="reset"],
    main input[type="file"]::-webkit-file-upload-button,
    main button {
        cursor: pointer;
    }

    main h2 {
        font-size: 1.3em;
        margin-bottom: 25px;
    }

    main h3 {
        font-size: 1.1em;
    }

.center {
    display: block;
    width: 100%;
    text-align: center;
}

.left {
    display: inline-block;
    text-align: left;
}

/*
Links and Buttons
*/

main a {
    color: #0064c5;
}

main button[type="button"],
main input[type="button"],
main input[type="submit"] {
    background-color: #363872;
    padding: 0 3px;
    color: #FFFFFF;
    border-radius: 4px;
    min-width: 10em;
    height: 2.1em;
    border: none;
}

#nav-block {
    padding-bottom: 20px;
}

    #nav-block input,
    #nav-block button,
    #nav-block a {
        display: inline-block;
        font-size: 1.2em;
        margin-right: 2.2em;
        text-decoration: none;
    }

#form-button-block {
    padding-top: 15px;
    margin-bottom: 0.8em;
}

    #form-button-block input,
    #form-button-block button,
    #form-button-block a {
        display: inline-block;
        font-size: 1.2em;
        margin-right: 1.4em;
        text-decoration: none;
    }

        #form-button-block input:last-child,
        #form-button-block button:last-child,
        #form-button-block a:last-child,
        #nav-block input:last-child,
        #nav-block button:last-child,
        #nav-block a:last-child {
            margin-right: 0;
        }

/*
Lists
*/

dl.indented,
ol.indented,
ul.indented,
.indented {
    padding-left: 2.5em;
}

    ol.indented li span:first-child,
    ul.indented li span:first-child {
        padding-left: 2.5em;
        width: 16.5em;
    }

div.indented,
span.indented {
    padding-bottom: 7px;
}

ol.inline,
ul.inline {
    list-style: none;
    padding: 0px;
    display: table;
}

    ol.inline li,
    ul.inline li {
        display: table-row;
    }

        ol.inline li span,
        ul.inline li span {
            display: table-cell;
            padding-bottom: 7px;
        }

dl.inline dt {
    float: left;
    clear: left;
    width: 14em;
    padding-bottom: 7px;
    vertical-align: top
}

dl.inline dd {
    float: left;
    clear: right;
    margin-left: 0px;
}

/* dl.inline must be surrounded by a block container with .list-block class */
.list-block {
    overflow: hidden;
}

ol.form, ul.form {
    list-style: none;
}

    ol.form li label,
    ul.form li label,
    div.form label {
        display: inline-block;
        width: 16em;
        vertical-align: top;
        padding-bottom: 7px;
    }

        .form li label strong,
        div.form label strong,
        .required {
            font-weight: normal;
            color: #363872;
        }

main fieldset {
    border: 0 none;
    padding-top: 10px;
    padding-left: 0px;
    margin-top: 10px;
    margin-left: 0px;
    width: 60%;
}

main legend {
    font-size: 1.1em;
    font-weight: bold;
    padding-left: 1.1em;
}

main ol fieldset,
main ul fieldset,
main dl fieldset {
    position: relative;
    padding-top: 40px;
    padding-bottom: 20px;
    border-top: 1px dashed #E8E8E8;
    border-bottom: 1px dashed #E8E8E8;
}

main ol legend,
main ul legend,
main dl legend {
    position: absolute;
    top: 5px;
    -webkit-padding-start: 0px;
    font-weight: normal;
}

main li fieldset {
    width: 100%;
}

    main li fieldset legend {
        top: 10px;
        font-size: inherit;
        font-weight: bold;
    }

main li div {
    width: 38em;
}

/* List meta-data can be placed in a block container with .list-message class between the list and its header */
.list-message {
    font-weight: bold;
    padding-bottom: 7px;
    padding-left: 1.5em;
}

/*
Tables
*/

.rgview table {
    border: 1px outset #4A5153;
    border-radius: 4px 4px 0px 0px;
    font-size: 0.9em;
}

    .rgview table thead {
        background-color: #EAE8E8;
        background-image: linear-gradient(to top, #EAE8E8, #FFFFFF);
        color: #000000;
        font-size: 1em;
    }

        .rgview table thead tr {
            border-bottom: 1px solid gray;
        }

    .rgview table tr th {
        border-left: 1px solid gray;
        border-right: 1px solid gray;
    }

    .rgview table tfoot {
        background-color: #EAE8E8;
    }

.rgFooter td {
    border-top: 1px solid grey;
}

.rgview table tr td {
    border-top: none;
    border-bottom: none;
    border-left: 1px solid grey;
    border-right: 1px solid grey;
}

.rgview table .rgAltRow {
    background-color: #F5F4F3;
}

.flag {
    display: block;
    min-width: 4em;
}

table ol,
table ul {
    list-style: disc;
    margin-top: 0px;
    margin-bottom: 0px;
}

    table ol strong,
    table ul strong {
        font-weight: normal;
        color: #363872;
    }

/*
Popups
*/

.modal-content {
    top: 12em;
}

.modal-header {
    background-color: #363872;
    border-radius: 3px 3px 0px 0px;
}

.modal-footer {
    background-color: #E8E8E8;
    border-radius: 0px 0px 3px 3px;
}

    .modal-footer button,
    .modal-footer input {
        border-right: 0.2em;
    }

/*
Accessibility and Functionality
*/

.hidden {
    display: none;
}

/* Items with .visually-hidden are not rendered but can be read by screen readers */
.visually-hidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
Alerts and Messages
*/

.alert {
    border-radius: 8px;
    padding: 1em 1em 1em 3em;
    margin: 2em;
}

    .alert span {
        display: block;
        padding-left: 1em;
    }

    .alert a {
        color: black;
    }

.alert-danger {
    background-color: #ffecec;
    border: 1px solid #f5aca6;
}

.alert-warning {
}

.alert-info {
}

.alert-success {
}

.right {
    align-content:
}

/*Disable Number Arrows for Accessibility*@ @*Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/*Firefox */ 
input[type=number] {
    -moz-appearance: textfield;
}