﻿/* IMPORTANT NOTICE
    ANY ADDITIONS/CHANGES TO THIS STYLESHEET WILL NEED TO BE ADDED TO:
        -STYLESHEETS OF OTHER LICENSEES
        -TRANSACTION TRACKER'S STYLESHEET
*/

/*------------------------------------*\
  #COMPRESSION
    These are all Bootstrap overrides
    to reduce the size of the UI
\*------------------------------------*/

/* Global Fonts */
html, body {
    font-size: 0.9rem !important;
}

/* Global Grid Changes */
.row {
    -ms-flex-pack: start !important;
    justify-content: flex-start !important;
}

/* Dropdown Menu */
.dropdown-menu {
    font-size: 0.85rem !important;
}

/* Buttons */
.btn {
    font-size: 0.9rem !important;
}

/* Form Labels */
label {
    display: inline !important;
    margin: 0 !important;
}

/* Forms */
input, textarea, select {
    font-size: 0.9rem !important;
}

/*------------------------------------*\
  #STRUCTURE
\*------------------------------------*/

html, body {
    height: 100%;
}

.shadow-box {
    -webkit-box-shadow: 0px 2px 30px 1px rgba(0, 0, 0, 0.3);
    height: 80px;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
}

.side-bar {
    height: 100%;
    left: 0;
    overflow-x: hidden;
    position: fixed;
    top: 0;
    width: 230px;
}

    .side-bar .logo {
        align-items: center;
        background: #e5e5e5;
        border-bottom: 1px solid #efefef;
        color: #000000;
        display: flex;
        font: 2.4em "Helvetica Neue", Arial, sans-serif;
        height: 80px;
        justify-content: center;
        width: 230px;
    }

        .side-bar .logo a {
            text-decoration: none !important;
        }

        .side-bar .logo img {
            height: 80px;
            width: 230px;
        }

.top {
    background: #e5e5e5;
    border-bottom: 1px solid #efefef;
    height: 80px;
}

/* Content area is 100% - the side bar width of 230px */

.content {
    margin-left: 230px;
    width: calc(100% - 230px);
}

/*------------------------------------*\
  #VALIDATION - IMPORTANT
\*------------------------------------*/

/* This is used in active validation */

.field-validation-error {
    color: red;
    display: block;
    margin-top: 1em;
}

    .field-validation-error:before {
        content: '\f06a';
        font-family: 'Font Awesome 5 Free';
        font-size: 90%;
        font-weight: 900;
        padding-right: 5px;
        position: relative;
    }

.input-validation-error {
    border: 1px solid #ff0000;
}

/* This is used in postback or @Html.ValidationSummary() */

.validation-summary-errors {
    color: #ff0000;
    display: block;
    margin-top: 1em;
}

    .validation-summary-errors ul {
        list-style: none;
    }

    .validation-summary-errors li:before {
        content: '\f06a';
        font-family: 'Font Awesome 5 Free';
        font-size: 90%;
        font-weight: 900;
        padding-right: 5px;
        position: relative;
    }

/* This is used for asterisks marking required fields */

.required {
    color: #ff0000;
}

/*------------------------------------*\
  #BANNER
\*------------------------------------*/

.banner {
    display: block;
}

/*------------------------------------*\
  #NAVIGATION
\*------------------------------------*/

.navbar {
    padding: 0;
}

nav a {
    color: #000000;
}

    nav a:active {
        background: none !important;
        color: #000000 !important;
    }

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > a:after {
        border-bottom: 0.3em solid transparent;
        border-left: 0.3em solid;
        border-right: 0.3em;
        border-top: 0.3em solid transparent;
        content: "";
        display: inline-block;
        margin-left: 0.5em;
        vertical-align: middle;
    }

    .dropdown-submenu > .dropdown-menu {
        left: 100%;
        margin-left: 0px;
        margin-top: 0px;
        top: 0;
    }

/*------------------------------------*\
  #QUICK-LINKS 
\*------------------------------------*/

.quick-links {
}

    .quick-links ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

        .quick-links ul li {
            font-size: .9em;
        }

            .quick-links ul li a.edit-quick-links {
                display: block;
                font-weight: bold;
                margin: 10px 0 0 0;
            }

                .quick-links ul li a.edit-quick-links:before {
                    content: '\f044';
                    font-family: 'Font Awesome 5 Free';
                    font-size: 90%;
                    font-weight: 900;
                    padding-right: 5px;
                    position: relative;
                }

/*------------------------------------*\
  #SUBLINKS
\*------------------------------------*/

.sublinks {
}

    .sublinks ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }

        .sublinks ul li a, .sublinks ul li a:visited {
            background: #eaeaea;
            border-radius: 8px;
            color: #000;
            display: flex;
            margin-bottom: .2em;
            padding: 1em;
        }

            .sublinks ul li a.active {
                background: #E6DEB9;
                border-radius: 8px;
                font-weight: bold;
            }

            .sublinks ul li a:hover {
                background: #CDC5A0;
                border-radius: 10px;
                font-weight: bold;
            }

/*------------------------------------*\
  #FOOTER
\*------------------------------------*/

/* Not using Bootstrap for the footer. Requires layout to run as grid-flex. */

.footer {
    background: #e5e5e5;
    border-top: 1px solid #efefef;
    box-shadow: 0px -2px 15px 1px rgba(0, 0, 0, 0.30);
    position: sticky;
    top: 100vh;
}

    .footer:after {
        clear: both;
        content: '';
        display: block;
    }

    .footer .footer-col {
        float: left;
        width: 33.3%;
    }

/*------------------------------------*\
  #LOGIN
\*------------------------------------*/

body.login {
    background: #eaeaea;
}

.login-left {
    background: #ffffff;
    border-radius: 10px 0 0 10px;
    box-shadow: 1px 1px 1px #cccccc;
    display: block;
}

    .login-left .inner {
        margin: auto;
        width: 70%;
    }

    .login-left form {
        padding-top: 1em;
    }

        .login-left form input {
            float: left;
            margin-bottom: 1em;
            width: 100% !important;
        }

        .login-left form button {
            width: 100%;
        }

.login-right {
    background: #1c2701;
    border-radius: 0 10px 10px 0;
    box-shadow: 1px 1px 1px #cccccc;
}

    .login-right .logo {
        color: #ffffff;
        font: 2.4em "Helvetica Neue", Arial, sans-serif;
        height: 80px;
        margin: auto;
        text-align: center;
        width: 230px;
    }

    .login-right img {
        height: 100%;
        width: 100%;
    }

/*------------------------------------*\
  #TEXT
\*------------------------------------*/

h2 {
    font-size: 1.6em;
}

h3 {
    font-size: 1.4em;
    margin: 0 0 0.8em 0;
}

a {
    color: #000000;
}

    a:hover {
        color: #000000;
    }

/*------------------------------------*\
  #FONTS
\*------------------------------------*/

/* data-label represents anything labeling significant info THAT IS NOT A FORM */
.data-label {
    font-weight: bold;
}

.green-font {
    color: green;
}

.blue-font {
    color: blue;
}

.red-font {
    color: red;
}

/*------------------------------------*\
  #FORMS
\*------------------------------------*/

.form-row .col {
    width: 350px !important;
}

.form-group.col {
    flex-grow: unset;
    margin-right: 1em;
    width: 350px !important;
}

.form-control {
    width: 350px !important;
}

.form-check {
    margin-bottom: 0.75rem !important;
}

.custom-select {
    width: 350px !important;
}

/* Bootstrap Custom File Importer */

.import-file-form .custom-file-label {
    width: 350px;
}

/*------------------------------------*\
  #BUTTONS
\*------------------------------------*/

/* Class .btn-iweb is what we should be using for our forms most of the time unless we need a specific style.
    This changes both the style of this button, the way it looks when a user hovers over it, and the way it looks when clicked.
*/

.btn-iweb, .btn-iweb:active, .btn-iweb:focus {
    background: #eaeaea !important;
    border: 1px solid #cccccc !important;
    color: #000000 !important;
}

    .btn-iweb:hover {
        background: #cccccc !important;
        border: 1px solid #cccccc !important;
        color: #000000 !important;
    }


/*------------------------------------*\
  #TABLE
\*------------------------------------*/

table.table th a {
    text-decoration: none;
}

table.table .alternate-row {
    background: #efefef;
}

table.table .selected-row {
    background: yellow;
    font-weight: bold;
}

table.table td table tr td:first-child {
    border-top: 0;
}

.table th, .table td {
    padding: 0.35rem !important;
}

    /* Any labels used inside class="table" will be bold */
    .table td label {
        font-weight: bold;
    }

/*------------------------------------*\
  #GRID ICONS
\*------------------------------------*/

table.table tr td .preview:before {
    content: '\f002';
    font-family: 'Font Awesome 5 Free';
    font-size: 90%;
    font-weight: 900;
    padding-right: 5px;
    position: relative;
}

table.table tr td .edit:before {
    content: '\f044';
    font-family: 'Font Awesome 5 Free';
    font-size: 90%;
    font-weight: 900;
    padding-right: 5px;
    position: relative;
}

table.table tr td .delete:before {
    content: '\f2ed';
    font-family: 'Font Awesome 5 Free';
    font-size: 90%;
    font-weight: 900;
    padding-right: 5px;
    position: relative;
}

/*------------------------------------*\
  #GRID PAGER
\*------------------------------------*/

table.table tr.pager td {
    text-align: right;
}

.pager-results {
    display: inline-block;
}

.pager-navigation {
    display: inline-block;
    margin-left: 1em;
    text-align: center;
}

.pager-page-size {
    display: inline-block;
    margin-left: 1em;
    text-align: right;
}

    .pager-page-size select {
        width: 70px !important;
    }

        .pager-page-size select.form-control {
            display: inline;
            margin-left: 5px;
            width: 80px;
        }

/*------------------------------------*\
  #MODALS
\*------------------------------------*/

.modal-dialog {
    max-width: calc(100vh - 1em);
}

.modal .modal-custom-buttons .btn-iweb-secondary {
    margin-left: 0.5rem;
}

.modal .route-to-bank {
    border-top: 1px solid #dee2e6;
    padding: 0.75rem;
}

/*------------------------------------*\
  #SELECT2
\*------------------------------------*/

/* Placeholder override for Current Bank Id */

.select2-selection__placeholder {
    color: #000000 !important;
}

/*------------------------------------*\
  #CONFIRMATIONS LIST
\*------------------------------------*/

ul.confirmations {
    list-style: none;
    margin: 0;
    padding: 0;
}

/*------------------------------------*\
  #VALIDATION ERRORS LIST
\*------------------------------------*/

ul.validationErrors {
    list-style: none;
    margin: 0;
    padding: 0;
}

/*------------------------------------*\
  #BANK COMMENTS
\*------------------------------------*/
.bank-comments:before {
    content: '\f05a';
    font-family: 'Font Awesome 5 Free';
    font-size: 90%;
    font-weight: 900;
    padding-right: 5px;
    position: relative;
}

/*------------------------------------*\
  #MANAGING USERS
\*------------------------------------*/
#manageUsers-applications input.form-control {
    width: 175px !important;
}

/*------------------------------------*\
  #MARQUEE FOR BANNERS
\*------------------------------------*/
.marquee {
    animation: slide-left 15s linear infinite;
    position: relative;
}

    .marquee:hover {
        animation-play-state: paused;
    }

@keyframes slide-left {
    0% {
        left: 100%;
    }

    50% {
        left: -100%;
    }

    100% {
        left: -100%
    }
}
