body {
  font-family: "Roboto", sans-serif;
  transition: all 0.5s;
  background-image: url('../fondos/body.png'); /* Imagen de fondo si corresponde */
  background-repeat: repeat; /* Repite en ambas direcciones */
}

p {
  margin-bottom: 0px;
  font-size: 14px;
  color: #4a4a4a;
  line-height: 24px;
  text-align: left;
  /* asi estaba original text-align: center; */
}

a {
  text-decoration: none !important;
  color: rgb(51, 51, 51);
}

.copyright-text {
  text-transform: none;
  font-size: 14px;
}

.section-heading {
  margin-top: 80px;
  margin-bottom: 40px;
}

.section-heading h1 {
  font-size: 22px;
  font-weight: 700;
  color: #1e1e1e;
  margin-top: 15px;
}


/* HACKS SAFARI ############################################################################# */

@supports (-webkit-touch-callout: none) {
  .navbar-nav {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }
  .navbar-nav .nav-item {
    margin: 0 10px; /* Ajusta el espaciado entre los elementos del menú según sea necesario */
	  
  }
	 .navbar-nav .nav-link {
    font-size: 13px !important; /* Fuerza el tamaño de la fuente en Safari */
    padding: 5px 1px !important; /* Ajusta el espaciado interno en Safari */
  }
}


/* Featured Style */
.featured-items {
  margin-bottom: 70px;
}

.featured-item {
  border-radius: 5px;
  border: 1px solid #eee;
  padding: 20px;
  transition: all 0.5s;
}

.featured-item:hover {
  opacity: 0.9;
}

.featured-item img {
  width: 100%;
}

.featured-item h4 {
  font-size: 17px;
  font-weight: 700;
  color: #1e1e1e;
  margin-top: 15px;
  transition: all 0.5s;
}

.featured-item:hover h4 {
  color: #3a8bcd;
}

.featured-item h6 {
  color: #3a8bcd;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 0px;
}

.owl-theme .owl-dots {
  text-align: center;
  margin-top: 30px;
}

.owl-theme .owl-dots .owl-dot {
  outline: none;
}

.owl-theme .owl-dots .active span {
  background-color: #3a8bcd !important;
}

.owl-theme .owl-dots .owl-dot span {
  background-color: #aaa;
  width: 8px;
  height: 8px;
  display: inline-block;
  margin: 0px 5px;
  outline: none;
}

/* Subscribe Style */
.subscribe-form {
  background-color: #3a8bcd;
  padding: 80px 0px;
  text-align: center;
}

.subscribe-form .section-heading {
  margin-top: 0px;
}

.subscribe-form .section-heading h1 {
  color: #fff;
}

.subscribe-form .section-heading .line-dec {
  background-color: #fff;
  margin: 0 auto;
}

.subscribe-form .main-content p {
  font-size: 17px;
  color: #fff;
  margin-bottom: 30px;
}

.subscribe-form .main-content form {
  color: #fff;
  display: inline;
}

.subscribe-form .main-content form input {
  display: inline;
}

.subscribe-form .main-content form input {
  width: 100%;
  height: 46px;
  border: 1px solid #fff;
  background-color: transparent;
  padding-left: 15px;
  color: #fff;
  outline: none;
}

.subscribe-form .main-content form button:focus {
  color: #fff !important;
}

.subscribe-form .main-content form button {
  width: 100%;
  height: 45px;
  cursor: pointer;
  background-color: #fff;
  outline: none;
  border-radius: 5px;
  padding: 10px 15px;
  display: inline-block;
  color: #3a8bcd;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: 0.4px;
  text-decoration: none;
  transition: all 0.5s;
  box-shadow: none;
  border: none;
}



/* Featured Page Style */
.featured-page {
  margin-top: 130px;
  margin-bottom: 40px;
}

.featured-page .section-heading {
  margin-top: 0px;
  margin-bottom: 0px;
}

.featured-page #filters {
  margin-top: 15px;
  text-align: right;
}

.featured .featured-item {
  margin-bottom: 30px;
  text-decoration: none;
}

.featured .featured-item h4 {
  transition: all 0.5s;
}

.featured .featured-item:hover h4 {
  color: #3a8bcd;
}

#filter button {
  outline: none;
}

#filter .btn-primary.focus,
.btn-primary:focus {
  color: #3a8bcd !important;
  box-shadow: none !important;
}

#filters .btn-primary {
  color: #1e1e1e;
  border: none;
  font-size: 15px;
  font-weight: 700;
  background-color: transparent;
}

/* Isotope Transitions
------------------------------- */
.isotope,
.isotope .item {
  -webkit-transition-duration: 0.8s;
  -moz-transition-duration: 0.8s;
  -ms-transition-duration: 0.8s;
  -o-transition-duration: 0.8s;
  transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
  -moz-transition-property: height, width;
  -ms-transition-property: height, width;
  -o-transition-property: height, width;
  transition-property: height, width;
}

.isotope .item {
  -webkit-transition-property: -webkit-transform, opacity;
  -moz-transition-property: -moz-transform, opacity;
  -ms-transition-property: -ms-transform, opacity;
  -o-transition-property: top, left, opacity;
  transition-property: transform, opacity;
}

.page-navigation ul {
  text-align: center;
  border-top: 1px solid #eee;
  padding: 30px 0px 0px 0px;
  margin: 0px 0px 80px 0px;
}

.page-navigation ul li {
  display: inline-block;
}

.page-navigation ul li a {
  width: 40px;
  height: 40px;
  display: inline-block;
  text-align: center;
  line-height: 38px;
  border: 1px solid #eee;
  border-radius: 5px;
  font-weight: 700;
  color: #1e1e1e;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.5s;
}

.page-navigation ul li a:hover,
.page-navigation ul li.current-page a {
  background-color: #3a8bcd;
  border-color: #3a8bcd;
  color: #fff;
}

/* Single Product Style */
.single-product .product-slider {
  padding: 20px;
  border: 1px solid #eee !important;
  border-radius: 5px;
}

.flexslider {
  border: none !important;
}

#carousel {
  margin-top: 20px;
}

#carousel .slides li {
  width: 150px !important;
}

.single-product .right-content h4 {
  font-size: 17px;
  font-weight: 700;
  margin-top: 0px;
}

.single-product .right-content h6 {
  color: #3a8bcd;
  font-size: 17px;
  font-weight: 700;
  margin-top: 10px;
}

.single-product .right-content p {
  margin-top: 20px;
  margin-bottom: 30px;
}

.single-product .right-content span {
  font-size: 14px;
  color: #3a8bcd;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 15px;
}

.single-product .right-content label {
  font-size: 14px;
  color: #4a4a4a;
}

.single-product .right-content .quantity-text {
  margin-left: 10px;
  width: 44px;
  height: 44px;
  line-height: 42px;
  font-size: 14px;
  font-weight: 700;
  color: #4a4a4a;
  display: inline-block;
  text-align: center;
  outline: none;
  border: 1px solid #eee;
}

.single-product .right-content .button {
  margin-left: 15px;
  cursor: pointer;
  background-color: #3a8bcd;
  outline: none;
  border-radius: 5px;
  padding: 10px 15px;
  display: inline-block;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: 0.4px;
  text-decoration: none;
  transition: all 0.5s;
  box-shadow: none;
  border: none;
}

.single-product .right-content .down-content span {
  margin-bottom: 0px;
  display: inline-block;
  margin-left: 8px;
  color: #aaa;
}

.single-product .right-content .down-content span a {
  color: #aaa;
  font-weight: 400;
  margin-left: 4px;
  transition: all 0.5s;
}

.single-product .right-content .down-content span a:hover {
  color: #3a8bcd;
}

.single-product .right-content .down-content span a:hover i {
  background-color: #3a8bcd;
}

.single-product .right-content .down-content span a i {
  transition: all 0.5s;
  background-color: #aaa;
  width: 26px;
  height: 26px;
  display: inline-block;
  text-align: center;
  line-height: 26px;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  margin-right: 5px;
}

.single-product .right-content .down-content .categories {
  border-top: 1px solid #eee;
  margin-top: 30px;
  padding: 10px 0px;
}

.single-product .right-content .down-content .share {
  border-top: 1px solid #eee;
  padding: 10px 0px;
}

.single-product .right-content .down-content h6 {
  font-size: 14px;
  color: #4a4a4a;
  font-weight: 400;
}

/* About Us Style */
.about-page {
  margin-top: 50px;
  margin-bottom: 80px;
}

.about-page .right-content h4 {
  font-size: 17px;
  font-weight: 700;
  margin-top: 0px;
  margin-bottom: 20px;
}

.about-page .left-image img {
  max-width: 100%;
}

.about-page .right-content span {
  display: inline-block;
  margin-left: 8px;
}

.about-page .right-content span a i {
  transition: all 0.5s;
  background-color: #aaa;
  width: 26px;
  height: 26px;
  display: inline-block;
  text-align: center;
  line-height: 26px;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  margin-right: 5px;
}

.about-page .right-content .share {
  margin-top: 20px;
  border-top: 1px solid #eee;
  padding: 15px 0px;
}

.about-page .right-content h6 {
  font-size: 14px;
  color: #4a4a4a;
  font-weight: 400;
}

.about-page .right-content span a:hover i {
  background-color: #3a8bcd;
}

/* Contact Page Style */
.contact-page {
  margin-top: 50px;
  margin-bottom: 80px;
}

.contact-page .right-content input,
.contact-page .right-content textarea {
  border-radius: 0px;
  outline: none;
  box-shadow: none;
  font-size: 14px;
  margin-bottom: 30px;
}

.contact-page .right-content input {
  height: 44px;
  line-height: 44px;
}

.contact-page .right-content textarea {
  height: 200px;
  max-height: 280px;
}

.contact-page .right-content span {
  display: inline-block;
  margin-left: 8px;
}

.contact-page .right-content span a i {
  transition: all 0.5s;
  background-color: #aaa;
  width: 26px;
  height: 26px;
  display: inline-block;
  text-align: center;
  line-height: 26px;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  margin-right: 5px;
}

.contact-page .right-content .share {
  margin-top: 30px;
  border-top: 1px solid #eee;
  padding: 15px 0px;
}

.contact-page .right-content h6 {
  font-size: 14px;
  color: #4a4a4a;
  font-weight: 400;
}

.contact-page .right-content span a:hover i {
  background-color: #3a8bcd;
}

.contact-page .right-content .button {
  cursor: pointer;
  background-color: #3a8bcd;
  outline: none;
  border-radius: 5px;
  padding: 10px 15px;
  display: inline-block;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: 0.4px;
  text-decoration: none;
  transition: all 0.5s;
  box-shadow: none;
  border: none;
}
















/*********************************************************************************************************************
**********************************************************************************************************************
************************************************************************************************************/

/* AJUSTES ESTILOS PAGINACION COMUNICADOS Y CONTACTO */

.pagination {
		display: flex;
		justify-content: center;
		/* Centra los elementos horizontalmente */
		margin: 2px 0;
		/* Espaciado superior e inferior */
	}

	.pagination ul {
		list-style: none;
		padding: 0;
		display: flex;
		gap: 1px;
		/* Espaciado entre los enlaces */
	}

	.pagination li {
		display: inline;
	}

	.pagination a {
		padding: 5px 10px;
		text-decoration: none;
		color: #000000;
		border: 1px solid #ddd;
		border-radius: 4px;
		transition: background-color 0.3s ease, border-color 0.3s ease;
	}

	.pagination a:hover {
		background-color: #ffffff;
		border-color: #aaa;
	}
	

	.pagination .active a {
		background-color: #ffffff;
		color: black; 
		border-color: #000000;
	}
 
	.pagination span {
		padding: 5px 10px;
		color: #fff;
	}


  .form-switch {
    padding-left: 30px;
    /* Ajusta el valor para mover todo el bloque más a la derecha */
  }

  .form-check-input {
    position: relative;
    /* Permite ajustar su posición con respecto a su contenedor */
    left: 37px;
    /* Ajusta este valor para mover el switch hacia la derecha */
	  width: 1.25em;
    height: 1.25em;
  }

  .form-check-label {
    margin-left: 40px;
    /* Alinea la etiqueta con el checkbox */
    display: inline-block;
    /* Asegura el espaciado correcto */
  }


  /*********************************************************************************************************/
/* Sub Footer Style */

 
.sub-footer {
  text-align: center;
  padding-top: 15px;
  padding-bottom: 15px;
  /* background-image: url('../fondos/footer.png'); /* Imagen de fondo si corresponde */
  /* background-repeat: repeat; /* Repite en ambas direcciones */
  background-image: linear-gradient(to top, #d5d8d8d2, #f8f8f8);
}

.sub-footer p {
 /* font-size: 16px; */
 color: #000000;
 line-height: 40px;
 font: bold;
 font-family: Georgia, "Times New Roman", Times, serif;
}

.sub-footer a {
 color: #4e4e4f;
 /* font-size: 16px; */
 font-family: roboto, "Times New Roman", Times, serif;
}

.sub-footer a:hover {
 color: #000000;
}

/************************************************************************************************************/
/* Cookies */
#cookieConsent p {
 font-size: 18px;
 font-family: Verdana;
 color: yellow;
}

#cookieConsent .btn-custom {
 background-color: rgb(25, 174, 219);
}

#cookieConsent .btn:hover {
 color: white;
 background-color: orange;
}

/* Footer Style */
.footer {
  text-align: center;
}

.footer p {
  text-align: justify;
  margin-top: 25px;
  font-family: Arial, Helvetica, sans-serif;
}

.footer ul {
  padding: 0px;
  margin: 0px;
}

.footer ul li {
  list-style: none;
  display: inline-block;
}

.footer .footer-menu {
  margin-bottom: 40px;
}

.footer .footer-menu ul li {
  margin: 0px 15px;
}

.footer .footer-menu a {
  font-size: 13px;
  color: #7a7a7a;
  text-transform: uppercase;
  transition: all 0.5s;
}

.footer .footer-menu a:hover {
  color: #3a8bcd;
  text-decoration: none;
}

.footer .social-icons {
  margin-bottom: 60px;
}

.footer .social-icons ul li {
  margin: 0px 10px;
}

.footer .social-icons a {
  width: 32px;
  height: 32px;
  color: #fff;
  background-color: #aaa;
  text-align: center;
  display: inline-block;
  line-height: 33px;
  border-radius: 50%;
  font-size: 13px;
  transition: all 0.5s;
}

.footer .social-icons a:hover {
  background-color: #3a8bcd;
}

h2 {
  font: 22px Arial, Verdana, Helvetica, sans-serif;
  color: #232323;
}

/***********************************************************************************************************/
/* Pagina de horarios */
.info-box {
  background-color: #c2c2c2;
}

.info-box p {
  margin-top: 30px;
  padding: 15px 15px 15px 15px;
  font-size: 16px;
  color: #000;
}

/* Pagina tutores */
.tutor-box {
  background-color: #c2c2c2;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.tutor-box img {
  border-radius: 50%;
  width: 150px;
  height: 150px;
}

/************************************************************************************************************/
/* Color Botones y mas con hover es cuando pasa el cursor */


.btn-custom-gris-comunicados {
  background-color: transparent;
  background: linear-gradient(to bottom, #727272, #000000);
  color: white !important;
}

.btn-custom-gris-comunicados:hover {
  background-color: #596454;
}

.btn-custom-verde {
  background-color: #23963e;
  color: white;
}
.btn-custom-verde:hover {
  background-color: #23963e;
  color: white;
}

.btn-custom-naranja {
  background-color: #d66010;
  color: white;
}

.btn-custom-naranja:hover {
  background-color: #d66010;
  color: white;
}

.btn-custom-rojo {
  background-color: #cc0c0c;
  color: white;
}

.btn-custom-rojo:hover {
  background-color: #cc0c0c;
  color: white;
}

.btn-custom-gris {
  background-color: #4e4e4f;
  color: white;
}

.btn-custom-gris:hover {
  background-color: #4e4e4f;
  color: white;
}

.btn-custom-rosa {
  background-color: #c6f;
  color: white;
}

.btn-custom-rosa:hover {
  background-color: #c6f;
  color: white;
}

.btn-custom-violeta {
  background-color: #8A2BE2;
  color: white;
}

.btn-custom-violeta:hover {
  background-color: #8A2BE2;
  color: white;
}

.btn-custom-marron {
  background-color: #A52A2A;
  color: white;
}

.btn-custom-marron:hover {
  background-color: #A52A2A;
  color: white;
}

.btn-custom-azuloscuro {
  background-color: #000066;
  color: white;
}

.btn-custom-azuloscuro:hover {
  background-color: #000066;
  color: white;
}

.btn-custom-grisoscuro {
  background-color: #2F4F4F;
  color: white;
}

.btn-custom-grisoscuro:hover {
  background-color: #2F4F4F;
  color: white;
}

.btn-custom-negro {
  background-color: #000;
  color: white;
}

.btn-custom-negro:hover {
  background-color: #000;
  color: white;
}

.btn-custom-royalblue {
  background-color: #4169E1;
  color: white;
}

.btn-custom-royalblue:hover {
  background-color: #4169E1;
  color: white;
}

.btn-custom-verdeoscuro {
  background-color: #004010;
  color: white;
}

.btn-custom-verdeoscuro:hover {
  background-color: #004010;
  color: white;
}

.btn-custom-gris2 {
  background-color: #ACACAC;
  color: white;
}

.btn-custom-gris2:hover {
  background-color: #ACACAC;
  color: white;
}

.fixed-size-btn {
  width: 100%;
  /*height: 50px;*/
  margin: 5px 5px 5px 5px;
}



.fixed-size-btn a {
  color: white;
}







/****************************************************************************************************************/
/* recuadro palabra para equipo docente */
.centrado {
  font-size: 15px;
  text-align: center;
  color:#000000fa;
  padding-top: 10px;
  font-weight: bold;
}

.centrado1 {
  font-size: 14px;
  text-align: center;
  color:#131212fa;
  text-transform: uppercase;
 
}
.centrado2 {
  font-size: 17px;
  text-align: center;
  color:#131212fa;
 
}

/**************************************************************************************************************/
/* recuadro palabra para tutores */


.centrado2t {
  font-size: 17px;
  text-align: left;
  color:#131212fa;
 
}



.recuadro {
 
  color:#000000fa;
  font-size: 16px; 
}


/***************************************************************************************************************/
/* Sombreado */

.sombra-logo {
  box-shadow: 0px 6px 3px -2px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: 0px 6px 3px -2px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 6px 3px -2px rgba(0, 0, 0, 0.75);
}

.efecto-sombra {
  box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.75);
}

.sombra-banner {
  -webkit-box-shadow: 0px 7px 6px -2px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 7px 6px -2px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 7px 6px -2px rgba(0, 0, 0, 0.75);
}

.sombra-circular {
  border-radius: 10px 10px 10px 10px;
  -moz-border-radius: 10px 10px 10px 10px;
  -webkit-border-radius: 10px 10px 10px 10px;
  border: 0px solid #000000;
  /*-webkit-box-shadow: 0px 10px 17px -7px rgba(0,0,0,0.75);
  -moz-box-shadow: 0px 10px 17px -7px rgba(0,0,0,0.75);
  box-shadow: 0px 10px 17px -7px rgba(0,0,0,0.75);*/
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.64);
-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.64);
-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.64);
}

.efecto-sombra-letra {
  text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.55);
}

.efecto-titulos {
  border-radius: 6px 6px 6px 6px;
  -webkit-border-radius: 6px 6px 6px 6px;
  -moz-border-radius: 6px 6px 6px 6px;
  background: rgba(0, 0, 0, 0.37);
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.37) 0%, #f8f8f8 80%);
  background: -webkit-linear-gradient(90deg,
      rgba(0, 0, 0, 0.37) 0%,
      #f8f8f8 80%);
  background: -moz-linear-gradient(90deg, rgba(0, 0, 0, 0.37) 0%, #f8f8f8 80%);
}

.efecto-sombra-menu {
  box-shadow: 0px 5px 3px -3px rgba(0,0,0,0.92);
-webkit-box-shadow: 0px 5px 3px -3px rgba(0,0,0,0.92);
-moz-box-shadow: 0px 5px 3px -3px rgba(0,0,0,0.92);
}


/********************************************************************************************************/
/* Flecha hacia arriba */
#scrollToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  opacity: 0; /* Inicialmente oculto */
  visibility: hidden; /* Asegura que no sea clickeable cuando está oculto */
  transition: opacity 0.5s ease, visibility 0.5s ease; /* Efecto de aparición suave */
  border: none; /* Elimina el borde */
  background-color: #e6e0e050;
}

#scrollToTopBtn.show {
  opacity: 1; /* Hace visible el botón */
  visibility: visible; /* Permite interacción */
}

#scrollToTopBtn:hover {
  background-color: none;
  border: none; /* Elimina el borde */
}

#scrollToTopBtn svg {
  fill: black;
  stroke-width: 3px;
  stroke: currentColor;
  fill: none;
  width: 24px;
  /* Color de la flecha */
}


/***********************************************************************************************************/
/* Banner */
.banner img {
  margin-top: 5px;
}

/* Comunicados */
.comunicados {
  text-align: center;
  color: #000000;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.comunicados a {
  font-family: "Roboto", Times, serif;
  color: #1a1818;
  font-size: 15px;
}

.comunicados table td {
  text-align: left;
  background-color: transparent;
}

.comunicados table td a {
  color: #4b4b4b;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: bold;
}



/***********************************************************************************************************/
/* Header Style */

.offcanvas {
  /* width: 750px; */
  width: auto;
  /* Ajusta este valor según sea necesario */
}

.offcanvas .btn-close {
  background-color: #ffffff;
  /* Cambia el fondo del botón de cierre */
  filter: invert(1);
  /* Invierte el color del SVG para adaptarlo al fondo */
}

.offcanvas-header {
  background-color: #1a1a1a;
  /* Color de fondo del encabezado del offcanvas */
  color: rgb(243, 243, 243);
  /* Color del texto del encabezado */
  padding: 15px;
}

.offcanvas-body {
  background-color: #474444;
  /* Color de fondo del cuerpo del offcanvas */
  flex-grow: 1;
  /* Permite que crezca o se ajuste al tamaño del contenido */
  overflow-y: auto;
  /* Habilita el scroll si el contenido es demasiado grande */
  padding: 0px;
}

.navbar .navbar-brand {
  text-align: center; /* Centra el texto y contenido dentro de la marca */
  width: 100%; /* Asegura que ocupe todo el ancho del contenedor */
  position: relative; /* Mantiene su posicionamiento en el flujo */
  margin: 0 auto; /* Centra horizontalmente si hay ancho adicional */
  display: flex; /* Habilita Flexbox para el contenido interno */
  justify-content: center; /* Centra horizontalmente el contenido */
  align-items: center; /* Centra verticalmente el contenido */
}

.navbar-brand img {
  /* max-width: 100%;
  /* Ajusta el porcentaje según sea necesario DEL LOGO */
  /*height: auto;
  /* Esto asegura que la altura se ajuste proporcionalmente */
  /*transition: max-width 0.3s ease;
  /* Transición suave al cambiar el tamaño */
  display: block;
  margin: 0 auto;
}

.bg-dark {
  background-color: #f8f8f8 !important;
}

#navbarResponsive {
  z-index: 999;
  position: absolute;
  left: 50%;
  top: 93%;
  transform: translateX(-50%);
  background-color: #dfdfe9;
}


/************************************************************************************************************/
/* COLORES DE LA BARRA DE MENU */

.navbar-nav {
  background-color: #585858; /* Cambia al color deseado */
  /* padding: 10px; /* Opcional: agrega espacio interno */ 
  /*border-radius: 5px; /* Opcional: esquinas redondeadas */
}

.navbar-dark .navbar-nav .nav-item {
  margin: 6px 15px;
}

.navbar-dark .navbar-nav .nav-link {
  font-size: 15px;
  font-weight: 600; 
  color: rgb(219, 219, 219);
  transition: all 0.5s;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  text-transform: uppercase;
  padding-left: 5px;
  padding-right: 0px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .active>.nav-link,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .show>.nav-link {
  color: rgb(255, 255, 255);
}

.navbar-dark .navbar-toggler-icon {
  background-image: none;
}

.navbar-dark .navbar-toggler {
  border: none;
  /* Elimina el borde */
  background: none;
  /* Elimina el fondo */
  padding: 0;
  /* Elimina el relleno */
  margin: 0;
  /* Elimina el margen */
  outline: none;
  /* Elimina el contorno al enfocarse */
  box-shadow: none;
  /* Elimina cualquier sombra */
  height: 50px;
}

.navbar-dark .navbar-toggler-icon:after {
  content: "\f0c9";
  border-color: transparent;
  background-color: transparent;
  color: #000000d3;
  font-size: 25px;
  font-family: "FontAwesome";
}

/* APLICADA A LAS GALERIAS MULTIMEDIA Y DE FOTOS  */


.portfolio_thumb img {
  width: 100%;
  height: auto; /* Garantiza que la imagen respete su proporción natural */
  aspect-ratio: 16 / 9; /* Relación de aspecto 16:9 */
  object-fit: cover; /* Ajusta cómo se muestran las imágenes dentro del contenedor */

}

.portfolio_det {
  margin-top: 6px;
}


/*  FORMULARIOS RELLENOS ****************************************************************************/

.form-control{ background-color: #c9c9c946; /* Fondo rojo claro */
  
  color: #333; /* Color del texto */
  border-radius: 5px; /* Bordes redondeados */
  padding: 10px; /* Espaciado interno */
  font-size: 16px; /* Tamaño del texto */
  transition: all 0.3s ease; /* Transiciones suaves */
}


.form-select{ background-color: #c9c9c946; /* Fondo rojo claro */
  
  color: #333; /* Color del texto */
  border-radius: 5px; /* Bordes redondeados */
  padding: 10px; /* Espaciado interno */
  font-size: 16px; /* Tamaño del texto */
  transition: all 0.3s ease; /* Transiciones suaves */
}



/* CAJA CONTRASEÑA PARA TAREAS **************************************************************/

 /* Fondo oscuro del modal */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

        /* Contenedor del modal */
        .password-container {
            width: 90%;
            max-width: 400px;
            background: #f9f9f9;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            position: relative;
            animation: fadeIn 0.3s ease-in-out;
        }

        /* Título */
        .password-container h2 {
            font-size: 1.5em;
            margin-bottom: 20px;
            text-align: center;
        }

        /* Input de contraseña */
        .password-container input {
            width: 100%;
            padding: 10px;
            margin: 10px 0;
            border: 1px solid #ccc;
            border-radius: 5px;
        }

        /* Botón de enviar */
        .password-container button {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 10px 20px;
            cursor: pointer;
            border-radius: 5px;
            display: block;
            margin: 10px auto 0 auto;
            width: 100%;
            max-width: 150px;
        }

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

        /* Botón de cierre */
        .password-container .close-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            background: none;
            border: none;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            color: #333;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            transition: all 0.3s ease-in-out;
        }

        .password-container .close-btn:hover {
            color: white;
            background-color: tranparent;
            transform: scale(1.1);
        }

        /* Animación de entrada */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: scale(0.9);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        /* Estilo para mensajes de error */
        .error {
            color: red;
            margin-top: 10px;
            text-align: center;
        }















/* RESPONSIVE TABLETS ***********************************************************************************************/

@media (max-width: 991px) {


  .offcanvas-body {
    flex-grow: 1;
    /* Permite que el body crezca para ocupar el espacio disponible */
    overflow-y: auto;
    /* Permite el scroll si el contenido excede la altura del menú */
    max-height: 100%;
    /* Asegura que el body no exceda la altura del offcanvas */
  }

  .offcanvas {
    display: flex;
    flex-direction: column;
    /* Hace que el contenido del offcanvas se organice en columnas */
    max-height: 100vh;
    /* Limita la altura del menú al tamaño de la pantalla */
    bottom: auto;
    /* Desactiva que se estire hasta el fondo */
  }

  .banner img {
    border-top: none;
    margin-top: 10px;
  }

  .navbar .navbar-brand {
    width: auto;
  }

  .navbar:after {
    display: none;
  }

  .navbar {
    position: sticky;
    /* Hace que el navbar sea fijo */
    width: 100%;
    /* Asegura que el navbar ocupe el ancho completo */
    top: 0px;
    /* Posiciona el navbar en la parte superior */
    margin-bottom: -40px;
    z-index: 999;
    /* Asegura que el navbar esté por encima de otros elementos */
    transition: box-shadow 0.3s ease;
    /* Efecto suave al aplicar la sombra */
  }

  .navbar.shadow {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    /* Sombra debajo del header */
  }

  #navbarResponsive {
    position: absolute;
    top: 100%;
    width: 100%;
    text-align: center;
    background-color: #4e4e4f;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    /* Permite el desplazamiento vertical */
    max-height: calc(80vh - 35px);
    /* Limita la altura máxima */
  }

  .navbar-toggler {
    margin-left: auto;
    /* Empuja el botón hacia la derecha */
    margin-top: 10px;
    /* Ajusta el margen superior para alinear con el navbar */
    position: absolute;
    /* Posición absoluta para alinear */
    /* top: 50%;  Alinea verticalmente respecto al navbar Y AL BOTON DE BUSQUEDA */
    top: 50%;
    /* Alinea verticalmente respecto al navbar */
    transform: translateY(-50%);
    /* Ajusta la posición verticalmente */
    right: 13px;
    /* Alinea a la derecha con un margen */
  }
  .navbar-toggler-icon {
    font-family: "Font Awesome 5 Free"; /* Nombre de la fuente FontAwesome */
    /*font-weight: 500; /* Asegura que se utilice el estilo sólido */
    font-size: 22px; /* Tamaño del ícono */
    line-height:32px; /* Espaciado vertical */
    content: "\f0c9"; /* Código del ícono (fa-bars) */
    display: inline-block; /* Muestra el ícono como un elemento en línea */
    text-align: center; /* Centra el ícono */
  }
 

  .navbar-dark .navbar-nav .nav-item {
    border-bottom: 1px solid #ccc3c3;
  }

  .navbar-dark .navbar-nav .nav-item:last-child {
    border-bottom: none;
  }

  .navbar-dark .navbar-nav .nav-link {
    /* padding: 15px 0px; */
    padding: auto 0px;
    /* ESPACIADO DEL MENU */
  }


  /* COLORES DE LA BARRA DE MENU######################################################################## */

.navbar-nav {
  background-color: #1a1a1a; /* Cambia al color deseado */
  /* padding: 10px; /* Opcional: agrega espacio interno */ 
  /*border-radius: 5px; /* Opcional: esquinas redondeadas */
}

.navbar-dark .navbar-nav .nav-item {
  margin: 6px 15px;
}

.navbar-dark .navbar-nav .nav-link {
  font-size: 15px;
  font-weight: 600; 
  color: rgb(219, 219, 219);
  transition: all 0.5s;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  text-transform: uppercase;
  padding-left: 5px;
  padding-right: 0px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .active>.nav-link,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .show>.nav-link {
  color: rgb(255, 255, 255);
}

.offcanvas .dropdown-menu {
  background-color: #070707; /* Cambiar al color deseado */
  color: rgb(223, 214, 214); /* Cambiar el color del texto */
  border: none; /* Opcional: eliminar el borde */
}

.offcanvas .dropdown-menu .dropdown-item {
  color: white; /* Color de los elementos del menú */
}

.offcanvas .dropdown-menu .dropdown-item:hover {
  background-color: #2e2a2a; /* Fondo del elemento al pasar el ratón */
  color: #FFD700; /* Cambiar el color del texto al pasar el ratón */
}


  .featured-page #filters {
    text-align: right;
  }

  .single-product .right-content {
    margin-top: 30px;
  }

  .about-page .right-content {
    margin-top: 30px;
  }

  .contact-page .right-content {
    margin-top: 30px;
  }

  .contact-page .right-content .col-md-6,
  .contact-page .right-content .col-md-12 {
    padding: 0px;
  }

  .featured-page {
    margin-top: 80px;
  }

  .about-page,
  .contact-page {
    margin-top: 0px;
  }

  /* correcciones de ancla en tablets */ 
 :target::before {
    content: "";
    display: block;
    height: var(--header-height-tablet, 150px); /* Define la altura aproximada del header en tablets */
    margin: calc(-1 * var(--header-height-tablet, 150px)) 0 0; /* Ajuste negativo */
  } 
}














/* RESPONSIVE MOVIL ***********************************************************************************************/
@media (max-width: 767px) {

/* 
  .btn-moviles {
    width: 90%;
    display: block;
    /* Asegura que el botón ocupe toda la fila 
  } */

/* recuadro palabra para equipo docente */
.centrado {
  font-size: 17px;
  text-align: center;
  color:#000000fa;
  padding-top: 10px;
  font-weight: bold;
}

.centrado1 {
  font-size: 16px;
  text-align: center;
  color:#131212fa;
 
}


  .offcanvas-body {
    flex-grow: 1;
    /* Permite que el body crezca para ocupar el espacio disponible */
    overflow-y: auto;
    /* Permite el scroll si el contenido excede la altura del menú */
    max-height: 100%;
    /* Asegura que el body no exceda la altura del offcanvas */
  }

  .offcanvas {
    display: flex;
    flex-direction: column;
    /* Hace que el contenido del offcanvas se organice en columnas */
    max-height: 100vh;
    /* Limita la altura del menú al tamaño de la pantalla */
    bottom: auto;
    /* Desactiva que se estire hasta el fondo */
  }

  .navbar-toggler {
    margin-left: auto; /* Posiciona el botón hacia la derecha */
    padding: 0; /* Elimina relleno interno */
    height: 35px; /* Ajusta la altura del botón */
    display: flex; /* Activa Flexbox */
    align-items: center; /* Centra verticalmente el contenido dentro del botón */
    justify-content: center; /* Centra horizontalmente el contenido dentro del botón (opcional) */
    border: none; /* Elimina bordes predeterminados de Bootstrap */
    background: none; /* Elimina el fondo predeterminado */
    right: 3px;
    /* Alinea a la derecha con un margen */

  }

  /*

  body {
    height: 100%;
  }
*/
  .navbar-collapse {
    max-height: calc(90vh - 45px);
    /* Altura máxima del contenido desplegable */
    overflow-y: auto;
    /* Permite el desplazamiento */
  }

  .navbar-toggler-icon {
    font-family: "Font Awesome 5 Free"; /* Nombre de la fuente FontAwesome */
    /*font-weight: 500; /* Asegura que se utilice el estilo sólido */
    font-size: 22px; /* Tamaño del ícono */
    line-height:32px; /* Espaciado vertical */
    content: "\f0c9"; /* Código del ícono (fa-bars) */
    display: inline-block; /* Muestra el ícono como un elemento en línea */
    text-align: center; /* Centra el ícono */
}


  .navbar-brand img {
    min-width: 70%;
    max-width: 90%;
    /* Reducir aún más el ancho máximo para pantallas pequeñas */
    margin-left: auto;
    margin-right: auto;
  }

  .subscribe-form .main-content form input.button {
    margin-top: 20px;
  }

  .featured-page #filters {
    margin-top: 15px;
    text-align: left;
  }

  /* correcciones de ancla en moviles */
  :target::before {
    content: "";
    display: block;
    height: var(--header-height-mobile, 120px); /* Define la altura aproximada del header en móviles */
    margin: calc(-1 * var(--header-height-mobile, 120px)) 0 0; /* Ajuste negativo */
}

/* Ajustar el menú en dispositivos grandes */
@media (min-width: 992px) {
  .navbar-nav {
    justify-content: center; /* Centra el menú debajo del logo */
  }

  .navbar-nav .nav-item {
    margin: 0 15px; /* Espaciado entre enlaces */
  }
}

/* Ajustar el menú en dispositivos pequeños */
@media (max-width: 991px) {
  .offcanvas {
    width: 250px; /* Tamaño del offcanvas */
  }
}




}