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: #007a52;
    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: #007a52;
    color: #fff;
}
.pagination .active a {
    background: #007a52;
    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 .icona {
    color: #fff;
}
#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;
}

/* 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;
    line-height: 120%;
    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;
}
#smartwizard dd,
#smartwizard ol,
#smartwizard ul {
    margin: 1rem;
    padding: 1rem;
}
/* Fine Smart Wizard: Customizzazione */

#smartwizard .form-group label {
    white-space: normal !important;
}

.form-group label {
    position: relative;
    padding: 0;
}

/* .form-group label.active {
    transform: unset;
} */
.just-validate-success-field {
    background-repeat: no-repeat;
    background: unset;
}

/* .form-check [type=radio]+label:after, .form-check [type=radio]+label:before {
    top: 3px;
}
.form-check [type=checkbox]+label:after {
    top: 3px;
} */

#smartwizard .form-check [type="checkbox"] + label,
.form-check [type="radio"] + label {
    height: auto !important;
}

.box-wrapper-personale {
    padding: 1.5rem 1rem 1.5rem 1rem;
    border: 1px solid #dddddd;
    border-radius: 8px;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}
.box-wrapper-personale h5 {
    position: absolute;
    font-size: 1rem;
    padding: 0.2rem 0.8rem;
    background: #ffffff;
    border-radius: 8px;
    font-weight: 600;
    top: -1rem;
    left: 0;
}
.wrapper-personale {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(18rem, 100%), 1fr));
    gap: 1rem;
}

.card-struttura .etichetta {
    position: relative;
    right: unset !important;
    padding: 0 0.5rem 0 2.5rem;
}
.card-struttura .etichetta .icon {
    margin-right: 4px;
}
.card-struttura h3 a {
    text-decoration: none;
}
.card-struttura h3 a:hover {
    text-decoration: underline;
}

/* Archivio notizia */
.archivio-notizie {
    background: #ebeef0;
    padding: 2rem 0;
}
.archivio-notizie .elenco-notizie {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(20rem, 100%), 1fr));
    gap: 1rem;
}

.lettura-documento #allegati {
    word-break: break-word;
}

dd,
ol,
ul {
    margin: 0 0 0 1rem;
    padding: 0 0 0 1rem;
    list-style: disc;
}

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

.tag {
    background-color: #5c6f82;
    border-radius: 4px;
    color: #fff;
    display: inline-flex;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5rem;
    padding: 4px 16px;
    text-decoration: none;
    text-transform: uppercase;
}

.btn-secondary:hover {
    color: #fff !important;
}
.btn-warning:hover {
    color: #fff !important;
}

.breadcrumb-container a {
    display: inline-block;
}

.sidebar-interna {
    border-left: 1px solid #ddd;
    padding: 1rem 0 0 1rem;
}

.sidebar-interna ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sidebar-interna ul li a {
    display: block;
    padding: 0.6rem 0 0.6rem 1rem !important;
    font-weight: 600;
    width: 100%;
    text-decoration: none;
    position: relative;
    transition: 0.2s;
}
.sidebar-interna ul li a:hover {
    text-decoration: underline;
}
.sidebar-interna ul li a:hover::before {
    content: "";
    position: absolute;
    background: #06c;
    width: 2px;
    height: 2rem;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: block;
}
.btn:hover {
    color: #fff;
}

/* table > * {
  word-break: normal;
  white-space: nowrap;
} */

table {
    width: 100% !important;
    border-collapse: collapse;
    overflow-x: auto;
    display: block;
    border: none;
}

th,
caption {
    text-align: start;
}

caption {
    margin-block: 0.75rem;
}

th,
td {
    border: 1px solid;
}

th,
td {
    border: 1px solid lightgrey;
    padding: 0.25rem 0.75rem;
}

.ui-datepicker table {
    width: 100% !important;
    display: table !important;
}

#risultati-ricerca .form-group label.active {
    position: absolute;
}

#startSegnalazione .descrizioneArgomento {
    background:#fff;
    padding:1.5rem;
}
#startSegnalazione .descrizioneArgomento .descrizione {
    border:1px solid #cecece;
    border-radius: 8px;
    padding:1rem;
    color:#333;
}
#startSegnalazione .descrizioneArgomento .descrizione p:last-of-type {
    margin-bottom:0;
}

.avviso-comune {
    background-color: #ffc400;
    padding:2rem 0;
}
.avviso-comune .wrapper {
    display: flex;
    gap:1rem;
}
.avviso-comune .wrapper .icon {
    flex-shrink: 0;
}

.avviso-comune h1,
.avviso-comune h2,
.avviso-comune h3,
.avviso-comune h4,
.avviso-comune h5,
.avviso-comune h6 {
    margin-bottom:.5rem;
    line-height: 120%;
}


.avviso-comune h1 {
    font-size:2rem;
}
.avviso-comune p {
    line-height:120%;
}
.avviso-comune p:last-of-type {
    margin-bottom:0;
}