@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@700&family=Roboto:wght@400;500;700&display=swap');
:root {
  --marron-oscuro: #301B28 ;
  --marron: #523634;
  --terracota: #B6452C;
  --arena: #C9A66B;
  --gris: #5d737e;
}
html {
  font-size: 105%;
}

.txtcolortema{
  color: var(--marron);
}

body {
  color: var(--gris);
  font-family: "Roboto", Arial, sans-serif;
}

#main-header #idioma {
  display: none;
}

a {
  color: var(--gris);
}

a:hover {
  color: var(--terracota);
  text-decoration: underline;
}

#main-header #ver-menu img {
	filter: grayscale(1) contrast(2);
}

#recurso a {
  text-decoration: none;
}

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

#recurso ul li::before {
  content: '>';
  font-family: "Roboto", Arial, sans-serif;
  margin-right: 10px;
}

.fondo1 {
  background: var(--marron);
}

.fondo2 {
  background-color: var(--terracota);
}

.fondo3 {
  background-color: var(--arena);
}

.fondo4 {
  background-color: #bc6d4f;
}	

.fondo8 {
  background-color: var(--terracota);
}

.fondo12 {
  background: var(--marron);
}

.border-bottom {
	border-bottom: 1px solid;
}

h1, h2 {
  color: var(--marron);
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 600;
}
h1.tipo1, h2.tipo1 {
  color: var(--marron-oscuro);
}
h1.tipo2 {
  color: var(--marron);
}

h2.tipo2 {
  color: var(--terracota);
}

h2.tipo2.gobierno:after {
  content: '';
  display: block;
  height: 1px;
  width: 40px;
  background: var(--terracota);
  margin: 30px 0 15px;
}

h3, h4, h5, h6 {
  color: var(--gris);
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 10px;
}
h3.tipo2, h4.tipo2, h5.tipo2, h6.tipo2 {
  color: var(--marron);
}

.modulo1 h1 {
  font-family: 'Josefin Sans';
  font-size: 1.7rem;
  line-height: 1.1em;
  text-align: center;
  text-transform: uppercase;
}

.modulo1 h1:after {
  content: '';
  display: block;
  height: 1px;
  width: 80px;
  background: var(--marron);
  margin: 30px auto 60px;
}

.modulo1 h2 {
  font-family: 'Josefin Sans';
  font-size: 1.5rem;
  margin-bottom: 30px;
}

/*.modulo1 h2:after {
  content: '';
  display: block;
  height: 1px;
  width: 50px;
  background: var(--marron);
  margin: 10px 0 0;
}*/

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: var(--terracota);;
}

.naranja {
  color: #ea654c;
}

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

#main-nav {
  background: var(--marron);
}


#main-nav ul#n2 li a {
  color: #fff !important;
  font-family: "Roboto", 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: "Roboto", sans-serif;
}
#main-nav ul#n2 li.primero a {  
  font-size: 1.2rem;
  font-weight: 400;
}

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

.modulohome .intro-dest {
  justify-content: flex-start;
  background-color: #ddc5a2;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}
.modulohome .intro-dest .texto {
  text-align: left;
  box-sizing: border-box;
  padding: 0 25px;
}
.modulohome .intro-dest .texto h2 {
  color: var(--marron-oscuro);
  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: var(--marron-oscuro);
  margin: 35px 0;
}
.modulohome .intro-dest .texto p {
  font-size: 1.15rem;
  z-index: 10;
}
.modulohome .intro-dest .texto p a {
  color: var(--marron-oscuro);
  text-decoration: none;
}
.modulohome .intro-dest .texto p a:hover {
  opacity: .7;
  transition: all 300ms;
}

.modulohome .cuadricula .info p {
  font-family: "Josefin Sans", serif;
  font-weight: 400;
}

.modulohome .cuadricula .foto {
    padding: 5%;
    box-sizing: border-box;
}

.modulohome .cuadricula .foto img {
      width: 75%;
}

.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: "Josefin Sans", serif;
}

.bloque .destacado .espacio p {
  line-height: 1.25em;
}

.bloque .destacado ul.fijo {
  position: fixed;
}

.bloque .destacado ul li {
  background: none;
  position: relative;
}

.bloque .destacado ul a {
  color: #fff;
}

.bloque .destacado ul a:hover {
  color: #fff !important;
}

.bloque.fondo2 {
  background-color: #f5f1e9;
}

.bloque.fondo2 * {
    color: var(--gris);
}

.bloque.fondo2 a:hover {
    text-decoration-color: var(--gris);
}

.caja-dest {
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 500;
  margin-bottom: 60px;
  text-align: left;
}

.caja-dest p {
  font-size: 1.2em;
}

#atajo {
  z-index: 100;
}

span.boton {
  width: 100%;
  text-align: center;
}

.boton a {
  background: var(--marron);
  color: #fff !important;
  text-decoration: none !important;
}

.boton a:hover {
  color: var(--marron) !important;
  background: #fff;
  border-color: var(--marron);
}

.caja-tabla{
	background: #f5f1e9;
	padding: 30px 30px 0;
}

.caja-tabla h2{
	color: var(--marron-oscuro);
	font-family: "Roboto", sans-serif;
	margin-bottom: 20px;
}

.caja-tabla table{
	color: var(--marron-oscuro);
	border-bottom: 4px solid var(--marron-oscuro);
	border-top: 4px solid var(--marron-oscuro);
}

.caja-tabla table td,
.caja-tabla table th{
	background: #fff;
	text-align: left;
}

.caja-tabla table th{
	border-bottom: 2px solid;
}

.caja-tabla table td{
	padding: 5px;
    border: 0;
}

table th {
  color: var(--marron-oscuro);
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 500;
}

.enlaces-contenidos.activo {
  opacity: 1;
  transform: translateY(0);
}

.acordeon .ui-accordion-content :not(.boton) > a {
    text-decoration: underline !important;
}

.acordeon-gris .ui-accordion-header,
.acordeon-gris .ui-accordion-header .ui-accordion-header-icon:before{
  color: var(--gris);
}

.acordeon .ui-accordion-header {
	font-size: 1.4rem;
	font-weight: 400;
	padding-bottom: 15px;
	padding-top: 15px;
	color: var(--marron);
}

.bloque-blanco ul li {
  background: none;
  text-align: left;
  position: relative;
}

.bloque-blanco a {
  color: #fff;
  text-decoration: underline !important;
}

.bloque-blanco a:hover {
  color: #fff !important;
}

#atajo a, .enlaces-contenidos a {
  background: var(--terracota);
}

@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;
  }

  .modulohome .cuadricula .foto img{
      width: 75%;
  }

  .modulohome .cuadricula .info {
    min-height: 350px;
  }

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

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

  .bloque.fondo2 a:hover {
    color: var(--gris);
  }

  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: 450px;
    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;
    min-height: calc(100vh - 155px);
  }

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

@media (min-width: 810px) {
    .bloque .zona-dch {
        min-height: calc(100vh - 155px);
    }
}