﻿/* Override style.css and global.css */
fieldset {
    margin-bottom: 1em;
}

.form-control {
    height: calc(3em + 1px);
    padding: .5rem 1rem;
}

#primary-navigation a.cur, #primary-navigation li.active a {
    color: #439539 !important;
}

#popup_dialog {
    line-height: normal !important;
}

input[type="submit"], input[type="button"] {
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-align: center;
    font-weight: 500;
}

input[type="submit"], input[type="reset"], input[type="button"], button[type="submit"], button[type="reset"], button[type="button"], .button, .button-gradient, .button-disabled, a.button {
    border-color: #013d83;
    background-color: #013d83;
    color: #FFF;
}

    input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover, button[type="submit"]:hover, button[type="reset"]:hover, button[type="button"]:hover, .button:hover, .button-gradient.bottom, .button-red:hover, a.button:hover {
        border-color: #439539;
        background-color: #439539;
        color: #FFF;
    }

    input[type="submit"].cancel, input[type="button"].cancel {
        border-color: #333;
        background-color: #333;
        color: #FFF;
    }

        input[type="submit"].cancel:hover, input[type="button"].cancel:hover {
            border-color: #666;
            background-color: #666;
            color: #FFF;
        }


.form-control:focus, input[type="text"]:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 15px rgb(102 175 233 / 60%);
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 15px rgb(102 175 233 / 60%);
}


.input-group-addon img {
    max-width: unset;
}
/* END Override style.css */
/* general form styles */
legend {
    font-size: 2rem;
    color: #013d83;
}

.hidden-unreleased {
    display: none;
}

.padLeft {
    padding-left: 15px;
}

.btn-file {
    position: relative;
    overflow: hidden;
}

    .btn-file input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        filter: alpha(opacity=0);
        opacity: 0;
        background: red;
        cursor: inherit;
        display: block;
    }



/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
    font-weight: 500;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error,
textarea.input-validation-error,
select.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
    font-weight: 500;
}

.validation-summary-valid {
    display: none;
}

.GrandTotal {
    color: #156d79;
    font-weight: bold;
}

.attention {
    color: rgb(163, 10, 10);
    font-weight: bold;
}

.hasFullScheduledPayment {
    color: green !important;
}

.hasPartialScheduledPayment {
    color: rgb(196, 0, 0) !important;
}

.iconLegend {
    font-size: .8em;
}

    .iconLegend span {
        vertical-align: top;
    }

.errormessage {
    color: #ff0000;
    font-weight: bold;
    padding-bottom: 8px;
    display: block;
    font-size: 1.2em;
}

.notificationMessage {
    color: rgb(22, 116, 22);
    font-weight: bold;
    padding-bottom: 8px;
    display: block;
    font-size: 1em;
}

    .notificationMessage a {
        font-style: italic;
        color: #981111;
        text-decoration: none;
    }


.paymentNotificationMessage {
    font-weight: bold;
    padding-top: 8px;
    padding-bottom: 8px;
    font-style: italic;
}

.paymentSuccess {
    color: rgb(0, 134, 21);
    font-weight: bold;
    padding-bottom: 8px;
    display: block;
    font-size: 1.2em;
    padding-left: 15px;
}

.display-label,
.editor-label, .editor-label > label, .display-label > label {
    margin: 1em 0 0 0;
    font-weight: 500;
}

.display-field,
.editor-field {
    margin: 0.1em 0 0 0;
    padding-left: 4px;
}

.editor-address {
    margin: 1em 0 0 0;
    vertical-align: top;
    font-size: .9em;
}

div.scrollbox {
    display: block;
    height: 150px;
    overflow-y: scroll;
}

div.scrollboxfull {
    display: block;
    height: 100%;
    overflow-y: auto;
}


#scheduledPayments {
    padding: 8px;
    position: absolute;
    border: 1px solid #fff;
    background-color: rgba(255, 255, 255, 0.91);
    min-height: 100px;
    z-index: 2;
}

    #scheduledPayments table {
        border: 1px solid #ccc;
    }

.attentionTable {
    margin-top: 12px;
    width: 100%;
    border: 1px solid rgb(163, 10, 10);
    margin-bottom: 16px;
}

    .attentionTable tr {
        vertical-align: top;
    }

    .attentionTable td {
        padding: 8px 8px 4px 8px;
    }

    .attentionTable th {
        background-color: rgb(163, 10, 10);
        color: #fff !important;
    }

.accountNotificationDescription {
    font-style: italic;
    margin-left: 29px;
    margin-bottom: 8px;
}

#ChangeRequest .changeRequestField {
    padding-bottom: 5px;
}

    #ChangeRequest .changeRequestField .label {
        font-weight: bold;
        clear: both;
        padding-bottom: 10px;
        padding-top: 10px;
        background-color: White;
        color: #000;
    }

    #ChangeRequest .changeRequestField .editor-field {
        clear: both;
        padding-bottom: 10px;
    }

.changeRequestDescription {
    margin-top: -16px;
    padding-bottom: 16px;
}

.changeRequestTypeDisplay {
    color: #981111;
    font-weight: bold;
}
/* Admin - change request owner */
#popup_dialog {
    background-color: #fff;
    background-image: none;
}

.buttonExitContainer {
    width: 100%;
    display: block;
    border-top: 1px solid #f0f0f0;
    padding-top: 8px;
    padding-bottom: 24px;
    margin-top: 8px;
    text-align: left;
    clear: both;
    margin-bottom: 30px;
    top: 20px;
    position: relative;
}

.buttonContainer {
    width: 100%;
    display: block;
    border-top: 1px solid #f0f0f0;
    padding-top: 8px;
    padding-bottom: 24px;
    margin-top: 8px;
    text-align: right;
    clear: both;
    margin-bottom: 30px;
    top: 20px;
    position: relative;
}

.buttonContainerLeft {
    width: 100%;
    display: block;
    border-top: 1px solid #f0f0f0;
    padding-top: 8px;
    padding-bottom: 24px;
    margin-top: 8px;
    text-align: left;
    clear: both;
    margin-bottom: 30px;
    top: 20px;
    position: relative;
}

.buttonContainer > .pull-left > input[type='submit'] {
    margin-right: 10px !important;
}

.buttonContainer > .pull-right > input[type='submit'] {
    margin-left: 10px !important;
}

input[type=submit]:disabled, input[readonly] {
    cursor: not-allowed;
}

input[type=submit]:disabled {
    background-color: #707070;
}

input::placeholder {
    font-weight: bold;
    opacity: .5;
    color: #bcd2e8;
}


/*DataTable*/
.dataTables_info {
    text-align: right;
}

.dataTables_paginate {
    text-align: center !important;
}

.dataTable thead > tr > th {
    background-color: #dbe6f0;
    color: #3d3d3d;
    border: 1px solid #ccc;
}

    .dataTable thead > tr > th:hover, .dataTable thead > tr > th.sorting_asc, .dataTable thead > tr > th.sorting_desc {
        background-color: #1A364F;
        color: #fff;
    }

table.dataTable tr.odd:hover td, table.dataTable tr.even:hover td {
    cursor: pointer;
    background-color: #d9d9d9 !important;
}

table.dataTable > tbody > tr > td {
    padding: 6px;
}

.dataTables_processing {
    background-color: #337ab7;
    color: #fff;
}

.DT10_Edit {
    text-decoration: underline;
}

    .DT10_Edit:hover {
        cursor: pointer;
    }

/*** TABLE FIXED HEADER ALL BROWSERS EXCEPT IE ***/
.table-fixed-header {
    overflow-y: auto;
    height: 200px;
}

    .table-fixed-header table {
        border-collapse: collapse;
        width: 100%;
    }

    .table-fixed-header th,
    .table-fixed-header td {
        padding: 8px 16px;
    }

    .table-fixed-header th {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        background: #eee;
    }

/*** TABLE FIXED HEADER FOR IE ***/
table.fixed-header-ie {
    border-collapse: collapse;
    width: 100%;
}
    table.fixed-header-ie thead {
        /*text-align: left;*/
        display: table;
        float: left;
        width: 100%;
    }
        table.fixed-header-ie thead tr {
            display: table-row;
            width: 100%;
        }
    table.fixed-header-ie tbody {
        display: block;
        height: 150px;
        overflow: auto;
        float: left;
        width: 100%;
    }
        table.fixed-header-ie tbody tr {
            display: table;
            width: 100%;
            height: 18px;
            border-bottom-style: none;
            font-size: 0.9em;
        }
        table.fixed-header-ie tbody td {
            padding: 4px 8px;
            min-width: 40px;
            max-width: 120px;
        }
table.invoiceTable-ie tbody tr {
    font-size: 0.9em;
}
/* Must be a min-width for each column when appliying fixed header table IE CSS */
.table.fixed-header-ie .descriptionColumn {
    min-width: 120px;
}
.table.fixed-header-ie .moneyColumn {
    min-width: 90px;
}
.table.fixed-header-ie .dateColumn {
    min-width: 100px !important;
}
