﻿

body {
    background-color: whitesmoke;
    padding-bottom: 20px;
}

#header {
    height: 80px;
    transition: all 0.5s;
    z-index: 997;
    transition: all 0.5s;
    padding: 20px 0;
    background: #1c232f
}

#overlay {
    position: fixed; /* Sit on top of the page content */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    z-index: -1; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}

.text-wrap {
    white-space: normal;
}

.width-200 {
    width: 200px;
}

.required {
    color: maroon;
    font-weight: bold;
}

.bg-main {
    background: #1c232f
}

.bg-tertiary {
    background-color: #005595 !important;
}

.dashboardTabs.nav-link.active {
    color: dimgray !important;
}

.btn-primary {
    background: #1c232f
}

.btn-primary:hover {
    background: #244C60;
}

.btn-primary:focus {
    background: #244C60;
}

#header .logo img {
    padding: 0;
    margin: 0;
    max-height: 40px;
}

.column-collapse {
    display: none;
}

.nav {
    margin-left: 20px !important;
}

.nav-link {
    color: whitesmoke !important;
}

.nav-link.modern {
    color: dimgray !important;
}

.nav-sub-menu {
    min-width: 115px;
    padding: 0px;
    margin-left: 4px;
    margin-right: 4px;
}

.tabMenu {
    color: whitesmoke !important;
    background-color: #6c757d !important;
}

.tabMenu.active {
    color: whitesmoke !important;
    background-color: #17a2b8 !important;
}

.nav-link:hover {
    color: #00b9f2 !important;
}

.main-section {
    background-color: white;
    padding: 20px;
    border: 1px solid silver;
}

border-smoke {
    border: 1px solid silver !important;
}

.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

input[type='checkbox'] {
    max-width: 20px;
    max-height: 20px;
}

.mvc-grid {
    font-size: 14px !important;
    background-color: white;
}

.transaction-table {
    font-size: 14px !important;
    padding: 3px !important;
}

.transaction-table-notes {
    width: 30%;
}

.mvc-grid-headers > th {
    background: aliceblue !important;
}

.column-width-seventy-five {
    max-width: 75px !important;
}

.column-width-fifty {
    max-width: 75px !important;
}

.column-height-eighty {
    padding: 0px;
    max-height: 80px !important;
    overflow-y: auto;
}

.mvc-grid-filter {
    background: ghostwhite;
    width: 2.15em;
    font-size: .85em;
}

.mvc-grid-excel-mode .filterable .mvc-grid-sort, .mvc-grid-header-mode .filterable .mvc-grid-sort {
    right: 2em;
}


.mvc-grid-title {
    font-size: 12px !important;
}

.section-separator {
    border-bottom: 3px solid #138496;
}

.line-break {
    white-space: pre;
}

.mvc-grid-popup {
    font-size: 14px !important;
}

.mvc-grid-popup .mvc-grid-apply {
color: #fff;
background-color: #17a2b8;
border-color: #17a2b8;
}

.mvc-grid-popup .mvc-grid-apply:hover {
    color: #fff;
    background-color: #138496;
    border-color: #117a8b;
}

.mvc-grid-popup .mvc-grid-cancel {
color: #fff;
background-color: #6c757d;
border-color: #6c757d;
}

.mvc-grid-popup .mvc-grid-cancel:hover {
    color: #fff;
    background-color: #5a6268;
    border-color: #545b62;
}

.w-100 {
    width: 100%;
}

.mvc-grid-pager .active {
    background-color: #005595;
}

.btn-info {
    background-color: #005595;
    border-color: #005595;
}

    .btn-info:hover {
        background-color: #00B9FC;
    }

.bg-dark {
    background-color: #293240 !important;
}

.logo-secondary-color {
    color: #005595;
}

.bg-secondary-logo-color {
    background-color: #005595;
}

.white-space-pre {
    white-space: pre-wrap !important;
}

table.dataTable td,
table.dataTable th {
    vertical-align: top; /* Align content to the top */
}

/* Absolute Center Spinner */
.loading {
    position: fixed;
    display: none;
    z-index: 1031;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

    /* Transparent Overlay */
    .loading:before {
        content: '';
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.3);
    }

    /* :not(:required) hides these rules from IE9 and below */
    .loading:not(:required) {
        font: 0/0 a;
        color: transparent;
        text-shadow: none;
        background-color: transparent;
        border: 0;
    }

        .loading:not(:required):after {
            content: '';
            display: block;
            font-size: 10px;
            width: 1em;
            height: 1em;
            margin-top: -0.5em;
            -webkit-animation: spinner 1500ms infinite linear;
            -moz-animation: spinner 1500ms infinite linear;
            -ms-animation: spinner 1500ms infinite linear;
            -o-animation: spinner 1500ms infinite linear;
            animation: spinner 1500ms infinite linear;
            border-radius: 0.5em;
            -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
            box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
        }

/* Animation */
@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.loanInterestScroll {
    height: 80px;
    width: 100%;
    padding: 0px;
}

.mCustomScrollBox {
    align-items: start !important;
}

/*#region Splash */
.center-div {
    width: 400px;
    height: 300px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -200px;
    margin-top: -150px;
}

.spinner {
    position: fixed;
    z-index: 999;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: Black;
    filter: alpha(opacity=60);
    opacity: 0.6;
    -moz-opacity: 0.8;
}

.scrollable-menu {
    height: auto;
    max-height: 50vh;
}

/*.loader {
    margin: auto;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #15a0ec;
    border-bottom: 16px solid #15a0ec;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}*/

/*.inner-div {
    background-color: white;
    border-radius: 15px;
    margin: auto;
    padding: 2%;
    width: 150px;
}*/

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/*#endregion*/


table.dataTable thead .sorting, table.dataTable thead .sorting_asc, table.dataTable thead .sorting_desc, table.dataTable thead .sorting_asc_disabled, table.dataTable thead .sorting_desc_disabled {
    cursor: pointer !important;
    *cursor: hand !important;
    background-repeat: no-repeat !important;
    background-repeat-x: no-repeat !important;
    background-repeat-y: no-repeat !important;
    background-position: center right !important;
}

.tableWrap {
    width: 150px;
    word-wrap: break-word;
}

.mt-1x {
    margin-top: 10px;
}

.mt-2x {
    margin-top: 20px;
}

.mt-3x {
    margin-top: 30px;
}

.mt-4x {
    margin-top: 40px;
}

.mt-5x {
    margin-top: 50px;
}

.mt-6x {
    margin-top: 60px;
}

.mt-7x {
    margin-top: 70px;
}

.noNav {
    left: 0px !important;
    margin-left: 0px !important;
}

.select2-selection__choice {
    background-color: #005595 !important;
    margin: 0px !important;
}

.select2-selection {
    margin-top: 1px !important;
    padding-top: 2px !important;
    padding-bottom: 8px !important;
    min-height: 42px !important;
}

.select2 {
    width: 100% !important;
}

.select2-container--default {
    min-height: 42px !important;
}

.select2-selection__arrow {
    margin-top: 5px !important;
}

.select2-selection__rendered {
    padding-top: 5px !important;
}

.b-align {
    display: inline-block;
    vertical-align: bottom;
    float: none;
}

.dataTables_filter {
    margin-bottom: 10px;
}

.dataTables_length {
    margin-top: 5px;
    margin-bottom: 5px;
}

.mvc-grid-row-filters .mvc-grid-value {
    background: aliceblue !important;
}

.dropdown-menu {
    border: 1px solid #0dcaf0;
}

.bs-table-danger {
    background-color: #f8d7da !important;
}

.bs-table-success {
    background-color: #d1e7dd !important;
}
