/* *********
RESET CSS
********* */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, legend, label,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    background: transparent;
}

html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    line-height: 1;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
    content: '';
    content: none;
}

:focus {
    outline: 0;
}

ins {
    text-decoration: none;
}

del {
    text-decoration: line-through;
}

p {
    line-height: 1.5em;
}

/* FINE DEL RESET */





/* GENERALE */
#clear_left {
    clear: left;
}

#clear_right {
    clear: right;
}

.clear_left {
    clear: left;
}

.clear_right {
    clear: right;
}

.clear_both {
    clear: both;
}

html {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1em;
    color: #000000;
    background-color: #ffffff;
}

img {
    border: 0;
    max-width: 100%;
    max-height: 100%;
}





/* COLORI */
.colornero {
    color: #000000;
}

.colornero a,
.colornero a:link {
    color: #2ea3f2;
}

.colornero a:hover,
.colornero a:focus,
.colornero a:active {
    color: #2ea3f2;
}



.colorbianco {
    color: #ffffff;
}

.colorbianco a,
.colorbianco a:link {
    color: #ffffff;
    text-decoration: none;
}

.colorbianco a:hover,
.colorbianco a:focus,
.colorbianco a:active {
    color: #ffffff;
}





/* CONTAINER */
.container {
    position: relative;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    line-height: 1em;
}





/* TITOLO PAGINA */
.titolo-pagina {
    width: 100%;
    margin: 0;
    padding: 0;
    background: linear-gradient(120deg, #2f25c8 0%, #b72067 42%, #ef641f 72%, #f6c500 100%);
    border-bottom: 8px solid #000000;
}

.titolo-contenuto {
    padding: 20px 30px;
}

.titolo-contenuto h1 {
    margin: 0 0 10px 0;
    padding: 0;
    font-size: 40px;
    line-height: 1em;
    font-weight: normal;
    color: #ffffff;
}

.breadcrumb {
    font-size: 12px;
    line-height: 1em;
    font-weight: bold;
    color: #ffffff;
}

.breadcrumb span {
    display: inline-block;
    margin-right: 10px;
}

.breadcrumb .separatore {
    font-weight: normal;
}





/* AREA CONTENUTI */
.area-contenuti {
    width: 100%;
    margin: 55px 0 0 0;
    padding: 0;
}





/* SOTTOMENU */
.sottomenu {
    float: left;
    width: 360px;
    padding: 0 60px 0 0;
}

.gruppo-menu {
    width: 100%;
    margin: 0 0 22px 0;
    padding: 0;
}

summary.titolo-gruppo {
    display: block;
}

summary.titolo-gruppo::-webkit-details-marker {
    display: none;
}

summary.titolo-gruppo::marker {
    display: none;
    content: "";
}

.titolo-gruppo {
    position: relative;
    width: 100%;
    min-height: 34px;
    padding: 0 28px 10px 0;
    border-bottom: 1px solid #000000;
    font-size: 14px;
    line-height: 1.15em;
    font-weight: normal;
    color: #000000;
    cursor: pointer;
    list-style: none;
}

.titolo-gruppo:hover,
.titolo-gruppo:focus,
.titolo-gruppo:active {
    color: #000000;
    text-decoration: underline;
}

.titolo-gruppo:focus-visible {
    outline: 3px solid #000000;
    outline-offset: 4px;
    text-decoration: underline;
}

.titolo-gruppo-testo {
    display: block;
}

.titolo-gruppo .freccia {
    position: absolute;
    right: 0;
    top: 2px;
    width: 15px;
    height: 15px;
    line-height: 1em;
}

.titolo-gruppo .freccia img {
    width: 13px;
    height: auto;
    display: block;
}

details.gruppo-menu[open] > summary .freccia img {
    transform: rotate(180deg);
}

.sottomenu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sottomenu li {
    margin: 0 0 0 20px;
    padding: 10px 0 10px 0;
    border-bottom: 1px solid #000000;
}

.sottomenu a {
    font-size: 14px;
    line-height: 1.3em;
    font-weight: normal;
    color: #2ea3f2;
    text-decoration: none;
    display: block;
}

.sottomenu a:hover,
.sottomenu a:focus,
.sottomenu a:active {
    color: #2ea3f2;
    text-decoration: underline;
}

.sottomenu a:focus-visible {
    outline: 3px solid #000000;
    outline-offset: 4px;
    text-decoration: underline;
}

.voce-con-sottomenu {
    padding: 0;
    border-bottom: 0;
}

.gruppo-menu-interno {
    margin: 0;
}





/* TESTI */
.testo {
    float: right;
    width: calc(100% - 360px);
    padding: 0;
}

.testo h2 {
    margin: 0 0 28px 0;
    padding: 0;
    font-size: 26px;
    line-height: 1em;
    font-weight: bold;
    color: #333333;
}

.testo h3 {
    margin: 34px 0 8px 0;
    padding: 0;
    font-size: 20px;
    line-height: 1.3em;
    font-weight: bold;
    color: #000000;
}

.testo h3:first-child {
    margin-top: 0;
}

.testo p {
    margin: 0 0 24px 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.6em;
    font-weight: normal;
    color: #000000;
}

.testo strong {
    font-weight: bold;
}

.testo em {
    font-style: italic;
}





/* LISTE NEI TESTI */
.testo ul,
.testo ol {
    margin: 0 0 24px 28px;
    padding: 0;
    font-size: 15px;
    line-height: 1.6em;
    font-weight: normal;
    color: #000000;
}

.testo ul {
    list-style: disc;
}

.testo ol {
    list-style: decimal;
}

.testo li {
    margin: 0 0 8px 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.6em;
    font-weight: normal;
    color: #000000;
}

.testo li:last-child {
    margin-bottom: 0;
}

.testo li strong {
    font-weight: bold;
}

.testo li em {
    font-style: italic;
}





/* LINK NEI TESTI */
.testo a,
.testo a:link,
.testo a:visited {
    color: #2ea3f2;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.testo a:hover,
.testo a:focus,
.testo a:active {
    color: #000000;
    text-decoration: underline;
}

.testo a:focus-visible {
    outline: 3px solid #000000;
    outline-offset: 4px;
    color: #000000;
    background-color: #f3f3f3;
    text-decoration: underline;
}





/* DOCUMENTI */
.documenti {
    width: 100%;
    margin: 0;
    padding: 0;
}

.documenti ul {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.documenti li {
    position: relative;
    margin: 0;
    padding: 20px 0 22px 48px;
    border-bottom: 1px solid #000000;
}

.documenti li:before {
    content: "";
    position: absolute;
    top: 17px;
    left: 10px;
    width: 22px;
    height: 28px;
    background-image: url("/res/img/icodocumento.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

.documenti li p {
    margin: 0;
    padding: 0;
    font-size: inherit;
    line-height: 1.2em;
}

.documenti li p + p {
    margin-top: 8px;
}

.documenti li strong,
.documenti li b {
    display: block;
    margin: 0 0 8px 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.3em;
    font-weight: bold;
    color: #000000;
}

.documenti a:focus-visible {
    outline: 3px solid #000000;
    outline-offset: 4px;
    background-color: #f3f3f3;
}





/* RICERCA APPALTI */
.appalti-search-form {
    width: 100%;
    margin: 0 0 28px 0;
    padding: 0;
}

.appalti-search-main-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto 16px auto;
    padding: 0;
}

.appalti-search-box {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #d4e1f7;
    border-radius: 999px;
    overflow: hidden;
    min-height: 54px;
}

.appalti-search-box:focus-within {
    box-shadow: 0 0 0 3px rgba(46, 163, 242, 0.18);
    border-color: #2ea3f2;
}

.appalti-search-field-type {
    display: flex;
    align-items: center;
    height: 54px;
    padding: 0 12px 0 18px;
    border-right: 1px solid #e5e5e5;
}

.appalti-search-select {
    border: none;
    background: transparent;
    font-size: 14px;
    line-height: 1em;
    font-family: Arial, Helvetica, sans-serif;
    color: #000000;
    outline: none;
    cursor: pointer;
    padding: 0 18px 0 0;
}

.appalti-search-input {
    flex: 1;
    height: 54px;
    margin: 0;
    padding: 0 14px;
    border: none;
    background: transparent;
    font-size: 16px;
    line-height: 1em;
    font-family: Arial, Helvetica, sans-serif;
    color: #000000;
    outline: none;
}

.appalti-search-input::placeholder {
    color: #777777;
}

.appalti-search-btn {
    width: 58px;
    height: 54px;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.appalti-search-btn:hover,
.appalti-search-btn:focus,
.appalti-search-btn:active {
    background: #f7f7f7;
}

.appalti-search-btn svg {
    display: block;
}





/* FILTRI APPALTI */
.appalti-filter-selects {
    width: 100%;
    margin: 0 auto 0 auto;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.appalti-filter-select-pill {
    display: flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid #d4e1f7;
    background: #ffffff;
    font-size: 13px;
}

.appalti-filter-select-pill:focus-within {
    box-shadow: 0 0 0 3px rgba(46, 163, 242, 0.18);
    border-color: #2ea3f2;
}

.appalti-filter-select-control {
    border: none;
    background: transparent;
    font-size: 13px;
    line-height: 1em;
    font-family: Arial, Helvetica, sans-serif;
    color: #000000;
    outline: none;
    cursor: pointer;
    padding: 4px 2px;
}





/* FILTRI ATTIVI APPALTI */
.appalti-filter-chips {
    width: 100%;
    margin: 10px auto 20px auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.appalti-filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px 6px 14px;
    border-radius: 999px;
    border: 1px solid #d4e1f7;
    background: #f7fbff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.2em;
    color: #000000;
    cursor: pointer;
}

.appalti-filter-pill:hover,
.appalti-filter-pill:focus,
.appalti-filter-pill:active {
    background: #f7fbff;
    color: #000000;
    border-color: #d4e1f7;
}

.appalti-filter-pill-label {
    line-height: 1.2em;
}

.appalti-filter-pill-x {
    margin-left: 8px;
    font-size: 14px;
    line-height: 1em;
    color: #000000;
    transition: color 0.15s ease;
}

.appalti-filter-pill:hover .appalti-filter-pill-x {
    color: #d60000;
}


/* LISTA APPALTI */
.lista-appalti {
    width: 100%;
    margin: 0;
    padding: 0;
}

.appalto-riga {
    display: block;
    width: 100%;
    margin: 0;
    padding: 50px 20px;
    border-bottom: 1px solid #ccc;
    color: #000000;
    text-decoration: none;
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 100%);
    transition: background 0.2s ease;
}

.appalto-riga:first-child {
    border-top: 1px solid #ccc;
}

.colornero .appalto-riga,
.colornero .appalto-riga:link,
.colornero .appalto-riga:visited {
    color: #000000;
    text-decoration: none;
}

.colornero .appalto-riga:hover,
.colornero .appalto-riga:focus,
.colornero .appalto-riga:active {
    color: #000000;
    text-decoration: none;
    background: linear-gradient(90deg, #f3f3f3 0%, #ffffff 100%);
}

.appalto-oggetto {
    display: block;
    margin: 10px 0 15px 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.3em;
    font-weight: bold;
    color: #000000;
}

.appalto-descrizione {
    display: block;
    margin: 10px 0 25px 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.3em;
    font-weight: normal;
    color: #000000;
}

.appalto-meta {
    display: grid;
    grid-template-columns: 120px 80px 1fr 170px;
    column-gap: 18px;
    row-gap: 10px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.appalto-dato {
    display: block;
    margin: 0;
    padding: 0;
}

.appalto-label {
    display: block;
    margin: 0 0 5px 0;
    padding: 0;
    font-size: 11px;
    line-height: 1.2em;
    font-weight: normal;
    color: #000000;
}

.appalto-valore {
    display: block;
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.2em;
    font-weight: bold;
    color: #000000;
}

.colornero .appalto-riga:hover .appalto-oggetto,
.colornero .appalto-riga:focus .appalto-oggetto,
.colornero .appalto-riga:active .appalto-oggetto {
    color: #000000;
    text-decoration: underline;
}




















@media all and (max-width: 1260px) {

    .container {
        width: 90%;
        margin: 0 5%;
    }

}




















@media all and (max-width: 1020px) {

    .titolo-contenuto h1 {
        font-size: 34px;
    }

    .sottomenu {
        width: 300px;
        padding: 0 35px 0 0;
    }

    .testo {
        width: calc(100% - 300px);
    }

    .testo h2 {
        font-size: 24px;
    }

    .testo h3 {
        font-size: 19px;
        line-height: 1.3em;
    }

    .testo p,
    .testo ul,
    .testo ol,
    .testo li {
        font-size: 14px;
    }





    /* DOCUMENTI */
    .documenti li {
        padding: 18px 0 20px 42px;
    }

    .documenti li:before {
        top: 17px;
        left: 6px;
        width: 20px;
        height: 26px;
    }

    .documenti li p {
        margin: 0;
        padding: 0;
        font-size: inherit;
        line-height: 1.2em;
    }

    .documenti li p + p {
        margin-top: 6px;
    }

    .documenti li strong,
    .documenti li b {
        margin: 0 0 6px 0;
        font-size: 13px;
        line-height: 1.3em;
    }





    /* RICERCA APPALTI */
    .appalti-search-form {
        margin: 0 0 24px 0;
    }

    .appalti-search-box {
        min-height: 50px;
    }

    .appalti-search-field-type {
        height: 50px;
        padding: 0 10px 0 14px;
    }

    .appalti-search-select {
        font-size: 13px;
    }

    .appalti-search-input {
        height: 50px;
        font-size: 15px;
        padding: 0 12px;
    }

    .appalti-search-btn {
        width: 52px;
        height: 50px;
    }





    /* FILTRI APPALTI */
    .appalti-filter-selects {
        justify-content: flex-start;
        gap: 8px;
    }

    .appalti-filter-select-pill {
        padding: 5px 12px;
    }

    .appalti-filter-select-control {
        font-size: 12px;
    }

    .appalti-filter-chips {
        justify-content: flex-start;
        margin: 10px 0 18px 0;
    }


    /* LISTA APPALTI */
    .appalto-riga {
        margin: 0;
        padding: 40px 20px;
    }

    .appalto-oggetto {
        margin: 6px 0 13px 0;
        font-size: 15px;
        line-height: 1.3em;
    }

    .appalto-descrizione {
        margin: 7px 0 20px 0;
        font-size: 13px;
        line-height: 1.3em;
    }

    .appalto-meta {
        display: block;
    }

    .appalto-dato {
        margin: 0 0 9px 0;
    }

    .appalto-dato:last-child {
        margin-bottom: 0;
    }

    .appalto-label {
        margin: 0 0 4px 0;
        font-size: 10px;
        line-height: 1.2em;
    }

    .appalto-valore {
        font-size: 13px;
        line-height: 1.25em;
    }

}














@media all and (max-width: 940px) {

    .area-contenuti {
        margin-top: 40px;
    }

    .sottomenu {
        width: 280px;
        padding: 0 30px 0 0;
    }

    .testo {
        width: calc(100% - 280px);
    }

    .titolo-gruppo {
        font-size: 13px;
    }

    .sottomenu a {
        font-size: 13px;
    }

}













@media all and (max-width: 760px) {

    .container {
        width: 90%;
        margin: 0 5%;
    }

    .titolo-contenuto {
        padding: 18px 20px;
    }

    .titolo-contenuto h1 {
        font-size: 30px;
        line-height: 1.1em;
    }

    .breadcrumb {
        font-size: 12px;
        line-height: 1.3em;
    }

    .area-contenuti {
        margin: 35px 0 0 0;
    }

    .sottomenu {
        display: none;
    }

    .testo {
        float: none;
        width: 100%;
        padding: 0;
    }

    .testo h2 {
        margin: 0 0 22px 0;
        font-size: 24px;
        line-height: 1.15em;
    }

    .testo h3 {
        margin: 30px 0 8px 0;
        font-size: 19px;
        line-height: 1.3em;
    }

    .testo p {
        margin: 0 0 20px 0;
        font-size: 15px;
        line-height: 1.55em;
    }

    .testo ul,
    .testo ol {
        margin: 0 0 20px 24px;
        font-size: 15px;
        line-height: 1.55em;
    }

    .testo li {
        margin: 0 0 8px 0;
        font-size: 15px;
        line-height: 1.55em;
    }

}