/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow: hidden;
}

html,
body {
  width: 100%;
}

body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
}

.container {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow-y: auto;
}



.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 50px;
  padding: 12px;
  background-color: #3e5f8a;
  /*#4caf50;*/
  color: white;
  flex-shrink: 0;
  text-align: center;
  align-items: center;
  justify-content: space-around;
  font-size: 20px !important;
  transition: none;
  z-index: 999;
}

.fa {
  font-size: 20px !important;
  transition: none;
}

.header {
  /*position: fixed;*/
  background-color: #3e5f8a;
  /*#4caf50;*/
  color: white;
  width: 100%;
  height: 50px;
  padding: 10px;
  flex-shrink: 0;
  text-align: center;
  align-items: center;
  justify-content: space-around;
  font-size: 20px !important;
  transition: none;
  z-index: 999;
}

.header ul,
.footer ul {
  list-style: none;
  display: flex;
  /*justify-content: space-between;*/
  justify-content: space-around;
  align-items: center;
}

.header a,
.footer a {
  color: white;
  text-decoration: none;
  justify-content: center;
  text-align: center;
  font-size: 20px !important;
  transition: none;
}

.header fa,
.footer fa {
  font-size: 20px !important;
  transition: none;
}

.body2 {
  flex-grow: 1;
  /* overflow-y: auto;*/
  padding: 0px;
  background-color: #f4f4f4;
  margin-top: 2px;
  height: 100vh;
  width: 100%;
}

.menu-item {
  display: left;
  align-items: center;
  gap: 10px;
  /* espacio entre el logo y el botón */
  list-style: none;
}

.menu-item2 {
  display: flex;
  align-items: center;
  gap: 10px;
  /* espacio entre el logo y el botón */
  list-style: none;
}

.menu-item3 {
  display: right;
  align-items: right;
  gap: 10px;
  /* espacio entre el logo y el botón */
  list-style: none;
}

.menu-logo {
  /*cursor: pointer;*/
  height: 40px;
  /* Ajusta al tamaño deseado */
}



.menu-button2 {
  background: none;
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
}

.menu-button2:hover {
  color: #ddd;
}

.menu-button2 i {
  font-size: 22px;
  color: white;
}

.menu-button3 {
  background: none;
  margin-right: 25px;
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
}

.menu-button3:hover {
  color: #ddd;
}

.menu-button3 i {
  font-size: 22px;
  color: white;
}


.sidenav {
  width: 250px;
  background-color: #f0f0f0;
  color: black;
  padding: 10px;
  position: fixed;
  top: 0;
  left: -250px;
  /* Oculta fuera de la pantalla, a la izquierda */
  height: 100%;
  transition: left 0.3s ease;
  /* Animación suave desde la izquierda */
  z-index: 9998;
  overflow-x: hidden;
}

.sidenav.open {
  left: 0;
  /* Muestra el panel desde la izquierda */
}


.sidenav22 {
  width: 250px;
  background-color: #f0f0f0;
  color: black;
  padding: 10px;
  position: fixed;
  /* Posición absoluta para mostrar/ocultar */
  top: 0;
  right: -250px;
  /* Ocultar fuera de la pantalla */
  height: 100%;
  transition: right 0.3s ease;
  /* Animación suave */
  z-index: 9998;
  overflow-x: hidden;
}

.sidenav22.open {
  right: 0;
  /* Mostrar sidenav */
}

.menu-button {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

.menu-button:hover {
  color: #ddd;
}

.close-sidenav {
  display: flex;
  background-color: #f0f0f0;
  color: black;
  border: none;
  padding: 0px;
  cursor: pointer;
  margin: 4px;
  font-size: 16px;
}

.close-sidenav a {
  padding: 20px 60px;
  margin: right;
}

.close-sidenav img {
  padding: 0px;
  width: 40px;
  height: 40px;
}

/* Contenedor de pestañas */
.tabs-container {
  overflow-x: auto;
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 0px;
  min-height: 50px;
  -webkit-overflow-scrolling: touch;
  /* Suaviza el scroll en iOS */
}

.tabcontainer::-webkit-scrollbar {
  display: none;
  /* Oculta la barra de scroll para un diseño más limpio */
}

.tabs-wrapper {
  overflow-x: auto;
  scroll-behavior: smooth;
  display: flex;
  flex: 1;
  white-space: nowrap;
}

/* ...existing code... */

.tabs {
  display: flex;
  justify-content: space-around;
  background-color: #f4f4f4;
  width: 100%;
}

.tabs li {
  flex: 1;
  text-align: center;
}

.tab {
  min-width: 40px;
  min-height: 40px;
  width: 10%;
  padding: 0px;
  text-align: center;
  background-color: #f4f4f4;
  border: 0px solid #ddd;
  margin-right: 2px;
  cursor: pointer;
}

.tab.active {
  background-color: #3e5f8a;
  color: white;
  border-color: none;
  /*#0056b3;*/
}


.sidenav-item {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  padding: 8px;
}

.sidenav-item i {
  font-size: 16px;
  color: black;
}

.sidenav-item span {
  font-size: 16px;
  color: black;
}

.sidenav-item:hover {
  background-color: #f0f0f0;
}

hr {
  border: none;
  border-top: 1px solid #555;
  margin: 8px;
}

.header li,
.footer li {
  flex: 1;
  text-align: center;
  justify-content: center;
  align-items: center;
  position: relative;
}

.header li+li::before,
.footer li+li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0px;
  background-color: #f0f0f0;
}

li img {
  display: block;
  margin-left: 0px;
  width: 80px;
  /* Ajusta el tamaño de la imagen */
  height: 30px;
  object-fit: scale-down;
  z-index: 100;
  /* align-items: left;
  text-align: left;
  justify-content: left;*/
}

.tab-icon {
  margin-top: 5px;
  width: 40px;
  /* Ajusta el tamaño del icono */
  height: 30px;
  object-fit: scale-down;
  text-align: center;
}

.tab-icon2 {
  margin-top: 0px;
  width: 40px;
  /* Ajusta el tamaño del icono */
  height: 30px;
  object-fit: scale-down;
}



/* Set default styles for tab content */
.tabcontent2 {
  color: white;
  display: none;
  padding: 2px;
  text-align: left;
}

.form {
  border: 0px solid #252424;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
}

.fonte {
  text-align: center;
  font-size: 16px;
  padding: 8px;
  font-style: normal;
  font-weight: normal;
}

.login-container {
  margin: auto;
  background: white;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  border: 0px solid #252424;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 95%;
  max-width: 400px;
  box-sizing: border-box;
  text-align: left;
}

.login-container h1 {
  margin: 0 0 20px;
  font-size: 24px;
  text-align: center;
  color: #ccc;
}

.login-container input[type="text"],
.login-container input[type="password"] {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.login-container button {
  width: 100%;
  padding: 10px;
  background-color: #3e5f8a;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.login-container button:hover {
  background-color: #0056b3;
}

/*@media (min-width: 768px) {
  .login-container {
    width: 400px;
  }
}*/

/*///////////////////////////////////////////////*/
input[type=text],
input[type=password] {
  width: 100%;
  padding: 16px 8px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

/*button {
  background-color: #8ebf42;
  color: white;
  padding: 14px 0;
  margin: 10px 0;
  border: none;
  cursor: pointer;
  width: 100%;
}*/

h1 {
  text-align: center;
  font-size: 18px;
}

h4 {
  text-align: center;
  font-size: 12px;
  margin: 0 0 20px;
}

button:hover {
  opacity: 0.8;
}

.button {
  border: none;
  background-color: transparent;
  color: transparent;
  padding: 15px 15px;
  text-align: center;
  text-decoration: none;
  display: none;
  /*inline-block;*/
  font-size: 20px;
  margin: 4px 2px;
  cursor: pointer;
}

.button1 {
  background-color: #3e5f8a;
  display: block;
  width: 100%;
}

.button1-imagen {
  background-image: url("../iconos/128_cst_2024.png");
  /*background-size: contain; /* O cover */
  background-repeat: no-repeat;
  background-position: center;
  height: 100px;
  box-sizing: border-box;
  /*border: 4px inset whitesmoke;*/
  border: 2px groove whitesmoke;
  color: white;
  /* Cambia el color del texto si es necesario */
  padding: 10px;
  background-color: white;
  text-align: center;
  display: block;
  width: 100%;
}

.button10 {
  text-align: center;
  text-decoration: none;
  background-color: none;
  color: none;
  /*#3e5f8a;*/
  display: none;
  /*width: 100%;*/
  width: 200px;
}

.footer2 {
  position: relative;
  /*bottom: 0;*/
  width: 100%;
  padding: 10px 0;
  background-color: #3e5f8a;
  /*#4caf50;*/
  color: white;
  flex-shrink: 0;
  align-items: center;
}

.footer2 ul {
  list-style: none;
  display: flex;
  /*justify-content: space-between;*/
  justify-content: space-around;
  align-items: center;
}


.footer2 a {
  color: white;
  text-decoration: none;
  justify-content: center;
  text-align: center;
}

.footer2 li {
  flex: 1;
  text-align: center;
  justify-content: center;
  align-items: center;
  position: relative;
}

.footer2 li+li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: #f0f0f0;
}

.help-icon {
  position: fixed;
  bottom: 70px;
  right: 20px;
  background: rgba(0, 123, 255, 0.8);
  /*rgb(199, 199, 199, 0.8);*/
  /*#007bff;*/
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(128, 128, 128, 0.8);
  z-index: 9999;
}


.tooltip {
  position: fixed;
  bottom: 120px;
  right: 20px;
  background: rgba(0, 123, 255, 0.9);
  /*rgba(168, 168, 168, 0.9);*/
  color: white;
  padding: 10px;
  border-radius: 5px;
  font-size: 14px;
  display: none;
  max-width: 250px;
  box-shadow: 0px 4px 6px rgba(128, 128, 128, 0.8);
  z-index: 9999;
}

.tooltip p {
  display: flex;
  /* Usa flexbox */
  align-items: center;
  /* Alinea verticalmente */
  gap: 8px;
  /* Espacio entre icono y texto */
  margin: 10px 0;
}

.icon {
  width: 24px;
  /* Tamaño fijo para iconos */
  text-align: center;
  /* Centra el icono */
}

/* Estilo para el texto dentro del tooltip */
/*.tooltip p {
  margin: 10px 0;
}*/


/* Estilo de los íconos */
.tooltip i {
  margin-right: 8px;
}