
p {
    margin: 0;
  }

  a {
    text-decoration: none;
  }

  body {
    font-family: 'Nunito', 'Arial Narrow', Arial, sans-serif;
  }

  .navbar-brand {
    font-size: medium;
    color: #333;
  }

  label {
    color: #9c9a9a;
  }

    .input-group-text {
      /* display: flex;
      align-items: center;
      padding: 0.375rem 0.75rem;
      font-size: 0.9rem;
      font-weight: 400;
      line-height: 1.6;
      color: #444444;
      text-align: center;
      white-space: nowrap;
      background-color: #e9ecef;
      border: 1px solid #ced4da; */
      border-radius: 0;
    }

    .dropdown-menu {
      /* position: absolute;
      z-index: 1000;
      display: none;
      min-width: 10rem;
      padding: 0.5rem 0;
      margin: 0;
        margin-top: 0px;
      font-size: 0.9rem;
      color: #444444;
      text-align: left;
      list-style: none;
      background-color: #fff;
      background-clip: padding-box;
      border: 1px solid rgba(0, 0, 0, 0.15); */
      border-radius: 0;
    }

    .form-control {
      /* display: block;
      width: 100%;
      font-size: 0.9rem;
      font-weight: 400;
      line-height: 1.6;
      color: #444444;
      background-clip: padding-box;
      border: 1px solid #ced4da;
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; */
      background-color: #ffffff;
      border-radius: 0;
      padding:0.375rem 0.75rem;
      padding-left: 0.75rem;
      padding-right: 0.75rem;
      padding-top: 0;
      padding-bottom: 0.35rem;
    }

    .btn-link {
      /* --bs-btn-font-weight: 400;
      --bs-btn-bg: transparent;
      --bs-btn-border-color: transparent;
      --bs-btn-hover-color: var(--bs-link-hover-color);
      --bs-btn-hover-border-color: transparent;
      --bs-btn-active-color: var(--bs-link-hover-color);
      --bs-btn-active-border-color: transparent;
      --bs-btn-disabled-color: #6c757d;
      --bs-btn-disabled-border-color: transparent;
      --bs-btn-box-shadow: none;
      --bs-btn-focus-shadow-rgb: 49,132,253; */
      color: #333;
    }

    .btn-link:hover {
      /* --bs-btn-font-weight: 400;
      --bs-btn-bg: transparent;
      --bs-btn-border-color: transparent;
      --bs-btn-hover-color: var(--bs-link-hover-color);
      --bs-btn-hover-border-color: transparent;
      --bs-btn-active-color: var(--bs-link-hover-color);
      --bs-btn-active-border-color: transparent;
      --bs-btn-disabled-color: #6c757d;
      --bs-btn-disabled-border-color: transparent;
      --bs-btn-box-shadow: none;
      --bs-btn-focus-shadow-rgb: 49,132,253; */
      color: #c40000;
    }


    .dropdown-item {
      font-size: medium;
    }

    .dropdown-item:hover {
color: #fff;
background-color: #c40000;
    }

.nav-link.nav-link {
  /* display: block;
  padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
  font-size: var(--bs-nav-link-font-size);
  font-weight: var(--bs-nav-link-font-weight);
  color: var(--bs-nav-link-color);
  text-decoration: none;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out; */
  color: #333;
  font-size: medium;
}

    .btn {
      border-radius: 0;
    }

    #tab_menu_aggiungi_nuovo_cliente .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
      color: #fff;
      background-color: #95c11f;
      border-bottom: solid 3px #618303;
  }


  #tab_menu_aggiungi_nuovo_fornitore .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #c40000;
    border-bottom: solid 3px #700202;
  }

  #tab_menu_aggiungi_nuovo_prodotto .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #333;
    background-color: #dedc00;
    border-bottom: solid 3px #696802;
  }

  #tab_menu_aggiungi_nuovo_consulenti .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #f07e1b;
    border-bottom: solid 3px #6b3302;
  }

  #tab_menu_aggiungi_nuovo_collaboratori .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #aaa;
    border-bottom: solid 3px #333;
  }

  .nav-pills .nav-link {
    /* background: none;
      background-color: rgba(0, 0, 0, 0);
    border: 0;
      border-bottom-color: currentcolor;
      border-bottom-style: none;
      border-bottom-width: 0px; */
    border-radius: 0;
  }

  .p-4 {
    padding: 0rem !important;
  }

  .alert {
    /* position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
      border-top-color: transparent;
      border-right-color: transparent;
      border-bottom-color: transparent;
      border-left-color: transparent; */
    border-radius: 0;
  }

  .card {
    /* position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125); */
    border-radius: 0;
  }

  .card-header:first-child {
    border-radius: 0;
  }

  .badge {
    /* display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline; */
    color: #000000;
    background-color: #ffffff;
    border-radius: 0;
  }



  .select2-container--default .select2-selection--single {
    background-color: rgba(255, 255, 255, 0);
    border-radius: 0px;
    height: 35px;
    border-color: #ced4da;
  }


  .row > * {

    padding-right: calc(var(--bs-gutter-x) * 0.2);
    --bs-gutter-x: 0rem;

  }


  .select2-container--default .select2-selection--single {
    background-color: rgba(255, 255, 255, 255);
  }





  .pagination {
    --bs-pagination-padding-x: 0.75rem;
    --bs-pagination-padding-y: 0.375rem;
    --bs-pagination-font-size: 1rem;
    --bs-pagination-color: var(--bs-link-color);
    --bs-pagination-bg: var(--bs-body-bg);
    --bs-pagination-border-width: var(--bs-border-width);
    --bs-pagination-border-color: var(--bs-border-color);
    --bs-pagination-border-radius: var(--bs-border-radius);
    --bs-pagination-hover-color: var(--bs-link-hover-color);
    --bs-pagination-hover-bg: var(--bs-tertiary-bg);
    --bs-pagination-hover-border-color: var(--bs-border-color);
    --bs-pagination-focus-color: var(--bs-link-hover-color);
    --bs-pagination-focus-bg: var(--bs-secondary-bg);
    --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    --bs-pagination-active-color: #fff;
    --bs-pagination-active-bg:var(--bs-danger);
    --bs-pagination-active-border-color: #fff;
    --bs-pagination-disabled-color: #000;
    --bs-pagination-disabled-bg: var(--bs-secondary-bg);
    --bs-pagination-disabled-border-color: var(--bs-border-color);
    display: flex;
    padding-left: 0;
    list-style: none;

  }


  .page-link {
    position: relative;
    display: block;
    padding: var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);
    font-size: var(--bs-pagination-font-size);
    color: var(  --bs-primary);
    text-decoration: none;
    background-color: var(--bs-pagination-bg);
    border: var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;


  }

  .page-item:last-child .page-link {
    border-radius: 0;
  }

  .page-item:first-child .page-link {
    border-radius: 0;
  }

  .offcanvas-body {
    /* flex-grow: 1;
    padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);
    overflow-y: auto; */
    background-color: #e7e5e5;
  }

  .navbar-toggler {
    border-radius:0;
  }


  .fa, .fa-brands, .fa-classic, .fa-regular, .fa-sharp, .fa-solid, .fab, .far, .fas {
    /* -moz-osx-font-smoothing: grayscale;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto; */
    line-height: 1.5;
  }

  .select2-container {
    display: grid;
  }

  .nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    border-radius: 0;
    color: #c40000;
    border-bottom: solid 3px #c40000;
    text-decoration: underline;

  }

  .nav-tabs .nav-link {
    border-radius: 0;
  }

  .fs-6 {
    font-size: 0.8rem !important;
  }

  .input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating), .input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n+3), .input-group:not(.has-validation) > .form-floating:not(:last-child) > .form-control, .input-group:not(.has-validation) > .form-floating:not(:last-child) > .form-select {
    height: 39px;
  }

  .select2-container--default .select2-selection--multiple {
    border-radius: 0px;
    height: 39px;
  }

  .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #c40000;
    color: #fff;
    border: 1px solid #333;
    border-radius: 0px;
  }

  .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    background-color: #aea9a9;
    border: 1px solid #333;
    color: #000;
    border-radius: 0;
  }

.select2-container--default .select2-selection--multiple {
  max-height: none !important;
  height: auto !important;
}

.select2-container .select2-search--inline .select2-search__field {

    height: 27px;
  }

  /* Giornata COMPLETATA → verde opaco come accordion aperta */
.accordion-item.day-completed > .accordion-header .accordion-button {
    background-color: rgba(25, 135, 84, 0.15) !important; /* verde opaco */
    color: #0f5132;
}

/* anche quando è chiusa */
.accordion-item.day-completed > .accordion-header .accordion-button.collapsed {
    background-color: rgba(25, 135, 84, 0.15) !important;
}

/* quando la apri NON deve tornare blu */
.accordion-item.day-completed > .accordion-header .accordion-button:not(.collapsed) {
    background-color: rgba(25, 135, 84, 0.25) !important;
    box-shadow: none;
}
