/* CSS Reset */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* Regole generiche */

@font-face {
    font-family: 'work_sansblack';
    src: url('../fonts/WorkSans/worksans-black-webfont.woff2') format('woff2'),
         url('../fonts/WorkSans/worksans-black-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'work_sansregular';
    src: url('../fonts/WorkSans/worksans-regular-webfont.woff2') format('woff2'),
         url('../fonts/WorkSans/worksans-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'work_sanssemibold';
    src: url('../fonts/WorkSans/worksans-semibold-webfont.woff2') format('woff2'),
         url('../fonts/WorkSans/worksans-semibold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'work_sansmedium';
    src: url('../fonts/WorkSans/worksans-medium-webfont.woff2') format('woff2'),
         url('../fonts/WorkSans/worksans-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
  font-family: 'icomoon';
  src:  url('../fonts/Icomoon/icomoon.eot?uqv9ea');
  src:  url('../fonts/Icomoon/icomoon.eot?uqv9ea#iefix') format('embedded-opentype'),
    url('../fonts/Icomoon/icomoon.ttf?uqv9ea') format('truetype'),
    url('../fonts/Icomoon/icomoon.woff?uqv9ea') format('woff'),
    url('../fonts/Icomoon/icomoon.svg?uqv9ea#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

.icon-icon-arrow-up-small:before {
  content: "\e900";
}
.icon-icon-arrow-down-small:before {
  content: "\e901";
}
.icon-icon-arrow-sx-small:before {
  content: "\e902";
}
.icon-icon-arrow-dx-small:before {
  content: "\e903";
}
.icon-icon-delete-small:before {
  content: "\e904";
}
.icon-icon-download-small:before {
  content: "\e905";
}
.icon-icon-img-small:before {
  content: "\e906";
}
.icon-icon-search-small:before {
  content: "\e907";
}
.icon-IIIF:before {
  content: "\e908";
}

i {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon';
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'work_sansregular';
  line-height: 1;
  color: black;
  font-size: 18px;
  background: #FAF7EF;
  line-height: 27px;
  height: 100%;
  background-attachment: fixed;
  width: 100%;
}

h1{
  color: #003478;
  font-family: "work_sansblack";
  font-size: 51px;
  line-height: 61px;
  max-width: 757px;
  text-align: left;
}

h2{
  color: #003478;
  font-family: "work_sanssemibold";
  font-size: 21px;
  letter-spacing: 0.15px;
  line-height: 25px;
  text-align: left;
}

h4{
  color: #003478;
  font-family: "work_sanssemibold";
  font-size: 17px;
  letter-spacing: 0.15px;
  line-height: 20px;
  text-align: left;
}

p{
  margin:30px 0px;
}

a{
  text-decoration: none;
}

img{
  width: 100%;
}

span.label{
  color: #003478;
  font-family: "work_sanssemibold";
  font-size: 14px;
}

.breadcrumb-item+.breadcrumb-item::before {
    font-family: 'icomoon' !important;
    content: var(--bs-breadcrumb-divider, "\e903");
    font-size: 10px;
    line-height: 30px;
}

.default-btn{
  background-color: #97D700;
  border-radius: 4px;
  color: #003478;
  width: 36px;
  height: 36px;
  border: 0px;
  shadow:none;
  display: block;
}

.default-btn .icon-icon-download-small {
  height: 36px;
  display: block;
  width: 36px;
  text-align: center;
  padding: 9px;
}

a.default-btn i {
  color: var(--e-global-color-secondary);
}

.summary{
  color: #595959;
  font-size: 14px;
  letter-spacing: 0.4px;
  line-height: 19px;
  text-align: center;
  margin: 8px 0px;
}

.breadcrumb {
    background-color: #F2E9D5;
    padding: 12px;
    color: #595959;
}

.breadcrumb a{
    color: #595959;
}

.breadcrumb-item.active {
    color: #003478;
}

.badge{
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.5px;
  line-height: 14px;
  text-align: center;
  background: #003478;
  border-radius: 4px;
}

.badge a {
    color: white;
}

.badge a:hover {
    color: #97D700;
}

.custom-ul{
  list-style: url('../images/ul.png');
}

.custom-ul li {
    margin: 16px 0px;
}

.elevation {
  background-color: #FFFCFA;
  border-radius: 8px;
  box-shadow: 0 8px 20px 0 rgba(0, 52, 120, 0.15);
  padding: 24px;
  margin-bottom: 36px;
  width: 100%;
}

.elevation img {
}

hr{
  border: 1px solid #8E8E8E;
}

.divider {
  background-color: #97D700;
  width: 64px;
  height: 4px;
  border: 0;
  opacity: 1;
  margin-top: 24px;
  margin-bottom: 32px;
}

a.go-to{
  color: #003478;
  font-family: "work_sanssemibold";
  font-size: 14px;
  letter-spacing: 1.15px;
  line-height: 16px;
  text-align: center;
  text-transform: uppercase;
}

.elevation a.go-to{
  margin-bottom: 10px;
  display: block;
  text-align: left;
}

.section1 {
    padding-top: 45px;
}

.section1 h1{
  margin-top: 24px;
  margin-bottom: 64px;
}

.section1 .badge{
  margin-top: 15px;
}

.section2{
  background-color: #F2E9D5;
  margin-top: 80px;
}
.section-title{
  margin-top:64px;
  margin-bottom: 32px;
}

.details{
  margin-top: 20px;
}

.info{
  color: #595959;
  font-size: 16px;
  line-height: 24px;
  text-align: left;
  margin: 5px 0px;
}

.img-card{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.img-card img{
  width: 80%;
  margin-bottom: -50px;
  z-index: 1;
  border-bottom: 4px solid #97D700;
}

.img-card h3 {
  margin-top: 50px;
  font-family: "work_sanssemibold";
  color: #003478;
  font-size: 21px;
  letter-spacing: 0.15px;
  line-height: 25px;
  text-align: left;
}

.img-card h3 a {
  margin-top: 50px;
  font-family: "work_sanssemibold";
  color: #003478;
  font-size: 21px;
  letter-spacing: 0.15px;
  line-height: 25px;
  text-align: left;
}

.img-card .info{
  margin-bottom: 24px;
}

.img-card .go-to{
  display: block;
  margin-bottom: 15px;
  text-align: left;
}

.results{
  font-size: 16px;
  line-height: 24px;
  text-align: center;
}

.pagination {
    --bs-pagination-padding-x: 15px;
    --bs-pagination-padding-y: 6px;
    --bs-pagination-font-size: 1rem;
    --bs-pagination-color: #003478;
    --bs-pagination-bg: none;
    --bs-pagination-border-radius: 4px;
    --bs-pagination-border-width: 0px;
    --bs-pagination-hover-color: #fff;
    --bs-pagination-hover-bg: #003478;
    --bs-pagination-active-color: #fff;
    --bs-pagination-active-bg: #003478;
    --bs-pagination-disabled-color: #6c757d;
    --bs-pagination-disabled-bg: #dee2e6;
    --bs-pagination-disabled-border-color: #dee2e6;
}

.elementor-kit-5 .pagination a {
  color: var( --e-global-color-secondary );
}

.elementor-kit-5 .pagination .active a,
.elementor-kit-5 .pagination a:hover {
  color: white;
}

.previous, .next{
  background-color: #97D700;
  color: #003478;
}

.pagination li.page-item {
    margin: 4px;
    border-radius: 4px;
    width: 36px;
    height: 36px;
    line-height: 36px;
}

a.page-link {
    border-radius: 4px;
    padding:0;
    text-align: center;
}

.previous a.page-link {
    margin-top: 2px;
    margin-left: -1px;
}

.next a.page-link {
    margin-top: 2px;
    margin-left: 1px;
}

.search {
    margin-top: 104px;
    background-color: #F2F1EB;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom: 1px solid #003478;
}

.search i{
  color:#003478;
  font-size: 22px;
}

.search .form-control {
  background: #F2F1EB;
  border-radius: 4px;
}

.search .input-group,.search .input-group .btn {
    height: 59px;
    background: transparent;
}

.filters-col {
    margin-top: 64px;
    margin-bottom: 30px;
}

.filters-col .filter-results {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.5px;
    line-height: 20px;
    text-align: center;
    height: 20px;
    background: #003478;
    border-radius: 4px;
    color: white;
    width: auto;
    margin: 3px 5px;
    padding: 5px;
}

.filters-col .filter-results:after {
  /*font-family: 'icomoon' !important;*/
  content: "X";
  transform: translateY(-50%);
  right: 10px;
  top: 50%;
  padding:5px;
}

.filters-col span {
  text-transform: uppercase;
  color: #003478;
  font-family: "work_sanssemibold";
  font-size: 17px;
  letter-spacing: 0.15px;
}

.filters-col a {
  text-transform: uppercase;
  color: #003478;
  font-family: "work_sanssemibold";
  font-size: 17px;
  letter-spacing: 0.15px;
}

.clear{
  float:right;
}

/* Select2 override start*/
.select2.select2-container{
  width: 100% !important;
  margin-bottom: 24px;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder,
.select2-container .select2-search--inline .select2-search__field {
  font-family: 'work_sansregular';
  font-size: 16px;
  font-style: italic;
  margin: 0px 16px;
  height: 24px;
}

.select2-container--default.select2-container--focus .select2-selection--multiple{
  border: 1px solid #003478;
  border-radius: 4px;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple{
  background-color: #0000000a;
  border: 1px solid #003478;
  border-radius: 4px;
  min-height: 36px;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #003478;
  color: white;
}

.select2-container--default .select2-results__option--selected {
  background-color: #003478;
  color: white;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice{
  background-color: #003478;
  color: white;
  border:0px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: white;
  border:0px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{
  background: #97D700;
  color: #003478;
}

.select2-results__option--selectable {
  background-color: #FFFCFA;
}

span.select2-selection.select2-selection--single.select2-selection--clearable {
    background-color: #003478;
    border-radius: 4px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: white;
    line-height: 34px;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    color: #fff
}

.select2-selection__arrow b{
    display:none !important;
}

.select2-container .select2-selection--single .select2-selection__clear {
  font-size: 2em;
  z-index: 100;
  margin-right: 10px;
  margin-top: 3px;
}

.select2 .select2-selection__rendered:after {
  font-family: 'icomoon' !important;
  content: "\e901";
  position: absolute;
  transform: translateY(-50%);
  right: 10px;
  top: 50%;
  color: #003478;
  z-index: -1;
}

.select2 #select2-archiviSelect-container {
  background: transparent;
}

.select2 .select2-container--open {
  background: red;
}
/* Select2 override end*/


/* List icons-text start*/
tr:hover a.itemTreeview:hover {
    color: #003478;
}

a.itemTreeview {
    color: transparent;
}

tr:hover .itemTreeview {
  color: black;
}

span.fancytree-expander.fa.fa-angle-double-right,
span.fancytree-expander.fa.fa-angle-double-down {
    margin: 0 0.5em 0 0;
}
/* List icons-text end */


table td, table th {
    border: 0px;
}

table tbody > tr:nth-child(2n+1) > td, table tbody > tr:nth-child(2n+1) > th{
  background-color: transparent;
}

.fancytree-node {
  display: flex;
}

span.fancytree-title {
  display: inline-block;
}

/*
tr.fancytree-exp-n span.fancytree-node {
    padding-left: 50px !important;
}
*/
