/* Copyright 2018-2020 Epic Systems Corporation */
.cardlist {
  margin: 0.5rem 0;
  width: 100%; }
  .header + .cardlist {
    margin-top: 0; }

.card {
  display: inline-block;
  line-height: 1.25rem;
  margin: 0.25rem 0.5%;
  min-height: 6rem;
  padding: 0.5rem;
  position: relative;
  vertical-align: top;
  width: 99%; }
  .card.withButton {
    padding-bottom: 3rem; }
  .cardlist.shortcards > .card, .cardlist.shortcards > .row > .card {
    min-height: 5rem; }
  .cardlist.tinycards > .card, .cardlist.tinycards > .row > .card {
    min-height: 4rem; }
  .cardlist.column_1 > .card {
    margin: 0.25rem 0;
    width: 100%; }
  .cardlist.column_2 > .card {
    width: 49.5%; }
    .cardlist.column_2 > .card:nth-of-type(odd) {
      margin-left: 0; }
    .cardlist.column_2 > .card:nth-of-type(even) {
      margin-right: 0; }
  .cardlist.column_3 > .card {
    width: 32.66%; }
    .cardlist.column_3 > .card:nth-of-type(3n+1) {
      margin-left: 0; }
    .cardlist.column_3 > .card:nth-of-type(3n) {
      margin-right: 0; }
  .cardlist.column_4 > .card {
    width: 24.25%; }
    .cardlist.column_4 > .card:nth-of-type(4n+1) {
      margin-left: 0; }
    .cardlist.column_4 > .card:nth-of-type(4n) {
      margin-right: 0; }
  .card .arrow {
    position: absolute;
    width: 20px;
    right: 0px;
    top: calc(50% - 12px); }
    .card .arrow svg {
      height: 20px;
      width: 20px; }
  @media print {
    .card {
      margin-left: 0;
      -webkit-region-break-inside: avoid !important;
      page-break-inside: avoid !important;
      break-inside: avoid !important; }
      .card:not(.noprint):not(.hidden) {
        display: block; } }

.innercard {
  border-color: transparent #eaeaea;
  border-style: none solid;
  border-width: 0 1px;
  display: inline-block;
  margin-right: -1px;
  padding: 0.25rem 0.5rem;
  position: relative;
  vertical-align: top;
  width: 100%; }
  .innercard:first-of-type {
    left: 0; }
  .cardlist.noBorder > .innercard {
    border-color: transparent; }
  .cardlist.column_1 > .innercard {
    border: none;
    width: 100%; }
  .cardlist.column_2 > .innercard {
    width: calc(50% + 1px); }
    .cardlist.column_2 > .innercard:nth-of-type(odd) {
      border-left: none; }
    .cardlist.column_2 > .innercard:nth-of-type(even) {
      border-right: none; }
    .cardlist.column_2 > .innercard.double {
      border: none;
      width: 100%; }
  .cardlist.column_3 > .innercard {
    width: calc(33.33% + 1px); }
    .cardlist.column_3 > .innercard:nth-of-type(3n+1) {
      border-left: none; }
    .cardlist.column_3 > .innercard:nth-of-type(3n), .cardlist.column_3 > .innercard.double:nth-of-type(3n+2) {
      border-right: none; }
    .cardlist.column_3 > .innercard.double {
      width: calc(66.67% + 1px); }
    .cardlist.column_3 > .innercard.triple {
      border: none;
      width: 100%; }
  .cardlist.column_4 > .innercard {
    width: calc(25% + 1px); }
    .cardlist.column_4 > .innercard:nth-of-type(4n+1) {
      border-left: none; }
    .cardlist.column_4 > .innercard:nth-of-type(4n), .cardlist.column_4 > .innercard.double:nth-of-type(4n+3), .cardlist.column_4 > .innercard.triple:nth-of-type(4n+2) {
      border-right: none; }
    .cardlist.column_4 > .innercard.double {
      width: calc(50% + 1px); }
    .cardlist.column_4 > .innercard.triple {
      width: calc(75% + 1px); }

.card .buttonList {
  bottom: 0;
  min-height: 3rem;
  padding: 0.5rem;
  position: absolute;
  right: 0;
  display: flex; }
  .card .buttonList.right {
    justify-content: flex-end;
    align-items: flex-end; }

.card .buttonList .button {
  opacity: 0;
  transition: opacity 0.3s ease-in-out; }
.card.hover .buttonList .button {
  opacity: 1; }
.card .buttonList .button:first-child {
  margin-left: 0; }
.card .buttonList .button:last-child {
  margin-right: 0; }

.card .cardline {
  display: block;
  font-size: 0.9rem;
  line-height: 1.1rem;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%; }
  .card .cardline.partial {
    display: inline-block;
    vertical-align: top;
    width: auto; }
  .card .cardline.halfwidth {
    display: inline-block;
    vertical-align: top;
    width: 50%; }
  .card .cardline.partial.right {
    position: absolute;
    right: 0.5rem; }
  .card .cardline.withPopup {
    overflow: visible;
    text-overflow: unset; }
  .card .cardline.leaveSpace {
    margin-bottom: 0.5rem; }
  .card .cardline.bottom {
    position: absolute;
    bottom: 0.5rem; }
    .card .cardline.bottom:not(.partial) {
      left: 0.5rem;
      right: 0.5rem;
      width: auto; }
  .card .cardline.address {
    white-space: pre-wrap; }
.card .cardheader {
  margin: -0.5rem;
  padding: 0.5rem 0.5rem;
  width: calc(100% + 1rem);
  max-width: calc(100% + 1rem);
  background: #edf3f9; }
.card .name {
  font-size: 1.1rem;
  line-height: 1.25rem;
  margin: 0;
  padding: 0; }
  .card .name.large {
    font-size: 1.25rem;
    line-height: 1.5rem; }
  .card .name .coverageName {
    display: inline-block;
    margin-bottom: 0.4rem; }
  .card .name.small {
    font-size: 0.9rem;
    line-height: 1rem;
    word-break: break-word; }
  .card .name.icon, .card .name.icon + .cardline {
    width: calc(100% - 3rem); }
  .card .name.icon:after, .card .name.icon > div.iconcontainer {
    background-repeat: no-repeat;
    background-size: cover;
    content: "";
    display: block;
    height: 2.5rem;
    margin: 0.5rem;
    position: absolute;
    right: 0;
    top: 0;
    width: 2.5rem; }
  .card .name.partial + .partial.right {
    line-height: 1.375rem;
    margin-bottom: -0.125rem; }
.card.addItem {
  background-color: rgba(255, 255, 255, 0.3);
  border: 2px dashed #cccccc;
  box-shadow: none;
  min-height: 6rem;
  text-align: center; }
  .card.addItem:not(.hasAddMessage) {
    padding: 0; }
    .card.addItem:not(.hasAddMessage) a {
      display: flex;
      align-items: center;
      min-height: 6rem;
      height: 1rem; }
  .card.addItem.hasAddMessage .vcenter {
    line-height: 1.75rem; }
  .card.addItem.hover {
    background-color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 4px -1px rgba(0, 0, 0, 0.2); }
  .card.addItem a {
    height: 100%;
    width: 100%; }
  .card.addItem .vcenter {
    width: 100%; }
  .card.addItem .vcentertablecell {
    display: table-cell;
    vertical-align: middle;
    padding-top: 0.5rem;
    width: 100%; }
    .card.addItem .vcentertablecell .addMessage {
      display: block;
      margin: 0.25rem 1rem;
      line-height: 1rem;
      font-size: 0.9rem;
      color: #767676; }
  .card.addItem .addlabel {
    vertical-align: middle; }
    .card.addItem .addlabel:before {
      content: "+";
      display: inline-block;
      font-size: 2.5rem;
      margin: 0 0.25rem 0 0;
      vertical-align: top; }
.card.hasBadge div.badge {
  width: 28%;
  display: inline-block;
  text-align: right; }
.card.hasBadge div {
  width: 70%;
  display: inline-block;
  vertical-align: top; }

.cardlist.selectable .card {
  cursor: pointer; }
  .cardlist.selectable .card.selected:before {
    background-color: #246fb5;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 0.3rem;
    z-index: 1; }

.cardlist.selectable.selectionMade .card {
  box-shadow: none;
  opacity: 0.75; }
  .cardlist.selectable.selectionMade .card:hover, .cardlist.selectable.selectionMade .card:focus, .cardlist.selectable.selectionMade .card.selected {
    box-shadow: 0 4px 4px -1px rgba(0, 0, 0, 0.2);
    opacity: 1; }

.cardlist.buttonCards .card {
  font-weight: bold;
  margin: 0 0.5% 0.5rem;
  min-height: 2.5rem;
  min-width: 9rem;
  text-align: center;
  width: auto; }

.card.tableLayout > div {
  display: table-cell;
  vertical-align: top; }

.receipt .titlebar {
  background: #246fb5 none;
  color: #ffffff;
  left: -0.5rem;
  max-width: none;
  padding: 0.5rem;
  position: relative;
  top: -0.5rem;
  width: calc(100% + 1rem); }
.receipt .receiptsection {
  box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2);
  padding: 0 0 0.5rem;
  margin: 0 0 0.5rem; }
  .receipt .receiptsection:last-child {
    box-shadow: none;
    margin: 0; }
  .receipt .receiptsection .receiptline {
    font-size: 0.8rem;
    line-height: 1rem;
    margin: 0 0 0.25rem; }
    .receipt .receiptsection .receiptline.name {
      color: #246fb5;
      font-size: 1rem;
      margin: 0 0 0.5rem; }
    .receipt .receiptsection .receiptline:last-child {
      margin: 0; }
    .receipt .receiptsection .receiptline .item {
      display: inline-block;
      vertical-align: top;
      width: 60%; }
    .receipt .receiptsection .receiptline .value {
      display: inline-block;
      font-weight: bold;
      text-align: right;
      vertical-align: top;
      width: 40%; }
    .receipt .receiptsection .receiptline.name .value {
      color: #363636; }

.card.helptip {
  box-shadow: none;
  border: 1px solid #dbdbdb;
  border-radius: 0.3rem;
  padding: 1rem 1rem 1rem 3.2rem;
  background: url("../images/info.png") no-repeat scroll left 0.7rem center #ffffd0;
  background-size: 2rem 2rem;
  min-height: auto;
  min-height: initial; }
  .card.helptip.success {
    background-image: url("../images/success.svg");
    padding-top: 0; }
  .card.helptip.noicon {
    background-image: none;
    padding-left: 1rem; }

a.card.addItem {
  color: #00a1db; }
  a.card.addItem:hover {
    color: #008dc0;
    background-color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 4px -1px rgba(0, 0, 0, 0.2); }

.cardlist.row.differentHeights .card, .cardlist.row .card.differentHeights {
  height: -moz-fit-content;
  height: fit-content; }
