/*
* demo.css
* File include item demo only specific css only
******************************************************************************/
:root {
  --mayday-destacado: #1880004f;
  --mayday-cyan: #04D1E0;
  --mayday-bluemedio: #2A44A3;
  --mayday-nightblue: #010136;
  --mayday-transicion-bluemedio-cyan: linear-gradient(90deg, #2A44A3 0%, #04D1E0 100%);
}


.light-style .menu .app-brand.demo {
  height: 64px;
}

.dark-style .menu .app-brand.demo {
  height: 64px;
}

.app-brand-logo.demo svg {
  width: 38px;
  height: 20px;
}

.app-brand-text.demo {
  font-size: 1.25rem;
  letter-spacing: 0.15px;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1.25rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 300px;
    position: relative;
  }
  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}
/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1.25rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1.25rem;
}


.display-none
{
  display: none;
}

.hover_mano
{
  cursor: pointer;
}

.content-wrapper
{
  background-image: url('../../assets/img/favicon/Logo_M_45.png');
  background-repeat:no-repeat;
  background-position: center;
}


/* Establecer una altura fija y el overflow para el contenedor de la tabla */
#dt_consumos_wrapper .dataTables_scrollBody {
  max-height: 450px; /* Ajusta la altura como lo necesites */
  overflow-y: auto; /* Desplazamiento vertical si es necesario */
}

#dt_ventas_wrapper .dataTables_scrollBody {
  max-height: 450px; /* Ajusta la altura como lo necesites */
  overflow-y: auto; /* Desplazamiento vertical si es necesario */
}

#dt_ventas_cliente_wrapper .dataTables_scrollBody {
  max-height: 450px; /* Ajusta la altura como lo necesites */
  overflow-y: auto; /* Desplazamiento vertical si es necesario */
}

#dt_entidades_wrapper .dataTables_scrollBody {
  max-height: 450px; /* Ajusta la altura como lo necesites */
  overflow-y: auto; /* Desplazamiento vertical si es necesario */
}

#dt_tarifadores_wrapper .dataTables_scrollBody {
  max-height: 450px; /* Ajusta la altura como lo necesites */
  overflow-y: auto; /* Desplazamiento vertical si es necesario */
}

#dt_usuarios_entidad_wrapper .dataTables_scrollBody {
  max-height: 450px; /* Ajusta la altura como lo necesites */
  overflow-y: auto; /* Desplazamiento vertical si es necesario */
}


.datatables-custom {
  table-layout: fixed; /* Mantener el tamaño fijo de la tabla */
}

.datatables-custom tbody tr {
  line-height: 1 !important;
  padding: 1px 2px !important;
}

/* Contenedor responsivo para asegurar el scroll horizontal */
.table-responsive {
  overflow-x: auto; /* Permitir desplazamiento horizontal */
  -webkit-overflow-scrolling: touch; /* Mejora el scroll en dispositivos táctiles */
}

/* Ajustar las celdas para que no se desborden en pantallas móviles */
.datatables-custom {
  max-height: 450px;
  table-layout: auto; /* Ajustar el tamaño de la tabla según el contenido */
  width: 100%; /* Asegura que la tabla ocupa todo el ancho del contenedor */
}

/* Ajustar el tamaño de los datos en pantallas pequeñas */
@media (max-width: 768px) {
  .datatables-custom thead th,
  .datatables-custom tbody td {
    font-size: 12px; /* Reducir tamaño de fuente en pantallas pequeñas */
    padding: 8px; /* Reducir el padding de las celdas para mantener la tabla compacta */
  }

  .dataTables_wrapper .dataTables_paginate {
    margin-top: 10px; /* Agregar espacio entre la tabla y la paginación */
  }

  /* Asegura que el contenedor de la tabla tenga desplazamiento horizontal */
  .dataTables_wrapper .dataTables_scrollBody {
    overflow-x: auto;
  }
}


/* Ajustar las celdas para que no se desborden en pantallas móviles */
.datatables-custome_tarifador {
  max-height: 850px;
  table-layout: auto; /* Ajustar el tamaño de la tabla según el contenido */
  width: 100%; /* Asegura que la tabla ocupa todo el ancho del contenedor */
}

.select2-checkboxes .select2-results__option--selected {
  background-color: #e9ecef;
  color: #000;
}

.app-brand-logo-container {
  width: 100px; /* Ajusta este tamaño según lo necesites */
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-left: 50px !important;
}

.app-brand-logo-image {
  width: 100%;
  height: auto;
}

@font-face {
  font-family: 'Azos Sanz';
  src: url('../../fonts/AzoSans_reg.OTF') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* Definición de las variantes de Azos Sanz */
@font-face {
  font-family: 'Azos Sanz';
  src: url('../../fonts/AzoSans_reg.OTF') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Azos Sanz';
  src: url('../../fonts/AzoSans_bold.OTF') format('opentype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Azos Sanz';
  src: url('../../fonts/AzoSans_bold_italic.OTF') format('opentype');
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: 'Azos Sanz';
  src: url('../../fonts/AzoSans_italic.OTF') format('opentype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Azos Sanz';
  src: url('../../fonts/AzoSans_light.OTF') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Azos Sanz';
  src: url('../../fonts/AzoSans_light_italic.OTF') format('opentype');
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'Azos Sanz';
  src: url('../../fonts/AzoSans_medium.OTF') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Azos Sanz';
  src: url('../../fonts/AzoSans_medium_italic.OTF') format('opentype');
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: 'Azos Sanz';
  src: url('../../fonts/AzoSans_thin.OTF') format('opentype');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'Azos Sanz';
  src: url('../../fonts/AzoSans_thin_italic.OTF') format('opentype');
  font-weight: 100;
  font-style: italic;
}



body {
  font-family: 'Azos Sanz', sans-serif;
}

h1, h2, h3, h4, h5, h6, p, a, button, input, select, textarea, table, th, td, label, li, small, span, button{
  font-family: 'Azos Sanz', sans-serif;
}
.swal2-html-container, .swal2-cancel, .swal2-deny , .swal2-confirm
{
  font-family: 'Azos Sanz', sans-serif;
  font-weight: 300; /* Light */
}
.form-control
{
  font-family: 'Azos Sanz', sans-serif;
  font-weight: 300; /* Light */ !important;
}

  /* Estilo general del sitio */
body {
  font-family: 'Azos Sanz', sans-serif;
  font-weight: 300;
}

/* Headers de tablas */
.table th {
  font-family: 'Azos Sanz', sans-serif;
  font-weight: bold;
}

/* Celdas de tablas */
.table td {
  font-family: 'Azos Sanz', sans-serif;
  font-weight: 300; /* Light */
}

/* Ejemplo para botones */
button {
  font-family: 'Azos Sanz', sans-serif;
  font-weight: 500; /* Medium */
}
.font-thin {
  font-family: 'Azos Sanz', sans-serif;
  font-weight: 100;
}

.font-light {
  font-family: 'Azos Sanz', sans-serif !important;
  font-weight: 300 !important;
}

.font-bold {
  font-family: 'Azos Sanz', sans-serif !important;
  font-weight: bold !important;
}

.font-medium {
  font-family: 'Azos Sanz', sans-serif !important;
  font-weight: 500 !important;
}

.logo_login
{
  width: 250px;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #fff transparent !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #fff transparent transparent transparent !important;
}

.disabled
{
  cursor: not-allowed !important;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
  background-color: #eee;
  cursor: not-allowed !important;
}

.admin-row {
  background-color: var(--mayday-destacado)  !important;
  color: #ffffff !important;
  font-weight: bold;
}
.button-primary {
  background-color: var(--mayday-cyan)  !important;
  color: #ffffff  !important;
  border: 1px solid var(--mayday-bluemedio)  !important;
}

.header-bar {
  background: var(--mayday-transicion-bluemedio-cyan)  !important;
  color: #ffffff  !important;
}

.admin-row td {
  border-left: 4px solid var(--mayday-cyan); /* Para destacar la fila */
}

/* SPINNERS */
.sk-wave {
  margin: 100px auto;
  width: 50px;
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sk-rect {
  background-color: #007bff; /* Color del spinner */
  height: 100%;
  width: 6px;
  display: inline-block;
  animation: sk-wave 1.2s infinite ease-in-out;
}

.sk-rect1 { animation-delay: -1.2s; }
.sk-rect2 { animation-delay: -1.1s; }
.sk-rect3 { animation-delay: -1s; }
.sk-rect4 { animation-delay: -0.9s; }
.sk-rect5 { animation-delay: -0.8s; }

@keyframes sk-wave {
  0%, 40%, 100% {
    transform: scaleY(0.4);
  }
  20% {
    transform: scaleY(1);
  }
}

/*!* Control de altura para los select2 múltiples *!*/
/*.select2-container--default .select2-selection--multiple {*/
/*  max-height: 100px !important;*/
/*  overflow-y: auto !important;*/
/*}*/

/*!* Estilo para el contenedor del select2 *!*/
/*.select2-container {*/
/*  height: auto !important;*/
/*  min-height: 38px !important;*/
/*}*/

/*!* Asegurar que el dropdown se mantiene por encima *!*/
/*.select2-container--default.select2-container--open {*/
/*  z-index: 9999;*/
/*}*/

/* Mantener el contenedor del select2 con altura fija */
.select2-selection.select2-selection--multiple {
  height: auto !important;
  /*min-height: 60px !important;*/
  max-height: 140px !important;
}

/* Estilo para los items seleccionados */
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
  max-height: 120px !important;
  overflow-y: auto !important;
  padding: 4px !important;
}

/* Estilo para los tags del select2 */
.select2-container .select2-selection--multiple .select2-selection__choice {
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  /*padding-right: 20px !important; !* Espacio para el botón de eliminar *!*/
  position: relative;
}

/* Asegurar que el botón de eliminar siempre sea visible y esté bien posicionado */
.select2-container .select2-selection--multiple .select2-selection__choice__remove {
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
}

/* Estilo para el texto dentro del tag */
.select2-container .select2-selection--multiple .select2-selection__choice span {
  display: inline-block;
  /*max-width: calc(100%);*/
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Mostrar el texto completo en el tooltip */
.select2-container .select2-selection--multiple .select2-selection__choice {
  cursor: help;
}