@charset "UTF-8";
/* GENERAL STYLES */
body {
  font-family: "Alegreya", serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p,
li {
  font-size: 18px;
}

h2 {
  font-size: 34px;
  text-align: center;
  margin-top: 24px;
  margin-bottom: 72px;
  color: #3e4563;
}
@media (min-width: 1200px) {
  h2 {
    font-size: 40px;
    margin-bottom: 98px;
  }
}

/* MAIN CONTAINER */
.main-container {
  padding-top: 68px;
}
@media (min-width: 768px) {
  .main-container {
    padding-top: 92px;
  }
}
@media (min-width: 1024px) {
  .main-container {
    padding-top: 148px;
  }
}

/* MOBILE NAVIGATION */
.mobile-navigation {
  background-color: #fff;
  height: 100vh;
  width: 100%;
  position: fixed;
  z-index: 100;
  transition: transform 0.3s ease-out;
  -webkit-transition: transform 0.3s ease-out;
  -moz-transition: transform 0.3s ease-out;
  -ms-transition: transform 0.3s ease-out;
  -o-transition: transform 0.3s ease-out;
  transform: translateY(-100%);
}
@media (min-width: 1024px) {
  .mobile-navigation {
    display: none;
  }
}

.mobile-navigation .mob-nav-list.navbar-nav a:hover {
  text-decoration: none !important;
}

.mobile-navigation.show-mob-nav {
  transform: translateY(0);
}

#mob-nav-item-1 {
  transform: translateY(-2px);
  opacity: 0;
  transition: transform 0.6s ease-in-out, opacity 0.3s ease-out;
  transition-delay: 0.2;
}

#mob-nav-item-2 {
  transform: translateY(-2px);
  opacity: 0;
  transition: transform 0.6s ease-in-out, opacity 0.3s ease-out;
  transition-delay: 0.3s;
}

#mob-nav-item-3 {
  transform: translateY(-2px);
  opacity: 0;
  transition: transform 0.6s ease-in-out, opacity 0.3s ease-out;
  transition-delay: 0.4s;
}

#mob-nav-item-4 {
  transform: translateY(-2px);
  opacity: 0;
  transition: transform 0.6s ease-in-out, opacity 0.7s ease-out;
  transition-delay: 0.5s;
}

#mob-nav-item-5 {
  transform: translateY(-2px);
  opacity: 0;
  transition: transform 0.6s ease-in-out, opacity 0.3s ease-out;
  transition-delay: 0.6s;
}

.mobile-navigation.show-mob-nav #mob-nav-item-1,
.mobile-navigation.show-mob-nav #mob-nav-item-2,
.mobile-navigation.show-mob-nav #mob-nav-item-3,
.mobile-navigation.show-mob-nav #mob-nav-item-4,
.mobile-navigation.show-mob-nav #mob-nav-item-5 {
  transform: translateY(0);
  opacity: 1;
}

.logo-mob-nav {
  padding-top: 34px;
}

.mob-nav-list {
  width: 50%;
  margin: 0 auto;
  padding-top: 96px;
  font-size: 16px;
  text-align: center;
}

.mob-nav-item {
  padding-top: 18px;
  font-weight: 500;
}

.mob-nav-item a {
  color: #254672;
  font-size: 16px;
  text-transform: uppercase;
  font-family: "Alegreya Sans";
  letter-spacing: 0.7px;
}

@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
  .mob-nav-list {
    padding-top: 56px;
  }

  .mob-nav-item {
    padding-top: 8px;
  }

  .mob-nav-item:last-of-type {
    padding-top: 16px;
  }
}
/* NAVBAR */
/* Navbar Animations */
.scrolling-navbar {
  background-color: rgba(95, 99, 116, 0.9);
  backdrop-filter: saturate(200%) blur(10px);
  box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3);
  transition: transform ease-in-out 0.6s;
  -webkit-transition: transform ease-in-out 0.6s;
  -moz-transition: transform ease-in-out 0.6s;
  -ms-transition: transform ease-in-out 0.6s;
  -o-transition: transform ease-in-out 0.6s;
}

.scrolling-navbar.hide-nav-shadow {
  box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3);
}

.general-navigation.scrolling-navbar .logo-gen-nav a {
  color: #fff !important;
}

.general-navigation {
  height: 56px;
  width: 100%;
  position: fixed;
  z-index: 100;
  background-color: rgba(36, 45, 82, 0.9);
}
@media (min-width: 1024px) {
  .general-navigation {
    height: 88px;
  }
}

.own-navbar-container {
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}
@media (min-width: 576px) {
  .own-navbar-container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .own-navbar-container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .own-navbar-container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .own-navbar-container {
    max-width: 1140px;
  }
}

.logo-gen-nav {
  position: absolute;
  top: 4px;
}
@media (min-width: 1024px) {
  .logo-gen-nav {
    top: 20px;
  }
}

.logo-gen-nav a {
  font-weight: 500;
  font-size: 20px;
  color: #fff !important;
  text-decoration: none;
  line-height: 1px;
}
@media (min-width: 1024px) {
  .logo-gen-nav a {
    font-size: 26px;
  }
}

.logo-gen-nav a span {
  font-weight: 500;
  font-size: 16px;
  color: #fff;
}
@media (min-width: 1024px) {
  .logo-gen-nav a span {
    font-size: 18px;
  }
}

.logo-gen-nav a .titol-any {
  font-family: "Alegreya SC";
}

.general-nav-items {
  display: none;
}
@media (min-width: 1024px) {
  .general-nav-items {
    display: block;
    max-width: 76%;
    float: right;
    margin-top: 30px;
  }
}

.general-nav-item.selected a {
  color: #e2d2be !important;
}

@media (min-width: 1024px) {
  #hamburger-button {
    display: none;
  }
}

.hamburger {
  position: relative;
  right: 200px;
  top: 16px;
  z-index: 2010;
  width: 26px;
  float: right;
  right: 0;
}

.hamburger .line {
  width: 26px;
  height: 2px;
  background-color: #fff;
  display: block;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.hamburger:hover {
  cursor: pointer;
}

/* Hamburger animation */
#hamburger-button.is-active .line:nth-child(2) {
  opacity: 0;
}

#hamburger-button.is-active .line:nth-child(1) {
  -webkit-transform: translateY(13px) rotate(45deg);
  -ms-transform: translateY(13px) rotate(45deg);
  -o-transform: translateY(13px) rotate(45deg);
  transform: translateY(7px) rotate(45deg);
}

#hamburger-button.is-active .line:nth-child(3) {
  -webkit-transform: translateY(-13px) rotate(-45deg);
  -ms-transform: translateY(-13px) rotate(-45deg);
  -o-transform: translateY(-13px) rotate(-45deg);
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 576px) {
  .menu-button {
    margin-top: -22px;
  }
}
@media (min-width: 1024px) {
  .menu-button {
    display: none;
  }
}

@media (min-width: 576px) {
  #menu-button-icon {
    height: 15px;
  }
}

@media (min-width: 1024px) {
  .general-nav-items li {
    display: inline;
    font-size: 16px;
    margin-left: 28px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
  }
}

@media (min-width: 1024px) {
  .general-nav-items li a {
    text-decoration: none;
    color: #fff;
    font-family: "Alegreya Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
  }
}

@media (min-width: 1024px) {
  .general-nav-items div.dropdown-menu.show {
    left: 0 !important;
    border: none;
    background-color: transparent;
    padding: 0;
    margin: 12px 0 0 0;
    border-radius: 0;
  }
}

@media (min-width: 1024px) {
  .general-nav-items a.dropdown-item {
    text-decoration: none;
    color: #20395a;
    font-size: 13px;
    padding: 10px 12px 6px 12px;
    display: block;
    background-color: #f5eee3;
  }
}

.general-nav-item.dropdown.selected .dropdown-item {
  color: #20395a !important;
}

@media (min-width: 1024px) {
  .general-nav-items .dropdown-divider {
    margin: 0;
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0);
    backdrop-filter: saturate(200%) blur(10px);
  }
}

@media (min-width: 1024px) {
  .general-nav-items .nav-link {
    padding: 0;
  }
}

/* FOOTER */
.main-footer {
  background-color: #2b314a;
  color: #fff;
  padding-top: 48px;
  padding-bottom: 48px;
  margin-top: 64px;
}

.main-footer .logos-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .main-footer .logos-area {
    flex-direction: row;
  }
}

.main-footer .logos-area .footer-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.main-footer .logos-area .logo-item {
  margin-top: 12px;
  margin-bottom: 12px;
}
@media (min-width: 576px) {
  .main-footer .logos-area .logo-item {
    margin-top: 0;
    margin-bottom: 0;
  }
}

.main-footer #logo-gmlc img {
  max-width: 100%;
  width: 90px;
}
@media (min-width: 992px) {
  .main-footer #logo-gmlc img {
    width: 120px;
  }
}

.main-footer #logo-ub img {
  max-width: 100%;
  width: 120px;
}
@media (min-width: 992px) {
  .main-footer #logo-ub img {
    width: 180px;
  }
}

.main-footer #logo-ajuntament-bcn img {
  max-width: 100%;
  width: 120px;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .main-footer #logo-ajuntament-bcn img {
    margin-top: 0 !important;
  }
}

@media (min-width: 992px) {
  .main-footer #logo-ajuntament-bcn img {
    width: 160px;
  }
}

.main-footer #logo-uib img {
  max-width: 100%;
  width: 130px;
}

@media (min-width: 992px) {
  .main-footer #logo-uib img {
    width: 150px;
  }
}

.main-footer #logo-ul img {
  max-width: 100%;
  width: 130px;
}
@media (min-width: 992px) {
  .main-footer #logo-ul img {
    width: 150px;
  }
}

.footer-whole-row {
  border-top: 1px solid #666b86;
  margin-top: 24px;
  padding-top: 24px;
  text-align: center;
}

.main-footer #logo-gmlc,
.main-footer #logo-uib {
  margin-right: 24px;
}

@media (min-width: 576px) {
  .main-footer #logo-gmlc,
  .main-footer #logo-uib {
    margin-right: 36px;
  }
}

@media (min-width: 768px) {
  .main-footer #logo-gmlc {
    margin-right: 12px;
  }

  .main-footer #logo-uib {
    margin-right: 22px;
  }
}

@media (min-width: 992px) {
  .main-footer #logo-gmlc {
    margin-right: 22px;
  }

  .main-footer #logo-uib {
    margin-right: 38px;
  }
}

@media (min-width: 1200px) {
  .main-footer #logo-gmlc {
    margin-right: 52px;
  }

  .main-footer #logo-uib {
    margin-right: 78px;
  }
}

/* MAP */
.gismaps-map iframe {
  border: none;
  margin-top: 28px;
}
@media (min-width: 768px) {
  .gismaps-map iframe {
    min-height: 480px !important;
  }
}
@media (min-width: 992px) {
  .gismaps-map iframe {
    min-height: 620px !important;
  }
}

.gismaps-map a {
  color: #303443;
  display: block;
  width: 280px;
  background-color: #eee2d2;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-top: 36px;
  padding-top: 10px;
  padding-bottom: 10px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  box-shadow: 6px 8px 0px rgba(0, 0, 0, 0.15);
}

.gismaps-map a:hover {
  box-shadow: 8px 10px 0px rgba(0, 0, 0, 0.15);
}

.gismaps-map a:active {
  box-shadow: 6px 8px 0px rgba(0, 0, 0, 0.15);
  background-color: #d8c7b0;
}

#map-page {
  background-color: rgba(61, 68, 96, 0.9);
  color: #fff;
}

#map-page .general-navigation {
  background-color: transparent;
}

#map-page .general-navigation.scrolling-navbar {
  background-color: rgba(41, 46, 68, 0.9);
}

#map-page h2 {
  color: #fff;
}

#map-page .presentacio-mapa a {
  color: #e2d2be !important;
}

/* HISTÒRIES DE DONES */
#histories-page {
  color: #fff;
}

#histories-page .hamburger .line {
  background-color: #293648;
}

#histories-page .general-navigation.scrolling-navbar .hamburger .line {
  background-color: #fff;
}

#histories-page .general-navigation {
  background-color: transparent;
}

#histories-page .general-navigation.scrolling-navbar {
  background-color: rgba(41, 46, 68, 0.9);
}

#histories-page .logo-gen-nav a {
  color: #293648 !important;
}

#histories-page .logo-gen-nav a span {
  color: #293648 !important;
}

#histories-page .general-navigation.scrolling-navbar .logo-gen-nav a {
  color: #fff !important;
}

#histories-page .general-navigation.scrolling-navbar .logo-gen-nav a span,
#home-page .general-navigation.scrolling-navbar .logo-gen-nav a {
  color: #fff !important;
}

#histories-page .general-navigation .general-nav-items li a {
  color: #293648;
}

#histories-page .general-navigation.scrolling-navbar .general-nav-items li a {
  color: #fff;
}

#histories-page .general-navigation.scrolling-navbar .general-nav-items li a.dropdown-item {
  color: #293648;
}

#histories-page .general-nav-item.selected a {
  color: #9d886e !important;
}

#histories-page h1 {
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 48px;
  color: #3e4563;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
@media (min-width: 576px) {
  #histories-page h1 {
    font-size: 30px;
    margin-bottom: 58px;
    margin-top: 24px;
  }
}
@media (min-width: 768px) {
  #histories-page h1 {
    margin-bottom: 98px;
  }
}
@media (min-width: 992px) {
  #histories-page h1 {
    font-size: 34px;
  }
}
@media (min-width: 1200px) {
  #histories-page h1 {
    font-size: 40px;
  }
}

.cards-histories {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}
@media (min-width: 576px) {
  .cards-histories {
    flex-direction: row;
    justify-content: space-around;
    margin-top: 32px;
  }
}
@media (min-width: 768px) {
  .cards-histories {
    justify-content: space-between;
  }
}

.card-historia {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(61, 68, 96, 0.9);
  background-image: url("img/background-blau-fosc.png");
  background-size: 100px 100px;
  width: 280px;
  min-height: 145px;
  margin-bottom: 24px;
  text-decoration: none !important;
  color: #f5eee3;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
  padding: 18px;
}
@media (min-width: 576px) {
  .card-historia {
    width: 210px;
    height: 210px;
    margin-bottom: 36px;
  }
}
@media (min-width: 768px) and (max-width: 992px) {
  .card-historia:nth-child(7) {
    margin-left: 118px;
  }
  .card-historia:nth-child(8) {
    margin-right: 118px;
  }
}
@media (min-width: 1200px) {
  .card-historia {
    width: 240px;
    height: 240px;
  }
}

.card-historia:hover {
  color: #f5eee3;
  filter: contrast(100%);
  -webkit-filter: contrast(110%);
}

.card-historia:active {
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.15);
}

/*
.card-historia::before,
.card-historia::after {
  content: "";
  display: block;
  width: 288px;
  height: 35px;
  background-size: cover;
  color: #fff;
}
*/

.card-historia hr {
  width: 36px;
  border-top-color: #8b94b5;
  margin-top: 12px;
  margin-bottom: 18px;
}

/*
.card-historia.gelsinda::before,
.card-historia.gelsinda::after {
  background-image: url("img/ribbon-pattern-1.png");
}
*/

.card-historia .titols {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.card-historia h3 {
  font-size: 24px;
  font-weight: 500;
}

@media (min-width: 1200px) {
  .card-historia h3 {
    font-size: 30px;
  }
}

.card-historia h5 {
  font-size: 18px;
}

@media (min-width: 1200px) {
  .card-historia h5 {
    font-size: 20px;
  }
}

/*
.modal-dialog.historia-modal-dialog {

  @media (min-width: 576px) {
    width: 800px;
    max-width: 1040px !important;
  }
}
*/
.modal-dialog {
  max-width: 1000px !important;
}

.bibliografia-histories {
  background-color: #f9f4e9;
  /*border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;*/
  padding: 36px 24px;
  margin-top: 48px;
  margin-bottom: 96px;
}

.bibliografia-histories strong {
  color: #614a30;
}

.bibliografia-histories a,
.bibliografia-histories a > strong {
  color: #a77d00;
  text-decoration: none;
  padding-left: 6px;
  padding-right: 4px;
  margin-left: -6px;
}

.bibliografia-histories .modal-body a {
  padding-left: 0px;
  padding-right: 0px;
  margin-left: 0px;
}

/*
.bibliografia-histories a::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("img/icona-lupa.svg");
  background-size: cover;
  background-position: top center;
  position: relative;
  top: 3px;
  margin-left: 6px;
  margin-right: 2px;
}
*/

.imatge-lupa {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("img/icona-lupa.svg");
  background-size: cover;
  background-position: top center;
  position: relative;
  top: 3px;
  margin-left: 6px;
  margin-right: 2px;
}

.bibliografia-histories a:hover,
.bibliografia-histories a:active {
  background-color: #efe1c3;
  border-radius: 3px;
}

.bibliografia-histories .wp-block-separator {
  border-top: 1px solid;
  border-bottom: 0px solid;
  margin-top: 48px;
  margin-bottom: 43px;
  color: #dcd1c5;
}

@media (min-width: 768px) {
  .bibliografia-histories p {
    text-indent: -105px;
    padding-left: 105px;
  }
}

.bibliografia-histories p span {
  font-family: "Alegreya SC", serif;
}

.bibliografia-histories h5 {
  margin-bottom: 36px;
  font-weight: 600;
  text-align: left;
  font-size: 20px;
  color: #614a30;
}

/* HOME PAGE */
#home-page::before {
  content: "";
  display: block;
  width: 100%;
  height: 498px;
  background-image: url("img/vbam-background-hero.png");
  background-size: cover;
  background-position: top center;
  position: absolute;
  overflow-y: hidden;
  z-index: -1;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15);
}
@media (min-width: 576px) {
  #home-page::before {
    height: 512px;
  }
}
@media (min-width: 768px) {
  #home-page::before {
    height: 680px;
  }
}
@media (min-width: 992px) {
  #home-page::before {
    height: 710px;
  }
}
@media (min-width: 1024px) {
  #home-page::before {
    height: 710px;
  }
}

#home-page .hamburger .line {
  background-color: #293648;
}

#home-page .general-navigation.scrolling-navbar .hamburger .line {
  background-color: #fff;
}

#home-page .general-navigation {
  background-color: transparent;
}

#home-page .general-navigation a {
  background-color: transparent;
  color: #3e4563;
}

#home-page .general-navigation a.dropdown-item {
  background-color: #f5eee3;
  color: #3e4563;
  font-size: 13px;
}

#home-page .general-navigation.scrolling-navbar a {
  background-color: transparent;
  color: #fff;
}

#home-page .general-navigation.scrolling-navbar a.dropdown-item {
  background-color: #f5eee3;
  color: #3e4563;
}

#home-page .general-navigation.scrolling-navbar {
  background-color: rgba(41, 46, 68, 0.9);
}

#home-page .general-navigation .logo-gen-nav a {
  color: #293648 !important;
}

#home-page .general-navigation .logo-gen-nav a span {
  color: #293648 !important;
}

#home-page .general-navigation.scrolling-navbar .logo-gen-nav a {
  color: #fff !important;
}

#home-page .general-navigation.scrolling-navbar .logo-gen-nav a span {
  color: #fff !important;
}

#home-page .main-container {
  padding-top: 86px;
}

#home-page .hero {
  color: #3e4563;
  margin-bottom: 0px;
  padding-top: 66px;
  padding-bottom: 155px;
}
@media (min-width: 576px) {
  #home-page .hero {
    padding-top: 88px;
  }
}
@media (min-width: 768px) {
  #home-page .hero {
    border: 1px solid #3e4563;
    padding-top: 155px;
    margin-bottom: 88px;
  }
}

@media (min-width: 768px) {
  #home-page .hero::after {
    content: "";
    display: block;
    width: 110px;
    height: 110px;
    border: 1px solid #3e4563;
    background-image: url("img/fletxa-avall.png");
    background-size: 72px;
    background-repeat: no-repeat;
    background-position: center;
    /*background-color: #ddd3c5;*/
    /*background-color: #f0ead6;*/
    background-color: #fbf7eb;
    position: absolute;
    top: 522px;
    left: 45%;
    border-radius: 100%;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    -o-border-radius: 100%;
    animation-name: arrow-subtle-bouncing;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    z-index: 1;
  }
}
@media (min-width: 992px) {
  #home-page .hero::after {
    top: 566px;
    left: 46%;
  }
}

@keyframes arrow-subtle-bouncing {
  10% {
    transform: translateY(-2px);
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
  }
  20% {
    transform: translateY(5px);
    -webkit-transform: translateY(5px);
    -moz-transform: translateY(5px);
    -ms-transform: translateY(5px);
    -o-transform: translateY(5px);
  }
  30% {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
  }
  60% {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
  }
}
#home-page .hero h1 {
  font-size: 32px;
  text-align: center;
}
@media (min-width: 576px) {
  #home-page .hero h1 {
    font-size: 40px;
  }
}
@media (min-width: 768px) {
  #home-page .hero h1 {
    font-size: 62px;
  }
}
@media (min-width: 992px) {
  #home-page .hero h1 {
    font-size: 72px;
  }
}

#home-page .hero .pretitol {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#home-page .hero .line {
  border-bottom: 1px solid #3e4563;
  width: 84px;
  position: relative;
  top: 2px;
}
@media (min-width: 576px) {
  #home-page .hero .line {
    width: 115px;
  }
}
@media (min-width: 768px) {
  #home-page .hero .line {
    width: 62px;
    top: 3px;
  }
}

#home-page .hero .pretitol .text-pretitol {
  font-weight: 500;
  font-size: 18px;
  margin-left: 12px;
  margin-right: 12px;
}
@media (min-width: 768px) {
  #home-page .hero .pretitol .text-pretitol {
    font-size: 30px;
    margin-left: 24px;
    margin-right: 24px;
  }
}
@media (min-width: 992px) {
  #home-page .hero .pretitol .text-pretitol {
    font-size: 36px;
    margin-left: 24px;
    margin-right: 24px;
  }
}

#home-page .hero .pretitol .text-pretitol span {
  font-family: "Alegreya SC";
  font-weight: 500;
}

#home-page .hero h3 {
  text-align: center;
  margin-top: 18px;
  line-height: 1.4;
  font-size: 18px;
  font-weight: 400;
}
@media (min-width: 576px) {
  #home-page .hero h3 {
    font-size: 22px;
  }
}
@media (min-width: 768px) {
  #home-page .hero h3 {
    font-size: 24px;
    font-weight: 500;
  }
}
@media (min-width: 992px) {
  #home-page .hero h3 {
    font-size: 28px;
    margin-top: 36px;
  }
}

#home-page .hero-img {
  width: 178px;
  height: 178px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 72px;
  margin-bottom: 24px;
  opacity: 0.8;
}

.main-intro {
  background-color: rgba(35, 45, 82, 0.9);
  /*background-image: url("img/background-blau-fosc.png");
  background-size: 100px 100px;*/
  color: #fff;
  padding-top: 48px;
  padding-bottom: 48px;
  /* Faux Bootstrap Container */
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}
@media (min-width: 768px) {
  .main-intro {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}
@media (min-width: 1024px) {
  .main-intro {
    padding-top: 96px;
    padding-bottom: 96px;
  }
}

.main-intro p {
  font-size: 20px;
}
@media (min-width: 768px) {
  .main-intro p {
    font-size: 22px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (min-width: 992px) {
  .main-intro p {
    width: 80%;
  }
}

@media (min-width: 768px) {
  .main-intro .line {
    border-bottom: 1px solid #fff;
    width: 70px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    top: 2px;
    border-color: transparent;
  }
  .main-intro .line.top {
    margin-bottom: 36px;
  }
  .main-intro .line.bottom {
    margin-top: 36px;
  }
}

@media (min-width: 576px) {
  .main-intro-content {
    /* Faux Bootstrap Container */
    max-width: 510px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (min-width: 768px) {
  .main-intro-content {
    /* Faux Bootstrap Container */
    max-width: 690px;
  }
}
@media (min-width: 992px) {
  .main-intro-content {
    /* Faux Bootstrap Container */
    max-width: 930px;
  }
}
@media (min-width: 1200px) {
  .main-intro-content {
    /* Faux Bootstrap Container */
    max-width: 1110px;
  }
}

.main-extended .col-sm {
  padding-top: 48px;
  padding-bottom: 48px;
}
@media (min-width: 576px) {
  .main-extended .col-sm {
    /* Faux Bootstrap Container */
    max-width: 538px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (min-width: 768px) {
  .main-extended .col-sm {
    /* Faux Bootstrap Container */
    max-width: 650px;
    padding-top: 72px;
    padding-bottom: 72px;
  }
}
@media (min-width: 992px) {
  .main-extended .col-sm {
    /* Faux Bootstrap Container */
    max-width: 766px;
  }
}
@media (min-width: 1200px) {
  .main-extended .col-sm {
    /* Faux Bootstrap Container */
    max-width: 918px;
  }
}

.main-extended a {
  color: #866846 !important;
}

.abreviatures-diplomatari {
  background-color: #f9f4e9;
  /*border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;*/
  padding: 36px 24px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .abreviatures-diplomatari p {
    text-indent: -105px;
    padding-left: 105px;
  }
}

.abreviatures-diplomatari p span {
  font-family: "Alegreya SC", serif;
}

.abreviatures-diplomatari p strong {
  color: #614a30;
}

.abreviatures-diplomatari h5 {
  margin-bottom: 36px;
  font-weight: 600;
  text-align: center;
  font-size: 20px;
  color: #614a30;
}

.qui-som {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 72px;
}

.qui-som-card {
  max-width: 490px;
  border: 1px solid #d0d1d1;
  padding: 18px 36px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

@media (min-width: 520px) {
  .qui-som-card {
    width: 490px;
  }
}

.qui-som-card p {
  margin-bottom: 0;
  font-family: "Alegreya Sans", sans-serif;
  color: #3f4561;
}

@media (min-width: 520px) {
  .qui-som-card.ub p::after {
    content: "";
    display: inline-block;
    width: 34px;
    height: 49px;
    background-image: url("img/ub-logo-qui-som.png");
    background-size: contain;
    background-position: center;
    position: absolute;
    top: 22px;
    right: 31px;
  }

  .qui-som-card.uib p::after {
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    background-image: url("img/uib-logo-qui-som.png");
    background-size: contain;
    background-position: center;
    position: absolute;
    top: 25px;
    right: 32px;
  }

  .qui-som-card.ul p::after {
    content: "";
    display: inline-block;
    width: 22px;
    height: 50px;
    background-image: none;
    background-image: url("img/ul-logo-qui-som.png");
    background-size: contain;
    background-position: center;
    position: absolute;
    top: 22px;
    right: 31px;
  }
}

.qui-som-card.colab {
  padding-top: 24px;
}

.qui-som h3 {
  margin-bottom: 56px;
  margin-left: auto;
  margin-right: auto;
  color: #3e4563;
}

.qui-som-han-collaborat {
  font-size: 19px;
  color: #3f4561;
  margin-top: 40px;
  margin-bottom: 36px;
}

.qui-som .nom {
  color: #3e4563;
  font-weight: bold;
}

/* FILTRE */
/*
.vbam-card-veina:first-of-type {
  margin-top: 92px !important;
}

.vbam-card-veina {
  background-color: #fff;
  padding: 36px 48px;
  margin-top: 18px;
  margin-bottom: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.vbam-card-veina-camp {
  background: #f1f4f8;
  border-radius: 10px;
  position: relative;
}

.vbam-card-veina-camp.filiacio::before {
  content: "Filiació";
  position: absolute;
  top: -26px;
  font-size: 16px;
  font-style: italic;
  color: #293648;
}

.dbam-card-document {
  border: 1px solid #577296;
  padding: 36px 24px;
}

*/
/*
.facetwp-template {
  display: none;
}

.facetwp-template.visible {
  display: block;
}

.facetwp-type-alpha {
  margin-bottom: 20px;
  font-size: 22px;
}

.facetwp-alpha {
  display: inline-block;
  margin-bottom: 12px;
  border: 1px solid #dfdfdf;
  padding-left: 4px;
  padding-right: 4px;
  text-align: center;
  min-width: 34px;
}

.fitxa-dona .fwpl-result {
  background-color: #fff;
  padding: 36px 48px;
  margin-top: 18px;
  margin-bottom: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nom-catala {
  font-weight: 500;
  font-size: 28px;
  margin-bottom: 54px;
}

.filiacio,
.altra-informacio {
  background: #f1f4f8;
  border-radius: 10px;
  position: relative;
  padding: 6px 12px;
  margin-top: 48px;
}

.filiacio::before {
  content: "Filiació";
  position: absolute;
  top: -28px;
  left: 0px;
  font-size: 16px;
  font-style: italic;
  color: #293648;
}

.altra-informacio::before {
  content: "Altra informació";
  position: absolute;
  top: -28px;
  left: 0px;
  font-size: 16px;
  font-style: italic;
  color: #293648;
}

.filiacio.is-empty,
.altra-informacio.is-empty {
  display: none;
}

.filiacio::first-letter,
.altra-informacio::first-letter,
.dbam-condicio-juridica::first-letter,
.dbam-ubicacio::first-letter {
  text-transform: uppercase;
}

.dbam-card-document {

  border: 1px solid #d1d7df;
  padding: 56px 24px 36px 24px;
  margin-top: 48px;
  margin-bottom: 24px;
  position: relative;
}

.fwpl-item.dades-document .dbam-card-document:nth-of-type(1) {
  margin-top: 56px;
}

.fwpl-item.dades-document .dbam-card-document:nth-of-type(1)::before {
  content: "Apareix en els següents documents:";
  position: absolute;
  top: -36px;
  left: 0px;
  font-size: 16px;
  font-style: italic;
  color: #293648;
}

.dades-superiors {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

@media (min-width: 576px) {
  .dades-superiors {
    flex-direction: row;
    align-items: center;
  }
}
.dbam-data {
  display: none;
}

.dbam-nom-llati {
  min-width: auto;
  font-weight: 500;
  font-size: 18px;
  position: relative;
}

@media (min-width: 576px) {
  .dbam-nom-llati {
    min-width: 64%;
  }
}
.dbam-nom-llati::before {
  content: "Nom llatí";
  position: absolute;
  top: -16px;
  left: 0px;
  font-size: 16px;
  font-style: italic;
  color: #293648;
  min-width: 120px;
}

@media (min-width: 576px) {
  .dbam-nom-llati::before {
    top: -24px;
  }
}
.dbam-referencia {
  min-width: 100%;
  text-align: left;
  position: relative;
}

@media (min-width: 576px) {
  .dbam-referencia {
    min-width: 190px;
    padding-right: 38px;
    text-align: right;
  }
}
.dbam-referencia::before {
  content: "Referència del document";
  position: absolute;
  top: -16px;
  right: 0px;
  font-size: 16px;
  font-style: italic;
  color: #293648;
  width: 100%;
}

@media (min-width: 576px) {
  .dbam-referencia::before {
    content: "Referència del document";
    top: -24px;
    right: 38px;
  }
}
.dbam-referencia::after {
  content: "";
  position: absolute;
  top: -16px;
  right: 0px;
  font-size: 16px;
  font-style: italic;
  color: #293648;
  border-right: 1px solid #c8d0db;
  height: 40px;
  display: none;
}

@media (min-width: 576px) {
  .dbam-referencia::after {
    display: block;
  }
}
.dbam-data-display {
  min-width: 98px;
  text-align: left;
  position: relative;
}

@media (min-width: 576px) {
  .dbam-data-display {
    text-align: right;
  }
}
.dbam-data-display::before {
  content: "Data";
  position: absolute;
  top: -16px;
  right: 68px;
  font-size: 16px;
  font-style: italic;
  color: #293648;
}

@media (min-width: 576px) {
  .dbam-data-display::before {
    right: 0;
  }
}
.dbam-regest {
  background: #f1f4f8;
  border-radius: 10px;
  position: relative;
  padding: 12px 18px;
  margin-top: 48px;
}

.dbam-regest::before {
  content: "Regest";
  position: absolute;
  top: -28px;
  left: 0px;
  font-size: 16px;
  font-style: italic;
  color: #293648;
}

.dbam-condicio-juridica {
  background: #f1f4f8;
  border-radius: 10px;
  position: relative;
  padding: 12px 18px;
  margin-top: 48px;
}

.dbam-condicio-juridica::before {
  content: "Condició jurídica";
  position: absolute;
  top: -28px;
  left: 0px;
  font-size: 16px;
  font-style: italic;
  color: #293648;
}

.dbam-ubicacio {
  background: #f1f4f8;
  border-radius: 10px;
  position: relative;
  padding: 12px 18px;
  margin-top: 48px;
}

.dbam-ubicacio::before {
  content: "Ubicació";
  position: absolute;
  top: -28px;
  left: 0px;
  font-size: 16px;
  font-style: italic;
  color: #293648;
}

.dbam-condicio-juridica:empty,
.dbam-ubicacio:empty {
  display: none;
}
*/

/*# sourceMappingURL=index.css.map */

/****************************
  FITXES DE DONES (ARCHIVE)
*****************************/

.facetwp-template {
  display: none;
}
.facetwp-template.visible {
  display: block;
}

.facetwp-type-alpha {
  margin-bottom: 32px !important;
  margin-top: 48px;
  font-size: 22px;
}

.facetwp-alpha {
  display: inline-block;
  margin-bottom: 12px;
  border: 1px solid #dfdfdf;
  padding-left: 4px;
  padding-right: 4px;
  text-align: center;
  min-width: 34px;
}

/*
.facetwp-alpha.available:nth-of-type(1) {
  color: transparent;
  width: 80px;
  height: 34px;
}

.facetwp-alpha.available:nth-of-type(1)::before {
  content: "Totes";
  color: #333;
  position: absolute;
  font-size: 22px;
  left: 30px;
}
*/

.fitxa-dona {
  margin-bottom: 48px !important;
}

.fitxa-dona .fwpl-result {
  background-color: #fff;
  padding: 36px 48px;
  margin-top: 18px;
  margin-bottom: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

#section-les-veines-de-barcelona .main-container {
  padding-top: 48px;
}

.nom-catala {
  font-weight: 500;
  font-size: 28px;
  margin-bottom: 54px;
}

.filiacio,
.altra-informacio,
.enllac_historia {
  background: #f1f4f8;
  border-radius: 10px;
  position: relative;
  padding: 6px 12px;
  margin-top: 48px;
}

.filiacio::before {
  content: "Filiació";
  position: absolute;
  top: -28px;
  left: 0px;
  font-size: 16px;
  font-style: italic;
  color: #293648;
}

.altra-informacio::before {
  content: "Altra informació";
  position: absolute;
  top: -28px;
  left: 0px;
  font-size: 16px;
  font-style: italic;
  color: #293648;
}

.enllac_historia::before {
  content: "La trobem a la història següent:";
  position: absolute;
  top: -28px;
  left: 0px;
  font-size: 16px;
  font-style: italic;
  color: #293648;
}

.enllac_historia > a {
  font-weight: 500;
  font-size: 16px;
  color: #866846;
}

.enllac_historia > a::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("img/link-icon.svg");
  background-size: cover;
  background-position: center;
  margin-right: 4px;
  position: relative;
  top: 2px;
}

.filiacio.is-empty,
.altra-informacio.is-empty,
.enllac_historia.is-empty {
  display: none;
}

.filiacio::first-letter,
.altra-informacio::first-letter,
.dbam-condicio-juridica::first-letter,
.dbam-ubicacio::first-letter {
  text-transform: uppercase;
}

.dbam-card-document {
  /*border: 1px solid #577296;*/
  border: 1px solid #d1d7df;
  padding: 56px 24px 36px 24px;
  margin-top: 48px;
  margin-bottom: 24px;
  position: relative;
}

.fwpl-item.dades-document .dbam-card-document:nth-of-type(1) {
  margin-top: 56px;
}

.fwpl-item.dades-document .dbam-card-document:nth-of-type(1)::before {
  content: "Apareix en els següents documents:";
  position: absolute;
  top: -36px;
  left: 0px;
  font-size: 16px;
  font-style: italic;
  color: #293648;
}

.dades-superiors {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

@media (min-width: 1024px) {
  .dades-superiors {
    flex-direction: row;
    align-items: center;
  }
}

.dbam-data {
  display: none;
}

.dbam-nom-llati {
  min-width: auto;
  font-weight: 500;
  font-size: 18px;
  position: relative;
}

@media (min-width: 1024px) {
  .dbam-nom-llati {
    min-width: 58%;
  }
}

@media (min-width: 1200px) {
  .dbam-nom-llati {
    min-width: 64%;
  }
}

.dbam-nom-llati::before {
  content: "Nom llatí";
  position: absolute;
  top: -16px;
  left: 0px;
  font-size: 16px;
  font-style: italic;
  color: #293648;
  min-width: 120px;
  font-weight: 400;
}

@media (min-width: 1024px) {
  .dbam-nom-llati::before {
    top: -23px;
  }
}

.dbam-referencia {
  min-width: 100%;
  text-align: left;
  position: relative;
  font-weight: 500;
  margin-top: 10px;
}

@media (min-width: 1024px) {
  .dbam-referencia {
    min-width: 190px;
    padding-right: 38px;
    text-align: right;
  }
}

.dbam-referencia::before {
  content: "Referència del document";
  position: absolute;
  top: -17px;
  right: 0px;
  font-size: 16px;
  font-style: italic;
  color: #293648;
  width: 100%;
  font-weight: 400;
}

@media (min-width: 1024px) {
  .dbam-referencia::before {
    content: "Referència del document";
    top: -24px;
    right: 38px;
  }
}

.dbam-referencia::after {
  content: "";
  position: absolute;
  top: -16px;
  right: 0px;
  font-size: 16px;
  font-style: italic;
  color: #293648;
  border-right: 1px solid #c8d0db;
  height: 40px;
  display: none;
}

@media (min-width: 1024px) {
  .dbam-referencia::after {
    display: block;
  }
}

.dbam-data-display {
  min-width: 98px;
  text-align: left;
  position: relative;
  font-weight: 500;
  margin-top: 6px;
}

@media (min-width: 1024px) {
  .dbam-data-display {
    text-align: right;
  }
}

.dbam-data-display::before {
  content: "Data";
  position: absolute;
  top: -15px;
  right: 68px;
  font-size: 16px;
  font-style: italic;
  color: #293648;
  font-weight: 400;
}

@media (min-width: 1024px) {
  .dbam-data-display::before {
    right: 0;
    top: -23px;
  }
}

.dbam-regest {
  background: #f1f4f8;
  border-radius: 10px;
  position: relative;
  padding: 12px 18px;
  margin-top: 48px;
}

.dbam-regest::before {
  content: "Regest";
  position: absolute;
  top: -28px;
  left: 0px;
  font-size: 16px;
  font-style: italic;
  color: #293648;
}

.dbam-condicio-juridica {
  background: #f1f4f8;
  border-radius: 10px;
  position: relative;
  padding: 12px 18px;
  margin-top: 48px;
}

.dbam-condicio-juridica::before {
  content: "Posició jurídica";
  position: absolute;
  top: -28px;
  left: 0px;
  font-size: 16px;
  font-style: italic;
  color: #293648;
}

.dbam-ubicacio {
  background: #f1f4f8;
  border-radius: 10px;
  position: relative;
  padding: 12px 18px;
  margin-top: 48px;
}

.dbam-ubicacio::before {
  content: "Ubicació";
  position: absolute;
  top: -28px;
  left: 0px;
  font-size: 16px;
  font-style: italic;
  color: #293648;
}

.dbam-condicio-juridica:empty,
.dbam-ubicacio:empty {
  display: none;
}

#section-les-veines-de-barcelona .llegenda-dades-veines {
  /*background-color: #f9f1e9;*/
  background-color: #f1f4f8;
  padding: 48px;
  margin-top: 72px;
}

#section-les-veines-de-barcelona .llegenda-dades-veines h5 {
  margin-bottom: 36px;
  font-weight: 600;
  font-size: 20px;
}

#section-les-veines-de-barcelona .llegenda-dades-veines ul {
  margin-left: -22px;
}

.dbam-filtre-item {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid transparent;
  margin: 3px;
  background-color: #f5eee3;
  color: #20395a;
  text-decoration: none !important;
  font-size: 18px;
}

.dbam-filtre-item:hover {
  border: 1px solid #ba9f73;
  background-color: #f0e6d7;
  color: #20395a;
}

.dbam-filtre-boto-enrere {
  font-family: "Alegreya Sans";
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.3px;
  background-color: #f5eee3;
  color: #20395a;
  border-radius: 0;
  border: 1px solid #f5eee3;
  padding: 13px 24px 12px 24px;
  margin-left: 15px;
  margin-top: 24px;
  position: relative;
  padding-left: 47px;
}

.dbam-filtre-boto-enrere:hover {
  background-color: #f0e6d7;
  border: 1px solid #f0e6d7;
  color: #20395a;
}

.dbam-filtre-boto-enrere::before {
  content: "";
  display: block;
  width: 22px;
  height: 18.5px;
  background-image: url("img/vbam-arrow-left.svg");
  background-size: cover;
  background-position: center;
  position: absolute;
  left: 18px;
  top: 14px;
}

.single-format-standard .main-container {
  padding-top: 46px;
}

@media (min-width: 768px) {
  .single-format-standard .main-container {
    padding-top: 56px;
  }
}

@media (min-width: 1024px) {
  .single-format-standard .main-container {
    padding-top: 78px;
  }
}

@media (min-width: 768px) {
  .estil-diplomatari {
    text-indent: -105px;
    padding-left: 105px;
  }
}

.llegenda-dades-veines span {
  font-family: "Alegreya SC", serif;
}

/* Modal imatges histories veïnes */

.modal-dialog {
  max-width: 96% !important;
}

.modal-body img {
  width: 100%;
}

.modal-content {
  background-color: transparent;
  border: 0px solid rgba(0, 0, 0, 0.2);
}

.modal-header {
  border-bottom: 0px solid #e9ecef;
}
.modal-header button.close {
  color: #fff;
  text-shadow: 0 0 0 #fff;
  opacity: 1;
}

.modal-header button.close {
  font-weight: 400;
  font-size: 2rem;
}

.modal-header .close:not(:disabled):not(.disabled):focus,
.modal-header .close:not(:disabled):not(.disabled):hover {
  color: #fff;
  text-decoration: none;
  opacity: 0.75;
}

.modal-header button.close:hover span,
.modal-header button.close:active span {
  opacity: 0.7;
}

.modal-header :focus,
.modal-header :focus-visible {
  outline: -webkit-focus-ring-color auto 0px !important;
}

.modal-backdrop.fade.show {
  opacity: 0.8;
}

/* section-barcelona-a-l-any-1000 i
   section-ser-dona-a-l-any-1000 */

#section-barcelona-a-l-any-1000 h3,
#section-ser-dona-a-l-any-1000 h3 {
  margin-top: 96px;
  margin-bottom: 36px;
  border-bottom: 1px solid #e5d1bb;
  padding-bottom: 4px;
}

#section-barcelona-a-l-any-1000 h4,
#section-ser-dona-a-l-any-1000 h4 {
  margin-top: 36px;
  margin-bottom: 24px;
  color: #3e4563;
}

#section-barcelona-a-l-any-1000.main-container.container,
#section-ser-dona-a-l-any-1000.main-container.container,
#section-adelaida.main-container.container,
#section-dulcidia.main-container.container,
#section-ermengarda.main-container.container,
#section-ermessenda.main-container.container,
#section-ermetruda-i-bonadona.main-container.container,
#section-madrona.main-container.container,
#section-sanca-de-castella.main-container.container,
#section-susanna.main-container.container,
.main-container.container.bibliografia-histories {
  max-width: 810px !important;
}
