:root {
    --bs-blue: #0d6efd;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-pink: #d63384;
    --bs-red: #dc3545;
    --bs-orange: #fd7e14;
    --bs-yellow: #ffc107;
    --bs-green: #198754;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-white: #fff;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-gray-100: #f8f9fa;
    --bs-gray-200: #e9ecef;
    --bs-gray-300: #dee2e6;
    --bs-gray-400: #ced4da;
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #6c757d;
    --bs-gray-700: #495057;
    --bs-gray-800: #343a40;
    --bs-gray-900: #212529;
    --bs-primary: #0d6efd;
    --bs-secondary: #6c757d;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #004d74;
    --bs-primary-rgb: 13, 110, 253;
    --bs-secondary-rgb: 108, 117, 125;
    --bs-success-rgb: 25, 135, 84;
    --bs-info-rgb: 13, 202, 240;
    --bs-warning-rgb: 255, 193, 7;
    --bs-danger-rgb: 220, 53, 69;
    --bs-light-rgb: 248, 249, 250;
    --bs-dark-rgb: 0, 77, 116;
    --bs-white-rgb: 255, 255, 255;
    --bs-black-rgb: 0, 0, 0;
    --bs-body-rgb: 33, 37, 41;
    --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
    --bs-body-color: #212529;
    --bs-body-bg: #fff;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
/*    font-size: .875rem;*/
}

.feather {
    width: 32px;
    height: 32px;
    vertical-align: text-bottom;
}

/*
 * Sidebar
 */

/*.sidebar {
    position: fixed;
    top: 0;*/
    /* rtl:raw:
  right: 0;
  */
    /*bottom: 0;*/
    /* rtl:remove */
    /*left: 0;
    z-index: 100;*/ /* Behind the navbar */
    /*padding: 58px 0 0;*/ /* Height of navbar */
    /*box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

@media (max-width: 767.98px) {
    .sidebar {
        top: 5rem;
    }
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto;*/ /* Scrollable contents if viewport is shorter than content. */
/*}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

    .sidebar .nav-link .feather {
        margin-right: 4px;
        color: #727272;
    }

    .sidebar .nav-link.active {
        color: #2470dc;
    }

        .sidebar .nav-link:hover .feather,
        .sidebar .nav-link.active .feather {
            color: inherit;
        }

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}*/

/*
 * Navbar
 */

/*.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}

.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
    margin-left: 6px;
}*/

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

    .form-control-dark:focus {
        border-color: transparent;
        box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
    }

.form-field-condition {
    display: none;
}

.disclaimer-link {
    color: #359;
    cursor: pointer;
}

.fancybox-bg {
    opacity: 0.5;
}

.form-label.required:after {
    content: " *";
}

.validation-summary-valid {
    display: none;
}

.form-floating > .form-label {
    transform: scale(.85) translateY(-0.5rem) translateX(1.15rem)!important;
}

.info-input-popover-button {
    height: calc(3.5rem + 2px);
}

.info-text-popover-button {
    height: calc(2.5rem + 2px);
}

.filename-link {
    max-width: 80%;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.filename-action {
    display: inline-block;
    cursor: pointer;
}

.filename-action img {
    width: 24px;
    opacity: 0.8;
}

.filename-upload {
    border: solid 1px #ccc;
    border-radius: 3px;
    padding: 2px;
}

.filename-upload-btn {
    padding: 4px 10px !important;
}

#ImpersonateUserId{
    max-width: 400px;
    margin: 1em 0;
}

.flex-nowrap{
    /*flex-wrap: nowrap;*/
}

.mapping-grid{
    max-height: 500px;
    overflow-y: scroll;
}

.financial-table-heading{
    font-weight: 500;
}

#financials-tab-pane{
    font-size: 14px;
}

#financials-tab-pane input{
    font-size: 14px;
}
#financials-tab-pane .input-group-text {
    font-size: 14px;
}

.financial-new {
    background-color: white;
    -webkit-animation-name: fade-new; /* Chrome, Safari, Opera */
    -webkit-animation-duration: 2s; /* Chrome, Safari, Opera */
    animation-name: fade-new;
    animation-duration: 2s;
}

/* Standard syntax */
@keyframes fade-new {
    0% {
        background-color: hsl(242, 100%, 50%);
        color: white;
    }

    10% {
        background-color: hsl(242, 100%, 55%);
        color: white;
    }

    20% {
        background-color: hsl(242, 100%, 60%);
        color: white;
    }

    30% {
        background-color: hsl(242, 100%, 65%);
        color: white;
    }

    40% {
        background-color: hsl(242, 100%, 70%);
        color: white;
    }

    50% {
        background-color: hsl(242, 100%, 75%);
    }

    60% {
        background-color: hsl(242, 100%, 80%);
    }

    70% {
        background-color: hsl(242, 100%, 85%);
    }

    80% {
        background-color: hsl(242, 100%, 90%);
    }

    90% {
        background-color: hsl(242, 100%, 95%);
    }

    100% {
        background-color: hsl(242, 100%, 100%);
    }
}
}

#jotformFieldsList, #popup-qna{
    max-height: 450px;
    overflow-y: auto;
    position: relative;
}

.modal-dialog.modal-lg.customQnA{
    max-width: 950px!important;
}

#jotformFieldsList > li > div > span:not(:last-child){
    border-right: 1px solid white;
    margin-right: 10px;
}
#jotformFieldsList > li{
    padding: 5px 0;
}
#jotformFieldsList > li > .handle {
    position: absolute;
    top: 0;
    cursor: grab;
}

#jotformFieldsList > li:first-child::before {
    display: none;
}

#jotformFieldsList > li > div > span:nth-child(1),
#jotformFieldsList > li > div > span:nth-child(2) {
    width: 36%;
}

    #jotformFieldsList > li > div > input:nth-child(1),
    #jotformFieldsList > li > div > input:nth-child(2) {
        width: 35%;
    }
    #jotformFieldsList > li > div > span:nth-child(3),
    #jotformFieldsList > li > div > div.input:nth-child(3),
    #jotformFieldsList > li > div > span:nth-child(4),
    #jotformFieldsList > li > div > div.input:nth-child(4),
    #jotformFieldsList > li > div > span:nth-child(5),
    #jotformFieldsList > li > div > div.input:nth-child(5) {
        width: 8%;
    }

#jotformFieldsList > li:nth-child(odd) {
    color: #383d41;
    background-color: #d6d8db;
}
#jotformFieldsList > li:nth-child(even) {
    color: #818182;
    background-color: #fdfdfe;
}

.document-group > div.collapse > .internal-document-item:nth-child(even),
.document-group > div.collapse > .dealer-document-item:nth-child(even) {
    background: #efefef;
}
#User_OrganizationId.form-select + div.form-select,
#Deal_OrganizationId.form-select + div.form-select,
#TaskAssignTo.form-select + div.form-select,
#EditTaskAssignTo.form-select + div.form-select,
#TaskAssignedToToday.form-select + div.form-select,
#TaskAssignedToDue.form-select + div.form-select,
#TaskAssignedToWeek.form-select + div.form-select,
.custom-select + div.custom-select {
    background-image: none !important;
}

div.form-select.ss-content.ss-open-below {
    background-image: none !important;
}

/* Increase modal width for dashboard messages popup */
#dealerMessages .modal-dialog, #internalMessages .modal-dialog {
    max-width: 99%;
}

.z-index-1{
    z-index: 1;
}

.custom-list-item {
    display: list-item;
    list-style-type: disclosure-closed;
    margin-left: 1em;
}

#hold-deal .modal-dialog, #internal-docs-upload .modal-dialog{
    max-width: 650px;
}

#hold-deal .modal-body {
    padding: 0 25px;
}

.held-details {
    width: 210px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-size: 12px;
}

.msg-div {
    max-width: 30em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#templateContent #templateAssignee, #templateContent #templatePhNumber, #templateContent #templateTitle {
    font-weight: bold;
    color: #5f76e8;
}

.datatable-table thead {
    color: white !important;
    background-color: #5f76e8 !important;
}