/* Have fun adding your style here :) - PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

/* General Custom CSS */



  /* CSS GENERAL */
.content{
padding-bottom: 0px !important;
padding-top: 0px !important;
}

.av-section-cont-open{
padding:0px 170px; 
 }
/* CSS -Navbar*/
.av-main-nav>li>a {
font-size: 16px;
color:#3b516e !important;
font-weight: 500 !important;
}

.container {
padding:0 170px ;
}

#menu-item-38 a .avia-menu-text{
background:#2481e7;
padding:18px;
color:white !important;
border-radius:10px;
}
.current-menu-item{
background:#d8e8fa;

}
.avia-standard-logo a img{
    width: 200px;
top: 50%;
    transform: translate(0%, -50%);
}



/* CSS DE CONTACTO */
.cont-but {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.contact-box {
  background: #2583e8;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 25px;
  border-radius: 12px;
  margin: 20px 0;
  font-size: 17px;
  width: 100%;
  justify-content: center;
}

.contact-box i {
  font-size: 23px;
  flex-shrink: 0;
}

.form-contacto {
  width: 50.6% !important;
  margin-left: 10% !important;
}

.form-contacto form label {
  font-size: 15px !important;
  color: #3b516e !important;
}

.form-contacto form input,
textarea {
  background-color: transparent !important;
  border-color: white !important;
  border-bottom-color: #8f9eb0 !important;
  border-bottom-width: 2px !important;
  height: 70px;
}

.form-contacto form .button {
  background-color: #2583e8 !important;
  border: none !important;
  font-size: 15px;
  border-radius: 10px;
  padding: 16px 26px !important;
  float: right;
}

fieldset .form_element .button {
  height: 50px !important;
  min-width: 192px !important;
}


/* CSS DE PAGINA UNETE -SECCION CONVOCATORIA */
.grid-container-convocatoria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 27px;
  align-items: start;
  margin-top: 40px;
}


/* Card de imagen */
.card-convocatoria {
  position: relative;
  overflow: hidden;
}

.card-convocatoria img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

/* Capa hover */
.card-convocatoria .overlay-convocatoria {
  position: absolute;
  inset: 0;
  background: rgb(36 129 231 / 56%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card-convocatoria:hover img {
  transform: scale(1.1);
}

.card-convocatoria:hover .overlay-convocatoria {
  opacity: 1;
}

.overlay-convocatoria h3 {
  margin: 0 0 10px;
  font-size: 25px;
  color: white !important;
}

.overlay-convocatoria button {
  padding: 15px 50px;
  border: none;
  background: #2481e7;
  color: #fff;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 15px;
}

.overlay-convocatoria button:hover {
  background: #164a96;
}

/* Sección de texto central */
.text-box-convocatoria {
  text-align: center;
  padding: 20px;
  background: #fff;
  border-radius: 6px;
}

.text-box-convocatoria h2 {
  color: #3b516e;
  margin-bottom: 10px;
  text-transform: none !important;
  font-size: 35px;
  font-weight: 600;
}

.text-box-convocatoria p {
  color: #3b516e;
  font-weight: 500;
  line-height: 1.6;
  font-size: 15px;
}

/* Controles slider */
.slider-controls {
  display: flex;
  justify-content: center;
  margin-top: 25px;
  gap: 10px;
}

.slider-controls span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-controls span.active {
  background: #2481e7;
}

/* Slides */
.slide {
  display: none;
}

.slide.active {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 27px;
  align-items: start;
}

/* CSS DE LA PAGINA CONTACTANOS-HEADER*/
.header-contacto-correo {
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  padding: 100px 170px 50px 170px;

}

.titulo-header-contacto h1 {
  font-size: 53px;
  text-transform: none !important;
  font-weight: 500 !important;
  margin-bottom: 30px;
}

.correo-header {
  margin-top: 30px;
}

.correo-header fieldset {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.correo-header fieldset p .text_input {
  padding: 16px !important;
  border-radius: 10px 0 0 10px !important;
  color: #3b516e !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  z-index: -1;
}

.correo-header fieldset .first_form {
  width: 340px;
}

.correo-header fieldset p:last-of-type {
  width: auto !important;
}

.correo-header fieldset p .button {
  border-radius: 10px !important;
  background: #2481e7;
  box-shadow: none !important;
  border: none;
  position: relative;
  z-index: 20;
  left: -20px;
  font-size: 15px;
  font-family: "Quicksand", sans-serif !important;
  height: 54px !important;
}

.correo-header fieldset p .button:hover {
  background: #1d66b3 !important;
}


/* TITULOS DE LA PAGINA PROYECTOS */
.tit-pro h2{
font-weight:600 !important;
}

.text-cont h3{
font-weight:600 !important;
}

/*
Desktop Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */


@media (max-width: 1200px) {
  /*CSS DE CONTACTO */

  .post-entry-34 .entry-content-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .post-entry-34 .entry-content-wrapper .header-contacto-correo {
    width: 100vw !important;
    margin-right: calc(-50vw + 50%) !important;
    display: block !important;
  }

  .cont-text-left {
    width: 100% !important;
  }

  .form-contacto {
    width: 100% !important;
    align-items: center;
    margin-left: 0 !important;
  }

  .text-cont h3 {
    text-align: center;
  }

  .cont-text-left section div p {
    text-align: center;
  }
}

@media (max-width: 1100px) {

  /* CSS DE PAGINA UNETE -SECCION CONVOCATORIA */
  .slide.active {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 800px) {

  /* CSS DE LA PAGINA CONTACTANOS-HEADER*/
  .header-contacto-correo {
    padding: 100px 50px 50px 50px;
  }

}

  @media (max-width: 768px) {

/* CSS GENERAL*/
.av-section-cont-open{
padding:0px 70px; 
}
}


/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

@media only screen and (max-width: 767px) {
  /* Add your Mobile Styles here */

}


@media (max-width: 580px) {

  /* CSS DE LA PAGINA CONTACTANOS-HEADER*/
  .correo-header fieldset p .button {
    min-width: auto !important;
  }

  .correo-header fieldset .first_form {
    width: auto !important;
  }
}

@media (max-width: 480px) {
	/* CSS GENERAL*/
.av-section-cont-open{
padding:0px 50px; 
}

  /*CSS DE CONTACTO */
  .contact-box {
    font-size: 15px;
  }

  .form-contacto form .button {
    float: none;
  }

  .form-contacto {
    margin-left: 0px !important;
  }

  /* CSS DE LA PAGINA CONTACTANOS-HEADER*/
  .header-contacto-correo {
    padding: 70px 20px 50px 20px;
  }

  .titulo-header-contacto h1 {
    font-size: 41px;
  }

}