html,
body {
  position: relative;
  margin: 0;
  padding: 0;
  height: 100%;
}

b,
strong {
  font-family: 'Variable_Black';
}

.back__btn {
  border: solid 1px #E03326;
  padding: 6px 5px;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-family: 'Variable_Bold';
}

.back__btn img {
  height: 0.5rem;
  margin-right: 0.5rem;
}

.page-template-temp_participa .header,
.page-template-temp_glosaria .header,
.project-template-default .header,
.single .header {
  background: #FFF;
}

.single #wpadminbar {
  display: none;
}

.header {
  align-items: center;
  box-sizing: border-box;
  background: transparent;
  display: flex;
  flex-direction: row;
  position: absolute;
  justify-content: space-between;
  opacity: 0;
  top: 0;
  left: 0;
  right: 0;
  transition: opacity 1s ease-in;
  padding: 1rem 4%;
  z-index: 100;
}

.home .header svg path {
  transition: all 1500ms cubic-bezier(0.770, 0.000, 0.175, 1.000);
  transition-timing-function: cubic-bezier(0.770, 0.000, 0.175, 1.000);
}

.home.countries .header svg .st0 {
  stroke: #fff;
}

.home.countries .header svg .st1 {
  fill: #fff;
}


.nav-mobile {
  display: none;
}

.nav-mobile.active {
  transform: translateY(0);
}

#header-menu {
  flex-grow: 1;
}

.header #ul-header-menu {
  display: flex;
  align-items: flex-start;
  margin: 0;
  padding: 0;
}

.header #ul-header-menu li {
  list-style: none;
  flex-grow: 1;
  margin-right: 1rem;
}

.header.in {
  opacity: 1;
}

.burger-menu {
  display: none;
}

.header a {
  font-family: 'Variable_Bold';
  cursor: pointer;
  margin: 0 2rem;
  text-transform: uppercase;
  transition: color 0.5s ease-out;
  text-decoration: none;
  color: #000;
  padding: 3px 0;
}

.header a,
.header a.active {
  border-bottom: solid 1px #E03326;
  display: block;
}

.header a.active {
  color: #E03326;
}

.header .logo {
  align-self: first baseline;
  border-bottom: none;
  height: 2.8rem;
  width: 2.8rem;
}

.header .logo img {
  height: 100%;
  width: 100%;
}


.bracket__container {
  display: grid;
}

.bracket__container * {
  box-sizing: border-box;
}

.bracket__container.full {
  grid-template-areas: "left content right";
  grid-template-columns: 3rem auto 3rem;
  grid-template-rows: auto;
}

.bracket__container.left-side {
  grid-template-areas: "left content";
  grid-template-columns: 3rem auto;
  grid-template-rows: auto;
}

.bracket {
  display: flex;
  flex-direction: column;
}

.acerca.bracket__container.left-side {
  grid-template-columns: 1.5rem auto 3rem;
}


.bracket .top {
  width: 38px;
  height: 16px;
  background-image: url(/wp-content/themes/archiva/assets/corchetes/corchete_borde_arriba.png);
  background-repeat: no-repeat;
}

.bracket .bottom {
  width: 38px;
  height: 16px;
  background-image: url(/wp-content/themes/archiva/assets/corchetes/corchete_borde_abajo.png);
  background-repeat: no-repeat;

}

.bracket .middle {
  width: 11px;
  height: calc(100% - 32px);
  background-image: url(/wp-content/themes/archiva/assets/corchetes/corchete_borde_medio.png);
  background-repeat: repeat-y;
}


.bracket.red .top {
  width: 38px;
  height: 16px;
  background-image: url(/wp-content/themes/archiva/assets/corchetes/corchete_rojo_arriba.png);
  background-repeat: no-repeat;
}

.bracket.red .bottom {
  width: 38px;
  height: 16px;
  background-image: url(/wp-content/themes/archiva/assets/corchetes/corchete_rojo_abajo.png);
  background-repeat: no-repeat;

}

.bracket.red .middle {
  width: 11px;
  height: calc(100% - 32px);
  background-image: url(/wp-content/themes/archiva/assets/corchetes/corchete_rojo_medio.png);
  background-repeat: repeat-y;
}

.bracket.white .top {
  width: 38px;
  height: 16px;
  background-image: url(/wp-content/themes/archiva/assets/corchetes/corchete_blanco_arriba.png);
  background-repeat: no-repeat;
}

.bracket.white .bottom {
  width: 38px;
  height: 16px;
  background-image: url(/wp-content/themes/archiva/assets/corchetes/corchete_blanco_abajo.png);
  background-repeat: no-repeat;

}

.bracket.white .middle {
  width: 11px;
  height: calc(100% - 32px);
  background-image: url(/wp-content/themes/archiva/assets/corchetes/corchete_blanco_medio.png);
  background-repeat: repeat-y;
}

.bracket.right {
  transform: rotateY(180deg);
}

.acerca .bracket.red .top {
  width: 18px;
  height: 10px;
  background-size: 100%;
}

.acerca .bracket.red .bottom {
  width: 18px;
  height: 14px;
  background-size: 100%;

}

.acerca .bracket.red .middle {
  width: 4.4px;
  background-size: 100%;
  height: 100%;
}

.popup-visible .header {
  display: none;
}

#search__popup {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  right: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  background-color: #E03326;
  display: flex;
  align-items: center;
  justify-content: center;
}

#search__popup a {
  color: #fff;
  position: absolute;
  right: 5%;
  top: 15%;
}

#search__popup a img {
  height: 2rem;
  width: 2rem;
}

.search__form label {
  font-size: 2rem;
  color: #FFF;
  text-transform: uppercase;
}

.search__content {
  width: 46%;
}

.search_input_wrapper {
  border-radius: 0;
  align-items: center;
  background: #FFF;
  display: flex;
  justify-content: space-between;
  padding: 0 0.5rem;
  width: 100%;
}

.search_input_wrapper input[type="search"] {
  outline: none;
  border: none;
  margin: 0;
  height: 100%;
  padding: 0.5rem 0.2rem;
  font-size: 0.95rem;
  flex-grow: 1;
  font-family: 'Variable_Bold';
}

.search_input_wrapper input[type="submit"] {
  display: none;
}

.search_input_wrapper button {
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
  padding: 0.5rem;
}

.search_input_wrapper button img {
  height: 1.43rem;
  width: 1.43rem;
}

#search__popup.search__hidden {
  display: none;
}

.search .container-fluid {
  box-sizing: border-box;
  padding: 10rem 6%;
}


.search .search {
  color: #E03326;
}

.search .search__header__result .title {
  color: #E03326;
  font-size: 1.5rem;
  margin: 0;
  margin-bottom: 2rem;
}

.search .search__header__result .title b {
  font-family: 'Variable_Black';
}

.search .search__header {
  align-items: flex-start;
  display: flex;
}

.search .search__header input {
  font-family: 'Variable_Bold';
  border: none;
  color: #E03326;
  text-transform: uppercase;
  border-bottom: #E03326 solid 1px;
  font-size: 1rem;
  min-width: 40%;
  margin: 0.5rem 0;
  outline: none;
}

.search .search__related {
  color: #E03326;
  font-size: 0.8rem;
  margin-top: 2rem;
}

.search .search__grid_item img {
  object-fit: cover;
  height: 14vw;
  width: 14vw;
}

.search .search__grid_item {
  margin: 0 0.7rem 0.7rem 0;
  text-decoration: none;
  width: 14vw;
}

.search .search__grid_item h2 {
  text-decoration: none;
  font-size: 0.8rem;
  margin: 0.3rem 0 0.5rem 0;
  color: #000;
  text-transform: uppercase;
  hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
}

.search .search__authors_grid,
.search .search__projects_grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;

}

.search__authors_grid .search__grid_item img {
  filter: saturate(0);
}

.search .search__authors .title,
.search .search__projects .title {
  color: #E03326;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.search__projects_grid {
  margin-bottom: 4rem;
}

.search__projects_grid .search__grid_item img {
  width: 15vw;
  height: 10vw;
}

.search__projects_grid .search__grid_item {
  width: 15vw;
}


#footer {
  background: #ececec;
  color: #E03326;
  text-transform: uppercase;
  padding: 5rem 13%;
}

.footer__menu #ul-footer-menu {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0;
}

.footer__menu #ul-footer-menu li {
  list-style: none;
}

.footer__menu a {
  border-bottom: #E03326 2px solid;
  color: #E03326;
  font-family: 'Variable_Black';
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: none;
}

.footer__content {
  align-items: center;
  margin-top: 3rem;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
}

.logo-footer {
  margin-bottom: 3rem;
  width: 14vw;
}

.footer__content a {
  margin-left: 4rem;
  color: #E03326;
  text-decoration: none;
}

@media screen and (max-width: 768px) {

  .search_input_wrapper input[type="search"] {
    font-size: 0.8rem;
  }

  .logo-footer {
    width: 50vw;
  }

  .footer__menu #ul-footer-menu {
    padding: 0;
    flex-direction: column;
  }

  .search .container-fluid {
    padding: 7rem 6%;
  }

  html,
  body {
    font-size: 16px;
  }

  .search .search__grid_item {
    height: auto;
    width: 40vw;
  }

  .search .search__grid_item img {
    max-height: 40vw;
    height: 40vw;
    width: 40vw;
  }

  .header {
    display: flex;
    justify-content: space-between;
    padding: 0.2rem 2%;
  }

  .header a {
    margin: 5px 0.5rem;
  }

  .burger-menu {
    display: block;
    width: 2rem;
    margin-right: 1rem;
  }

  .burger-menu img {
    width: 100%;
  }

  #header-menu {
    display: none;
  }

  .nav-mobile {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: #E03326;
    z-index: 90;
    transform: translateY(-120vh);
    transition: transform 1s ease;
  }

  .nav-mobile #header-menu {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .nav-mobile #ul-header-menu {
    padding: 0;
  }

  .nav-mobile #ul-header-menu li {
    list-style: none;
    margin-bottom: 1.7rem;
  }

  .nav-mobile #ul-header-menu li a {
    font-size: 2.5rem;
    text-decoration: none;
    color: #FFF;
    text-transform: uppercase;
  }

  .home .header {
    background: #FFF;
  }

  .home .header .logo {
    display: block;
  }

  .search__content {
    width: 80%;
  }
}