/* START Patient info basic/advanced overrides */
.section-basic .md-headline {
  display: none;
}

.section-advanced {
  padding-top: 30px;
  display: none;
}
/* END Patient info base/advanced overrides */

/* START Deceased patient display for VHR */
#vhr-app vhr-age-banner.deceased {
  background-color: gold;
  color: black;
  display: block;
  padding: 6px 0 6px 6px;
}
#vhr-app vhr-age-banner.deceased > vhr-age-badge > md-icon {
  color: black;
}
#vhr-app vhr-age-banner.deceased vhr-age-badge:after {
  content: ' Deceased patient';
}
#vhr-app vhr-age-badge.deceased md-icon:first-child {
  display: none;
}
/* END Deceased patient display for VHR */

/* START Hide DRG display from ADT viewer */
#vhr-app .modal-adt-drg {
  display: none !important;
}
#vhr-app .print-adt-drg {
  display: none !important;
}
/* END Hide DRG display form ADT viewer */

/* START Hide Ordered By from Transcriptions viewer */
#vhr-app .modal-trans-ordered-by {
  display: none !important;
}
#vhr-app .print-trans-ordered-by {
  display: none !important;
}
/* END Hide Ordered By from Transcriptions viewer */

/* START Hide Gaps in Care from Patient Info */
#vhr-app #patient-details > div > div.layout-column.flex-65 { /* Basic/Advanced section */
  max-width: 80%;
}
#vhr-app .section-gaps {
  display: none !important;
}
#vhr-app .print-gaps {
  display: none !important;
}
/* END Hide Gaps in Care from Patient Info */

/* START Adjustments to fix doc display */
/* fix border to be on th/td */
#vhr-app .cda-render table {
border-collapse: separate;
border-spacing: 0;
}
/* adjust flex layout */
#vhr-app .cda-main {
max-width: unset !important;
}
/* give toc menu max width */
#vhr-app .cda-render .toc {
max-width: 380px;
}
/* reduce font size */
#vhr-app .cda-render table {
font-size: 12px;
}
/* reduce cell padding */
#vhr-app .cda-render table td, #vhr-app .cda-render table th {
padding: 4px;
}
/* set tables to scroll if get "big" */
#vhr-app .cda-render .table-responsive {
max-height: 400px;
width: 100%;
overflow: auto;
}
/* unset scroll on nested tables */
#vhr-app .cda-render .table-responsive .table-responsive {
max-height: unset;
}
/* Setup table headers to be sticky */
#vhr-app .cda-render table th {
position: sticky;
top: 0;
}
/* Reset scroll & sticky styles for print version */
@media print {
#vhr-app .cda-render .table-responsive {
max-height: unset;
}
#vhr-app .cda-render table th {
position: unset;
top: unset;
}
}
/* END Adjustments to fix doc display */
