*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  background-image: url("imagen/fondo.png");
  background-size: cover;
  background-position: center; /* Centrar la imagen */
  background-repeat: no-repeat; /* No repetir la imagen */
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh; /* Ajustar a la altura completa de la ventana */
  position: relative;
  overflow: auto;
}
.header {
  width: 100%;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.header img {
  width: 100%;
  height: auto;
}
.container {
  background-color: transparent;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  margin-top: 20px;
  position: relative;
  z-index: 1;
  width: 100vw;
  max-width: none;
  box-sizing: border-box;

  overflow: hidden;
}
.watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.1;
  pointer-events: none;
  z-index: -1;
  width: 150px;
  height: auto;
}
.form-container {
  background-color: rgba(0, 51, 102, 0.8);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 2;
  max-height: 80%;
  overflow-y: auto;
  margin-top: 20px;
  width: calc(100% - 40px);
  max-width: 600px;
  position: absolute; /* Cambiar a posición absoluta */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: default; /* Cambiar el cursor por defecto */
}
.form-container h2 {
  cursor: move; /* Cambiar el cursor a mover solo en el encabezado */
}
.form-group {
  margin-bottom: 15px;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: calc(100% - 20px);
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  background-color: #f9f9f9; /* Fondo claro */
  color: #333; /* Texto oscuro */
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #005c99;
  outline: none;
  background-color: #fff; /* Fondo blanco al enfocar */
}
.form-group button {
  background-color: #0077cc;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  width: auto;
  font-size: 16px;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Añadir sombra */
  margin: 10px 0; /* Añadir margen entre botones */
}

#boton_accidente_form{
  display: flex;

  justify-content: center;
  align-items: center;
}

.form-group button:hover {
  background-color: #005c99;
  transform: scale(1.05); /* Aumentar ligeramente el tamaño al pasar el mouse */
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* Aumentar la sombra al pasar el mouse */
}
.form-group button:active {
  transform: scale(0.98); /* Reducir ligeramente el tamaño al hacer clic */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Reducir la sombra al hacer clic */
}
.form-group input[type="file"] {
  display: none; /* Ocultar el input de archivo */
}
.form-group label[for="report-evidence"] {
  background-color: #0077cc;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Añadir sombra */
  margin: 10px 0; /* Añadir margen entre botones */
  display: inline-block;
}
.form-group label[for="report-evidence"]:hover {
  background-color: #005c99;
  transform: scale(1.05); /* Aumentar ligeramente el tamaño al pasar el mouse */
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* Aumentar la sombra al pasar el mouse */
}
.form-group label[for="report-evidence"]:active {
  transform: scale(0.98); /* Reducir ligeramente el tamaño al hacer clic */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Reducir la sombra al hacer clic */
}
.menu {
  display: flex;
  justify-content: center;
  gap: 20px;
  background-color: rgba(0, 51, 102, 0.9);
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-top: 10px;
  position: relative;
  z-index: 1000; /* Asegurar que el menú esté por encima de otros elementos */
  width: 100%; /* Ancho completo de la pantalla */
}

.menu-item {
  padding: 15px 20px;
  color: white;
  text-align: center;
  border: none;
  /* background-color: #b0b8bd; */
  cursor: pointer;
  transition: transform 0.3s, background-color 0.3s, color 0.3s;
  width: auto; /* Ajustar el ancho automáticamente */
  height: auto; /* Ajustar la altura automáticamente */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px; /* Tamaño de fuente ajustado */
  border-radius: 5px; /* Bordes redondeados */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Sombra para un efecto más profesional */
  position: relative; /* Necesario para el submenú */

  /*  */
  font-size: 12px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: "Roboto", sans-serif;
  padding: 6px 14px;
  background: rgba(0, 119, 204, 0.45);
  border-radius: 6px;
  border: none;
  min-height: 28px;
  min-width: 80px;
  height: auto;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.menu-item:hover {
  transform: scale(1.05); /* Aumentar ligeramente el tamaño al pasar el mouse */
  background-color: #005c99;
  color: #ffffff;

  transform: scale(1.05);
}
.menu-item img {
  width: 40px; /* Ajusta el tamaño según sea necesario */
  height: 40px; /* Ajusta el tamaño según sea necesario */
  object-fit: cover;
  border-radius: 5px;
}

.sub-menu {
  display: none;
  flex-direction: column;
  background-color: rgba(0, 51, 102, 0.8);
  border-radius: 5px;

  padding: 10px;
  position: absolute;
  top: 100%; /* Posicionar debajo del botón */
  left: 0;
  z-index: 1001; /* Asegurar que el submenú esté por encima de otros elementos */
}
.menu-item:hover .sub-menu,
.sub-menu:hover {
  display: flex;
}

.menu-item img {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  object-fit: contain;
}
.menu-item,
.menu-item * {
  font-family: "Roboto", sans-serif;
}

.sub-menu-item {
  padding: 10px;
  color: white;
  text-align: left;
  border: none;
  background: white;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  margin: 10px 0 0 0;
  
}
.sub-menu-item:hover {
  background-color: #005c99;
  color: #fff;
}


.sub-menu,
.sub-menu-item,
.sub-menu-item * {
  font-size: 12px !important;
  text-transform: uppercase;
  font-family: "Roboto", sans-serif;
  background: rgba(0, 119, 204, 0.45); /* Azul más transparente (original) */
  border-radius: 6px;
  min-height: 28px;
  min-width: 80px;
  padding: 6px 14px;
  color: #ffffff;
  box-shadow: none;
  filter: none;
  animation: none;
  border: none;
  text-shadow: none;
  text-decoration: none;
}
.sub-menu-item:hover {
  background: rgba(0, 92, 153, 0.55);
  filter: none;
  box-shadow: none;
}


.assistant {
  position: fixed;
  bottom: 100px;
  right: 20px;
  cursor: pointer;
  z-index: 1000;
}
.assistant img {
  width: 100px;
  height: auto;
}
.assistant-box {
  position: fixed;
  bottom: 360px;
  right: 20px;
  background: rgba(0, 51, 102, 0.9);
  color: white;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  width: 370px;
  z-index: 1001;
  display: none;
  transition: all 0.3s ease;
}
.contact-info,
.about-menu,
.mission-info,
.vision-info,
.history-info,
.legal-base-info {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 51, 102, 0.9);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 3;
  color: white;
  max-width: 600px;
  text-align: left;
  overflow-y: auto;
  max-height: 400px;
  line-height: 1.5;
}
.spacer {
  height: 2000px;
}
.button-image {
  position: absolute;
  top: 2px; /* Ajustado para estar debajo del cintillo */
  right: 900px; /* A la derecha */
  width: 10cm; /* Ancho de 80 centímetros */
  transform: rotate(340deg); /* Rotación de 300 grados */
  cursor: pointer;
}







/* Estilos para el contenedor principal del carrusel */
.carousel {
  /* max-width: 800px; Ajusta este valor al ancho máximo deseado */
  margin-left: auto; /* Para centrar si el ancho es menor que el 100% */
  margin-right: auto;
}

/* Estilos para el contenedor interno de las diapositivas */
#carousel-inner {
  display: flex;
  transition: transform 0.6s ease-in-out; /* Animación suave */
  gap: 10px; /*Ajusta este valor al espacio deseado entre los items*/
}

/* Ya no necesitas el margen derecho en .carousel-item */
.carousel-item {
  position: relative;
  display: flex;
  flex-shrink: 0;
  width: 100%;
  height: auto;
}

.carousel-item img,
.carousel-item video {
  max-height: 400px;
  width: 60%;
  object-fit: cover;
}

.fondo{
  position: absolute;
  width: 60%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.1));
}

/* Estilos para el fondo transparente de la ক্যাপশন */

/* Estilos para el contenedor principal del carrusel */
.carousel {
  /* max-width: 800px; Ajusta este valor al ancho máximo deseado */
  margin-left: auto; /* Para centrar si el ancho es menor que el 100% */
  margin-right: auto;
}

/* Estilos para el contenedor interno de las diapositivas */
#carousel-inner {
  display: flex;
  transition: transform 0.6s ease-in-out; /* Animación suave */
  gap: 10px; /*Ajusta este valor al espacio deseado entre los items*/
}

/* Ya no necesitas el margen derecho en .carousel-item */
.carousel-item {
  position: relative;
  display: flex;
  flex-shrink: 0;
  width: 100%;
  height: auto;
}

/* Estilos compartidos para imágenes y videos */
.carousel-item img,
.carousel-item iframe {
  max-height: 400px;
  width: 60%;
  object-fit: cover;
}

/* Fondo para ambos (imágenes y videos) */
.fondo {
  position: absolute;
  width: 60%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.1));
  
}

/* Estilos para la descripción (compartido) */
.carousel-caption {
  position: relative;
  padding: 15px;
  color: #fff;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.7);
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.carousel-caption h3 {
  font-size: 35px;
  margin-top: 0;
  margin-bottom: 0.3rem;
}

.carousel-caption p {
  margin-bottom: 0;
}

/* Estilos para los controles (flechas) */
.carousel-control {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5%;
  padding: 0;
  color: #fff;
  text-align: center;
  opacity: 0.5;
  transition: opacity 0.15s ease;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.carousel-control:hover,
.carousel-control:focus {
  color: #fff;
  text-decoration: none;
  outline: 0;
  opacity: 0.9;
}

.carousel-control.left {
  left: 0;
}

.carousel-control.right {
  right: 0;
}

.carousel-control-icon {
  width: 15px; /* Reduce el ancho del icono */
  height: 15px; /* Reduce la altura del icono */
  font-size: 1rem; /* Reduce el tamaño de la fuente del carácter */
}

.carousel-control {
  width: 3%; /* Reduce el ancho de la zona clickable de los controles */
}



.carousel-control.left::before {
  content: '❮'; /* Usando el carácter directamente */
}

.carousel-control.right::before {
  content: '❯'; /* Usando el carácter directamente */
}

/* Estilos para los indicadores (botones de abajo) */
.carousel-indicators {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 0;
  margin-right: 15%;
  margin-bottom: 1rem;
  margin-left: 15%;
  list-style: none;
}

/* Reducir el tamaño de los indicadores */
.carousel-indicators button {
  width: 8px; /* Reduce el ancho de los puntos */
  height: 8px; /* Reduce la altura de los puntos */
  margin-right: 2px; /* Reduce el margen */
  margin-left: 2px; /* Reduce el margen */

  background-color: rgba(255, 255, 255, 0.5); /* Color de fondo de los puntos */
  border-radius: 50%; /* Hacerlos circulares */
  border: none; /* Sin borde */
  opacity: 0.5; /* Opacidad inicial */
  transition: opacity
}
.carousel-indicators button.active {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.9);
}







.centrar{
  display: flex;

  justify-content: center;
  align-items: center;
}

/* Estilos para los botones circulares */
.interest-section {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-areas:
          "TITULO TITULO TITULO TITULO TITULO"
          "UNO DOS TRES CUATRO CINCO";  

  gap: 15px;
}

#section-interes-text{
  grid-area: TITULO;

  text-align: center
}

#section-interes-text:hover{
  transform: scale(1.1);

  cursor: pointer;
}

#section-interes-text:active{
  cursor: default;
}

.interest-button:nth-child(2){
  grid-area: UNO;

  justify-self: right;
  align-self: center;
}

.interest-button:nth-child(3){
  grid-area: DOS;

  justify-self: left;
  align-self: center;
}

.interest-button:nth-child(4){
  grid-area: TRES;

  justify-self: right;
  align-self: center;
}

.interest-button:nth-child(5){
  grid-area: CUATRO;

  justify-self: left;
  align-self: center;
}

.interest-button:nth-child(6){
  grid-area: CINCO;

  justify-self: center;
  align-self: center;
}

.interest-button {
  display: inline-block;
  width: 180px;
  background-color: rgba(255, 255, 255, 0.212);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  cursor: pointer;
}
.interest-button img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}
.interest-button:hover {
  transform: scale(1.2);
}

.social-container {
  margin-top: 30px;
  background-color: rgba(255, 255, 255, 0.212); /* Cuadro transparente */
  padding: 10px;
  border-radius: 50px;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  justify-content: center;
  gap: 15px;
}

#social-title-titulo{
  margin-top: 15px;
}


.social-button {
  width: 80px;
  height: 80px;
  cursor: pointer;
  transition: transform 0.3s;
}
.social-button:hover {
  transform: scale(1.2); /* Aumentar tamaño al pasar el mouse */
}






.footer {
  text-align: center;
  padding: 10px;
  background-color: rgba(0, 51, 102, 0.524);
  color: white;
  width: 100%;
  position: relative;
  bottom: 0;

  font-size: 14px;
}

.chat-response {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 10px;
  padding: 10px;
}
.chat-input {
  display: flex;
  gap: 10px;
}
.chat-input input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}
.chat-input button {
  background-color: #0077cc;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.chat-input button:hover {
  background-color: #005c99;
}
.press-room {
  background-color: rgba(0, 51, 102, 0.9);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-top: 20px;
  color: white;
  text-align: left;
  max-width: 800px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.press-room h2 {
  text-align: center;
  margin-bottom: 20px;
}
.press-article {
  margin-bottom: 20px;
  padding: 10px;
  border-bottom: 1px solid #ccc;
}
.press-article h3 {
  margin: 0;
  font-size: 18px;
}
.press-article p {
  margin: 5px 0;
  font-size: 14px;
}
.press-article a {
  color: #0077cc;
  text-decoration: none;
}
.press-article a:hover {
  text-decoration: underline;
}
.press-article img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-top: 10px;
}
.news-room {
  
  background-color: transparent;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-top: 20px;
  color: white;
  text-align: left;
}
.news-room::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("imagen/bandera%20de%20venezuela.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.1; /* Ajustar la opacidad para la marca de agua */
  z-index: -1; /* Colocar detrás del contenido */
  border-radius: 10px; /* Mantener el borde redondeado */
}
.news-room h2 {
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase; /* Convertir el texto a mayúsculas */
}
.news-article {
  display: flex; /* Usar flexbox para alinear la imagen y el contenido */
  align-items: center; /* Alinear verticalmente al centro */
  margin-bottom: 20px;
  padding: 10px;
  border-bottom: 1px solid #ccc;
}
.news-article img {
  width: 150px; /* Ajustar el ancho de la imagen */
  height: auto;
  border-radius: 5px;
  margin-right: 20px; /* Espacio entre la imagen y el contenido */
}
.news-article-content {
  flex: 1; /* Tomar el espacio restante */
}
.news-article h3 {
  margin: 0;
  font-size: 18px;
}
.news-article p {
  margin: 5px 0;
  font-size: 14px;
}
.news-article a {
  color: #0077cc;
  text-decoration: none;
}
.news-article a:hover {
  text-decoration: underline;
}

@media  (max-width: 768px){
  .news-article {
    margin-bottom: 20px;
    padding: 10px;
    border-bottom: 1px solid #ccc;
  
    display: grid !important;
    align-items: center;
    justify-items: center;
  }

  .news-article img{
    margin-bottom: 20px;
  }
}





.history-info p {
  margin-bottom: 10px;
}
.history-info h3 {
  margin-top: 20px;
}
.history-info table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.history-info table,
.history-info th,
.history-info td {
  border: 1px solid #ccc;
}
.history-info th,
.history-info td {
  padding: 8px;
  text-align: left;
}
.history-info th {
  background-color: #005c99;
  color: white;
}
.history-info .close-button {
  background-color: #0077cc;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 20px;
}
.history-info .close-button:hover {
  background-color: #005c99;
}
.history-info {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 51, 102, 0.9);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 3;
  color: white;
  max-width: 80%;
  text-align: left;
  overflow-y: auto;
  max-height: 80%;
  line-height: 1.5;
}
.about-menu button {
  background-color: #0077cc;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s, transform 0.3s;
  margin: 5px;
}
.about-menu button:hover {
  background-color: #005c99;
  transform: scale(1.05);
}
.close-contact {
  background-color: #ff4d4d;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s, transform 0.3s;
  position: absolute;
  top: 10px;
  right: 10px;
}
.close-contact:hover {
  background-color: #cc0000;
  transform: scale(1.1);
}
.sub-menu-container {
  display: none;
  margin-top: 10px;
}
.sub-menu-container.active {
  display: block;
}
.form-selection {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
.form-selection button {
  background-color: #0077cc;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.form-selection button:hover {
  background-color: #005c99;
  transform: scale(1.05);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}
.form-selection button:active {
  transform: scale(0.98);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.button-image {
  position: absolute;
  top: 2px; /* Ajustado para estar debajo del cintillo */
  right: 900px; /* A la derecha */
  width: 5cm; /* Ancho de 5 centímetros */
  height: 5cm; /* Altura de 5 centímetros */
  cursor: pointer;
}

.photo-button {
  width: 10cm; /* Ancho de 10 cm */
  height: 10cm; /* Altura de 10 cm */
  background-image: url("imagen/etica raya.png");
  background-size: cover;
  background-position: center;
  background-color: transparent; /* Fondo transparente */
  border: none;
  cursor: pointer;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  position: absolute;
  left: 20px; /* Alinear al lado izquierdo */
  margin-top: 9%;
  margin-left: 5%;
  

  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Añadir transición para el efecto */
  
}
.photo-button:hover {
  transform: scale(1.05); /* Aumentar el tamaño al pasar el cursor */
 
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}
.photo-button:active {
  
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
/* CONTENEDOR DE NOTICIAS */
.noticias-container {
  background-color: rgba(0, 51, 102, 0.9);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-top: 20px;
  color: white;
  text-align: left;
  margin: 0 10px 40px 10px;

  width: 90%;
}

/* CONTENEDOR DE NOTICIA INDIVIDUAL */
.container-article {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  padding: 10px;
}

.noticias-title {
  text-align: center;
  justify-content: center;
  align-items: center;
}

/* ARTICULO DE NOTICIAS */
.noticias-article {
  margin: 20px 20px 20px 20px;
  width: 600px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  overflow: hidden;
}

/* Titulo de noticias */
.noticias-article h3 {
  margin: 0 0 20px 0;
  font-size: 18px;
  text-align: center;
}

/* Contenedor de imagen de noticias */
.cont_img {
  width: 200px;
  height: 200px;

  display: flex;

  justify-content: center;
  align-items: center;
}
.cont_img img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* Descripcion de la noticia */
.noticias-article p {
  width: 200px;
  margin: 5px 0;
  font-size: 14px;
  text-align: justify;
  word-wrap: break-word;
}

/* Boton leer mas */
.noticias-article a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-family: "Roboto";

  margin-top: 15px;

  padding: 5px;

  border: 2px solid #0077cc;

  border-top: none;
  border-left: none;
  border-right: none;
}

.noticias-article a:hover {
  text-decoration: none;

  transform: scale(1.1);
}

/* Media Query para pantallas menores a 800px */
@media (max-width: 800px) {
  .container-article {
    flex-direction: column; /* Apila los elementos verticalmente */
    align-items: center; /* Centra los elementos horizontalmente */
  }

  .noticias-article {
    width: 90%; /* Ajusta el ancho para pantallas más pequeñas */
    margin: 20px 0 0 0; /* Centra los artículos y añade margen */

    display: flex !important;

    justify-content: center;
    align-items:center;
  }

  .noticias-article:nth-child(2) {
    border-top: 2px solid #1d9af3;
    padding: 20px 0 0 0;
  }

  .noticias-article:nth-child(3) {
    border-top: 2px solid #1d9af3;
    padding: 20px 0 0 0;
  }
}

/* Media Query para pantallas mayores a 801px */
@media (min-width: 801px) {
  .container-article {
    flex-direction: row; /* Mantiene los elementos en fila */
    justify-content: center; /* Centra los elementos horizontalmente */
  }
  .noticias-article {
    width: 600px;

    display: flex !important;
  }

  .noticias-article:first-child {
    border-right: 2px solid #1d9af3;

    padding: 0 20px 0 0;

    display: flex !important;

  }

  .noticias-article:nth-child(3) {
    border-left: 2px solid #1d9af3;
    padding: 0 0 0 20px;

    display: flex !important;
  }
}

/* ASISTENTE VIRTUAL */
.assistant-message {
  margin: 10px 0 10px 0;
  text-align: justify;
}

.assistant-message div:nth-child(1) {
  text-align: right;
}

.assistant-message div:nth-child(2) {
  text-align: justify;
}

.user-message {
  margin: 10px 0 10px 0;
  text-align: left;

  text-align: justify;
}


.inpsasel-button {
  background-color: transparent;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease; /* Añadir transición para el efecto */
}

.inpsasel-button:hover {
  transform: scale(1.1); /* Aumentar el tamaño al pasar el cursor */
}

@media (max-width: 768px) {
  .menu {
      flex-direction: column;
      gap: 10px;
  }
  .menu-item {
      font-size: 10px;
      padding: 10px;
  }
  .carousel {
      height: 4cm; /* Ajustar altura para pantallas pequeñas */
  }
  .carousel img, .carousel video {
      width: 100%; /* Ajustar ancho al 100% */
      height: auto; /* Mantener proporción */
  }
  .carousel-caption {
      width: 100%;
      margin-left: 0;
  }

  .interest-button {
      width: 100%;
  }

  .social-container {
    border-radius: 5px;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    grid-template-areas: "UNO DOS"
                         "TRES CUATRO";
  
    justify-content: center;
  }

  .social-button:nth-child(1) {
      grid-area: UNO;

      width: 60px;
      height: 60px;
  }

  .social-button:nth-child(2) {

    grid-area: DOS;

    width: 60px;
    height: 60px;
}

.social-button:nth-child(3) {
  grid-area: TRES;

  width: 60px;
  height: 60px;
}

.social-button:nth-child(4) {
  grid-area: CUATRO;

  width: 60px;
  height: 60px;
}


  .form-container {
      width: 90%;
      max-width: 400px;
  }
}

.ribbon-container {
position: relative;
display: inline-block;
margin: 20px; /* Espaciado alrededor del contenedor */
}


.ribbon {
  position: relative; /* Cambiado a relative para que se alineen verticalmente */
  height: 50px;
  background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
  color: white;
  text-align: center;
  line-height: 50px;
  border-radius: 5px; /* Bordes redondeados */
  overflow: hidden;
  white-space: nowrap;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px; /* Espaciado entre los botones */
}




.ribbon img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  border-radius: 5px;
}

.ribbon-container button {
  background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 10px; /* Espaciado entre el botón y los enlaces */
}

.ribbon-container button:hover {
  background-color: rgba(0, 0, 0, 0.7); /* Fondo más oscuro al pasar el ratón */
}

#tv-links {
  display: none; /* Ocultar enlaces inicialmente */
  margin-top: 10px; /* Espaciado entre el botón y los enlaces */
}

.datetime-container {
  position: fixed;
  top: 10px;
  right: 10px;
  background-color: rgba(0, 51, 102, 0.9);
  color: white;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  text-align: center;
}
.blinking-button {
  position: relative;
  
  left: 20px;
  width: 140px; /* Aumentar el tamaño del botón */
  height: 140px; /* Aumentar el tamaño del botón */
  background-image: url('imagen/boton%20accidente.png');
  background-size: cover;
  background-position: center;
  background-color: transparent; /* Fondo transparente */
  border: none;
  cursor: pointer;
  animation: blink 1s infinite, emergency-light 1s infinite;
  z-index: 1000;

  transition: transform 0.3s ease; /* Añadir transición para el efecto */


  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes emergency-light {
  0%, 100% { box-shadow: 0 0 20px 10px rgba(255, 0, 0, 0.5); }
  50% { box-shadow: 0 0 20px 10px rgba(255, 0, 0, 1); }
}

.coctelera {
  position: relative;
  width: 180px; /* Ajusta el tamaño según sea necesario */

}
.accident-form {
  display: none;
  
  position: fixed;
  top: 50%;
  left: 50%;
  
  transform: translate(-50%, -50%);
  background-color: rgba(0, 51, 102, 0.9);
  padding: 80px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 1001;
  color: white;
  max-width: 600px;
  width: 100%;
  max-height: 80%;
  overflow: auto;
}

.accident-form h2 {
  margin-top: 0;
}

.accident-form .form-group {
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.accident-form .form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  width: 100%;
}

.accident-form .form-group input,
.accident-form .form-group select,
.accident-form .form-group textarea {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  background-color: #f9f9f9;
  color: #333;
}

.accident-form .form-group button {
  background-color: #0077cc;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 10px 0;
}

.accident-form .form-group button:hover {
  background-color: #005c99;
  transform: scale(1.05);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.accident-form .form-group button:active {
  transform: scale(0.98);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.accident-form .close-button {
  background-color: #ff4d4d;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s, transform 0.3s;
  position: absolute;
  top: 10px;
  right: 10px;
}

.accident-form .close-button:hover {
  background-color: #cc0000;
  transform: scale(1.1);
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}


.inpsasel-button {

  background-color: transparent;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease; /* Añadir transición para el efecto */
}

.inpsasel-button:hover {
  transform: scale(1.1); /* Aumentar el tamaño al pasar el cursor */
}

@media (max-width: 768px) {
  .menu {
      flex-direction: column;
      gap: 10px;
  }
  .menu-item {
      font-size: 10px;
      padding: 10px;
  }
  .carousel {
      height: 200px; /* Ajustar altura para pantallas pequeñas */
  }
  .carousel img, .carousel video {
      width: 100%; /* Ajustar ancho al 100% */
      height: auto; /* Mantener proporción */
  }
  .carousel-caption {
      width: 100%;
      margin-left: 0;
  }

  .carousel-item img,
  .carousel-item video{
    width: 60%;
  }
  .carousel-item .carousel-caption{
    width: 40%;
  }

  .interest-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: "TITULO TITULO"
                         "UNO DOS" 
                         "TRES CUATRO" 
                         "CINCO CINCO";  

    gap: 15px;
  }

  #section-interes-text{
    grid-area: TITULO;
  
    justify-self: center;
    align-self: center;
  }
  
  .interest-button:nth-child(2){
    grid-area: UNO;

    justify-self: right;
    align-self: center;
  }
  
  .interest-button:nth-child(3){
    grid-area: DOS;

    justify-self: left;
    align-self: center;
  }
  
  .interest-button:nth-child(4){
    grid-area: TRES;

    justify-self: right;
    align-self: center;
  }
  
  .interest-button:nth-child(5){
    grid-area: CUATRO;

    justify-self: left;
    align-self: center;
  }
  
  .interest-button:nth-child(6){
    grid-area: CINCO;

    justify-self: center;
    align-self: center;
  }

  .social-button {
      width: 60px;
      height: 60px;
  }
  .form-container {
      width: 90%;
      max-width: 400px;
  }
}

.ribbon-container {
position: relative;
display: inline-block;
margin: 20px; /* Espaciado alrededor del contenedor */
}

.blinking-button:hover{
  transform: scale(1.1); /* Aumentar el tamaño al pasar el cursor */
}


#svg-hamburger{
  display: none;

  width: 40px;
  height: 40px;
}


@media (max-width: 768px){

  #svg-hamburger{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40px;
  }

  #svg-hamburger svg{
    width: 40px;
    height: 40px;
  }

  #svg-hamburger:hover{
    cursor: pointer;
  }

  #svg-hamburger:active{
    cursor: default;
  }

  .menu-responsive{
    display: none;
    width: 100%;
    /* Añade un z-index bajo para que los submenús lo superen */
    z-index: 10;

    position: relative;
  }

  .menu-responsive .menu-item{
    width: 100%;
    background-color: rgba(0, 51, 102, 0.9);
    padding: 0;
    /* Asegúrate de que el menu-item no cree un contexto de apilamiento innecesario */
    position: relative;

    z-index: 7;
    border-radius: 0;
  }

  .menu-responsive .menu-item p,
  .menu-responsive .menu-item img{
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 99;
  }

  .menu{
    display: none;
  }

  .menuHambuger{
    width: 100%;
    background-color: rgba(0, 51, 102, 0.9);
  }

  #sub-menu-1{
    display: none;

    position: absolute;

    z-index: 9999;

    top: -55px;
    left: 50%;

    transform: translateX(-50%);

    transition: all 0.5s linear;
  }

  #sub-menu-1 a{
    background:#155d8d;
  }

  #sub-menu-1 a:hover{
    background:#228cd3;
  }

  .menu-item:hover + #sub-menu-1,
  #sub-menu-1:hover {
    display: flex;

    top: 55px;
  }




  #sub-menu-2{
    display: none;

    position: absolute;

    z-index: 9999;

    top: 80px;
    left: 50%;

    transform: translateX(-50%);
  }

  #sub-menu-2 button{
    background:#155d8d;
  }

  #sub-menu-2 button:hover{
    background:#228cd3;
  }

  .menu-item:hover + #sub-menu-2,
  #sub-menu-2:hover {
    display: flex;

    transform: translateX(-50%);
  }

  .sub-menu-item {
    /* Estilos adicionales para los items del submenú si es necesario */
    padding: 8px 15px;
    text-align: left;
    color: white;
    text-decoration: none;
  }

  

}

@media (min-width: 769px){

  #svg-hamburger{
    display: none;

    justify-content: center;
    align-items: center;

    width: 100%;
    height: 40px;
  }

  #svg-hamburger svg{
    width: 40px;
    height: 40px;
  }
  
  #svg-hamburger:hover{
    cursor: pointer;
  }
  
  #svg-hamburger:active{
    cursor: default;
  }

  .menu{
    display: flex;
  }

  .menu-responsive{
    display: none !important;
    width: 100%;
    /* Añade un z-index bajo para que los submenús lo superen */
    z-index: 10;

    position: relative;
  }

  
}




@media (min-width: 769px){
  .centrar_2{
    display: grid !important;
  
    grid-template-columns: 800px 250px;
  
    grid-template-areas: "EFE VERMAS";
  
    margin: 0 0px 0 0px;
  
    justify-content: center;
    justify-items: center;
  }
  
  .news-room{
    grid-area: EFE;
  
    justify-self: right;
    align-self: center;
  
    width: 100%;
  }
  
  .ribbon-container{
    grid-area: VERMAS;
  
    
    justify-self: left;
    align-self: flex-start;
  }
}


@media (max-width: 768px){
  .centrar_2{
    display: grid !important;
  
    grid-template-columns: 400px;
  
    grid-template-areas: "EFE" 
                         "VERMAS";
  
    margin: 0 0px 0 0px;
  
    justify-content: center;
    justify-items: center;
  }
  
  .news-room{
    grid-area: EFE;
  
    justify-self: right;
    align-self: center;
  
    width: 100%;
  }
  
  .ribbon-container{
    grid-area: VERMAS;
  
    
    justify-self: center;
    align-self: center;
  }
}