/* Custom colors */
.bg-professional,
.bg-professional > a {
  color: #000000 !important;
  background-color: #DFFBF9 !important;
}

.bg-patients,
.bg-patients > a {
  color: #000000 !important;
  background-color: #FBEEE6 !important;
}

.bg-hc-header,
.bg-hc-header > a {
  color: #000000 !important;
  background-color: #FBEEE6 !important;
}

/* Inline forms */
@media (min-width: 576px) {
  .form-inline .is-invalid ~ .invalid-feedback {
    width: auto;
    vertical-align: middle;
    margin-left: .5rem;
  }
}

/* Entity forms */
.node-form details summary,
.user-form details summary {
  margin: 8px 0;
  padding: 2px 8px;
  font-size: 1.1rem;
  font-weight: 700;
  background-color: #d2d6de;
  border: 1px solid #d2d6de;
}

.node-form fieldset legend,
.user-form fieldset legend {
  margin: 8px 0 0;
  padding: 2px 8px;
  font-size: 1.1rem;
  font-weight: 700;
  background-color: #d2d6de;
  border: 1px solid #d2d6de;
}

.node-form fieldset .fieldset-wrapper,
.user-form fieldset .fieldset-wrapper {
  padding: 8px;
  border: 1px solid #d2d6de;
}

form .form-group label {
  position: relative;
}

.node-form .hide-label label,
.user-form .hide-label label,
.profile-form .hide-label label,
.taxonomy-term-form .hide-label label,
.custom-user-form-base .hide-label label,
.custom-calendar-form-base .hide-label label,
.custom-node-form-base .hide-label label {
  display: none;
}

.node-form .hide-delete .field-multiple-table .form-submit,
.user-form .hide-delete .field-multiple-table .form-submit,
.profile-form .hide-delete .field-multiple-table .form-submit,
.taxonomy-term-form .hide-delete .field-multiple-table .form-submit,
.custom-user-form-base .hide-delete .field-multiple-table .form-submit,
.custom-calendar-form-base .hide-delete .field-multiple-table .form-submit,
.custom-node-form-base .hide-delete .field-multiple-table .form-submit {
  display: none;
}

.node-form label.form-required:after,
.user-form label.form-required:after,
.profile-form label.form-required:after,
.taxonomy-term-form label.form-required:after,
.custom-user-form-base label.form-required:after,
.custom-calendar-form-base label.form-required:after,
.custom-node-form-base label.form-required:after {
  margin-left: 4px;
  content: "*";
  color: #d00;
}

.node-form .form-checkboxes,
.node-form .form-radios,
.user-form .form-checkboxes,
.user-form .form-radios,
.profile-form .form-checkboxes,
.profile-form .form-radios,
.taxonomy-term-form .form-checkboxes,
.taxonomy-term-form .form-radios,
.custom-user-form-base .form-checkboxes,
.custom-user-form-base .form-radios,
.custom-calendar-form-base .form-checkboxes,
.custom-calendar-form-base .form-radios,
.custom-node-form-base .form-checkboxes,
.custom-node-form-base .form-radios {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

.node-form .form-checkboxes .form-group,
.node-form .form-radios .form-group,
.user-form .form-checkboxes .form-group,
.user-form .form-radios .form-group,
.profile-form .form-checkboxes .form-group,
.profile-form .form-radios .form-group,
.taxonomy-term-form .form-checkboxes .form-group,
.taxonomy-term-form .form-radios .form-group,
.custom-user-form-base .form-checkboxes .form-group,
.custom-user-form-base .form-radios .form-group,
.custom-calendar-form-base .form-checkboxes .form-group,
.custom-calendar-form-base .form-radios .form-group,
.custom-node-form-base .form-checkboxes .form-group,
.custom-node-form-base .form-radios .form-group {
  margin-right: 24px;
}

.node-form .field--type-datetime .fieldset-wrapper,
.user-form .field--type-datetime .fieldset-wrapper,
.profile-form .field--type-datetime .fieldset-wrapper,
.taxonomy-term-form .field--type-datetime .fieldset-wrapper,
.custom-user-form-base .field--type-datetime .fieldset-wrapper,
.custom-calendar-form-base .field--type-datetime .fieldset-wrapper,
.custom-node-form-base .field--type-datetime .fieldset-wrapper {
  margin-bottom: 1rem;
}

.node-form .field--type-datetime .fieldset-wrapper > div,
.user-form .field--type-datetime .fieldset-wrapper > div,
.profile-form .field--type-datetime .fieldset-wrapper > div,
.taxonomy-term-form .field--type-datetime .fieldset-wrapper > div,
.custom-user-form-base .field--type-datetime .fieldset-wrapper > div,
.custom-calendar-form-base .field--type-datetime .fieldset-wrapper > div,
.custom-node-form-base .field--type-datetime .fieldset-wrapper > div {
  display: flex;
  gap: 8px;
}

.node-form .field--type-datetime .fieldset-wrapper .form-group,
.user-form .field--type-datetime .fieldset-wrapper .form-group,
.profile-form .field--type-datetime .fieldset-wrapper .form-group,
.taxonomy-term-form .field--type-datetime .fieldset-wrapper .form-group,
.custom-user-form-base .field--type-datetime .fieldset-wrapper .form-group,
.custom-calendar-form-base .field--type-datetime .fieldset-wrapper .form-group,
.custom-node-form-base .field--type-datetime .fieldset-wrapper .form-group {
  margin: 0;
}

.node-form .select-wrapper,
.user-form .select-wrapper,
.profile-form .select-wrapper,
.taxonomy-term-form .select-wrapper,
.custom-user-form-base .select-wrapper,
.custom-calendar-form-base .select-wrapper,
.custom-node-form-base .select-wrapper {
  margin: 0;
  margin-bottom: 4px;
}

/* Multivalue field */
.tabledrag-toggle-weight-wrapper,
.tabledrag-changed-warning,
.tabledrag-changed {
  display: none !important;
}

.node-form table,
.profile-form table,
.user-form table {
  width: 100%;
}

.node-form table .tabledrag-handle .handle,
.profile-form table .tabledrag-handle .handle,
.user-form table .tabledrag-handle .handle {
  width: 24px;
  height: 24px;
}

.node-form table fieldset .fieldset-wrapper,
.profile-form table fieldset .fieldset-wrapper,
.user-form table fieldset .fieldset-wrapper {
  padding: 0;
  border: 0;
}

.node-form .horizontal-tabs,
.user-form .horizontal-tabs {
  margin: 0;
  padding: 0;
  border: 0;
}

.node-form .horizontal-tabs-panes .horizontal-tabs-pane,
.user-form .horizontal-tabs-panes .horizontal-tabs-pane {
  padding: 0;
  border: 0;
}

.node-form .vertical-tabs,
.user-form .vertical-tabs {
  margin: 0 0 0 15em;
}

.node-form .vertical-tabs__pane,
.user-form .vertical-tabs__pane {
  margin: 0;
  border: 0;
  padding: 10px;
}

.field--widget-inline-entity-form-simple:not(.show-all-labels) tr:first-child label {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.field--widget-inline-entity-form-simple:not(.show-all-labels) tr:not(:first-child) label,
.field--widget-inline-entity-form-simple:not(.show-all-labels) tr:not(:first-child) .field--widget-readonly-field-widget > div > div:first-child {
  display: none;
}

.field--widget-readonly-field-widget > div > div:first-child {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

/* User pages */
.user-login-form,
.user-pass,
.contact-message-feedback-form {
  margin: 20px auto;
  padding: 20px;
  max-width: 600px;
  background-color: #d2d6de;
  border: 1px solid #d2d6de;
}

/* Page Title */
#block-patients-page-title {
  text-align: center;
}

/* Hide Drupal System Messages. */
.main-system-messages,
#main-system-messages,
div[data-drupal-messages],
div[data-drupal-messages-fallback] {
  display: none !important;
}

/* Hide Drupal Contextual Links. */
.contextual {
  display: none;
}

.layout-builder-block > .contextual {
  display: block;
}

.control-sidebar, .control-sidebar::before {
  width: auto;
}

.nav-sidebar .nav-item > .nav-link {
  text-wrap: nowrap;
}

/* Modal */
.modal-dialog {
  background-color: white;
}

.modal-dialog .modal-content {
  background-color: unset;
}

.modal-dialog .modal-content .modal-body {
  max-height: calc(100vh - 200px);
  overflow-y: scroll;
}

#drupal-off-canvas-wrapper.ui-dialog-off-canvas {
  --off-canvas-padding: 10px !important;
  --off-canvas-wrapper-border-color: #FFFFFF !important;
  --off-canvas-background-color-medium: #FFFFFF !important;
  --off-canvas-button-text-color: #000000 !important;
  --off-canvas-title-background-color: #FFFFFF !important;
  --off-canvas-title-text-color: #000000 !important;
  --off-canvas-details-background-color: #FFFFFF !important;
  --off-canvas-details-text-color: #000000 !important;
  --drupal-off-canvas-input-border: 1px solid #ced4da;
  top: 55px !important;
  padding-top: 55px !important;
  height: calc(100% - 55px) !important;
  /* Close button. */
}

#drupal-off-canvas-wrapper.ui-dialog-off-canvas .ui-dialog-titlebar {
  position: fixed;
  top: 55px;
  width: 400px;
  font-size: 1.4rem;
  font-weight: 400;
}

#drupal-off-canvas-wrapper.ui-dialog-off-canvas .ui-dialog-titlebar-close {
  position: absolute;
  top: 2rem;
  right: 1rem;
  inset-inline: auto 0.625rem;
  overflow: hidden;
  width: 1.875rem;
  height: 1.875rem;
  cursor: pointer;
  transform: translateY(-50%);
  text-indent: -624.9375rem;
  color: inherit;
  border: 1px solid transparent;
  background-color: transparent;
  appearance: none;
  /* The plus icon. */
  /* Hide the default jQuery UI dialog close button. */
}

#drupal-off-canvas-wrapper.ui-dialog-off-canvas .ui-dialog-titlebar-close::before, #drupal-off-canvas-wrapper.ui-dialog-off-canvas .ui-dialog-titlebar-close::after {
  position: absolute;
  top: calc(50% - 1px);
  left: 50%;
  width: 50%;
  height: 0;
  content: "";
  border-top: solid 2px currentColor;
}

#drupal-off-canvas-wrapper.ui-dialog-off-canvas .ui-dialog-titlebar-close::before {
  transform: translate(-50%, 50%) rotate(-45deg);
}

#drupal-off-canvas-wrapper.ui-dialog-off-canvas .ui-dialog-titlebar-close::after {
  transform: translate(-50%, 50%) rotate(45deg);
}

#drupal-off-canvas-wrapper.ui-dialog-off-canvas .ui-dialog-titlebar-close .ui-icon {
  display: none;
}

#drupal-off-canvas-wrapper.ui-dialog-off-canvas .ui-resizable-handle {
  display: none !important;
}

#drupal-off-canvas-wrapper.ui-dialog-off-canvas .ui-dialog-content {
  height: 100% !important;
}

#drupal-off-canvas-wrapper.ui-dialog-off-canvas .node-form {
  padding-bottom: 55px !important;
}

#drupal-off-canvas-wrapper.ui-dialog-off-canvas .form-actions {
  position: fixed;
  bottom: 0;
  padding: 10px 0;
  width: 100%;
  background-color: var(--off-canvas-title-background-color);
  border-top: 1px solid #dee2e6;
}

#drupal-off-canvas-wrapper.ui-dialog-off-canvas .form-actions a {
  color: #FFFFFF !important;
}

/* Entity view */
.node-view details summary,
.user-view details summary {
  margin: 8px 0;
  padding: 2px 8px;
  font-size: 1.1rem;
  font-weight: 700;
  background-color: #d2d6de;
  border: 1px solid #d2d6de;
}

.node-view fieldset legend,
.user-view fieldset legend {
  margin: 8px 0 0;
  padding: 2px 8px;
  font-size: 1.1rem;
  font-weight: 700;
  background-color: #d2d6de;
  border: 1px solid #d2d6de;
}

.node-view fieldset .fieldset-wrapper,
.user-view fieldset .fieldset-wrapper {
  padding: 8px;
  border: 1px solid #d2d6de;
}

/* Views */
.views-exposed-form,
.calendar-filters-form-base,
.chart-filters-form-base {
  padding: 0 4px 4px;
  border-radius: 0.3rem;
  background-color: #d2d6de;
  border: 1px solid #d2d6de;
  color: #444;
}

.views-exposed-form .form-group {
  display: inline-block;
  width: 150px;
  margin: 4px;
}

.views-exposed-form .form-group.form-wrapper,
.views-exposed-form .form-group.form-wrapper .form-group {
  width: auto;
}

.views-exposed-form .form-group.form-item-status, .views-exposed-form .form-group.form-item-items-per-page {
  width: 70px;
}

.views-exposed-form .form-actions {
  display: inline-block;
}

.calendar-filters-form-base .form-group,
.chart-filters-form-base .form-group {
  margin-bottom: 4px;
}

.calendar-filters-form-base .form-actions,
.chart-filters-form-base .form-actions {
  display: flex;
  align-items: end;
  margin-bottom: 4px;
}

.views ul {
  padding-inline-start: 0;
  list-style-type: none;
}

.views ol ol,
.views ol ul,
.views ul ol,
.views ul ul {
  padding-inline-start: 1rem;
}

.views .table-bordered td, .views .table-bordered th {
  max-width: 500px;
}

.views .views-field-field-date .date-recur-date,
.views .views-field-field-date > div {
  white-space: nowrap;
}

.views .pager__item.is-active .page-link {
  color: #ffffff;
  background-color: #007bff;
}

.list-group-item {
  background-color: transparent;
}

/* Card */
.card-title {
  font-size: 1.2rem;
}

.card-title-lg {
  font-size: 1.6rem;
}

/* Chart */
.chart-table-base thead td,
.chart-table-base tfoot td {
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
}

.chart-table-base tbody td:not(:nth-child(2)),
.chart-table-base tfoot td:not(:nth-child(2)) {
  text-align: right;
  width: 100px;
}

/* Date Recur */
.date-recur-modular-alpha-widget .form-item-field-date-0-mode {
  margin-right: 20px;
}

.date-recur-modular-alpha-widget .ends {
  display: block !important;
}

.date-recur-modular-alpha-widget .ends > * {
  display: block;
  width: 100%;
  padding: 0;
}

.date-recur-modular-alpha-widget div[class*="form-item-field-date-0-weekdays"],
.date-recur-modular-alpha-widget div[class*="form-item-field-date-0-ordinals"],
.date-recur-modular-alpha-widget .ends .form-item-field-date-0-ends-mode,
.date-recur-modular-alpha-widget .custom_update_option .form-item,
.date-recur-modular-alpha-widget .custom_field_option .form-item {
  display: inline-block;
  margin: 4px 10px;
}

.date-recur-modular-alpha-widget .form-item-field-date-0-daily-count > *,
.date-recur-modular-alpha-widget .form-item-field-date-0-ends-count > *,
.date-recur-modular-alpha-widget .form-item-field-date-0-ends-date-date,
.date-recur-modular-alpha-widget .form-item-field-date-0-ends-date-time {
  display: inline-block;
  margin-right: 10px;
}

.date-recur-modular-alpha-widget .form-item-field-date-0-daily-count > span,
.date-recur-modular-alpha-widget .form-item-field-date-0-ends-count > span {
  width: auto;
}

.date-recur-modular-alpha-widget .form-item-field-date-0-daily-count > input,
.date-recur-modular-alpha-widget .form-item-field-date-0-ends-count > input {
  width: 70px;
}

.date-recur-modular-alpha-widget .form-item-field-date-0-ends-date-date > input,
.date-recur-modular-alpha-widget .form-item-field-date-0-ends-date-time > input {
  width: 140px;
}

/* Full Calendar */
.fc .fc-toolbar.fc-header-toolbar {
  margin: 0;
  padding: 1rem 0;
}

.fc-v-event .fc-event-main {
  color: #000000 !important;
}

.fc .fc-list-table {
  border-collapse: collapse;
  border-style: solid;
}

.fc-timegrid-slots tr {
  line-height: 40px !important;
}

.fc-timegrid-slots td {
  height: unset !important;
}

.fc-list-day {
  border-left-width: 5px;
  border-left-style: solid !important;
  border-left-color: #ECECEC !important;
}

.fc-event {
  border-left-width: 5px;
}

.fc-event.pat-appointment {
  border-left-color: #DD0000 !important;
}

.fc-event.pat-event {
  border-left-color: #0000DD !important;
}

.fc-event.pat-pending-confirmation {
  border-left-style: double !important;
}

.fc-event.pat-pending {
  border-left-style: dashed !important;
}

.fc-event.pat-attended, .fc-event.pat-done {
  border-left-style: solid !important;
}

.fc-event.pat-canceled {
  border-left-style: hidden !important;
  opacity: 0.7;
}

.fc-event.pat-canceled:hover {
  opacity: 1;
}

.fc-daygrid-event,
.fc-timegrid-event {
  border-radius: 0;
}

.fieldset-wrapper > .js-office-hours-operations-wrapper {
  display: none;
}

/* Select2 */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
  color: #000000;
}

.select2-container.select2-container--default .select2-selection--single {
  height: calc(1.5em + .75rem + 2px);
  overflow: hidden;
}

/* Smart Date */
.smartdate--widget h4 {
  display: none;
}

.smartdate--widget .smartdate--separator {
  display: none;
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
  color: #212529;
  text-align: left;
}

.smartdate--widget .form-item {
  margin: 8px !important;
}

.smartdate--widget .smartdate--time-inline {
  /* div.time-end .form-item-field-date-0-time-wrapper-end-value-date {
      display: none;
    } */
}

.smartdate--widget .smartdate--time-inline div.time-start,
.smartdate--widget .smartdate--time-inline div.time-end {
  flex-wrap: unset;
}

.smartdate--widget .allday-label {
  float: none;
  margin: 4px 50px 4px 0;
}

.smartdate--widget .allday {
  margin: 0 8px 0;
}

.smartdate--widget .duration-wrapper {
  display: inline-block;
}

.smartdate--widget .duration-wrapper .field-duration {
  display: inline-block;
  width: auto;
  margin-left: 8px;
}

.views-patient-summary .program-admissions {
  max-height: 60px;
  width: 80px;
}

.views-patient-summary .program-admissions .program-chn {
  line-height: 1.5rem;
  font-size: 1.5rem;
}

.views-patient-summary .program-admission {
  height: 60px;
  max-width: calc(100% - 85px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.views-exposed-form .form-group.form-item-appointment-types, .views-exposed-form .form-group.form-item-event-types, .views-exposed-form .form-group.form-item-hc-detail-specialty {
  width: 300px;
}

.views-exposed-form .form-group.form-item-appointment-status, .views-exposed-form .form-group.form-item-event-status, .views-exposed-form .form-group.form-item-hc-detail-record-type, .views-exposed-form .form-group.form-item-hc-detail-status {
  width: auto;
  min-width: 150px;
  max-width: 350px;
}

.views-disorder-list .views-field .tax-hierarchical-depth-0 {
  margin-left: 0;
  font-size: 26px;
  font-weight: 800;
}

.views-disorder-list .views-field .tax-hierarchical-depth-1 {
  margin-left: 20px;
  font-size: 24px;
  font-weight: 600;
}

.views-disorder-list .views-field .tax-hierarchical-depth-2 {
  margin-left: 40px;
  font-size: 20px;
  text-decoration: underline;
}

.views-disorder-list .views-field .tax-hierarchical-depth-3 {
  margin-left: 60px;
  font-size: 18px;
}

.views-disorder-list .views-field .tax-hierarchical-depth-4 {
  margin-left: 80px;
  font-size: 16px;
}

.views-disorder-list .views-field .tax-hierarchical-depth-5 {
  margin-left: 100px;
  font-size: 14px;
}

.views-clinical-history-header .class-header .btn-link {
  width: 100%;
}

.views-clinical-history-header .card-body .card {
  box-shadow: none;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
}

.views-permission-list .views-field .tax-hierarchical-depth-0 {
  margin-left: 0;
  font-size: 20px;
  font-weight: 600;
}

.views-permission-list .views-field .tax-hierarchical-depth-1 {
  margin-left: 40px;
}

/*# sourceMappingURL=styles.css.map */
