@media (max-width: 639px) {
  .ids-desktop {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .ids-mobile {
    display: none !important;
  }
}

/*******
* ICONS
********/
/*******
* BUTTONS
********/
/*******
* SCROLLBAR
********/
/*******
* FORM
********/
/*******
* A11Y
********/
.ids--light, .ids--dark {
  --IDS-FONT-FAMILY-BASE: "Open Sans";
  --IDS-FONT-FAMILY-HEADING: "Inter";
  --IDS-FONT-COLOR: var(--ids-color-surface-text-on-default);
  --IDS-HEADING-XXL__MARGIN-BOTTOM: 1.875rem;
  --IDS-HEADING-XL__MARGIN-BOTTOM: 1.875rem;
  --IDS-HEADING-L__MARGIN-BOTTOM: 1.875rem;
  --IDS-PAGE-LIST__COLOR: var(--ids-color-brand-text-primary);
  --IDS-PAGE-LIST__FONT-FAMILY: var(--IDS-FONT-FAMILY-HEADING);
  --IDS-PAGE-LIST__FONT-SIZE: 1.25rem;
  --IDS-PAGE-LIST__LINE-HEIGHT: 1.5rem;
  --IDS-PAGE-LIST__FONT-WEIGHT: 700;
  --IDS-PAGE-LIST__LETTER-SPACING: -0.025rem;
  --IDS-BULLET-LIST__MARKER-COLOR: var(--ids-color-brand-text-primary);
  --IDS-BULLET-LIST__MARKER-FONT-WEIGHT: bold;
  --IDS-BULLET-LIST__LINE-HEIGHT: 1.5rem;
  --IDS-DIVIDER__COLOR: var(--ids-color-surface-border-default);
}
.ids--light.ids--1177-pro, .ids--light.ids--1177-admin, .ids--dark.ids--1177-pro, .ids--dark.ids--1177-admin {
  --IDS-PAGE-LIST__COLOR: var(--ids-color-interactive-text-default);
}
.ids--light.ids--inera, .ids--light.ids--inera-admin, .ids--dark.ids--inera, .ids--dark.ids--inera-admin {
  --IDS-FONT-FAMILY-BASE: "Open Sans";
  --IDS-FONT-FAMILY-HEADING: "Poppins";
  --IDS-HEADING-XXL__MARGIN-BOTTOM: 1.25rem;
  --IDS-HEADING-XL__MARGIN-BOTTOM: 1.25rem;
  --IDS-HEADING-L__MARGIN-BOTTOM: 1.25rem;
  --IDS-PAGE-LIST__FONT-WEIGHT: 600;
  --IDS-PAGE-LIST__LETTER-SPACING: 0;
  --IDS-BULLET-LIST__MARKER-FONT-WEIGHT: normal;
  --IDS-BULLET-LIST__LINE-HEIGHT: 1.625rem;
  --IDS-DESCRIPTION-LIST__TERM-FONT-WEIGHT: 600;
}
.ids--light.ids--dark, .ids--dark.ids--dark {
  --IDS-PAGE-LIST__COLOR: var(--ids-color-navigation-text-default);
}
.ids--light.ids--dark.ids--1177-pro, .ids--light.ids--dark.ids--1177-admin, .ids--light.ids--dark.ids--inera, .ids--light.ids--dark.ids--inera-admin, .ids--dark.ids--dark.ids--1177-pro, .ids--dark.ids--dark.ids--1177-admin, .ids--dark.ids--dark.ids--inera, .ids--dark.ids--dark.ids--inera-admin {
  --IDS-PAGE-LIST__COLOR: var(--ids-color-interactive-text-default);
}

.ids-header-patient {
  width: 100%;
  z-index: 2;
  position: relative;
  background: var(--IDS-HEADER-PATIENT__BACKGROUND-COLOR);
  box-shadow: var(--IDS-BOX-SHADOW-ELEVATED-1);
  box-sizing: border-box;
  border-bottom: 0.0625rem solid var(--IDS-HEADER-PATIENT__BORDER-COLOR);
}
.ids-header-patient .ids-patient-header__inner {
  max-width: var(--IDS__MAX-WIDTH);
  padding: var(--IDS__CONTAINER-PADDING);
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  box-sizing: border-box;
  gap: 1rem;
}
.ids-header-patient .ids-header-patient__content {
  display: flex;
  margin-top: 0.125rem;
}
.ids-header-patient .ids-header-patient__id {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  position: relative;
  flex-shrink: 0;
  padding-left: 1.75rem;
  margin: 0.25rem;
}
.ids-header-patient .ids-header-patient__id:before {
  font: icon;
  font-family: "Inera-Design-Icons" !important;
  display: block;
  position: absolute;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\e923";
  font-size: 1.25rem;
  top: 0;
  left: 0;
  color: var(--IDS-HEADER-PATIENT__COLOR);
}
.ids-header-patient .ids-header-patient__name {
  display: flex;
  margin-right: 0.5rem;
  font-style: normal;
  color: var(--ids-color-heading-text-s);
  font-family: var(--ids-font-family-heading);
  font-size: var(--ids-font-size-heading-xs);
  line-height: var(--ids-font-line-height-heading-xs);
  letter-spacing: var(--ids-font-letter-spacing-heading-xs);
  font-weight: var(--ids-font-weight-heading-xs);
}
.ids-header-patient .ids-header-patient__ssn {
  white-space: nowrap;
  display: flex;
  font-style: normal;
  color: var(--ids-color-surface-text-on-default);
  font-family: var(--ids-font-family-body-text);
  font-size: var(--ids-font-size-body-text);
  line-height: var(--ids-font-line-height-body-text);
  font-weight: var(--ids-font-weight-body-text);
  letter-spacing: 0;
  line-height: var(--ids-font-line-height-heading-xs);
}
.ids-header-patient .ids-header-patient__info {
  margin: 0 0 0 1.5rem;
  font-style: normal;
  color: var(--ids-color-surface-text-on-default);
  font-family: var(--ids-font-family-body-text);
  font-size: var(--ids-font-size-body-text);
  line-height: var(--ids-font-line-height-body-text);
  font-weight: var(--ids-font-weight-body-text);
  letter-spacing: 0;
}
.ids-header-patient .ids-header-patient__buttons {
  min-width: 17.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.25rem 1rem;
  flex-wrap: wrap;
}
.ids-header-patient .ids-header-patient__buttons .ids-button {
  display: inline-block;
  white-space: nowrap;
}
.ids-header-patient.ids-header-patient--long-name .ids-header-patient__id {
  flex-shrink: inherit;
}
.ids-header-patient.ids-header-patient--long-name .ids-header-patient__id {
  flex-direction: column !important;
}
.ids-header-patient.ids-header-patient--stack .ids-header-patient__id {
  flex-direction: column !important;
}
.ids-header-patient.ids-header-patient--collapse {
  box-shadow: none;
}
.ids-header-patient.ids-header-patient--collapse .ids-header-patient__info,
.ids-header-patient.ids-header-patient--collapse .ids-header-patient__buttons {
  display: none;
}
.ids-header-patient.ids-header-patient--collapse.ids-header-patient--long-name:not(.ids-header-patient--stack) .ids-header-patient__ssn {
  display: inline;
}
@media (max-width: 1024px) {
  .ids-header-patient .ids-patient-header__inner {
    flex-direction: column;
    padding: 0.75rem 1rem;
  }
  .ids-header-patient .ids-header-patient__content {
    flex-direction: column;
    margin-top: 0;
  }
  .ids-header-patient .ids-header-patient__buttons {
    white-space: normal;
    align-items: center;
    justify-content: center;
    min-width: none;
  }
  .ids-header-patient .ids-header-patient__info {
    margin: 0.5rem 0;
  }
  .ids-header-patient.ids-header-patient--stack .ids-header-patient__ssn {
    margin-left: 0;
  }
}