﻿
:root {
    --header-height: 60px;
    --head-spacer: 70px;
    --border-radius: 10px;
    --side-bar-width: 250px;
    --wrapper-padding: 10px;
    /* defined in db in vcThemeColors   --my-bg-indigo: #804e23;*/
}

.btn-red-semi-trans {
    background-color: var(--theme-bg-red-semi);
    border-color: var(--theme-bg-semi-transparent);
}

    .btn-red-semi-trans:hover {
        background-color: var(--bs-btn-bg);
    }

.btn-indigo {
    background-color: var(--theme-bg-primary);
    border: 0.727273px solid;
    border-color: var(--theme-bg-primary);
    color: rgb(255, 255, 255);
}

    .btn-indigo:hover {
        background-color: var(--theme-bg-hover) !important;
        border-color: var(--theme-bg-hover) !important;
        color: white !important;
    }

    .btn-indigo:active {
        background-color: var(--theme-bg-active) !important;
        border-color: var(--theme-bg-active) !important;
        color: white !important;
    }

    .btn-indigo:focus-visible {
        color: white;
        background-color: var(--theme-bg-primary);
        box-shadow: 0 0 0 4px var(--theme-bg-semi-transparent);
    }

.text-indigo {
    color: var(--my-bg-indigo);
}

    .text-indigo:hover {
        color: var(--theme-bg-hover) !important;
    }

    .text-indigo:active {
        color: var(--theme-bg-active) !important;
        border: none !important;
    }



.btn-outline-primary {
    background-color: white;
    border: 0.727273px solid;
    border-color: var(--my-bg-indigo);
    color: var(--theme-bg-primary);
}

    .btn-outline-primary:hover {
        background-color: var(--theme-bg-hover) !important;
        border-color: var(--theme-bg-hover) !important;
        color: white !important;
    }

    .btn-outline-primary:active {
        background-color: var(--theme-bg-active) !important;
        border-color: var(--theme-bg-active) !important;
        color: white !important;
    }

    .btn-outline-primary:focus-visible {
        color: white;
        background-color: var(--theme-bg-primary);
        box-shadow: 0 0 0 4px var(--theme-bg-semi-transparent);
    }

.btn.btn-outline-primary.show, .btn.btn-indigo.show {
    color: var(--bs-btn-active-color);
    background-color: var(--theme-bg-primary);
    border-color: var(--theme-bg-primary);
}

.dropdown-item:hover, .dropdown-item:focus {
    color: var(--bs-dropdown-link-hover-color);
    background-color: var(--theme-bg-light);
}

.dropdown-item.active, .dropdown-item:active {
    color: var(--bs-dropdown-link-active-color);
    text-decoration: none;
    background-color: var(--theme-bg-primary);
}

.my-pager {
    position: sticky;
    left: 0;
}

    .my-pager .row {
        margin: 0;
    }

    .my-pager .dataTables_paginate {
        padding: 10px;
        display: inline-block;
    }

        .my-pager .dataTables_paginate .paginate_button {
            padding: 5px 10px;
            text-decoration: none;
            cursor: pointer;
        }

        .my-pager .dataTables_paginate .current {
            color: black;
        }


.btn-semi-transparent {
    background-color: #2100626d;
    border: #2100626d solid;
    border-color: #21006200;
    color: rgb(255, 255, 255);
}

    .btn-semi-transparent:hover {
        background-color: #210062a6 !important;
        border-color: #21006200 !important;
        color: white !important;
    }

    .btn-semi-transparent:active {
        background-color: #210062a6 !important;
        border-color: #21006200 !important;
        color: white !important;
    }

.grid td {
    padding: 0;
}

    .grid td input {
        padding: 10px;
        border: none;
        outline: none;
        width: 100%;
    }

    .grid td input {
        transition-duration: 500ms;
    }

        .grid td input:focus {
            box-shadow: 2px 2px 4px 0px #0100cc3d;
            background-color: #0100cc08;
        }

@media print {
    .dontPrint {
        display: none;
    }
}

.my-offcanvas {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100vw;
    background-color: #00000045;
    display: none;
    transition-duration: 200ms;
    z-index: 10;
}

    .my-offcanvas .my-offcanvas-body {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        width: 500px;
        max-width: 100vw;
        background-color: white;
        transform-origin: left;
        transition-duration: 200ms;
    }

    .my-offcanvas .my-offcanvas-header {
        display: flex;
        height: 50px; /* used to calculate other heights */
        padding: 5px 15px;
        align-items: center;
        justify-content: space-between
    }

    .my-offcanvas .my-offcanvas-body .my-offcanvas-text {
        position: relative;
        height: calc(100% - 50px);
    }

    .my-offcanvas .my-offcanvas-body h5 {
        margin: 0;
    }

    .my-offcanvas.my-offcanvas-500px .my-offcanvas-body {
        min-width: 500px;
    }

    .my-offcanvas.my-offcanvas-25vw .my-offcanvas-body {
        min-width: 25vw;
    }

    .my-offcanvas.my-offcanvas-50vw .my-offcanvas-body {
        min-width: 50vw;
    }

    .my-offcanvas.my-offcanvas-75vw .my-offcanvas-body {
        min-width: 75vw;
    }

    .my-offcanvas.my-offcanvas-100vw .my-offcanvas-body {
        min-width: 100vw;
    }

.dealershipBadge {
    display: block;
    color: var(--theme-bg-primary);
    border-radius: var(--border-radius);
    font-style: italic;
    font-weight: bold;
}

.ms-container-fluid {
    /* alternate to bootstrap container-fluid */
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.actions-nav-bar {
    border-bottom: 1px solid var(--theme-bg-primary);
    padding: 5px 0px;
    border-radius: 0 !important;
    margin-bottom: 5px;
    margin-top: -5px;
}


div.themed-scrollbars {
    scrollbar-color: var(--theme-bg-primary) var(--theme-bg-extra-light);
    scrollbar-width: thin;
}

    div.themed-scrollbars::-webkit-scrollbar {
        width: 12px;
        height: 12px;
    }

    div.themed-scrollbars::-webkit-scrollbar-track {
        background: #e1e0e0;
        border-radius: 5px;
    }

    div.themed-scrollbars::-webkit-scrollbar-thumb {
        background: var(--theme-bg-light);
        border-radius: 5px;
    }

        div.themed-scrollbars::-webkit-scrollbar-thumb:hover {
            background: var(--theme-bg-primary);
            transition: background-color 0.5s ease-in; /* Correct transition syntax */
        }


.notificationPanelToggler {
    /*    box-shadow: 0 0 0 1px white;*/
}

.notification-badge {
    z-index: 2;
    margin-top: 7px;
    margin-left: -10px;
    animation: flash 3s infinite;
    background-color: #ff0018 !important;
    padding: 9px;
    box-shadow: inset 0 0 0px 3px white;
}

.notification-container .notification-text-container {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 12px;
    margin-bottom: 12px;
}

.notification-container .notification-text {
    background-color: white;
    color: black;
    display: grid;
    grid-template-columns: 40px calc(100% - 41px);
    max-width: 100%;
    overflow: auto;
    white-space: normal;
}

.notification-container .noti-date {
    display: block;
    font-size: 14px;
}

.notification-container .notification-msg {
    margin-top: -5px;
}

.notification-container:empty::before {
    content: '👍🏽 All caught up!';
    display: flex;
    align-items: center;
    justify-content: center;
    color: #565656;
    font-size: 29px;
    margin-top: 19vh;
}

.notification-container .notification-action {
    display: flex;
    justify-content: end;
    align-items: end;
}

#notificationsCanva .ms-oc-header {
    border-bottom: 1px solid #ddd;
    padding-bottom: 12px;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(100%);
    }
}

.slide-in {
    animation: slideIn 0.5s forwards;
}

.slide-out {
    animation: slideOut 0.5s forwards;
}

@media (max-width:990px) {
    .text-sm-primary {
        color: var(--theme-bg-primary);
    }
}

@media (min-width:990px) {
    .text-md-white {
        color: white;
    }
    /* for inputs that comes on top nav bar */
    .header-input-md {
        background-color: var(--theme-bg-primary);
        color: white;
    }

        .header-input-md:focus {
            border-color: var(--theme-bg-active);
            box-shadow: 0 0 0px 0.1rem var(--theme-bg-light);
        }
    /* change drop down arrow shape for .header-input-md */
    select.header-input-md {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
        background-position: right 10px center;
        background-size: 16px;
    }
    /* change calendar icon for .header-input-md date inputs */
    input.header-input-md[type*="date"] {
        appearance: none; /* Remove default browser styling */
        -moz-appearance: none;
        -webkit-appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-1.99.9-1.99 2L3 20c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zm0-12H5V6h14v2z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 10px center;
        background-size: 20px;
        cursor: pointer;
    }

        input.header-input-md[type*="date"]::-webkit-calendar-picker-indicator {
            opacity: 0; /* Hide the default calendar icon */
        }
}

/* ------------- Convert table to card ----------------*/

.table-to-card thead {
    display: none;
}

.table-to-card tbody {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.table-to-card th, .table-to-card td {
    position: relative;
}

.table-to-card tr {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem; /* Space between cards */
    overflow: auto;
}

.table-to-card td:not(.quick-action) {
    display: grid;
    padding: 5px !important;
    border: none;
    position: relative;
    grid-template-columns: minmax(150px, 30%) minmax(350px, 70%);
    text-align: left !important;
    align-items: center;
    white-space: normal;
}

.table-to-card td:before {
    content: attr(data-label); /* Use data-label attribute for header text */
    font-weight: bold;
    margin-right: 10px;
    color: #333;
}
/* ------ End of table-to-card ----------*/

/* highlighted table */
table.highlight-row tr td {
    background-color: transparent;
}

table.highlight-row {
    cursor: default;
}

    table.highlight-row a {
        text-decoration: none;
        color: unset;
    }

    table.highlight-row tr {
        transition: background-color 0.3s;
    }

        table.highlight-row tr:hover {
            background-color: #ececec !important;
        }

            table.highlight-row tr:hover td:not(.hot-column) {
                background-color: #ececec !important;
            }

            table.highlight-row tr:hover a:not(.quick-button) {
                color: #051eff;
                visibility: visible;
            }

        table.highlight-row tr td.quick-action {
            border: none !important;
        }

            table.highlight-row tr td.quick-action .quick-action-handle {
                position: relative;
                visibility: hidden;
                border: 1px solid #767676;
                border-radius: 50%;
                transform: scale(0);
                transition: ease-in transform 0.1s;
            }

        table.highlight-row tr:hover td.quick-action .quick-action-handle {
            visibility: visible;
            transform: scale(1);
        }

    table.highlight-row tbody tr, table.highlight-row td {
        border-color: #ececec;
    }

    table.highlight-row tr td.quick-action .acti-tool button, .acti-tool a.quick-button {
        text-align: left;
        color: white;
    }

    table.highlight-row tr td a.edit-icon-on-hover {
        padding: 5px;
        display: block;
        width: 100%;
    }

        table.highlight-row tr td a.edit-icon-on-hover:hover::before {
            content: '\f303';
            position: absolute;
            font-family: 'Font Awesome 6 Free';
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            right: 0px;
            top: 1px;
            font-weight: 900;
        }

    table.highlight-row .acti-tool {
        display: none;
        position: absolute;
        z-index: 1;
        left: 5px;
        top: 5px;
    }

    table.highlight-row tbody tr.selected, table.highlight-row tbody tr.selected td:not(.hot-column) {
        background-color: var(--theme-bg-light) !important;
    }

    table.highlight-row tbody tr td:not(.quick-action) {
        min-width: 150px;
    }

/* .tool-item appends in body so it is not prefixed with table.heightlight*/
.tool-item {
    display: flex;
    align-items: center;
    justify-content: start;
}

    .tool-item .fa-regular, .tool-item .fa-solid {
        font-size: 13px;
        width: 18px;
        margin-right: 12px;
    }

        .tool-item .tool-icon.material-symbols-outlined {
            font-size: 20px;
            margin-right: 12px;
        }


.zoom-col, .zoom-col div, .zoom-col tds {
    /* element tds comes with data report */
    white-space: nowrap;
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

    .zoom-col:not(:empty):hover::before {
        content: '\f2d0';
        position: absolute;
        border-radius: 50%;
        width: 17px;
        height: 17px;
        background-color: #ffffff;
        left: 50%;
        top: 0px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Font Awesome 6 Free';
        box-sizing: border-box;
        color: #128301;
        transition-delay: 200ms;
        font-size: 10px;
    }

.release-notes {
    font-size: 12px;
    background-color: white !important;
    color: #403e3e !important;
}

    .release-notes a {
        position: absolute;
        top: 2px;
        right: 15px;
        font-size: 15px;
    }

        .release-notes a i {
            color: darkgreen !important;
        }

        .release-notes a.animate {
            animation: flip 3s infinite;
        }

/* following classes are used by analtics */
.hot-column {
    color: var(--bs-blue) !important;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 200ms;
}

    .hot-column:hover {
        box-shadow: inset 0px 0px 6px 2px #ddd;
        background-color: white;
    }
    .hot-column:active {
        box-shadow: inset 0px 0px 0px 2px #dddddd42;
        background-color: #dddddd12;
    }

infusionmainwrapper * {
    /* this is specificly required for helper icon positioning.*/
    position: relative;
}

.search-link {
    border: 1px solid #ddd;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mgrid-table td {
    padding: 0;
}

.mgrid-table .form-control {
    border: 0 !important;
    outline: none;
    box-shadow: none;
}

    .mgrid-table .form-control[type="number"] {
        text-align: right;
    }
.archived {
    background-color: #f5f5fb !important;
}
.inline-toolbar {
    display:flex;
}
    .inline-toolbar a {
        text-decoration: none;
        padding: 4px 10px;
        border: 1px solid;
        color: var(--theme-bg-primary);
        margin-right: 5px;
        border-radius: 5px;
    }
/* Following styles change table to cards on small screen */
@media screen and (max-width: 600px) {
    table.table-sm-card, .table-sm-card thead, .table-sm-card tbody, .table-sm-card th, .table-sm-card td, .table-sm-card tr {
        display: block;
        white-space: normal;
    }

    .table-sm-card thead {
        display: none; /* Hide table headers */
    }

    .table-sm-card th {
        position: relative;
    }

    .table-sm-card tr {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 5px;
        box-shadow: 0px 0px 7px #0000008a;
        padding: 5px;
    }

    .table-sm-card td {
        display: flex;
        padding: 5px !important;
        border: none;
        position: relative;
        text-align: left;
        overflow-x: auto;
        overflow-y: hidden;
    }

        .table-sm-card td:before {
            content: attr(data-label);
            font-weight: normal;
            margin-right: 10px;
            color: #333;
            display: block;
            font-style: italic;
            text-align: left;
            white-space: nowrap;
            min-width: 100px;
        }

    table.highlight-row tr td.quick-action .quick-action-handle {
        visibility: visible;
        transform: scale(1);
        border: none;
        position: absolute;
        right: 0;
    }
    .table-sm-card .small-sticky-higlight {
        background-color: #ececec !important;
        margin-left: -6px;
        margin-right: -6px;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }
    .table-sm-card td.td-first-sticky a{
        /*this is used to align top with its heading*/
        padding-top:0px !important; 
    }
    .table-sm-card td.quick-action {
        display: table-cell;
        overflow: visible;
        width: 80vw;
    }
        .table-sm-card td.quick-action .quick-action-handle {
            position: absolute;
            top: 0;
        }
}

.scrolling-tabs {
    /* on mobile tabs will not wrap but will scroll */
    overflow: auto;
}
    .scrolling-tabs .nav-tabs {
        flex-wrap: nowrap;
        white-space: nowrap;
    }
.tab-pane.active {
    /* this creates a border to simulate section opening for selected tab */
    border: 1px solid #ddd;
    border-top: none;   
}
[required]:invalid {
    background-color: #ffffcb;
}
.bella-intelligence {
    display: inline-block;
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23000' d='M34 6c-1.368 4.944-3.13 6.633-8 8c4.87 1.367 6.632 3.056 8 8c1.368-4.944 3.13-6.633 8-8c-4.87-1.367-6.632-3.056-8-8m-14 8c-2.395 8.651-5.476 11.608-14 14c8.524 2.392 11.605 5.349 14 14c2.395-8.651 5.476-11.608 14-14c-8.524-2.392-11.605-5.349-14-14'/%3E%3C/svg%3E");
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}
.bella-intelligence-25x {
    height: 25px;
    width: 25px;
    margin-right: 3px
}