/* Copyright 2018-2026 Epic Systems Corporation */
body.color1 #header {
  --wp-header-contrasting-proxy-color: #006991;
}

body.color2 #header {
  --wp-header-contrasting-proxy-color: #04c5f7;
}

body.color3 #header {
  --wp-header-contrasting-proxy-color: #464646;
}

body.color4 #header {
  --wp-header-contrasting-proxy-color: #908d8d;
}

body.color5 #header {
  --wp-header-contrasting-proxy-color: gainsboro;
}

body.color6 #header {
  --wp-header-contrasting-proxy-color: #00a037;
}

body.color7 #header {
  --wp-header-contrasting-proxy-color: #a63387;
}

html {
  scroll-padding-top: var(--wp-header-height);
}

#header {
  background-color: var(--wpcolor_transparent);
  background: var(--wpcolor_transparent);
}
@media print {
  #header {
    display: none;
  }
}

/* #region inside the menu */
#menu-header .menu-closebutton {
  flex-shrink: 0;
  height: 2rem;
  width: 2rem;
  margin: 0.25rem;
  border-radius: 50%;
  /* rtl:raw: transform: scale(-1,1); */
}
@media only screen and (max-width: 768px) {
  #menu-header .menu-closebutton {
    display: none;
  }
}
#menu-header .menu-closebutton:active {
  filter: brightness(1.2);
}
#menu-header .menu-closebutton .menu-buttonicon {
  margin: 0.125rem;
  height: 1.75rem;
  width: 1.75rem;
  fill: var(--wpcolor_white);
}

.menu-responsiveclosebutton {
  padding-right: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--wptheme_font-style_link_color);
}
@media screen {
  .menu-responsiveclosebutton:is(:focus, :hover) {
    color: color-mix(in srgb, #000000 12.2%, var(--wptheme_font-style_link_color));
    text-decoration: underline;
  }
}

@media only screen and (min-width: 769px) {
  .menu-responsiveclosebutton {
    display: none;
  }
}
.menu-responsiveclosebutton.iOS:focus {
  outline: none;
}

.menu-searchcontainer {
  display: flex;
  flex-direction: row-reverse;
  min-height: 3rem;
}

.menu-searchbarcontainer {
  display: flex;
}

.menu-searchbar {
  width: 100%;
  min-width: 0%;
  max-height: 2.25rem;
  display: inline-block;
  margin: 0.5rem;
  padding-left: 2rem;
  padding-right: 2rem;
  -webkit-appearance: none;
  z-index: 10;
  background: var(--wpcolor_transparent);
}
.menu-searchbar::-ms-clear {
  display: none;
}
.menu-searchbar[placeholder] {
  text-overflow: ellipsis;
}

.menu-searchicon {
  margin: 0.6rem;
  margin-right: -2.5rem;
  z-index: 9;
  height: 2rem;
  width: 2rem;
}

.menu-searchemptybutton {
  margin: 0.6rem;
  margin-left: -2.6rem;
  z-index: 11;
}

.menu-searchemptyicon {
  fill: currentColor;
  height: 2rem;
  width: 2rem;
  transform: scale(0.6375);
}

#menu-shield {
  position: fixed;
  background-color: color-mix(in srgb, var(--wpcolor_black) 40%, transparent);
  height: 100%;
  width: 100%;
  left: 0px;
  top: 0px;
  opacity: 0;
  transition: 0.1s;
  transition-timing-function: ease-out;
  z-index: 3002;
}
#menu-shield.menu-shieldopen {
  opacity: 1;
}

#menu-container {
  position: fixed;
  left: -25rem;
  transition: 0.2s;
  transition-timing-function: ease-in;
}
#menu-container.menu-open {
  left: 0;
  transition: 0.3s;
  transition-timing-function: ease-out;
}

#menu-container,
.menu-container {
  height: calc(100% - 1rem);
  width: 25rem;
  top: 1rem;
  background-color: var(--wpcolor_white);
  position: fixed;
  z-index: 3003;
  overflow-x: hidden;
  overflow-y: hidden;
  border-top-right-radius: 1.25rem;
  opacity: 0;
}
#menu-container.menu-open,
.menu-container.menu-open {
  opacity: 1;
}
#menu-container .menu-flexparent,
.menu-container .menu-flexparent {
  display: flex;
  flex-direction: column;
  height: 100%;
}
#menu-container .menu-headertop,
.menu-container .menu-headertop {
  display: flex;
  flex-direction: row-reverse;
}
#menu-container .menu-mainmenulist,
.menu-container .menu-mainmenulist {
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
  display: block;
}
#menu-container .menu-contextlabel,
.menu-container .menu-contextlabel {
  display: inline;
  font-weight: bold;
  text-align: center;
  padding-top: 1rem;
  word-break: break-word;
  font-size: var(--wptheme_font-size_1);
}
#menu-container .menu-searchlist,
.menu-container .menu-searchlist {
  overflow-y: auto;
  overflow-x: hidden;
}
#menu-container .submenu-header,
.menu-container .submenu-header {
  display: block;
  padding: 0.5rem;
  font-weight: bold;
  color: var(--wpcolor_stone_shadow);
  overflow-wrap: anywhere;
  font-size: var(--wptheme_font-size_1);
}
#menu-container .menuitem,
.menu-container .menuitem {
  position: relative;
}
#menu-container .menuitem .menuitem-label,
.menu-container .menuitem .menuitem-label {
  padding: 0.325rem 0 0.325rem 0.325rem;
  display: block;
  max-width: calc(100% - 2rem);
  overflow-wrap: anywhere;
  font-size: var(--wptheme_font-style_body_size);
  color: var(--wptheme_font-style_body_color);
  font-weight: var(--wptheme_font-style_body_weight);
  font-style: var(--wptheme_font-style_body_font-style);
  line-height: var(--wptheme_font-style_body_line-height);
  font-family: var(--wptheme_font-style_body_font-family);
  letter-spacing: var(--wptheme_font-style_body_letter-spacing);
}
#menu-container .menuitem .menuitem-icon,
.menu-container .menuitem .menuitem-icon {
  height: 1.75rem;
  width: 1.75rem;
  margin: 0.1rem;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 0.2rem;
  flex: 0 0 1.75rem;
}
#menu-container .menuitem:hover .menuitem-content,
.menu-container .menuitem:hover .menuitem-content {
  text-decoration: none;
  background: var(--wpcolor_stone_tint);
}
#menu-container .menuitem .menuitem-content:focus,
.menu-container .menuitem .menuitem-content:focus {
  text-decoration: none;
  background: var(--wpcolor_stone_tint);
}
#menu-container .menuitem .menuitem-content,
.menu-container .menuitem .menuitem-content {
  display: flex;
}
#menu-container .menuitem.menuitem-searchsynonymmatch,
.menu-container .menuitem.menuitem-searchsynonymmatch {
  min-height: 3rem;
}
#menu-container .menuitem.menuitem-searchsynonymmatch .menuitem-icon,
.menu-container .menuitem.menuitem-searchsynonymmatch .menuitem-icon {
  margin-top: 0.7rem;
}
#menu-container .menuitem.menuitem-searchsynonymmatch .menuitem-searchsynonym,
.menu-container .menuitem.menuitem-searchsynonymmatch .menuitem-searchsynonym {
  padding-left: 1rem;
  overflow-x: hidden;
  overflow-y: auto;
}
#menu-container .menuitem:not(:last-child),
.menu-container .menuitem:not(:last-child) {
  border-bottom: 1px solid var(--wpcolor_stone_light);
}
#menu-container .submenu:last-child,
.menu-container .submenu:last-child {
  padding-bottom: 2rem;
}
@media only screen and (max-width: 768px) {
  #menu-container,
  .menu-container {
    width: calc(100% - 1rem);
    height: calc(100% - 3rem);
    border-radius: 0.5rem;
    top: 2rem;
    transform: translateX(-100%);
    left: -100%;
  }
}
@media only screen and (max-width: 768px) and (orientation: landscape) {
  #menu-container,
  .menu-container {
    top: 0.5rem;
    height: calc(100% - 1rem);
  }
}
@media only screen and (max-width: 768px) {
  #menu-container.menu-open,
  .menu-container.menu-open {
    left: calc(100% - 0.5rem);
  }
  #menu-container .menu-list,
  .menu-container .menu-list {
    overflow-y: auto;
    max-height: none;
    margin-bottom: 0rem;
  }
  #menu-container .menu-headertop,
  .menu-container .menu-headertop {
    text-align: center;
  }
  #menu-container .menu-headertop .menu-contextlabel,
  .menu-container .menu-headertop .menu-contextlabel {
    padding-top: 0rem;
  }
  #menu-container .menu-header,
  .menu-container .menu-header {
    padding-top: 0.5rem;
  }
}

/* #endregion inside the menu */
/* #region Header */
/* #sub-region shared menu button and proxy-switcher styles */
#header_menu,
.proxySelectorDropDownContainer .proxyButton {
  width: max-content;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  padding: 2px 0.1rem;
  border-width: 0;
  color: var(--wpcolor_white);
  box-shadow: none;
}
#header_menu #header_menu_icon,
#header_menu #header_menu_icon .menu_image,
#header_menu .roundedPatientPhoto,
.proxySelectorDropDownContainer .proxyButton #header_menu_icon,
.proxySelectorDropDownContainer .proxyButton #header_menu_icon .menu_image,
.proxySelectorDropDownContainer .proxyButton .roundedPatientPhoto {
  height: 1.9rem;
  width: 1.9rem;
  min-width: 1.9rem;
  border-radius: 50%;
}
#header_menu:hover, #header_menu:focus,
.proxySelectorDropDownContainer .proxyButton:hover,
.proxySelectorDropDownContainer .proxyButton:focus {
  filter: brightness(1.2);
}

/* #end sub-region shared menu button and proxy-switcher styles */
#header:not(:empty) {
  box-shadow: 0 0 0.6rem 0 color-mix(in srgb, var(--wpcolor_black) 20%, transparent);
  z-index: 10;
}
.isInside #header:not(:empty).noTransitions {
  transition: none !important;
}

#wrap:has(#header.isSearchOpen) {
  z-index: 2;
}

#header.header_graphic {
  background-color: var(--wptheme_color_header, #00AFDC);
  transition: height 0.2s;
  top: 0;
  position: fixed;
}
#wrap:has(#header.header_graphic) {
  padding-top: var(--wp-header-height);
}
#header.header_graphic.shouldUseLegacyMenu:not(.midlogin), #header.header_graphic.shareEverywhereHeader {
  position: sticky;
}
#wrap:has(#header.header_graphic.shouldUseLegacyMenu:not(.midlogin), #header.header_graphic.shareEverywhereHeader) {
  padding-top: 0;
}
#header.header_graphic.static #graphicHeader #header_grid #header_extras {
  flex-direction: unset;
}
#header.header_graphic .fitme {
  max-width: 1440px;
}

#graphicHeader:empty {
  height: 3.25rem;
}

#graphicHeader:not(:empty) {
  margin-left: 0.3rem;
  width: calc(100% - 0.6rem);
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
}
#graphicHeader:not(:empty) #header_grid {
  display: grid;
  grid-auto-rows: 1fr;
  grid-template-columns: 1fr;
  min-width: 0;
  margin: 0 0.2rem;
}
#graphicHeader:not(:empty) #header_grid #header_navigation,
#graphicHeader:not(:empty) #header_grid #header_extras {
  width: 100%;
}
#graphicHeader:not(:empty) #skipToMain {
  left: 0;
  top: -5rem;
  display: block;
  position: fixed;
  color: var(--wpcolor_white);
  background: var(--wpcolor_black);
  border: 1px solid var(--wpcolor_white);
  border-radius: 6px;
  box-shadow: 0 0 3px var(--wpcolor_white);
  filter: brightness(1.2);
  margin: 2px;
  padding: 0.2rem;
  pointer-events: none;
  text-decoration: underline;
  z-index: 5;
  opacity: 0;
  transition-duration: 0.2s;
  transition-property: opacity;
  transition-property: opacity, top;
}
#graphicHeader:not(:empty) #skipToMain:focus {
  opacity: 1;
}

#graphicHeader:not(:empty) #skipToMain:focus {
  pointer-events: auto;
}

#graphicHeader:not(:empty) #skipToMain:focus {
  top: 0;
}

#graphicHeader:not(:empty) .headerButton {
  width: max-content;
}
#graphicHeader:not(:empty) .logo_image {
  max-height: 100%;
  width: 100%;
}
#graphicHeader:not(:empty) .mychart_by_epic_logo {
  max-height: 2.25rem;
  width: 4.2rem;
  margin-left: auto;
  margin-right: 0;
}
#graphicHeader:not(:empty) #header_logo {
  z-index: 1;
  height: 2.25rem;
  margin-left: 0px;
  transition: margin 0.2s, height 0.2s;
  margin-top: 0;
}
#graphicHeader:not(:empty) #header_logo .header_logo_link {
  display: block;
  position: relative;
  height: 100%;
  max-width: initial;
  background: var(--wpcolor_transparent) url("../images/logo.png") no-repeat scroll left/contain;
}
#graphicHeader:not(:empty) #header_go_home,
#graphicHeader:not(:empty) .headerButtonContainer {
  display: inline-block;
  width: auto;
}
#graphicHeader:not(:empty) #header_navigation,
#graphicHeader:not(:empty) .header_navigation_buttons {
  display: flex;
  align-items: flex-start;
  column-gap: 8px;
}
#graphicHeader:not(:empty) #header_navigation #header_to_mcc_button_icon,
#graphicHeader:not(:empty) .header_navigation_buttons #header_to_mcc_button_icon {
  height: 100%;
}
#graphicHeader:not(:empty) .header_navigation_buttons > div,
#graphicHeader:not(:empty) .header_navigation_buttons {
  width: auto;
}
#graphicHeader:not(:empty) #header_go_home {
  height: 2.25rem;
  width: 7.65rem;
}
#graphicHeader:not(:empty) #header_navigation {
  grid-area: 1/1/span 1/span 1;
  transition: top 0.2s;
  width: auto;
}
#graphicHeader:not(:empty) #header_search_bar_container {
  height: 2.25rem;
  width: 2.25rem;
  z-index: 1;
}
#graphicHeader:not(:empty) #header_menu {
  padding: 0;
  width: 2.25rem;
  min-width: 2.25rem;
}
#graphicHeader:not(:empty) #header_menu #header_menu_icon {
  background-color: var(--wp-header-contrasting-proxy-color);
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  width: 100%;
  border-radius: 0;
  margin-right: 0;
}
[data-altstylesheet="High Contrast"] #graphicHeader:not(:empty) #header_menu #header_menu_icon {
  background-color: var(--wpcolor_black);
}
#graphicHeader:not(:empty) #header_menu #header_menu_icon .menu_image {
  fill: var(--wpcolor_white);
  display: block;
  margin: 0 auto;
  height: 100%;
  padding: 0.15rem;
}
#graphicHeader:not(:empty) #header_menu:hover {
  cursor: pointer;
}
#graphicHeader:not(:empty) #header_menu:active #header_menu_icon {
  filter: brightness(1.1);
}
#graphicHeader:not(:empty) #header_extras {
  grid-area: 1/2/span 1/span 1;
  display: flex;
  width: auto;
  column-gap: 8px;
  margin-left: auto;
}
#graphicHeader:not(:empty) #header_to_previous_button {
  text-decoration: none;
}
#graphicHeader:not(:empty) .header_button_icon {
  width: 1.8rem;
  height: 1.8rem;
  vertical-align: middle;
}
#graphicHeader:not(:empty) .header_button_label {
  vertical-align: middle;
  padding-right: 3px;
}
#graphicHeader:not(:empty) .headerButton, #graphicHeader:not(:empty) .proxyMenuButton,
#graphicHeader:not(:empty) #header_menu {
  background: rgba(0, 0, 0, 0.45);
  border-radius: 8px;
  height: 2.25rem;
}
[data-altstylesheet="High Contrast"] #graphicHeader:not(:empty) .headerButton, [data-altstylesheet="High Contrast"] #graphicHeader:not(:empty) .proxyMenuButton,
[data-altstylesheet="High Contrast"] #graphicHeader:not(:empty) #header_menu {
  background: var(--wpcolor_black);
  border: 1px solid var(--wpcolor_white);
}
#graphicHeader:not(:empty) #header_menu:hover, #graphicHeader:not(:empty) #header_menu:focus,
#graphicHeader:not(:empty) .headerButton:hover,
#graphicHeader:not(:empty) .headerButton:focus,
#graphicHeader:not(:empty) .proxyMenuButton:hover,
#graphicHeader:not(:empty) .proxyMenuButton:focus {
  filter: brightness(1.2);
  box-shadow: 0 0 3px 0 var(--wpcolor_white);
}
#graphicHeader:not(:empty) .headerButton {
  cursor: pointer;
  color: var(--wpcolor_white);
  padding: 2px 4px;
  white-space: nowrap;
  z-index: 2;
  display: block;
}
#graphicHeader:not(:empty) .headerButton .headerImage {
  fill: var(--wpcolor_white);
}

#header_shield {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: var(--wp-header-height);
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-color: color-mix(in srgb, var(--wpcolor_black) 40%, transparent);
  transition: opacity 0.25s ease 0.25s, visibility 0s ease 0.5s;
}
@media (min-width: 769px) {
  #header_shield.skipAnimation {
    transition: none;
  }
}

.isSearchOpen #header_shield {
  visibility: visible;
  opacity: 1;
  transition: none;
}

.contentOnly #header {
  position: relative;
  text-align: center;
}

/* #endregion */
body,
#header .fitme,
#header .fitme.width,
#content,
#footer,
#header #footer .mainStyle,
#header,
.component.Popup:not(.small) {
  width: 100%;
}

.isInside #header {
  transition-property: all;
}

.isPrelogin.publicform #header.header_graphic {
  display: none;
}
.isPrelogin.publicform #header.header_graphic + #content #main {
  padding-top: 0.5rem;
}
