.hidden {
    display: none;
  }
  
  .selectable-readonly {
    cursor: pointer;
  }
  
  .list-item-hover {
    background-color: #f0f0f0;
    cursor: pointer;
  }
  
/*   .list-group-item.active, .list-group-item:hover {
    background-color: #007bff;
    color: white;
  }
   */
  .highlight {
    background-color: yellow;
  }
  
  /* .list-group {
    max-height: 150px;
    overflow-y: auto;
  } */

/* Definir la animación de agitación */
@keyframes shake {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(3px, 3px) rotate(1deg);
    }

    50% {
        transform: translate(0, 0) rotate(0eg);
    }

    75% {
        transform: translate(-3px, 3px) rotate(-1deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* Aplicar la animación al hacer clic */
.shake {
    animation: shake 0.1s infinite;
}


@media (min-width: 576px) {

    .container-sm,
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {

    .container-md,
    .container-sm,
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {

    .container-lg,
    .container-md,
    .container-sm,
    .container {
        max-width: 980px;
    }
}

@media (min-width: 1200px) {

    .container-xl,
    .container-lg,
    .container-md,
    .container-sm,
    .container {
        max-width: 1180px;
    }
}

@media (min-width: 1400px) {

    .container-xxl,
    .container-xl,
    .container-lg,
    .container-md,
    .container-sm,
    .container {
        max-width: 1360px;
    }
}



::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}



/* Track */
::-webkit-scrollbar-track {
    background: #f3f3f3;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgb(49, 49, 49);
}



.border-orange {
    border-color: #ffc107;
}

.highlighted {
    position: relative;
    border: 2px solid #ffc107;
    /* Color de borde resaltado (amarillo) */
    box-shadow: 0 0 10px #ffc107;
    /* Efecto de brillo */
    transition: all 0.3s ease-in-out;
}

.highlighted::after {
    content: '';
    position: absolute;
    top: -10px;
    /* Ajusta la posición vertical de la flecha */
    left: 50%;
    /* Centrar la flecha horizontalmente */
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent #ffc107 transparent;
    /* Color de la flecha (amarillo) */
}

.table> :not(:first-child),
.dataTable-table> :not(:first-child) {
    border-top: none;
}

.table-odd {
    background-color: #f0f0f0;
}


.no-spin::-webkit-inner-spin-button,
.no-spin::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

.input-inline-button {
    display: inline-block;
    position: absolute;
    z-index: 4;
    right: 0;
    top: 0;
    text-decoration: none;
    padding: 0.5em;
    color: #999;
}

.list-group-item.active {
    background: #eee;
    border-color: #eee;
    color: #333;
}

.icon-plus:after {
    content: "➕";
}

.typeahead {
    position: relative;
}

.typeahead .input-group-addon:after {
    content: ":";
    display: inline;
}

.typeahead-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin-top: -2px;
    transition-delay: 0.75s;
    transition: display 1s;
}

.typeahead-dropdown:hover {
    display: block;
}

.typeahead-dropdown>.list-group-item:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.typeahead-dropdown>.list-group-item:first-child:not(:last-child) {
    border-radius: 0;
}

.typeahead-dropdown-show {
    z-index: 101;
    display: block;
}

.typeahead-input {
    z-index: 1;
    position: relative;
}

.typeahead-input.form-control {
    border-top-right-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
}

.typeahead-input:focus {
    z-index: 3;
    padding-bottom: 8px;
    height: 36px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0 !important;
}

/* .typeahead-input:focus + .typeahead-dropdown {
    z-index: 101;
    display: block;
} */
.hover-reveal-group .hover-reveal {
    visibility: hidden;
}

.hover-reveal-group:hover .hover-reveal {
    visibility: visible;
}

/* Estilos base de la ventana flotante */
.ventana-flotante {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 300px;
    padding: 15px;
    border-radius: 10px;
    background-color: #ffffff;
    z-index: 99999;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}


.animated-table-warning {


    background: #dfca82;
    color: #000;
    border-color: #e6dbb9;

    animation: changeColore 2s infinite alternate;
    /* Cambia el color cada 2 segundos */
}

@keyframes changeColore {
    0% {
        background-color: inherit;
        /* Nuevo color de fondo */
        color: inherit;
        /* Color de fondo inicial */
        color: #212529;
        /* Color de fondo inicial */

    }
}









.animated-bg-warning {

    background-color: #ffc107;
    color: #212529;
    /* Color de fondo inicial */
    animation: changeColor 2s infinite alternate;
    /* Cambia el color cada 2 segundos */
}

@keyframes changeColor {
    0% {
        background-color: #212529;
        color: white
    }

    100% {
        background-color: #ffc107;
        /* Nuevo color de fondo */
        color: #212529;
        /* Color de fondo inicial */

    }
}

/* Media query para mostrar la ventana flotante en pantallas menores a 1366px */
@media (max-width: 1024px) {
    .ventana-flotante {
        display: block;
    }
}

@media (min-width: 992px) {

    .modal-lg,
    .modal-xl {
        max-width: 95%;
    }
}

@media (min-width: 1200px) {
    .modal-xl {
        max-width: 95%;
    }
}

.modal-fullscreen {
    width: 100vw;
    padding-left: 30px;
    padding-right: 30px;
    max-width: none;
    height: 100%;
    margin: 0;
}



.focusable[tabindex]:hover {
    z-index: 5;
    color: gray;
    text-decoration: none;
    border-left: gray 2px solid;
    border-right: gray 2px solid;
    outline: gray 1px solid;
    background-color: #f8f9fa;
}

.focusable[tabindex]:focus {
    z-index: 10;
    color: #6610f2;
    text-decoration: none;
    border-left: #6610f2 2px dashed;
    border-right: #6610f2 2px dashed;
    outline: #6610f2 2px dashed;
    background-color: #f8f9fa;
}

.list-group-item-action[tabindex]:hover {
    z-index: 10;
    color: gray;
    text-decoration: none;
    border-left: gray 2px solid;
    border-right: gray 2px solid;
    outline: gray 1px solid;
    background-color: #f8f9fa;
}

.list-group-item-action[tabindex]:focus {
    z-index: 10;
    color: #6610f2;
    text-decoration: none;
    border-left: #6610f2 2px dashed;
    border-right: #6610f2 2px dashed;
    outline: #6610f2 2px dashed;
    background-color: #f8f9fa;
}



.sb-topnav .navbar-brand {
    width: 170px;
    margin: 0;
}



.sb-nav-fixed #layoutSidenav #layoutSidenav_nav {
    width: 180px;

}

.sb-sidenav .sb-sidenav-menu .nav .nav-link {
    padding-top: 0.15rem;
    padding-bottom: 0.15rem;
    margin-bottom: 0px;
}

.sb-nav-fixed #layoutSidenav #layoutSidenav_content {
    padding-left: 180px;
    top: 45px;
}

#layoutSidenav #layoutSidenav_nav {
    flex-basis: 180;
    transition: transform 0.7s ease-in-out;
}

#layoutSidenav #layoutSidenav_content {
    margin-left: -180px;
}


@media (min-width: 992px) {

    #layoutSidenav #layoutSidenav_content {
        margin-left: 0;
        transition: margin 0.5s ease-in-out;
    }

    .sb-sidenav-toggled #layoutSidenav #layoutSidenav_nav {
        transform: translateX(-180px);
    }

    .sb-sidenav-toggled #layoutSidenav #layoutSidenav_content {
        margin-left: -180px;
    }

}




/*   .table-multiple-tbody tbody:nth-of-type(odd) {
    background-color: #f9f9f9;
  }
  
  .table-multiple-tbody tbody:hover {
    background-color: #e9ecef;
  }

  .table > :not(:first-child), .dataTable-table > :not(:first-child) {
    border-top: 0px solid currentColor;
} */


/* body {
    font-size:0.85em;
  } */
.em-05 {
    font-size: 0.5em;
}

.em-06 {
    font-size: 0.6em;
}

.em-07 {
    font-size: 0.7em;
}

.em-08 {
    font-size: 0.8em;
}

.em-085 {
    font-size: 0.85em;
}

.em-09 {
    font-size: 0.9em;
}

.em-095 {
    font-size: 0.95em;
}

.em-11 {
    font-size: 1.1em;
}

.em-115 {
    font-size: 1.15em;
}

.em-12 {
    font-size: 1.2em;
}

.em-125 {
    font-size: 1.25em;
}

.em-13 {
    font-size: 1.3em;
}

.em-135 {
    font-size: 1.35em;
}

.em-14 {
    font-size: 1.4em;
}

.em-145 {
    font-size: 1.45em;
}

.em-15 {
    font-size: 1.5em;
}

.em-16 {
    font-size: 1.6em;
}

.em-17 {
    font-size: 1.7em;
}

.em-18 {
    font-size: 1.8em;
}

.em-19 {
    font-size: 1.9em;
}

.em-20 {
    font-size: 2.0em;
}

.em-21 {
    font-size: 2.1em;
}

.text-supermuted {
    color: #b3b3b3;
}

.text-orange {
    color: #CD7300;
}

.bg-orange {
    background-color: #CD7300;
}

.bg-purple {
    background-color: #9c489c;
}

.table-purple {
    background: #f3e9f3;
    color: #000;
}


.text-purple {
    color: #9c489c;
}


.btn-purple {
    color: #fff;
    background-color: #9c489c;
    border-color: #9c489c;
}

.btn-purple:hover {
    color: #fff;
    background-color: #844084;
    border-color: #844084;
}

.btn-check:focus+.btn-purple,
.btn-purple:focus {
    color: #fff;
    background-color: #844084;
    border-color: #844084;
    box-shadow: 0 0 0 0.25rem #844084
}

.btn-purple:disabled,
.btn-purple.disabled {
    color: #fff;
    background-color: #9c489c;
    border-color: #9c489c;
}





.pointer {
    cursor: pointer;
}

.line-height-sm {
    line-height: 1.2em;
}

.line-height-md {
    line-height: 1.4em;
}

.content-header {
    height: 3.25rem;
}

#page-container.page-header-fixed #main-container {
    padding-top: 3.25rem;
}


.breathing-effect img {
    animation: breathing 1.5s infinite linear;
}

@keyframes breathing {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.angucomplete-dropdown {
    width: 100%;
    padding: 0px;
    z-index: 888;
    height: auto;
    background-color: #fdfdfd;
    overflow-y: auto;
    max-height: 350px;
    border-top: 1px solid #cccccc;
    border-right: 1px solid #cccccc;
    border-left: 1px solid #cccccc;

}

.angucomplete-title {
    font-size: 1.3em;
    font-weight: bold;
}

.angucomplete-row {
    padding: 10px;
    color: #343a40;
    background: #fdfdfd;
    margin-bottom: 0px;
    border-bottom: 1px solid #cccccc;
    clear: both;
}

.angucomplete-row-disabled {
    padding: 10px;
    color: #999999;
    background: #dddddd;
    margin-bottom: 0px;
    border-bottom: 1px solid #cccccc;
    clear: both;
}

.angucomplete-searching {
    padding: 10px;
}

.angucomplete-selected-row {
    border: 1px goldenrod solid;
    background: #F7EDD2;
    color: #343a40;
}

.angucomplete-selected-row-disabled {
    border: 1px red solid;
    background: rgb(255, 234, 234);
}

.angucomplete-image-default {
    background-image: url('../img/user_default.png');
}

.angucomplete-image-default-product {
    background-image: url('../img/product_default.png');
}

#superloading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9998;
}

.bg-disabled {
    background-color: #cccccc;
}

/* .text-disabled {
    color: #a9a9a9;
} */

.text-disabled {
    color: #bebebe;
}

.form-control.form-control-alt:focus {
    border-color: orange;
}

.md-datepicker-input-container {
    position: relative;
    border-bottom-width: 0px;
    border-bottom-style: none;
    display: inline-block;
    width: auto;
    z-index: 9999999;
}

.form-control-alt {
    border-color: #cccfd5;
    background-color: #edf0f7;
    transition: none;
}

.ui-datepicker {
    /*  margin-top: 100px; */
    z-index: 999999;

}

#ui-datepicker-div {
    z-index: 999999;
}

.pac-container {
    z-index: 999999;
}

.border-left-success {
    border-left: 8px solid #198754;
}

.border-left-primary {
    border-left: 8px solid var(--bs-primary);
}

.border-left-secondary {
    border-left: 8px solid #6c757d;
}

.border-left-warning {
    border-left: 8px solid #ffc107;
}

.border-left-purple {
    border-left: 8px solid #9c489c;
}


.border-left-light-orange {
    border-left: 8px solid orange;
}

.border-left-orange {
    border-left: 8px solid #A569BD;
}

.card-border-success {
    border-top: 2px solid #198754;
    border-right: 2px solid #198754;
    border-bottom: 2px solid #198754;
}

.card-border-warning {
    border-top: 3px solid #ffc107;
    border-right: 3px solid #ffc107;
    border-bottom: 3px solid #ffc107;
}

.card-border-purple {
    border-top: 3px solid #9c489c;
    border-right: 3px solid #9c489c;
    border-bottom: 3px solid #9c489c;
}


/* Chrome, Safari, Edge, Opera */
.nospin::-webkit-outer-spin-button,
.nospin::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.nospin {
    -moz-appearance: textfield;
}

hr {
    margin-top: 3px;
    margin-bottom: 3px;
    padding-bottom: 0px;
    padding-top: 0px;
}

hr.light {
    color: lightgray;
}



/* Small devices (landscape phones, 576px and up)*/
@media (max-width: 576px) {
    .w-sm-100 {
        width: 100% !important;
    }

    .w-sm-75 {
        width: 75% !important;
    }

    .w-sm-50 {
        width: 50% !important;
    }

    .w-sm-25 {
        width: 25% !important;
    }

    .h-sm-100 {
        height: 100% !important;
    }

    .h-sm-75 {
        height: 75% !important;
    }

    .h-sm-50 {
        height: 50% !important;
    }

    .h-sm-25 {
        height: 25% !important;
    }
}

/* Medium devices (tablets, 768px and up)*/
@media (max-width: 768px) {
    .w-md-100 {
        width: 100% !important;
    }

    .w-md-75 {
        width: 75% !important;
    }

    .w-md-50 {
        width: 50% !important;
    }

    .w-md-25 {
        width: 25% !important;
    }

    .h-md-100 {
        height: 100% !important;
    }

    .h-md-75 {
        height: 75% !important;
    }

    .h-md-50 {
        height: 50% !important;
    }

    .h-md-25 {
        height: 25% !important;
    }
}

/* Large devices (desktops, 992px and up)*/
@media (max-width: 992px) {
    .w-lg-100 {
        width: 100% !important;
    }

    .w-lg-75 {
        width: 75% !important;
    }

    .w-lg-50 {
        width: 50% !important;
    }

    .w-lg-25 {
        width: 25% !important;
    }

    .h-lg-100 {
        height: 100% !important;
    }

    .h-lg-75 {
        height: 75% !important;
    }

    .h-lg-50 {
        height: 50% !important;
    }

    .h-lg-25 {
        height: 25% !important;
    }
}

/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
    .w-xl-100 {
        width: 100% !important;
    }

    .w-xl-75 {
        width: 75% !important;
    }

    .w-xl-50 {
        width: 50% !important;
    }

    .w-xl-25 {
        width: 25% !important;
    }

    .h-xl-100 {
        height: 100% !important;
    }

    .h-xl-75 {
        height: 75% !important;
    }

    .h-xl-50 {
        height: 50% !important;
    }

    .h-xl-25 {
        height: 25% !important;
    }
}