﻿@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

html {
    font-size: 14px;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #454545;
    font-size: 1rem;
    margin: 0;
    padding: 0;
    font-weight: 400;
    background: #fff;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #31384E;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
}

h1 {
    font-size: 42px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 16px;
}

h6 {
    font-size: 14px;
}

a:hover,
a:focus {
    text-decoration: none;
    color: #f27421;
}

a {
    color: #454545;
    cursor: pointer;
}

img {
    max-width: 100%;
}

ol,
ul {
    padding: 0px;
    margin: 0px;
    list-style: none;
}

.btn {
    padding: 5px 20px;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    background-color: #105866;
    color: #fff !important;
    font-size: 14px;
    font-weight: 500;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    border: 0px;
}

    .btn.bg_orange {
        background-color: #f27421;
    }

        .btn:hover, .btn.bg_orange:hover,
        .btn:focus, .btn.bg_orange:focus {
            background-color: #4B4B4B;
            color: #fff;
        }

.fl_group .form-control {
    border-radius: 0px;
    -webkit-border-radius: 0px;
    box-shadow: none;
    -webkit-box-shadow: none;
    background: transparent;
    border-width: 0;
    border-bottom: 1px solid #454545;
    padding: 8px 0;
    text-indent: 0;
    color: #454545;
}

    .fl_group .form-control:focus {
        color: #454545;
        background-color: transparent;
        border-color: #f27421;
        outline: 0;
        box-shadow: none;
        -webkit-box-shadow: none;
    }

        .fl_group .form-control:focus ~ .f_label, .fl_group .form-control:not(:placeholder-shown) ~ .f_label {
            top: -12px;
            left: 0px;
            font-size: 12px;
            opacity: 1;
            color: #999;
        }

    .fl_group .form-control::-webkit-input-placeholder {
        color: #999;
        opacity: 0;
    }

    .fl_group .form-control::-moz-placeholder {
        color: #999;
        opacity: 0;
    }

    .fl_group .form-control:-ms-input-placeholder {
        color: #999;
        opacity: 0;
    }

    .fl_group .form-control:-moz-placeholder {
        color: #999;
        opacity: 0;
    }

    .fl_group .form-control:focus::-webkit-input-placeholder {
        opacity: 1;
    }

    .fl_group .form-control:focus::-moz-placeholder {
        opacity: 1;
    }

    .fl_group .form-control:focus:-ms-input-placeholder {
        opacity: 1;
    }

    .fl_group .form-control:focus:-moz-placeholder {
        opacity: 1;
    }

.c_blue {
    color: #105866;
}

.c_orange {
    color: #FF7300;
}

.error {
    color: #DC3545;
}

.c_white {
    color: #ffffff;
}

.bg_blue {
    background-color: #105866;
}

.bg_orange {
    background-color: #FF7300;
}

.bg_green {
    background-color: #28A745;
}

.bg_l_green {
    background-color: #93f98a;
}

.bg_l_gray {
    background-color: #CCDCDF;
}

.bg_red {
    background-color: #DC3545;
}

.bg_gray {
    background-color: #ccc;
}

.row.gutter_5 {
    margin-left: -5px;
    margin-right: -5px;
}

    .row.gutter_5 > div {
        padding-left: 5px;
        padding-right: 5px;
    }

.row.gutter_10 {
    margin-left: -10px;
    margin-right: -10px;
}

    .row.gutter_10 > div {
        padding-left: 10px;
        padding-right: 10px;
    }

.modal-backdrop {
    z-index: 9991
}

.modal {
    z-index: 9992;
    padding-right: 0px !important;
}

.form-control:focus {
    border-color: #105866;
}
/*Login page style
=============================================================*/
.login_wrap,
.page_gradient {
    background: rgb(19,90,104); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(19,90,104,1) 0%, rgba(247,250,251,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(19,90,104,1) 0%,rgba(247,250,251,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(19,90,104,1) 0%,rgba(247,250,251,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#135a68', endColorstr='#f7fafb',GradientType=0 ); /* IE6-9 */
}

    .page_gradient.orange_gradient {
        /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#bf6c28+0,f7fafb+100 */
        background: rgb(191,108,40); /* Old browsers */
        background: -moz-linear-gradient(top, rgba(191,108,40,1) 0%, rgba(247,250,251,1) 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top, rgba(191,108,40,1) 0%,rgba(247,250,251,1) 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, rgba(191,108,40,1) 0%,rgba(247,250,251,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bf6c28', endColorstr='#f7fafb',GradientType=0 ); /* IE6-9 */
    }

.login_inner {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 0 0 -28px;
}

    .login_inner label.custom_checkbox {
        max-width: inherit;
        display: inline-block;
        position: absolute;
        right: 0;
        margin: 0;
        top: 4px;
        z-index: 1;
    }

        .login_inner label.custom_checkbox input {
            position: absolute;
            left: 0;
            width: 100%;
            top: 0;
            height: 100%;
            opacity: 0;
            z-index: 9;
            margin: 0;
        }

        .login_inner label.custom_checkbox span {
            font-size: 17px;
            padding: 0;
            color: #666;
            height: 27px;
            width: 27px;
            display: flex;
            position: relative;
            align-items: center;
            justify-content: center;
        }

            .login_inner label.custom_checkbox span i.fa-eye {
                display: none;
            }

        .login_inner label.custom_checkbox input[type="checkbox"]:checked + span i.fa-eye-slash {
            display: none;
        }

        .login_inner label.custom_checkbox input[type="checkbox"]:checked + span i.fa-eye {
            display: block;
        }


.site_logo img {
    max-width: 155px;
}

.login_box {
    padding: 30px;
    background: #FFF1E5;
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    box-shadow: 0 0px 20px rgb(0 0 0 / 10%);
}

    .login_box .btn {
        width: 100%;
        text-transform: uppercase;
    }

        .login_box .btn i.fa-spin {
            margin: 0 0 0 8px;
            display: none;
            color: #fff;
        }

        .login_box .btn.loading i.fa-spin {
            display: inline-block;
        }

.site_logo {
    text-align: center;
    margin: -30px -30px 25px;
    background: #ffffff;
    padding: 15px 15px;
    box-shadow: 0 0px 5px rgb(0 0 0 / 10%);
}

.fl_group {
    position: relative;
    margin-top: 15px;
    margin-bottom: 25px;
}

    .fl_group .f_label {
        font-size: 14px;
        color: #454545;
        position: absolute;
        pointer-events: none;
        top: 9px;
        left: 0;
        transition: all 0.1s ease;
        -webkit-transition: all 0.1s ease;
        margin: 0;
        width: 100%;
    }

.rememberMeDiv {
    justify-content: space-between;
    margin: 0px 0 20px;
}

    .rememberMeDiv a {
        text-decoration: underline;
        color: #454545;
        margin-left: auto;
    }

.checkbox_input {
    cursor: pointer;
}

    .checkbox_input input[type=checkbox] {
        position: absolute;
        margin-left: 0;
        opacity: 0;
    }

        .checkbox_input input[type=checkbox] + span {
            padding-left: 25px;
            margin-bottom: 0;
            font-size: 14px;
            color: #403838;
            position: relative;
            display: block;
            min-height: 18px;
        }

            .checkbox_input input[type=checkbox] + span::before {
                content: "";
                display: flex;
                position: absolute;
                width: 18px;
                height: 18px;
                border: 1px solid #c4c4c4;
                border-radius: 0px;
                background-color: #fff;
                left: 0;
                top: 1px;
                align-items: center;
                justify-content: center;
            }

        .checkbox_input input[type=checkbox]:checked + span:before {
            font-weight: normal;
            color: #f3f3f3;
            line-height: 15px;
            font-size: 11px;
            background-color: #f27421;
            content: "\f00c";
            font-family: fontAwesome;
            border-color: #f27421;
            box-shadow: 3px 3px 8px rgb(242 116 33 / 30%);
            -webkit-box-shadow: 3px 3px 8px rgb(242 116 33 / 30%);
        }

.login_box h3 {
    text-transform: uppercase;
    position: relative;
    font-size: 22px;
    padding: 0 0 8px;
    color: #105866;
    margin: 0 0 20px;
}

    .login_box h3.text-center:after {
        display: block;
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: 40px;
        height: 1px;
        background: #f27421;
        bottom: 0;
    }

.backToLogin_link {
    margin: 8px 0 0;
}

    .backToLogin_link a {
        font-size: 14px;
        text-transform: uppercase;
    }

        .backToLogin_link a i {
            padding: 0 4px 0 0;
            display: inline-block;
            transition: all ease 0.4s;
        }


/*Header  style
=============================================================*/
.loader {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.60);
}

.loader_inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .loader_inner img {
        max-width: 70px;
        display: block;
        animation-duration: 2.2s;
        animation-fill-mode: both;
        animation-iteration-count: infinite;
        backface-visibility: visible;
        animation-name: flip;
        -webkit-animation-duration: 2.2s;
        -webkit-animation-fill-mode: both;
        -webkit-animation-iteration-count: infinite;
        -webkit-animation-name: flip;
    }

    .loader_inner span {
        text-transform: uppercase;
        color: #f27421;
    }

@keyframes flip {
    0% {
        transform: perspective(400px) translateZ(0) rotateY(0) scale(1);
        animation-timing-function: ease-out;
    }

    40% {
        transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1);
        animation-timing-function: ease-out;
    }

    50% {
        transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1);
        animation-timing-function: ease-in;
    }

    80% {
        transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95);
        animation-timing-function: ease-in;
    }

    100% {
        transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1);
        animation-timing-function: ease-in;
    }
}

@-webkit-keyframes flip {
    0% {
        -webkit-transform: perspective(400px) translateZ(0) rotateY(0) scale(1);
        -webkit-animation-timing-function: ease-out;
    }

    40% {
        -webkit-transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1);
        -webkit-animation-timing-function: ease-out;
    }

    50% {
        -webkit-transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1);
        -webkit-animation-timing-function: ease-in;
    }

    80% {
        -webkit-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95);
        -webkit-animation-timing-function: ease-in;
    }

    100% {
        -webkit-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1);
        -webkit-animation-timing-function: ease-in;
    }
}
/*btn loader*/
.btn_loader {
    border: 3px solid #f3f3f3;
    border-radius: 50%;
    border-top: 3px solid #f27421;
    width: 20px;
    height: 20px;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



.page_gradient {
    height: 100vh;
    width: 100%;
    margin: 0 auto;
    z-index: -1;
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    right: 0;
    pointer-events: none;
}

header.main_header {
    position: relative;
    background: #fff;
    box-shadow: 0 0px 15px rgb(0 0 0 / 18%);
    position: sticky;
    top: 0;
    z-index: 9990;
}

nav.navbar {
    padding: 0px 0;
}

ul.navbar-nav {
    padding: 0px 0 0;
    width: 100%;
}

.navbar-brand img {
    max-width: 85px;
    height: auto;
    object-fit: contain;
}

ul.navbar-nav > li {
    margin: 0 0 0 32px;
    position: relative;
    padding: 14px 0;
}

    ul.navbar-nav > li > a {
        font-weight: 500;
    }

ul.navbar-nav li.active > a {
    color: #f27421;
}

.dropdown-menu.dropdown-menu-right {
    left: auto;
    right: 0;
    border: 0;
    box-shadow: 0 4px 16px rgb(0 0 0 / 14%);
    top: 35px;
}

    .dropdown-menu.dropdown-menu-right a {
        padding: 6px 15px;
    }

ul.sub_menu_list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 150px;
    background: #fff;
    margin: 0;
    padding: 8px 0px;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgb(0 0 0 / 14%);
    display: none;
    z-index: 1000;
}

.s_menu_toggle {
    display: none;
}

ul.sub_menu_list li {
    margin: 0;
}

    ul.sub_menu_list li a {
        padding: 5px 15px;
        display: block;
    }

        ul.sub_menu_list li a:hover, .dropdown-menu.dropdown-menu-right a:hover {
            text-decoration: none;
            background-color: #f8f9fa;
            color: #f27421;
        }

ul.sub_menu_list:before,
.dropdown-menu.dropdown-menu-right:before {
    display: block;
    content: "";
    position: absolute;
    top: -10px;
    left: 10px;
    border-style: solid;
    border-width: 0 8px 10px 8px;
    border-color: transparent transparent #fff transparent;
}

.dropdown-menu.dropdown-menu-right:before {
    left: auto;
    right: 10px;
}

.user_avtar {
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee;
    border-radius: 50px;
    margin: 0 6px 0 0;
    overflow: hidden;
}

.menu_wrap {
    width: calc(100% - 210px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

a.navbar-brand {
    margin-right: 20px;
    padding: 6px 0;
}

.header_right {
    width: calc(100% - 105px);
    justify-content: space-between;
}

ul.navbar-nav li > a i.fa-cog {
    margin-left: 3px;
    font-size: 16px;
    color: #f27421;
    animation: rotation 4s infinite linear;
    -webkit-animation: rotation 4s infinite linear;
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
        -webkit-transform: rotate(359deg);
    }
}

@-webkit-keyframes rotation {
    from {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
        -webkit-transform: rotate(359deg);
    }
}

body {
    min-height: 100vh;
    position: relative;
    padding-bottom: 28px;
    padding-right: 0px !important;
}

footer.main_footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #fff;
    padding: 4px 0;
    line-height: 1.6;
}

.copyright {
    font-size: 13px;
}

    .copyright a {
        font-weight: 500;
        color: #f27421;
        text-decoration: underline;
    }

.menu_right_block {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 200px;
    padding: 6px 0;
}

    .menu_right_block .userDropdown {
        margin-left: 20px;
    }

        .menu_right_block .userDropdown .dropdown-toggle {
            display: flex;
            align-items: center;
        }

.menuToggle {
    margin: 0 0 0 10px;
    padding: 5px 5px;
    font-size: 18px;
    width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

    .menuToggle span {
        height: 2px;
        width: 100%;
        background: #000;
        display: block;
        margin: 3px 0;
        transition: all ease 0.4s;
    }

body.menu_expanded .menuToggle {
    position: relative;
    z-index: 99990;
}

    body.menu_expanded .menuToggle span:nth-child(2) {
        display: none;
    }

    body.menu_expanded .menuToggle span:first-child {
        transform: rotate(45deg);
        transform-origin: 8px 1px;
    }

    body.menu_expanded .menuToggle span:last-child {
        transform: rotate(-45deg);
        transform-origin: 6px 0px;
    }

.menu_wrap .dropdown-toggle > span {
    max-width: 60px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.searchToggle.active {
    background: rgb(242 116 33 / 100%);
    color: #fff;
}

/*pipeline style
---------------------------------------------------------*/
.main_inner {
    padding: 0px 0;
    position: relative;
}

.form-group {
    margin: 0 0 8px;
}

.p_field {
    border: 0;
    background: transparent !important;
    border-bottom: 1px solid #7F7F7F;
    border-radius: 0;
    height: 28px;
    outline: none;
    padding: 0px 6px;
    box-shadow: none !important;
    width: 100%;
    color: #454545;
}

textarea.p_field {
    border: 1px solid #7F7F7F;
    height: 130px;
    resize: vertical;
    padding: 5px 6px;
}

.p_label {
    margin: 0 0 2px;
    padding: 0 6px;
    color: #7F7F7F;
    line-height: 1.2;
}

.left_sidebar {
    padding: 15px;
    background: #FFF1E5;
    flex: 0 0 230px;
    max-width: 230px;
    margin: 0 0 10px;
}

.main_content {
    flex: 0 0 calc(100% - 230px);
    max-width: calc(100% - 230px);
    padding-left: 15px;
}

.main_inner.no_l_sidebar .left_sidebar {
    display: none;
}

.main_inner.collateral_active .left_sidebar,
.main_inner.borrower_active .left_sidebar,
.main_inner.l_general_notes_active .left_sidebar,
.main_inner.l_post_closing_active .left_sidebar,
.main_inner.l_fci_form_active .left_sidebar,
.main_inner.creditMemo_active .left_sidebar,
.main_inner.l_modification_wrap_active .left_sidebar {
    display: block;
    position: fixed;
    left: 0;
    z-index: 999;
    height: calc(100% - 50px);
    top: 50px;
    box-shadow: 0 0 12px rgb(0 0 0 / 15%);
    padding-top: 0;
    transform: translateX(-250px);
    transition: all ease 0.4s;
    max-width: 250px;
}

    .main_inner.collateral_active .left_sidebar.open,
    .main_inner.borrower_active .left_sidebar.open,
    .main_inner.l_general_notes_active .left_sidebar.open,
    .main_inner.l_post_closing_active .left_sidebar.open,
    .main_inner.l_fci_form_active .left_sidebar.open,
    .main_inner.creditMemo_active .left_sidebar.open,
    .main_inner.l_modification_wrap_active .left_sidebar.open {
        transform: translateX(0px);
    }

    .main_inner.collateral_active .left_sidebar .pipeline_left,
    .main_inner.borrower_active .left_sidebar .pipeline_left,
    .main_inner.l_general_notes_active .left_sidebar .pipeline_left,
    .main_inner.l_post_closing_active .left_sidebar .pipeline_left,
    .main_inner.l_fci_form_active .left_sidebar .pipeline_left,
    .main_inner.creditMemo_active .left_sidebar .pipeline_left,
    .main_inner.l_modification_wrap_active .left_sidebar .pipeline_left {
        height: 100%;
        overflow: auto;
        margin: 0 -15px 0 0;
        padding: 15px 15px 0 0;
    }

.left_sidebar .infoToggle {
    display: none;
}

.main_inner.collateral_active .left_sidebar .infoToggle,
.main_inner.borrower_active .left_sidebar .infoToggle,
.main_inner.l_general_notes_active .left_sidebar .infoToggle,
.main_inner.l_post_closing_active .left_sidebar .infoToggle,
.main_inner.l_fci_form_active .left_sidebar .infoToggle,
.main_inner.creditMemo_active .left_sidebar .infoToggle,
.main_inner.l_modification_wrap_active .left_sidebar .infoToggle {
    position: absolute;
    right: 0;
    transform: rotate(-90deg);
    top: 0px;
    background: #105866;
    color: #fff;
    padding: 2px 15px;
    display: block;
    font-size: 13px;
    transform-origin: right top;
    text-transform: uppercase;
    cursor: pointer;
}

.main_inner.no_l_sidebar > .main_content {
    padding-left: 0;
    flex: 0 0 100%;
    max-width: 100%;
}

.portal_block {
    padding: 15px;
    background: #fff;
    min-height: 100%;
    margin-bottom: 0px;
}

    .portal_block .checkbox_input input[type=checkbox] + span {
        color: #7F7F7F;
    }

        .portal_block .checkbox_input input[type=checkbox] + span::before {
            border: 1px solid #7F7F7F;
        }

    .portal_block .checkbox_input input[type=checkbox]:checked + span::before {
        border: 1px solid #f27421;
    }

.main_content h5 {
    font-size: 15px;
    text-transform: uppercase;
}

.main_content h5, .main_content h6 {
    padding: 0 6px;
    margin: 10px 0 6px;
}

.form_block {
    margin: 0 0 10px;
}

.main_content .tab-content > .tab-pane {
    padding: 0;
}

.sub_menu {
    padding-left: 15px;
    margin-left: auto;
    padding: 12px 0 5px 245px;
    position: sticky;
    top: 50px;
    left: 0;
    z-index: 999;
    background: rgba(198, 126, 66, 0.9);
}

.loan_master_page .sub_menu {
    background: -moz-linear-gradient(top, rgba(30,93,105,0.9) 0%, rgba(40,104,117,0.9) 100%);
    background: -webkit-linear-gradient(top, rgba(30,93,105,0.9) 0%,rgba(40,104,117,0.9) 100%);
    background: linear-gradient(to bottom, rgba(30,93,105,0.9) 0%,rgba(40,104,117,0.9) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e61e5d69', endColorstr='#e6286875',GradientType=0 );
}

.sub_menu .nav-tabs .nav-link {
    padding: 0;
    background: transparent;
    border: 0;
    font-weight: 500;
    color: #fff;
}

.sub_menu .nav-tabs {
    border: 0;
}

    .sub_menu .nav-tabs li.nav-item {
        margin: 0 32px 0 0;
    }

    .sub_menu .nav-tabs .nav-link.active {
        color: #105866;
    }

.loan_master_page .sub_menu .nav-tabs .nav-link.active {
    color: #FF7300;
}

.form_block .btn {
    width: 100%;
    height: 26px;
    padding: 0 10px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.updateNote {
    text-align: center;
    background: #FF7300;
    color: #fff;
    font-size: 13px;
    margin: 0 0 12px;
    padding: 1px 3px;
}

.searchPipeline .form-group .btn {
    width: 100%;
    max-width: 100%;
    margin: 22px 0 0;
}

#p_main .portal_block {
    min-height: initial;
    margin: 0 0 10px;
}

.justify-content-center > h4::after {
    margin: 0 auto;
    right: 0;
}

#p_credit_memo .form_block {
    margin: 25px 0 25px;
}

#p_credit_memo .portal_block {
    padding: 10px 30px 50px;
}

#p_borrower h6 {
    margin: 10px 0 15px;
}

#p_borrower .form_block {
    margin: 0 0 25px;
}

#p_collateral > .row > div {
    margin: 0 0 12px;
}

.freezeFirstCol tr th:first-child,
.freezeFirstCol tr td:first-child {
    background: #fff;
}

.table-striped.freezeFirstCol tbody tr:nth-of-type(odd) td:first-child {
    background-color: rgb(242 242 242);
}

.table-hover.freezeFirstCol tbody tr:hover td:first-child {
    background-color: rgb(236 236 236);
}

.bottom_fixed_bar {
    position: fixed;
    bottom: 0;
    z-index: 990;
    width: 100%;
    left: 0;
    background: #ffffff;
    padding: 5px 0;
    box-shadow: 0 0 15px rgb(0 0 0 / 15%);
}

    .bottom_fixed_bar .addNewCollateral,
    .bottom_fixed_bar .addNewBorrower {
        display: none;
    }

.main_inner.collateral_active .bottom_fixed_bar .addNewCollateral,
.main_inner.borrower_active .bottom_fixed_bar .addNewBorrower {
    display: inline-block;
}

.repeat_block {
    padding: 10px;
    border: 1px solid #ddd;
    margin: 0 0 20px;
    box-shadow: 2px 2px 4px rgb(0 0 0 / 10%);
    position: relative;
    padding: 18px 10px 10px;
}

.rBLockHead {
    position: absolute;
    top: -5px;
    left: -5px;
    padding: 0px 15px;
    background: #f27421;
    color: #fff;
}

    .rBLockHead:after, .rBLockHead:before {
        content: "";
        display: block;
        position: absolute;
        bottom: -10px;
        left: 0px;
        border-style: solid;
        border-width: 0px 5px 10px 0;
        border-color: transparent #ab4a0a transparent transparent;
    }

    .rBLockHead:before {
        border-width: 5px 0px 0px 7px;
        border-color: transparent transparent transparent #ab4a0a;
        top: 0;
        right: -7px;
        left: auto;
        bottom: auto;
    }

.rBlockDelete {
    position: absolute;
    right: 0;
    top: 0;
    height: 24px;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f27421;
    font-size: 16px;
    color: #fff;
}

    .rBlockDelete:hover {
        background: #105866;
    }

    .rBlockDelete:after, a.rBlockDelete:before {
        display: block;
        content: "";
        height: 13px;
        width: 2px;
        background: #fff;
        position: absolute;
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
    }

    .rBlockDelete:after {
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
    }

/*User's page style
=============================================================*/
.users_page {
    padding: 20px 0;
}

    .users_page .portal_block h4,
    .has_divider {
        margin: 0 0 0px;
        padding: 0 0 8px;
        position: relative;
        text-transform: uppercase;
    }

        .users_page .portal_block h4:after,
        .has_divider:after {
            display: block;
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 40px;
            height: 1px;
            background: #ff7300;
        }

        .has_divider.text-center:after {
            right: 0;
            margin: 0 auto;
        }

table.dataTable tbody th, table.dataTable tbody td {
    padding: 12px 18px;
    vertical-align: middle;
}

table.dataTable thead th, table.dataTable thead td,
table.table thead th, table.table thead td {
    border-bottom: 2px solid #3b747f;
    text-transform: uppercase;
    color: #3b747f;
    padding: 12px 18px;
}

table.dataTable thead th,
table.table thead th {
    white-space: nowrap;
}

table.dataTable.no-footer {
    border-bottom: 1px solid #3b747f;
}

.small_icon {
    height: 22px;
    min-width: 22px;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.d-flex > .small_icon {
    margin: 0 3px;
}

.small_icon.bg_blue {
    background-color: rgb(16 88 102 / 20%);
    color: #105866;
}

    .small_icon.bg_blue:hover {
        background-color: rgb(16 88 102 / 100%);
        color: #fff;
    }

.small_icon.bg_green {
    background-color: rgb(40 167 69 / 20%);
    color: #28A745;
}

    .small_icon.bg_green:hover {
        background-color: rgb(40 167 69 / 100%);
        color: #fff;
    }

.small_icon.bg_red {
    background-color: rgb(220 53 69 / 20%);
    color: #DC3545;
}

    .small_icon.bg_red:hover {
        background-color: rgb(220 53 69 / 100%);
        color: #fff;
    }

.small_icon.bg_orange {
    background-color: #FF7300;
    color: #fff;
}

    .small_icon.bg_orange:hover {
        background-color: #FF7300;
        color: #fff;
    }

.small_icon:hover {
    background-color: #FF7300;
    color: #fff;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:not(.previous):not(.next) {
    padding: 3px 10px;
    background: rgb(67 122 133 / 20%) !important;
    border-color: transparent !important;
    color: #437a85 !important;
    margin-left: 5px;
}

    .dataTables_wrapper .dataTables_paginate .paginate_button:not(.previous):not(.next).current {
        background: rgb(67 122 133 / 100%) !important;
        border-color: transparent !important;
        color: #fff !important;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button:not(.previous):not(.next):hover {
        background: #FF7300 !important;
        border-color: #FF7300 !important;
        color: #fff !important;
    }

.dataTables_wrapper .dataTables_paginate .paginate_button.previous:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.next:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.previous:active,
.dataTables_wrapper .dataTables_paginate .paginate_button.next:active {
    background: transparent !important;
    border-color: transparent !important;
    color: #FF7300 !important;
    box-shadow: none !important;
}

.dataTables_wrapper .dataTables_filter input[type="search"] {
    outline: none;
    box-shadow: none;
}

.portal_head .button-switch {
    margin-right: 10px;
}

.portal_head {
    padding: 0 0 12px;
}

.modal-header {
    background: #105866;
    color: #fff;
}

    .modal-header .modal-title {
        color: #fff;
    }

    .modal-header button.close {
        color: #fff;
        font-weight: normal;
        text-shadow: none;
        opacity: 1;
    }

.modal-content {
    border: 0;
}

.form-control {
    box-shadow: none !important;
    border-radius: 0px;
}

.modal-header button.close:focus {
    outline: none;
    border: 0;
}

.users_access_wrap label.checkbox_input {
    margin: 0px;
}

.users_access_wrap label.checkbox_input {
    margin: 0px auto;
    display: block;
    text-align: center;
}

    .users_access_wrap label.checkbox_input span::before {
        margin: 0 auto;
        right: 0;
    }

.user_role_box {
    margin: 10px 0 15px;
}

    .user_role_box select.form-control {
        height: 31px !important;
        border-radius: 0;
        min-width: 200px;
    }

.dataTables_wrapper .dataTables_length select, .dataTables_wrapper .dataTables_filter input[type="search"] {
    border-radius: 0;
    height: 31px;
    border: 1px solid #ced4da;
    box-shadow: none;
}

.user_role_box .btn i {
    margin: 0 3px 0 0;
}



/*Line loader css 
------------------------------------
*/
.line_loader {
    /*background: #105866;*/
    position: relative;
    width: 100%;
    overflow: hidden;
    position: fixed;
    top: 49px;
    left: 0;
    height: 5px;
    z-index: 9999;
}

    .line_loader img {
        height: 100%;
        width: 100%;
        display: block;
    }

    .line_loader span {
        display: block;
        width: 50px;
        background: #fff;
        left: 0;
        height: 100%;
        position: absolute;
        left: 20px;
        top: 0;
        animation: line_animation 2.5s linear infinite;
        -webkit-animation: line_animation 2.5s linear infinite;
        -moz-animation: line_animation 2.5s linear infinite;
        -ms-animation: line_animation 2.5s linear infinite;
        -o-animation: line_animation 2.5s linear infinite;
    }

@-webkit-keyframes line_animation {
    0% {
        left: 0px;
    }

    100% {
        left: 100%;
    }
}

@-moz-keyframes line_animation {
    0% {
        left: 0px;
    }

    100% {
        left: 100%;
    }
}

@-o-keyframes line_animation {
    0% {
        left: 0px;
    }

    100% {
        left: 100%;
    }
}

@keyframes line_animation {
    0% {
        left: 0px;
    }

    100% {
        left: 100%;
    }
}


.c_card {
    padding: 15px 10px;
    border: 1px solid #e6ecef;
    margin: 0;
    /* border-left: 2px solid #105866; */
    cursor: pointer;
    /* box-shadow: 0px 0px 20px rgb(0 0 0 / 10%); */
    overflow: hidden;
    position: relative;
    transition: all ease 0.4s;
    min-height: 100%;
}

.cards_list .row > div {
    flex: 0 0 20%;
    max-width: 20%;
    margin: 0 0 10px;
}

.c_card:hover {
    transform: translate(-0px, -3px);
    box-shadow: 5px 5px 20px rgb(0 0 0 / 15%);
    border-bottom: 0;
}

    .c_card:hover:before {
        width: 100%;
    }

.c_card:before {
    bottom: 0px;
    left: 0;
    right: 0;
    margin: 0 auto;
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 1px;
    background: #ff7300;
    transition: all ease 0.4s;
}

span.lookUp_status {
    position: absolute;
    right: -25px;
    top: -17px;
    height: 43px;
    width: 62px;
    /* background: #ff7300; */
    color: #fff;
    transform: rotate(45deg);
    padding: 20px 0 0;
    text-align: center;
}

    span.lookUp_status i {
        transform: rotate(-45deg);
        display: inline-block;
    }

.module_name {
    display: flex;
    /* color: #ff7300; */
    font-weight: 500;
    justify-content: space-between;
    font-size: 0;
}

    .module_name span {
        font-size: 14px;
    }

        .module_name span:first-child {
            /*text-transform: uppercase;*/
            color: #105866;
        }

.c_card:after {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 80px;
    width: 80px;
    background: rgb(16 88 102 / 3%);
    display: block;
    content: "";
    border-radius: 0 170px 0 0;
    pointer-events: none;
    transition: all ease 0.4s;
}

.c_card:hover:after {
    height: 100%;
    width: 100px;
}

.c_card h5 {
    text-align: center;
    margin: 0 0 8px;
}

.module_name span {
    padding: 0 5px;
}

/*Change Password page style
=============================================================*/
.change_password_wrap {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
}

    .change_password_wrap .c_password_inner {
        padding: 40px 20px 50px;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
        background: #fff;
        display: block;
    }

.c_password_inner form {
    max-width: 380px;
    margin: 0 auto;
    width: 100%;
    padding: 0;
}

.c_password_inner .form-group {
    margin: 0 0 15px;
}

.cpImg {
    background: #e3eced87;
    padding: 70px 50px 100px;
}

.c_password_inner .btn {
    width: 50%;
}

.c_password_inner .portal_head h4 {
    margin: 0 0 15px;
    font-size: 22px;
}

.tooltip {
    opacity: 1 !important;
}

.tooltip-inner {
    background-color: #105866;
    opacity: 1;
}

.tooltip.bs-tooltip-right .arrow:before {
    border-right-color: #105866 !important;
}

.tooltip.bs-tooltip-left .arrow:before {
    border-left-color: #105866 !important;
}

.tooltip.bs-tooltip-bottom .arrow:before {
    border-bottom-color: #105866 !important;
}

.tooltip.bs-tooltip-top .arrow:before {
    border-top-color: #105866 !important;
}



/*banking screen style
=============================================================*/
.balance_fields {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    margin: 0 0 15px;
}

@media screen and (min-width: 1200px) {
    .balance_fields {
        float: right;
        margin: 0 0 -30px;
    }
}

.balance_fields .form-group {
    margin: 0 0 0 15px;
}

.banking_wrap div#DataTables_Table_0_filter {
    display: none;
}

.balance_fields .position-relative .currency_sign {
    position: absolute;
    left: 0px;
    top: 0px;
    height: 31px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #105866;
    color: #ffffff;
    font-size: 15px;
}

.balance_fields .position-relative .form-control {
    height: 22px;
    max-width: 120px;
}

.datepicker {
    position: relative;
}

    .datepicker .p_field {
        padding-right: 25px;
    }

span.clearDate {
    position: absolute;
    right: 5px;
    top: 4px;
    height: 16px;
    display: flex;
    width: 16px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #454545;
}

table.dataTable thead th, table.dataTable thead td,
table.table thead th, table.table thead td {
    padding: 7px 18px;
}

table.dataTable thead th, table.dataTable tbody td,
table.table thead th, table.table tbody td {
    padding: 7px 18px;
}

table.dataTable {
    font-size: 13px;
}

/*alert popup style
-----------------------------*/
body .swal-modal {
    border-radius: 0;
    box-shadow: 0 10px 30px 0px rgb(0 0 0 / 20%);
}

    body .swal-modal .swal-icon {
        border: 2px solid #FF7300;
        animation: none;
        margin-bottom: 5px;
        margin-top: 22px;
    }

body .swal-icon--warning__body, body .swal-icon--warning__dot {
    background: #FF7300;
}

body .swal-title {
    font-size: 20px;
    text-transform: uppercase;
    margin: 0 0 10px 0 !important;
    color: #105866;
}

body .swal-text {
    font-size: 14px;
    text-align: center;
    color: #454545;
}

body .swal-footer {
    margin: 0;
    text-align: center;
}

    body .swal-footer .swal-button {
        height: 30px;
        padding: 5px 20px;
        text-transform: uppercase;
        font-weight: 500;
        border-radius: 0;
        min-width: 100px;
        background: #437a85;
    }

        body .swal-footer .swal-button:not([disabled]):hover {
            background-color: #386871;
        }

        body .swal-footer .swal-button.swal-button--danger {
            background: #ff7300;
        }

            body .swal-footer .swal-button.swal-button--danger:hover {
                background: rgb(230 104 0);
            }

        body .swal-footer .swal-button.swal-button--cancel {
            background: rgb(67 122 133 / 20%);
        }

            body .swal-footer .swal-button.swal-button--cancel:hover {
                background: rgb(67 122 133 / 30%);
            }

body .swal-icon--warning__body {
    width: 3px;
    margin-left: -1px;
}

body .swal-icon--warning__dot {
    width: 5px;
    height: 5px;
    margin-left: -3px;
}


/*new css to change style like HTML type two
--------------------------------------------------------------*/
.form-group {
    margin: 0 0 6px;
    line-height: 1.2;
}

.p_label {
    margin: 0 0 2px;
    padding: 0;
    color: #7F7F7F;
    line-height: 1.2;
    font-size: 11px;
    margin: 0;
    text-transform: uppercase;
}

.p_field {
    border: 0;
    background: transparent !important;
    border: 1px solid #bbbbbb;
    border-radius: 0;
    height: 22px;
    outline: none;
    padding: 0px 6px;
    box-shadow: none !important;
    width: 100%;
    color: #454545;
    font-size: 12px;
}

textarea.p_field {
    border: 1px solid #ccc;
}

.main_content h5, .main_content h6 {
    padding: 0;
    margin: 5px 0 3px;
}

.form_block {
    margin: 0 0 5px;
}

    .form_block .btn {
        height: 22px;
        font-size: 12px;
    }

.searchPipeline .form-group .btn {
    margin: 16px 0 0;
}

.left_sidebar {
    background: #fff7f1;
}

.checkbox_input input[type=checkbox] + span {
    font-size: 11px;
    text-transform: uppercase;
    padding: 4px 0 3px 25px;
}

.bottom_fixed_bar .btn {
    font-size: 12px;
    text-transform: uppercase;
}

#p_borrower .form_block {
    margin: 0 0 15px;
}

#p_borrower h6 {
    margin: 10px 0 5px;
}

.portal_block .checkbox_input input[type=checkbox] + span::before {
    border: 1px solid #bbb;
}

#p_credit_memo .form_block {
    margin: 15px 0 15px;
}

.dataTables_wrapper .dataTables_length select, .dataTables_wrapper .dataTables_filter input[type="search"] {
    height: 24px;
    font-size: 13px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.dataTables_filter label {
    font-size: 13px;
}

table.dataTable thead th, table.dataTable thead td,
table.table thead th, table.table thead td {
    padding: 10px 18px;
}

.main_content h5 {
    font-size: 14px;
}

table.dataTable tbody th, table.dataTable tbody td,
table.table tbody th, table.table tbody td {
    padding: 8px 18px;
}
table#tblBankTransactionList th, 
table#tblBankTransactionList tbody td {
    padding: 8px 5px;
}
.tab-content {
    font-size: 13px;
}

.ws-nowrap {
    white-space: nowrap;
}

.expandible_field {
    position: relative;
    padding-left: 20px;
    max-height: 38px;
    overflow: hidden;
    line-height: 1.4;
    transition: all ease 0.4s;
}

    .expandible_field.expanded {
        max-height: initial;
    }

    .expandible_field .ex_field_trigger {
        position: absolute;
        left: -5px;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #105866;
        cursor: pointer;
    }

        .expandible_field .ex_field_trigger i.fa-minus,
        .expandible_field.expanded .ex_field_trigger i.fa-plus {
            display: none;
        }

    .expandible_field.expanded .ex_field_trigger i.fa-minus {
        display: block;
    }

.portal_block.loan_main_block {
    background: #fff7f1;
    padding: 70px 15px;
    min-height: calc(100vh - 140px);
    margin-bottom: 18px;
}

.space_to_align {
    padding: 61px 0;
}

.bankTransTableWrap {
    position: relative;
}

    .bankTransTableWrap .addBankTrans {
        position: absolute;
        top: 40px;
        left: -15px;
        padding: 2px 6px;
        font-size: 12px;
    }

.inputTypeFile input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.inputTypeFile {
    position: relative;
    display: block;
    margin: 0 0 12px;
}

    .inputTypeFile .uploadFileBtn {
        display: block;
        border: 1px dashed #ccc;
        text-align: center;
        padding: 15px 15px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 150px;
        flex-direction: column;
        background: #fafafa;
    }

        .inputTypeFile .uploadFileBtn i {
            margin: 0 0 9px;
            font-size: 25px;
            color: #105866;
        }


.bankTransTableWrap .table-responsive {
    min-height: calc(100vh - 250px);
}

.select2-container--default .select2-results ul#select2-drpTransaction-results {
    max-height: 150px;
}

/* New Css */
.c_card {
    padding: 10px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.module_name span {
    padding: 1px 5px;
    line-height: 1.2;
}

    .module_name span:first-child {
        max-width: 55px;
        flex: 0 0 55px;
    }

    .module_name span:last-child {
        flex: 0 0 calc(100% - 55px);
        max-width: calc(100% - 55px);
    }

.module_name {
    justify-content: flex-start;
    margin: 5px 0;
}

.currencyNeg {
    color: red;
}
#tblBankTransactionList input#txtBankDate[readonly]::-webkit-inner-spin-button,
#tblBankTransactionList input#txtBankDate[readonly]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}
#tblBankTransactionList input#txtBankDate {
    max-width: 130px;
}
#tblBankTransactionList input#txtAmount {
    min-width: 118px;
}
#tblBankTransactionList .select2-container.select2 {
    width: 100% !important;
}
input#txtBankDate[type="date" i]::-webkit-calendar-picker-indicator {
    margin: 0px !important;
}


.cardlistHead h4:after {
    content: "";
    display: none !important;
}
.users_page .portal_block .cardlistHead h4 {
    background: #037d9d;
    padding: 4px 10px;
    margin: 0 0 10px;
    color: #fff;
    font-size: 15px;
}
.cards_list {
    margin: 0 0 15px;
}
.cards_list .module_name {
    justify-content: center;
    text-align: center;
}


/*my responsive style
=============================================================*/
@media screen and (max-width: 1199px) {
    ul .navbar-nav li {
        margin: 0 0 0 20px;
    }

    .cards_list .row > div {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    .balance_fields .form-group label {
        margin: 0 !important;
        display: block;
    }

    .balance_fields .form-group {
        width: 32%;
        margin: 0;
        display: block;
    }

    .balance_fields {
        justify-content: space-between;
        flex-wrap: wrap;
    }

        .balance_fields .position-relative .form-control {
            max-width: 100%;
            width: 100%;
        }
}


@media screen and (min-width: 992px) {
    ul.navbar-nav > li:hover ul.sub_menu_list {
        display: block;
    }
}


@media screen and (max-width: 991px) {

    .sub_menu .nav-tabs li.nav-item {
        margin: 0 15px 0 0;
    }

        .sub_menu .nav-tabs li.nav-item:last-child {
            margin: 0;
        }

    ul.navbar-nav li {
        margin: 0 0 10px !important;
    }

    .menu_right_block {
        min-width: initial;
        margin-left: auto;
    }

        .menu_right_block .userDropdown {
            margin-left: 15px;
        }

    .menu_wrap {
        position: fixed;
        right: -100%;
        left: auto;
        width: 300px;
        background: #fff;
        height: 100%;
        top: 0;
        padding: 60px 0px 60px;
        overflow: auto;
        box-shadow: 0 0 30px rgb(0 0 0 / 15%);
        transition: all ease 0.4s;
        -webkit-transition: all ease 0.4s;
        opacity: 0;
        z-index: 9999;
        display: block;
    }

    body.menu_expanded .menu_wrap {
        right: 0px;
        opacity: 1;
    }

    ul.navbar-nav {
        margin: 0px;
    }

        ul.navbar-nav li a {
            padding: 12px 20px;
            display: block;
        }

        ul.navbar-nav li {
            margin: 0 0 0px !important;
            border-bottom: 1px solid #f3f3f3;
            padding: 0;
        }

            ul.navbar-nav li:first-child {
                border-top: 1px solid #f3f3f3;
            }

    ul.sub_menu_list {
        position: static;
        box-shadow: none;
        width: 100%;
        padding: 0;
        background: #f3f3f3;
    }

        ul.sub_menu_list:before {
            display: none;
        }

        ul.sub_menu_list li {
            border: 0 !important;
        }

            ul.sub_menu_list li a {
                padding: 8px 30px;
            }

    span.s_menu_toggle {
        height: 45px;
        width: 40px;
        position: absolute;
        right: 0;
        top: 0;
        background: transparent;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        display: flex;
        pointer-events: none;
    }

        span.s_menu_toggle:after {
            display: block;
            content: "\f067";
            font-family: 'FontAwesome';
            color: #555;
        }

        span.s_menu_toggle.active:after {
            content: "\f068";
        }
}

@media screen and (max-width: 767px) {
    .portal_block.loan_main_block {
        padding: 30px 15px;
        min-height: initial;
    }

    .space_to_align {
        padding: 0px;
    }

    .cpImg {
        background: #e3eced87;
        padding: 20px 50px 40px;
    }

    .c_password_inner {
        padding: 40px 20px 50px;
    }

    .cards_list .row > div {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .searchPipeline .form-group .btn {
        margin: 0px 0 0;
    }

    .portal_head {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

        .portal_head .ml-auto {
            margin: 15px 0 0 0 !important;
        }

    .users_page .portal_block h4 {
        display: block;
        width: 100%;
    }

        .users_page .portal_block h4:after {
            margin: 0 auto;
            right: 0;
        }

    .portal_block {
        min-height: initial;
        margin-bottom: 10px;
    }

    .user_avtar {
        margin: 0px;
    }
}

@media screen and (max-width: 767px) and (min-width: 481px) {
}

@media screen and (max-width: 639px) {
    .balance_fields .form-group {
        width: 100%;
        margin: 0 0 10px;
    }

    .user_role_box {
        flex-direction: column;
        justify-content: center;
        align-items: stretch !important;
    }

        .user_role_box .btn {
            width: 50%;
        }

        .user_role_box .ml-auto {
            margin: 6px 0 0 !important;
        }

        .user_role_box select.form-control {
            width: 100%;
            display: block;
        }

    #p_credit_memo .portal_block {
        padding: 10px 15px 10px;
    }

    .sub_menu {
        flex: 100%;
        max-width: 100%;
        padding: 15px 0 5px 0px;
    }

    .left_sidebar {
        flex: none;
        max-width: 100%;
        width: 100%;
        margin: 0 0 20px;
    }

    .sub_menu .nav-tabs {
        justify-content: center;
    }

    .main_inner {
        flex-wrap: wrap;
    }

    .main_content {
        flex: none;
        max-width: 100%;
        padding-left: 0;
    }
}

@media screen and (max-width: 479px) {
    .site_logo {
        margin: -30px -20px 25px;
    }

    .login_box {
        padding: 30px 20px;
    }

    .cards_list .row > div {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


/* new css for loan modification tab
------------------------------------------------ */
.input_value_type_div {
    position: relative;
}

    .input_value_type_div .input_value_type {
        position: absolute;
        left: 0px;
        top: 0px;
        height: 22px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 25px;
        background: #ddd;
        border: 1px solid #bbbbbb;
    }

    .input_value_type_div .p_field {
        padding-left: 32px;
    }

    .input_value_type_div.type_percentage .input_value_type {
        left: auto;
        right: 0px;
    }

    .input_value_type_div.type_percentage .p_field {
        padding-right: 32px;
        padding-left: 6px;
    }

.p_field[type="number"]::-webkit-outer-spin-button,
.p_field[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.p_field[type="number"] {
    -moz-appearance: textfield;
}

.download_btn_group {
    gap: 6px;
    justify-content: flex-end;
    margin: 0px 0 10px;
    flex-wrap: wrap;
}

    .download_btn_group .btn {
        width: auto;
        margin: 0;
    }

@media (max-width:991px) {
    .download_btn_group {
        justify-content: flex-start;
        margin: 5px 0 15px;
    }
}