button:disabled.inail-button-calendar {
  pointer-events: none !important;
  cursor: not-allowed !important;
  color: #7E858B !important;
}

/* Style when there is an error but no hint */
/* .form-group:has(.inail-span-error):not(:has(.inail-span-ht)) button.inail-button-calendar {
  color: #c9291b !important;
  top: 36% !important;
  transform: translateY(0%) !important;
} */

/* Style when there is both an error and a hint */
.form-group:has(.inail-span-error) button.inail-button-calendar {
  color: #c9291b !important;
}


input.form-control {
  font-size: 16px !important;
}

.date.datePicker>.form-group {
  margin-bottom: 15px;
}

.date-range .datePicker>.form-group {
  width: 100% !important;
}

.datePicker input {
  width: 100% !important;
}

.datePicker em.fa-calendar {
  position: unset !important;
  float: none !important;
  bottom: unset !important;
  left: unset !important;
  cursor: unset !important;

}

.inail-button-calendar {
  outline: none !important;
  font-size: 20px !important;
  color: #002E5F !important;
  background: transparent !important;
  border: none !important;
  width: auto !important;
  height: auto !important;
  position: absolute;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(0%) !important;
}

.inail-button-calendar:focus {
  box-shadow: 0 0 0 3px #19191a;
  border-radius: 4px;
}

.date-range>p {
  margin-bottom: unset !important;
}

.date-range .datePicker div.form-group:first-of-type em.fa-calendar {
  left: unset !important;
}

.date-range .datePicker div.form-group:nth-of-type(2) em.fa-calendar {
  left: unset !important;
}

.date-range .datePicker label {
  display: inline-block !important;
}

@media (max-width: 767.98px) {

  .date-range .datePicker em.fa-calendar {
    top: unset !important;
  }

  .date-range .datePicker div.form-group:first-of-type em.fa-calendar {
    left: unset !important;
  }

  .date-range .datePicker div.form-group:nth-of-type(2) em.fa-calendar {
    left: unset !important;
  }
}


table.table.accordionTab .date-range .date label.control-label {
  padding-right: unset !important;
}

.date>input,
select {
  padding-top: unset !important;
}

.inail-date-range-title {
  font-weight: 600 !important;
  font-size: 18px !important;
  line-height: 24px !important;
  letter-spacing: 0px !important;
  vertical-align: middle !important;
  text-transform: uppercase !important;
  color: #19191A !important;
  border: none !important;
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 992px) {
  .inail-periodo-container {
    margin-top: -24px;
  }
}

.ui-datepicker .ui-datepicker-calendar {
  display: table !important;
}

a.ui-datepicker-next.ui-corner-all span.ui-icon.ui-icon-circle-triangle-e {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMjAgNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZD0iTTMxMC42IDIzMy40YzEyLjUgMTIuNSAxMi41IDMyLjggMCA0NS4zbC0xOTIgMTkyYy0xMi41IDEyLjUtMzIuOCAxMi41LTQ1LjMgMHMtMTIuNS0zMi44IDAtNDUuM0wyNDIuNyAyNTYgNzMuNCA4Ni42Yy0xMi41LTEyLjUtMTIuNS0zMi44IDAtNDUuM3MzMi44LTEyLjUgNDUuMyAwbDE5MiAxOTJ6Ii8+PC9zdmc+");
  background-repeat: no-repeat;
  background-size: 10px;
  background-position: center;
}

a.ui-datepicker-prev.ui-corner-all span.ui-icon.ui-icon-circle-triangle-w {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMjAgNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZD0iTTMxMC42IDIzMy40YzEyLjUgMTIuNSAxMi41IDMyLjggMCA0NS4zbC0xOTIgMTkyYy0xMi41IDEyLjUtMzIuOCAxMi41LTQ1LjMgMHMtMTIuNS0zMi44IDAtNDUuM0wyNDIuNyAyNTYgNzMuNCA4Ni42Yy0xMi41LTEyLjUtMTIuNS0zMi44IDAtNDUuM3MzMi44LTEyLjUgNDUuMyAwbDE5MiAxOTJ6Ii8+PC9zdmc+");
  background-repeat: no-repeat;
  background-size: 10px;
  background-position: center;
  transform: scaleX(-1);
}

.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
  border: 1px solid #dad55e !important;
  background: #fffcc7 !important;
  color: #777620 !important;
}