 .dt-right{
            text-align: right;
        }
        .dt-center{
            text-align: center;
        }
        .scrolling-wrapper {
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
}
.scrolling-wrapper .card-cat {
  display: inline-block;
}

.scrolling-wrapper-flexbox {
  display: -webkit-box;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.scrolling-wrapper-flexbox .card-cat {
  -webkit-box-flex: 0;
          flex: 0 0 auto;
  margin-right: 3px;
}

.card-cat {
  border: 0px solid #007bff;
  width: auto;
  height: 80px;
  background: transparent;
}

.scrolling-wrapper, .scrolling-wrapper-flexbox {
  height: 144px;
  margin-bottom: 2px;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}
.scrolling-wrapper::-webkit-scrollbar, .scrolling-wrapper-flexbox::-webkit-scrollbar {
  display: none;
}

.login-bg {
    background-image: url("images/flat-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.bg-opacity-8 {
    background-color: rgba(255,255,255,.8);
}

.sidebarv9{
  background-color:  rgba(255,255,255,0.82);
  /*background: url('../img/sidebar41.jpg') no-repeat center center / cover !important;*/
}

.barrav9{
    background: linear-gradient(135deg, rgba(67,12,176,0.95), rgba(138,2,201,0.95));
/*background: rgba(67,12,176,1);
background: -moz-linear-gradient(left, rgba(67,12,176,1) 0%, rgba(67,12,176,1) 36%, rgba(85,0,196,1) 54%, rgba(138,2,201,1) 72%, rgba(211,33,224,1) 94%, rgba(247,5,215,1) 100%);
background: -webkit-gradient(left top, right top, color-stop(0%, rgba(67,12,176,1)), color-stop(36%, rgba(67,12,176,1)), color-stop(54%, rgba(85,0,196,1)), color-stop(72%, rgba(138,2,201,1)), color-stop(94%, rgba(211,33,224,1)), color-stop(100%, rgba(247,5,215,1)));
background: -webkit-linear-gradient(left, rgba(67,12,176,1) 0%, rgba(67,12,176,1) 36%, rgba(85,0,196,1) 54%, rgba(138,2,201,1) 72%, rgba(211,33,224,1) 94%, rgba(247,5,215,1) 100%);
background: -o-linear-gradient(left, rgba(67,12,176,1) 0%, rgba(67,12,176,1) 36%, rgba(85,0,196,1) 54%, rgba(138,2,201,1) 72%, rgba(211,33,224,1) 94%, rgba(247,5,215,1) 100%);
background: -ms-linear-gradient(left, rgba(67,12,176,1) 0%, rgba(67,12,176,1) 36%, rgba(85,0,196,1) 54%, rgba(138,2,201,1) 72%, rgba(211,33,224,1) 94%, rgba(247,5,215,1) 100%);
background: linear-gradient(to right, rgba(67,12,176,1) 0%, rgba(67,12,176,1) 36%, rgba(85,0,196,1) 54%, rgba(138,2,201,1) 72%, rgba(211,33,224,1) 94%, rgba(247,5,215,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#430cb0', endColorstr='#f705d7', GradientType=1 );
*/
}

.sidebar-toggle a:hover {
    background: transparent;
}

 .overlay1 {
  display: none;
  background: rgba(0, 0, 0, 0.7);
  opacity: .7;
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 9;
  cursor: pointer;
}

.fixed-button {
  /*background-color: #FF2434;*/
  background: rgba(67,12,176,1);
  color: #FFFFFF;
  border: none;
  outline: none;
  position: fixed;
  bottom: 0px;
  right: 15px;
  height: 50px;
  width: 50px;
  margin-bottom: 20px;
  border-radius: 30px;
  box-shadow: 1px 3px 5px #888888;
  z-index: 999;
}
.fixed-button:hover{
  cursor: pointer;
  background: rgba(67,12,176,1);
background: -moz-linear-gradient(left, rgba(67,12,176,1) 0%, rgba(67,12,176,1) 36%, rgba(85,0,196,1) 54%, rgba(138,2,201,1) 72%, rgba(211,33,224,1) 94%, rgba(247,5,215,1) 100%);
background: -webkit-gradient(left top, right top, color-stop(0%, rgba(67,12,176,1)), color-stop(36%, rgba(67,12,176,1)), color-stop(54%, rgba(85,0,196,1)), color-stop(72%, rgba(138,2,201,1)), color-stop(94%, rgba(211,33,224,1)), color-stop(100%, rgba(247,5,215,1)));
background: -webkit-linear-gradient(left, rgba(67,12,176,1) 0%, rgba(67,12,176,1) 36%, rgba(85,0,196,1) 54%, rgba(138,2,201,1) 72%, rgba(211,33,224,1) 94%, rgba(247,5,215,1) 100%);
background: -o-linear-gradient(left, rgba(67,12,176,1) 0%, rgba(67,12,176,1) 36%, rgba(85,0,196,1) 54%, rgba(138,2,201,1) 72%, rgba(211,33,224,1) 94%, rgba(247,5,215,1) 100%);
background: -ms-linear-gradient(left, rgba(67,12,176,1) 0%, rgba(67,12,176,1) 36%, rgba(85,0,196,1) 54%, rgba(138,2,201,1) 72%, rgba(211,33,224,1) 94%, rgba(247,5,215,1) 100%);
background: linear-gradient(to right, rgba(67,12,176,1) 0%, rgba(67,12,176,1) 36%, rgba(85,0,196,1) 54%, rgba(138,2,201,1) 72%, rgba(211,33,224,1) 94%, rgba(247,5,215,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#430cb0', endColorstr='#f705d7', GradientType=1 );
}

@keyframes wobble {
  16.65% {
    -webkit-transform: translateY(8px);
    -ms-transform: translateY(8px);
    transform: translateY(8px);
  }
  33.3% {
    -webkit-transform: translateY(-6px);
    -ms-transform: translateY(-6px);
    transform: translateY(-6px);
  }
  49.95% {
    -webkit-transform: translateY(4px);
    -ms-transform: translateY(4px);
    transform: translateY(4px);
  }
  66.6% {
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
  }
  83.25% {
    -webkit-transform: translateY(1px);
    -ms-transform: translateY(1px);
    transform: translateY(1px);
  }
  100% {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}

.wobble {
  -webkit-animation-name: wobble;
  animation-name: wobble;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}


.barmenu {
    /*Estilos estándar experimentales (Principalmente Firefox)*/
    scrollbar-color: rgba(0, 0, 0, .5) rgba(0, 0, 0, 0);
    scrollbar-width: thin;
}

/* Estilos para motores Webkit y blink (Chrome, Safari, Opera... )*/

.barmenu::-webkit-scrollbar {
    -webkit-appearance: none;
}

.barmenu::-webkit-scrollbar:vertical {
    width:10px;
}

.barmenu::-webkit-scrollbar-button:increment,.barmenu::-webkit-scrollbar-button {
    display: none;
} 

.barmenu::-webkit-scrollbar:horizontal {
    height: 10px;
}

.barmenu::-webkit-scrollbar-thumb {
    background-color: #797979;
    border-radius: 20px;
    border: 2px solid #f1f2f3;
}

.barmenu::-webkit-scrollbar-track {
    border-radius: 10px;  
}

/* Sidebar styles */

.sidebar {
     width: 400px;
    border-right: 1px solid rgba(0, 0, 0, 0.175);
    min-height: 100vh;
    transition: all 0.3s;
    position: fixed;
    top: 0;
    left: -400px;
    z-index: 1000;
}


.sidebar.active {
    left: 0;
}

.sidebar-dark {
    background-color: #F3F0F7;
    color: #fff;
}

.sidebar-dark a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
}

.sidebar-dark a:hover {
    background-color: rgba(255,255,255,0.70);
}

.sidebar-dark ul {
    padding-left: 0px;
}

.sidebar-dark ul li a {
    font-size: 0.9em;
    padding: 8px 15px;
}

.barmenu a,
.barmenu .list-unstyled a {
    background-color: rgb(255, 255, 255,0.30);
    color: #1e293b;
    font-weight: 600;
    border-bottom: 2px solid #F3F0F7;
}
.barmenu a:hover,
.barmenu .list-unstyled a:hover,
.barmenu li.active > a,
.barmenu a[aria-expanded="true"] {
    color: #fff;
    background: linear-gradient(135deg, rgba(67,12,176,0.85), rgba(138,2,201,0.85));
    border-radius: 6px;
}

/*.barmenu a[data-bs-toggle="collapse"]::after {
    content: "\25BC";
    float: right;
    font-size: 0.7em;
    transition: transform 0.3s;
}
.barmenu a[data-bs-toggle="collapse"][aria-expanded="true"]::after {
    transform: rotate(180deg);
}*/

.overlay1.active {
    display: block;
}

.navbar > .navbar-nav:last-child {
    margin-right: 10px;
}
.navbar .navbar-brand {
    margin-left: 2px;
    margin-top: -4px;
}
.triggerSidebar {
    padding-left: 8px;
}
.triggerSidebar i {
    font-size: 2rem !important;
}
#dd_user i {
    font-size: 1.3rem;
}
.navbar .dropdown-menu {
    position: absolute !important;
    z-index: 9999;
    margin-top: 0;
    right: 0;
    left: auto;
}

@media (max-width: 767.98px) {
    .content.p-4 {
        padding: 0.75rem !important;
        padding-bottom: 20px !important;
    }
    .sidebar {
        width: 100%;
        left: -100%;
    }
    .sidebar.active {
        left: 0;
    }
    .scrolling-wrapper, .scrolling-wrapper-flexbox {
        height: 100px;
    }
    .card-cat {
        height: 60px;
    }
    .fixed-button {
        display: block;
        width: 42px;
        height: 42px;
        right: 10px;
        bottom: 70px;
        margin-bottom: 0;
        z-index: 1050;
    }
    .overlay1 {
        opacity: .5;
    }
}

@media (min-width: 992px) {
  .offcanvas.offcanvas-desktop {
    --bs-offcanvas-width: 45%;
  }
}

/* menu de arbol para procesar muestra */
    .cargados{
        border-bottom: 1px solid #B40404;
    }
    .tree, .tree ul {
    margin:0;
    padding:0;
    list-style:none
}
.tree ul {
    margin-left:1em;
    position:relative
}
.tree ul ul {
    margin-left:.5em
}
.tree ul:before {
    content:"";
    display:block;
    width:0;
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    border-left:1px solid
}
.tree li {
    margin:0;
    padding:0 1em;
    line-height:2em;
    color: #37474f;
    font-weight:500;
    position:relative
}
.tree ul li:before {
    content:"";
    display:block;
    width:10px;
    height:0;
    border-top:1px solid;
    margin-top:-1px;
    position:absolute;
    top:1em;
    left:0
}
.tree ul li:last-child:before {
    background:#FFFBEB;
    height:auto;
    top:1em;
    bottom:0
}
.indicator {
    margin-right:5px;
}
.tree li a {
    text-decoration: none;
    color:#000;
}
.tree li button, .tree li button:active, .tree li button:focus {
    text-decoration: none;
    color:#369;
    border:none;
    background:transparent;
    margin:0px 0px 0px 0px;
    padding:0px 0px 0px 0px;
    outline: 0;
}

.tree .fa-minus-circle {
    color: #f45;
}
.tree .fa-plus-circle {
    color: #0174DF;
}

.resaltado {
    background-color: #E1F6FA; /* Color personalizable */
    color: black;
    padding: 2px;
  }

/* Tamaño base para móviles */
.tree { font-size: 10px; }

/* Tablets y escritorio pequeño */
@media (min-width: 768px) {
  .tree { font-size: 11px; }
}

/* Escritorio grande */
@media (min-width: 1024px) {
  .tree { font-size: 12px; }
}


/* --- Asegúrate de tener cargado Bootstrap Icons en tu proyecto --- */
/* @import url("https://jsdelivr.net"); */

/* Contenedor principal del árbol */
#tree1, #tree1 ul {
    list-style: none;
    padding-left: 20px;
    margin: 0;
    font-family: Arial, sans-serif;
}

#tree1 {
    padding-left: 0;
    background: #FFFBEB;
    /*border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);*/
    padding: 10px;
    max-width: 100%;
}

#tree1 li {
    margin: 5px 0;
    position: relative;
}

#tree1 a {
    display: contents;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 6px 8px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

#tree1 a:hover {
    background-color: #f0f4f8;
    color: #0056b3;
}

/* Ocultar submenús por defecto */
#tree1 .has-submenu > ul {
    display: none;
}

/* Categorías principales en negrita */
#tree1 > .cat-1 > a {
    font-weight: bold;
    color: #1a1a1a;
}

/* =======================================================
   LÓGICA DE ICONOS Y COLORES (Bootstrap Icons)
   ======================================================= */

/* Estilo base para el icono del árbol */
#tree1 .tree-icon {
    font-size: 1.1rem;
    margin-right: 8px;
    line-height: 1;
    display: inline-block;
    transition: color 0.2s ease;
}

/* ESTADO CERRADO (Muestra un '+' en color AZUL) */
#tree1 .has-submenu > a > .tree-icon::before {
    content: "\F4F9"; /* Código hexadecimal de bi-plus-square o bi-plus */
    color: #0d6efd;   /* Azul Bootstrap */
}

/* ESTADO ABIERTO (Muestra un '-' en color ROJO) */
#tree1 .has-submenu.open > a > .tree-icon::before {
    content: "\F2E5"; /* Código hexadecimal de bi-dash-square o bi-dash */
    color: #dc3545;   /* Rojo Bootstrap */
}

/*desde aqui menu gaop*/

/* Paleta de colores BioCare modernizada */
.sidebarv9 {
    background-color: #fcfbfe; /* Fondo claro moderno para la barra */
    border-right: 1px solid #e9e6ef;
}

.custom-nav .nav-link {
    padding: 12px 20px;
    color: #4a4a4a;
    font-weight: 500;
    transition: all 0.2s ease;
}

.custom-nav .nav-link:hover {
    background-color: #f3effa;
    color: #7b2cbf;
}

/* Estado Activo */
.custom-nav .nav-item.active > .nav-link {
    background-color: #7b2cbf; /* El morado corporativo como bloque principal */
    color: #ffffff !important;
}

/* Animación de la flecha del submenú */
.arrow-icon {
    transition: transform 0.2s ease;
    font-size: 0.85rem;
}
.nav-link.collapsed .arrow-icon {
    transform: rotate(-90deg);
}

/* Submenús limpios sin flechas repetitivas */
.sub-nav {
    background-color: #faf8fd;
    padding-left: 15px;
    border-left: 2px solid #e1d7f2;
    /*margin-left: 25px;*/
    margin-top: 5px;
    margin-bottom: 5px;
}

.sub-nav-link {
    display: block;
    padding: 8px 15px;
    color: #666;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}

.sub-nav-link:hover {
    color: #7b2cbf;
}
