﻿/* Copyright 2023 Epic Systems Corporation */
.itemFeedWidgetContainer {
  padding: 0;
}
.itemFeedWidgetContainer .ZeroState {
  padding: 1rem 0.75rem;
}

.baseFeedItem .contentDetails {
  display: inline-flex;
}

.feedItem {
  position: relative;
  width: 100%;
  margin-bottom: 0.5rem;
  right: 0;
  opacity: 1;
  max-height: 100rem;
  transition: all 0.3s;
}
.feedItem.card {
  padding: 0;
  min-height: 0;
  border-radius: 6px;
}
.feedItem.card:not(.slide) {
  margin-top: 0;
  margin-right: 0;
  margin-left: 0;
}
.feedItem.card .buttonList.subtle {
  margin-top: 0;
}
.feedItem.card .actions.buttonColumn {
  min-width: min-content;
}
.feedItem .icon {
  position: relative;
  flex-shrink: 0;
  width: auto;
  margin-left: 0.5rem;
}
.feedItem .icon svg,
.feedItem .icon span,
.feedItem .icon img,
.feedItem .icon div {
  height: 32px;
  width: 32px;
}
.feedItem .icon div {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.feedItem .icon svg.subicon {
  height: 1.5rem;
  width: 1.5rem;
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
}
.feedItem.isCareEverywhere .contentDetailsWrapper {
  padding-left: 2rem;
}
.feedItem.dismissed {
  right: 10rem;
  opacity: 0;
  max-height: 0;
  margin: 0;
}
.feedItem .feedContent {
  display: flex;
  flex-direction: column;
  position: relative;
}
.feedItem .contentDetailsWrapper {
  display: flex;
  z-index: 2;
}
.feedItem .contentDetails {
  padding: 1rem 0.5rem 0.5rem 0.5rem;
}
.feedItem .contentDetails .displayText {
  word-wrap: break-word;
  word-break: break-word;
  margin: 0;
}
.feedItem .itemFeedHeader {
  display: inline-flex;
  width: 100%;
  padding: 0;
}
.feedItem .itemFeedHeader .headerTitle {
  padding: 0.35rem 0 0.35rem 0;
  color: #363636;
  font-weight: bold;
  word-wrap: break-word;
  word-break: break-word;
  font-size: 1.15rem;
}
.feedItem .waterMarkWrapper {
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  pointer-events: none;
}
.feedItem .waterMarkWrapper .waterMark {
  position: absolute;
  left: -0.5rem;
  bottom: -1rem;
  z-index: 0;
  height: 6.25rem;
  width: 6.25rem;
  opacity: 0.2;
  transform: rotate(20deg);
}
.feedItem .actions {
  z-index: 1;
  padding: 0.5rem;
}
.feedItem .actionContent {
  justify-content: center;
}
.feedItem .H2GIconContainer {
  align-self: flex-start;
  flex-shrink: 0;
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
}
.feedItem .H2GIcon[class] {
  display: flex;
  align-items: center;
  float: left;
  width: 1.5rem;
  min-width: 1.5rem;
}
.feedItem .H2GIcon[class].showBubble ._InfoBubbleCommand:after,
.feedItem .H2GIcon[class].showBubble ._InfoBubbleContent {
  display: block;
}
.feedItem .H2GIcon[class] ._InfoBubbleCommand {
  color: #00a1db;
  border: none;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  overflow: visible;
  position: relative;
  text-decoration: none;
}
.feedItem .H2GIcon[class] ._InfoBubbleCommand:is(:focus, :hover) {
  color: #008dc0;
}

.feedItem .H2GIcon[class] ._InfoBubbleCommand:after {
  border-color: transparent #ffffff transparent transparent;
  border-style: solid;
  border-width: 1rem 1rem 0 0;
  box-shadow: 1px 1px 1px 0 rgba(0, 0, 0, 0.4);
  content: "";
  display: none;
  height: 0;
  right: calc(50% - 0.45rem);
  position: absolute;
  bottom: calc(100% + 0.25rem);
  top: unset;
  transform: rotate(-315deg);
  width: 0;
  z-index: 11;
}
.feedItem .H2GIcon[class] ._InfoBubbleContent {
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.6);
  display: none;
  margin: 0 1rem;
  padding: calc(1rem / 3);
  position: absolute;
  right: unset;
  top: unset;
  left: -1rem;
  bottom: calc(0.5rem + 100%);
  text-align: right;
  white-space: normal;
  width: 400px;
  z-index: 10;
}
@media screen and (max-width: 450px) {
  .feedItem .H2GIcon[class] ._InfoBubbleContent {
    width: calc(98% - 40px);
  }
}
.feedItem .H2GIcon[class] ._InfoBubbleContent .orgDetails {
  margin-bottom: 0.5rem;
  display: flex;
}
.feedItem .H2GIcon[class] ._InfoBubbleContent .orgDetails img.organizationLogo,
.feedItem .H2GIcon[class] ._InfoBubbleContent .orgDetails ._Icon.organizationLogo {
  display: inline-block;
  margin: 0 0 0 0.2rem;
  overflow: hidden;
  vertical-align: middle;
  min-width: 2.5rem;
  height: 2.5rem;
  float: right;
  clear: right;
}
.feedItem .H2GIcon[class] ._InfoBubbleContent .orgDetails .organizationName {
  vertical-align: top;
  margin: 0;
  display: inline-block;
  font-size: 0.9rem;
  font-weight: bold;
  word-break: break-word;
}

@media only screen and (min-width: 769px) {
  .itemFeedFullWidth .feedItem {
    display: flex;
    flex-direction: column;
  }
}
@media only screen and (min-width: 769px) {
  .itemFeedFullWidth .feedItem.isCareEverywhere .actions {
    padding-top: 2rem;
  }
}
@media only screen and (min-width: 769px) {
  .itemFeedFullWidth .feedItem.isCareEverywhere .contentDetailsWrapper {
    padding-left: 0.5rem;
  }
}
@media only screen and (min-width: 769px) {
  .itemFeedFullWidth .feedItem .feedContent {
    flex-direction: row;
  }
}
@media only screen and (min-width: 769px) {
  .itemFeedFullWidth .feedItem .feedContent {
    flex-direction: row;
  }
}
@media only screen and (min-width: 769px) {
  .itemFeedFullWidth .feedItem .contentDetails {
    padding: 0.5rem;
  }
}
@media only screen and (min-width: 769px) {
  .itemFeedFullWidth .feedItem .waterMarkWrapper .waterMark {
    left: 23%;
  }
}
@media only screen and (min-width: 769px) {
  .itemFeedFullWidth .feedItem .actions {
    padding-top: 0;
  }
}
@media screen and (max-width: 450px) {
  .itemFeedFullWidth .feedItem .H2GIcon[class] ._InfoBubbleContent {
    width: calc(98% - 40px);
  }
}

.itemFeedNarrowWidth ._ItemWithActionGroup, .itemFeedNarrowWidth ._ItemWithActionGroup.withSubtleActions, .itemFeedNarrowWidth ._ItemWithActionGroup.withButtonColumn {
  flex-direction: column;
}
.itemFeedNarrowWidth ._ItemWithActionGroup .contentColumn + .buttonColumn,
.itemFeedNarrowWidth ._ItemWithActionGroup .contentColumn + .buttonColumn[class*=col-],
.itemFeedNarrowWidth ._ItemWithActionGroup .contentColumn + * .buttonColumn {
  flex-flow: row wrap;
  justify-content: center;
  align-self: auto;
  width: 100%;
}
.itemFeedNarrowWidth ._ItemWithActionGroup .contentColumn + .buttonColumn ._actionable,
.itemFeedNarrowWidth ._ItemWithActionGroup .contentColumn + .buttonColumn[class*=col-] ._actionable,
.itemFeedNarrowWidth ._ItemWithActionGroup .contentColumn + * .buttonColumn ._actionable {
  width: auto;
  margin-right: 0.25rem;
  margin-left: 0.25rem;
}
.itemFeedNarrowWidth ._ItemWithActionGroup .contentColumn + .buttonColumn ._actionable:last-child,
.itemFeedNarrowWidth ._ItemWithActionGroup .contentColumn + .buttonColumn[class*=col-] ._actionable:last-child,
.itemFeedNarrowWidth ._ItemWithActionGroup .contentColumn + * .buttonColumn ._actionable:last-child {
  margin-left: 0.25rem;
}
.itemFeedNarrowWidth ._ItemWithActionGroup .contentColumn:not([class*=col-]),
.itemFeedNarrowWidth ._ItemWithActionGroup .contentColumn:not([class*=col-]) + .buttonColumn,
.itemFeedNarrowWidth ._ItemWithActionGroup .contentColumn:not([class*=col-]) + * .buttonColumn {
  width: auto;
}

.toDoSummaryFeedItem .toDoSummaryLayout {
  display: inline-flex;
  flex-wrap: wrap;
  padding: 0.5rem;
}
.toDoSummaryFeedItem .toDoSummaryLayout .toDoSummaryProgress {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 5rem;
  padding-left: 1rem;
  box-sizing: content-box;
  margin: auto;
}
.toDoSummaryFeedItem .toDoSummaryLayout .toDoSummaryProgress .toDoSummaryCompleted {
  color: #246fb5;
  font-size: 1rem;
  text-align: center;
}
.toDoSummaryFeedItem .toDoSummaryLayout .toDoSummaryProgress .toDoSummaryProgressLabel {
  color: #246fb5;
  text-align: center;
  padding: 0.3rem 0rem;
}
.toDoSummaryFeedItem .toDoSummaryLayout .toDoSummaryProgress .toDoSummaryProgressLabel .number {
  font-weight: bold;
  font-size: 2rem;
}
.toDoSummaryFeedItem .toDoSummaryLayout .toDoSummaryProgress .toDoSummaryProgressLabel .percentSymbol {
  font-size: 1rem;
}
.toDoSummaryFeedItem .toDoSummaryLayout .toDoSummaryProgress progress, .toDoSummaryFeedItem .toDoSummaryLayout .toDoSummaryProgress progress::-webkit-progress-bar, .toDoSummaryFeedItem .toDoSummaryLayout .toDoSummaryProgress progress::-webkit-progress-value, .toDoSummaryFeedItem .toDoSummaryLayout .toDoSummaryProgress progress::-moz-progress-bar {
  border: none;
  border-radius: 3rem;
  height: 0.75rem;
}
.toDoSummaryFeedItem .toDoSummaryLayout .toDoSummaryProgress progress {
  background-color: #c9dbed;
  color: #246fb5;
}
.toDoSummaryFeedItem .toDoSummaryLayout .toDoSummaryProgress progress::-webkit-progress-bar {
  background-color: #c9dbed;
}
.toDoSummaryFeedItem .toDoSummaryLayout .toDoSummaryProgress progress::-webkit-progress-value, .toDoSummaryFeedItem .toDoSummaryLayout .toDoSummaryProgress progress::-moz-progress-bar {
  background-color: #246fb5;
}
.toDoSummaryFeedItem .toDoSummaryLayout .toDoSummaryTasks {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  flex: 1;
  word-break: break-word;
  min-width: 100px;
}
.toDoSummaryFeedItem .toDoSummaryLayout .toDoSummaryTasks .column {
  display: flex;
  flex-direction: column;
  width: auto;
  padding-left: 1rem;
}
.toDoSummaryFeedItem .toDoSummaryLayout .toDoSummaryTasks .field {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
}
.toDoSummaryFeedItem .toDoSummaryLayout .toDoSummaryTasks .field .icon {
  flex-shrink: 0;
  margin-left: 0.25rem;
}
.toDoSummaryFeedItem .toDoSummaryLayout .toDoSummaryTasks .field div {
  width: auto;
}
.toDoSummaryFeedItem .toDoSummaryLayout .toDoSummaryTasks svg {
  height: 1.5rem;
  width: 1.5rem;
  fill: black;
}

@media only screen and (min-width: 426px) {
  .itemFeedFullWidth .toDoSummaryFeedItem .toDoSummaryLayout .toDoSummaryProgress {
    margin-right: 2rem;
    padding-left: 1.5rem;
  }
}
@media only screen and (min-width: 426px) {
  .itemFeedFullWidth .toDoSummaryFeedItem .toDoSummaryLayout .toDoSummaryTasks {
    padding-right: 1.5rem;
  }
}

.VerticalMarkedDate {
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0.3rem 0 0.5rem;
  color: #41a0ff;
}
.VerticalMarkedDate .verticalMonth {
  font-size: 1.2rem;
  text-transform: uppercase;
  white-space: nowrap;
}
html[lang=fi] .VerticalMarkedDate .verticalMonth {
  font-size: 0.9rem;
  overflow-wrap: normal;
}
html[lang=ar] .VerticalMarkedDate .verticalMonth {
  font-size: 0.96rem;
}
.VerticalMarkedDate .verticalDateOfMonth {
  font-size: 2.2rem;
  line-height: 2rem;
}
html[lang=ar] .VerticalMarkedDate .verticalDateOfMonth {
  font-size: 1.76rem;
}

.VisitDisplayDetailsInfo {
  display: flex;
  align-items: start;
  padding-right: 0.25rem;
}
.VisitDisplayDetailsInfo .labels {
  margin: 0.25rem 0.25rem 0.25rem 0;
}
.VisitDisplayDetailsInfo .labels .textLabel {
  margin: 0;
}

.VisitDisplayDetailsLayout {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.VisitDisplayDetailsLayout .dateInfo {
  width: auto;
}
.VisitDisplayDetailsLayout .visitInfo {
  max-width: 80%;
}
.VisitDisplayDetailsLayout .departmentInfo .departmentAddress {
  white-space: pre-line;
}

.announcementFeedItem .contentDetails {
  display: inline-flex;
}
.announcementFeedItem .contentDetails .icon div:empty {
  display: none;
}
.announcementFeedItem .contentDetails .icon:has(div:empty) {
  margin-left: 0;
}
.announcementFeedItem .announcementContent {
  word-wrap: break-word;
  word-break: break-word;
}
.announcementFeedItem .announcementContent .announcementTitle {
  padding: 0.35rem 0 0.35rem 0;
  color: #363636;
  font-weight: bold;
  font-size: 1.15rem;
}
