img {
  max-width: 100%;
}
.it-footer-main .it-brand-wrapper a .icon {
  object-fit: contain;
}
.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
}
.pagination > li {
  display: inline-block;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span {
  margin-left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.pagination > .disabled > a,
.pagination > .disabled > a:focus,
.pagination > .disabled > a:hover,
.pagination > .disabled > span,
.pagination > .disabled > span:focus,
.pagination > .disabled > span:hover {
  color: #777;
  cursor: not-allowed;
  background-color: #fff;
  border-color: #ddd;
}
.pagination > li > a,
.pagination > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #0564cd;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
  border-top-color: rgb(221, 221, 221);
  border-right-color: rgb(221, 221, 221);
  border-bottom-color: rgb(221, 221, 221);
  border-left-color: rgb(221, 221, 221);
}
.pagination a:hover {
  background: #0564cd;
  color: #fff;
}
.pagination .active a {
  background: #0564cd;
  color: #fff;
}
.card .card-body .category-top .data:before {
  content: "-";
}

.u-main-black {
  word-break: break-word;
}

.flag-icon {
  width: 31px;
  height: 27px;
}
.evidence-section .section-argomenti {
  background-image: url("/etrasparenza/grafica/kit2022/evidenza-header.png");
  background-repeat: no-repeat;
}

.galleria-immagini .immagine img {
  max-width: 100%;
}
.img-responsive-wrapper .img-responsive .img-wrapper a {
  width: 100%;
  height: 100%;
}
.it-header-center-wrapper
  .it-header-center-content-wrapper
  .it-brand-wrapper
  a
  .icon {
  object-fit: contain;
}

[x-cloak] {
  display: none !important;
}

.cmp-contacts a {
  color: unset;
}
.cmp-contacts a:hover {
  color: unset;
}
.card-bg-blue {
  background-color: #007a52;
}

/* Argomenti evidenza */
.argomenti-evidenza .wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.argomenti-evidenza a {
  text-decoration: none;
  width: 100%;
}
.argomenti-evidenza .wrapper .box {
  position: relative;
}
.argomenti-evidenza .wrapper .box .overlay {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
}
.argomenti-evidenza .wrapper .box .overlay h3 {
  color: #fff;
  text-decoration: none;
  text-shadow: 0 4px 0.5rem rgba(0, 0, 0, 0.1);
}

.argomenti-evidenza .wrapper .box .sfondo {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
}
.argomenti-evidenza .wrapper .box-noimg {
  background: #fff;
  box-shadow: 0 4px 1rem rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
}
/* fine Argomenti evidenza */

/* feed RSS */
.feed-rss .wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.feed-rss .wrapper .box {
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}
.feed-rss .wrapper .box .icon {
  font-size: 2rem;
}
/* fine feed RSS */

/* Pulsanti prenotazione servizio */
.sw-theme-arrows > .nav .nav-link.active {
  border-color: #5d7083 !important;
  background: #5d7083 !important;
}
.sw-theme-arrows > .nav .nav-link.active::after {
  border-left-color: #5d7083 !important;
}
.sw-theme-arrows .toolbar > .btn {
  background-color: #5d7083 !important;
  border: 1px solid #5d7083 !important;
}
/* fine Pulsanti prenotazione servizio */

/* Correzioni per visulaizzazione form */
.form-check label.active {
  transform: translateY(0%) !important;
  color: #1a1a1a;
}
/* Correzioni per visulaizzazione form */

.links-footer {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr));
  gap: 1rem;
}
header
  .it-header-slim-wrapper
  .it-header-slim-wrapper-content
  .it-header-slim-right-zone
  button {
  background: transparent;
  padding-top: 7.5px;
  padding-bottom: 7.5px;
  color: #fff;
}
header
  .it-header-slim-wrapper
  .it-header-slim-wrapper-content
  .it-header-slim-right-zone
  button:hover {
  background: transparent;
}
header
  .it-header-slim-wrapper
  .it-header-slim-wrapper-content
  .it-header-slim-right-zone
  button
  .icon-primary {
  fill: #fff !important;
}
header
  .it-header-slim-wrapper
  .it-header-slim-wrapper-content
  .it-header-slim-right-zone
  button
  .rounded-icon
  .icon-primary {
  fill: var(--colore1) !important;
}
.toolbar:before,
.toolbar > ul {
  display: none;
}
#banner-home .img-banner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}
#banner-home .img-banner img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
#banner-home .card-wrapper.card-teaser-wrapper > .card-teaser {
  gap: 0.5rem;
  flex-wrap: nowrap;
}
.card-calendar-fine {
  top: unset !important;
  bottom: 10%;
}

/* Loader placeholder */
.load-wrapper {
  position: relative;
  height: 5rem;
  width: 100%;
  background-color: rgb(211, 211, 211);
  overflow: hidden;
  border-radius: 5px;
  margin-bottom: 1rem;
}
.load-wrapper .activity {
  position: absolute;
  left: -45%;
  height: 100%;
  width: 45%;
  background-image: linear-gradient(
    to left,
    rgba(251, 251, 251, 0.05),
    rgba(251, 251, 251, 0.3),
    rgba(251, 251, 251, 0.6),
    rgba(251, 251, 251, 0.3),
    rgba(251, 251, 251, 0.05)
  );
  background-image: -moz-linear-gradient(
    to left,
    rgba(251, 251, 251, 0.05),
    rgba(251, 251, 251, 0.3),
    rgba(251, 251, 251, 0.6),
    rgba(251, 251, 251, 0.3),
    rgba(251, 251, 251, 0.05)
  );
  background-image: -webkit-linear-gradient(
    to left,
    rgba(251, 251, 251, 0.05),
    rgba(251, 251, 251, 0.3),
    rgba(251, 251, 251, 0.6),
    rgba(251, 251, 251, 0.3),
    rgba(251, 251, 251, 0.05)
  );
  animation: loading 1s infinite;
  z-index: 45;
}

@keyframes loading {
  0% {
    left: -45%;
  }
  100% {
    left: 100%;
  }
}
/* fine Loader placeholder */

ol {
  list-style: decimal;
}

.callout {
    padding: 1rem;
}

/* Gallery */
.gallery .categorie .wrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.gallery .categorie .wrapper .box {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 2rem;
  transition: 0.2s;
}
.gallery .categorie .wrapper .box:hover {
  transform: scale(1.1);
}
.gallery .categorie .wrapper .box .cover {
  width: 6rem;
  height: 6rem;
  object-fit: cover;
  border-radius: 50%;
}
.gallery .categorie .wrapper .box .contenuto {
  padding: 0.8rem;
}
.gallery .categorie .wrapper .box .contenuto h3 {
  font-size: 1rem;
  margin: 0;
}
.gallery .griglia-gallery {
  margin-bottom: 1rem;
}
.gallery .griglia-gallery .wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.gallery .griglia-gallery .wrapper .box {
  position: relative;
  color: #000;
}
.gallery .griglia-gallery .wrapper .box img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}
.gallery .griglia-gallery .wrapper .box .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.9);
}
.gallery .griglia-gallery .wrapper .box .overlay h3 {
  font-size: 1rem;
  margin: 0;
}
@media (max-width: 1200px) {
  .gallery .griglia-gallery .wrapper .box img {
    height: 280px;
  }
}
@media (max-width: 992px) {
  .gallery .categorie .wrapper {
    grid-template-columns: repeat(4, 1fr);
  }
  .gallery .griglia-gallery .wrapper .box img {
    height: 180px;
  }
}
@media (max-width: 768px) {
  .gallery .categorie .wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery .categorie .wrapper .box .cover {
    width: 4rem;
    height: 4rem;
  }
  .gallery .griglia-gallery .wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery .griglia-gallery .wrapper .box img {
    height: 180px;
  }
}
@media (max-width: 576px) {
  .gallery .categorie .wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery .categorie .wrapper .box .cover {
    width: 3rem;
    height: 3rem;
  }
  .gallery .griglia-gallery .wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery .griglia-gallery .wrapper .box img {
    height: 120px;
  }
}
/* fine Gallery */

/* Smart Wizard: Customizzazione */
.sw.sw-justified>.nav .nav-link, .sw.sw-justified>.nav>li {
    flex-basis: auto !important;
}
.sw-theme-arrows>.nav .nav-link::before {
    display: none !important;
}
.sw-theme-arrows>.nav .nav-link::after {
    transform: translateY(-50%) !important;
    left: unset !important;
    margin-top:unset !important;
    right: -1rem !important;
    border-top: 24px solid transparent !important;
    border-bottom: 24px solid transparent !important;
    border-left: 20px solid #f8f8f8 !important;
}
dd, ol, ul {
    margin: 1rem;
    padding: 1rem;
}
ul {
    list-style: disc;
}
footer ul {
    list-style: none;
}
/* Fine Smart Wizard: Customizzazione */

.flag-icon {

  background: #0564cd;

}

.accordion-header .accordion-button {
  color: #0564cd;
}

.navbar .navbar-collapsable .navbar-nav li a.nav-link {
  color: #fff;
}

.cmp-accordion .accordion-header .accordion-button:not(.collapsed) {
  color: #000000 !important;
}

.accordion-header .accordion-button::after {
  color: #000000 !important;
}

.row-calendar .it-calendar-wrapper .card .card-text a:hover {
  color: #000000;
}

.it-header-wrapper .navbar-collapsable .logo-hamburger {
  color: #424242 !important;
}

.btn-outline-primary {
  color: #0564cd;
  box-shadow: none;
}

.btn-outline-primary:hover {
  color: #424242;
  box-shadow: none;
}

.chip:is(a):hover:not(.chip-disabled) {
  background-color: #424242;
}

.list-unstyled {
    margin: 0;
    padding: 0;
    list-style: none;
}