﻿.main-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Full viewport height */
    min-width: 100vh;
}


article.maincontent {
    flex: 1; /* Takes available space */
    overflow-y: auto; /* Adds vertical scroll when needed */
    padding: 25px; /* Optional padding for spacing */
    margin: 0px 25px;
    /*max-height: calc(100vh - 120px);*/ /* Adjust to prevent overlap with footer */
}

    article.maincontent::-webkit-scrollbar {
        width: 3px; /* Thin scrollbar width */
    }

    article.maincontent::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.0); /* Light transparent background for the track */
        border-radius: 10px; /* Optional rounded corners */
    }

    article.maincontent::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.3); /* Light transparent color for the thumb */
        border-radius: 10px; /* Optional rounded corners */
    }

        article.maincontent::-webkit-scrollbar-thumb:hover {
            background: #b6c4d6; /* Slightly darker on hover */
        }

/* For Firefox (Fallback) */
article.maincontent {
    scrollbar-width: thin; /* Makes scrollbar thin */
    scrollbar-color: rgba(0, 0, 0, 0.3) rgba(0, 0, 0, 0.05); /* Thumb color | Track color */
}

a {
    color: black;
    text-decoration: none;
}


.logo {
    padding-top: 10px;
    display: flex;
    align-items: center;
}

.sidebar .logo i {
    font-size: larger;
    color: #b6c4d6;
    margin-right: 10px;
}

    .sidebar .logo i:hover {
        color: white;
    }

.sidebar .nav-links {
    padding-top: 15px;
}

    .sidebar .nav-links li {
        list-style: none;
        position: relative;
        margin-left: -16px;
        margin-right: 16px;
    }


/* Initial hidden state for submenu */
.nav-links .sub-menu {
    display: none; /* Initially hidden */
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Scrollbar styling */
.nav-links {
    max-height: 90vh; /* Limit height to viewport */
    overflow-y: auto; /* Scroll only when overflow happens */
    scrollbar-width: none; /* For Firefox - hides the scrollbar */
}

    /* For WebKit-based browsers like Chrome, Edge, Safari */
    .nav-links::-webkit-scrollbar {
        display: none; /* Hides the scrollbar */
    }

    /* Optional: Add hover visibility if you want */
    .nav-links:hover::-webkit-scrollbar {
        display: block; /* Shows the scrollbar on hover */
        width: 6px; /* Thin scrollbar */
    }

    .nav-links::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.5); /* Light scrollbar color */
        border-radius: 10px; /* Rounded scrollbar */
    }

    /* Styling for dropdown links */
    .nav-links .drplink {
        display: flex;
        align-items: center;
        padding: 10px 0px 10px 10px;
        color: #b6c4d6; /* Default text and icon color */
        transition: background-color 0.3s, color 0.3s; /* Smooth transition */
    }

        .nav-links .drplink i {
            font-size: x-large;
            padding-right: 8.5px;
        }

        .nav-links .drplink a {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: inherit; /* Inherit color from parent */
            flex-grow: 1;
            text-transform: capitalize;
            font-size: medium;
        }

        /* Hover styles for main menu items */
        .nav-links .drplink:hover {
            font-weight: bold;
            background-color: #2f3a5f; /* Hover background */
            color: #fff; /* Text color on hover */
        }

            /* Ensuring the link and icon change color on hover */
            .nav-links .drplink:hover a {
                color: #fff;
            }

            .nav-links .drplink:hover i {
                color: #fff;
            }

    /* Submenu item styles */
    .nav-links .sub-menu li {
        display: flex;
        align-items: center;
        color: #93a6be;
        transition: background-color 0.3s, color 0.3s;
        background-color: transparent;
        margin: 0px 0px 0px 36px; /* Indent subitems */
        padding: 8px 0px 8px 8px;
    }


        /* Submenu hover styles */
        .nav-links .sub-menu li:hover {
            background-color: #BC3B45 !important;
            color: #fff;
        }


        .nav-links .sub-menu li a {
            color: #93a6b4;
            text-decoration: none;
            display: block;
            text-transform: capitalize;
            font-size: 13px;
        }

        /* Submenu link hover color */
        .nav-links .sub-menu li:hover a {
            color: #fff;
        }

    /* Active sub-menu styling: When the menu is open, apply block display */
    .nav-links .sub-menu.show {
        display: block; /* Show the submenu when the 'show' class is added */
    }



.logo {
    position: relative;
    padding-bottom: 10px;
    border-bottom: 1px solid #495057c9;
}

    .logo img {
        transition: opacity 0.3s, transform 0.3s;
    }

        .logo img.hidden {
            opacity: 0;
            transform: scale(0); /* Hide logo when sidebar is collapsed */
        }

    .logo i.fa-bars {
        position: relative; /* Initially relative to the logo container */
        cursor: pointer;
        transition: transform 0.3s ease, left 0.3s ease;
    }

.sidebar {
    position: relative;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    background-color: #232e51;
    transition: width 0.3s ease;
    overflow: hidden;
}

    .sidebar img {
        margin-left: 15px;
        width: 60%;
    }

    .sidebar.collapsed {
        width: 60px; /* Collapsed width */
    }

        .sidebar.collapsed .logo i.fa-bars {
            position: absolute; /* Moves it out when collapsed */
            transform: translateY(-50%);
            left: 10%;
            bottom: 5px;
        }

        .sidebar.collapsed .drplink i {
            left: 10%;
        }
/*.sidebar.collapsed .header {
            left: 61px;
        }*/



@media (min-width: 640px) {
    .page[b-zyrnbhm3cc] {
        flex-direction: row !important;
    }
}

@media(min-width: 600px) {
    .page[b-zyrnbhm3cc] {
        flex-direction: row !important;
    }
}


/* pages styless  */

.content {
    padding: 20px 0px;
}

.header {
    position: relative;
    background-color: white;
    padding: 20px;
    font-size: larger;
    text-transform: capitalize;
    display: block;
    justify-content: space-between;
    transition: all 0.3s ease;
}

    .header

    .title {
        /*font-family: serif;*/
        color: #1b1b1b99;
        text-transform: uppercase;
        font-size: 30px;
        font-weight: normal;
        /*text-align: justify;*/
    }

.smllhead {
    font-size: small;
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
    color: #0000009e;
}

.linkhead a {
    text-decoration: none;
    color: inherit;
}

    .linkhead a:hover {
        color: black !important;
    }

.header .fa-compress {
    position: absolute; /* Position the icon absolutely */
    top: 0px;
    right: 0px;
    background: #edf2fa;
    color: grey;
    font-size: small;
}

.header .fa-expand {
    position: absolute; /* Position the icon absolutely */
    top: 0px;
    right: 0px;
    background: #edf2fa;
    color: grey;
    font-size: small;
}


.container {
    padding-top: 1.5rem;
    padding: inherit;
}

/*panel section*/

.panel-head {
    padding: 6px 5px;
    font-weight: 500;
    font-size: medium;
    text-transform: capitalize;
    color: #525151;
    display: flex;
    justify-content: space-between;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
    height: 35px;
}


    .panel-body.hidden {
        max-height: 0;
        opacity: 0;
        visibility: hidden;
    }

.panel-head.collapsed {
    background-color: white;
}

.hpblue {
    border-top: 2px solid #043def;
}

.hpred {
    border-top: 2px solid #ff1212;
}

.hpgreen {
    border-top: 2px solid #05a95d;
}

.hpyellow {
    border-top: 2px solid #ffbf00;
}

.form-group {
    padding-top: 12px;
}

#spacecard {
    padding-top: 40px;
}

.form-select {
    z-index: 1; /* Ensure dropdown is visible */
    visibility: visible; /* Ensure dropdown isn't hidden */
}

.form-control:focus {
    outline: 0;
    background: #f9fcff;
    box-shadow: none;
    border: #eff0f3;
}

input[type=text] {
    color: grey;
  
}
.input sm{
    width:500px;
}

select.form-select {
    color: grey;
}
    /* Style for the placeholder option */
    select.form-select option[value=""][disabled] {
        color: grey;
    }

.btn:focus, .btn:active:focus {
    border: none;
    box-shadow: none;
    color: black;
}

.btn-primary, .btn-danger,
.btn-success {
    padding: 5px 15px;
    height: 30px;
    font-size: 16px;
    color: #fff;
}
   
    .btn-primary:focus,
    .btn-primary:active,
    .btn-primary:visited {
        color: white !important;
    }


    btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary {
        background-color: #BA1B51;
        color: #BA1B51;
    }

    .btn-primary:hover {
        background: linear-gradient(to top, #1f86d7,#005A9E);
    }

.btn-info {
    color: white;
    width: max-content;
}

    .btn-info:hover
    .btn-info:focus,
    .btn-primary:focus
    .btn-success:hover,
    .btn-success:focus,
    .btn-dark:focus,
    .btn-dark:active,
    .btn-danger:active,
    .btn-danger:focus {
        color: white;
    }

.body-wrapper {
    height: 320px;
}

#txt1 {
    height: 60px;
}

textarea.form-control {
    color: grey;
}
/*  table responsive just for understat*/

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5); /* Slightly darker on hover */
}

/* For Firefox */
.table-responsive {
    scrollbar-width: thin; /* Makes scrollbar thin */
    scrollbar-color: rgba(0, 0, 0, 0.3) rgba(0, 0, 0, 0.05); /* Thumb color | Track color */
}
    /* WebKit-based browsers (Chrome, Safari, Edge) */
    .table-responsive::-webkit-scrollbar {
        width: 6px; /* Thin scrollbar width */
    }

    .table-responsive::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05); /* Light transparent background for the track */
    }

    .table-responsive::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.3); /* Light transparent color for the thumb */
        border-radius: 10px; /* Optional rounded corners */
    }


/* table */

.table thead tr th {
    background-color: #d3e5ff;
    font-weight: 500;
    color: #2a2d31;
    padding: 6px 30px 6px 10px;
}

.table tbody tr td {
    font-size: 13px;
    padding: 4px 5px;
}

.table-striped > tbody > tr:nth-of-type(even) > * {
    --bs-table-color-type: #525252; /* Text color */
    --bs-table-bg-type: #f8fafc; /* Background color for even rows (2nd, 4th, etc.) */
}

.table th {
    white-space: nowrap;
}

td i {
    color: black;
    font-weight: bold;
}

/*td .btn {
    padding: 0px;
    cursor: pointer;
    text-align: center;
}*/
.dataTables_wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#show, #searchsection {
    display: flex;
    align-items: center;
}

.btn-group, .btn-group-vertical {
    position: relative;
    display: inline-flex;
    vertical-align: middle;
}

#showbtn {
    padding: 0px 5px;
    text-align: left;
    background-color: #fdfeff;
    width: 60px;
    height: 28px;
    border-radius: 3px;
    margin-left: 6px;
    border: 1px solid #eee;
}

.pagination {
    border: 1px solid darkgrey;
    display: inline-flex;
    padding-left: 0;
    margin: 12px 0;
    border-radius: 0px;
}

    .pagination li {
        border-right: 1px solid darkgreen;
        padding: 5px 15px;
    }

    .pagination a {
        text-decoration: none;
        color: black;
    }

        .pagination a:hover {
            color: darkblue;
        }

table {
    width: 100%
}

/* Card styule profile   */

.img-circle {
    height: 85px;
    border-radius: 50%;
}

.card-body {
    font-size: 13px;
    color: #6a6c6f;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 2px;
    padding: 15px 10px;
    position: relative;
}

/*.card-footer {
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}*/



.card-footers {
    padding: 10px 15px 10px 15px; /* top, right, bottom, left */
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}



.contact-stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .contact-stat span {
        color: darkslategrey;
        font-weight: lighter;
        font-size: 13px;
    }

.border-right {
    border-right: 1px solid #eaeaea;
}

.m-b {
    margin-bottom: 15px;
}

.text-muted {
    --bs-text-opacity: 1;
    color: #6c757d !important;
}

.align {
    margin-top: 40px;
}

#align {
    padding-top: 30px;
}

a:hover {
    color: black;
}

#cardhead {
    font-weight: 400;
    font-size: 24px;
    color: #000000b8;
    padding-bottom: 5px;
}


.tab-content {
    padding-top: 10px;
    border: none;
    display: flex;
    flex-wrap: wrap;
}

.tabhead {
    color: #000000c2;
    font-size: 30px;
    margin-top: -20px;
    margin-bottom: 8px;
}

.panel {
    border: 1px solid #f4f4f4;
}

/*.text-end {
    padding-top: 5px;
}*/

.form-check-input[type=checkbox] {
    margin-top: 6px;
    border-color: darkgrey;
}

#smck {
    margin-top: 3px;
    font-size: smaller;
}

#center {
    text-align: center;
}

#txt {
    height: 50px;
}

.disabled-input {
    cursor: not-allowed; /* Changes the cursor to not-allowed */
}

    .disabled-input:hover {
        background-color: #f5f5f5; /* Optional: Add a hover effect for visual feedback */
    }

/* table undertable li style */
.sortable-header {
    position: relative;
    cursor: pointer;
}

    .sortable-header i {
        position: absolute;
        right: 5px;
        font-size: small;
        top: 13px;
    }

.fa-minus-circle {
    color: red !important;
}

.fa-plus-circle {
    color: blue;
}

.details-row div {
    border-bottom: 1px solid #d6e6f6;
    padding: 5px 0px;
}

    .details-row div:last-child {
        border: none;
        padding-bottom: initial;
    }

    .details-row div:first-child {
        padding-top: initial;
    }

.details-label {
    font-weight: bold;
    font-size: 1.1em; /* Adjust the size as needed */
}

.pagination li {
    padding: 2px 10px;
}

/**my style*/
.progress-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 835px;
    position: relative;
    margin-left: 10px;
    z-index: 0;
}

.progress {
    position: absolute;
    top: 50%;
    left: 0;
    height: 4px;
    background: #4caf50;
    z-index: 1;
    transition: width 0.4s ease;
}

.progress-step {
    width: 30px;
    height: 30px;
    background: #e0e0e0;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    transition: background 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .progress-step .icon {
        color: white;
    }

    .progress-step.step-active .icon,
    .progress-step.step-completed .icon,
    .progress-step.step-incomplete .icon {
        display: block;
    }

    .progress-step.step-active {
        background: orange;
    }

    .progress-step.step-completed {
        background: #4caf50;
    }

    .progress-step.step-incomplete {
        background: #999494;
    }

.progress-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    transform: translateY(-50%);
    z-index: 0;
}

.progress-step::before {
    content: attr(data-title);
    position: absolute;
    top: 35px;
    /*width: 80px;*/
    text-align: center;
    font-size: 11px;
    color: #666;
}

.chat-user-name {
    padding: 10px;
}

.chat-user {
    padding: 8px 10px;
    border-bottom: 1px solid #e7eaec;
}

.chat-avatar {
    width: 36px;
    height: 36px;
    float: left;
    margin-right: 10px;
    border-radius: 50%;
}

.chat-user:hover {
    scale: 1.0;
    box-shadow: 0 4px 8px rgba(0.1,0.1,0.1, 0.1);
    /* background-color: #f0f0f0; */
    /* border: 1px solid #dcdcdc; */
}

#tbl {
    border-style: none !important;
    border-width: 0;
    margin-top: 20px;
    font-size: 13px;
}

    #tbl tbody, #tbl td, #tbl tr {
        border-color: transparent;
    }


/*follow up*/
.v-timeline {
    position: relative;
    padding: 0;
    margin-top: 2em;
    margin-bottom: 2em;
}

    .v-timeline::before {
        content: '';
        position: absolute;
        top: 0;
        left: 18px;
        height: 100%;
        width: 4px;
        background: #e8ebf0;
    }

.vertical-timeline-content h2 {
    font-weight: 400;
    color: #0000005c;
    letter-spacing: normal;
}

.vertical-container {
    width: 98%;
    margin: 0 auto;
}

.vertical-timeline-content:before {
    border-color: transparent;
    border-right-color: #eaeaea !important;
    border-width: 11px;
    margin-top: -11px;
}

.vertical-timeline-content:after, .vertical-timeline-content:before {
    right: 100%;
    top: 20px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.scrollable-content {
    flex: 1;
    overflow-x: hidden;
}

.body1 {
    display: flex;
    flex-direction: column;
}

.vertical-timeline-block {
    min-width: 300px;
    margin-right: 20px;
}

.vertical-timeline-block {
    position: relative;
    margin: 2em 0;
}

    .vertical-timeline-block:first-child {
        margin-top: 0;
    }

.vertical-timeline-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 16px;
    border: 1px solid #eaeaea;
    text-align: center;
    background: #fff;
}

    .vertical-timeline-icon i {
        display: block;
        width: 24px;
        height: 24px;
        position: relative;
        left: 50%;
        top: 50%;
        margin-left: -12px;
        margin-top: -9px;
    }

.vertical-timeline-content {
    position: relative;
    margin-left: 60px;
    background: white;
    border-radius: .25em;
    border: 1px solid #eaeaea;
}

.p-sm {
    padding: 15px !important;
}

.vertical-timeline-content .vertical-date {
    font-weight: 500;
    text-align: right;
    font-size: 13px;
}

.panel-footer {
    font-size: small;
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

.vertical-timeline-content p {
    /*  margin: 1em 0 0 0; */
    line-height: 0.6;
}

.vertical-date small {
    color: #62cb31;
    font-weight: 400;
}

.pull-left {
    margin-top: -10px;
}

.pull-right {
    padding: 0px 3px;
    border-radius: 3px;
    float: right;
    font-size: x-small;
    color: white;
}

.label-success {
    background-color: #62cb31;
}

.label-warning2 {
    background-color: darkred;
}

.label-primary {
    background-color: cadetblue
}

.label-danger {
    background-color: red;
}

#status {
    margin-top: -15px;
}

.modal, .modal1 {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

/* Style for modal content */
.modal-content {
    background-color: #fefefe;
    margin: 8% auto;
    padding: 20px;
    padding-top: 0px;
    border: 1px solid #888;
    width: 80% !important;
    max-width: 600px;
}

/* Style for close button */
.close, .close1 {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    align-self: flex-end;
}

    .close:hover,
    .close:focus,
    .close1:hover,
    .close1:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

#txt {
    height: 105px;
  /*  background: #F9FAFA;*/
}

#chk {
    font-size: 13px;
}
.text-editor-header {
    background-color: #ecf0f1;
}

    .text-editor-header .btn {
        cursor: pointer;
    }
.editor {
    border: 1px solid #ccc;
    padding: 10px;
    min-height: 100px !important;
}


.FooterNote {
    display: flex;
    flex-direction: column;
}

.card-footer {
    border-top: 1px solid rgba(0, 0, 0, .125) !important;
    display: flex;
    align-items: center;
    background-color: #f7f9fa
}

.cardTitle {
    display: flex;
    justify-content: center;
    padding: 20px
}

.Number {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding-bottom: 15px
}

hr {
    /*margin-inline: 20px !important;*/
    margin-bottom: 5px !important;
}

.card {
    color: #6a6c6f
}

.DateNTime {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: 35px;
    padding-block: 10px
}

.Date {
    display: flex;
    flex-direction: column;
}

b {
    font-weight: 600;
}


#btn-navig {
    margin-top: -45px;
}

#nav-hr {
    margin-top: -8px;
}

/* Initial hidden state for submenu */
.nav-links .sub-menu {
    display: none; /* Initially hidden */
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Scrollbar styling */
.nav-links {
    max-height: 90vh; /* Limit height to viewport */
    overflow-y: auto; /* Scroll only when overflow happens */
    scrollbar-width: none; /* For Firefox - hides the scrollbar */
}

    /* For WebKit-based browsers like Chrome, Edge, Safari */
    .nav-links::-webkit-scrollbar {
        display: none; /* Hides the scrollbar */
    }

    /* Optional: Add hover visibility if you want */
    .nav-links:hover::-webkit-scrollbar {
        display: block; /* Shows the scrollbar on hover */
        width: 6px; /* Thin scrollbar */
    }

    .nav-links::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.5); /* Light scrollbar color */
        border-radius: 10px; /* Rounded scrollbar */
    }

    /* Styling for dropdown links */
    .nav-links .drplink {
        display: flex;
        align-items: center;
        padding: 10px 0px 10px 10px;
        color: #9ccddb;
        transition: background-color 0.3s, color 0.3s;
    }

        .nav-links .drplink i {
            font-size: x-large;
            padding-right: 8.5px;
        }

        .nav-links .drplink a {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: inherit; /* Inherit color from parent */
            flex-grow: 1;
            text-transform: capitalize;
            font-size: medium;
        }

        /* Hover styles for main menu items */
        .nav-links .drplink:hover {
            font-weight: bold;
            background-color: #BC3B45 !important;
            color: #fff;
        }

            /* Ensuring the link and icon change color on hover */
            .nav-links .drplink:hover a {
                color: #fff;
            }

            .nav-links .drplink:hover i {
                color: #fff;
            }

    /* Submenu item styles */
    .nav-links .sub-menu li {
        /*display: flex;*/
        align-items: center;
        color: #93a6be;
        transition: background-color 0.3s, color 0.3s;
        background-color: transparent;
        margin: 0px 0px 0px 36px; /* Indent subitems */
        padding: 8px 0px 8px 8px;
    }

        

        .nav-links .sub-menu li a {
            color: #93a6b4;
            text-decoration: none;
            display: block;
            text-transform: capitalize;
            font-size: 13px;
        }

        /* Submenu link hover color */
        .nav-links .sub-menu li:hover a {
            color: #fff;
        }

    /* Active sub-menu styling: When the menu is open, apply block display */
    .nav-links .sub-menu.show {
        display: block; /* Show the submenu when the 'show' class is added */
    }


   