main>.container,
main>.container-fluid {
    padding: 70px 15px 20px;
}

main>.container2,
main>.container2-fluid {
    padding: 130px 15px 20px;
}



.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer>.container,
.footer>.container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.navbar form>button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .navbar form>button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.navbar form>button.logout:focus,
.navbar form>button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.navbar form>button.logout:focus {
    outline: none;
}

/* style breadcrumb widget as in previous bootstrap versions */
.breadcrumb {
    background-color: var(--bs-gray-200);
    border-radius: .25rem;
    padding: .75rem 1rem;
}

.breadcrumb-item>a {
    text-decoration: none;
}

.tith {
    font-size: 16px;
    border-bottom: green;
    border-style: solid;
}

.f10 {
    font-size: 10px;
}


/*body .select2-container {
    z-index: 9999;
}*/

.infopac {
    position: fixed;
    top: 56px;
    left: 99px;
    background-color: #e3f2fd;
    width: 100%;
    /* left:inherit; */
    /*height: 25px;*/
    z-index: 1000;
    font-size: 14px;
}

.headerconsulta {
    position: fixed;
    width: 100%; 
    left: 90px;
    background-color: white;
    z-index: 1;
    top: 80px;
    overflow-x: hidden;
   /* padding: 8px 0;*/
    height: 110px;
}

.leftmenu {
    position: fixed;
    width: 80px;
    left: 0px;
    z-index: 1;
    top: 56px;
    overflow-x: hidden;
    padding: 8px 0;
    height: 100%;


}

.contentam {
    left: 100px;


}


.badge-si {
    background-color: rgb(6, 56, 223);
    color: white;
    padding: 4px 4px;
    text-align: center;
    border-radius: 5px;
}

.badge-no {
    background-color: rgb(143, 112, 10);
    color: white;
    padding: 4px 4px;
    text-align: center;
    border-radius: 5px;
}

.badge-tit {
    background-color: rgb(70, 72, 78);
    color: white;
    padding: 4px 8px;
    text-align: center;
    border-radius: 5px;
}

.tab-height-50 {
    height: 50rem !important;
    overflow: auto;
}


.menuside {
    padding: 10px 20px 10px 85px;
    font-size: 12px;


}

.csltcont {
    padding-top: 50px;
}

.notification-badge {
    background: #ff6b6b;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.7rem;
}



:root {
    --sidebar-width: 180px;
    --sidebar-width-collapsed: 80px;
}

.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(135deg, #b5e8f1 0%, #0243bb 100%);
    transition: all 0.3s ease;
    top: 50px;
    left: 1px;
    overflow: hidden;
    border-top-right-radius: 25px;
}

.sidebar.collapsed {
    width: var(--sidebar-width-collapsed);
}

.sidebar-link {
    color: #20212c;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 4px 16px;
    white-space: nowrap;
    overflow: hidden;
}

.sidebar-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.sidebar-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.logo-text {
    background: linear-gradient(45deg, #1034b3, #1835c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: opacity 0.3s ease;
}



.collapsed~.main-content {
    margin-left: var(--sidebar-width-collapsed);
}

.toggle-btn {
    position: absolute;
    right: 0px;
    top: 20px;
    background: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 100;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.collapsed .toggle-btn {
    transform: rotate(180deg);
}

.collapsed .hide-on-collapse {
    opacity: 0;
    visibility: collapse;
    
  
}

.collapsed .logo-text {
    opacity: 0;
}

.collapsed .profile-info {
    opacity: 0;
}

.collapsed .sidebar-link {
    text-align: left;
    padding: 1rem  !important;
    margin: 4px 8px;
   
}

.collapsed .sidebar-link i {
    margin: 0 !important;
}



.main-content {
    margin-left: var(--sidebar-width);
    background-color: #ffffff;
    min-height: 100%;
    padding: 10px;
    transition: all 0.3s ease;
}


.fixed-width-col-200 {
  width: 200px; /* Set your desired pixel width */
  flex: 0 0 auto; /* Prevent the column from growing or shrinking */
}

.fixed-width-col-250 {
  width: 250px; /* Set your desired pixel width */
  flex: 0 0 auto; /* Prevent the column from growing or shrinking */
}

.btn-sml { height: 2.5vh; width: 2.5vh; padding: 0px;}


.scrollable-card-body {
  max-height: 100%; /* Ensures it fills available space within the card height */
  overflow-y: auto; /* Adds a vertical scrollbar when content exceeds max-height */
  padding: 1rem; /* Add padding for better look, similar to default .card-body */
}


