.assessment-notes h4 {
    font-weight: bold;
    margin-bottom: 0.5em;
}

.assessment-notes ul {
    list-style-type: circle;
    margin-bottom: 1em;
    padding-left: 0;
}

.assessment-notes li {
    margin-bottom: 0.3em;
    margin-left: 1.2em;
}

.assessment-block-button.ant-btn>span {
  display: inline;
}

.grow {
  flex-grow: 1 !important;
}

.d-inline-block {
    display: inline-block !important;
}

.d-flex {
    display: flex !important;
}

img {
    max-width: 100%;
    max-height: 100%;
}

a {
    color: rgba(0, 0, 0, 0.65);
}

.w-50 {
    width: 50%;
}

.ant-select-disabled.ant-select-single:not(.ant-select-customize-input) .ant-select-selector  {
    color:#214f69;
}

.ant-input.ant-input-disabled,
.ant-input-number-input[disabled] {
    color: #777;
}

.ant-input-affix-wrapper-disabled {
    background-color: #f9f9f9;
}

.ant-descriptions-top tr {
    vertical-align: top;
}

.form-item-compact.ant-form-item {
    margin-bottom: 0;
}

.form-item-compact .ant-form-item-control-input {
    padding-bottom: 0;
    margin-bottom: 0;
    min-height: 0;
}

/* Accessibility Modifications for better visibility/readability */
.ant-select-selection-placeholder, .ant-typography.ant-typography-secondary {
    color: rgba(16, 66, 112, 0.65);
}

/* Ant top navigation menu */

.firenote-top-nav .ant-menu-overflow-item.ant-menu-item {
    max-width: 55px;
    display: inline-block;
    overflow: hidden;
    transition: max-width 0.4s;
    margin-right: 10px;
}

.firenote-top-nav .ant-menu-overflow-item.ant-menu-item:hover {
    max-width: 150px;
}

.firenote-top-nav .ant-menu-overflow-item.ant-menu-item .ant-menu-title-content {
    margin-left: 30px;
    opacity: 0;
    transition: margin-left 0.1s 0.4s, opacity 0.4s;
}

.firenote-top-nav .ant-menu-overflow-item.ant-menu-item:hover .ant-menu-title-content {
    margin-left: 10px;
    opacity: 1;
    transition: margin-left 0.25s, opacity 0.4s;
}



/* User Calendar */

.firenote-calendar-view table.ant-picker-content {
    height: 100%;
}

.firenote-calendar-view td.ant-picker-cell.ant-picker-cell-in-view {
    vertical-align: top;
    height: 100%;
}

.firenote-calendar-view td.ant-picker-cell.ant-picker-cell-disabled {
    pointer-events: inherit;
    cursor: inherit;
}

.firenote-calendar-view button.transparent {
    border: 0px solid #eee;
    background-color: transparent;
}

.firenote-calendar-view button:hover {
    color: #fff;
    background-color: #46b6f7;
    opacity: 1 !important;
}

.firenote-calendar-view div.ant-picker-calendar-mode-switch {
    display: none;
}

@media (max-width: 1201px) {
  .firenote-calendar-view * {
      font-size: 9pt;
  }

  .firenote-calendar-view .calendar-cell {
      margin: 0 !important;
  }
}

/* Scheduling */

.firenote-scheduling-table-row-class {
    vertical-align: top;
}

.firenote-scheduling-table-row-class-danger {
    vertical-align: top;
    background-color: #fff4f4;
}

.firenote-scheduling-table-row-class-warning {
    vertical-align: top;
    background-color: #fffbeb;
}

.firenote-scheduling-table-row-class-success {
    vertical-align: top;
    background-color: #f0ffef;
}

.firenote-scheduling-table-row-class-danger .ant-table-cell-row-hover {
    background-color: #ffebeb !important;
}

.firenote-scheduling-table-row-class-warning .ant-table-cell-row-hover {
    background-color: #fff9d0 !important;
}

.firenote-scheduling-table-row-class-success .ant-table-cell-row-hover {
    background-color: #e3ffde !important;
}

@media (max-width: 1750px) {
  .firenote-scheduling-table *:not(.ant-spin-dot-item, .ant-spin-dot, .ant-spin-dot-spin) {
      font-size: 9pt;
  }
}

.firenote-scheduling-table-paddingless-column {
    padding: 0 !important;
}

.firenote-scheduling-table-monthly-cell-overlay {
    position: absolute;
    cursor: pointer;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: -99999;
    color: #ddd;
}

.firenote-scheduling-table-paddingless-column:hover .firenote-scheduling-table-monthly-cell-overlay {
    opacity: 0.5;
    z-index: 1;
    background-color: #aaa;
}


/* COMMENT HIGHLIGHTING BEGIN */

.highlighted-comment>.ant-comment-inner {
    width:100%;
    height:auto;
    animation:bg 2s ease-in;
    -webkit-animation:bg 2s ease-in;
    -moz-animation:bg 2s ease-in;
    -ms-animation:bg 2s ease-in;
    -o-animation:bg 2s ease-in;
}
@-webkit-keyframes bg{
    0% { background: #e6f7ffff }
    100% { #e6f7ff00 }
}
@-moz-keyframes bg{
    0% { background: #e6f7ffff }
    100% { #e6f7ff00 }
}
@-ms-keyframes bg{
    0% { background: #e6f7ffff }
    100% { #e6f7ff00 }
}
@-o-keyframes bg{
    0% { background: #e6f7ffff }
    100% { #e6f7ff00 }
}

/* COMMENT HIGHLIGHTING END */

/* CAREPERIODS TABLE (Patient Info / Care Periods) */

.careperiod-table-inactive {
    color: #00000073;
}

.inputnumber-no-arrows .ant-input-number-handler-wrap {
    display: none;
}


/* ON CALL BOARD */

.on-call-expand-previous-discussion-comment > .ant-comment-inner {
    padding-bottom: 0;
}


/* Tabs */

.full-width-tabs .ant-tabs-nav-list {
    width: 100% !important;
}

.full-width-tabs .ant-tabs-tab {
    flex: 1;
}

.no-shadow-tabs .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
    text-shadow: none;
}



/* PDF Preview */

.pdf-preview .layout-top-running {
    display: none;
}

.pdf-preview .footer {
    display: none;
}

.pdf-preview {
    max-width: 1000px;
    background-image: url(../img/previewbg.gif);
    padding: 25px 0;
    border-top: 3px dashed #f0f0f0;
    border-bottom: 3px dashed #f0f0f0;
}

/* COMBOBOX */

.combobox .input-group:focus-within {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: none !important;
    box-shadow: 0 0 0 0.1rem rgb(13 110 253 / 25%);
    z-index: 3;
}

.combobox .input-group:hover * {
    border-color: #86b7fe;
}

.combobox .input-group:focus-within .input-group-text {
    color: lightgray;
    background-color: #fff;
    border-color: #86b7fe;
    outline: none !important;
    z-index: 3;
}

.combobox .input-group.is-invalid .form-control,
.combobox .input-group.is-invalid .input-group-text {
    border-color: #dc3545;
    background-color: #fff;
}

.combobox .input-group .input-group-text {
    color: lightgray;
    background-color: #fff;
}

.combobox .input-group .form-control:focus {
    box-shadow: none !important;
}

/* HTMX billed-items-page specific */

#billed-items-page .form-control::placeholder {
    color: lightgray;
}

#billed-items-page .form-control:hover {
    border-color: #86b7fe;
}

#current-billed-items-section .table th,
#current-billed-items-section .table td {
    text-align: left;
}

#current-billed-items-section .table .text-right {
    text-align: right;
}

/* HTMX Indicator - don't show until activated */

.htmx-indicator{
    display: none;
    opacity:0;
    transition: opacity 500ms ease-in;
}
.htmx-request .htmx-indicator{
    display: block;
    opacity:1
}
.htmx-request.htmx-indicator{
    display: block;
    opacity:1
}

.table th, .table td {
    vertical-align: middle;
    text-align: center;
}

.striped-table tbody tr:nth-child(odd),
.striped-table tbody tr:nth-child(odd) td {
    background-color: white;
}

.striped-table tbody tr:nth-child(even),
.striped-table tbody tr:nth-child(even) td {
    background-color: #f5f5f5;
}

.striped-table tbody tr:nth-child(even) input,
.striped-table tbody tr:nth-child(even) select,
.striped-table tbody tr:nth-child(even) textarea {
    background-color: #f5f5f5;
}

.striped-table tbody tr:nth-child(odd) input,
.striped-table tbody tr:nth-child(odd) select,
.striped-table tbody tr:nth-child(odd) textarea {
    background-color: white;
}

.no-spin::-webkit-inner-spin-button, .no-spin::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.no-spin {
    -moz-appearance:textfield !important;
}
