/* Dropdown hover */
.dropdown-submenu:hover .dropdown-menu{
    display: block;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-texto {
  margin-top: 0px; /* Ajusta según sea necesario */
  margin-left: 12px; /* Ajusta el espacio entre la imagen y el texto */
  font-size: 15.5px; /* Cambia el tamaño del texto */
  color: #327cb9; /* Cambia el color del texto */
  font-family:'Arial', 'sans-serif'; /* Cambia la fuente */
  font-weight: 600;
  letter-spacing: 1px; /* Añade espacio entre las letras */
  line-height: 1;
  word-break: break-all; /* Rompe las palabras largas en letras individuales si es necesario */
  overflow-wrap: break-word; /* Rompe las palabras completas al final del contenedor */
  text-align: left; /* Asegura que el texto quede alineado a la izquierda */
  white-space: normal; /* Permite que el texto envuelva líneas */ 
}

/* Cambiar el fondo del navbar */
.navbar {
  background-color: #ffffff; /* Cambia el color de fondo del navbar */
  box-shadow: 0px 1px 10px 1px rgba(46, 109, 226, 0.952);
  margin-bottom: 3px;
  padding: 8px;
  height: 62px;
  z-index: 1;

}

/* Cambiar color de texto de los enlaces del menú */
.navbar-nav .nav-link {
  color: #327cb9 !important; /* Cambia el color del texto */
  font-size: 13.8px; /* Cambia el tamaño del texto */
  font-weight: 500 !important;
  letter-spacing: 0.7px;
  margin-left: 10px;
  text-transform: uppercase;
}

.navbar-nav .dropdown-menu{
  background-color: rgba(22, 30, 51, 0.7);
}


/* Cambiar color de texto de los elementos del dropdown */
.dropdown-menu .dropdown-item {
  color: #ffffff !important; /* Cambia el color del texto en el dropdown */
  font-weight: 500 !important;
  font-size: 13.8px !important;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

/* Cambiar color de texto del elemento del dropdown al pasar el mouse */
.dropdown-menu .dropdown-item:hover {
  background-color: #f0f0f0; /* Cambia el color de fondo al pasar el mouse */
  color: #4e70b8 !important; /* Cambia el color del texto al pasar el mouse */
  font-weight: 600 !important;
}

.dropdown-menu {
  display: none;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
}

/* Submenu styling */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: 0;
}

/* Ajustar la posición de los submenús*/
.dropdown-submenu:hover .dropdown-menu {
    top: 0;
    left: 100%;
}

/* Mostrar submenús cuando tienen la clase .show (para móviles) */
.dropdown-submenu .dropdown-menu.show {
  display: block !important;
  position: static; /* Asegura que se apile correctamente */
}
/* Solo en móviles: mantener el submenú visible si tiene clase .show */
@media (max-width: 991px) {
  .dropdown-submenu .dropdown-menu {
    display: none;
  }

  .dropdown-submenu .dropdown-menu.show {
    display: block !important;
    position: static !important;
    margin-left: 1rem;
    background-color: rgba(22, 30, 51, 0.9); /* similar a tu estilo actual */
  }
}

/* h margin */
h1 {
  margin: 0 0 0;
}

h2 {
  margin: 0 0 0;
}

h3 {
  margin: 0 0 0;
}

h4 {
  margin: 0 0 0;
}

h5 {
  margin: 0 0 0;
}

h6 {
  margin: 0 0 0;
}

/* text over picture */
.picbackground {
  position: relative;
  text-align: center;
}

.textover {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* Circular background to svg */
.circlesvg {
  padding: 10px;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
  background: #468ecb;
}

.blacktowhitesvg {
  padding: 10px;
  filter: invert(91%) sepia(100%) saturate(361%) hue-rotate(176deg) brightness(114%) contrast(113%);
}

/* Square to circle picture */

.image-cropper {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
}

/* Click to show text */

.definition {
  display: none;
  margin-top: 10px;
  margin-bottom: 10px;
}

.toggle-definition {
  cursor: pointer;
}

.toggle-definition::after {
  content: " ▽";
  cursor: pointer;
}

.toggle-definition.active + .definition {
  display: block;
}

.toggle-definition.active::after {
  content: " △";
}


/* */

.column {
  float: left;
  padding: 8px;
  height: 40px;
  width: 265px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/**/
::selection {
  color: white;
  background-color: #0074ffcc !important;
}
::-moz-selection {
  color: white;
  background-color: #0074ffcc !important;
}
.bk_tb {
  background-color: white !important;
}

.list_dropdown {
 padding-top: 0px !important;
 margin-bottom: 15px !important;
}
.ilist_dropdown {
/* padding-top: 15px !important; */
 padding-bottom: 0px !important;
 font-family: 'Helvetica' !important;
 font-size: 100% !important;
 margin: 0px !important;
}
#idropdown {
  padding: 0px !important;
  margin-bottom: 20px !important;
  font-size: 100% !important;
}

html {
  scroll-behavior: smooth; }

#intro .h6 {
  font-weight: 300;
  line-height: 1.7; }

.hm-gradient .site-bg-img {
  background: rgba(5,25,55,0.7);
  background: linear-gradient(45deg, rgba(5,25,55,0.7), rgba(29, 210, 177, 0.7) 100%);
}

@media (max-width: 450px) {
  .margins {
    margin-right: 1rem;
    margin-left: 1rem; } }

a:link {
  color: black;
  font-weight: bold;
  text-decoration: none;
}

a:visited {
  color: black;
}

a:hover {
  text-decoration: underline;
}

/* Poner fondo a la izquierda*/
.carousel-control-prev:hover {
  width: 60px;
  background:linear-gradient(to right, rgba(0, 0, 0, 0.20), transparent);/* Cambia el color de fondo a un negro semi-transparente */
}

/* Poner fondo a la derecha*/
.carousel-control-next:hover {
  width: 60px;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.20), transparent); /* Cambia el color de fondo a un negro semi-transparente */
}

.carousel-control-prev-icon:after {
  content: '<'; /* Utiliza un símbolo de flecha izquierda */
  font-size: 40px; /* Ajusta el tamaño de la flecha */
  color: #246cbe; /* Color de la flecha */
  display: inline-block;
  transform: scaleY(2); 
  font-weight: 400;

}

.carousel-control-next-icon:after {
  content: '>'; /* Utiliza un símbolo de flecha derecha */
  font-size: 40px; /* Ajusta el tamaño de la flecha */
  color: #246cbe; /* Color de la flecha */
  display: inline-block;
  transform: scaleY(2); 
  font-weight: 400;
}

/* Cambia el color de las "bolitas" en estado normal */
.carousel .carousel-indicators li {
  width: .625rem;
  height: .625rem;
  cursor: pointer;
  border-radius: 50%;
  background-color: rgb(204, 204, 204, 0.8); /* Color para el estado normal */
}

/* Cambia el color de la "bolita" activa */
.carousel .carousel-indicators .active {
  background-color: rgba(119, 205, 255, 0.7); /* Color para el estado activo */
}


.hero-content {
  color: #468ECB;
  text-align: left;
  /* Nuevos estilos */
  position: absolute;
  top: 100px;
  left: 50px;
  /*left: 50%;
  transform: translateX(-50%); */
}

.hero-content h1 {
  font-size: 2rem;
}

/* imagen de fondo para mapa de frentes*/
.hero10 {
  background-image: url('/static/img/frentes1_1.png');
  background-size: cover;
  height: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero10-content {
  color: #468ECB;
  text-align: left;
  text-shadow: -3px 5px 4px #00000094;
  /* Nuevos estilos */
  position: absolute;
  top: 100px;
  left: 50px;
  /*left: 50%;
  transform: translateX(-50%); */
}

.hero10-content h1 {
  font-size: 4rem;
}

/* imagen de fondo para seccion divulgacion*/
.hero12 {
  background-image: url('/static/img/divulgacion1_1.png');
  background-size: cover;
  height: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero12-content {
  color: #FFFFFF;
  text-align: left;
  text-shadow: -3px 5px 4px #00000094;
  /* Nuevos estilos */
  position: absolute;
  top: 100px;
  left: 50px;
  /*left: 50%;
  transform: translateX(-50%); */
}

.hero12-content h1 {
  font-size: 4.8rem; /* Cambia el tamaño del texto según tu preferencia */
  font-weight: 400;
}
/* imagen de fondo para seccion glosario*/
.hero13 {
  background-image: url('/static/img/glosario1_1.jpg');
  background-size: cover;
  height: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero13-content {
  color: #FFFFFF;
  text-align: left;
  text-shadow: -3px 5px 4px #00000094;
  /* Nuevos estilos */
  position: absolute;
  top: 100px;
  left: 50px;
  /*left: 50%;
  transform: translateX(-50%); */
}

.hero13-content h1 {
  font-size: 4.8rem; /* Cambia el tamaño del texto según tu preferencia */
  font-weight: 400;
}
/* imagen de fondo para seccion enlaces utiles*/
.hero14 {
  background-image: url('/static/img/recursos1_1.jpg');
  background-size: cover;
  height: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero14-content {
  color: #FFFFFF;
  text-align: left;
  text-shadow: -3px 5px 4px #00000094;
  /* Nuevos estilos */
  position: absolute;
  top: 100px;
  left: 50px;
  /*left: 50%;
  transform: translateX(-50%); */
}

.hero14-content h1 {
  font-size: 4.8rem; /* Cambia el tamaño del texto según tu preferencia */
  font-weight: 400;
}
/* imagen de fondo para seccion organizacion*/
.hero15 {
  background-image: url('/static/img/fciencias1_1.jpg');
  background-size: cover;
  height: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero15-content {
  color: #FFFFFF;
  text-align: left;
  text-shadow: -3px 5px 4px #00000094;
  /* Nuevos estilos */
  position: absolute;
  top: 100px;
  left: 50px;
  /*left: 50%;
  transform: translateX(-50%); */
}

.hero15-content h1 {
  font-size: 4.8rem; /* Cambia el tamaño del texto según tu preferencia */
  font-weight: 400;
}

/* Imagen de fondo para seccion satelite */
.product-satelite {
  background-image: url('/static/img/frentes1_1.png');
  background-size: cover;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-position: center -80px;
}

.product-modelo {
  background-image: url('/static/img/frentes1_1.png');
  background-size: cover;
  height: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-position: center -5px;
}

.product-content {
  margin: 0;
  position: absolute;
  left: 2.6041666667vw;
}

.aproduct-content h1 {
  font-size: 2rem;
}

/* Imagen de fondo para seccion ovh */
.about-ovh {
  background-image: url('/static/img/NOSOTROS/CRFM_OMM/cover.png');
  background-size: cover;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-position: center -80px;
}

.about-content {
  margin: 0;
  position: absolute;
  left: 2.6041666667vw;
}

.about-content h1 {
  font-size: 2rem;
}

/* imagen de fondo para seccion crfm*/
.hero16 {
  background-image: url('/static/img/NOSOTROS/CRFM_OMM/cover.png');
  background-size: cover;
  height: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.alerts-t {
  background-image: url('/static/img/sensacionter1_1.jpg');
  background-size: cover;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-position: center;
}

.alerts-content {
  margin: 0;
  position: absolute;
  left: 2.6041666667vw;
}

.alerts-content h1 {
  font-size: 2rem;
}

.pro{
  color: #468ecb;
  font-weight: 400;
  letter-spacing: 0.5px;

}

.home1 {
  background-image: url('/static/img/home.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.col-lg-6 {
  margin-top: 20px;
}

.carousel-pron {
  border-radius: 5px;
  aspect-ratio: 1 / 1;
  object-fit: fill;
}

.carousel{
  box-shadow: 8px 8px 15px 5px rgba(0, 0, 0, 0.6);
  border-radius: 5px;
}

.forecast-link {
  background-color: #327cb9;
  border: 1px solid #327cb9;  /*Borde azul */
  padding: 10px; /* Espacio interno */
  text-align: center; /* Centrar el texto */
  border-radius: 5px; /* Esquinas redondeadas */
  color: rgb(28, 28, 28)!important; /* Color del texto */
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Opcional: cambiar el color de fondo y texto cuando se pasa el mouse */
.forecast-link:hover {
  background-color: #00000063;
  color: #c1d3fa !important;
  text-decoration: none;
}

/* cinta para ubicar nombre de la universidad*/
.footer-ribbon {
  background: #42905E; /* color de fondo verde */
  color: #fff;
  text-align: center;
  padding: 8px;
  height: 46px;
}

.footer-ribbon img {
  width: 30px;
  vertical-align: middle;
}

.footer-ribbon h2 {
  display: inline-block;
  vertical-align: middle;
  margin: 0;
  font-size: 15px;
  font-weight: 400;
}
/* cinta para ubicar nombre de la facultad*/
.footer-ribbon2 {
  background: #467bcb; /* color de fondo azul */
  color: #fff;
  text-align: center;
  height: auto;
  padding: 8px;
}
.footer-ribbon2 img {
  width: 30px;
  vertical-align: middle;
}

.footer-ribbon2 h2 {
  display: inline-block;
  vertical-align: middle;
  margin: 0;
  font-size: 15px;
  font-weight: 400;
}

.row{
  display: flex;
  flex-wrap: wrap;
}

.col-4{
  margin-bottom: 50px;
}

.set_footer1{
  background-color: rgba(71, 156, 182, 0.15);
}

.col-lg-4, .col-md-12 {
  display: flex;
  justify-content: center; /* Centra horizontalmente */
  align-items: center; /* Centra verticalmente */
  text-align: center; /* Centra el texto dentro de las cajas */
}

.img_footer2 {
  margin: 0 auto; /* Asegura que la imagen esté centrada */
  width: 50%;
  height: auto;
  padding-top: 15px;
}

.textcpta{
  padding-top: 10px;
  color:#4c9bdb;
  font-size: 15px;
  font-weight: 500;
}

.contacto{
  font-size: 15px;
}

.siguenos{
  margin-top: 20px;
  font-weight: 500;
  line-height: 2.5;
}

/* Social media circles */
.socialcircles {
  display: inline-block;
  width: 44px;
  height: 44px;
  border-radius: 30%;
  background-color: #5e6269;
  margin-bottom: 10px;
  margin-left: 6px;
  margin-right: 6px;
}

.set_footer2 {
  background: #FFFFFF !important;
  text-align: center !important;
  color:#000000 !important;
  padding-top: 10px !important;
  padding-bottom: 6px !important;
  font-size: 14px !important;
}

/* Media query para disposición vertical */
@media (max-width: 800px) {
  .set_footer1 {
    flex-direction: column; /* Cambia la dirección de los items a columna (vertical) */
    align-items: center; /* Centra los items verticalmente */
  }

  .col-lg-4, .col-md-12 {
    width: 100%; /* Asegura que cada columna ocupe el 100% del ancho disponible */
    margin-bottom: 20px; /* Espaciado entre los items verticales */
  }
}

.iframe-loading{
  width: 100%;
  height: 100%;
}

.dash{
  background: linear-gradient(rgba(68, 93, 175, 0.97), rgba(196, 207, 255, 0.8));
  height: 100vh;
  justify-content: center; /* Centrar horizontalmente */
  align-items: center; /* Centrar verticalmente */
}
@media (max-width: 900px) {  /*600px si fuera solamente celular */
  .dash {
    background: #020a27;
    height: 50px;
  }
}

.textp{
    color: white !important;
    font-size: 70px !important;
    font-weight: 400;
    text-shadow: -3px 5px 4px #00000094 !important;
}
@media (max-width: 600px) {
   .textp {
       font-size: 40px !important;
   }
}
@media (min-width: 601px) and (max-width: 900px) {
   .textp {
       font-size: 56px !important;
   }
}
