@import url("/https/www.barcelona.cat/imatges/static/main/css/animate.css");
@import url("/https/www.barcelona.cat/imatges/static/main/css/ajuntamentfonts.css");
@import url("/https/www.barcelona.cat/imatges/static/main/css/iconmoon.css");
* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  box-sizing: border-box;
}

body {
  color: #000;
  background-color: #FFF;
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 18.75px;
  text-align: center;
  font-weight: 300;
  word-spacing: 2px !important;
  overflow-x: hidden;
}

article,
footer,
header,
hgroup,
nav,
section,
aside {
  display: block;
}

a:focus,
a:active,
a:hover {
  color: #9b1c1c !important;;
  text-decoration: none;
}

img,
video {
  max-width: 100%;
}

h1 {
  margin: 0 0 0.617646em 0;
  text-align: center;
  font-size: 1.813335em;
  font-weight: 300;
}

h2 {
  font-size: 2em;
}

p {
  margin: 0 0 0.25em 0;
  text-align: left;
}

ul,
ol {
  padding: 0 0 0 30px;
}

li {
  margin: 10px 0;
}

table {
  margin: 0 auto;
}

button,
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="file"],
input[type="checkbox"],
input[type="radio"],
input[type="text"],
input[type="search"],
input[type="password"],
textarea,
select {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 300;
  font-size: 1em;
}

input[type="text"],
input[type="search"],
input[type="password"],
textarea {
  color: #666;
  padding: 1px;
  background-color: #FFF;
}

textarea {
  resize: both;
  /* none|horizontal|vertical|both */
  overflow-x: auto;
  overflow-y: auto;
}

input:autofill,
input:-moz-autofill,
input:-webkit-autofill,
input:-khtml-autofill,
input:-o-autofill,
input:-ms-autofill {
  border: 1px solid #0C0 !important;
  background-color: #6F6 !important;
  color: #000 !important;
  font-weight: bold !important;
}

article {
  width: 100%;
}

figure {
  display: inline-block;
}

figcaption {
  font-size: 0.85em;
  text-align: left;
  opacity: 0;
}

nav ul {
  list-style: none;
}

nav li {
  display: inline-block;
  vertical-align: top;
}

.bcnTitle {
  color: #db2828;
  font-weight:600;
}

.topPrimary {
  position: relative;
  min-height: 28.214em;
  padding: 57px 30px;
  /*background: #F2F2F2 url("/https/www.barcelona.cat/imatges/static/main/css/img/background.jpg") left top/cover no-repeat;*/
  text-align: center;
}

.topSecuandary {
  height: 130px;
  padding: 24px 30px;
  background-color: #F2F2F2;
  text-align: center;
  flex-direction: column;
}

.header-xs {
  position: relative;
  display: block;
  width: 100%;
  height: 90px;
  border-top: 1px solid #F1F1F1;
  border-bottom: 1px solid #F1F1F1;
  margin-top: -1px;
}

.header-xs h1 {
  margin: 0;
  padding-top: 17px;
  padding-left: 15px;
  font-size: 44px;
  letter-spacing: -2px !important;
  font-weight: 300;
}

.botton-header-xs {
  position: absolute;
  right: 0;
  top: -1px;
  width: 90px;
  height: 90px;
  font-size: 32px;
  line-height: 1;
  /*color: #db2828;*/
  background-color: #fff;
  border: 1px solid #f1f1f1;
  border-right: 0;
  border-left: 0;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.botton-header-xs:hover,
.botton-header-xs:focus,
.botton-header-xs:active {
  color: #ffffff;
  background-color: #db2828;
  border: 1px solid #f1f1f1;
  border-right: 0;
  border-left: 0;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.header-xs .dropdown-menu {
  width: 100%;
  border: 0;
  border-radius: 0;
  background-color: #f2f2f2;
  margin: 0;
  padding: 0;
  margin-top: 1px;
}

.header-xs .dropdown-menu > li {
  margin: 0;
  border-bottom: 2px solid #ffffff;
}

.header-xs .dropdown-menu > li > a {
  font-size: 25px;
  font-weight: lighter;
  padding: 0px 20px;
  line-height: 2;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.header-xs .dropdown-menu > li > a:focus,
.header-xs .dropdown-menu > li > a:hover {
  color: #333;
  text-decoration: none;
  background-color: #e9e9e9;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.header-xs .dropdown-menu > li.active > a,
.header-xs .dropdown-menu > li.active > a:focus,
.header-xs .dropdown-menu > li.active > a:hover {
  color: #333;
  font-weight: normal;
  cursor: default;
  text-decoration: none;
  background-color: #e9e9e9;
  outline: 0;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.introStyle {
  display: inline-block;
  float: left;
  width: 80.5%;
  background-color: rgba(255, 255, 255, 0.9);
  text-align: left;
  margin-left: -5px;
  margin-right: 5px;
  padding: 27px;
  vertical-align: top;
  font-size: 21px;
  line-height: 1.1;
  min-height: max-content;
  margin-bottom: 10px;
}

.intro-xs {
  display: inline-block;
  min-height: 152px;
  background-color: rgba(255, 255, 255, 0.9);
  text-align: left;
  margin-left: -5px;
  margin-right: -5px;
  padding: 20px;
  font-size: 26px;
  vertical-align: top;
  line-height: 1.3;
}

.introStyle h1 {
  margin: 0 0 0.58334em 0;
  text-align: left;
  font-size: 1.7em;
  letter-spacing: -2px !important;
}

.topSecuandary h1 {
  margin: 0;
  margin-bottom: 20px;
  font-size: 40px;
}

.boto-galeries {
  color: #db2828;
  display: inline-block;
  float: left;
  width: 19.5%;
  height: 10.454em;
  margin-right: -5px;
  margin-left: 5px;
  padding: 6.294em 0 0 0;
  vertical-align: top;
  text-align: center;
  background: #f2f2f2 url("/https/www.barcelona.cat/imatges/static/main/css/img/img_button.png") center 3.15em/2.62em 10.6em no-repeat;
}

.boto-galeries:hover, .boto-galeries:focus, .boto-galeries:active {
  color: #FFF !important;
  background-color: #db2828;
  background-position: center -5.2em;
}

.formulari {
  margin: 10px -5px 0 -5px;
}

.topSecuandary .formulari {
  margin: 0;
  margin-top: 10px;
}

.form_search {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 6.507em;
  background-color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 35.5px 70px;
}

.topSecuandary .form_search {
  position: relative;
  display: inline-block;
  width: 100%;
  height: auto;
  background-color: transparent;
  text-align: center;
  padding: 0px 0px;
  padding-top: 0;
}

.form_search input[type="search"] {
  color: #666;
  padding: 5px 55px 8px 25px;
  background-color: #FFF;
  width: 100%;
  margin: 0;
  height: 50px;
  border-radius: 25px;
  font-size: 21px;
  letter-spacing: -1px;
}

.form_search a {
  position: absolute;
  top: 36px;
  right: 70px;
  float: right;
  width: 2.67em;
  height: 2.67em;
  color: #fff;
  background-color: #db2828;
  border-radius: 50%;
}

.topSecuandary .form_search a {
  top: 0px;
  right: 0px;
}

.form_search a:hover, .form_search a:focus, .form_search a:active {
  color: #fff;
  background-color: #9a1968;
  border-radius: 50%;
}

.form_search a span {
  font-size: 24px;
  line-height: 2.1;
}

.titleGaleries {
  font-size: 30px;
  line-height: 1;
  width: 100%;
  padding-right: 60px;
  overflow: hidden;
  display: inline-block;
  position: relative;
  top: 5px;
}
.secundaryHeader {
  padding: 10px 35px;
  font-size: 32px;
  font-weight: 200;
  text-align: left;
  position: relative;
  z-index: 1;
  min-height: 100px;
}
.botoGoMap {
  position: absolute;
  top: calc(50% - 25px);
  right: 20px;
  float: right;
}


.bimaHome, .secundaryHeader {
  height: auto;
  padding: 20px;
  font-size: 17px;
  font-weight: 300;
  background-color: #db2828;
  color: #FFF;
  letter-spacing: -.5px;
}
.bimaHome .visible-xs {
    margin-bottom: 24px;
}
.galeriesCounts {
    float: left;
    clear: both;
    padding-left: 0;
    font-size: 23px;
    position: relative;
    top: -5px;
    margin-right: 5px;
}
.subTitleGaleries {
    position: relative;
    font-size: 23px;
    top: -5px;
    margin-left: 0;
    float: left;
}

.breadcrumb.breadcrumbBIMA {
  margin-bottom: 15px;
  list-style: none;
  background-color: transparent;
  border-radius: 0;
  text-align: left;
  padding-left: 40px;
  padding-top: 5px;
  font-size: 14px;
  word-spacing: 1px;
  font-weight: 400;
}
.boto:focus,
.boto:active {
  color: #fff !important;
  outline: none !important;
}
.breadcrumb.breadcrumbBIMA a{
  color: #db2828;
}
.breadcrumb.breadcrumbBIMA a:focus{
  outline-offset: 1px !important;
}
.breadcrumb.breadcrumbBIMA a:hover, .breadcrumb.breadcrumbBIMA a:focus, .breadcrumb.breadcrumbBIMA a:active {
  color: #9b1c1c !important;
  transition: color .3s;
  text-decoration: underline;
}

.breadcrumb > li + li:before {
  padding: 0 0px;
  color: #666;
  content: "/\00a0";
  margin-right: 4px;
  margin-left: 10px;
}

.breadcrumb > .active {
  color: #666;
}

.bimaHome div {
  display: inline;
  padding-left: 15px;
}

.authorHeaderBG {
  position: absolute;
  right: 42px;
  bottom: 40px;
  background-color: rgba(0, 0, 0, 1);
  min-width: 50px;
  height: 50px;
  border-radius: 100px;
}

.tooltipAuthorDetail {
  position: relative;
  display: none;
  width: 200px;
  float: left;
  overflow: hidden;
}
.bima_modal{
  z-index: 9999999
}

.authorDetail {
  position: relative;
  width: 200px;
  display: none;
  right: -201px;
  font-size: 15px;
  color: #fff;
  text-align: right;
  max-height: 50px;
  line-height: 1.2;
  padding: 6px 20px;
  padding-right: 0;
  letter-spacing: 0px;
}

.iconAuthorDetail {
  position: relative;
  font-size: 25px;
  line-height: 2.19;
  border-radius: 50px;
  color: #fff;
  overflow: hidden;
}

.iconAuthor {
  display: block;
  float: right;
  padding: 14px 13.5px;
}

/* SLIDER DESTACADAS */
.sectionDestacades {
  position: relative;
  margin: 57px 0 0 0;
}

.sectionDestacades h1 {
  margin: 0 0 23px 0;
  text-align: center;
  font-size: 33px;
  font-weight: 300;
  padding: 0 15px;
}

.sectionDestacades article {
  position: relative;
}

.slick-slider {
  margin-top: 1px;
}

.slick-slider .slick-current.slick-active figure figcaption {
  position: absolute;
  z-index: 1;
  bottom: 0;
  width: 100%;
  height: 60px;
  background-color: #db2828;
  color: #fff;
  line-height: 3.4;
  padding: 0 15px;
  opacity: 0;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.slick-slider .slick-current.slick-active figure:hover figcaption, .slick-slider .slick-current.slick-active figure:focus figcaption {
  position: absolute;
  z-index: 1;
  bottom: 0;
  width: 100%;
  height: 60px;
  background-color: #db2828;
  color: #fff;
  line-height: 3.4;
  padding: 0 15px;
  opacity: 1;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.slick-slide {
  margin: 0 0.53334em;
  max-width: 1021px;
}

/* Dots */
.slick-dotted.slick-slider {
  margin-bottom: 55px;
}

.slick-dots {
  position: static;
  display: block;
  width: 1020px;
  padding: 20px;
  padding-bottom: 30px;
  margin: 0 auto;
  list-style: none;
  text-align: right;
  line-height: 0;
}

.slick-dots li {
  position: relative;
  display: inline-block;
  width: 15px;
  height: 15px;
  margin: 0 5px;
  padding: 0;
  cursor: pointer;
}

.slick-dots li:last-child {
  margin-right: 0;
  position: absolute;
}

.slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: 15px;
  height: 15px;
  padding: 5px;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background-color: #E2E2E2;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.slick-dots li button:hover,
.slick-dots li button:focus {
  outline: none;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
  opacity: 1;
}

.slick-dots li button:hover, .slick-dots li button:focus {
  -webkit-transition: all .3s;
  transition: all .3s;
  opacity: 0.50;
  -moz-opacity: 0.50;
  -webkit-opacity: 0.50;
  -khtml-opacity: 0.50;
  -o-opacity: 0.50;
  filter: alpha(opacity=50);
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}

.slick-dots li button:before {
  font-family: 'slick';
  font-size: 6px;
  line-height: 15px;
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  content: '';
  text-align: center;
  opacity: 1;
  color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.slick-dots li.slick-active button:before {
  opacity: 1;
  color: transparent;
  background-color: #db2828;
}

.slick-dots li button#control-navigation {
    background: url(/https/www.barcelona.cat/imatges/static/main/img/silck/controls.png) 0 -46px no-repeat transparent;
    background-size: 15px;
    transition: none;
    width:15px;
    height: 15px;
}
.slick-dots li button#control-navigation:hover {
    background-position: 0 -30px;
    opacity: 1;
}
.slick-dots li button#control-navigation.play {
    background: url(/https/www.barcelona.cat/imatges/static/main/img/silck/controls.png) 0 -15px no-repeat transparent;
    background-size: 15px;
}
.slick-dots li button#control-navigation.play:hover {
    background-position: 0 0;
}

.prevSlider,
.nextSlider {
  position: absolute;
  z-index: 100;
  top: 0;
  background-color: transparent;
  width: 100px;
  height: 100%;
}

.slideBtnNav {
  position: absolute;
  z-index: 100;
  top: 40.9%;
  background-color: rgb(0, 0, 0);
  color: #ffffff;
  font-size: 35px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-weight: lighter;
  line-height: 1.88;
  -webkit-transition: all .3s;
  transition: width .3s;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slideBtnNav:hover{
  width: 63px;
  height: 63px;
}
.prevSlider:focus .slideBtnNav, .nextSlider:focus .slideBtnNav{
  outline: 3px solid #000000 !important;
  outline-offset: 3px;
}

.nextSlider .slideBtnNav,
.prevSlider {
  left: 0;
}

.prevSlider .slideBtnNav,
.nextSlider {
  right: 0;
}

.prevSlider .slideBtnNav:hover,
.nextSlider .slideBtnNav:hover,
.prevSlider .slideBtnNav:focus,
.nextSlider .slideBtnNav:focus {
  background-color: rgba(0, 0, 0, 0.9);
  -webkit-transition: all .3s;
  transition: all .3s;
}

.slick-slider .slick-track div {
  position: relative;
  cursor: pointer;
  max-width: 1020px;
  min-width: 1020px;
  max-height: 618px;
  min-height: 618px;
  overflow: hidden;
  background-color: #DDD;
}

.slick-slider figure {
  min-width: 1020px;
  min-height: 618px;
  background-image: url(/https/www.barcelona.cat/imatges/static/main/css/img/loader.gif);
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: center;
  background-size: cover;
}

.slick-slider-similares .slick-track div {
  position: relative;
  cursor: pointer;
  max-width: 332px;
  min-width: 332px;
  max-height: 248px;
  min-height: 248px;
  overflow: hidden;
  background-color: #DDD;
}

.slick-slider-similares figure {
  min-width: 332px;
  min-height: 248px;
  background-image: url(/https/www.barcelona.cat/imatges/static/main/css/img/loader.gif);
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: center;
  background-size: cover;
}


.botoGoMap {
  background: #db2828;
  box-shadow: 2px 3px 6px #00000029;
  border-radius: 20px;
  text-align: center;
  font: normal normal 600 1.4rem / 1.5rem Source Sans\ 3;
  letter-spacing: 0;
  color: #fff;
  padding: 10px 16px;
}
.botoGoMap:hover {
  background-color: #9b1c1c !important;
  color: #fff !important;
  text-decoration: none;
}
.botoGoMap:focus-visible {
  background-color: #9b1c1c !important;
  box-shadow: none;
  outline: 3px solid #9b1c1c !important;
  outline-offset: 2px;
  color: #fff !important;
}
.botoGoMap:focus {
  color: #fff !important;
}

.boto, .galleryBtn {
  background: #db2828;
  box-shadow: 2px 3px 6px #00000029;
  border-radius: 20px;
  text-align: center;
  font: normal normal 600 1.4rem / 1.5rem Source Sans\ 3;
  letter-spacing: 0;
  color: #fff;
  padding: 10px 16px;
}
.boto:hover, .galleryBtn:hover{
  background-color: #9b1c1c !important;
  color: #fff !important;
  text-decoration: none;
}
.boto:focus-visible, .galleryBtn:focus-visible  {
  background-color: #9b1c1c !important;
  box-shadow: none;
  outline: 3px solid #9b1c1c !important;
  outline-offset: 2px;
  color: #fff !important;
}
.boto:focus, .galleryBtn:focus {
  color: #fff !important;
}
.tagItem {
  border: 2px solid #87878F;
  background: white;
  box-shadow: 2px 3px 6px #00000029;
  border-radius: 20px;
  text-transform: uppercase;
  text-align: center;
  font: normal normal 600 1.4rem / 1.5rem Source Sans\ 3;
  letter-spacing: 0;
  color: black;
  padding: 10px 16px;
}
.tagItem:hover {
  border: 2px solid black;
  background-color: #ffffff !important;
  color: black !important;
  text-decoration: none;
}
.tagItem:focus, .tagItem:active {
  border: 2px solid black;
  background-color: #ffffff !important;
  box-shadow: none;
  outline: 3px solid black !important;
  outline-offset: 2px;
  color: black !important;
}
/* slider similares */
.prevSliderSimilares {
  position: absolute;
  z-index: 1000;
  left: -45px;
  top: 39%;
  background: transparent;
  font-size: 45px;
  color: #6C6C78;
}

.nextSliderSimilares {
  position: absolute;
  z-index: 1000;
  right: -45px;
  top: 39%;
  background: transparent;
  font-size: 45px;
  color: #6C6C78;
}

/* ********************** */
/* GALERIAS */
.sectionGaleries {
  margin: 0;
  padding: 57px 15px 64px 15px;
  background-color: #F2F2F2;
}

.sectionGaleries h1 {
  margin: 0px 0 24px 0;
  text-align: center;
  font-size: 33px;
  font-weight: 300;
  padding: 0 15px;
}

.sectionGaleries.galeriesTotas {
  margin: 0;
  padding: 0 15px;
  padding-bottom: 78px;
  background-color: #FFF;
}

.sectionGaleries.galeriesTotas div,
.sectionGaleries div {
  display: inline-block;
  width: 285px;
  margin: 0 7.5px;
}

.sectionGaleries.galeriesTotas a,
.sectionGaleries a {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 285px;
  height: 285px;
  background: transparent url("/https/www.barcelona.cat/imatges/static/main/css/img/pixel1.png") center center/cover no-repeat;
}

.sectionGaleries div p {
  text-align: center;
  font-size: 25px;
  margin-bottom: 31px;
  padding-top: 3px;
}

.sectionGaleries figure {
  width: 176px;
  height: 115px;
}

.galeriaPresentation {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 50px;
  background-color: rgba(213, 2, 131, 0.8);
  color: #fff;
  padding: 35px 20px;
}

.sectionGaleries div p.galeriaDescription {
  font-size: 15px;
  text-align: left;
  letter-spacing: -0.5px !important;
  font-weight: 400;
}

.btnVerGaleria {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-weight: 600;
  background-color: #fff;
  padding: 7.5px 12px;
  border-radius: 40px;
  font-size: 13px;
  border: 2px solid white;
  background: white;
  box-shadow: 2px 3px 6px #00000029;
  border-radius: 20px;
  text-align: center;
  letter-spacing: 0;
  color: black;
}
.btnVerGaleria:hover {
    border: 2px solid #E5E5E5;
    background-color: #E5E5E5 !important;
    color: black !important;
    text-decoration: none;
}
.btnVerGaleria:focus {
    border: 1px solid black;
    background-color: #E5E5E5 !important;
    box-shadow: none;
    outline: 2px solid #E5E5E5 !important;
    outline-offset: 1px;
    color: black !important;
}
.countImgContent {
  position: absolute;
  bottom: 20px;
  right: 20px;
  text-align: right;
}

.iconCountImg {
  position: relative;
  top: 2px;
  padding: 0 5px;
}

.countImg {
  position: relative;
  top: -1px;
  font-size: 16px;
}

/* GALERIA */
.sectionGaleria {
  padding: 20px;
}

.galleryBtnAction {
  position: relative;
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 100px;
}

/* DETALLE IMAGEN */
.sectionImageDetail {
  position: relative;
  display: block;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 100px;
}

.sectionImageDetail .breadcrumb.breadcrumbBIMA, .titleDetailImage {
  text-align: left;
  padding-left: 0;
  margin-bottom: 0;
}

.contentImageDetail, .contentDescriptionDetail, .contentDescargaDetail, .contentGeoMapDetail, .contentTagsDetail, .contentSimilaresDetail {
  padding: 0;
}

.titleDetailImage {
  margin-bottom: 24px;
}

.tornaGaleries {
  position: relative;
  font-size: 14px;
  letter-spacing: 0;
  font-weight: 400;
  color: #db2828;
  line-height: 3.3;
}

.tornaGaleries .iconTorna {
  position: relative;
  top: 1px;
  font-size: 12px;
}

/* PARA IMAGEN CON WIDTH AL 100% DEL CONTENEDOR */
/*
.imageDetailView{
    position: relative;
    display: block;
    width: 100%;
}
.imageDetailView img{
    position: relative;
    min-width: 100%;
    margin: 0;
    padding: 0;
}
*/
/* PARA IMAGEN CON HEIGHT AL 100% DEL CONTENEDOR */
.imageDetailView {
  width: 100%;
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin: auto;
}

/*.imageDetailView {
    position: relative;
    display: block;
    width: 100%;
    height: 690px;
    background-image: url(/https/www.barcelona.cat/imatges/static/main/css/img/galeria/plaza_catalunya.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}*/
.imageDetailView img {
  position: relative;
  max-width: 100%;
  max-height: 690px;
  margin: 0;
  padding: 0;
}

.iconDetailTitle {
  color: #db2828;
  position: absolute;
  font-size: 30px;
  line-height: .9;
}

.bgDetailViewTitle {
  width: 100%;
  bottom: 0;
  padding: 10px 35px;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0px;
  font-weight: 400;
  opacity: 1;
  z-index: 10;
  background: transparent;
  background: -webkit-gradient(left top, left bottom, color-stop(0%, transparent), color-stop(100%, rgba(0, 0, 0, 0.7)));
  background: -webkit-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000', GradientType=0 );
  -webkit-transition: all .3s;
  transition: all .3s;
}

.bgDetailViewTitle {
  font-size: 15px;
}

.iconCompartirImg {
  background-color: #A6A8B6;
  display: inline-block;
  right: 0;
  top: 0;
  z-index: 10;
  padding: 5px;
  opacity: 1;
  font-size: 23px;
  -webkit-transition: all .3s;
  transition: all .3s;
  color: #fff;
}

.contentDetailLabels {
  padding: 22.5px 30px;
}

.imgDetailLabel {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.5px;
  line-height: 1.2;
}

.imgDetailTitle {
  color: #db2828;
  font-weight: 500;
}

.imgDetailIcons img {
  width: 35px;
  opacity: 0.7;
}

.detailViewTitle-xs {
  font-size: 20px;
  font-weight: 400;
  color: #666;
  line-height: 1.2;
  padding-top: 25px;
  padding-bottom: 15px;
  display: block;
}

.contentDescriptionDetail, .contentDescargaDetail, .contentGeoMapDetail, .contentTagsDetail, .contentSimilaresDetail {
  margin-top: 15px;
  margin-bottom: 55px;
}

.contentDescargaDetail {
  margin-bottom: 35px;
}

.contentTagsDetail {
  margin-bottom: 37px;
}

.contentGeoDetail {
  margin-top: 15px;
  padding: 22.5px 30px;
}

.contentHeaderSpace {
  padding-bottom: 22px;
}

.DescargaDetailBox {
  background-color: #f2f2f2;
  border: 10px solid #fff;
  border-bottom: 20px solid #fff;
  border-top: 0;
  min-height: 293px;
  max-height: 293px;
}

.contentBoxMargin {
  margin-right: -10px;
  margin-left: -10px;
}

.contentDetailTitle {
  font-size: 25px;
  padding-left: 35px;
  line-height: 1;
  font-weight: 300;
}

.descargaDetailTitle {
  margin-top: 33px;
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 500;
}

.descargaImgEj {
  position: relative;
  width: 140px;
  height: 84px;
  margin: auto;
  margin-bottom: 10px;
  background-color: #DFDFDF;
}

.lowQuality {
  position: absolute;
  top: 0;
  left: 0;
  width: 59px;
  height: 36px;
  background-color: #bbb;
}

.midQuality {
  position: absolute;
  top: 0;
  left: 0;
  width: 99px;
  height: 59px;
  background-color: #bbb;
}

.highQuality {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #bbb;
}

.descargaImgDescripcion {
  line-height: 1;
  font-size: 13px;
  letter-spacing: -.5px;
  font-weight: 500;
  color: #666;
  display: block;
  text-align: center !important;
  margin-bottom: 28px;
  height: 15px;
}

.descargaOriginalDetail {
  text-align: center;
  font-size: 15px;
  color: #666;
  font-weight: 400;
  line-height: 1.15;
  min-height: 95px;
  max-height: 95px;
  overflow: hidden;
  margin-top: 26px;
  margin-bottom: 26px;
}

.btnDescargaImg {
   border: 2px solid #db2828;
  background: #db2828;
  box-shadow: 2px 3px 6px #00000029;
  border-radius: 20px !important;
  text-align: center;
  font: normal normal 600 1.4rem / 1.5rem Source Sans\ 3;
  letter-spacing: 0 !important;
  color: #fff;
  padding: 10px 16px;
}
.btnDescargaImg:hover {
  border: 2px solid #9b1c1c;
  background-color: #9b1c1c !important;
  color: #fff !important;
  text-decoration: none;
}
.btnDescargaImg:focus-visible {
   border: 2px solid #9b1c1c;
  background-color: #9b1c1c !important;
  box-shadow: none;
  outline: 3px solid #9b1c1c !important;
  outline-offset: 2px !important;
  color: #fff !important;
}
.btnDescargaImg:focus {
  border: 2px solid #9b1c1c;
  background-color: #9b1c1c !important;
  box-shadow: none;
  outline: 3px solid #9b1c1c !important;
  outline-offset: 2px !important;
  color: #fff !important;
}
.btnDescargaImg:active {
  color: #fff !important;
}

.geoDetailHeader {
  font-size: 23px;
  font-weight: 300;
  letter-spacing: -.5px;
  line-height: 1;
  padding-bottom: 5px;
}

.geoDetailLabel {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.5px;
  line-height: 1.25;
}

.geoDetailTitle {
  color: #666;
  font-weight: 500;
  letter-spacing: -.5px;
}

.btnGoogleMapView {
  color: #db2828;
  font-weight: 400;
}

.btnGoogleMapView.active {
  color: #222222;
  font-weight: 700;
}

.tagsLista {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 2px;
}

.tagsLista li {
  display: inline-block;
  float: left;
  padding: 10px;
  margin: 0;
  margin-bottom: 20px;
}

/* DETALLE GALERIA */
.ug-tile .ug-textpanel, .ug-gallery-wrapper .ug-textpanel-bg, .ug-textpanel-textwrapper, .ug-tile .ug-textpanel-title, .imageHoverDetail {
  height: 100% !important;
}

.imageHoverDetail {
  padding: 15px;
  font-family: 'Source Sans 3', sans-serif;
  word-spacing: 2px !important;
  font-size: 16px;
  font-weight: 400;
  position: relative;
  cursor: pointer;
}

.imageHoverTitle {
  margin-top: 5px;
  line-height: 1.2;
  font-size: 25px;
  font-weight: 300;
  word-break: break-word !important;
  text-align: left !important;
}

.imageHoverAutor {
  font-size: 15px;
  font-weight: 300;
  margin-top: 15px;
  letter-spacing: -.5px;
  word-break: break-word !important;
  text-align: left !important;
}

.imageHoverBtn {
  position: absolute;
  bottom: 40px;
}

/* GOOGLE MAP CONTAINER */
.mapsApi {
  height: 590px;
  width: 100%;
  position: relative;
  font-size: 23px;
  top: 0px;
  margin-left: 0px;
}

.boxMaps {
  position: relative;
  height: 400px;
}

.mapsApiImgDetail {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 400px;
  /*z-index: 1;*/
}

.gm-style-pbt {
  text-align: center !important;
}

/* REDES SOCIALES */
.sectionRedesSociales {
  min-height: 134px;
  background-color: #fff;
  line-height: 1;
  padding: 46px 20px;
}

.sectionRedesSociales address {
  margin-bottom: 0px;
}

.sectionRedesSociales p {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
}

.redesIcons {
  width: 33px;
  height: 33px;
  background-color: #db2828;
  display: inline-block;
  line-height: 1.55;
  font-size: 24px;
  color: #fff;
  -webkit-transition: all .3s;
  transition: all .3s;
  position: relative;
  top: 0;
}

.redesIcons:hover, .redesIcons:focus, .redesIcons:active {
  -webkit-transition: all .3s;
  transition: all .3s;
  color: #fff;
  position: relative;
  top: -5px;
}

.facebookIcon {
  background-color: #3E5797;
}

.twitterIcon {
  background-color: #2B9FF1;
}

.whatsappIcon {
  background-color: #4AC549;
}

.mailIcon {
  background-color: #848484;
}

.moreIcon {
  background-color: #FB6351;
  top: 0 !important;
}

/* FOOTER */
#footer .zone-wrapper {
  padding: 10px 0;
}

#footer .grid {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  height: auto;
}

#footer .content p {
  float: left;
  margin: 0;
}

#footer .content a {
  color: #000;
}

#footer .content a img {
  display: block;
}

#footer .content ul {
  list-style-type: none;
  margin-left: 1em;
  padding-left: 1.2em;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.5px;
  float: right;
  width: auto;
  margin-top: 13px;
  margin-bottom: 0;
}

#footer .content ul li {
  display: inline;
  margin-right: 30px;
}

#footer .content ul li p {
  color: #666;
  font-weight: 500;
}

/* HIDDEN VISIBLE */
.hidden-xxs {
  display: inline-block;
}

.visible-xxs {
  display: none;
}

.bgGris {
  background-color: #f2f2f2 !important;
}

.bgBlanco {
  background-color: #ffffff !important;
}

/*********ESCRITORIO-PORTALTIL***********/
@media screen and (max-width: 1439px) {
  .introStyle {
    width: 76%;
  }
  .boto-galeries {
    width: 24%;
  }
  .sectionGaleries.galeriesTotas div,
  .sectionGaleries div {
    width: 270px;
  }
  .sectionGaleries.galeriesTotas a,
  .sectionGaleries a {
    width: 270px;
    height: 270px;
    background-position: center;
  }
}

@media screen and (max-width: 1279px) {
  .introStyle {
    width: 75%;
  }
  .boto-galeries {
    width: 25%;
  }
  .sectionGaleries.galeriesTotas div,
  .sectionGaleries div {
    width: 270px;
  }
  .sectionGaleries.galeriesTotas a,
  .sectionGaleries a {
    width: 270px;
    height: 270px;
    background-position: center;
  }
}

@media screen and (max-width: 1199px) {
  .slick-slider .slick-track div {
    max-width: 900px;
    min-width: 900px;
    max-height: 550px;
    min-height: 550px;
  }
  .slick-slider figure {
    min-width: 900px;
    min-height: 550px;
  }
  .slick-slider-similares .slick-track div {
    max-width: 332px;
    min-width: 332px;
    max-height: 248px;
    min-height: 248px;
  }
  .slick-slider-similares figure {
    min-width: 332px;
    min-height: 248px;
  }
  .sectionGaleries.galeriesTotas div,
  .sectionGaleries div {
    width: 250px;
  }
  .sectionGaleries.galeriesTotas a,
  .sectionGaleries a {
    width: 250px;
    height: 250px;
    background-position: center;
  }
  .slick-dots {
    width: 900px;
  }
  .introStyle {
    width: 76%;
  }
  .boto-galeries {
    width: 24%;
  }
  .topSecuandary .formulari {
    padding: 0;
  }
  .contentImageDetail {
    padding: 45px 20px 0 20px;
  }
  .contentDescriptionDetail, .contentDescargaDetail, .contentGeoMapDetail, .contentTagsDetail, .contentSimilaresDetail {
    padding: 0 20px;
  }
  .sectionImageDetail .breadcrumb.breadcrumbBIMA {
    padding-left: 20px;
  }
}

@media screen and (max-width: 1109px) {
  .slick-slider .slick-track div {
    max-width: 875px;
    min-width: 875px;
    max-height: 525px;
    min-height: 525px;
  }
  .slick-slider figure {
    min-width: 875px;
    min-height: 525px;
  }
  .slick-slider-similares .slick-track div {
    max-width: 332px;
    min-width: 332px;
    max-height: 248px;
    min-height: 248px;
  }
  .slick-slider-similares figure {
    min-width: 332px;
    min-height: 248px;
  }
  .sectionGaleries.galeriesTotas div,
  .sectionGaleries div {
    width: 225px;
  }
  .sectionGaleries.galeriesTotas a,
  .sectionGaleries a {
    width: 225px;
    height: 225px;
    background-position: center;
  }
  .slick-dots {
    width: 875px;
  }
  figcaption {
    display: none;
  }
  .introStyle {
    width: 73%;
  }
  .boto-galeries {
    width: 27%;
  }
  .slick-arrow{
    display: none !important;
  }
}

/*****************TABLET****************/
@media screen and (max-width: 1023px) {
  .slick-slider .slick-track div {
    max-width: 825px;
    min-width: 825px;
    max-height: 500px;
    min-height: 500px;
  }
  .slick-slider figure {
    min-width: 825px;
    min-height: 500px;
  }
  .slick-slider-similares .slick-track div {
    max-width: 332px;
    min-width: 332px;
    max-height: 248px;
    min-height: 248px;
  }
  .slick-slider-similares figure {
    min-width: 332px;
    min-height: 248px;
  }
  .sectionGaleries.galeriesTotas div,
  .sectionGaleries div {
    width: 300px;
  }
  .sectionGaleries.galeriesTotas a,
  .sectionGaleries a {
    width: 300px;
    height: 300px;
    background-position: center;
  }
  .slick-dots {
    width: 825px;
  }
  .authorHeaderBG {
    display: none;
  }
  .introStyle {
    width: 72%;
  }
  .boto-galeries {
    width: 28%;
  }
}

@media screen and (max-width: 991px) {
  .slick-slider .slick-track div {
    max-width: 750px;
    min-width: 750px;
    max-height: 450px;
    min-height: 450px;
  }
  .slick-slider figure {
    min-width: 750px;
    min-height: 450px;
  }
  .slick-slider-similares .slick-track div {
    max-width: 332px;
    min-width: 332px;
    max-height: 248px;
    min-height: 248px;
  }
  .slick-slider-similares figure {
    min-width: 332px;
    min-height: 248px;
  }
  .sectionGaleries.galeriesTotas div,
  .sectionGaleries div {
    width: 255px;
  }
  .sectionGaleries.galeriesTotas a,
  .sectionGaleries a {
    width: 255px;
    height: 255px;
    background-position: center;
  }
  .slick-dots {
    width: 750px;
  }
  .introStyle {
    padding: 20px;
    font-size: 20px;
  }
  .slick-dotted.slick-slider {
    margin-bottom: 50px;
  }
  .introStyle {
    width: 70%;
  }
  .boto-galeries {
    width: 30%;
  }
  .galleryBtnAction {
    margin-top: 50px;
    margin-bottom: 50px;
  }
  .galeriaPresentation {
    display: none;
    opacity: 0;
    visibility: hidden;
  }
  .ug-thumb-overlay, .ug-textpanel {
    display: none !important;
  }
}

@media screen and (max-width: 850px) {
  .slick-slider .slick-track div {
    max-width: 650px;
    min-width: 650px;
    max-height: 375px;
    min-height: 375px;
  }
  .slick-slider figure {
    min-width: 650px;
    min-height: 375px;
  }
  .slick-slider-similares .slick-track div {
    max-width: 332px;
    min-width: 332px;
    max-height: 248px;
    min-height: 248px;
  }
  .slick-slider-similares figure {
    min-width: 365px;
    min-height: 248px;
  }
  .sectionGaleries.galeriesTotas div,
  .sectionGaleries div {
    width: 225px;
  }
  .sectionGaleries.galeriesTotas a,
  .sectionGaleries a {
    width: 225px;
    height: 225px;
    background-position: center;
  }
  .slick-dots {
    width: 650px;
  }
  .introStyle {
    width: 70%;
  }
  .boto-galeries {
    width: 30%;
  }
}

/***************BIG-MOBILE**************/
@media screen and (min-width: 768px){
  .titleGaleries {
    font-size: 35px;
    padding-right: 160px;
  }
}

@media screen and (max-width: 767px) and (min-width: 640px) {
  .slick-slider .slick-track div {
    max-width: 560px;
    min-width: 560px;
    max-height: 340px;
    min-height: 340px;
  }
  .slick-slider figure {
    min-width: 560px;
    min-height: 340px;
  }
  .slick-slider-similares .slick-track div {
    max-width: 332px;
    min-width: 332px;
    max-height: 315px;
    min-height: 315px;
  }
  .slick-slider-similares figure {
    min-width: 332px;
    min-height: 315px;
  }
  .slick-dots {
    position: static;
    bottom: -25px;
    display: block;
    width: 100%;
    padding: 30px;
    margin: 0;
    list-style: none;
    text-align: center;
    line-height: 0;
  }
  .slick-dots li, .slick-dots li button, .slick-dots li button:before {
    width: 20px;
    height: 20px;
  }
  .slick-dotted.slick-slider {
    margin-bottom: 38px;
  }
  .form_search {
    height: 152px;
    padding: 35px;
    padding-top: 40px;
  }
  .topSecuandary .form_search {
    height: 70px;
    padding: 15px;
    padding-top: 5px;
  }
  .topSecuandary .form_search button {
    top: 5px;
    right: 10px;
  }
  .topSecuandary .form_search a {
    right: 15px;
    top: 5px;
    width: 70px;
    height: 70px;
  }
  .form_search a span {
    font-size: 32px;
    line-height: 2.3;
  }
  .topSecuandary {
    height: 152px;
    padding: 24px 0;
  }
  .form_search input[type="search"] {
    color: #666;
    padding: 0px 75px 5px 25px;
    background-color: #FFF;
    width: 100%;
    margin: 0;
    height: 70px;
    border-radius: 70px;
    font-size: 26px;
  }
  .form_search a {
    top: 40px;
    right: 35px;
    width: 70px;
    height: 70px;
  }
  .topPrimary {
    min-height: 465px;
    padding-top: 50px;
  }
  .bimaHome {
    height: auto;
    min-height: 144px;
    padding: 23px;
    font-size: 0.853335em;
    font-weight: 400;
    background-color: #db2828;
    color: #FFF;
    font-size: 25px;
    line-height: 1;
    padding-bottom: 30px;
  }
  .bimaHome div {
    display: block;
    padding-left: 0;
  }

  .galeriesCounts {
    padding-left: 0;
  }

  .sectionGaleries.galeriesTotas {
    padding-top: 20px;
  }
  .sectionGaleria {
    padding: 20px;
  }
  .sectionGaleries.galeriesTotas div,
  .sectionGaleries div {
    width: 178px;
  }
  .sectionGaleries.galeriesTotas a,
  .sectionGaleries a {
    width: 178px;
    height: 178px;
    background-position: center;
  }
  .sectionGaleries div p {
    text-align: center;
    font-size: 22px;
    margin-bottom: 31px;
    padding-top: 3px;
  }
  .galleryBtnAction {
    margin-top: 50px;
    margin-bottom: 50px;
  }
  .galeriaPresentation {
    display: none;
    opacity: 0;
    visibility: hidden;
  }
  .ug-thumb-overlay, .ug-textpanel {
    display: none !important;
  }
  .detailViewTitle-xs {
    font-size: 24px;
  }
  .buttonMapaDetalle {
    font-size: 21px !important;
    font-weight: 500 !important;
    margin-top: 0 !important;
    margin-bottom: 30px !important;
    padding: 0 35px !important;
  }
  .parentPrntPrntGlDetailsImg {
    max-height: 380px !important;
  }
  .imageDetailView img {
    max-height: 365px;
  }
  .contentDetailLabels {
    padding: 20px;
  }
  .imgDetailLabel {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -.5px;
    line-height: 1.2;
  }
  .pull-none-xs {
    float: none !important;
    text-align: left;
    padding-top: 15px;
    margin-bottom: -2px;
  }
  .imgDetailLabel-xs {
    display: inline-block;
    margin: 0;
  }
  .imgDetailIcons {
    display: inline-block;
    padding-left: 15px;
    margin: 0;
  }
  .descargaDetailTitle {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 500;
  }
  .descargaImgDescripcion {
    font-size: 18px;
    height: 20px;
  }
  .btnDescargaImg {
    padding: 10px 20px 12px 20px;
    font-size: 21px;
    font-weight: 400;
    max-height: 50px;
    -webkit-transition: all .3s;
    transition: all .3s;
    margin-bottom: 25px;
  }
  .DescargaDetailBox {
    min-height: 310px;
    max-height: 310px;
  }
  .descargaOriginalDetail {
    font-size: 21px;
    min-height: 122px;
    max-height: 122px;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .boxMaps, .mapsApiImgDetail {
    height: 380px;
  }
  .contentGeoDetail {
    padding: 20px;
  }
  .geoDetailHeader {
    font-size: 28px;
    padding-bottom: 20px;
  }
  .geoDetailLabel {
    font-size: 23px;
    line-height: 1.174;
  }

  .contentDetailTitle {
    font-size: 32px;
    padding-left: 50px;
  }
  .iconDetailTitle {
    color: #db2828;
    position: absolute;
    font-size: 40px;
    line-height: .8;
  }
  .sectionRedesSociales p {
    font-size: 22px;
  }
  .slick-dots li button#control-navigation {
    background: url('/https/www.barcelona.cat/imatges/static/main/css/img/controls.png') 0 -64px no-repeat transparent;
    background-size: 21px;
    transition: none;
    Width:20px;
    height: 20px;
  }
  .slick-dots li button#control-navigation:hover {
    background-position: 0 -42px;
    opacity: 1;
  }
  .slick-dots li button#control-navigation.play {
    background: url('/https/www.barcelona.cat/imatges/static/main/css/img/controls.png') 0 -21px no-repeat transparent;
    background-size: 21px;
  }
}

/***************MID-MOBILE**************/
@media screen and (max-width: 639px) and (min-width: 480px) {
  .header-xs {
    height: 55px;
  }
  .header-xs h1 {
    padding-top: 10.5px;
    font-size: 26px;
  }
  .botton-header-xs {
    width: 55px;
    height: 55px;
    font-size: 25px;
  }
  .header-xs .dropdown-menu > li > a {
    font-size: 22px;
  }
  .topPrimary {
    min-height: 265px;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .topSecuandary {
    height: 120px;
    padding: 30px 20px;
  }
  .intro-xs {
    min-height: 120px;
    padding: 20px;
    font-size: 19px;
  }
  .form_search {
    height: 85px;
    padding: 20px;
    padding-top: 22.5px;
  }
  .topSecuandary .form_search {
    padding: 0;
  }
  .form_search input[type="search"] {
    color: #666;
    padding: 0px 45px 2px 15px;
    background-color: #FFF;
    width: 100%;
    margin: 0;
    height: 40px;
    border-radius: 70px;
    font-size: 16px;
  }
  .form_search a {
    top: 22.5px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
  .form_search a span {
    font-size: 19px;
  }
  .secundaryHeader,
  .bimaHome {
    height: auto;
    min-height: 100px;
    padding: 15px 20px;
    font-size: 17px;
    padding-bottom: 30px;
  }
  .galeriesCounts {
    padding-left: 0;
    font-size: 22px;
    position: relative;
    top: -1px;
  }
  .subTitleGaleries {
    position: relative;
    font-size: 22px;
    top: -2px;
  }

  .sectionDestacades {
    margin: 40px 0 0 0;
  }
  .sectionDestacades h1 {
    margin: 0 0 20px 0;
    font-size: 26px;
    padding: 0 20px;
  }
  .slick-dotted.slick-slider {
    margin-bottom: 30px;
  }
  .slick-slider .slick-track div {
    max-width: 390px;
    min-width: 390px;
    max-height: 240px;
    min-height: 240px;
  }
  .slick-slider figure {
    min-width: 390px;
    min-height: 240px;
  }
  .slick-dots {
    padding: 25px 20px;
    width: 100%;
    text-align: center;
  }
  .slick-dots li, .slick-dots li button, .slick-dots li button:before {
    width: 17.5px;
    height: 17.5px;
  }
  .sectionGaleries.galeriesTotas,
  .sectionGaleries {
    padding: 35px 20px;
  }
  .sectionGaleries h1 {
    margin: 0px 0 20px 0;
    font-size: 26px;
    padding: 0;
  }
  .sectionGaleries.galeriesTotas div,
  .sectionGaleries div {
    width: 132px;
    margin: 0 5px;
  }
  .sectionGaleries.galeriesTotas a,
  .sectionGaleries a {
    width: 132px;
    height: 132px;
    background-position: center;
  }
  .sectionGaleries div p {
    font-size: 18px;
    margin-bottom: 25px;
    padding-top: 2px;
  }
  .galleryBtnAction {
    margin-top: 50px;
    margin-bottom: 50px;
  }
  .galeriaPresentation {
    display: none;
    opacity: 0;
    visibility: hidden;
  }
  .ug-thumb-overlay, .ug-textpanel {
    display: none !important;
  }
  .contentImageDetail {
    padding: 20px 20px 0 20px;
  }
  .titleDetailImage {
    margin-bottom: 15px;
    font-size: 20px;
  }
  .detailViewTitle-xs {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    line-height: 1.2;
    padding-top: 15px;
    padding-bottom: 0px;
  }
  .contentDescriptionDetail, .contentDescargaDetail, .contentGeoMapDetail, .contentTagsDetail, .contentSimilaresDetail {
    padding: 0 20px;
    margin-bottom: 25px;
    overflow: hidden;
  }
  .contentDetailLabels {
    padding: 15px;
  }
  .pull-none-xs {
    float: none !important;
    margin-top: 10px;
  }
  .imgDetailLabel {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -.5px;
    line-height: 1.2;
  }
  .imgDetailIcons img {
    width: 25px;
    opacity: 0.7;
  }
  .contentHeaderSpace {
    padding-bottom: 15px;
  }
  .iconDetailTitle {
    color: #db2828;
    position: absolute;
    font-size: 25px;
    line-height: 1;
  }
  .contentDetailTitle {
    font-size: 20px;
    padding-left: 30px;
    line-height: 1;
    font-weight: 300;
  }
  .DescargaDetailBox {
    background-color: #f2f2f2;
    border: 10px solid #fff;
    border-bottom: 20px solid #fff;
    border-top: 0;
    min-height: 205px;
    max-height: 205px;
  }
  .descargaDetailTitle {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 500;
  }
  .descargaImgEj {
    position: relative;
    width: 100%;
    max-width: 110px;
    height: 60px;
    margin: auto;
    margin-bottom: 5px;
    background-color: #DFDFDF;
  }
  .descargaImgDescripcion {
    line-height: 1;
    font-size: 10px;
    letter-spacing: -.5px;
    font-weight: 500;
    color: #666;
    display: block;
    text-align: center !important;
    margin-bottom: 15px;
    height: 11px;
  }
  .lowQuality {
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 30px;
    background-color: #bbb;
  }
  .midQuality {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 45px;
    background-color: #bbb;
  }
  .descargaOriginalDetail {
    text-align: center;
    font-size: 13px;
    color: #666;
    font-weight: 400;
    line-height: 1.15;
    min-height: 72px;
    max-height: 72px;
    overflow: hidden;
    margin-top: 10px;
    margin-bottom: 20px;
  }
  .btnDescargaImg {
    padding: 3px 5px 6px 5px;
    font-size: 15px;
    color: #FFF;
    background-color: #db2828;
    border-radius: 30px;
    max-height: 30px;
    position: relative;
    line-height: 1;
    -webkit-transition: all .3s;
    transition: all .3s;
    margin-bottom: 20px;
  }
  .boxMaps {
    position: relative;
    height: 300px;
  }
  .mapsApiImgDetail {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 300px;
    z-index: 1;
  }
  .contentGeoDetail {
    margin-top: 15px;
    padding: 15px;
  }
  .geoDetailHeader {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: -.5px;
    line-height: 1;
    padding-bottom: 5px;
  }
  .geoDetailLabel {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -.5px;
    line-height: 1.25;
  }
  .tagsLista li {
    display: inline-block;
    float: left;
    padding: 5px;
    margin: 0;
    margin-bottom: 7.5px;
  }

  .sectionImageDetail {
    margin-bottom: 50px;
  }
  .sectionRedesSociales {
    min-height: 130px;
    background-color: #fff;
    line-height: 1;
    padding: 30px 20px;
  }
  .sectionRedesSociales p {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 12.5px;
  }
  #footer .zone-wrapper {
    padding: 20px 0;
  }
  #footer .content ul {
    margin: 0;
    line-height: 1;
    margin-top: 12.5px;
  }
  #footer .content ul li {
    display: inline;
    margin: 0;
    margin-right: 20px;
    margin-bottom: 5px;
    width: 150px;
    text-align: right;
  }
}

/*************SMALL-MOBILE************/
@media screen and (max-width: 479px) {
  .hidden-xxs {
    display: none;
    -webkit-transition: all .3s;
    transition: all .3s;
  }
  .visible-xxs {
    display: inline-block;
    -webkit-transition: all .3s;
    transition: all .3s;
  }
  .header-xs {
    height: 45px;
  }
  .header-xs h1 {
    padding-top: 8.5px;
    font-size: 22px;
  }
  .botton-header-xs {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  .header-xs .dropdown-menu > li > a {
    font-size: 18px;
  }
  .topPrimary {
    min-height: 232.5px;
    padding-top: 25px;
    padding-bottom: 25px;
  }
  .topSecuandary {
    height: 100px;
    padding: 20px;
  }
  .intro-xs {
    min-height: 95px;
    padding: 20px;
    font-size: 16px;
  }
  .form_search {
    height: 76px;
    padding: 20px;
    padding-top: 17.5px;
  }
  .topSecuandary .form_search {
    padding: 0;
  }
  .form_search input[type="search"] {
    color: #666;
    padding: 0px 45px 2px 15px;
    background-color: #FFF;
    width: 100%;
    margin: 0;
    height: 40px;
    border-radius: 70px;
    font-size: 16px;
  }
  .form_search a {
    top: 17.5px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
  .form_search a span {
    font-size: 19px;
  }
  .secundaryHeader,
  .bimaHome {
    height: auto;
    min-height: 90px;
    padding: 15px 20px;
    font-size: 14px;
    padding-bottom: 30px;
  }
  .galeriesCounts {
    padding-left: 0;
    font-size: 18px;
    position: relative;
    top: -1px;
  }
  .subTitleGaleries {
    position: relative;
    font-size: 18px;
    top: -2px;
  }

  .sectionDestacades {
    margin: 30px 0 0 0;
  }
  .sectionDestacades h1 {
    margin: 0 0 15px 0;
    font-size: 20px;
    padding: 0 20px;
  }
  .slick-dotted.slick-slider {
    margin-bottom: 20px;
  }
  .slick-slider .slick-track div {
    max-width: 280px;
    min-width: 280px;
    max-height: 170px;
    min-height: 170px;
  }
  .slick-slider figure {
    min-width: 280px;
    min-height: 170px;
  }
  .slick-dots {
    padding: 20px;
    width: 100%;
    text-align: center;
  }
  .slick-dots li, .slick-dots li button, .slick-dots li button:before {
    width: 15px;
    height: 15px;
  }
  .sectionGaleries.galeriesTotas,
  .sectionGaleries {
    padding: 30px 20px;
  }
  .sectionGaleries.galeriesTotas {
    padding: 15px;
    padding-bottom: 30px;
  }
  .sectionGaleries h1 {
    margin: 0px 0 15px 0;
    font-size: 20px;
    padding: 0;
  }
  .sectionGaleries.galeriesTotas div,
  .sectionGaleries div {
    width: 125px;
    margin: 0 5px;
  }
  .sectionGaleries.galeriesTotas a,
  .sectionGaleries a {
    width: 125px;
    height: 125px;
    background-position: center;
  }
  .sectionGaleries div p {
    font-size: 15px;
    margin-bottom: 20px;
    padding-top: 0px;
  }
  .galleryBtnAction {
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .galeriaPresentation {
    display: none;
    opacity: 0;
    visibility: hidden;
  }
  .ug-thumb-overlay, .ug-textpanel {
    display: none !important;
  }
  .contentImageDetail {
    padding: 20px 20px 0 20px;
  }
  .titleDetailImage {
    margin-bottom: 15px;
    font-size: 20px;
  }
  .detailViewTitle-xs {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    line-height: 1.2;
    padding-top: 15px;
    padding-bottom: 0px;
  }
  .contentDescriptionDetail, .contentDescargaDetail, .contentGeoMapDetail, .contentTagsDetail, .contentSimilaresDetail {
    padding: 0 20px;
    margin-bottom: 25px;
    overflow: hidden;
  }
  .contentDetailLabels {
    padding: 15px;
  }
  .pull-none-xs {
    float: none !important;
    margin-top: 10px;
  }
  .imgDetailLabel {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -.5px;
    line-height: 1.2;
  }
  .imgDetailIcons img {
    width: 25px;
    opacity: 0.7;
  }
  .contentHeaderSpace {
    padding-bottom: 15px;
  }
  .iconDetailTitle {
    color: #db2828;
    position: absolute;
    font-size: 25px;
    line-height: 1;
  }
  .contentDetailTitle {
    font-size: 20px;
    padding-left: 30px;
    line-height: 1;
    font-weight: 300;
  }
  .DescargaDetailBox {
    background-color: #f2f2f2;
    border: 10px solid #fff;
    border-bottom: 20px solid #fff;
    border-top: 0;
    min-height: 205px;
    max-height: 205px;
  }
  .descargaDetailTitle {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 500;
  }
  .descargaImgEj {
    position: relative;
    width: 100%;
    max-width: 110px;
    height: 60px;
    margin: auto;
    margin-bottom: 5px;
    background-color: #DFDFDF;
  }
  .descargaImgDescripcion {
    line-height: 1;
    font-size: 10px;
    letter-spacing: -.5px;
    font-weight: 500;
    color: #666;
    display: block;
    text-align: center !important;
    margin-bottom: 15px;
    height: 11px;
  }
  .lowQuality {
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 30px;
    background-color: #bbb;
  }
  .midQuality {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 45px;
    background-color: #bbb;
  }
  .descargaOriginalDetail {
    text-align: center;
    font-size: 13px;
    color: #666;
    font-weight: 400;
    line-height: 1.15;
    min-height: 72px;
    max-height: 72px;
    overflow: hidden;
    margin-top: 10px;
    margin-bottom: 20px;
  }
  .btnDescargaImg {
    padding: 3px 5px 6px 5px;
    font-size: 15px;
    color: #FFF;
    background-color: #db2828;

    border-radius: 30px;
    max-height: 30px;
    position: relative;
    line-height: 1;
    -webkit-transition: all .3s;
    transition: all .3s;
    margin-bottom: 20px;
  }
  .boxMaps {
    position: relative;
    height: 300px;
  }
  .mapsApiImgDetail {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 300px;
    z-index: 1;
  }
  .contentGeoDetail {
    margin-top: 15px;
    padding: 15px;
  }
  .geoDetailHeader {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: -.5px;
    line-height: 1;
    padding-bottom: 5px;
  }
  .geoDetailLabel {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -.5px;
    line-height: 1.25;
  }
  .tagsLista li {
    display: inline-block;
    float: left;
    padding: 5px;
    margin: 0;
    margin-bottom: 7.5px;
  }

  .sectionImageDetail {
    margin-bottom: 50px;
  }
  .sectionRedesSociales {
    min-height: 120px;
    background-color: #fff;
    line-height: 1;
    padding: 25px 20px;
  }
  #footer .zone-wrapper {
    padding: 20px 0;
  }
  #footer .content ul {
    margin: 0;
    line-height: 1;
    margin-top: -7px;
  }
  #footer .content ul li {
    display: block;
    margin: 0;
    margin-right: 20px;
    margin-bottom: 5px;
    width: 150px;
    text-align: right;
  }
}

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

/* styles for help modal */
.bima_modal .bcnTitle {
  color: white;
  font-weight:600;
  font-size: 24px;
}

.bima_modal li {
  margin: 5px 0;
}

.bima_modal .modal-content {
  max-height: calc(100vh - 60px);
  overflow: hidden;
}

.bima_modal .modal-body {
  height: calc(100vh - 176px);
  overflow: hidden;
  overflow-y: auto;
}

.bima_modal .modal-footer button {
  background-color: #db2828;
  border-color: #db2828;
  color: #fff;
}

.bima_modal .modal-footer button:active,
.bima_modal .modal-footer button:focus,
.bima_modal .modal-footer button:hover {
  background-color: #9a1968;
  border-color: #9a1968;
}

/* changes modal */
.modal-content {
border-radius: 0;
border: 0;
}
.modal-header {
background-color: #db2828;
color: #fff;
}
.modal-header .close {
opacity: 1;
font-size: 30px;
display: block;
line-height: 0.6;
text-shadow: none;
color: #fff;
margin-top: 0;
transition: all .3s;
}
.modal-header .close:hover {
opacity: 0.6;
}
.modal-header .modal-title {
text-align: left;
font-size: 20px;
line-height: 1;
}

/* .p-floatlabel {
    display: block;
    position: relative;
    width: 100%;

}
.p-floatlabel-in .p-inputtext, .p-floatlabel-in .p-textarea, .p-floatlabel-in .p-select-label, .p-floatlabel-in .p-multiselect-label, .p-floatlabel-in .p-multiselect-label:has(.p-chip), .p-floatlabel-in .p-autocomplete-input-multiple, .p-floatlabel-in .p-cascadeselect-label, .p-floatlabel-in .p-treeselect-label {
    padding-block-start: 1.5rem;
    padding-block-end: 0.5rem;
    padding-left: 30px;
}

.p-inputtext {
      
  width: 100%;
    font-family: inherit;
    font-feature-settings: inherit;
    font-size: 1rem;
    color: black;
    background: white;
    padding-inline: 0.75rem;
    border: 1px solid var(--p-inputtext-border-color);
    transition: background 0.2s, color 0.2s, border-color  0.2s, outline-color  0.2s, box-shadow 0.2s;
    appearance: none;
    border-radius: 6px;
    outline-color: transparent;
    box-shadow: none;
}

.p-floatlabel-in:has(input:focus) label, .p-floatlabel-in:has(input.p-filled) label, .p-floatlabel-in:has(input:-webkit-autofill) label, .p-floatlabel-in:has(textarea:focus) label, .p-floatlabel-in:has(textarea.p-filled) label, .p-floatlabel-in:has(.p-inputwrapper-focus) label, .p-floatlabel-in:has(.p-inputwrapper-filled) label, .p-floatlabel-in:has(input[placeholder]) label, .p-floatlabel-in:has(textarea[placeholder]) label {
    top: 0.5rem;
}

.p-floatlabel:has(input:focus) label, .p-floatlabel:has(input:-webkit-autofill) label, .p-floatlabel:has(textarea:focus) label, .p-floatlabel:has(.p-inputwrapper-focus) label {
    color: black;
}
.p-floatlabel:has(input:focus) label, .p-floatlabel:has(input.p-filled) label, .p-floatlabel:has(input:-webkit-autofill) label, .p-floatlabel:has(textarea:focus) label, .p-floatlabel:has(textarea.p-filled) label, .p-floatlabel:has(.p-inputwrapper-focus) label, .p-floatlabel:has(.p-inputwrapper-filled) label, .p-floatlabel:has(input[placeholder]) label, .p-floatlabel:has(textarea[placeholder]) label {
    top: -1.25;
    transform: translateY(0);
    font-size: 0.75rem;
    font-weight: 400;
}
.p-floatlabel label {
      margin-left: 30px;
    position: absolute;
    pointer-events: none;
    top: 50%;
    transform: translateY(-50%);
    transition-property: all;
    transition-timing-function: ease;
    line-height: 1;
    font-weight: 500;
    inset-inline-start: 0.75rem;
    color: black;
    transition-duration: 0.2s;
} */

/* Contenedor relativo */
.p-float-label {
    display: block;
    width: 100%;
    position: relative;
    /* margin-top: 1rem; (Opcional, según tu diseño) */
}

/* El input debe ser más alto y tener padding asimétrico */
.p-float-label input {
    width: 100% !important; ;
    font-family: inherit;
    padding-left: 1.75rem !important;
    font-size: 16px !important;
    /* Padding: Arriba Derecha Abajo Izquierda */
    /* Damos más espacio arriba para que quepa el label cuando sube */
    border: 1px solid #ced4da !important; ;
    border-radius: 8px !important;
    outline: none;
    padding-bottom: 0 !important;
    padding-top: 13px !important;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: transparent;
    height: 56px !important;
}

/* Foco del input */
.p-float-label input:focus {
    border: 2px solid black !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.2);
}
/* Posicionamiento inicial del Label */
.p-float-label label {
    position: absolute;
    pointer-events: none;
    font-size: 16px !important;
    font-weight: 400 !important;
    top: 50%;
    left: 1.75rem !important;
    right: auto; /* Evitamos que se estire o centre horizontalmente */
    transform: translateY(-50%);
    transform-origin: left top; /* Las animaciones parten desde la izquierda */
    text-align: left; /* Ignora el text-align del contenedor padre */
    transition: 0.2s ease all;
    color: #6c757d;
    background-color: transparent;
    margin: 0;
    line-height: 1;
}

/* LA MAGIA: Cuando el input tiene foco, o cuando NO está vacío */
.p-float-label input:focus ~ label,
.p-float-label input:not(:placeholder-shown) ~ label {
    top: 11px;
    left: 1.75rem !important;
    transform: translateY(0);
    font-size: 13px !important;
    color: #000000;
}

/* Mantiene el color gris si no hay foco pero hay texto escrito */
.p-float-label input:not(:focus):not(:placeholder-shown) ~ label {
    color: #6c757d;
}

.searcher-clean-btn{
  opacity: 0;
  visibility: hidden;
}
.p-float-label input:not(:focus):not(:placeholder-shown) ~ .searcher-clean-btn {
  opacity: 1;
  visibility: visible;
}
.search-btn-inside {
    position: absolute;
    border-radius: 0 !important;
    top: 50% !important;
    padding-left: 20px !important;
    transform: translateY(-50%);
    height: 34px !important;
    width: 3rem !important;
    border: none !important;
    background: transparent;
    border-left: 1px solid #ced4da !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #696973 !important;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.1s ease;
}
.search-btn-inside span{
  font-size: 27px !important;
}
/* Efecto al pasar el ratón o hacer focus en el botón */
.search-btn-inside:hover,
.search-btn-inside:focus {
    color: #3B82F6; /* Color primary de PrimeVue */
    outline: none;
    background: none !important;
}

/* Pequeño efecto al hacer clic en el botón */
.search-btn-inside:active {
    transform: translateY(-50%) scale(0.95);
}

@media screen and (max-width: 767px) {
    .p-float-label #search-btn-inside {
        margin-right: 15px !important;
    }
    .p-float-label #id_q {  
      height: 56px !important;
    }
}
/******************** helper class *********************/
/*********************************************************/

/* POSITION */
.p_absolute{
  position: absolute;
}
.p_relative{
  position: relative;
}
.p_fixed{
  position: fixed;
}
.p_static{
  position: static;
}

/* DISPLAY */
.d_inline{
    display: inline;
}
.d_inline-block{
    display: inline-block;
}
.d_block{
    display: block;
}
.d_none{
    display: none;
}

/* MARGIN RESET */
.no_mg { 
  margin: 0 !important;
}
.no_mgL { 
  margin-left: 0 !important;
}
.no_mgR { 
  margin-right: 0 !important;
}
.no_mgLR { 
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.no_mgT { 
  margin-top: 0 !important;
}
.no_mgB { 
  margin-bottom: 0 !important;
}
.no_mgTB { 
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* PADDING RESET*/
.no_pd { 
  padding: 0 !important;
}
.no_pdL { 
  padding-left: 0 !important;
}
.no_pdR { 
  padding-right: 0 !important;
}
.no_pdLR { 
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.no_pdT { 
  padding-top: 0 !important;
}
.no_pdB { 
  padding-bottom: 0 !important;
}
.no_pdTB { 
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* TEXT ALIGN*/
.txtL { 
  text-align: left !important;
}
.txtR { 
  text-align: right !important;
}
.txtC { 
  text-align: center !important;
}
.txtJ { 
  text-align: justify !important;
}

/* LINE BREAK */
.oneLineBreak{
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  text-align: justify;
}
.twoLineBreak{
  word-break: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-align: justify;
}
.threeLineBreak{
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-align: justify;
}

/* OVERFLOWS */
.overflowHide{
  overflow: hidden;
}
.overflowXHide{
  overflow-x: hidden; 
}
.overflowYHide{
  overflow-y: hidden; 
}
.overflowAuto{
  overflow: auto;
}
.overflowXAuto{
  overflow-x: auto;
}
.overflowYAuto{
  overflow-y: auto;
}

/* max-width-box */
.max1010{
  max-width: 1010px;
}
.max880{
  max-width: 880px;
}

.top8{
  position: relative;
  top:8px;
}

@import url("/https/www.barcelona.cat/imatges/static/main/css/ajuntamentfonts.css");

/* nav header */
#brand .bcnbrand-list li {
    margin: 0;
}

/* photo detail download buttons */

.DescargaDetailBox a:hover,
.DescargaDetailBox a:focus,
.DescargaDetailBox a:active {
  color: #fff !important;
}


/* photo detail without gallery */

.contentImageDetail{
  margin-top: 34px;
}

.breadcrumbBIMA + .contentImageDetail{
  margin-top: 0;
}


/* search */

#id_q {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 300;
  color: #666;
  padding: 5px 55px 8px 25px;
  background-color: #FFF;
  width: 100%;
  margin: 0;
  height: 50px;
  border-radius: 25px;
  font-size: 21px;
  letter-spacing: -1px;
}

.form_search button {
  top: 36px;
  right: 70px;
  float: right;
  width: 66px;
  /* height: 2.67em; */
  color: #fff;
  background-color: #D50283;
  border-radius: 50%;
  border: 1px solid transparent;
}

.topSecuandary .form_search button {
  top: 0;
  right: 0;
}

.form_search button span {
  font-size: 24px;
  line-height: 2.1;
}


/* gallery detail add photos */

[id^=gallery_] {
  margin-top: 20px;
}

.galleryBtnAction {
  margin-bottom: 0;
}

#galeria + .sectionRedesSociales {
  margin-top: 100px;
}


/* social share */

.fa-at.jssocials-share-logo {
  font-family: 'icoajuntament' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.fa-at.jssocials-share-logo:before {
    content: "\e951";
}
.jssocials-share-email .jssocials-share-link {
    background: #848484;
}
.jssocials-share-email .jssocials-share-link:hover {
    background: #737272;
}
.jssocials-share {
  margin: 0 6px 0 0;
  transition: all .3s;
}


@media screen and (max-width: 767px) and (min-width: 640px) {
  .form_search button{
    top: 40px;
    right: 30px;
    width: 70px;
  }
  .topSecuandary .form_search button {
    top: 5px;
    right: 10px;
  }
  #id_q {
    padding: 0 75px 5px 25px;
    /*height: 70px;*/
    border-radius: 70px;
    font-size: 26px;
  }
}

@media screen and (max-width: 639px) and (min-width: 480px) {
  .form_search button{
    top: 23px;
    right: 18px;
    width: 40px;
    height: 40px;
  }
  .form_search button span {
    font-size: 18px;
  }
  #id_q {
    padding: 0 45px 2px 15px;
    /*height: 40px;*/
    border-radius: 70px;
    font-size: 16px;
  }
}

@media screen and (max-width: 479px) {
  .form_search button{
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
  }
  .form_search button span {
    font-size: 19px;
  }
  #id_q {
    padding: 0 45px 2px 15px;
   /* height: 40px;*/
    border-radius: 70px;
    font-size: 16px;
  }
}

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700&display=swap');

/* estructure */
body {font-weight:400;}
.max1140 {max-width:1140px;}
a:focus {
  appearance: normal;
  outline:2px auto #db2828;
}
.topHead:focus-within,
.topHead:focus {position:relative;}
header#top {
  position:relative;
}
.sectionGaleries h1,
.sectionGaleries div p,
.sectionDestacades h1,
.titleGaleries,
.titleDetailImage {font-weight:400;}
.titleSimulator {
  margin:0px 0 24px 0;
  text-align:center;
  font-size:33px;
  font-weight:400;
  padding:0 15px;
}
h1.titleGaleries {margin-bottom:0;}
.titlePage {
  margin:0;
  margin-bottom: 14px;
  font-size:40px;
  line-height:1.1;
  font-weight:300;
  text-align:center;
}
.element-invisible {display:none;}
#brand.v2017 .bcnbrand-desktop .bcnbrand-main-container .bcnbrand-main {
  margin:0;
  padding-left:15px;
  margin-right: auto;
  margin-left: auto;
}
.bimaHome {font-weight:400;}

.form_search {
  height:auto;
  padding:20px;
  background: transparent;
  display: flex !important;
  align-items: center;
}
.form_search button {
  top:18px;
  right:20px;
}
.form_search button span {
  font-size:38px;
  line-height:1.4;
}
.contentDetailTitle {font-weight:400;}
#id_q {box-shadow:none; font-weight:400;}
#id_q::-webkit-input-placeholder {font-style:italic; font-weight:400; font-size:24px;}
#id_q:-moz-placeholder {font-style:italic; font-weight:400; font-size:24px;}
#id_q::-moz-placeholder {font-style:italic; font-weight:400; font-size:24px;}
#id_q:-ms-input-placeholder {font-style:italic; font-weight:400; font-size:24px;}
.jssocials-share-link {padding:.2em;}
.galeriaPresentation {
  height:100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.btnVerGaleria,
.btnVerGaleria {max-width:150px;}

.topSecuandary .form_search button {
  top:8px;
  right:15px;
}
.imageDetailView img {max-height:750px;}
.breadcrumb.breadcrumbBIMA {
  padding-left:20px;
  padding-bottom:0;
  margin-bottom:10px;
}
.sectionImageDetail .breadcrumb.breadcrumbBIMA {
  margin-bottom:10px;
  letter-spacing:0.1px;
}
.secundaryHeader {
  min-height:auto;
  background:transparent;
  overflow:hidden;
  display: flex;
  flex-direction: column;
}
.countContainer{
  margin-top: 20px;
}
.titleMap {
  text-align:left;
  margin:0 0 15px;
  font-size:20px;
}
.titleGaleries {
  float:left;
  width:auto;
  padding-right:15px;
  overflow:visible;
  color:#000;
}
.galeriesCounts {
  float:none;
  clear:none;
  color:#524d74;
  margin-right:0;
}
.subTitleGaleries {
  float:none;
  color:#000;
}

.sectionGaleries.galeriesTotas div,
.sectionGaleries div {margin:0;}
.sectionGaleries.galeriesTotas a,
.sectionGaleries a {
  background:#000 center center/cover no-repeat;
}
#galeria.sectionGaleria #gallery .ug-thumb-wrapper.ug-tile .ug-textpanel {
  background:rgba(0, 0, 0, 0.2);
  display:block;
  position:absolute;
  zoom:1;
  opacity:1 !important;
}
#galeria.sectionGaleria #gallery .ug-thumb-wrapper.ug-tile img.ug-thumb-image {
  position:relative;
  top:0;
  left:0;
}
#galeria.sectionGaleria #gallery .ug-thumb-wrapper.ug-tile:focus .ug-textpanel {
  position:absolute;
  bottom:0 !important;
  left:0;
}
.slick-slider .slick-current.slick-active figure:hover figcaption,
.slick-slider .slick-current.slick-active figure:focus figcaption {
  height:auto;
  line-height:1.4;
  padding:15px;
}

.slick-slider .slideBtnNav .bcn-icon-esquerra-light,
.slick-slider .slideBtnNav .bcn-icon-dreta-light {
  background:rgba(0, 0, 0, 0.6);
  border-radius:50%;
  padding:5px;
}
.slick-slider .slideBtnNav .bcn-icon-esquerra-light:hover,
.slick-slider .slideBtnNav .bcn-icon-dreta-light:hover {
  background:rgba(0, 0, 0, 1);
}
.slick-slider button.prevSlider:focus .bcn-icon-esquerra-light,
.slick-slider button.nextSlider:focus .bcn-icon-dreta-light {
  background:#db2828;
}
.slick-dots li button:hover,
.slick-dots li button:focus {background:#db2828;}

.prevSliderSimilares:focus,
.nextSliderSimilares:focus {
  color:#db2828;
}
.slick-slider-similares a:focus {
  outline-offset: 0 !important;
  outline: 0 !important; 
}
.slick-slider-similares a:focus figure{
  outline: 4px solid #db2828;
  outline-offset: -4px;
}
.slick-dots li button:focus {background:#524d74;}
.slick-dots li button#control-navigation,
.slick-dots li button#control-navigation.play {background-size:inherit;}
.slick-dots li button#control-navigation:focus {background-position:-17px -30px;}
.slick-dots li button#control-navigation.play:focus {background-position:-17px 0;}
.slick-dots li button:hover,
.slick-dots li button:focus {
  opacity:1;
}
.sectionGaleries.galeriesTotas a:focus,
.sectionGaleries a:focus {box-shadow:0 0 5px 0 #db2828;}
.slick-slider .slick-track div {background-color:#000;}
.sectionGaleries.galeriesTotas a,
.sectionGaleries a,
.ug-thumb-wrapper.ug-tile {background-color:#000 !important;}

.imageHoverTitle a {color:#fff;}
#footer .grid {max-width:1140px;}
#footer .content ul {font-weight:400;}
.sectionRedesSociales .jssocials a span {
  display:inline-block;
  text-indent:-9999em;
}
.scrollUp {
  background:rgba(0,0,0,0.9);
  font-size:2em;
  text-align:center;
  width:50px;
  height:45px;
  padding-bottom:5px;
  position:fixed;
  bottom:15px;
  right:15px;
  cursor:pointer;
  line-height:1em;
  text-decoration:none;
  display:none;
  opacity:0.7;
  z-index:6;
  transition: all 0.8s ease 0s;
}
.scrollUp img {max-width:30px;}
.scrollUp:active,
.scrollUp:focus
.scrollUp:hover {bottom:25px;}

/* popup mapa */
.ol-overlay-container .geobcn-popup .ol-popup {
  padding:0 !important;
}
.geobcn-popup > * > .ol-popup-content {position:relative;}
.ol-overlay-container .geobcn-popup .ol-popup-closer {
  background:#54545d url('/https/www.barcelona.cat/imatges/static/main/img/map_images/close_on2.jpg');
  padding:15px;
  position:absolute;
  z-index:3;
  top:0 !important;
  right:0 !important;
}
.ol-viewport {margin-top:20px;}

/* colours */
.introStyle {
  background:#f2f2f2; 
  color:#696973;
  height: 196px;
  display: flex;
  align-items: center;
}
.introStyle h1 {font-weight:400;}
.introStyle h1 a {
  color:#000000;
  font-family: 'Source Sans 3', sans-serif;
}
.bcnTitle {
  color:#db2828;
}
.blockBigTitle,
.bimaHome{
  background:#f2f2f2;
  color:#424242;
  max-height:inherit;
}
.blockBigTitle {
  margin:-25px -30px 30px;
  padding:14px 0 2px 0;
  background:#fff;
}
.blockBigTitle a .titlePage {
    font-weight:600;
    color:#000;
}

.form_search label {width:100%;}
.form_search button {
  background: transparent;
  color:#db2828;
}

.blockBigTitle a,
.blockBigTitle a .bcnTitle {color:#db2828;}
.imgDetailLabel .imgDetailTitle a {color:#db2828;}
.ug-thumb-overlay {background-color: rgba(0, 0, 0, 0.6) !important;}
.contentGeoDetail .geoDetailTitle,
.contentGeoDetail .geoDetailTitle a {color:#db2828;}

/* media queries */
@media screen and (max-width: 767px) {
  header#top {
    position:relative;
  }
  header#top .introStyle a {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    color:#000;
    background:#f2f2f2;
    font-size:0.8em;
    min-height:auto;
    padding:20px 25px;
    font-weight:600;
  }
  header#top .introStyle a .bcnTitle {color:#db2828;}
  header#top .introStyle a h1 {
    margin-bottom:0;
    font-weight:300;
    letter-spacing:0 !important;
  }
  header#top #intro.introStyle {
    width:auto !important;
    padding:0;
    margin-top:50px;
    margin-left:-5px;
    margin-right:-5px;
  }
  .introDescription {
    display:block;
    width:100%;
    min-height:152px;
    background-color:#f2f2f2;
    color:#000;
    text-align:left;
    padding:20px;
    font-size:26px;
    vertical-align: top;
    line-height:1.3;
  }
  #brand.v2017 .bcnbrand-mobile .bcnbrand-main-container .bcnbrand-main ul:first-of-type {margin-left:25px;}
  .breadcrumb.breadcrumbBIMA {
    text-transform:uppercase;
    font-size:20px;
  }
  .breadcrumb.breadcrumbBIMA a {padding-left:30px;}
  .breadcrumb.breadcrumbBIMA .iconDetailTitle {
    font-size:24px;
    left:20px;
  }
  .topSecuandary h1 {
    margin-bottom:15px;
    padding:5px 35px 0;
    font-size:1.2em;
    text-align:left;
  }
  .intro-xs.intro-title {
    color:#fff;
    background:#524d74;
    font-size:1.2em;
    min-height:auto;
    padding:20px 25px;
    margin:-50px -30px 50px;
  }
  .intro-xs {background:#fff;}
  .form_search {padding:5px;}
  .form_search button {
    top:4px;
    right:0;
  }
  .botoGoMap {
    top:calc(50% - 25px);
  }
  .secundaryHeader .titleGaleries {padding-right:60px;}
  .secundaryHeader > div {
    clear:left;
  }
  #id_q::-webkit-input-placeholder {font-size:20px;}
  #id_q:-moz-placeholder {font-size:20px;}
  #id_q::-moz-placeholder {font-size:20px;}
  #id_q:-ms-input-placeholder {font-size:20px;}
  #galeria + .sectionRedesSociales {margin-top:40px;}
}
@media (max-width: 767px) and (min-width: 639px) {
  .topSecuandary .form_search {height:auto;}
  .blockBigTitle {
    padding:14px 0 2px 20px;
  }
  .breadcrumbBIMA + .contentImageDetail {padding-top:0;}
  .secundaryHeader > div {margin-top:-6px;}
}
@media screen and (max-width: 639px) {
  .intro-xs.intro-title {
    margin-top:-27px;
    padding:15px 25px;
  }
  #brand.v2017 .bcnbrand-mobile .bcnbrand-main-container {
    padding-bottom:3px;
  }
  .blockBigTitle {margin:-25px -30px 20px;}
  .topSecuandary {height:175px;}
  .topSecuandary .form_search {
    padding:5px;
  }
  .topSecuandary .form_search button,
  .form_search button {
    top:5px;
    right:5px;
  }
  .form_search button span {
    font-size:28px;
    line-height:1.1;
  }
  .secundaryHeader > div {
    clear:left;
  }
  .sectionGaleries.galeriesTotas {padding:20px;}
  .sectionGaleries.galeriesTotas article ul li .txtC {
    min-height:30px;
    max-width:130px;
  }
  .sectionGaleries h1 {
    text-align:left;
  }
  .galeriesCounts,
  .subTitleGaleries {top:8px;}
  .breadcrumb.breadcrumbBIMA.hidden-sm {
    margin-bottom:0;
    padding-top:15px;
    font-size:16px;
  }
  .breadcrumb.breadcrumbBIMA a {padding-left:25px;}
  .breadcrumb.breadcrumbBIMA .iconDetailTitle {
    font-size:18px;
    margin-top:2px;
  }
  #id_q::-webkit-input-placeholder {font-size:18px;}
  #id_q:-moz-placeholder {font-size:18px;}
  #id_q::-moz-placeholder {font-size:18px;}
  #id_q:-ms-input-placeholder {font-size:18px;}
}

@media (min-width: 1170px) {
  #brand.v2017.bcnbrand-bootstrap .bcnbrand-main {
    width: 100%; }
}

.topSecundaryDept .formulari {
  margin: 0;
  margin-top: 10px;
  margin-bottom: 40px;
}

.topSecundaryDept {
  height:290px;
}
.topSecundaryDept .form_search button {
  top:0;
  right:15px;
}

.topSecundaryDept {
  padding: 24px 30px;
  background-color: #F2F2F2;
  text-align: center;
}

.topSecundaryDept h1 {
  margin: 0;
  margin-bottom: 20px;
  font-size: 40px;
}

.topSecundaryDept .form_search {
  position: relative;
  display: flex !important;

  width: 100%;
  height: auto;
  text-align: center;
  padding:10px;
  background:#fff;
}

.topSecundaryDept .form_search a {
  top: 0px;
  right: 0px;
}

.topSecundaryDeptMultipleElements .form_search button {
  top:8px;
  right:15px;
}

.topSecundaryDeptMultipleElements {
  padding: 24px 30px 50px 30px;
  background-color: #F2F2F2;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .topSecundaryDeptMultipleElements {
    padding: 24px 30px 28px 30px;
    background-color: #F2F2F2;
    text-align: center;
  }
  .blocktitleSearchDept {
    font: normal normal 600 22px/36px 'Source Sans 3' !important;
  }
  .blocktitleSearchDept a{
    font: normal normal 600 16px/56px 'Source Sans 3' !important;
  }
  .Dept{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .topSecundaryDeptMultipleElements .form_search {
    height: 44px !important;
  }
  #id_q {
    height: 44px !important;
    font: italic normal normal 18px/23px 'Source Sans 3' !important;
    letter-spacing: 0px;
    color: #000000;
  }
}
#id_q {
  font: normal normal normal 23px/87px 'Source Sans 3';
  letter-spacing: -0.57px;
  color: #000000;
}
.topSecundaryDeptMultipleElements h1 {
  margin: 0;
  margin-bottom: 20px;
  font-size: 40px;
}

.topSecundaryDeptMultipleElements .form_search {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: auto;
  text-align: center;
  padding:10px;
  background:#fff;
}

.topSecundaryDeptMultipleElements .form_search a {
  top: 0px;
  right: 0px;
}

.blocktitleSearchDept {
  max-width:1140px;
  display: block;
  margin-right: auto;
  margin-left: auto;
  text-align:left;
  margin-bottom: 10px;
  font: normal normal 600 33px/56px 'Source Sans 3';
}

.Dept {
  margin-top: 50px;
  font-size: 21px;
  text-decoration: underline;
  font-weight: normal;
  margin-bottom: 0;
}

.blockBigTitleDept {
  background:#f2f2f2;
  color:#424242;
  max-height:inherit;
}
.blockBigTitleDept {
  margin:-25px -30px 10px;
  padding:14px 0 2px 0;
  background:#fff;
}
.blockBigTitleDept a .titlePage {
  font: normal normal 600 41px/56px 'Source Sans 3';
    color:#000;
}
.blockBigTitleDept a,
.blockBigTitleDept a .bcnTitle {color:#db2828;}
.blocktitleSearchDept a,
.blocktitleSearchDept a .bcnTitle {color:#db2828;font: normal normal normal 21px/56px 'Source Sans 3';}


@media screen and (max-width: 1199px) {
  .topSecundaryDept .formulari {
    padding: 0;
  }
}

@media screen and (max-width: 767px) and (min-width: 640px) {
  .topSecundaryDept .form_search {
    height: 70px;
    padding: 15px;
    padding-top: 5px;
  }
  .topSecundaryDept .form_search button {
    top: 5px;
    right: 10px;
  }
  .topSecundaryDept .form_search a {
    right: 15px;
    top: 5px;
    width: 70px;
    height: 70px;
  }
  .topSecundaryDept {
    padding: 24px 0;
  }
}

@media screen and (max-width: 639px) and (min-width: 480px) {
  .topSecundaryDept {
    padding: 30px 20px;
  }
  .topSecundaryDept .form_search {
    padding: 0;
  }
}

@media screen and (max-width: 479px) {
  .topSecundaryDept {
    height: auto;
    padding: 20px;
  }
  .topSecundaryDept .form_search {
    padding: 0;
  }
  #id_q {
    height: 33px;
  }
}
@media screen and (max-width: 1200px) {
  #footer .content a img {
    margin-left: 20px;
  }
}

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900');
/* @import url('https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css'); */
/* @file header.css */

.block-sitebranding {
  background: #fff;
  transition: all .3s ease;
}

@media screen and (max-width: 1199px) {
  .block-sitebranding {
    position: relative;
    z-index: 99999;
  }
}

@media screen and (max-width: 1199px) {
  .block-sitebranding > .container {
    max-width: 100%;
    margin: 0;
  }
}

.block-sitebranding .ajuntament-branding-logo {
  max-height: 0;
  overflow: hidden;
  transition: all .4s ease;
  text-align: left;
}

.block-sitebranding .ajuntament-branding-logo img {
  transform: translateY(-30px);
  height: 18px;
  width: auto;
}

.block-sitebranding .ajuntament-branding-logo.show {
  max-height: 22px;
}

.block-sitebranding .ajuntament-branding-logo.show img {
  transform: translateY(0);
  transition: all 0.4s ease-in-out;
  vertical-align: top;
}

.block-sitebranding .ajuntament-branding-header {
  gap: 4px;
  min-height: 54px;
  padding: 4px 0 12px;
  transition: max-width 0.3s ease, height .3s ease, padding-bottom .3s ease;
}

@media screen and (min-width: 576px) {
  .block-sitebranding .ajuntament-branding-header {
    padding: 6px 0 14px;
  }
}
@media screen and (max-width: 576px) {
  .block-sitebranding .ajuntament-branding-header {
    .elMeuContainer{
      padding: 6px;
      .username{
        display: none;
      }
      span{
        margin-right: 0 !important;
      }
    }
  }
}

@media screen and (min-width: 576px) {
  .block-sitebranding .ajuntament-branding-header.title-large {
    padding: 3px 0 11px;
  }
}

@media screen and (max-width: 768px) {
  .block-sitebranding .ajuntament-branding-header {
     .elMeuContainer{
      padding: 6px;
      .username{
        display: none;
      }
      span{
        margin-right: 0 !important;
      }
    }
  }
}
@media screen and (max-width: 959px) {
  .block-sitebranding .ajuntament-branding-header {
     .elMeuContainer{
      padding: 6px;
      .username{
        display: none;
      }
      span{
        margin-right: 0 !important;
      }
    }
  }
}

@media screen and (min-width: 768px) {
  .block-sitebranding .ajuntament-branding-header.title-large {
    padding: 1px 0 9px;
  }
}

@media screen and (min-width: 1200px) {
  .block-sitebranding .ajuntament-branding-header {
    transition: all .3s ease;
    min-height: 56px;
    padding: 0 0 24px;
  }
}

@media screen and (min-width: 1200px) {
  .block-sitebranding .ajuntament-branding-header.title-large {
    padding: 0 0 24px;
  }
}

@media screen and (min-width: 1200px) {
  .block-sitebranding .ajuntament-branding-header:has(.ajuntament-branding-slogan) {
    min-height: 74px;
  }
}
@media screen and (min-width: 1200px) {
  .block-sitebranding .ajuntament-branding-header {
    justify-content: space-between;
    align-items: flex-end !important;
  }
}

.block-sitebranding .ajuntament-branding-header .ajuntament-menu-toggle:focus-visible {
  outline: 1.5px solid #000 !important;
  color: #000;
}

@media screen and (min-width: 1200px) {
  .block-sitebranding .ajuntament-branding-header .ajuntament-menu-toggle:focus-visible {
    outline: 1.5px solid #DB2828 !important;
    color: #DB2828;
  }
}

.block-sitebranding .ajuntament-menu-toggle {
  width: 38px;
  height: 38px;
  color: #4B4B52;
  background-color: #fff;
  border: none;
  cursor: pointer;
  position: relative;
  outline: none;
  flex-shrink: 0;
  svg {
     margin-bottom: 0;
     margin-top: 0;

}
}

.block-sitebranding .ajuntament-menu-toggle:focus-visible {
  outline: 1.5px solid #000;
  color: #000;
}

.block-sitebranding .ajuntament-menu-toggle svg {
  width: 26px;
  height: 26px;
}

@media screen and (min-width: 576px) {
  .block-sitebranding .ajuntament-menu-toggle {
    width: 46px;
    height: 46px;
  }
}

@media screen and (min-width: 576px) {
  .block-sitebranding .ajuntament-menu-toggle svg {
    width: 34px;
    height: 34px;
  }
}

.block-sitebranding .ajuntament-menu-toggle .menu-svg-container {
  position: relative;
}

.block-sitebranding .ajuntament-menu-toggle .menu-svg-container .icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  transition: opacity 0.4s ease;
  outline: none;
}

.block-sitebranding .ajuntament-menu-toggle .menu-svg-container .menu {
  opacity: 1;
}

.block-sitebranding .ajuntament-menu-toggle .menu-svg-container .close {
  opacity: 0;
}

.block-sitebranding.ajuntament_menu_open .ajuntament-menu-toggle .menu {
  opacity: 0;
}

.block-sitebranding.ajuntament_menu_open .ajuntament-menu-toggle .close {
  opacity: 1;
}

.block-sitebranding.ajuntament_menu_open .ajuntament-menu-toggle .sr-only {
  margin-left: 19px;
}

.block-sitebranding h1 {
  text-align: left;
  margin: 0;
  margin-bottom: 0;
  color: #000;
  transition: all 0.5s ease;
  font-size: 32px;
  line-height: 32px;
  font-weight: 600;
  font-family: 'Source Sans 3', sans-serif;
}

.block-sitebranding h1:has(+ .ajuntament-branding-slogan) {
  margin-bottom: 2px;
}

@media screen and (max-width: 1199px) {
  .block-sitebranding h1 {
    font-size: 28px;
    line-height: 28px;
    letter-spacing: -0.5px;
  }
}

@media screen and (max-width: 767px) {
  .block-sitebranding h1.title-large {
    font-size: 26px;
    line-height: 26px;
  }
}

@media screen and (max-width: 575px) {
  .block-sitebranding h1 {
    font-size: 22px;
    line-height: 22px;
    letter-spacing: -0.25px;
  }
}

@media screen and (max-width: 575px) {
  .block-sitebranding h1.title-large {
    font-size: 15px;
    line-height: 15px;
  }
}

.block-sitebranding h1 a {
  color: #000;
  text-decoration: none;
}

.block-sitebranding h1 a:hover {
  text-decoration: underline;
  color: #000 !important;
}

.block-sitebranding h1 a:focus-visible {
  outline: 1.5px solid #000;
  color: #000;
}

.block-sitebranding h1 img {
  max-height: 54px;
  width: auto;
  height: auto;
  transition: all .3s ease;
}

@media screen and (max-width: 1199px) {
  .block-sitebranding h1 img {
    max-height: 40px;
  }
}

@media screen and (max-width: 575px) {
  .block-sitebranding h1 img {
    max-height: 36px;
  }
}

.block-sitebranding h1 img.sticky {
  display: none;
}

.block-sitebranding .ajuntament-branding-slogan {
  max-height: 0;
  overflow: hidden;
  display: flex;
  font-size: 14px;
  line-height: 14px;
  color: #696973;
  padding-left: 2px;
  margin-bottom: 0;
  transition: all .3s ease;
}

@media screen and (min-width: 1200px) {
  .block-sitebranding .ajuntament-branding-slogan {
    font-size: 16px;
    line-height: 16px;
  }
}

.block-sitebranding .ajuntament-branding-slogan:focus-visible {
  outline: 1.5px solid #4B4B52;
}

.block-sitebranding .ajuntament-branding-slogan:focus-visible .sr-only {
  text-decoration: none;
  z-index: 3;
}

.block-sitebranding .ajuntament-branding-slogan.show {
  max-height: fit-content;
}

#header.sticky {
  position: sticky !important;
  top: 0;
  left: 0;
  z-index: 9999;
  overflow-anchor: none;
}

@media screen and (max-width: 1199px) {
  #header.sticky .region-header {
    height: 80px;
    top: 0;
  }
}

@media screen and (max-width: 1199px) and (max-width: 575px) {
  #header.sticky .region-header {
    height: 66px;
  }
}

@media screen and (max-width: 1199px) {
  #header.sticky .region-header .block-sitebranding {
    position: fixed;
    top: 0;
    width: 100%;
    left: 0;
  }
}

@media screen and (max-width: 1199px) {
  #header.sticky .region-header nav {
    position: fixed;
    z-index: 9999;
    top: 80px;
    left: 0;
  }
}

@media screen and (max-width: 1199px) and (max-width: 575px) {
  #header.sticky .region-header nav {
    top: 66px;
  }
}

#header.sticky .block-sitebranding {
  padding: 4px 0 8px;
}

@media screen and (min-width: 1200px) {
  #header.sticky .block-sitebranding {
    padding: 8px 0 12px;
  }
}

#header.sticky .block-sitebranding .ajuntament-branding-logo {
  transition: all .4s ease;
  padding: 0 0 2px;
}

@media screen and (min-width: 576px) {
  #header.sticky .block-sitebranding .ajuntament-branding-logo {
    padding: 0 0 4px;
  }
}

@media screen and (min-width: 1200px) {
  #header.sticky .block-sitebranding .ajuntament-branding-logo {
    padding: 0 2px 4px;
  }
}

@media screen and (max-width: 575px) {
  #header.sticky .block-sitebranding .ajuntament-branding-logo img {
    height: 14px;
  }
}

#header.sticky .block-sitebranding .ajuntament-branding-header {
  min-height: 38px;
  padding: 0;
}

@media screen and (min-width: 576px) {
  #header.sticky .block-sitebranding .ajuntament-branding-header {
    min-height: 46px;
    padding: 0;
  }
}

@media screen and (min-width: 1200px) {
  #header.sticky .block-sitebranding .ajuntament-branding-header {
    min-height: 24px;
  }
}

#header.sticky .block-sitebranding h1 {
  font-size: 24px;
  line-height: 24px;
  letter-spacing: -0.1px;
  margin-bottom: 0;
}

@media screen and (max-width: 1199px) {
  #header.sticky .block-sitebranding h1 {
    font-size: 22px;
    line-height: 22px;
  }
}

@media screen and (max-width: 767px) {
  #header.sticky .block-sitebranding h1.title-large {
    font-size: 20px;
    line-height: 20px;
  }
}

@media screen and (max-width: 575px) {
  #header.sticky .block-sitebranding h1 {
    font-size: 18px;
    line-height: 18px;
    letter-spacing: -0.25px;
  }
}

@media screen and (max-width: 575px) {
  #header.sticky .block-sitebranding h1.title-large {
    font-size: 12px;
    line-height: 12px;
  }
}

#header.sticky .block-sitebranding h1 img {
  max-height: 26px;
}

#header.sticky .block-sitebranding h1 img.sticky {
  display: block;
}

#header.sticky .block-sitebranding h1 img.sticky + img {
  display: none;
}

@media screen and (min-width: 768px) {
  #header.sticky .block-sitebranding .ajuntament-branding-slogan {
    font-size: 12px;
    line-height: 15px;
  }
}

@media screen and (max-width: 767px) {
  #header.sticky .block-sitebranding .ajuntament-branding-slogan-mobile {
    overflow: hidden;
  }
}

#header .region-header {
  position: relative;
  z-index: 1;
  -webkit-box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.1019607843);
  -moz-box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.1019607843);
  box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.1019607843);
}

a:focus-visible .sr-only,
button:focus-visible .sr-only,
div:focus-visible .sr-only,
span:focus-visible .sr-only {
  width: auto;
  width: -moz-max-content;
  width: -webkit-max-content;
  width: -o-max-content;
  width: -ms-max-content;
  height: auto;
  font-family: "Source Sans 3", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  background: #696973;
  border-radius: 4px;
  color: #fff !important;
  clip: auto;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%) translateY(100%);
  z-index: 3;
  padding: 3px 10px 4px;
}

/* @file ajuntament-menu.css */

#ajuntament_menu ul {
  list-style: none;
}

#ajuntament_menu a[target=_blank] span.bcn-icon,
#ajuntament_menu span[target=_blank] span.bcn-icon {
  font-size: 14px;
  margin-left: 2px;
  transition: color 0.3s;
}

#ajuntament_menu a[target=_blank] span.bcn-icon:before,
#ajuntament_menu span[target=_blank] span.bcn-icon:before {
  display: inline-block;
}

#ajuntament_menu a.sr-only,
#ajuntament_menu span.sr-only {
  white-space: pre;
}

@media screen and (min-width: 1200px) {
  #ajuntament_menu {
    position: relative;
    background: #fff;
    border-top: 1px solid #E5E5E5;
    min-height: 60px;
    z-index: 2;
  }

  #ajuntament_menu a {
    text-decoration: none;
  }

  #ajuntament_menu>div {
    min-height: 60px;
    position: relative;
    top: -1px;
  }

  #ajuntament_menu a,
  #ajuntament_menu span {
    color: #000;
    cursor: pointer;
  }

  #ajuntament_menu a:hover,
  #ajuntament_menu span:hover {
    text-decoration: none;
    color: #DB2828;
    transition: color 0.3s;
  }

  #ajuntament_menu a:focus-visible,
  #ajuntament_menu span:focus-visible {
    outline: 1.5px solid #DB2828;
    outline-offset: 1px;
  }

  #ajuntament_menu a:focus-visible .sr-only,
  #ajuntament_menu span:focus-visible .sr-only {
    text-transform: none;
  }

  #ajuntament_menu a.focusable,
  #ajuntament_menu span.focusable {
    display: block;
    left: 50%;
    width: 100vw;
    background: #fff;
    padding-left: 7px;
    transform: translateX(-50%);
    position: relative !important;
    color: #DB2828;
  }

  #ajuntament_menu a.ajuntament_menu_active_trail,
  #ajuntament_menu span.ajuntament_menu_active_trail {
    color: #DB2828;
  }

  #ajuntament_menu .ajuntament_menu_first_tree {
    text-align: center;
    min-height: 60px;
    -webkit-justify-content: left;
    justify-content: left;
    padding: 0 15px;
    gap: 30px;
    flex-wrap: nowrap;
  }

  #ajuntament_menu .ajuntament_menu_first_tree:has(> li:nth-child(4)) {
    -webkit-justify-content: space-between;
    justify-content: space-between;
  }

  #ajuntament_menu .ajuntament_menu_first_tree>li {
    flex-grow: 1;
    flex-basis: 0;
  }

  #ajuntament_menu .ajuntament_menu_first_tree>li>a,
  #ajuntament_menu .ajuntament_menu_first_tree>li>span {
    position: relative;
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 500;
    line-height: 17px;
    text-align: center;
    text-decoration: none !important;
    color: #000;
    z-index: 2;
    transition: color 0.3s;
  }

  #ajuntament_menu .ajuntament_menu_first_tree>li>a:hover,
  #ajuntament_menu .ajuntament_menu_first_tree>li>span:hover {
    color: #DB2828;
    transition: color 0.3s;
  }

  #ajuntament_menu .ajuntament_menu_first_tree>li>a:hover span,
  #ajuntament_menu .ajuntament_menu_first_tree>li>span:hover span {
    color: #DB2828;
  }

  #ajuntament_menu .ajuntament_menu_first_tree>li>a:focus-visible,
  #ajuntament_menu .ajuntament_menu_first_tree>li>span:focus-visible {
    outline: 1.5px solid #000;
    color: #DB2828;
  }

  #ajuntament_menu .ajuntament_menu_first_tree>li>a.ajuntament_menu_in_active_trail,
  #ajuntament_menu .ajuntament_menu_first_tree>li>span.ajuntament_menu_in_active_trail {
    -webkit-box-shadow: inset 0 -5px 0 0 #DB2828;
    -moz-box-shadow: inset 0 -5px 0 0 #DB2828;
    box-shadow: inset 0 -5px 0 0 #DB2828;
  }

  #ajuntament_menu .ajuntament_menu_first_tree>li>a.ajuntament_menu_lowlight,
  #ajuntament_menu .ajuntament_menu_first_tree>li>span.ajuntament_menu_lowlight {
    -webkit-box-shadow: inset 0 -5px 0 0 rgba(230, 251, 252, 0.4);
    -moz-box-shadow: inset 0 -5px 0 0 rgba(230, 251, 252, 0.4);
    box-shadow: inset 0 -5px 0 0 rgba(230, 251, 252, 0.4);
  }

  #ajuntament_menu .ajuntament_menu_first_tree>li>a[target="_blank"] {
    white-space: nowrap;
  }

  #ajuntament_menu .ajuntament_menu_first_depth_branch {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    height: auto !important;
    max-width: max-content;
  }

  #ajuntament_menu .ajuntament_menu_first_depth_branch>[aria-haspopup=true]:after {
    content: "";
    font-family: "icoajuntament-v2";
    font-size: 12px;
    vertical-align: middle;
    margin-left: 4px;
    transition: transform ease 0.4s;
  }

  #ajuntament_menu .ajuntament_menu_first_depth_branch>[aria-haspopup=true][aria-expanded=true] {
    -webkit-box-shadow: inset 0 -4px 0 0 #DB2828;
    -moz-box-shadow: inset 0 -4px 0 0 #DB2828;
    box-shadow: inset 0 -4px 0 0 #DB2828;
  }

  #ajuntament_menu .ajuntament_menu_first_depth_branch>[aria-haspopup=true][aria-expanded=true]:after {
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }

  #ajuntament_menu .ajuntament_menu_first_depth_branch:nth-last-child(2) .ajuntament_menu_dropdown[data-cols="2"],
  #ajuntament_menu .ajuntament_menu_first_depth_branch:last-child .ajuntament_menu_dropdown {
    left: inherit;
    right: 0;
  }

  #ajuntament_menu .ajuntament_menu_second_tree {
    padding: 20px 16px 24px;
  }

  #ajuntament_menu .ajuntament_menu_second_tree:nth-child(odd) {
    background: #F7F7F7;
  }

  #ajuntament_menu .ajuntament_menu_second_tree:nth-child(even) {
    background: #F7F7F7;
  }

  #ajuntament_menu .ajuntament_menu_second_tree>li>a,
  #ajuntament_menu .ajuntament_menu_second_tree>li>span {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    margin-bottom: 8px;
    transition: color 0.3s;
  }

  #ajuntament_menu .ajuntament_menu_second_tree>li>a:last-child,
  #ajuntament_menu .ajuntament_menu_second_tree>li>span:last-child {
    margin-bottom: 0;
  }

  #ajuntament_menu .ajuntament_menu_second_tree>li>span {
    font-style: italic;
    opacity: 60%;
  }

  #ajuntament_menu .ajuntament_menu_second_tree>li>span:hover {
    color: #000;
  }

  #ajuntament_menu .ajuntament_menu_second_tree>li>span:focus-visible {
    color: #DB2828;
    outline: 1.5px solid #DB2828 !important;
    outline-offset: 0 !important;
    opacity: 1;
  }

  #ajuntament_menu .ajuntament_menu_second_depth_branch {
    margin-bottom: 16px;
    text-align: left;
  }

  #ajuntament_menu .ajuntament_menu_second_depth_branch:last-child {
    margin-bottom: 0;
  }

  #ajuntament_menu .ajuntament_menu_second_depth_branch a.ajuntament_menu_active_trail,
  #ajuntament_menu .ajuntament_menu_second_depth_branch span.ajuntament_menu_active_trail {
    margin-left: -5px;
  }

  #ajuntament_menu .ajuntament_menu_second_depth_branch a.ajuntament_menu_active_trail:before,
  #ajuntament_menu .ajuntament_menu_second_depth_branch span.ajuntament_menu_active_trail:before {
    content: "";
    width: 6px;
    height: 2px;
    background-color: #DB2828;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    left: -5px;
  }

  #ajuntament_menu .ajuntament_menu_second_depth_branch a.ajuntament_menu_active_trail span.bcn-icon,
  #ajuntament_menu .ajuntament_menu_second_depth_branch span.ajuntament_menu_active_trail span.bcn-icon {
    color: #DB2828;
    transition: color 0.3s;
  }

  #ajuntament_menu .ajuntament_menu_third_tree {
    padding-left: 10px;
  }

  #ajuntament_menu .ajuntament_menu_third_tree>li>a,
  #ajuntament_menu .ajuntament_menu_third_tree>li>span {
    display: inline-block;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0.1px;
    margin-bottom: 10px;
    transition: color 0.3s;
  }

  #ajuntament_menu .ajuntament_menu_third_tree a.ajuntament_menu_active_trail,
  #ajuntament_menu .ajuntament_menu_third_tree span.ajuntament_menu_active_trail {
    margin-left: -5px;
  }

  #ajuntament_menu .ajuntament_menu_third_tree a.ajuntament_menu_active_trail:before,
  #ajuntament_menu .ajuntament_menu_third_tree span.ajuntament_menu_active_trail:before {
    content: "";
    width: 6px;
    height: 2px;
    background-color: #DB2828;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    left: -5px;
  }

  #ajuntament_menu .ajuntament_menu_third_branch:last-child a,
  #ajuntament_menu .ajuntament_menu_third_branch:last-child span {
    margin-bottom: 0;
  }

  #ajuntament_menu .ajuntament_menu_dropdown {
    position: absolute;
    top: 100% !important;
    left: 0;
    transform: scaleY(0);
    transform-origin: top;
    display: flex;
    width: 100%;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border: none;
    -webkit-box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.1019607843);
    -moz-box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.1019607843);
    box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.1019607843);
    transition: transform 125ms ease-out;
    overflow: hidden;
    z-index: 1000;
    padding: 0;
    margin-top: 0;
  }
}

@media screen and (min-width: 1200px) {
  #ajuntament_menu .ajuntament_menu_dropdown[data-cols="1"] {
    width: 285px;
  }

  #ajuntament_menu .ajuntament_menu_dropdown[data-cols="1"] .ajuntament_menu_second_tree {
    width: 100%;
  }

  #ajuntament_menu .ajuntament_menu_dropdown[data-cols="2"] {
    width: 570px;
  }

  #ajuntament_menu .ajuntament_menu_dropdown[data-cols="2"] .ajuntament_menu_second_tree {
    width: 50%;
  }

  #ajuntament_menu .ajuntament_menu_dropdown[data-cols="3"] {
    width: 855px;
  }

  #ajuntament_menu .ajuntament_menu_dropdown[data-cols="3"] .ajuntament_menu_second_tree {
    width: 33%;
  }

  #ajuntament_menu .ajuntament_menu_dropdown[data-cols="4"] {
    width: 1140px;
  }

  #ajuntament_menu .ajuntament_menu_dropdown[data-cols="4"] .ajuntament_menu_second_tree {
    width: 25%;
  }
}

@media screen and (min-width: 1200px) {
  #ajuntament_menu .ajuntament_menu_dropdown.ajuntament_menu_open {
    transform: scaleY(1);
  }
}

@media screen and (min-width: 1200px) {
  #ajuntament_menu .ajuntament_menu_dropdown a:hover {
    color: #DB2828;
    text-decoration: none;
    transition: color 0.3s;
  }

  #ajuntament_menu .ajuntament_menu_dropdown a:hover span {
    color: #DB2828;
  }

  #ajuntament_menu .ajuntament_menu_dropdown a:focus-visible {
    outline: 1.5px solid #DB2828 !important;
    color: #DB2828;
    text-decoration: none;
  }

  #ajuntament_menu .ajuntament_menu_dropdown a:focus-visible span {
    color: #DB2828;
  }
}

@media screen and (min-width: 1200px) {
  #ajuntament_menu .ajuntament_menu_dropdown span:hover {
    cursor: unset;
  }

  #ajuntament_menu .ajuntament_menu_dropdown span:focus-visible {
    outline: 1.5px solid #000;
    outline-offset: -1px;
  }
}

@media screen and (min-width: 1200px) {
  #ajuntament_menu .ajuntament_menu_dropdown .sub-menu {
    visibility: hidden;
    /* hides sub-menu */
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    -moz-transform: translate(0, -20px);
    -o-transform: translate(0, -20px);
    -ms-transform: translate(0, -20px);
    -webkit-transform: translate(0, -20px);
    transform: translate(0, -20px);
    -webkit-transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
    -moz-transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
    -ms-transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
    -o-transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
    transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
    z-index: -1;
  }
}

@media screen and (min-width: 1200px) {

  #ajuntament_menu .ajuntament_menu_dropdown .sub-menu-parent:focus-visible .sub-menu,
  #ajuntament_menu .ajuntament_menu_dropdown .sub-menu-parent:focus-within .sub-menu,
  #ajuntament_menu .ajuntament_menu_dropdown .sub-menu-parent:hover .sub-menu {
    visibility: visible;
    /* shows sub-menu */
    opacity: 1;
    z-index: 1;
    transform: translateY(0%);
  }

  #ajuntament_menu .ajuntament_menu_dropdown .sub-menu-parent:hover .sub-menu {
    transition-delay: 0s, 0s, 0.3s;
    /* this removes the transition delay so the menu will be visible while the other styles transition */
  }
}

@media screen and (max-width: 1199px) {
  :root {
    --brand: 66px;
    --barra: 0px;
    --avisos: 0px;
  }

  #header.sticky {
    --brand: 80px;
  }

  #brand~div #header:not(.sticky) {
    --barra: 54px;
  }

  #brand:has(div[id=avisos][data-visible="1"])~div #header:not(.sticky) {
    --avisos: 38px;
  }

  #brand:has(div[id=avisos][data-visible="2"])~div #header:not(.sticky) {
    --avisos: 66px;
  }
}

@media screen and (max-width: 575px) {
  :root {
    --brand: 54px;
  }

  #header.sticky {
    --brand: 66px;
  }

  #brand~div #header:not(.sticky) {
    --barra: 47px;
  }
}
@media screen and (min-width: 1199px) {
  .ajuntament_menu_main{
    display: none;
  }
}
@media screen and (max-width: 1199px) {
  #ajuntament_menu {
    position: absolute;
    left: 0;
    height: 100vh;
    z-index: 9999;
    width: 304px;
    background: #F7F7F7;
    -webkit-box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.1019607843);
    -moz-box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.1019607843);
    box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.1019607843);
    -moz-transform: translate(-100%, 0);
    -o-transform: translate(-100%, 0);
    -ms-transform: translate(-100%, 0);
    -webkit-transform: translate(-100%, 0);
    transform: translate(-100%, 0);
    transition: transform ease 0.4s;
    padding-top: 16px;
  }

  #ajuntament_menu:not(.ajuntament_menu_dropdown_open) {
    overflow-y: auto;
  }

  #ajuntament_menu>.container {
    padding: 0;
  }

  #ajuntament_menu [role=menuitem].ajuntament_menu_in_active_trail {
    -webkit-box-shadow: inset 2px 0 0 0 #DB2828;
    -moz-box-shadow: inset 2px 0 0 0 #DB2828;
    box-shadow: inset 2px 0 0 0 #DB2828;
  }

  #ajuntament_menu.ajuntament_menu_open {
    -moz-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }

  #ajuntament_menu ul#ajuntament_menu_main_mobile .ajuntament_menu_dropdown.ajuntament_menu_open:not(.ajuntament_menu_third_tree_open),
  #ajuntament_menu ul#ajuntament_menu_main_mobile .ajuntament_menu_third_tree.ajuntament_menu_open:not(.ajuntament_menu_third_tree_open) {
    overflow-y: auto;
  }

  #ajuntament_menu .ajuntament-menu-inici {
    font-weight: 600 !important;
  }

  #ajuntament_menu a,
  #ajuntament_menu span:not(.sr-only) {
    position: relative;
    display: block;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0.4px;
    color: #000;
    padding: 10px 16px;
    text-align: left;
    font: normal normal normal 16px/20px 'Source Sans 3' !important;
    text-decoration: none;
  }

  #ajuntament_menu a.ajuntament_menu_active_trail,
  #ajuntament_menu span:not(.sr-only).ajuntament_menu_active_trail {
    color: #DB2828;
  }

  #ajuntament_menu a.ajuntament_menu_active_trail:focus-visible,
  #ajuntament_menu span:not(.sr-only).ajuntament_menu_active_trail:focus-visible {
    outline: 1.5px solid #000 !important;
    outline-offset: -1px;
  }

  #ajuntament_menu a[aria-haspopup=true],
  #ajuntament_menu span:not(.sr-only)[aria-haspopup=true] {
    padding: 10px 43px 10px 16px;
  }

  #ajuntament_menu a[aria-haspopup=true]:after,
  #ajuntament_menu span:not(.sr-only)[aria-haspopup=true]:after {
    content: "\e916";
    font-family: "icoajuntament-v2";
    font-size: 12px;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
  }

  #ajuntament_menu a[target=_blank],
  #ajuntament_menu span:not(.sr-only)[target=_blank] {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 4px;
  }

  #ajuntament_menu a[target=_blank] span,
  #ajuntament_menu span:not(.sr-only)[target=_blank] span {
    padding: 0;
  }

  #ajuntament_menu a:hover,
  #ajuntament_menu span:not(.sr-only):hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    cursor: pointer;
  }

  #ajuntament_menu a:focus-visible,
  #ajuntament_menu span:not(.sr-only):focus-visible {
    outline: 1.5px solid #000 !important;
    outline-offset: -1px;
  }

  #ajuntament_menu button.ajuntament-level-back {
    font-size: 16px;
    color: #000;
    border: none;
    background: #F7F7F7;
    padding-left: 16px;
    cursor: pointer;
  }

  #ajuntament_menu button.ajuntament-level-back.d-grid {
    display: grid;
    grid-auto-flow: column;
  }

  #ajuntament_menu .ajuntament_menu_header {
    position: relative;
  }

  #ajuntament_menu .ajuntament_menu_header.d-grid {
    display: grid;
    grid-auto-flow: column;
    align-items: center;
    justify-content: start;
  }

  #ajuntament_menu .ajuntament_menu_header:focus-visible {
    outline: 1.5px solid #000;
    outline-offset: -1px;
  }

  #ajuntament_menu .ajuntament_menu_header a,
  #ajuntament_menu .ajuntament_menu_header span {
    font-weight: 600;
  }

  #ajuntament_menu .ajuntament_menu_header a[target=_blank] span,
  #ajuntament_menu .ajuntament_menu_header span[target=_blank] span {
    float: right;
  }

  #ajuntament_menu .ajuntament_menu_header a[aria-haspopup=true]:after,
  #ajuntament_menu .ajuntament_menu_header span[aria-haspopup=true]:after {
    display: none;
  }

  #ajuntament_menu .ajuntament_menu_header a.ajuntament_menu_active_trail,
  #ajuntament_menu .ajuntament_menu_header span.ajuntament_menu_active_trail {
    color: #000;
  }

  #ajuntament_menu .ajuntament_menu_header button+span {
    pointer-events: none;
    padding: 16px 16px 16px 5px;
  }

  #ajuntament_menu .ajuntament_menu_third_branch a[aria-haspopup=true]:after,
  #ajuntament_menu .ajuntament_menu_third_branch span[aria-haspopup=true]:after {
    content: "";
  }

  #ajuntament_menu .ajuntament_menu_second_tree {
    padding-left: 0;
  }

  #ajuntament_menu .ajuntament_menu_dropdown {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: calc(100vh - var(--brand) - var(--barra) - var(--avisos));
    z-index: 9999;
    background: #F7F7F7;
    -moz-transform: translate(-100%, 0);
    -o-transform: translate(-100%, 0);
    -ms-transform: translate(-100%, 0);
    -webkit-transform: translate(-100%, 0);
    transform: translate(-100%, 0);
    padding: 16px 0 0;
    transition: transform ease 0.4s;
    will-change: transform;
  }

  #ajuntament_menu .ajuntament_menu_dropdown.ajuntament_menu_open {
    -moz-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }

  #ajuntament_menu .ajuntament_menu_third_tree {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 9999;
    background: #F7F7F7;
    -moz-transform: translate(-100%, 0);
    -o-transform: translate(-100%, 0);
    -ms-transform: translate(-100%, 0);
    -webkit-transform: translate(-100%, 0);
    transform: translate(-100%, 0);
    padding: 16px 0 0;
    transition: transform ease 0.4s;
    will-change: transform;
  }

  #ajuntament_menu .ajuntament_menu_third_tree.ajuntament_menu_open {
    -moz-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
}

#ajuntament_menu_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  opacity: 0;
  visibility: hidden;
  z-index: 9998;
  transition: visibility ease 0.4s, opacity ease 0.4s;
}

#ajuntament_menu_overlay.ajuntament_menu_open {
  opacity: 0.7;
  visibility: visible;
}

a:focus-visible .sr-only,
button:focus-visible .sr-only,
div:focus-visible .sr-only,
span:focus-visible .sr-only {
  width: auto;
  width: -moz-max-content;
  width: -webkit-max-content;
  width: -o-max-content;
  width: -ms-max-content;
  height: auto;
  font-family: "Source Sans 3", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  background: #696973;
  border-radius: 4px;
  color: #fff !important;
  clip: auto;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%) translateY(100%);
  z-index: 3;
  padding: 3px 10px 4px;
}

/* @file ajuntament-prefooter.css */

#ajuntament--prefooter {
  font-family: "Source Sans 3", sans-serif;
  border-top: 1px solid #E5E5E5;
  padding: 24px 0;
}

@media screen and (min-width: 768px) {
  #ajuntament--prefooter {
    padding: 32px 0 36px;
  }
}

#ajuntament--prefooter a {
  position: relative;
  text-decoration: none;
}

#ajuntament--prefooter ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

@media screen and (min-width: 768px) {
  #ajuntament--prefooter ul {
    display: block;
    column-count: 3;
  }

  #ajuntament--prefooter ul[data-count="2"] {
    column-count: 2;
  }
}

#ajuntament--prefooter ul li {
  padding-right: 15px;
  margin-bottom: 24px;
}

@media screen and (min-width: 768px) {
  #ajuntament--prefooter ul li:nth-child(odd) {
    break-after: column;
  }

  @supports (-moz-appearance: none) {
    #ajuntament--prefooter ul li {
      break-inside: avoid-column;
    }
  }
}

#ajuntament--prefooter h2 {
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  color: #000;
  margin-bottom: 10px;
  letter-spacing: 0;
}

@media screen and (min-width: 768px) {
  #ajuntament--prefooter h2 {
    font-size: 16px;
    line-height: 22px;
  }
}

#ajuntament--prefooter h2:after {
  content: ":";
}

#ajuntament--prefooter .llistat {
  display: inline;
  column-count: inherit;
}

#ajuntament--prefooter .llistat li,
#ajuntament--prefooter .llistat>p {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 8px;
  margin-left: 0;
  break-after: inherit !important;
  break-inside: inherit !important;
  padding-right: 0;
}

#ajuntament--prefooter .llistat li:last-child,
#ajuntament--prefooter .llistat>p:last-child {
  margin-bottom: 0;
}

#ajuntament--prefooter div.llistat {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 8px;
  margin-left: 0;
  break-after: inherit !important;
  break-inside: inherit !important;
  padding-right: 0;
}

#ajuntament--prefooter span[class^=bcn-icon],
#ajuntament--prefooter span[class^=icobcn] {
  font-size: 16px;
  color: #000;
}

#ajuntament--prefooter .link-destacat {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  text-decoration: underline;
  color: #696973;
  transition: color 0.3s;
}

@media screen and (min-width: 768px) {
  #ajuntament--prefooter .link-destacat {
    font-size: 14px;
    line-height: 18px;
  }
}

#ajuntament--prefooter .link-destacat:hover {
  color: #000;
  transition: color 0.3s;
}

#ajuntament--prefooter .link-destacat:hover span {
  color: #000;
  transition: color 0.3s;
}

#ajuntament--prefooter .link-destacat:focus-visible {
  outline: 1px solid #000;
  color: #000;
}

#ajuntament--prefooter .link-destacat:focus-visible span {
  color: #000;
}

#ajuntament--prefooter .link-destacat span {
  display: inline-block;
  font-size: 9px;
  color: #696973;
  margin-right: 2px;
  transition: color 0.3s;
}

#ajuntament--prefooter p {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: #696973;
  margin-bottom: 10px;
  transition: color 0.3s;
  margin-top: 0;
  padding: 0;
}

#ajuntament--prefooter p:last-child {
  margin-bottom: 0;
}

@media screen and (min-width: 768px) {
  #ajuntament--prefooter p {
    font-size: 14px;
    line-height: 18px;
  }
}

#ajuntament--prefooter p strong {
  display: inline-block;
  font-weight: 600;
  color: #000;
  margin-right: 6px;
}

#ajuntament--prefooter p a {
  text-decoration: underline;
  color: inherit;
}

#ajuntament--prefooter p a:hover {
  color: #000;
  transition: color 0.3s;
}

#ajuntament--prefooter p a:focus-visible {
  outline: 1px solid #000;
  color: #000;
}

#ajuntament--prefooter li.ajuntament-xarxes-socials h2:after,
#ajuntament--prefooter div.ajuntament-xarxes-socials h2:after {
  content: none;
}

#ajuntament--prefooter li.ajuntament-xarxes-socials .llistat,
#ajuntament--prefooter div.ajuntament-xarxes-socials .llistat {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  vertical-align: middle;
  gap: 3px 0;
  break-after: inherit;
}

#ajuntament--prefooter li.ajuntament-xarxes-socials .llistat li,
#ajuntament--prefooter div.ajuntament-xarxes-socials .llistat li {
  margin-bottom: 0;
}

#ajuntament--prefooter li.ajuntament-xarxes-socials .llistat a:not(.btn-prefooter),
#ajuntament--prefooter div.ajuntament-xarxes-socials .llistat a:not(.btn-prefooter) {
  width: 34px;
  height: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #696973;
  border-radius: 20px;
  border: 2px solid transparent;
  transition: background-color 0.3s, border 0.3s;
}

#ajuntament--prefooter li.ajuntament-xarxes-socials .llistat a:not(.btn-prefooter) span:not(.sr-only),
#ajuntament--prefooter div.ajuntament-xarxes-socials .llistat a:not(.btn-prefooter) span:not(.sr-only) {
  font-size: 22px;
  color: inherit;
  transition: color 0.3s;
}

#ajuntament--prefooter li.ajuntament-xarxes-socials .llistat a:not(.btn-prefooter):hover,
#ajuntament--prefooter div.ajuntament-xarxes-socials .llistat a:not(.btn-prefooter):hover {
  text-decoration: none;
  background-color: #E5E5E5;
  transition: background-color 0.3s;
}

#ajuntament--prefooter li.ajuntament-xarxes-socials .llistat a:not(.btn-prefooter):hover span:not(.sr-only),
#ajuntament--prefooter div.ajuntament-xarxes-socials .llistat a:not(.btn-prefooter):hover span:not(.sr-only) {
  color: #000;
  transition: color 0.3s;
}

#ajuntament--prefooter li.ajuntament-xarxes-socials .llistat a:not(.btn-prefooter):focus-visible,
#ajuntament--prefooter div.ajuntament-xarxes-socials .llistat a:not(.btn-prefooter):focus-visible {
  outline: none;
  border: 2px solid #000;
}

#ajuntament--prefooter li.ajuntament-xarxes-socials .llistat a:not(.btn-prefooter):focus-visible span:not(.sr-only),
#ajuntament--prefooter div.ajuntament-xarxes-socials .llistat a:not(.btn-prefooter):focus-visible span:not(.sr-only) {
  color: #000;
}

#ajuntament--prefooter li.ajuntament-xarxes-socials .llistat a.btn-prefooter,
#ajuntament--prefooter div.ajuntament-xarxes-socials .llistat a.btn-prefooter {
  padding: 4px 8px;
  margin-left: 8px;
}

#ajuntament--prefooter .btn-prefooter {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 16px;
  color: #000;
  border: 2px solid #87878F;
  border-radius: 30px;
  padding: 8px 16px 9px;
  transition: border 0.3s, background-color 0.3s;
}

#ajuntament--prefooter .btn-prefooter:hover {
  border: 2px solid #E5E5E5;
  background-color: #E5E5E5;
  transition: background-color 0.3s, border 0.3s;
}

#ajuntament--prefooter .btn-prefooter:focus {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

#ajuntament--prefooter .btn-prefooter:focus-visible {
  background-color: #E5E5E5;
  border: 2px solid #E5E5E5;
  outline: 2px solid #000;
  outline-offset: 2px;
}

a:focus-visible .sr-only,
button:focus-visible .sr-only,
div:focus-visible .sr-only,
span:focus-visible .sr-only {
  width: auto;
  width: -moz-max-content;
  width: -webkit-max-content;
  width: -o-max-content;
  width: -ms-max-content;
  height: auto;
  font-family: "Source Sans 3", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  background: #696973;
  border-radius: 4px;
  color: #fff !important;
  clip: auto;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%) translateY(100%);
  z-index: 3;
  padding: 3px 10px 4px;
}
/* @file ajuntament-footer.css */

#footer--ajuntament {
  background-color: #FF2828;
  font-family: 'Source Sans 3', sans-serif;
}

#footer--ajuntament p {
  margin-top: 0;
}

#footer--ajuntament ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer--ajuntament #menu-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  padding: 16px 0;
}

@media screen and (max-width: 767px) {
  #footer--ajuntament #menu-footer {
    flex-direction: column;
    gap: 16px;
    padding-bottom: 20px;
  }
}

#footer--ajuntament #menu-footer ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 4px 8px;
  margin-left: auto;
}

@media screen and (max-width: 767px) {
  #footer--ajuntament #menu-footer ul {
    justify-content: center;
    margin-left: 0;
  }
}

#footer--ajuntament #menu-footer ul li {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

#footer--ajuntament #menu-footer ul li:not(:first-child):before {
  content: "";
  background-color: #b31c1c;
  width: 4px;
  height: 4px;
  border-radius: 10px;
  margin-right: 8px;
}

#footer--ajuntament #menu-footer a,
#footer--ajuntament #menu-footer span {
  font-size: 14px;
  color: #000;
  transition: color 0.3s;
  text-decoration: none;
  cursor: pointer;
}
#footer--ajuntament #menu-footer a:hover,
#footer--ajuntament #menu-footer span:hover {
  text-decoration: underline;
  color: #000 !important;
}
#footer--ajuntament #menu-footer a:focus,
#footer--ajuntament #menu-footer span:focus {
  text-decoration: underline;
  color: #000 !important;
}

#footer--ajuntament #menu-footer a span:not(.sr-only) {
  display: inline-block;
  position: relative;
  top: 1px;
  transition: color 0.3s;
}

#footer--ajuntament #menu-footer a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  color: black !important;
}

#footer--ajuntament #menu-footer a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  outline: 1px solid #000;
}

#footer--ajuntament #menu-footer img {
  width: auto;
  height: auto;
  padding-bottom: 12px;
}

@media screen and (max-width: 767px) {
  #footer--ajuntament #menu-footer img {
    width: 120px;
    padding-bottom: 0;
  }
}

a:focus-visible .sr-only,
button:focus-visible .sr-only,
div:focus-visible .sr-only,
span:focus-visible .sr-only {
  width: auto;
  width: -moz-max-content;
  width: -webkit-max-content;
  width: -o-max-content;
  width: -ms-max-content;
  height: auto;
  font-family: "Source Sans 3", sans-serif;
  font-size: 14px !important;
  font-weight: 400;
  line-height: 1.2;
  background: #696973;
  border-radius: 4px;
  color: #fff !important;
  clip: auto;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%) translateY(100%);
  z-index: 3;
  padding: 3px 10px 4px;
}
.galeriesItem a:focus-visible .sr-only {
  left: 0% !important;
  transform: translateX(-20px) translateY(100%) !important;
}