.bannportali {
    height: 2.5rem;
    z-index: 1 !important;
}

.bannportali a {
    border-right: 1px solid;
}
/*.bannportali a:first-child {
    border-left: 1px solid;
}*/
.bannportali a:last-child {
    border-right: none;
}

.bannportali a:hover {
    color: rgb(59 130 246 / var(--tw-bg-opacity)) !important;
    border-radius: 0px;
}

ul#navMenuHead li {
    text-overflow: ellipsis;
    white-space: nowrap;
}

.corsitable td {
    padding: 0 12px 0 12px;
}

.thingsCaption .btn {
    font-size: 9px;
}


.index-collapsible .content {
    max-height: 200px; /* Set the initial max-height */
    overflow: hidden;
    transition: max-height 0.5s ease;
  }

  .index-collapsible.collapsed .content {
    max-height: 200px; /* Set the max-height when collapsed */
  }

  .index-collapsible.collapsed .read-more-button {
    display: inline; /* Display the "Read More" button when collapsed */
  }

  .index-collapsible .read-more-button {
    display: none; /* Hide the "Read Less" button initially */
  }

  .calenddar {
    background: white;
    color: black;
  }

  .event-tooltip-content li {
    list-style: disc;
    margin-left: 15px !important;
    font-size: 12px;
  }

  #autocompleteWrapper {
    display: none;
    position: absolute;
  }

  .autocomplete-results {
    position: relative;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 5px;
    z-index: 1;
    width: 330px;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
  }

  #autocompleteButtonWrapper {
    position: relative;
    z-index: 900;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
  }

  .auto-button {
    height: 33px;
    padding: 0 !important;
    width: 110px !important;
    border-radius: 0;
    font-size: 10px;
  }

  #adv-search-div {
    height: 0;
    opacity: 0;
    transition: height 0.3s ease, opacity 0.3s ease;
  }

  .visible {
    height: auto;
    opacity: 1;
  }

  .autocomplete-results div {
    padding: 5px;
    cursor: pointer;
    padding-top: 0px;
    padding-bottom: 0px;
  }

  .autocomplete-results div:hover {
    background-color: #f5f5f5;
  }

  .calendar-table tr:nth-child(even){
    background-color: #fff;
  }

  .btn-default {
    /* Add your custom styles here */
    background-color: #ccc;
    color: #333;
    /* ... */
  }
  .single-need, .single-campaign {
    overflow-x: hidden;
    white-space: normal;
  }

  .single-need,  .single-campaign th{
    padding: 0;
    font-size: 12px;
    padding-left: 5px;
    padding-right: 5px;
    white-space: nowrap;
  }
  .single-need, .single-campaign td{
    padding: 0;
    font-size: 12px;
    padding-left: 5px;
    padding-right: 5px;
    white-space: unset;
  }

  .btn-fabbisogno {
    margin: 0;
    font-size: 12px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .progress-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display:none;
    z-index: 999;
  }

  #progress-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
  }

  .progress-show-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
  }

  #addCollabor {
    margin-top: 30px;
  }

  #needForm {
    font-size: 12px;
  }

  .select-full-width {
    width: 100%
  }

  .number-circle {
    width: 15px;
    height: 15px;
    line-height: 13px;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: solid 2px crimson;
    color: #fff;
    background: crimson;
    text-align: center;
    display: inline-block;
    font-weight: bolder;
    font-size: 10px;
}

.text-decoration-underline {
  text-decoration: underline;
}

.primo { color: #017a7c }
/*.primo { color: rgb(0, 165, 82) }*/
.secondo { color: #904569 }
/*.secondo { color: purple }*/
.terzo { color: #7f6e1a }
/*.terzo { color: rgb(219, 157, 0) }*/

.crediti-intestazione-label {
  color: black; margin-top: 6px; font-weight: 900; margin-right: 10px; font-size:12px
}
.crediti-intestazione-anno {
  color: #3a63af; margin-top: 6px; font-weight: bold
}
.crediti-intestazione-numero {
  padding: 3px; padding-left: 6px; padding-right: 6px; margin-right: 6px; border: 1px solid #3a63af; font-size: 13px; background: #3a63af; color: white; border-radius: 0.25em; line-height: 20px; text-align: center; vertical-align: baseline;
}

.crediti-intestazione-anno-n {
  color: #00a846; margin-top: 6px; font-weight: bold
}
.crediti-intestazione-numero-n {
  padding: 3px; padding-left: 6px; padding-right: 6px; margin-right: 6px; border: 1px solid #00a846; font-size: 13px; background: #00a846; color: white; border-radius: 0.25em; line-height: 20px; text-align: center; vertical-align: baseline;
}

.label-danger-reverse {
  color: crimson !important;
}

.text-gray-custom {
    color: #707070 !important;
  }

.text-red-custom {
  color: #FF0004 !important;
}

.text-red-custom {
  color: #FF0004 !important;
}

.z-max-custom {
    z-index: 9999 !important;
}

  @media (max-width: 768px) {
    #addCollabor {
      margin-top: 0;
      margin-bottom: 30px;
    }
  }
