@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Text&family=Poppins:wght@400;500;600;700&display=swap");
html {
  font-size: 105%;
}

body {
  color: #5d737e;
  font-family: "Poppins", Arial, sans-serif;
}

#recurso a {
  text-decoration: none;
}
#recurso ul.tipo1, #recurso ul.tipo2, #recurso ol {
  font-family: "Poppins", Arial, sans-serif;
}
#recurso ul {
  margin-bottom: 30px;
}
#recurso ul li {
  padding-bottom: 5px;
}

.fondo1 {
  background-color: #20676f;
}

.fondo2 {
  background-color: #395f99;
}

.fondo3 {
  background-color: #cb161a;
}

.fondo4 {
  background-color: #ededed;
  color: #000;
}

.fondo4 * {
  color: #000;
}

.fondo4 .caja-tabla {
  background: #f7f7f7;
  padding: 18px 0;
}

.fondo4 table {
  border: none;
  border-bottom: 5px solid #000;
  border-top: 5px solid #000;
}

.fondo4 table th {
  border-bottom: 2px solid #000;
  color: #000;
}

.fondo5 {
  background-color: #ec6646;
}

.fondo6 {
  background-color: #36888d;
}

h1, h2 {
  color: #000;
  font-family: "DM Serif Text", serif;
  font-weight: 400;
}
h1.tipo2, h2.tipo2 {
  color: #f52549;
}

h3, h4, h5, h6 {
  color: #5d737e;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 10px;
}
h3.tipo2, h4.tipo2, h5.tipo2, h6.tipo2 {
  color: #f52549;
}

.modulo1 h1 {
  font-size: 1.7rem;
  line-height: 1.1em;
  text-align: center;
}
.modulo1 h1:after {
  content: '';
  display: block;
  height: 3px;
  width: 115px;
  background: #000;
  margin: 30px auto 60px;
}
.modulo1 h2 {
  font-size: 1.5rem;
  margin-bottom: 30px;
}
.modulo1 h2:after {
  content: '';
  display: block;
  height: 3px;
  width: 60px;
  background: #000;
  margin: 10px 0 0;
}
.modulo1 h2.tipo2:after {
  background: #f52549;
}

h3 {
  font-size: 1.05rem;
}

h4, h3.tipo2 {
  font-size: 1.1rem;
}

h5, h6 {
  font-size: 1rem;
}

h1 + p .txt-l,
h1 + h2 + p .txt-l, .txt-m {
  line-height: 1.5em;
}

h2.ui-accordion-header:after {
  display: none;
}

.txtcolortema2, .acordeon .ui-accordion-header .ui-accordion-header-icon:before,
#listadoitems .elementos li a,
#listadoitems h2 {
  color: #f52549;
}

#main-nav .icono-cerrar::before {
  color: #fff;
}

#main-nav {
  background-color: #20676f;
}

#main-nav ul#n2 li a {
  color: #fff !important;
  font-family: "Poppins", sans-serif;
}
#main-nav ul#n2 li a:hover {
  opacity: .7;
  transition: all 300ms;
}
#main-nav ul#n2 li.activo a {
  font-weight: 600;
  font-family: "Poppins", sans-serif;
}
#main-nav ul#n2 li.primero a {
  font-weight: 600;
}

.contenedor .bloque.intro .zona-izd {
  padding-top: 50px;
}

.modulohome .intro-dest {
  justify-content: flex-start;
  background-position: 100% 50%;
}
.modulohome .intro-dest .texto {
  text-align: left;
  box-sizing: border-box;
  padding: 0 25px;
}
.modulohome .intro-dest .texto h2 {
  color: #fff;
  font-size: 2em;
  letter-spacing: 1px;
  font-weight: 400;
  margin: 40px 0;
}
.modulohome .intro-dest .texto h2 strong {
  display: block;
}
.modulohome .intro-dest .texto h2 strong:after {
  content: "";
  display: block;
  height: 3px;
  width: 70px;
  background: #fff;
  margin: 35px 0;
}
.modulohome .intro-dest .texto p {
  font-size: 1.15rem;
  z-index: 10;
}
.modulohome .intro-dest .texto p a {
  color: #fff;
  text-decoration: none;
}
.modulohome .intro-dest .texto p a:hover {
  opacity: .7;
  transition: all 300ms;
}

.caja-video {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  margin-bottom: 50px;
}

.caja-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.bloque .destacado {
  font-family: "DM Serif Text", serif;
}
.bloque .destacado .espacio:after, .bloque .destacado .espacio:before {
  content: '';
  display: block;
  height: 2px;
  width: 80px;
  background: #fff;
  margin: 30px auto;
}
.bloque .destacado .espacio p {
  line-height: 1.25em;
}

.caja-dest {
  font-family: "DM Serif Text", serif;
  text-align: center;
}
.caja-dest:after, .caja-dest:before {
  content: '';
  display: block;
  width: 2px;
  height: 80px;
  background: #000;
  margin: 60px auto;
}
.caja-dest:before {
  margin: 10px auto 60px;
}
.caja-dest h1:after, .caja-dest h2:after {
  display: none;
}
.caja-dest p {
  font-size: 1.2em;
}

#atajo {
  z-index: 100;
}

.boton a {
  color: #fff !important;
  text-decoration: none !important;
}

.boton a:hover {
  color: #07346b !important;
}

@media (min-width: 47em) {
  .contenedor .bloque.intro .zona-dch > img {
    width: 100%;
    object-fit: cover;
  }

  .bloque .destacado {
    height: 100%;
    min-height: 425px;
  }
}
@media (min-width: 67.5em) {
  #recurso a:hover {
    text-decoration: underline;
    color: #f52549;
  }

  .modulohome .cuadricula .info p a:hover {
    color: inherit !important;
  }

  .fondo2 a:hover {
    color: #fff;
    opacity: .7;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  h3 {
    font-size: 1.15rem;
  }

  .contenedor .bloque.intro .zona-izd {
    padding-top: 80px;
  }

  .modulohome .intro-dest .texto {
    padding: 9vh 60px 0;
    max-width: 350px;
    align-self: flex-start;
  }
  .modulohome .intro-dest .texto h2 {
    margin: 0;
  }
  .modulohome .intro-dest .texto p {
    bottom: 10px;
    position: absolute;
    left: 50px;
    z-index: 10;
  }

  .modulohome .intro-dest .scroll-down {
    bottom: 20px;
  }

  .enlaces-contenidos {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .enlaces-contenidos p.siguiente-cont a:before {
    display: none;
  }

  .enlaces-contenidos p.siguiente-cont a:after {
    color: #fff;
    content: "\f006";
    flex: 0 0 50px;
    font-family: fontello;
    font-size: 29px !important;
    height: 39px !important;
    padding: 11px 0 0;
    text-align: center;
    width: 50px !important;
  }

  .enlaces-contenidos p.siguiente-cont a {
    align-items: center;
    border-radius: 35px;
    color: #fff;
    display: flex;
    justify-content: flex-end;
    max-width: 50px;
    overflow: hidden;
    padding-top: 1px;
    position: relative;
    text-align: right;
    transition: max-width 1s;
    vertical-align: top;
    white-space: nowrap;
  }

  .enlaces-contenidos p.siguiente-cont a span {
    padding-left: 30px;
  }

  .enlaces-contenidos p.siguiente-cont a:hover {
    max-width: 600px;
    width: auto;
    color: #fff !important;
  }

  .bloque .destacado {
    font-size: 1.7em;
  }

  .caja-dest p {
    font-size: 1.35em;
  }
}
@media (min-width: 1700px) {
  #main-section {
    font-size: 1em;
  }

  .modulohome .intro-dest .texto p {
    bottom: 25px;
  }
  .modulohome .intro-dest .scroll-down {
    bottom: 40px;
  }
}
