@font-face {
    font-family: EuroFont;
    src: url('../font/Swis721_Hv_BT_Heavy.ttf') format('truetype');
}


/* Esta linea es para arreglar lo que rompe el bootstrap 5 - version nueva  */
table.table.dataTable thead > tr > th {
    background-color: initial;
}

.fs-7 {
    font-size: 0.875rem;
}

.fs-8 {
    font-size: 0.75rem;
}

.btn-es {
    background-color: var(--color-4);
    color: var(--color-1-font);
    font-weight: bold;
    font-size: 12px;
    font-family: var(--font-type);
    box-shadow: 2px 2px 2px #888888;
}

.btn-es:hover {
    background-color: var(--color-5);
    color: var(--color-1-font);
    font-weight: bold;
    font-size: 12px;
    font-family: var(--font-type);
    box-shadow: 2px 2px 2px #888888;
}

.btn-es:focus {
    background-color: var(--color-4);
    color: var(--color-1-font);
    font-weight: bold;
    font-size: 12px;
    font-family: var(--font-type);
    box-shadow: 2px 2px 2px #888888;
}

.btn-es-warning {
    background-color: var(--color-3);
    color: var(--color-1);
    font-weight: bold;
    font-size: 12px;
    font-family: var(--font-type);
    box-shadow: 2px 2px 2px #888888;
}

.btn-es-danger {
    background-color: var(--color-5);
    color: var(--color-1-font);
    font-weight: bold;
    font-size: 12px;
    font-family: var(--font-type);
    box-shadow: 2px 2px 2px #888888;
}

.btn-es-success {
    background-color: var(--color-6);
    color: var(--color-1-font);
    font-weight: bold;
    font-size: 12px;
    font-family: var(--font-type);
    box-shadow: 2px 2px 2px #888888;
}

.btn-es-success:focus {
    background-color: var(--color-6);
    color: var(--color-1-font);
    font-weight: bold;
    font-size: 12px;
    font-family: var(--font-type);
    box-shadow: 2px 2px 2px #888888;
}

.btn-es-link {
    /* Que se parezca a un link, aunque es un boton */
    background-color: transparent;
    color: var(--color-5);
    font-weight: bold;
    font-size: 12px;
    font-family: var(--font-type);
    text-decoration: underline;
}

.th-head-1 {    
    background-color: var(--color-2);
    color: var(--color-2-font);
    font-weight: bold;
}

/* Para desactivar el estilo en un contexto específico */
table.table.th-head-1.dataTable.some-context > :not(caption) > * > * {
    background-color: initial;
}

/* Si quieres anular el estilo para todos */
table.table.th-head-1.dataTable > :not(caption) > * > * {
    background-color: initial;
}

.th-head-1 thead{    
    background-color: var(--color-2);
    color: var(--color-2-font);
    font-weight: bold;
}

.th-head-1 th {    
    background-color: var(--color-2);
    color: var(--color-2-font);
    font-weight: bold;
}

.tr-head {
    background-color: var(--color-2);
    color: var(--color-2-font);
    font-weight: bold;
    box-shadow: 2px 2px 2px #888888;
}

.navbar-brand {
    transition: all ease 0.5s;
    position: absolute;
    top: 20%;
    left: 0%;
    /*Esto hasta que este la imagen correcta*/
    margin-right: -13px;
}

.show-footer-above {
    display: table-row-group;

}

body {
    min-height: 100%;
    height: 100%;
    background-color: #f9f9f9;
    overflow: auto !important;
}

::-webkit-scrollbar {
    width: 10px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
}

/* ::-webkit-scrollbar-thumb {
    background-color: #D62929;
    background-image: -webkit-linear-gradient(90deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent)
} */

.navbar-brand {
    transition: all ease 0.5s;
    position: absolute;
    top: 20%;
    left: 0%;
    margin-right: -13px;
}

::-moz-selection {
    color: white;
    background: #0456A0;
}

::selection {
    color: white;
    background: #0456A0;
}

.navbar-brand:hover {
    transition: all ease 0.5s;
    transform: scale(1.2);
}

.titulito {
    color: #0456A0;
    font-family: EuroFont;
    margin-left: 150px;
    padding-top: 20px;
    margin-bottom: 0%;
}

.titulito p {
    color: #E31;
    font-family: EuroFont;
    margin: 0px;
    padding: 0px;
}

.mt-10 {
    margin-top: 5%;
}

.menu-side {
    position: fixed;
    left: 0px;
    top: 45%;
    transition: all ease 0.5s;
    opacity: 0.2;
}

.menu-side:hover {
    opacity: 1;
}


#options {
    display: flex;
    align-items: flex-end;
    text-align: end;
    justify-content: end;
    margin-right: 100px;
    font-family: var(--font-type);
}

.border-none {
    border: none;
}

#header-modal {
    text-align: center;
    margin-bottom: -80px;
    font-family: EuroFont;
    font-weight: bold;
}

#usuario {
    border-radius: 20px;
}

#password {
    margin-top: 2px;
    border-radius: 20px;
}

#form-group-password {
    margin-top: 15px;
}

#main {
    width: 100%;
    overflow: hidden;
    position: relative;
}

#Cosito-del-usuario {
    text-align: center;
    margin-right: 20px;
    margin-top: 5px;
}

#uo-opciones {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    border-style: solid;
}

#uo-opciones .row {
    align-items: flex-end;
}

.table-sm-es {
    font-size: 12px;
}

.table-responsive {
    height: 450px;
    width: 100%;
    overflow: auto;
}


table {
    font-size: 14px;
}

table .form-control {
    font-size: 12px;
}

table .form-select {
    font-size: 12px;
}


.abs-center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.tachame td {
    text-decoration: line-through;
    color: #D62929;
}

/* thead tr {
    background: #F0F0F0;
    top: 0;
    position: sticky;
    height: auto;
    z-index: 10;
} */

/* thead {
    position: sticky;
    top: 0;
    border: 1px solid black;
} */

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #fff;
    color: #7386D5;
}

a.article,
a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}

@media (max-width: 600px) {}

a:hover {
    color: red;
}

a {
    color: black;
}


.day-of-week,
.date-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

/* .nav-link {
    color: gray;
    font-weight: 500;
} */

.nav-link:hover {
    color: #0456A0
} 

.nav-link.active {
    border-bottom: 2px solid gray;
}

.nav-link {
    color: gray;
    font-weight: 500;
    display: flex;
    align-items: center; /* Asegura que el contenido esté centrado verticalmente */
    justify-content: flex-start; /* Alinea el contenido al inicio */
    padding: 10px 15px; /* Asegura un padding uniforme */
    width: 100%; /* Asegura que ocupen el mismo ancho */
    text-align: left; /* Alinea el texto a la izquierda */
}

.nav-link.nav-link-btn {
    background-color: white;
    font-size: small;
    border: 0;
    display: block; /* Asegura que los botones ocupen el ancho completo */
    width: 100%; /* Asegura que ocupen el ancho completo */
}
.nav-link-btn > i, .nav-link-btn > svg {
    margin-right: 5px; /* Añade un espacio entre el icono y el texto */
    color: #0456A0;
}

.nav-link.nav-link-btn>form {
    display: inline-block;
    padding-left: 0%;
    width: 100%; /* Asegura que los formularios ocupen el ancho completo */
    margin: 0; /* Elimina cualquier margen adicional */
}

.form-group .nav-link {
    display: flex; /* Asegura que los botones dentro de formularios se alineen correctamente */
    align-items: center; /* Centra el contenido verticalmente */
    justify-content: flex-start; /* Alinea el contenido al inicio */
    width: 100%; /* Asegura que ocupen el ancho completo */
    padding: 10px 15px; /* Asegura un padding uniforme */
}

.nav-pills .nav-link.active {
    color: black;
    background-color: white;
    border-radius: 0.5rem 0.5rem 0 0;
    font-weight: 600
}

.menuazul {
    background: var(--color-1);
    /* Chrome 10-25, Safari 5.1-6 */
    background: -webkit-linear-gradient(to right, var(--color-1), var(--color-2));
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background: linear-gradient(to right, var(--color-1), var(--color-2));
    /* Font white */
    color: var(--color-1-font);
}

.menuazul2 {
    background: var(--color-2);
    /* Chrome 10-25, Safari 5.1-6 */
    background: -webkit-linear-gradient(to right, var(--color-2), var(--color-1));
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background: linear-gradient(to right, var(--color-2), var(--color-1));
    /* Font white */
    color: var(--color-1-font);
}

.menugris {
    background: #303030;
    /* Chrome 10-25, Safari 5.1-6 */
    background: -webkit-linear-gradient(to right, #505050, #000000);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background: linear-gradient(to right, #303030, #000000);
    /* Font white */
    color: var(--color-1-font);
}

.ideaLdbe::first-letter {
    color: transparent;
    display: hidden;
}

.icon-red {
    color: red;
}

.captcha {
    width: 100%;
}



select:has(option.NoAutorizado) {
    color: rgba(255, 255, 0, 0.705);
}

select:has(option.Autorizado) {
    color: rgb(12, 180, 12);
}

select:has(option.Rechazado) {
    color: red;

}

.controles-disabled {

    pointer-events: none;
    opacity: 0.4;
}


.controles-disabled input {
    pointer-events: none;
    opacity: 0.4;
}

/* color del scroll azul */
::-webkit-scrollbar-thumb {
    background-color: #0456A0;
    background-image: -webkit-linear-gradient(90deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent)
}



.chip-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.chip {
    background-color: darkgray;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    cursor: pointer;
    min-width: 100px;
    text-align: center;
}

.chip:hover {
    background-color: gray;
}

.chip.selected {
    background-color: green;
}

.chip.selected:hover {
    background-color: darkgreen;
}


/* Para el manugino */
.list-unstyled a {
    border: none;
    list-style-type: none;
    margin-top: 0px;
    padding: 0px;
    text-decoration: none;
}

.list-unstyled->li {
    border: none;
}

.list-unstyled ul>li {
    border-bottom: 1px solid #D62929;
    border: #000000;
    border-radius: 5px;
    margin-top: 5px;
    padding: 5px;
    text-align: center;
    text-decoration: none;
}


.drag-area {
    border: 2px dashed #ccc;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.drag-area.dragging {
    border-color: #000;
    background-color: #f7f7f7;
}

.btn-outline-success.inactive,
.btn-outline-warning.inactive,
.btn-outline-danger.inactive {
    background-color: white;
    color: #000;
    border-color: #000;
}


.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5); /* Color de fondo con opacidad */
    background-size: 100%, 100%;
    display: block;
    width: 30px;
    height: 30px;
    content: '';
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%; /* Asegúrate de que los botones tengan suficiente área para ser clickeados */
}

.tooltip-inner {
    max-width: none;
    width: 400px; /* Ajusta el ancho al que necesites */
}

.eliminar-consolidado {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 10;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    
    text-align: center;
    background-color: rgba(0, 0, 0, 0.0);
    color: darkgray;
    cursor: pointer;
    text-decoration: none;
}

.eliminar-consolidado:hover {
    background-color: darkred;
    color: white;
}





.kpi-negativo { background-color: #ff6384 !important; }
.kpi-positivo { background-color: #4bc0c0 !important; }
.kpi-alerta { animation: pulse 2s infinite; }

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}