a:link, a:visited, a:active {
    color: #6EC1E4;
    text-decoration: none;
}

p, ul {
    margin-bottom: 10px;
    line-height: 1.6em;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-size: 1.5em;
}

h1 {
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}

h2 {
    padding: 0 0 10px 0;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

/* this rule styles <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2 {
    margin-top: 0;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
/* When specifying a width, must change nav position */
html {
    background-color: #0A132A;
}

.page {
    display: flex;
    flex-direction: column;

    font-family: Montserrat;

    width: 924px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}

.page {
    --primary-color: #6EC1E4;
    --primary-hover-color: #00CD98;
    --light-color: #E3E7EE;
    --light-hover-color: #F7F9FB;
    --warning-color: #D85140;
}

.page > footer {
    flex-grow: 1;
    margin-top: 0.5em;
    padding-bottom: 30px;
    font-size: .9em;
    color: white;
    text-align: center;
    line-height: normal;
}

.page a {
    color: var(--primary-color);
}

.page a:hover {
    color: var(--primary-hover-color);
}

.page #MenuBar a {
    color: white;
}

.page #MenuBar a:hover {
    color: var(--primary-hover-color);
}

.button.is-success {
    background-color: var(--primary-color);
}

.button.is-success:hover {
    background-color: var(--primary-hover-color);
}

.button.is-light {
    background-color: var(--light-color);
}

.button.is-light:hover{
    background-color: var(--light-hover-color);
}

.button.arrow-button {
    gap: 5px;
}

.button.arrow-button > div {
    margin-bottom: 2px;
}

.required {
    color: var(--warning-color);
}

.fieldError {
    color: var(--warning-color);
    margin-bottom: 1px;
    margin-left: 0px;
    margin-top: 0px;
    padding-left: 0px;
}

.page #main {
    border-radius: 7px;
}

.page fieldset {
    border-radius: 6px;
}

#header {
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
}

    #header h1 {
        font-weight: bold;
        padding: 5px 0;
        margin: 0;
        color: #fff;
        border: none;
        line-height: 2em;
        font-size: 32px !important;
    }

#main {
    padding: 30px 30px 15px 30px;
    background-color: #fff;
    _height: 1px; /* only IE6 applies CSS properties starting with an underscore */
}

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

body fieldset {
    margin: 1em 0;
    padding: 1em;
    border: 1px solid #CCC;
}

    body fieldset p {
        margin: 2px 12px 10px 10px;
    }

legend {
    font-size: 1.1em;
    font-weight: 600;
    padding: 2px 4px 8px 4px;
}

input[type="text"] {
    width: 200px;
    border: 1px solid #CCC;
}

input[type="password"] {
    width: 200px;
    border: 1px solid #CCC;
}

/* TABLE
----------------------------------------------------------*/

table {
    border: solid 1px #e8eef4;
    border-collapse: collapse;
}

    table td {
        padding: 5px;
        border: solid 1px #e8eef4;
    }

    table th {
        padding: 6px 5px;
        text-align: left;
        background-color: #e8eef4;
        border: solid 1px #e8eef4;
    }

/* MISC  
----------------------------------------------------------*/
.clear {
    clear: both;
}

.error {
    color: Red;
}

.warning {
    color: Red;
    font-weight: bold;
}

div#title {
    display: block;
    float: left;
    text-align: left;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid {
    display: none;
}

#MenuBar {
    color: white;
    background-position: top;
    background-repeat: repeat-x;
    height: 25px;
    width: 924px;
    margin-top: -2px;
    padding-top: 2px;
}

.MenuBarItem {
    margin: 10px 15px;
    position: relative;
    top: 1px;
}

#logindisplay {
    font-size: 1.1em;
    display: block;
    text-align: right;
    float: right;
    margin: 0px 10px 0px 0px;
}

    #logindisplay a:link {
        text-decoration: underline;
    }

    #logindisplay a:visited {
        text-decoration: underline;
    }

    #logindisplay a:hover {
        text-decoration: none;
    }

table.inputForm, table.inputForm td {
    border: none;
}

#HeaderLogoLink {
    text-align: center;
    margin-bottom: 0px;
    margin-left: 0px;
    padding-bottom: 0px;
    position: relative;
    left: -15px;
}

    #HeaderLogoLink a img {
        border: 0px;
    }

.inputLeftCell {
    padding-left: 15px;
}

.asteriskNotification {
    margin: 0px;
    font-size: .9em;
    font-style: italic;
}

fieldset {
    margin-bottom: 25px;
}

.validation-summary-errors ul {
    display: none;
}

span.fieldError {
    margin-bottom: 4px;
}

.grayedOut {
    color: #aaaaaa;
}

.smallNote {
    font-style: italic;
    font-size: .9em;
}

.initialsNote {
    font-size: .9em;
}

.borderlessTable,
.borderlessTable td {
    border: none;
}

#CreditCardNumberTD input {
    width: 35px;
}

/* Message box */
.infoBox, .successBox, .warningBox, .errorBox, .validationBox {
    border: 1px solid;
    margin: 10px 0px;
    padding: 15px 10px 15px 50px;
    background-repeat: no-repeat;
    background-position: 10px center;
}

.infoBox {
    color: #00529B;
    background-color: #BDE5F8;
    background-image: url('/Images/info.png');
}

.successBox {
    position: relative;
    color: #4F8A10;
    background-color: #DFF2BF;
}

.successBox:before {
    content: "\f058";
    font-family: FontAwesome;
    left: 10px;
    top: 4px;
    position: absolute;
    font-size: 30px;
 }

.warningBox {
    color: #9F6000;
    background-color: #FEEFB3;
    background-image: url('/Images/warning.png');
}

.errorBox {
    color: #D8000C;
    background-color: #FFBABA;
    background-image: url('/Images/error.png');
}

ol.wordsOfWisdomLinks li {
    padding-top: 3px;
}

ol {
    margin-top: 2px;
}

#TransactionListHeaderRow td {
    font-weight: bold;
}

#TransactionListTable td {
    text-align: center;
}

#TransactionListTable {
    margin-left: auto;
    margin-right: auto;
}

input#MiddleInitial {
    width: 25px;
}

.templateThumbnail {
    margin: 15px;
}

#HbaMemberRightTemplateDiv {
    width: 30%;
    float: right;
}

#HbaMemberLeftTemplateDiv {
    width: 65%;
}

.DataCellName {
    font-weight: bold;
}

button.invisible-button {
    overflow: visible !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    padding: 0 !important;
    display: block !important;
}