body.index {
  background-color: #fff;
  color: #fff;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 300px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.logo {
  width: 250px;
  height: 200px;
  opacity: 0.5;
  animation: logoAnimation 2s infinite alternate;
}

.logo_pag {
  width: 200px;
  height: 150px;
  opacity: 0.5;
  animation: logoAnimation 2s infinite alternate;
}

.logo_peq {
  width: 110px;
  height: 80px;
}

.logo_medio {
  width: 200px;
  height: 200px;
}

@keyframes logoAnimation {
  0% {
    opacity: 0.2;
  }
  100% {
    opacity: 1;
  }
}

h1.index {
  font-size: 24px;
  margin-bottom: 20px;
}

h5 {
  color: #85929E !important;
}

span{
  color: #566573 !important;
}

label {
  color: #85929E !important;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

form input {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
 c
  border: none;
  box-sizing: border-box;
}

form button {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: #0c446b;
  color: #fff;
  font-size: 16px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

form button:hover {
  background-color: #ee4e4f;
}

.cambio {
  display: block;
  width: 80%;
  padding: 10px;
  background-color: white;
  color: #000;
  font-size: 11px;
  border-radius: 5px;
  border: 1px;
  border-color: #fff;
  cursor: pointer;
}

.cambio:hover {
  background-color: white;
}

body.menu {
  background-color: #fff;
  font-family: Calibri, sans-serif;
}

body.menu header {
  background-color: #0099cc;
  color: #fff;
  padding: 20px;
}

body.menu h1 {
  margin: 0;
  font-size: 24px;
}

.contenido {
  background-color: #f2f2f2;
  padding: 10px;
  margin: 30px auto;
  width: 90%;
  text-align: center;
  font-family: Calibri, sans-serif;
}

.contenido2 {
  background-color: white !important;
  padding: 10px;
  margin: 30px auto;
  width: 90%;
  text-align: center;
  font-family: Calibri, sans-serif;
}

body.menu h2 {
  color: #0099cc;
}

body.menu p {
  color: #666;
  margin-bottom: 20px;
}

.titulo {
  color: #0c446b;
  font-family: Calibri, sans-serif;
}

.btn-volver {
  background-color: #ee4e4f;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}

.btn-atras {
  background-color: #ee4e4f;
  color: white;
  padding: 2px 4px;
  text-decoration: none;
  border-style: none;
  font-size: 11px;
  border-radius: 5px;
}

.btn-importar {
  background-color: #ee4e4f;
  color: white;
  padding: 8px 50px;
  text-decoration: none;
  border-style: none;
  font-size: 14px;
  border-radius: 5px;
}

.btn-importar:hover { 
  background-color: #0c446b;
  color: white !important;
}

.btn-volver:hover { 
  background-color: #0c446b;
  color: white !important;
}

.btn-nuevo {
  background-color: #ee4e4f;
  color: white;
  padding: 3px 40px;
  margin-top: 1px;
  text-decoration: none;
  border-radius: 5px;
}

.btn-nuevo:hover {
  background-color: #0c446b;
  color: white !important;
}

.btn-tabla {
  background-color: #ee4e4f;
  color: white;
  padding: 2px 10px;
  margin-top: 1px;
  text-decoration: none;
  border-radius: 5px;
}

.btn-tabla:hover {
  background-color: #0c446b;
  color: white !important;
}

.btn-doc {
  background-color: #0c446b;
  color: white;
  padding: 1px 9px;
  margin-top: 1px;
  text-decoration: none;
  border-radius: 25px;
}

.btn-doc:hover {
  background-color: #ee4e4f;
  color: white !important;
}

.navbar {
  background-color:  #0c446b;
  color: white;
  padding: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-left {
  display: flex;
  align-items: center;
  font-family: Calibri, sans-serif;
  margin-left: 10px;
}

.username {
  margin-right: 10px;
  font-size: 12px;
}

.navbar-right {
  display: flex;
  align-items: center;
  margin-rigth: 10px;
}

.logout-btn {
  background-color: #0c446b;
  color: white;
  font-size: 14px;
  padding: 3px 5px;
  text-decoration: none;
  border-radius: 4px;
  font-family: "Calibri", sans-serif;
}

.logout-btn:hover {
  background-color: #ee4e4f;
  color: white !important;
  font-size: 14px;
  padding: 3px 5px;
  text-decoration: none;
  border-radius: 4px;
  font-family: "Calibri", sans-serif;
}

section .toolbar {
      background-color: #f2f2f2;
      color: #85929E;
      display: flex;
      justify-content: right;
      padding: 5px;
      align-items: center;
      overflow: auto;
    }

section .toolbar2 {
      background-color: #f2f2f2;
      color: #85929E;
      display: flex;
      justify-content: right;
      padding: 5px;
      align-items: center;
      overflow: auto;
    }

.volver {
  float: left;
}

    .toolbar {
      background-color: white;
      color: #fff;
      display: flex;
      justify-content: center;
      padding: 5px;
      align-items: center;
    }

    .toolbar .user {
      text-align: left;
    }
    
    .toolbar .logout {
      text-align: right;
    }
    
    .toolbar ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .toolbar li {
      display: inline-block;
      position: relative;
    }

    .toolbar li > a {
      display: block;
      padding: 10px;
      color: black;
      background-color: white;
      text-decoration: none;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      border-radius: 1px;
      transition: background-color 0.3s ease;
    } 

    .toolbar li > a:hover {
      background-color: #ee4e4f;
      color: white !important;
      transition: background-color 0.4s ease;
    }

    .toolbar .sub-menu {
      display: none;
      position: absolute;
      background-color: white;
      padding: 1px;
      box-shadow: 0 0px 0px rgba(0, 0, 0, 0.3);
      left: 0;
      top: 100%;
      min-width: 200px;
    }

    .toolbar li:hover .sub-menu {
      display: block;
    }

    .toolbar .sub-menu li {
      display: block;
    }

    .toolbar .sub-menu li > a {
      padding: 10px;
      background-color: #f0f0f0;
      color: black;
      text-decoration: none;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      transition: background-color 0.4s ease;
    }

    .toolbar .sub-menu li > a:hover {
      background-color: #ee4e4f;
      color: white;
    }

    /* Estilos para el menú lateral en dispositivos móviles */
    .menu-toggle {
      display: none;
    }

@media only screen and (max-width: 768px) {
  .toolbar {
    display: none;
  }
 
  .menu-toggle {
    display: block;
    position: static;
    bottom: 10px; /* Cambiar la posición vertical */
    left: 10px;
    padding: 5px;
    color: #fff;
    background-color: #4d6b83;
    z-index: 3;
    cursor: pointer;
    flex-direction: column;
    transition: background-color 0.5s ease, bottom 0.5s ease; /* Agregar una transición suave */
  }

  .menu-toggle:hover {
    background-color: #ee4e4f;
  }

  .menu-toggle.active {
    background-color: #ee4e4f;
  }

  .menu-toggle.active + .toolbar {
    display: block;
    flex-direction: column;
    background-color: #0c446b;
    width: 300px;
    padding-top: 20px;
    bottom: 60px;
  }

  .toolbar ul {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .toolbar > ul > li {
    position: relative;
  }

  .toolbar li {
    display: block;
    margin-bottom: 10px;
  }

  .toolbar li:last-child {
    margin-bottom: 0;
  }

  .toolbar li > a {
    display: block;
    padding: 10px;
    color: white;
    text-decoration: none;
    transition: background-color 0.4s ease;
    background-color: #0c446b;
  }

  .toolbar li > a:hover {
    background-color: #ee4e4f;
  }

  .toolbar .sub-menu {
    display: none;
    background-color: #CACFD2;
    padding: 0;
    margin-left: 10px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 2;
  }

  .toolbar li:hover > .sub-menu {
    display: block;
  }

  .toolbar .sub-menu li {
    display: block;
    margin-bottom: 5px;
  }

  .toolbar .sub-menu li:last-child {
    margin-bottom: 0;
  }

  .toolbar .sub-menu li > a {
    padding: 5px;
    color: #333;
    background-color: #CACFD2;
    transition: background-color 0.3s ease;
  }

  .toolbar .sub-menu li > a:hover {
    background-color: #ee4e4f;
    color: white;
  }
}

.dropdown-menu {
  display: none;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.select {
  position: relative;
  border: 1px solid #ccc !important;
  width: 300px;
  height: 30;
  border-radius: 5px;
  overflow: hidden;
  background-color: #fff;
  color: #566573;
  z-index: 1;
}

/* Estilos personalizados para el borde del select2 */
.custom-select .select2-container--default .select2-selection--single {
  border: 2px solid red; /* Cambia el color y el grosor del borde según tus necesidades */
}

.tool {
  position: relative;
  z-index: 10;
}

/* filtros */
    .filtros {
      color: black;
      display: flex;
      justify-content: center;
      padding: 5px;
      align-items: center;
    }
    
    .filtros .user {
      text-align: left;
    }
    
    .filtros .logout {
      text-align: right;
    }
    
    .filtros ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .filtros li {
      display: inline-block;
      position: relative;
    }

    .filtros li > a {
      display: block;
      padding: 10px;
      color: black;
      background-color: white;
      text-decoration: none;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      border-radius: 1px;
      transition: background-color 0.3s ease;
    } 

    .filtros li > a:hover {
      background-color: #ee4e4f;
      color: white;
      transition: background-color 0.4s ease;
    }
/* fin filtros */

th {
  background-color: #0c446b !important;
  color: white !important;
  font-size: 11px !important;
}


input[type="text"] {
  background-color: white;
  color: #333;
  font-size: 14px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px; 
  width: 300px;
}

input[type="email"] {
  background-color: white;
  color: #333;
  font-size: 14px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px; 
  width: 300px;
}

input[type="tel"] {
  background-color: white;
  color: #333;
  font-size: 14px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px; 
  width: 300px;
}

input[type="password"] {
  background-color: white;
  color: #333;
  font-size: 14px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px; 
  width: 300px;
}

input[type="date"] {
  background-color: white;
  color: #333;
  font-size: 14px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px; 
  width: 300px;
}

input[type="file"] {
  background-color: white;
  color: #333;
  font-size: 14px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px; 
  width: 300px;
}

button[type="submit"] {
  background-color: #0c446b;
  color: white;
  font-size: 14px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px; 
  width: 300px;
}

input:focus {
  /*box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);*/
} 

    .form-group {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      margin-bottom: 10px;
    }

    .form-group input {
      margin-bottom: 5px;
      text-align: left;

    }

    .form-group img{
      align-items: inherit;
      margin-bottom: 10px;
      width: 12px;

    }

    .buttons {
      margin-top: 10px;
      text-align: left;
      display: flex;
      justify-content: space-between;
    }

    .buttons button {
      margin-right: 10px;
    }

    .buttons div {
      flex: 1;
    }

   .scrolling-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    width: 220px; /* Ajusta el ancho según tus necesidades */
    margin: 0 auto; /* Centra horizontalmente el div */
  }

  .scrolling-label {
    display: inline-block;
    animation: marquee 20s linear infinite;
    opacity: 0; /* Comienza con opacidad 0 */
    animation-delay: 0s; /* Retraso en la animación para el desvanecimiento */
  }

  .scrolling-label.show {
    opacity: 0; /* Al final de la animación, muestra completamente el contenido */
  }

  @keyframes marquee {
    0% {
      transform: translateX(200%);
      opacity: 0; /* Al inicio de la animación, establece opacidad 0 */
    }
    5%, 95% {
      opacity: 1; /* Durante la mayor parte de la animación, mantiene la opacidad 1 */
    }
    100% {
      transform: translateX(-100%);
      opacity: 0; /* Al final de la animación, establece opacidad 0 */
    }
  }

  .scrolling-label2 {
    display: inline-block;
    animation: marquee2 20s linear infinite;
    opacity: 0; /* Comienza con opacidad 0 */
    animation-delay: 10s; /* Retraso en la animación para el desvanecimiento */
  }

  .scrolling-label2.show {
    opacity: 0; /* Al final de la animación, muestra completamente el contenido */
  }

    @keyframes marquee2 {
    0% {
      transform: translateX(100%);
      opacity: 0; /* Al inicio de la animación, establece opacidad 0 */
    }
    15%, 95% {
      opacity: 1; /* Durante la mayor parte de la animación, mantiene la opacidad 1 */
    }
    100% {
      transform: translateX(-200%);
      opacity: 0; /* Al final de la animación, establece opacidad 0 */
    }
  }


  #excelTableContainer table {
    border-collapse: collapse;
    font-size: 12px;
  }

  #excelTableContainer th,
  #excelTableContainer td {
    border: 1px solid black;
    padding: 8px;
  }

.select-container {
  display: flex;
  align-items: center;
}


.select-icon {
  width: 10px;
  align-items: flex-end;
}    

