@import url('https://www.upc.edu.pe/static/css/fonts-familiy.css');

*,::after,::before {
	box-sizing: border-box;
	border-width: 0;
	border-style: solid;
	border-color: #e5e7eb;
}

:root {
	--color-bluelight: #6AC7E0;
	--color-red: #D50000;
	--color-purple: #543477;
	--color-primario: #A08958;
	--color-blanco: #ffffff;
	--color-plomo: #797979;
	--color-negro: #2C2A29;
	--color-plomoLight: #575759;
	--color-light:#cecece;
	--margen-pequeno: 4rem;
	--margen-intermedio: 6rem;
	--margen-minimo: 3rem;
	--fuente-bdcap: 'sgothic-bdcap';
	--fuente-regular: 'zizou-slab-regular';
	--fuente-slab-bold: 'zizou-slab-bold';
	-moz-tab-size: 4;
	tab-size: 4;
}

@media (max-width: 480px) {
	:root {
		--margen-pequeno: 6rem;
		--margen-intermedio: 4rem;
		--margen-minimo: 2rem;
	}
}

/* Malla Curricular */

.malla {
    padding: 2em 4em 4em;
}

.contenedor,
.entry-header {
    /* width: 80%; */
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

details {
    display: block;
}

.malla h2 {
    position: relative;
    display: inline-block;
    font-size: 30px;
    font-weight: bold;
    font-family: 'zizou-slab-bold';
    margin-bottom: 22px;
    color: var(--color-purple);
}

.malla__contenedor p {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 18px;
    font-family: 'zizou-slab-regular';
}

.malla strong {
    /* font-size: 1.4rem; */
    font-weight: bolder;
    color: #575759;
    font-size: 14px;
}

.malla__contenedor h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.malla__contenedor h3 {
    font-size: 1.5rem;
    color: #575759;
    margin-top: .625rem;
    margin-bottom: 1rem;
    padding-top: 0.4em;
    padding-bottom: 0.5rem;
    border-bottom: 0.1rem solid #cecece;
    font-family: 'zizou-slab-regular';
    font-weight: bold;
    cursor: pointer;
}

summary {
    display: list-item;
}

.malla__contenedor img {
    transition: all 400ms ease;
    max-width: 100%;
    height: auto;
    display: block;
    /* vertical-align: middle; */
}

details {
    display: block;
}

details.details>summary.summary-dsktp::marker {
    display: none;
    content: '';
    visibility: hidden;
}

.malla details[open] summary img {
    transform: rotate(180deg);
}

details[open] summary~* {
    animation: sweep .5s ease-in-out;
  }
  
  @keyframes sweep {
    from {
      opacity: 0;
      margin-top: -10px;
    }
  
    to {
      opacity: 1;
      margin-top: 0;
    }
  }

.malla ol {
    padding: 0 !important;
}

.entry-content ol>li {
    list-style-type: decimal;
    margin: 14px 0;
}

.entry-content ol,
.entry-content ul {
    margin-bottom: 0 !important;
}

.malla li {
    list-style: none !important;
    line-height: 20px;
}

.mallaSubMenu {
    margin-bottom: .75rem;
    font-family: 'zizou-slab-regular';
    color: #2C2A29;
    font-size: 18px;
}

.mallaSubMenu summary {
    /* display: flex; */
    align-items: center;
    cursor: pointer;

}

.mallaSubMenu summary {
    font-weight: bold;
}

.mallaSubMenu>div {
    margin-top: 1.9375rem;
    margin-bottom: 1.25rem;
}

.mallaSubMenu summary::-webkit-details-marker,
.mallaSubMenu summary::marker {
    color: rgba(59, 130, 246, 0.5);
}

.content-malla {
    margin-top: 1.8rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.content-malla a {
    display: inline-block;
    font-size: 20px;
    /* border: 2px solid #543477; */
    padding: 10px 30px;
    /* color: #807E7E; */
    font-family: 'sgothic-bdcap';
    color: #ffff !important;
    margin-bottom: 10px;
    margin-top: 10px;
    border-radius: 25px;
    background-color: #D50000;
    text-decoration: none;
}

@media (min-width: 768px) {
    .content-malla {
        text-align: left;
    }

    .content-malla a {
        margin-right: 8px;
    }
}

/* Plana Docente */
.docente {
    background-color: #F7F8FA;
    padding-top: var(--margen-pequeno);
    padding-bottom: calc(var(--margen-pequeno) *2);
  }
  
  .docente h2 {
    margin-bottom: 2rem;
    position: relative;
  }
  
  .docenteImagen {
    height: 20.5rem;
    overflow: hidden;
  }
  
  .docenteImagen img {
    width: 100%;
    object-fit: cover;
  }
  
  .docente h4 {
    margin: 0;
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
  }

  .docente h3 {
    margin: 0;
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    font-family: 'zizou-slab-regular';
  }

  .docente p {
    margin: 0;
    margin-top: 1rem;
    font-size: xx-large;
    font-weight: bold;
    text-align: center;
    font-family: 'zizou-slab-regular';
  }
  
  .docente span.biografia {
    font-size: 0.85rem;
    font-family: 'zizou-slab-regular';
  }
  
  
  .biografia ul {
    padding-left: 40px;
  }
  
  .biografia ul>li {
    width: 220px !important;
    margin: 5px 0px;
    text-align: left;
    list-style-type: disc;
  }
  
  
  .docente .item .row p {
    font-family: 'zizou-slab-regular';
    font-size: 1rem;
  }
  
  .docente .item .row ul li {
    font-family: 'zizou-slab-regular';
  }
  
  .docente .docente__contenedor {
    text-align: center;
    max-width: 1250px;
    margin: 0 auto;
  }
  
  .docenteCard {
    background-color: #fff;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    padding-top: .125rem;
  }
  
  .docenteCard h4,
  .docenteCard p {
    font-family: 'zizou-slab-regular';
  }
  
  .sombra {
    box-shadow: 0px 3px 3px 0px rgba(224, 224, 224, 1);
  }
  
  @media (max-width: 768px) {
    .docenteImagen {
      height: 25rem;
    }
  
    .docente__contenedor {
      width: 80%;
    }
  
    .biografia ul>li {
      width: 100% !important;
    }
  
  }
  
  .content-perfil {
    background-color: #F7F8FA;
  }
  
  .content-perfil p {
    font-family: 'zizou-slab-regular';
    font-size: 18px;
  }
  
  .content-perfil>div:first-child {
    padding-top: var(--margen-pequeno);
    padding-bottom: var(--margen-pequeno);
    padding-left: 25px;
    padding-right: 25px;
  }
  
  .perfil {
    background-image: url('https://postgrado.upc.edu.pe/wp-content/uploads/2021/01/local-postgrado.jpg');
    background-repeat: no-repeat;
    background-position: center right;
    /* background-size:   auto 100%; */
    background-size: cover;
    height: 200px;
  }
  
  @media (min-width:768px) {
    .perfil {
      height: inherit;
    }
  }
  
  .perfil__contenedor {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  
  .perfil__contenedor p,
  .content-perfil p {
    padding-top: var(--margen-chico);
    padding-bottom: var(--margen-minimo);
  }
  
  .content-testimonio .perfil__contenedor--texto>p {
    padding-top: var(--margen-chico);
    padding-bottom: var(--margen-minimo);
    font-style: italic;
  }
  
  @media (min-width: 968px) {
    .content-perfil {
      display: flex;
      margin-top: 5rem;
    }
  
    .content-perfil>div:first-child {
      padding-left: 10%;
      padding-right: 2%;
    }
  
    .content-perfil>div {
      width: 50%;
    }
  }
  
  
  .content-info{
    font-size: 18px;
    font-family: 'zizou-slab-regular';
  }
  
  .content-info a{
    color: var(--color-negro);
  }
  
  .contenedorVideo {
    width: 100%;
    margin: 0 auto;
    /* padding-top: var(--margen-pequeno); */
  }
  .entry-title, .tituloPrincipal{
    position: relative;
  }
  
  @media (max-width: 768px){
    /* .contenedorVideo{
      width: 80%;
    } */
    iframe{
    height: 20rem;
    }
  }
  @media (min-width: 768px){
    .contenedorVideo{
      width: 50%;
    }
    .contenedorVideo iframe {
      width: 100%;
    }
  }



  /* ========= new styles in header ========= */

.hero_description{
  display: flex;
  margin-top: 20%;
}
.hero_description .hero_description_reactangle{
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  width: 280px;
  background-color: #543477;
  position: relative;
  border-radius: 0 20px 20px 0;
  padding: 1rem 0 1rem 2rem;
}

.hero_description .logo{
  width: 30%;
}

.hero_description .semicircle {
  
  width: 175px;
  background-color: #543477;
  border-radius: 0 100% 100% 0;
  position: relative;
  left: -20px;
  top: 0;
  z-index: -1;
}

.hero_description h1{
  font-family: zizou-slab-bold;
  font-size: 25px;
}
.hero_description h1 .pre-title{
  font-size: 0.7em;
  color: #6AC4D9;
}
.hero_description h1 .pre-title:before{
  content: '>';
  color: #D50000;
}
.hero_description p{
  font-family: zizou-slab-regular;
    font-size: 15px !important;
    line-height: 1.2 !important;
    padding: 0 !important;
}
.hero_description .start-date{
  font-size: 12px;
}
.hero_description .line{
  height: 0px;
  border-bottom: 1.5px solid #4DC0FF;
  margin: 5px 0;
}

.hero_description .semicircle .flecha-roja {
  transform: translate(45%, -110%) rotate(45deg);
  position: relative;
  width: 90px;
  top: 100%;
  left: 0;
}
.hero_description .modalidad {
  background: #D50000;
  color: #fff;
  padding: 0.3rem 1rem;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-family: 'sgothic-bdcap';
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero_description .modalidad img{
  width: auto;
  height: 1.5rem;
}
@media (min-width: 768px) {
  .hero_description{
    margin-top: 12%;
  }
  .hero_description .hero_description_reactangle{
    width: 470px;
    border-radius: 0 50px 50px 0;
  }
  .hero_description .semicircle {
    width: 175px;
    border-radius: 0 350px 350px 0;
    left: -50px;
  }
  .hero_description h1{
    font-size: 42px;
    line-height: 1;
  }
  .hero_description .start-date{
    font-size: 22px;
  }
  .hero_description p{
    font-size: 22px !important;
  }
}

/* ========= new styles in header ========= */