[v-cloak] {
    display: none;
}

body {
    overflow-x: hidden;
}

.navbar {
    margin-bottom: 0px;
    border-radius: 0px;
}

    .navbar .dropdown-menu {
        padding: 0px;
    }

@media (max-width: 700px) {
    .navbar .dropdown-menu.dropdown-menu-wide {
        width: 90%;
    }

    .navbar .dropdown-menu.dropdown-menu-extra-wide {
        width: 90%;
    }
}

.dm-navbar .navbar-background {
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position-x: center;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
}

.dm-navbar-secondary .btn-sm {
    padding: .1rem .5rem;
}


.dm-navbar .nav-link:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.dropdown-menu.dropdown-menu-center {
    left: -150px;
}

.dropdown-menu.dropdown-menu-medium {
    width: 400px;
}

    .dropdown-menu.dropdown-menu-medium.dropdown-menu-center {
        left: -200px;
    }

.dropdown-menu.dropdown-menu-wide {
    width: 620px;
}

    .dropdown-menu.dropdown-menu-wide.dropdown-menu-center {
        left: -230px;
    }

.dropdown-menu.dropdown-menu-extra-wide {
    width: 700px;
}

.dropdown-menu.dropdown-menu-wide.dropdown-menu-center {
    left: -230px;
}


.vScroll {
    overflow: hidden auto;
    scrollbar-width: thin; /* Firefox */
}
    /* Chrome / Webkit */
    .vScroll::-webkit-scrollbar {
        width: .5EM;
    }

    .vScroll::-webkit-scrollbar-track {
        box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    }

    .vScroll::-webkit-scrollbar-thumb {
        background-color: darkgrey;
        outline: 1px solid slategrey;
    }

.hScroll {
    overflow: auto;
    white-space: nowrap;
}

.actionCursor {
    cursor: pointer;
}

.dragCursor {
    cursor: move;
}

.nowrap {
    white-space: nowrap;
}

.dots {
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
    margin: 0px;
}


.offcanvas {
}

    .offcanvas.offcanvas-top.offcanvas-size-lg, .offcanvas.offcanvas-bottom.offcanvas-size-lg {
        height: 50vh;
    }

    .offcanvas.offcanvas-top.offcanvas-size-xl, .offcanvas.offcanvas-bottom.offcanvas-size-xl {
        height: 80vh;
    }
    .offcanvas.offcanvas-top.offcanvas-size-xxl, .offcanvas.offcanvas-bottom.offcanvas-size-xxl {
        height: 90vh;
    }

    .offcanvas.offcanvas-top.offcanvas-size-full, .offcanvas.offcanvas-bottom.offcanvas-size-full {
        height: 100vh;
    }

    .offcanvas.offcanvas-start.offcanvas-size-lg, .offcanvas.offcanvas-end.offcanvas-size-lg {
        width: 600px;
        max-width: 100%;
    }

    .offcanvas.offcanvas-start.offcanvas-size-xl, .offcanvas.offcanvas-end.offcanvas-size-xl {
        width: 750px;
        max-width: 100%;
    }

    .offcanvas.offcanvas-start.offcanvas-size-xxl, .offcanvas.offcanvas-end.offcanvas-size-xxl {
        width: 900px;
        max-width: 100%;
    }

    .offcanvas.offcanvas-start.offcanvas-size-full, .offcanvas.offcanvas-end.offcanvas-size-full {
        width: 100%;
    }

.dm-grid-table {
    /*border-bottom: 1px solid gray;*/
}

    .dm-grid-table .dm-grid-header {
        /*      
        color: white;
        background-color: #6c757d;
        opacity: .75;
*/
        border-bottom: 1px solid gray;
    }

        .dm-grid-table .dm-grid-header [class*='col'] {
            border-right: 1px solid white;
        }

            .dm-grid-table .dm-grid-header [class*='col'] a {
                color: white;
            }

    .dm-grid-table .dm-grid-row {
        border-bottom: 1px solid lightgray;
    }

    .dm-grid-table .dm-grid-row:nth-child(even) .dm-grid-row {
        background-color: #f2f2f2;
    }

        .dm-grid-table .dm-grid-row:nth-child(even) .dm-grid-row:hover {
            background-color: darkgray;
            color: white;
        }

    .dm-grid-table .dm-grid-row:nth-child(even) {
        background-color: #f2f2f2;
    }

    .dm-grid-table .dm-grid-row:hover {
        background-color: darkgray;
        color: white;
    }

    .dm-grid-table .dm-grid-header .col.nowrap, .dm-grid-table .dm-grid-row .col.nowrap {
        white-space: nowrap;
        overflow: hidden !important;
        text-overflow: ellipsis;
        margin: 0px;
    }

.table.table-compact td {
    padding: 0px;
}

.dmautocomplete {
    position: relative;
}

    .dmautocomplete ul {
        padding: 2px;
        margin: 0;
        border: 1px solid #eeeeee;
        background-color: #616161;
        min-width: 400px;
        max-height: 300px;
        overflow: auto;
    }

    .dmautocomplete li {
        list-style: none;
        text-align: left;
        padding: 4px 2px;
        cursor: pointer;
    }

        .dmautocomplete li:hover {
            background-color: #4AAE9B;
            color: white;
        }


.dmContextMenu {
    background: white;
    color: black;
    padding: 2px;
    border: 1px solid black;
    min-width: 175px;
    z-index: 1000
}

    .dmContextMenu ul {
        list-style: none;
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 2px;
    }

    .dmContextMenu li {
        white-space: nowrap;
    }

        .dmContextMenu li > div {
            cursor: pointer;
        }

            .dmContextMenu li > div:hover {
                background-color: gray;
                color: white;
            }

/*https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_rangeslider*/
.dm-slider {
    /* -webkit-appearance: none; */
    /* outline: none; */
    /* opacity: 0.7; */
}

    .dm-slider:hover {
        /* opacity: 1; */
    }

    .dm-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 30px;
        height: 30px;
        background: var(--Color_Button_BG);
        cursor: pointer;
        border-radius: 15px;
    }

    .dm-slider.form-control-sm::-webkit-slider-thumb {
        width: 20px;
        height: 20px;
        border-radius: 10px;
    }


/* Color Picker Squares */
.colorsquare {
    border-radius: 3px;
    border: 2px transparent;
    position: relative;
    display: inline-block;
    width: 50px;
    height: 50px;
}

    .colorsquare.colorselected {
        border: 2px solid red;
    }

.colorsquareinner {
    border-radius: 3px;
    border: 1px solid black;
    position: absolute;
    top: 5%;
    bottom: 5%;
    left: 5%;
    right: 5%;
}


.list-group-item.list-group-item-tight {
    padding: 0rem 1rem;
}
.dm-navbar .list-group-item {
    color: #403d3d;
}

    .dm-navbar .list-group-item.list-group-item-action {
        border-radius: 0px;
    }

    .dm-navbar .list-group-item.list-group-item-action:hover {
        border-radius: 10px !important;
        box-shadow: 2px 8px 8px rgba(0, 0, 0, 0.15); /* Soft shadow */
        transform: translateY(-2px); /* Slight lift */
        transition: all 0.2s ease-in-out; /* Smooth animation */
    }

.dm-navbar .router-link-active {
    border-radius: 5px !important;
}


.dm-navbar .dropdown-menu {
    box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.25); /* Soft shadow */
    border-radius: 5px !important;
}

    .dm-navbar .dropdown-menu .list-group {
        border-radius: 5px !important;
    }


.dm-navbar .list-group .btn:hover {
    border-radius: 5px !important;
    box-shadow: 2px 8px 8px rgba(0, 0, 0, 0.15); /* Soft shadow */
    transform: translateY(-1px); /* Slight lift */
    transition: all 0.1s ease-in-out; /* Smooth animation */
}

.dm-admin .list-group-item.list-group-item-action:hover {
    border-radius: 5px !important;
    box-shadow: 2px 8px 8px rgba(0, 0, 0, 0.15); /* Soft shadow */
    transform: translateY(-2px); /* Slight lift */
    transition: all 0.1s ease-in-out; /* Smooth animation */
}

.dm-reports .list-group-item.list-group-item-action:hover {
    border-radius: 5px !important;
    box-shadow: 2px 8px 8px rgba(0, 0, 0, 0.15); /* Soft shadow */
    transform: translateY(-2px); /* Slight lift */
    transition: all 0.1s ease-in-out; /* Smooth animation */
}

/*****************************************************/
/*      List Group Colors
*/
.list-group.dm-list-group .list-group-item.dm-list-group-item {
    /*border-bottom: 1px solid lightgray;*/
}

    .list-group.dm-list-group .list-group-item.dm-list-group-item:nth-child(even) {
        background-color: #f2f2f2;
    }

    .list-group.dm-list-group .list-group-item.dm-list-group-item:hover {
        background-color: darkgray;
        color: white;
    }


/*****************************************************/


/*****************************************************/
/*      E-form General
*/
.dmeformcontainer .required input,
.dmeformcontainer .required select,
.dmeformcontainer .required textarea,
.dmeformcontainer .required .fileupload {
    border: 2px solid #fb9999 !important;
    background-color: #ffd4d4;
}

.dmeformcontainer .required.empty input,
.dmeformcontainer .required.empty select,
.dmeformcontainer .required.empty textarea,
.dmeformcontainer .required.empty .fileupload {
    background-color: #ffd4d4;
}
/*****************************************************/



/*****************************************************/
/*      E-form Buttons
*/
.dmeformcontainer .standard-button {
    color: #000;
}

    .dmeformcontainer .standard-button button.btn {
        color: #202020;
        background: #EEE;
        border: 1px solid #767676;
        padding: 4px 13px;
        font-size: 1.1em;
        border-radius: 2px;
    }

    .dmeformcontainer .standard-button span.btnText {
        font-family: 'Helvetica Neue',sans-serif;
    }

.dmeformcontainer .professional-blue {
    color: #fff;
}

    .dmeformcontainer .professional-blue button.btn {
        background: #25A6E1;
        border: 1px solid #1A87B9;
        padding: 4px 13px;
        font-size: 1.1em;
        border-radius: 2px;
    }

    .dmeformcontainer .professional-blue span.btnText {
        font-family: 'Helvetica Neue',sans-serif;
    }

.dmeformcontainer .professional-green {
    color: #fff;
}

    .dmeformcontainer .professional-green button.btn {
        background: #6bbf20;
        border: 1px solid #48c018;
        padding: 4px 13px;
        font-size: 1.1em;
        border-radius: 2px;
    }

    .dmeformcontainer .professional-green span.btnText {
        font-family: 'Helvetica Neue',sans-serif;
    }

.dmeformcontainer .professional-orange {
    color: #fff;
}

    .dmeformcontainer .professional-orange button.btn {
        background: #ed8223;
        border: 1px solid #a36830;
        padding: 4px 13px;
        font-size: 1.1em;
        border-radius: 2px;
    }

    .dmeformcontainer .professional-orange span.btnText {
        font-family: 'Helvetica Neue',sans-serif;
    }

.dmeformcontainer .rounded-blue button.btn {
    background-color: #25A6E1;
    color: #fff;
    font-size: 1.1em;
    line-height: 20px;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border: 0;
    padding-left: 8px;
    padding-right: 8px;
}

.dmeformcontainer .rounded-green button.btn {
    background-color: #6bbf20;
    color: #fff;
    font-size: 1.1em;
    line-height: 20px;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border: 0;
    padding-left: 8px;
    padding-right: 8px;
}

.dmeformcontainer .rounded-orange button.btn {
    background-color: #ed8223;
    color: #fff;
    font-size: 1.1em;
    line-height: 20px;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border: 0;
    padding-left: 8px;
    padding-right: 8px;
}

@media print {
    .dmeformcontainer .eformpage {
        page-break-before: always;
    }

        .dmeformcontainer .eformpage:first-child {
            page-break-before: avoid;
        }
}

.eformeditor {
}

    .eformeditor .lbl {
        font-weight: 500;
        padding-bottom: 2px;
    }

    .eformeditor .fld {
        border-bottom: 1px solid lightgray;
        padding-bottom: 4px;
        margin-bottom: 2px;
    }

/*****************************************************/



/*****************************************************/
/*      Signature Pad
*/
.dmSigPad {
    position: relative;
}

    .dmSigPad .dmSigPadSigned {
        position: absolute;
        bottom: 0;
        padding-left: 10px;
        color: red;
    }

/*****************************************************/



/*****************************************************/
/*      SELECT EDITABLE CUSTOM
*/

.select-editable {
    position: relative;
}

    .select-editable select {
        position: absolute;
        top: 0px;
        left: 0px;
        height: 100%;
    }

    .select-editable input {
        position: absolute;
        top: 1px;
        left: 1px;
        width: 95%;
        height: 95%;
        border: 0;
    }

        .select-editable select:focus, .select-editable input:focus {
            outline: none;
        }

/*****************************************************/



.itemHighlight {
    -webkit-transition-property: background-color; /* Safari */
    transition-property: background-color;
}

.itemHighlightOn {
    background-color: #f39696 !important;
}

.itemHighlightOff {
    background-color: inherit;
}

.fs-7 {
    font-size: .7em;
}

.fs-8 {
    font-size: .8em;
}

.fs-9 {
    font-size: .9em;
}

.nav.nav-pills.nav-scroll, .nav.navtabs.nav-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    display: -webkit-box;
    display: -moz-box;
    flex-wrap: nowrap;
}

    .nav.nav-pills.nav-scroll li.nav-item, .nav.navtabs.nav-scroll li.nav-item {
        float: none;
    }


/*****************************************************/
/*      ANIMATIONS 
*/
.v-enter-active {
    animation: slide-in 0.5s;
}

.v-leave-active {
    animation: slide-in 0.5s reverse;
}

@keyframes slide-in {
    0% {
        transform: scale(.8);
    }

    100% {
        transform: scale(1);
    }
}

.slide-up-enter-active {
    transition: opacity 1s ease;
}

.slide-up-enter-from {
    opacity: 0;
}

.fieldlist-move,
.fieldlist-leave-active {
    transition: all 0.3s ease;
}

.fieldlist-leave-to {
    opacity: 0;
}

.fieldlist-leave-active {
    position: absolute;
}
/*****************************************************/



/*****************************************************/
/*     NOTIFICATIONS
*/
.dmnotificationtext.text-dark a {
    color: black;
}

.dmnotificationtext.text-light a {
    color: white;
}
/*****************************************************/

.fw-bold6 {
    font-weight: 600;
}

.form-check-input {
    border-color: darkgray;
}
.form-check-input:disabled {
    opacity: .75 !important;
}

input[type="radio"] {
    background-image: none !important;
}

    input[type="radio"]:checked {
        background-color: white !important;
        border-color: #6b6e73 !important;
        border-width: 5px !important;
    }

    input[type="radio"].radiocheckbox {
        border-radius: 0 !important;
    }


@media print {

    .col-print-12 {
        width: 100%;
    }

    .col-print-11 {
        width: 91.66666666666666%;
    }

    .col-print-10 {
        width: 83.33333333333334%;
    }

    .col-print-9 {
        width: 75%;
    }

    .col-print-8 {
        width: 66.66666666666666%;
    }

    .col-print-7 {
        width: 58.333333333333336%;
    }

    .col-print-6 {
        width: 50%;
    }

    .col-print-5 {
        width: 41.66666666666667%;
    }

    .col-print-4 {
        width: 33.33333333333333%;
    }

    .col-print-3 {
        width: 25%;
    }

    .col-print-2 {
        width: 16.666666666666664%;
    }

    .col-print-1 {
        width: 8.333333333333332%;
    }

    .col-print {
        flex: 1 0 0%;
    }

    .col-print-sm {
        flex: 1 0 0%;
    }

    .col-print-md {
        flex: 1 0 0%;
    }

    .col-print-lg {
        flex: 1 0 0%;
    }

    .col-print-xl {
        flex: 1 0 0%;
    }
}

.hoveronly {
    display: none;
}

div:hover > .hoveronly {
    display: flex;
}

div:hover > .hovershadow {
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.dm-splitter {
    height: inherit;
    display: flex;
}

    .dm-splitter > .splitter-pane {
        height: inherit;
        overflow-y: auto;
    }

    .dm-splitter > .splitter {
        background-color: #9e9e9e;
    }
/*
.draggable {
    border: 2px solid red !important;
}
*/

/* Fix for Bootstrap 5.3.3 udpate */
.offcanvas-header {
    justify-content: space-between;
}
/* Fix for Bootstrap 5.3.3 udpate */
.modal-header {
    justify-content: space-between;
}


/* Fix to allow E-form fields to inherit their font sizes from parent */
.dmeformcontainer .form-control {
    font-size: inherit;
}
.dmeformcontainer .form-select {
    font-size: inherit;
}
.dmeformcontainer .form-control-sm {
    font-size: inherit;
}
.dmeformcontainer .form-select-sm {
    font-size: inherit;
}

.editorfont {
    font-family: monospace;
}


/* Google Map Styles */
.googlemap .map {
    height: 100%;
}


/* Calendar Styles */
.dm-calendar-heading {
    background-color: var(--Color_Panel_Header_BG);
    color: var(--Color_Panel_Header_Text);
}

.dm-calendar-day-heading {
    background-color: var(--Color_Heading_Header_BG);
    color: var(--Color_Heading_Header_Text);
}
    .dm-calendar-day-heading .btn.btn-docmgt {
        background-color: var(--Color_Heading_Header_Button_BG);
        color: var(--Color_Heading_Header_Button_Text);
        border-color: var(--Color_Heading_Header_Button_Border);
    }

.dm-custom-icon svg {
    width: 1em;
    height: 1em;
    vertical-align: -0.2em;
    fill: currentColor;
    overflow: visible;
    transform: translateZ(0);
}


/* AI Buttons */
.btn.btn-ai {
    background-color: #3186c4 !important;
    color: white !important;
    padding: 2px !important;
    padding-inline-end: 12px !important;
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    box-shadow: 1px 4px 6px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
    transition: all 0.15s ease-in-out;
}

    .btn.btn-ai:hover {
        background-color: #2a74ad !important;
        box-shadow: 2px 8px 12px rgba(0, 0, 0, 0.25);
        transform: translateY(-2px);
    }

    .btn.btn-ai:active {
        background-color: #245f8f !important;
        box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
        transform: translateY(1px);
    }

.btn-xs {
    padding: 0.3rem 0.5rem;
    font-size: 0.8rem;
    line-height: 1.3;
}

@keyframes ai-twinkle-1 {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.3);
        opacity: 0.2;
    }
}

@keyframes ai-twinkle-2 {
    0%, 100% {
        transform: scale(0.3);
        opacity: 0.2;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }
}



.btn.btn-sparkle {
    background-color: rgba(255, 255, 255, .8) !important;
    color: var(--Color_Toolbar_Text);
    border: 1px solid rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
}

    .btn.btn-sparkle:hover,
    .btn.btn-sparkle:focus,
    .btn.btn-sparkle:active {
        background-color: rgba(255, 255, 255, 0.5) !important;
        border-color: rgba(255, 255, 255, 0.6) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }


/* Add sparkle animation to ai-sparkle icon */
@keyframes ai-twinkle-subtle {
    0%, 100% {
        transform: scale(1.5);
        opacity: 1;
    }

    50% {
        transform: scale(1);
        opacity: 0.6;
    }
}

@keyframes ai-spin-pulse {
    0% {
        transform: rotate(0deg) scale(1.5);
        opacity: 1;
    }

    50% {
        transform: rotate(180deg) scale(0.85);
        opacity: 0.7;
    }

    100% {
        transform: rotate(360deg) scale(1.5);
        opacity: 1;
    }
}

.dm-ai-active path:nth-child(1) {
    transform-origin: 6px 9px;
}

.dm-ai-active path:nth-child(1) {
    transform-origin: 6px 9px;
    animation: ai-spin-pulse 3s ease-in-out infinite;
    color: #b27e2a;
}

.dm-ai-active path:nth-child(2) {
    transform-origin: 12.3px 2.8px;
    animation: ai-twinkle-2 2.5s ease-in-out infinite 0.3s;
    color: red;
}

.dm-ai-active path:nth-child(3) {
    transform-origin: 13.1px 10.6px;
    animation: ai-twinkle-1 2.5s ease-in-out infinite 0.6s;
    color: #0000f7;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .dm-ai-active path {
        animation: none !important;
    }
}
