html {
  overflow-y: scroll;
}

* {
  box-sizing: border-box;
}

body {
  background: url(../images/fondo.jpg) 0 0 no-repeat fixed, #B4CDD9;
  color: #333;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
}

a {
  color: #49947B;
  text-decoration: none;
  -webkit-transition: all .35s linear;
  -moz-transition: all .35s linear;
  -o-transition: all .35s linear;
  transition: all .35s linear
}

a:hover, a:focus {
  color: #F90;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: #49947B;
  font-weight: 300;
}

iframe {
  max-width: 100%;
}

.logo {
  display: block;
  margin-top: -20px;
  margin-bottom: 30px;
}

.mainmenu {
  margin-bottom: 30px;
}

.topmenu {
  padding: 30px 0 20px;
}

.menulanguage ul {
  display: flex;
  gap: 20px;
  text-transform: uppercase;
  font-size: 14px;
  justify-content: end;
}

.menulanguage > ul a:hover {
  background: transparent;
}

.mainmenu > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 6px;
  font-size: 20px;
  justify-content: end;
}

.mainmenu a {
  color: #333;
  padding: 10px 15px;
  font-weight: 400;
  white-space: nowrap;
}

.mainmenu a:hover {
  color: #49947B;
}

.mainmenu .active a {
  background: #49947B;
  color: #fff;
}

.main-content {
  margin-bottom: 30px;
}

.main-content .article {
  background: rgba(255, 255, 255, 0.4);
  padding: 30px;
}

.page-header {
  padding-bottom: 0;
  margin: 20px 0;
  border-bottom: none;
}

.inicio .main-content .article,
.hasiera .main-content .article,
.home .main-content .article
 {
  background: #49947B;
  padding: 30px;
}

.inicio .main-content .page-header [itemprop="headline"],
.hasiera .main-content .page-header [itemprop="headline"],
.home .main-content .page-header [itemprop="headline"]
 {
  color: white;
  font-size: 45px;
  line-height: 55px;
  text-align: center;
  font-weight: 300;
}

.inicio .main-content a,
.hasiera .main-content a,
.home .main-content a {
  color: white;
}

.title {
  color: #49947B;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
}

.page-header h2[itemprop="headline"] {
  color: #49947B;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
}

.box {
  margin-bottom: 30px;
}

.box-content {
  background: #FFF;
  border-width: 1px;
  border-style: solid;
  border-radius: 3px;
  border-color: #ccc;
  padding: 20px;
  margin-bottom: 15px;
}

.box .custom, .box .moduletable {
  padding: 30px;
  background: rgba(255, 255, 255, 0.4);
  min-height: 320px;
}

.box .moduletable .custom {
  padding: 0;
  background: transparent;
}

.box .moduletable h3 {
  margin-top: 0;
  line-height: 1.2;
}

.button-default {
  background: #f8f8f8;
  color: #49947B;
  border: none;
  text-shadow: 0 1px 1px #FFF;
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 6px 12px;
  border-radius: 3px;
  box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.1);
  font-size: 16px;
  display: inline-block;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13em, 1fr));
  column-gap: 20px;
  row-gap: 50px;
}

.grid .moduletable {
  height: 100%;
}

.footer h4 {
  color: #49947B;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
}

.footer-menu > ul {
  display: flex;
  justify-content: center;
  gap: 15px;
  font-size: 12px;
  margin: 120px 0 20px 0;
}

.footer-menu > ul a {
  padding: 3px 5px;
}

.footer-menu > ul a:hover {
  background: transparent;
}

@media (max-width:1199px) {
  .logo img {
    max-width: 210px;
  }

  .mainmenu > ul {
    font-size: 16px;
  }

  .mainmenu a {
    padding: 6px 5px;
  }

}

@media (max-width:570px) {
  .footer-menu > ul {
    flex-direction: column;
    align-items: center;
  }

}

.siteinfo {
  display: grid;
  grid-auto-flow: column;
  justify-content: end;
  align-items: center;
  gap: 5px;
}

.mod_sigplus .slideplus-content > div, .mod_sigplus a.sigplus-image, .mod_sigplus a.sigplus-image > img {
  width: 100%;
}

label {
  margin: 0;
}


.menu-button {
  position: absolute;
  top: -54px;
  right: 20px;
}

.menulanguage .mod-menu.mod-list.nav {
  flex-direction: row;
}






































.top-nav {
  position: relative;
}
.top-nav .menu {
  width: 100%;
}

.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu > li {
  margin: 0 1rem;
}

.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
}
.mod-menu.mod-list.nav {
  display: flex;justify-content: end;width: 100%;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #fff;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

@media (max-width: 700px) {
  .menu {
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  height: 0px;
  z-index: 9;
}
  .logo {
  width: 210px;
}
.menu {
  z-index: -1;
  opacity: 0;
}
  .top-nav .menu {
  background: #fff;
}
  .menu-button-container {
    display: flex;
  }
  .top-nav {
  z-index: 1;
}
  .menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9;
  }
  .mod-menu.mod-list.nav {
  flex-direction: column;
}
  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  #menu-toggle:checked ~ .menu li {
    border-bottom: 1px solid rgba(51, 51, 51, 0.11);
    height: 46px;
    padding: 0.5em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  .menu > li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: white;
    background-color: #222;
  }
  .menu > li:not(:last-child) {
    border-bottom: 1px solid #444;
  }
}