/*
Theme Name: IDEPHGO Site
Theme URI: 
Author: Your Name
Author URI: 
Description: A custom WordPress starter theme for IDEPHGO
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: idephgo-site
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Reset and base styles */

@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

a {
  color: #0073aa;
  text-decoration: none;
}

a:hover {
  color: #005177;
}

h2 {
  font-size: 1.8rem;
  font-weight: 500;
  color: white;
  text-transform: uppercase;
}

h3 {
  font-weight: bold;
  position: relative;
  text-transform: uppercase;
  text-align: center;
  font-size: 2rem;
  letter-spacing: 2px;
  border-bottom: black solid thin;
  border-top: black solid thin;
  color: #03265e;
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 95%;
}

/* Header */
header#header {
  margin-top: 2rem;
  display: flex;
  flex-flow: row;
  justify-content: center;
}

header .logo {
  max-width: 270px;
}

header .logo img {
  width: 100%;
}

/* Navigation */
nav {
  display: none;
}
#header .inscribete {
  display: none;
}
@media screen and (min-width: 960px) {
  nav {
    display: flex;
    align-items: center;
  }
  #header .inscribete {
    display: flex;
  }
  header#header {
    justify-content: space-between;
  }
}

#nav #primary-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav_oferta,
.nav_admisiones,
.nav_contacto {
  color: #333333;
  font-weight: 500;
  list-style: none;

  & a {
    color: #333333;
  }
}

.nav_admisiones,
.nav_contacto {
  color: #333333;
  font-weight: 500;

  & a {
    color: #333333;
    border-bottom: solid 0 #1d2b5c;
    transition: border-bottom 0.1s;
  }

  & a:hover {
    color: #064d47;
    border-bottom: solid medium #1d2b5c;
    transition: border-bottom 0.1s;
  }
}

.nav_oferta > ul.sub-menu {
  position: absolute;
  z-index: 4;
  background: #ffffffe8;
  padding: 0.5rem;
  visibility: hidden;
  display: none;
  font-weight: 500;
}

.nav_oferta:hover > ul.sub-menu {
  visibility: visible;
  display: block;
}

ul.sub-menu {
  list-style: none;
  display: flex;
  flex-flow: column;
  gap: 0.5rem;

  & li {
    padding: 0 0 0 1rem;
  }
}

.nav_curso a {
  border-left: #094d47 solid 3px;
  padding-left: 0.5rem;
  padding-bottom: 0.3rem;
  position: relative;
  z-index: 1;
}

li.nav_curso a::before {
  content: "";
  display: block;
  width: 0%;
  height: 3px;
  background-color: #084d47;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
  transition: width 0.2s ease-in-out;
}

li.nav_curso a:hover::before {
  width: 100%;
  transition: width 0.2s ease-in-out;
}

a[title="maestria"],
a[title="licenciatura"] {
  font-weight: 700;
  color: #084d47;
  text-transform: uppercase;
}

a[title="maestria"]:hover,
a[title="licenciatura"]:hover {
  color: #064d47;
}

.inscribete {
  display: flex;
  align-items: center;
  align-content: center;
}

.inscribete a {
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.5rem;
  letter-spacing: 0.7px;
  border: none;
  color: white;
  background-color: #064d47;
  border-radius: 5px;
}
@media (min-width: 1000px) {
  .inscribete a {
    padding: 0.5rem 1rem;
  }
}
.menu_toggle {
  position: absolute;
  left: 1.5rem;
  top: 2.5rem;
  z-index: 1000;
  appearance: none;
  width: 25px;
  height: 20px;
  border-bottom: black solid 2px;
}

input[type="checkbox"]:not(:checked) ~ .mobile_nav {
  display: flex;
  visibility: visible;
  width: 85%;
  transform: translateX(0%);
  transition: width 0.2s ease-in-out, transform 0.2s ease-in-out;
}
.mobile_nav {
  width: 0%;
  position: absolute;
  top: 0;
  left: 0;
  background: #ffffff9e;
  height: 100vh;
  z-index: 99;
  backdrop-filter: blur(16px);
  padding: 1.5rem 0 0 1.5rem;
  justify-content: flex-start;
  flex-flow: column;
  transform: translateX(-100%);
  overflow: hidden;
  transition: width 0.2s ease-in-out, transform 0.2s ease-in-out;
}
div#mobile_nav .logo {
  margin: 0 auto;
}
nav#mobile_nav ul {
  list-style: none;
}
.mobile_nav .nav_oferta > ul.sub-menu {
  visibility: visible;
  position: relative;
  background: no-repeat;
  display: flex;
}
input.menu_toggle::before {
  content: "";
  display: block;
  background: black;
  height: 2px;
  width: 25px;
  position: absolute;
  top: 0px;
  left: 0;
  transition: transform 0.2s;
}

input.menu_toggle::after {
  content: "";
  display: block;
  background: black;
  height: 2px;
  width: 25px;
  position: absolute;
  top: 0.5rem;
  transition: transform 0.2s;
}

input[type="checkbox"]:not(:checked)::before {
  transform: rotate(133deg) translateX(6px) translateY(-2px);
  transition: transform 0.2s;
}
input[type="checkbox"]:not(:checked)::after {
  transform: rotate(45deg) translateX(-2px);
  transition: transform 0.2s;
}
input[type="checkbox"]:not(:checked) {
  border-bottom: white solid 2px;
  transition: border-bottom 0.2s;
}
@media (min-width: 960px) {
  .menu_toggle,
  .mobile_nav,
  input[type="checkbox"]:not(:checked) ~ .mobile_nav {
    display: none;
    visibility: hidden;
  }
}
/* Content */
.site-content {
  padding: 2rem 0;
  margin: 0 auto;
}

/* Hero */
/*.home*/
.hero {
  position: relative;
  display: flex;
  flex-flow: column;
  background-size: cover;
  background-position-x: 100%;
  background-repeat: no-repeat;
  height: fit-content;
  align-items: anchor-center;
}
.page-template-cursos .hero.wrapper {
  padding: 2rem;
}
.mobile {
  display: block;
  visibility: visible;
}
.desktop {
  display: none;
  visibility: hidden;
}
@media screen and (max-width: 767px) {
  /*.home*/
  .hero {
    background: none !important;
  }
}

@media screen and (min-width: 768px) {
  /*.home*/
  .hero {
    align-items: baseline;
    height: 525px;
  }
  .page-template-cursos .hero {
    color: white;
  }

  .mobile {
    display: none;
    visibility: hidden;
  }

  .desktop {
    display: block;
    visibility: visible;
  }

  .hero {
    background-size: cover;
  }
}
.big-green .texto-requisitos p,
.hero h1 {
  font-size: 2.6rem;
  line-height: 2.85rem;
}

.hero p {
  font-size: 1.2rem;
  font-weight: 200;
  margin: 1rem 0;
}
@media screen and (min-width: 960px) {
}
@media (min-width: 1000px) {
  .big-green .texto-requisitos p {
    font-size: 3.6rem;
    line-height: 3.85rem;
  }
  .hero {
    & h1 {
      font-size: 3.6rem;
      line-height: 3.85rem;
    }

    & p {
      font-size: 1.6rem;
      font-weight: 200;
      margin: 1rem 0;
    }
  }
}

@media (min-width: 1120px) {
  .big-green .texto-requisitos p {
    font-size: 4.6rem;
    line-height: 4.85rem;
  }
  .hero {
    & h1 {
      font-size: 4.6rem;
      line-height: 4.85rem;
    }

    & p {
      font-size: 1.6rem;
      font-weight: 200;
      margin: 1rem 0;
    }
  }
}

.hero h1 span {
  color: #064d47;
  text-decoration: underline;
}

.hero-btn {
  display: block;
  font-size: 1rem;
  background: #1d2b5c;
  text-align: center;
  color: white;
  width: max-content;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  margin: 1rem 0 3rem;
}
.hero-text {
  max-width: 500px;
}

.hero-img {
  width: 100%;
}

.hero-img img {
  max-width: 100%;
}

.home .hero::after {
  content: "100% en línea";
}

.hero::after {
  background: #f9bb3d;
  color: #18234c;
  text-align: center;
  position: absolute;
  left: 50%;
  bottom: -3rem;
  padding: 0.5rem 1.5rem;
  font-weight: 700;
  z-index: 2;
  transform: translate(-50%, -50%);
  font-size: 1.1rem;
  border-radius: 25px;
  box-shadow: #00000080 0px 0px 12px;
}
@media screen and (min-width: 768px) {
  .hero::after {
    padding: 0.5rem 2rem;
    font-size: 1.4rem;
  }
  .hero-btn {
    margin: 1rem 0;
  }
}

/* HOME */
.separador {
  border-top: #03265e solid 2px;
  width: 97%;
  max-width: 1400px;
  margin: 0 auto;
}

/*.home*/
section.info {
  background-color: #f1f1f1;
  padding: 4rem 0 3rem;
}

.info p {
  font-size: 1.15rem;
  text-align: center;
  color: #03265e;
}
.oferta-academica {
  padding: 2rem;
}
.big-text,
.info .big-text,
.oferta-academica .big-text {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2rem 0;
  color: #03265e;
}

.oferta-academica .big-text {
  max-width: 960px;
  text-align: center;
  margin: 0 auto;
  width: 90%;
}

.icon-holder {
  display: flex;
  width: 90%;
  flex-flow: row wrap;
  justify-content: space-between;
  margin: 0 auto;
  padding: 1.5rem 0 1rem;
}

.icon-item {
  width: 50%;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
}
.page-template-cursos .info h3 {
  text-transform: none;
  font-size: 2.5rem;
  text-align: left;
  border: none;
  margin-bottom: 0;
}
.page-template-cursos .info p {
  text-align: left;
}
@media screen and (min-width: 768px) {
  .oferta-academica {
    padding: 4rem;
  }
  .big-text,
  .info .big-text,
  .oferta-academica .big-text {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 2rem 0;
    color: #03265e;
  }
  .icon-item {
    width: 25%;
  }
}
.icon-item p {
  font-size: 1rem;
  color: #064d47;
  font-weight: 500;
}

.big-blue {
  text-align: center;
  background-color: #03265e;
  background-image: url("../idephgo_site/img/patron_dot.webp");
  background-attachment: fixed;
  color: white;
  padding: 2.3rem 0;
}

.big-blue img {
  max-width: 100px;
  width: 100%;
}

.h3-holder {
  width: fit-content;
  text-align: center;
  margin: 4rem auto;
}

.lic-card {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  color: #03265e;
  margin-bottom: 4rem;
}

.lic-card .hero-btn {
  margin: 1rem 1rem 2rem;
}

.lic-card figure {
  width: 100%;
  position: relative;
  z-index: 1;
}

.lic-card img {
  box-shadow: #00000069 0px -1px 8px;
  border-radius: 10%;
  /*border-bottom-right-radius: 0;*/
  z-index: 2;
  width: 100%;
}

figure > img.adorno_left {
  width: 50%;
  position: absolute;
  z-index: -1;
  border-radius: 0;
  left: calc(-30%);
  box-shadow: none;
  top: 15%;
}

figure > img.adorno_right {
  width: 50%;
  position: absolute;
  z-index: -1;
  border-radius: 0;
  right: calc(-18%);
  box-shadow: none;
  bottom: 15%;
}

.lic-card.right {
  flex-flow: column;

  & img {
    border-radius: 10%;
    /*border-bottom-left-radius: 0;*/
  }

  & .text-holder {
    border-radius: 15px;
  }
}

.text-holder {
  background: #e5e5e5;
  margin-top: 0rem;
  border-radius: 15px;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .lic-card {
    flex-flow: row;
  }
  .lic-card img {
    border-bottom-right-radius: 0;
  }
  .lic-card.right {
    flex-flow: row-reverse;
    & img {
      border-bottom-left-radius: 0;
    }
  }
  .text-holder {
    margin-top: 4rem;
    border-bottom-right-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
  }
  .lic-card.right .text-holder {
    border-top-left-radius: 15px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 0;
  }
}
@media screen and (min-width: 960px) {
  .lic-card figure {
    width: 50%;
  }
  .lic-card.right .text-holder,
  .text-holder {
    width: 50%;
  }
}
.oferta-academica .big-text {
  max-width: 960px;
  text-align: left;
  margin: 1rem 0 0;
  width: 90%;
}

.lic-card :not(big-text) p {
  padding: 0.5rem 1rem 1rem;
}

.maes-card {
  margin: 0 auto;
  color: #03265e;
}

.maes-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.maes-card .text-holder {
  width: 100%;
  margin: 0 auto;
  margin-top: -0.5rem;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 15px;
  padding: 2rem 2rem 1rem;
}

.maes-card .big-text {
  margin-top: 0;
}
@media screen and (min-width: 768px) {
  .maes-card .text-holder {
    width: 75%;
  }
}
/*footer*/

.site-info {
  background: #1d2b5c;
  display: flex;
  flex-flow: row wrap;
}

.big-green {
  background-color: #03265e;
  background-image: url(../idephgo_site/img/patron_dot_green.webp);
  background-attachment: fixed;
  color: white;
  padding: 3rem 0;

  & img {
    display: block;
    max-width: 95%;
    box-shadow: #00000094 0px -1px 8px;
    border-radius: 26px;
    margin: 0 auto;
  }

  & .wrapper {
    position: relative;
  }

  & .texto-requisitos {
    z-index: 2;
    position: absolute;
    top: 0;
    width: 95%;
  }

  & .texto-requisitos p {
    /*font-size: 4.6rem;
    line-height: 4.85rem;*/
    font-weight: 700;
    margin: 1.5rem 3.5rem;
    text-shadow: 0 0 10px #202020b3;
  }

  & .texto-requisitos a {
    color: white;
    padding: 0.5rem 1rem;
    border: white solid 2px;
    margin: 3.5rem;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 500;
    display: block;
    margin-top: 1rem;
    width: fit-content;
  }
}
@media screen and (min-width: 768px) {
  .big-green .texto-requisitos p {
    text-shadow: transparent;
  }
}
.contacto {
  background: #677fa4;
  padding: 2rem 0;
}

.contacto .wrapper {
  display: flex;
  flex-flow: column;
  align-items: center;
}
.contacto-left h3 {
  color: white;
  text-transform: none;
  font-weight: 500;
  font-size: 2.4rem;
  text-align: left;
  border: none;
}
.contacto-left {
  width: 95%;
}

.contacto-right {
  width: 95%;
  display: flex;
  justify-content: center;
}
.contacto-right iframe {
  width: 100%;
  min-height: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: #00000082 0 0px 13px;
}
@media (min-width: 960px) {
  .contacto .wrapper {
    flex-flow: row;
    justify-content: center;
    align-items: normal;
  }

  .contacto-left,
  .contacto-right {
    width: 50%;
    justify-content: center;
  }
  .contacto-right iframe {
    width: 400px;
    height: 450px;
  }
}
#wpforms-98 label.wpforms-field-label {
    font-size: 0.9rem;
}
@media (min-width: 460px) {
    #wpforms-98 label.wpforms-field-label {
    font-size: 1rem;
}
}
div#wpforms-98 {
  margin: 0;
}

div#wpforms-98 label {
  color: white;
  font-weight: 500;
}

.contacto_nombre,
.contacto_mail {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

div#wpforms-98 .contacto_nombre label,
div#wpforms-98 .contacto_mail label {
  margin-bottom: 0;
}

input#wpforms-98-field_1,
input#wpforms-98-field_2 {
  max-width: 80%;
  background: transparent;
  border: none;
  border-bottom: solid 1px white;
  border-radius: 0;
  color: #ffffff;
}

@media screen and (min-width: 768px) {
  input#wpforms-98-field_1,
  input#wpforms-98-field_2 {
    max-width: 86%;
  }
}

div.wpforms-container-full input[type="text"] {
  background: transparent;
  border: none;
  border-radius: 0;
  border-bottom: white solid thin;
}

div.wpforms-container-full input[type="text"]:focus {
}

/* Edit Button */
.entry-edit-link {
  margin-top: 1.5em;
  padding-top: 1em;
  border-top: 1px solid #eee;
}

.edit-button {
  display: inline-block;
  padding: 0.5em 1em;
  background: #2271b1;
  color: #fff !important;
  text-decoration: none;
  border-radius: 3px;
  font-size: 0.9em;
  transition: background 0.2s ease;
}

.edit-button:hover {
  background: #135e96;
  color: #fff;
}

/* Edit Post Form */
.edit-post-form {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-actions {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.notice {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid;
}

.notice-success {
  background: #f5f9f5;
  border-left-color: #46b450;
}

.notice-error {
  background: #fcf0f1;
  border-left-color: #dc3232;
}

.contacto_address {
  padding-top: 2rem;
}

.contacto_address p {
  color: white;
  margin-bottom: 1rem;
}
/*Accordions*/
.accordions {
  margin-top: 2rem;
}
.accordions ul li {
    margin-left: 1.5rem;
}

/*Admisiones*/

.page-template-admisiones section.info {
  background: white;
}
.admisiones_holder {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  gap: 2rem;
}

.admisiones_card {
  display: flex;
  flex-flow: column;
  gap: 2rem;
  background: #f1f1f1;
  border-radius: 15px;
  transition: transform .25s, box-shadow .25s;
  box-shadow: #72727287 0 0 10px;
}

.admisiones_card:hover {
  transform: scale(1.05);
  box-shadow: #727272d9 -1px 7px 10px;
  transition: transform .25s, box-shadow .25s;
}

.admisiones_card h3 {
  font-size: 2rem;
  font-weight: 500;
  background: #03265f;
  color: white;
  border-top-right-radius: 15px;
  border-top-left-radius: 15px;
  padding: 0.5rem 1rem;
  border: none;
}

.admisiones_card ul {
  list-style: none;
  padding: 0 1rem;
}

.admisiones_card ul li {
  margin-bottom: 1rem;
  list-style: inside;
}

/* Footer */
section.plataforma24 {
  text-align: center;
  margin-bottom: 4rem;
  & .big-text {
    font-size: 2.4rem;
  }
  & .inscribete {
    margin: 2rem auto;
    width: fit-content;
  }
}
.plataforma-text {
  font-size: 1.6rem;
  font-weight: 200;
  color: #03265e;
}
.site-footer {
  padding: 2rem 1rem;
  text-align: center;
  border-top: 1px solid #eee;
  margin-top: 2rem;
}

.site-info .wrapper {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  width: 95%;
  padding: 3rem 0;
  color: white;
  row-gap: 2rem;
  align-items: center;
}

.footer-nav-maes,
.footer-nav-admisiones,
.footer-nav-contacto {
  margin-top: 1rem;
}

#menu-footer {
  list-style: none;
}

ul#menu-footer a {
  color: white;
  font-weight: 500;
}

.footer-block-2 img {
  width: 100%;
  max-width: 270px;
}
a.tel {
  color: white;
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
}
.redes-text {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.redes {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}
@media (min-width: 960px) {
  .site-info .wrapper {
    flex-flow: row wrap;
    row-gap: 2rem;
    align-items: flex-start;
  }
}
/* Responsive */
@media (min-width: 768px) {
  .site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .main-navigation {
    padding: 0 1rem;
  }
}

@media (min-width: 1200px) {
  /* Add your styles for screens larger than 1200px here */
}
