li.nav-sub-item>a.nav-link.text-white {
    background-color: #212121 !important;
}
li.nav-sub-item>a.nav-link.text-white.active {
    background-color: rgba(199, 199, 199, 0.2) !important;
}
li.nav-sub-sub-item>a.nav-link.text-white {
    background-color: #282828 !important;
}

.btn {
    font-family: Inter, serif;
}

:root {
    --bs-btn-font-family: Inter, serif;
}

body
{
    min-height: 100vh;
    background: linear-gradient(to bottom, white, #2A92D0) fixed;
}


.grandiantMain {
    background: linear-gradient(to top left, white, #2A92D0);
}

#searchContent{
    position: absolute;
    top: 2.7em;
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid;
    width: 20em;
    background-color: white;
    display: none;
}
#searchContent a {
    display: block;
}
#searchContent .menuLabel small{
    color: #AAAAAA;
}
@media (min-width:1200px){
    #searchContent {
        right:0px;
    }
}
@media (max-width:1200px){
    #searchContent {
        left:0px;
    }
}

.nav-link
{
    cursor: pointer;
}


/* Background colors */
.background-main {
    background-color: #fffffe;
}

.background-highlight {
    background-color: #3da9fc;
}

.background-secondary {
    background-color: #90b4ce;
}

.background-tertiary {
    background-color: #ef4565;
}
.border-tertiary {
    border-color: #ef4565;
}

.background-search {
    background-color: #bcddf3 !important;
    color: #000000;
}
.background-search::placeholder {
    color: #333333;
    opacity: 1;
}

/* Text colors */
.text-headline {
    color: #094067;
}

.text-paragraph {
    color: #5f6c7b;
}

.text-button {
    color: #fffffe;
}

.text-black {
    color: #000000 !important;
}

/* Button styling */
.button-primary {
    background-color: #3da9fc;
    color: #fffffe;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.button-primary:hover {
    background-color: #094067;
}

/* Illustration stroke */
.illustration-stroke {
    stroke: #094067;
}

/* Other utility classes */
.border-highlight {
    border: 2px solid #3da9fc;
}

.border-secondary {
    border: 2px solid #90b4ce;
}

/*hide perfect scroll bar X in sidebar menu*/
#sidenav-collapse-main > .ps__rail-x {
    display: none;
}
#sidenav-collapse-main  .material-icons {
    width: 1em;
}
.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}
.accordion-button::after
{
    background: none;
    margin-left: 1em !important;
}
.dropdown .dropdown-menu:before {
    content: none !important; /* Remove the default arrow */
}

 .custom-alert-popup
 {
     width: 70vw;
 }
 .custom-alert-icon
 {
     font-size: 12px;
 }
.bg-simple{
    background: #fff !important;
}
.stripped-container:nth-child(even)
{
    background-color: #e9ecef; /* Slightly darker background for even rows */
}
.stripped-container:nth-child(odd)
{
    background-color: white; /* Slightly darker background for even rows */
}
.stripped-container2:nth-child(even)
{
    background-color: #D9EFFD; /* Slightly blue background for even rows */
}
.stripped-container2:nth-child(odd)
{
    background-color: white; /* Slightly blue background for even rows */
}




/****************************
Style for ezSign signature placement
- used with edit-formulaire view
- used for ezSign_signature.blade.php
*****************************/
/* Style for radio button color boxes */
 .ezchoices {
     width: 20px;
     height: 20px;
     border: 1px solid black;
 }
#ezChoiceContainer label
{
    margin:0;
}

/* Ensure the floating div is visible on all screens */
.fixed-plugin-button {
    max-width: 250px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 10px;
    right:12em;
}
.modal-content {
    margin:auto; /* Adjust this value as needed */
}

.signature-marker
{
    opacity: 0.75;
    color:black;
    padding-left: 1em;
}
@media (min-width: 1200px) {
    .modal-content {
        margin-left: 8em; /* Adjust this value as needed */
    }


    .fixed-plugin-button {
        right: 5em; /* Adjust this value as needed */
    }
}

 .cursor-grab {
     cursor: grab;
 }
.cursor {
    cursor:context-menu;
}
.cursor-grabbing {
    cursor: grabbing;
}


.ellipsisContainer:after {
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
    -webkit-animation: ellipsis steps(4, end) 2000ms infinite;
    animation: ellipsis steps(4, end) 2000ms infinite;
    content: "\2026";
    /* ascii code for the ellipsis character */
    width: 0px;
}

@keyframes ellipsis {
    to {
        width: 30px;
    }
}

@-webkit-keyframes ellipsis {
    to {
        width: 30px;
    }
}

     /*.card-body*/
     /*{*/
     /*    filter: blur(4px);*/
     /*}*/


     /* Loading bar container */
 .loading {
     position: fixed;
     width: 350px;

     text-align: center;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     background-color: #fff;
     padding: 2rem;
     border: 1px solid black;
     border-radius: 5px;
     z-index: 9999;
 }

@media (min-width: 1199.98px) {
    .loading {
        transform: translate(CALC(50% - 17rem), -50%);
    }
}


.loading-icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 5px solid #ccc;
    border-radius: 50%;
    border-top-color: #000;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading-text-sm {
    position: relative;
    margin: auto;
    line-height: 30px;
    text-align: center;
    padding:1em;
    font-size: 20px;
    color:black;
    border-radius: 10px;
    background-color: transparent;
    &:hover {
        filter: contrast(1.1);
    }

    &:active {
        filter: contrast(0.9);
    }

    &::before,
    &::after {
        content: "";
        position: absolute;
        top: -25%;
        left: -25%;
        right: -25%;
        bottom: -25%;
        border: 4px solid;
        border-radius: 10px;

        border-image: linear-gradient(45deg, black, red) 1;
        transition: all .5s;
        animation: clippath 3s infinite linear;

    }

    &::after {
        animation: clippath 3s infinite -1.5s linear;
    }
}
.loading-text {
    position: relative;
    margin: auto;
    line-height: 30px;
    text-align: center;
    padding:1em;
    font-size: 20px;
    color:black;

    background-color: transparent;
    &:hover {
        filter: contrast(1.1);
    }

    &:active {
        filter: contrast(0.9);
    }

    &::before,
    &::after {
        content: "";
        position: absolute;
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
        border: 4px solid;
        border-radius: 10px;

        border-image: linear-gradient(45deg, black, red) 1;
        transition: all .5s;
        animation: clippath 3s infinite linear;
        border-radius: 10px;
    }

    &::after {
        animation: clippath 3s infinite -1.5s linear;
    }
}
@keyframes clippath {
    0%,
    100% {
        clip-path: inset(0 0 98% 0);
    }

    25% {
        clip-path: inset(0 98% 0 0);
    }
    50% {
        clip-path: inset(98% 0 0 0);
    }
    75% {
        clip-path: inset(0 0 0 98%);
    }
}

@keyframes huerotate {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rorate(360deg);
    }
}

.ezSignIcon{
    background-image: url('/assets/img/eZsign_logo_RGB-2.webp');
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 3 / 1;
    height: 20px;

}
.choices__list--dropdown, .choices__list[aria-expanded]
{
    z-index: 3 !important;
}

.bg-header
{
    background-color: #add9d8;
}
.form-switch .form-check-input:checked
{
    background-color: green !important;
}

select[wire\:model] {
   max-height: 500px;
}

.force-width-200
{width: 200px;}
.tooltip-inner
{
    max-width: 300px !important;
}
@media print {
    .noprint, nav, aside, .pagination, .dropdown-menu, .btn {
        display: none !important;
        visibility: hidden;
    }
    table {
        width: 100%;
        font-size: 11px;
        margin: auto;
    }
    .table-responsive {
        overflow: visible !important;
    }
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link
{

    font-weight: 600;
    box-shadow: 0px 1px 5px 1px #ddd;
    animation: 0.2s ease;
    background: #fff;
}

.fit-content
{
    min-width: fit-content;
}
.w-fit-content
{
    width: fit-content;
}
.no-wrap
{
    white-space: nowrap;
}
.fc .fc-scrollgrid-section-sticky > *
{
    z-index: 2;
}

.fc-timeline-body{
    min-height: 750px !important;
}


.hh-80
{
    height: 80vh;
}