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

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

.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 {
  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;
  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;
}
