﻿/*
 Website: Mark Pate
 Date: 7/10/2021
 Version 1.0
*/

/* Redefine Base */

h5 {
    font-size: 1.1rem;
    padding: 15px;
}

/* Over lay */
#mp-loadingbar-area {
    position: absolute;
    display: none;
    width: 100%;
    height: 120px;
    margin-top: 40px;
    z-index: 2001;
}

    #mp-loadingbar-area .mp-loading {
        margin-left: auto;
        margin-right: auto;
        width: 120px;
    }

#mp-overlay {
    position: fixed; 
    display: none; 
    width: 100%; 
    height: 100%; 
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); 
    z-index: 2000; 
    cursor: pointer; 
}

/* Layout */
.logo {
    display: block;
    height: 50px;
    width: 50px;
    background: linear-gradient(#193553, #042a3d);
    opacity: .85;
    position: relative;
    left: -15px;
    color: #ffffff;
    font-size: 1.4rem;
}

    .logo:active, .logo:visited {
        color: #ffffff;
        text-decoration: none;
    }

    .logo:hover {
        color: #dddddd;
        text-decoration: none;
    }

    .logo .first {
        display: flex;
        font-family: Pacifico;
        position: relative;
        left: 1px;
        top: 0px;
    }

    .logo .second {
        display: flex;
        font-family: Indie Flower;
        position: relative;
        left: 6px;
        top: -12px;
    }

.top-area {
    background-color: #ededed;
    box-shadow: 1px 0 15px rgba(0, 0, 0, 0.07);
    height: 50px;
    border-bottom: solid 1px #dddddd;
    border-top: solid 1px #dddddd;
    position: fixed;
}

.main-menu:hover, .menu-hover:hover, .fa-menu-hover:hover, nav.main-menu.expanded {
    width: 185px;
    overflow: hidden;
    opacity: 1;
    color: #193553;
}

.main-menu {
    background: linear-gradient(#3771b0, #064e72);
    position: fixed;
    top: 50px;
    bottom: 0;
    height: 100%;
    left: 0;
    width: 50px;
    overflow: hidden;
    -webkit-transition: width .3s linear;
    transition: width .3s linear;
    -webkit-transform: translateZ(0) scale(1,1);
    box-shadow: 1px 0 15px rgba(0, 0, 0, 0.07);
    z-index: 4;
    opacity: 1;
    font-family: Roboto;
}

    .main-menu li {
        position: relative;
        display: inline-flex;
        width: 400px;
        padding-left: 2px;
    }

        .main-menu li > a {
            position: relative;
            width: 100%;
            display: block;
            color: #cdcdcd;
            font-size: 1rem;
            -webkit-transform: translateZ(0) scale(1,1);
            -webkit-transition: all .14s linear;
            transition: all .14s linear;
        }

            .main-menu li > a:hover {
                text-decoration: none;
            }

nav {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    /*-o-user-select: none;*/
    user-select: none;
}

    nav ul, nav li {
        outline: 0;
        margin-left: 3px;
        margin-top: 5px;
        margin-bottom: 5px;
        padding: 1px;
        vertical-align: middle;
    }

.nav-li-text {
    margin-left: 10px;
    border-left-color: #1b83e4;
}

.nav-icon {
    padding-left: 6px;
    width: 50px;
}

.alt-tooltip {
    position: relative;    
    border-bottom: 1px dotted black;
    text-align: center;
    cursor: pointer;
}

    .alt-tooltip .alt-tooltiptext {
        visibility: hidden;
        width: 200px;
        background-color: black;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px;
        /* Position the tooltip */
        position: absolute;
        z-index: 1;
    }

    .alt-tooltip:hover .alt-tooltiptext {
        visibility: visible;
    }

/* User Css */

.mp-userarea {
    float: right;
    position: relative;
    text-align: left;
    top: -50px;
    border: solid 1px #ededed;
    cursor: pointer;
    width: 250px;
    padding: 3px;
    right: -15px;
    height: 50px;
}

    .mp-userarea:hover {
        border: solid 1px #dddddd;
        cursor: pointer;
        background-color: #dddddd;
    }

.mp-circle {
    background-color: #ffffff;
    border-radius: 20px;
    width: 40px;
    height: 40px;
    text-align: center;
    border: solid 1px #cccccc;
    display: inline-block;
    padding-top: 5px;
    color: #333333;
    margin-right: 5px;
    margin-left: 20px;
}

.mp-user-content {
    margin-top: 6px;
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    width: 245px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .mp-user-content div {
        padding-left: 5px;
        padding-right: 5px;
        padding-top: 3px;
    }

    .mp-user-content a {
        margin-top: 10px;
        display: block;
        margin-bottom: 10px;
    }

    .mp-user-content a { background-color: #dddddd; }

    .mp-userarea:hover .mp-user-content {display: block;}

    .main {clear: right; position: relative; top: 35px;}

/* Loading */
.mp-loading {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 100%;
    height: 100%;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Report Layout Css */
.mp-report-layout {
}

    .mp-report-layout .logo {
        background: linear-gradient(#19531b, #073d04);
    }

    .mp-report-layout .main-menu:hover, .mp-report-layout .menu-hover:hover, .mp-report-layout .fa-menu-hover:hover, .mp-report-layout nav.main-menu.expanded {
        color: #333333;
    }

    .mp-report-layout .main-menu {
        background: linear-gradient(#218e1f, #095a07);
    }

    .mp-report-layout .awd-bread-link {
        background-color: #70ad47;
    }

    .mp-report-layout .awd-bread-link:hover {
        background-color: #666666;
    }

    .mp-report-layout button.mp-pagemenu-item:hover {
        color: #ffffff;
        background: linear-gradient(#19531b, #095a07);
    }

    .mp-report-layout .awd-big-grid thead tr {
        background: linear-gradient(#19531b, #095a07);
        color: #ffffff;
    }

.report_table_7_0 tbody tr td:nth-child(1), .report_table_7_1 tbody tr td:nth-child(5), .report_table_7_2 tbody tr td:nth-child(5) {
    min-width: 280px;
}

.report_table_7_0 tbody tr td:nth-child(2), .report_table_7_0 tbody tr td:nth-child(3), .report_table_7_0 tbody tr td:nth-child(4), .report_table_7_0 tbody tr td:nth-child(5),
.report_table_7_1 tbody tr td:nth-child(1), .report_table_7_1 tbody tr td:nth-child(2), .report_table_7_1 tbody tr td:nth-child(3), .report_table_7_1 tbody tr td:nth-child(4),
.report_table_7_2 tbody tr td:nth-child(1), .report_table_7_2 tbody tr td:nth-child(2), .report_table_7_2 tbody tr td:nth-child(3), .report_table_7_2 tbody tr td:nth-child(4) {
    min-width: 120px;
}

/* Login */
.login {
    background: linear-gradient(#3771b0, #064e72);
    height: 100%;
    width: 100%;
    position: fixed;
}

    .login .logo {
        left: 0;
        float: left;
    }

    .login .login-content {
        width: 26%;
        min-height: 200px;
        min-width: 430px;
        background-color: #ffffff;
        margin-left: 38%;
        position: absolute;
        top: 50%;
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }

        .login .login-content h2 {
            text-align: center;
            margin-left: 50px;
            line-height: 45px;
            font-family: Roboto;
            color: #ffffff;
            background: linear-gradient(#193553, #042a3d);
            padding-top: 5px;
            font-size: 1.8rem;
        }

        .login .login-content p {
            margin: 0;
        }

    .login .login-button {
        text-align: center;
        padding-top: 35px;
        padding-bottom: 35px;
    }

@media (max-width: 728px) {
    .login .login-content {
        margin-left: 25%;
        width: 250px;
    }
}

@media (max-width: 388px) {
    .login .login-content {
        margin-left: 30px;
        width: 250px;
    }
}

/*  Monthly Process  */
#mp-monthlyProcess {
    width: 70%;
    min-width: 800px;
    padding: 20px;
    padding-top: 0px;
    margin-left: auto;
    margin-right: auto;
}

    #mp-monthlyProcess .form{
        margin-bottom: 20px;
    }

    #mp-monthlyProcess h2, #mp-monthlyProcess h3 {
        padding: 20px;
        padding-left: 0px;
    }

    #mp-monthlyProcess .overall{
        margin-left: auto;
        margin-right: auto;
    }

    #mp-monthlyProcess .overall div {
        border: solid 1px #cccccc;
        padding: 10px;
        margin-bottom: 10px;
        max-width: 700px;
        font-weight: bold;
    }

        #mp-monthlyProcess .overall div span {
            display: block;
            width: 100px;
            float: right;
            border-radius: 5px;
            border: solid 1px #999999;
            font-weight: normal;
            text-align: center;
            text-transform: capitalize;
            font-size: .8em;
            padding: 5px;
            position: relative;
            bottom: 3px;
        }

            #mp-monthlyProcess .overall div span.pending {
                background-color: #4d89b6;
                color: #ffffff;
            }

            #mp-monthlyProcess .overall div span.error {
                background-color: #c43a3a;
                color: #ffffff;
            }

            #mp-monthlyProcess .overall div span.success {
                background-color: #70ad47;
                color: #ffffff;
            }

    #mp-monthlyProcess .totals h5 {
        font-size: 16px;
    }

    #mp-monthlyProcess .totals h5 span {
        font-weight: normal;
    }

    #mp-monthlyProcess .investors table {
        width: 100%;
        margin-bottom: 20px;
    }

        #mp-monthlyProcess .investors table tr td {
            border-right: solid 1px #cccccc;
            border-left: solid 1px #cccccc;
            border-bottom: solid 1px #cccccc;
            padding: 5px;
        }

        #mp-monthlyProcess .investors tr th {
            background-color: #aaaaaa;
            border: solid 1px #cccccc;
            padding: 5px;
        }

#mp-monthprocess-loading {
    width: 120px;
    height: 120px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
}


/* Data Table Menu */
#mp-pageMenu{
    width: 70%;
    min-width: 500px;
    padding: 20px;
    margin-left: auto;
    margin-right: auto;
}

    #mp-pageMenu h2 {
        font-size: 1.4em;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    #mp-pageMenu button.mp-pagemenu-item, a.mp-pagemenu-item {
        border: solid 1px #cccccc;
        background-color: #fefefe;
        border-radius: 3px;
        cursor: pointer;
        padding: 10px;
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
        color: #333333;
    }

        button.mp-pagemenu-item:hover, a.mp-pagemenu-item:hover {
            color: #ffffff!important;
            background: linear-gradient(#193553, #042a3d);
        }

.awd-big-grid thead tr {
    background: linear-gradient(#193553, #042a3d);
    color: #ffffff;
}

.extra-form {
    background-color: #eeeeee;
    border-radius: 5px;
    padding: 4px;
}

.mp-payoff {
    float: right;
    width: 33%;
}

/* Loan Amount Area */
.loanamount-row {
    display: flex;
}

    .loanamount-row div {
        max-width: 200px;
        min-width: 100px;
        text-align: right;
        padding: 3px;
    }

    .loanamount-row b {
        display: block;
        flex-grow: 7;
        padding: 5px;
        text-align: right;
    }

    .loanamount-row div input {
        margin-bottom: 5px;
    }

.loanamount-total {
    font-size: 1.2em;
    text-align: right;
    padding-right: 50px;
}

/* Loan Good Standing */

.interest-goodstanding-warning {background-color: #f3fa95;padding-top: 5px;}

#mp-loan-standing{ position: absolute; padding-left: 180px; padding-top: 30px;}

#mp-save-standing-button{padding: 2px;}

#mp-loan-standing .good, #mp-loan-standing-popover .good {
    border: solid green 1px;
    padding: 2px;
    padding-left: 5px;
    padding-right: 5px;
    display: block;
    float: left;
    border-radius: 5px;
    background-color: #70ad47;
    color: #ffffff;
    margin-right: 10px;
}

#mp-loan-standing .bad, #mp-loan-standing-popover .bad {
    border: solid red 1px;
    padding: 2px;
    padding-left: 5px;
    padding-right: 5px;
    display: block;
    float: left;
    border-radius: 5px;
    background-color: #c43a3a;
    color: #ffffff;
    margin-right: 10px;
}

#mp-loan-standing-popover button {
    display: block;
    width: 100%;
}

#mp-loan-floatright-borrowtotal {
    float: right;
    width: 50%;
    position: relative;
    top: -15px;
}

    #mp-loan-floatright-borrowtotal .bad-total {
        background-color: yellow;
    }

    #mp-loan-floatright-borrowtotal .good-total {
        background-color: lightgreen;
    }

#mp-loan-floatright-borrowtotal-lbl {
    text-align: right;
    height: 0;
    position: relative;
    top: -15px;
}

#mp-loan-floatright-borrowtotal-val {
    display: block;
    margin-left: 6px;
    padding-left: 10px;
}

/* End Data Table Menu */
/*
    Extend Jquery Datatable
*/
.dataTables_wrapper {
}

.dataTables_wrapper .row{
    margin-right: 0;
}

.dataTables_length {
}

.dataTables_filter {
    float: right;
}

.dataTables_paginate {
    float: right;
}

@media (max-width: 768px) {
    .dataTables_filter {
        float: none;
    }

    .dataTables_paginate {
        float: none;
    }
}

/*
    Filters at the top custom css
*/

#mp-table-filters-managerdaterange div {
    display: flex;
    border-radius: .2rem;
    border: 1px solid #ced4da;
    line-height: 1.5rem;
    font-size: .875rem;
}

    #mp-table-filters-managerdaterange div input {
        border: none;
        padding: .2rem .5rem;
    }

/*
 Breadcrumbs
*/
#mp-breadCrumbs {
    padding-top: 10px;
    padding-bottom: 6px;
    /*background-color: #ededed;
    margin-bottom: 30px;
    border-radius: .3rem;
    border: solid 1px #dddddd;
    margin-top: 20px;
    */
    padding-left: 80px;
    position: absolute;
    top: 0px;
}

    #mp-breadCrumbs a, #mp-breadCrumbs span {
        padding: 4px;
        padding-left: 15px;
        padding-right: 15px;
    }

.awd-bread-link {
    font-size: .8em;
    margin-left: 7px;
    margin-right: 7px;
    text-transform: capitalize;
    background-color: #2393ca;
}

.awd-controls-radio-disable {
    border: solid 1px #cccccc;
    position: relative;
    top: -5px;
}

/*
 DataTables
*/
#mp-tableArea {
    padding-left: 60px;
    margin-top: 20px;
    /*width: 80%;*/
    min-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

#mp-tableArea .awd-table-heading-bg{
    position: sticky;
    top: 50px;
}

#mp-tableArea .dataTables_length {
    font-weight: bold;
}

#mp-tableArea .dataTables_filter {
    font-weight: bold;
    width: 100%;
    margin-left: auto;
}

#mp-tableArea .dataTables_filter label {
    width: 100%;
}

#mp-tableArea .dataTables_info {
    font-weight: bold;
}

#mp-tableArea .awd-datatable-addlink, #mp-tableArea .awd-datatable-export {
    float: left;
    min-width: 110px;
    padding-top: 2%;
}

    #mp-tableArea .awd-datatable-addlink a, #mp-tableArea .awd-datatable-addlink button,
    #mp-tableArea .awd-datatable-export a, #mp-tableArea .awd-datatable-export button {
        font-size: .9em;
        margin-right: 2px;
    }

        #mp-tableArea .awd-datatable-addlink a:hover, #mp-tableArea .awd-datatable-addlink button:hover,
        #mp-tableArea .awd-datatable-export a:hover, #mp-tableArea .awd-datatable-export button:hover {
            color: #333333;
            background-color: #cccccc;
        }

        #mp-tableArea .awd-datatable-addlink span, #mp-tableArea .awd-datatable-export span {
            padding-left: 5px;
        }

/* Home Page / Investor Portal */

.mp-portal {
    padding-top: 15px;
    width: 800px;
    margin-left: auto;
    margin-right: auto;
}

    .mp-portal table {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        border-collapse: collapse;
        color: #333333;
    }

    .mp-portal table tr th {
        background-color: #dddddd;
    }

    .mp-portal table tr td, .mp-portal table tr th {
        border: solid 1px #999999;
        padding: 3px;
    }

    .mp-portal table tr td.footer{
        border: 0px;
        font-size: .9em;
    }

/*  Report Area */
#mp-tableArea .btn-success {
    background: linear-gradient(#19531b, #095a07);    
}
#mp-tableArea .btn-success:hover {
    background: linear-gradient(#19531b, #073d04);
}

.mp-report-area {
}

.mp-report-area h2 {
    text-align: center;
    padding: 5px;
    font-size: 1.3em;
}

    .mp-report-area h3 {
        text-align: center;
        padding: 5px;
        font-size: 1.1em;
        margin-top: 15px;
    }

.mp-report-area table{
    min-width: 80%;
    margin-left: auto;
    margin-right: auto;
    font-size: 1em;
}

    .mp-report-area .mp-report-green table tr th {
        background-color: #70ad47;
        border: solid 1px #70ad47;
        position: sticky;
        top: 50px;
    }
    .mp-report-area .mp-report-green table tr{
        background-color: #efefef;
    }
    .mp-report-area .mp-report-green table tr:nth-child(2n+1) {
        background-color: #d9e2f3;
    }

    .mp-report-area table th {
        padding: 5px;
    }

    .mp-report-area table .mp-report-green tr {
        background-color: #e2efd9;
    }

    .mp-report-area table td {
        border: solid 1px #cccccc;
        padding: 5px;
        white-space: nowrap;
    }

    .mp-report-area table tr.mp-report-total td {
        background-color: #ffffff;
    }

    .mp-report-area table td td.mp-cuinterest-bg {
        display: block;
        background-color: #ffd800;
    }

#mp-report-daterange{
    position: absolute;
    top: 30px;
    right: 30px;
}

/* media css */
/* AWD Upload */
#awd-media-modal-upload {
    display: none;
}

.awd-uploader {
    display: block;
    clear: both;
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
}

    .awd-uploader label {
        float: left;
        clear: both;
        width: 100%;
        padding: 2rem 1.5rem;
        text-align: center;
        background: #fff;
        border-radius: 7px;
        border: 3px solid #eee;
        transition: all .2s ease;
        user-select: none;
    }

        .awd-uploader label:hover {
            border-color: #454cad;
        }

        .awd-uploader label .hover {
            border: 3px solid #454cad;
            box-shadow: inset 0 0 0 6px #eee;
        }

#awd-file-upload-start i .fa {
    transform: scale(0.8);
    opacity: 0.3;
}

#awd-file-upload-start {
    float: left;
    clear: both;
    width: 100%;
}

    #awd-file-upload-start i.fa {
        font-size: 50px;
        margin-bottom: 1rem;
        transition: all .2s ease-in-out;
    }

#awd-file-upload-response {
    float: left;
    clear: both;
    width: 100%;
}

.awd-uploader .hidden {
    display: none;
}

#awd-file-upload-messages {
    margin-bottom: .5rem;
}

#awd-file-upload-image {
    margin: 0 auto .5rem auto;
    width: auto;
    height: auto;
    max-width: 180px;
}

    #awd-file-upload-image .hidden {
        display: none;
    }

#awd-file-upload-notimage {
    float: left;
    clear: both;
    width: 100%;
}

#awd-filie-upload-notimage .hidden {
    display: none;
}


progress,
.progress {
    display: inline;
    clear: both;
    margin: 0 auto;
    width: 100%;
    max-width: 180px;
    height: 8px;
    border: 0;
    border-radius: 4px;
    background-color: #eee;
    overflow: hidden;
}

    .progress[value]::-webkit-progress-bar {
        border-radius: 4px;
        background-color: #eee;
    }

    .progress[value]::-webkit-progress-value {
        background: linear-gradient(to right, darken($theme,8%) 0%, $theme 50%);
        border-radius: 4px;
    }

    .progress[value]::-moz-progress-bar {
        background: linear-gradient(to right, darken($theme,8%) 0%, $theme 50%);
        border-radius: 4px;
    }

.awd-uploader input[type="file"] {
    display: none;
}

.awd-uploader div {
    margin: 0 0 .5rem 0;
    color: #5f6982;
}

awd-uploader .btn {
    display: inline-block;
    margin: .5rem .5rem 1rem .5rem;
    clear: both;
    font-family: inherit;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    text-transform: initial;
    border: none;
    border-radius: .2rem;
    outline: none;
    padding: 0 1rem;
    height: 36px;
    line-height: 36px;
    color: #fff;
    transition: all 0.2s ease-in-out;
    box-sizing: border-box;
    background: #5f6982;
    border-color: #5f6982;
    cursor: pointer;
}

/* end uploader */

/* NOTEs Area */

#mp-note-header{
    padding-left: 30px;
}

    #mp-note-header button .mp-notes-count {
        background-color: red;
        color: white;
        font-size: 12px;
        /*height: 15px;
        width: 15px;
        position: absolute;*/
        margin-top: 3px;
        margin-right: 5px;
        border-radius: 10px;
        min-width: 17px;
        display: block;
        float: left;
    }

/* End Notes*/

/* Checkbook Pro */
#mp-checkbook-processing-loading {
    width: 100px;
    height: 100px;
    margin-left: auto;
    margin-right: auto;
}

#mp-checkbook-processed-modal-body h6{
    font-size: 1em;
}

#mp-checkbook-processed-modal-body p {
    font-size: 0.9em;
}

#mp-checkbook-table {
    min-width: 80%;
    margin-left: auto;
    margin-right: auto;
    font-size: 1em;
}

    #mp-checkbook-table .alt-tooltip{
        padding: 5px;
    }

    #mp-checkbook-table .dropdown-toggle {
        padding: 5px;
        margin-bottom: 0;
    }

    #mp-checkbook-table .dropdown-menu {
        padding: 4px;
    }

    #mp-checkbook-table button {
        margin-bottom: 0;
        border: 0;
    }

    #mp-checkbook-table tr {
        border-left: solid 1px #555555;
        border-right: solid 1px #555555;
        background-color: #eeeeee;
    }

    #mp-checkbook-table th {
        background-color: #666666;
        background: linear-gradient(#555555, #777777);
        color: #ffffff;
        border: solid 1px #555555;
        padding: 10px;
    }

    #mp-checkbook-table td {
        padding: 5px;
        border-bottom: solid 1px #333333;
    }

    #mp-checkbook-table tr.mp-checkbook-row-skip {
        background-color: #cccccc;
        color: #666666;
    }

    #mp-checkbook-table tr.mp-checkbook-row-void {
        background-color: #d8e777;
        color: #a3170d;
    }

    #mp-checkbook-table tr.mp-checkbook-row-insert {
        background-color: #87f6eb;
        color: #005f00;
    }

    #mp-checkbook-table tr.mp-checkbook-row-update {
        background-color: #93beef;
        color: #000055;
    }

    #mp-checkbook-table tr.mp-checkbook-row-same {
        background-color: #e7dcd4;
        color: #000055;
    }

    #mp-checkbook-table tr.mp-checkbook-row-success {
        background-color: #93f687;
        color: #005f00;
    }

    #mp-checkbook-table tr.mp-checkbook-row-error {
        background-color: #e78677;
        color: #000055;
    }
/* End Checkbook Pro*/