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