﻿:root {
    --bs-font-sans-serif: 'Inter', sans-serif;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin-top: 57px;
    background-color: #f7f7f0;
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
}

main {
    min-height: 75vh;
}

a {
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

.footer {
    line-height: normal !important;
    padding-top: 2em;
    padding-bottom: 2em;
    min-height: 25vh;
}

.nav-item {
    padding: 0em .7em;
    margin: 0 2px;
    text-overflow: ellipsis;
    overflow: hidden;
    text-wrap: none;
    white-space: nowrap;
}

    .nav-item.active {
        background: #ced4da;
        border-radius: 4px;
        color: #0077cc !important;
    }

.nav-pills .nav-item.active .nav-link {
    color: #0077cc !important;
}

.nav-item.active .nav-link {
    color: white !important;
}

.nav-pills .nav-item {
    padding: 0em;
    margin-bottom: 2px;
}

.nav-link {
    color: black;
}

    .nav-link:hover {
        text-decoration: none;
    }

.nav-item:hover {
    background: #e6e6e6;
    border-radius: 4px;
}

.navbar-nav .nav-item.active {
    background: #000065;
    border-radius: 4px;
}



a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

a {
    color: #0077cc;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}


.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.footer {
    width: 100%;
    white-space: nowrap;
}

.side-navbar {
    width: 200px;
    min-height: 50vh;
    position: fixed;
    margin-left: -300px;
    background: rgb(248,249,250);
    background: linear-gradient(0deg, rgb(0, 0, 0, 0) 0%, rgba(248,249,250,1) 100%);
    transition: 0.5s;
    border-right: 1px solid;
    border-image-slice: 1;
    border-width: 2px;
    border-image-source: linear-gradient(0deg, rgb(0, 0, 0, 0) 0%, rgba(0,0,0,.2) 100%);
}

    .side-navbar.nav-link:active,
    .side-navbar.nav-link:focus,
    .side-navbar.nav-link:hover {
        background-color: #ffffff26;
    }

.border-gradient {
    border-right: 10px solid;
    border-image-slice: 1;
    border-width: 5px;
}

.border-gradient-purple {
    border-image-source: linear-gradient(to left, #743ad5, #d53a9d);
}

.my-container {
    transition: 0.4s;
}

.active-nav {
    margin-left: 0;
}
/* for main section */
.active-cont {
    margin-left: 200px;
}

@media print {
    .active-cont {
        margin-left: 1px;
        font-size: 12px;
    }

    table tfoot {
        display: table-row-group;
    }

    table thead {
        display: table-row-group;
    }


}




#menu-btn {
}

footer h4 {
    text-transform: uppercase;
}

.text-ellipsized {
    text-overflow: ellipsis;
    overflow: hidden;
    text-wrap: none;
    white-space: nowrap;
}

.card {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    margin-bottom: 2rem !important;
    border-radius: .1rem;
}

.card-footer {
    text-align: right;
    background: #f8f9fa;
}

.card-header {
    background: #25502d;
    color: white;
    padding: .3rem;
}

/* Multi-step form progress bar */

#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    /*CSS counters to number the steps*/
    counter-reset: step;
    width: 100%;
    text-align: center;
}

    #progressbar li {
        list-style-type: none;
        color: rgb(51, 51, 51);
        text-transform: uppercase;
        font-size: .75em;
        width: 25%;
        float: left;
        position: relative;
    }

        #progressbar li:before {
            content: counter(step);
            counter-increment: step;
            width: 20px;
            line-height: 20px;
            display: block;
            font-size: 10px;
            color: #333;
            background: white;
            border-radius: 3px;
            margin: 0 auto 5px auto;
        }
        /*progressbar connectors*/
        #progressbar li:after {
            content: '';
            width: 100%;
            height: 2px;
            background: white;
            position: absolute;
            left: -50%;
            top: 9px;
            z-index: -1; /*put it behind the numbers*/
        }

        #progressbar li:first-child:after {
            /*connector not needed before the first step*/
            content: none;
        }
        /*marking active/completed steps green*/
        /*The number of the step and the connector before it = green*/
        #progressbar li.active:before, #progressbar li.active:after {
            background: #212529;
            color: white;
        }


.v-progressbar {
    padding: 0;
    counter-reset: step;
}

    .v-progressbar li {
        list-style-type: none;
        display: block;
    }

        .v-progressbar li:before {
            content: counter(step);
            counter-increment: step;
            width: 20px;
            color: #000;
            display: inline-block;
            background: #eee;
            border-radius: 3px;
            margin: 0 .5em 0 0;
            text-align: center;
        }
        /*progressbar connectors*/
        .v-progressbar li:after {
            content: '';
            width: 4px;
            margin-left: 8px;
            height: 20px;
            background: #eee;
            display: block;
            z-index: -1; /*put it behind the numbers*/
        }

        .v-progressbar li:last-child:after {
            /*connector not needed before the first step*/
            content: none;
        }
        /*marking active/completed steps green*/
        /*The number of the step and the connector before it = green*/
        .v-progressbar li.active:before, .v-progressbar li.active:after {
            background: #212529;
            color: white;
        }

a.btn {
    text-decoration: none;
}

    a.btn:hover {
        text-decoration: none;
    }

.form-label {
    color: #6c757d !important;
    font-size: smaller;
    margin: 0;
    padding: 0;
}

.field-validation-error {
    font-size: smaller;
    color: #dc3545;
}

h5, h6 {
    font-weight: lighter;
}

.text-ellipsis-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-ellipsis-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-ellipsis-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

a {
    color: #009fff;
    text-decoration: none;
}

    a:hover, a:focus {
        color: #0070c0;
    }

.breadcrumb-item {
    color: rgba(0, 0, 0, 0.7) !important;
}

    .breadcrumb-item:hover {
        color: rgba(0, 0, 0, 0.9) !important;
    }

    .breadcrumb-item a {
        text-decoration: none !important;
        color: inherit;
    }


.styled-table {
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

    .styled-table thead tr {
        background-color: #009879;
        color: #ffffff;
        text-align: left;
    }

    .styled-table th,
    .styled-table td {
        padding: 4px 15px;
    }

    .styled-table tbody tr {
        border-bottom: 1px solid #dddddd;
    }

        .styled-table tbody tr:nth-of-type(even) {
            background-color: #f3f3f3;
        }

        .styled-table tbody tr:last-of-type {
            border-bottom: 2px solid #009879;
        }


.styled-table-pdf {
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

    .styled-table-pdf thead tr {
        background-color: #009879;
        color: #ffffff;
        text-align: left;
    }

    .styled-table-pdf th,
    .styled-table-pdf td {
        padding: 4px 15px;
    }

    .styled-table-pdf tbody tr {
        border-bottom: 1px solid #dddddd;
    }

        .styled-table-pdf tbody tr:nth-of-type(even) {
            background-color: #f3f3f3;
        }


        .styled-table-pdf tbody tr:last-of-type {
            border-bottom: 2px solid #009879;
        }

@page {
    size: auto;
    margin: 0mm;
}

.right_menu_btn:hover {
    background-color: white;
    transition: 0.2s;
}


.more-items-menu {
    position: relative;
    display: inline-block;
}

.more-items-menu-button {
    background-color: transparent;
    border: none;
    color: black;
    padding: 8px;
    font-size: 16px;
    cursor: pointer;
}

.more-items-menu-content {
    display: none;
    position: fixed; /* Change from absolute to fixed */
    top: 60px; /* Adjust this value based on your navbar height */
    right: 20px; /* Adjust if needed to align with the button */
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1050; /* Ensure it stays on top */
    padding: 8px;
    border-radius: 16px;
    overflow: hidden;
}


    .more-items-menu-content.show {
        display: block;
    }

    .more-items-menu-content a {
        color: black;
        padding: 8px 0;
        text-decoration: none;
        display: block;
    }

        .more-items-menu-content a:hover {
            background-color: #f1f1f1;
        }

.grip-icon {
    width: 20px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

    .grip-icon span {
        width: 100%;
        height: 3px;
        background-color: #333;
    }


.more-items-menu:hover .more-items-menu-content {
    display: block;
}

.more-items-menu:hover .more-items-menu-button {
    background-color: #f1f1f1;
}

.card-rounded {
    border-radius: 20px;
    overflow: hidden;
}


::-webkit-scrollbar {
    width: 12px; /* Width of the scrollbar */
    scrollbar-color: #888 #f1f1f1; /* Color of the thumb and track */
    scrollbar-width: thin;
}

::-webkit-scrollbar-track {
    background: #f1f1f1; /* Color of the track */
}

::-webkit-scrollbar-thumb {
    background: #0077cc; /* Color of the thumb */
    border-radius: 6px; /* Rounded corners of the thumb */
}

    ::-webkit-scrollbar-thumb:hover {
        background: #555; /* Color of the thumb on hover */
    }

.disabled-link {
    pointer-events: none; /* Disable click */
    cursor: not-allowed; /* Change cursor to not-allowed */
    color: gray; /* Change text color to gray */
    text-decoration: none; /* Remove underline */
}

.dotted-line {
    border-top: 2px dotted #000; /* Dotted line */
    width: 100%; /* Full width */
    margin: 10px 0; /* Add some spacing */
}

.small-font {
    font-size: x-small; /* You can also use other values like 'small', '10px', etc. */
}

.btn {
    border-radius: 50px;
}


#dropmenu a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
    text-decoration: none;
    margin-bottom: 1px;
    color: black;
    margin-left: 10px;
}


#dropmenu ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
    text-decoration: none;
    margin-bottom: 1px;
    color: black;
}

    #dropmenu ul li a:hover {
        color: #ddd;
        background: #777;
    }

#dropmenu ul li.active > a, a[aria-expanded="true"] {
}


a[data-bs-toggle="collapse"] {
    position: relative;
}

#dropmenu .dropdown-toggle::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .3em;
    vertical-align: middle;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-left: .3em solid transparent;
    float: right;
    margin-top: 8px;
}

#dropmenu ul li a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
}

.scrollable-table {
    max-height: 300px;
    overflow-y: auto;
}

    /* Optional: keep the header sticky */
    .scrollable-table thead th {
        position: sticky;
        top: 0;
        background-color: white;
        z-index: 1;
    }

.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000 !important; /* Ensure it's above modals etc */

    background-color: white !important;
    color: black !important;
    border: 1px solid #ccc;
}

.ui-menu-item-wrapper {
    background-color: white !important;
    color: black !important;
}

    .ui-menu-item-wrapper:hover {
        background-color: #f8f9fa; /* light grey */
    }

.popover {
    max-width: 300px;
}

    .popover.fade.show {
        animation: fadeIn 0.3s ease-in-out;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.soft-divider {
    border: none;
    border-top: 1px solid #e0e0e0; /* subtle grey */
}


.custom-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    color: inherit;
    font-weight: 500;
    background: none;
}

    .custom-tabs .nav-link.active {
        border-color: #0d6efd;
        color: inherit;
        background-color: transparent;
    }
.short-menu {
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}