body {
  padding-top: 4rem;
}

body, html {
  height: 100%;
  margin: 0;
}

h1, h2, h3, h4, .titulo{
     font-family: "Roboto", sans-serif;
}

p {
   font-family: "Raleway", sans-serif;

}

a {
   font-family: "Raleway", sans-serif ;
}

button {
   font-family: "Raleway", sans-serif;
}

.roboto {
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  font-style: normal;
}

.raleway {
  font-family: "Raleway", sans-serif;
  font-weight: normal;
  font-style: normal;
}

.site-header{
    border-bottom: medium solid #253782;
}

a:visited {
	color: white;
}


/* CSS header */
.navbar-nav a {
  position: relative;
  color: #000;
  text-decoration: none;
  padding: 10px 15px;
  transition: color 0.5s ease;
  font-size:0.9rem;
  font-weight:bold;
}

/* Pseudo-elementos para hover y activo */
.navbar-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: transparent;
  width: 0%;
  opacity: 0;
  transition: background-color 0.3s ease, width 0.3s ease, opacity 0.3s ease;
}

/* Cambiar color y animar la línea en hover */
.navbar-nav a:hover::after,
.navbar-nav .current-menu-item a::after {
  background-color: #27368C; 
  width: 100%;
  opacity: 1;
}

/* Destacar el enlace activo */
.navbar-nav .current-menu-item a {
  font-weight: bold;
  color: #007bff;
}


.color-navbar {
  background-color: white;
  padding:1.2rem 0;
}

.azul {
  background-color: #253782;
}

a {
  text-decoration: none;
}

.barra a,
.barra i {
  color: white;
}

.barra spam {
  color: rgb(255, 251, 2);
}

.barra {
  height: 58px;
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}


.navbar-nav {
  gap: 30px;
}

.collapse a {
  float: left;
  display: block;
  color: #253782;
  text-align: center;
  padding-bottom: 3px;
}

.site-branding {
  width: 140px;
  height: 50px;
  flex-shrink: 0;
}

.navbar-nav .menu-item-has-children .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    z-index: 10;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
 
}


/* Nueva regla para eliminar puntos de los <li> */
.navbar-nav .menu-item-has-children .sub-menu li {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.sub-menu{
    padding:1.5em;
    margin-left:0;
}

.navbar-nav .menu-item-has-children .sub-menu li {
    list-style: none; 
    padding-left: 0; 
    margin-left: 0; 
}

@media (max-width: 768px) {
    .navbar-nav .menu-item-has-children .sub-menu {
        position: static;
        margin-top: 45px;
        padding: 20px; /* Ajusta el padding para móviles */
    }
    
    .navbar-nav .menu-item-has-children .sub-menu li {
        display: flex;
        padding: 1em; /* Ajusta el padding para mejor legibilidad */
        border-bottom: 1px solid #020037; /* Opcional: separador entre items */
    }
    
    .navbar-nav .menu-item-has-children .sub-menu li:last-child {
        border-bottom: none;
    }
}
/* fin css header */

/* Estilo del menú */
.navbar-nav {
    display: flex; 
    gap: 20px; 
}

.navbar-nav .nav-item {
    position: relative;
}


.navbar-nav a {
    color: #000; 
    text-decoration: none;
    padding: 10px 15px;
    transition: color 0.3s ease;
}


.navbar-nav a:hover, .navbar-nav a:focus {
    color: #27368C; 
}

.navbar-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background-color: transparent;
    transition: background-color 0.3s ease, width 0.3s ease;
}

.navbar-nav a:hover::after,
.navbar-nav .current-menu-item a::after {
    background-color: #27368C; 
    width: 100%;
}


.navbar-nav .current-menu-item a {
    font-weight: bold;
    color: #27368C; 
}

/* Inicio footer */
/* Estilos para el menú en el footer */

aside {
  bottom: 0;
}

.background-footer {
  background-color: #172259;
}

.img-footer {
  width: 100%;
  margin: 10px;
}

.footer-menu .nav {
  list-style-type: none;
  padding-left: 0;
}

.footer-menu .nav-item {
  margin-bottom: 10px;
  /* Espacio entre enlaces */
}

.footer-menu a {
  text-decoration: none;
  color: #333;
  /* Color del texto */
}

.footer-menu a:hover {
  color: #007bff;
  /* Color al hacer hover */
}

.bi {
  color: white;
}

.bi-facebook{
    height:50px;
}

.bi:hover {
  color: #007bff;
}

/* termino footer */



/**********************/

.logo {
  height: 80px;
}

/*===========================
  teams css MATIAS
===========================*/

.team-style-one {
  position: relative;
  margin-top: 30px;
  box-shadow: var(--shadow-2);
  border-radius: 8px;
  overflow: hidden;
  -webkit-transition: all 0.4s ease-out 0s;
  -moz-transition: all 0.4s ease-out 0s;
  -ms-transition: all 0.4s ease-out 0s;
  -o-transition: all 0.4s ease-out 0s;
  transition: all 0.4s ease-out 0s;
}

.team-style-one:hover {
  box-shadow: var(--shadow-4);
}

.team-style-one .team-image img {
  width: 100%;
}

.team-style-one .team-content {
  padding: 20px 15px;
  width: 100%;
  background-color: var(--white);
}

.team-style-one .team-content .name {
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  color: var(--black);
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .team-style-one .team-content .name {
    font-size: 20px;
  }
}

.team-style-one .team-content .sub-title {
  font-size: 15px;
  line-height: 24px;
  color: var(--dark-3);
  margin-top: 2px;
  display: block;
}

.team-style-one .team-content .social {
  margin-top: 12px;
}

.team-style-one .team-content .social li {
  display: inline-block;
  margin: 0 4px;
}

.team-style-one .team-content .social li a {
  font-size: 16px;
  color: var(--gray-1);
  height: 35px;
  width: 35px;
  text-align: center;
  line-height: 35px;
  border: 1px solid var(--gray-4);
  border-radius: 50%;
  -webkit-transition: all 0.4s ease-out 0s;
  -moz-transition: all 0.4s ease-out 0s;
  -ms-transition: all 0.4s ease-out 0s;
  -o-transition: all 0.4s ease-out 0s;
  transition: all 0.4s ease-out 0s;
}

.team-style-one .team-content .social li a:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: transparent;
}

.text a {
  color: white;
}

.text a:hover {
  color: #FAF717;
}

.text a:visited{
   color:white;
}

.banner {
  height: 600px;
  width: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.banner .overlay-2 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 0, 0, 0.5);
  z-index: 3;
}

.titulo {
  color: white;
  font-weight: bold;
  text-align: center;
}

.imagen-colegio {
  height: auto;
  max-width: 90%;
}

/* Estilos para la página 404 */
.container-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  padding: 20px;
}

.error-code {
  font-size: 100px;
  color: #ff6b6b;
  margin: 0;
}

.error-message {
  font-size: 24px;
  color: #333;
}

.error-description {
  font-size: 16px;
  color: #555;
  margin-top: 10px;
}

.error-buttons {
  margin-top: 20px;
}

.btn-home,
.btn-contact {
    display: inline-flex;
    align-items: center; 
    justify-content: center;
    padding: 12px 25px;
    margin: 8px;
    background-color: #007bff;
    color: #ffffff; 
    text-decoration: none;
    border: 1px solid #007bff;
    border-radius: 6px; 
    font-size: 1rem; 
    font-weight: 500; 
    cursor: pointer; 
    transition: all 0.3s ease-in-out; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
}

.btn-home:hover,
.btn-contact:hover {
    background-color: #0056b3; 
    border-color: #0056b3; 
    color: #ffffff; 
    transform: translateY(-2px); 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}

.btn-home:active,
.btn-contact:active {
    transform: translateY(0); 
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); 
    background-color: #004085; 
    border-color: #004085;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    margin: 8px;
    background-color: #007bff;
    color: #ffffff; 
    text-decoration: none;
    border: 1px solid #007bff; 
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: "Raleway", sans-serif !important;

}

.btn-primary:hover {
    background-color: #0056b3; 
    border-color: #0056b3;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
    transform: translateY(0); 
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    background-color: #004085;
    border-color: #004085;
}

/* Fin Estilos para la página 404 */

a :visited {
  color: white;
}

.parrafo {
  border: 1px solid white;
  padding: 30px;
  border-radius: 30px;
}

.image-content{
    border-radius: 44px;
}

.section {
  border-radius: 20px;
}

.container-fluid.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.container-fluid.banner .titulo {
  position: relative;
  z-index: 2;
  color: #fff;
}

.container-fluid.banner {
  background-image: url('<?php echo wp_get_attachment_url(get_post_thumbnail_id($post->id));?>');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height:600px;
  
}

.wallpaper {
  width: 100%;
}

.wp-block-video {
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

.logo-footer{
  width: 200px;
}

.widget{
    margin:0;
}

@media (max-width: 991px) {
  .tab-content>.tab-pane {
    display: block;
    opacity: 1;
  }
}

.iconito{
    font-size:24px;
    color:black;
}

.iconito:hover{
    /*color:black;*/
}

.bi-instagram{
    font-size:24px;
    margin-right:0.5rem;
}

@media (min-width: 991px) {
    .bi-instagram{
        font-size:24px;
        margin-right:0.5rem;
    }
}

.widget-title {
    display: none !important; /* El !important puede ser necesario para asegurar que se aplique la regla */
}

#widget-ejemplo-1 .widget-title {
    display: none !important;
}

.fotorama__stage .fotorama__pointer{
    margin-bottom: 2rem;
}

.fotorama__nav-wrap{
    margin-top: 1.5rem;
}

.text-content .text-reglament{
    text-align: justify;
}

.evf-label{
    color:white;
}

.everest-forms .everest-forms-part-button,.everest-forms a.button:not(.button-large),.everest-forms button.button:not(.button-large),.everest-forms button[type=submit],.everest-forms input[type=submit],.wp-block-everest-forms-form-selector .everest-forms-part-button,.wp-block-everest-forms-form-selector a.button:not(.button-large),.wp-block-everest-forms-form-selector button.button:not(.button-large),.wp-block-everest-forms-form-selector button[type=submit],.wp-block-everest-forms-form-selector input[type=submit] {
    color: #555;
    height: auto;
    cursor: pointer;
    background: 0 0;
    box-shadow: none;
    font-size: inherit;
    font-weight: 400;
    line-height: 1.5;
    padding: 10px 15px;
    border-radius: 3px;
    border: 1px solid #ccc;
    background-color: #f7f7f7;
}