﻿/* Copyright 2024 Epic Systems Corporation */
.SocialHistory .label._readOnlyText._Text {
  margin: 0.25rem 0 0;
}
.SocialHistory .answer._readOnlyText._Text {
  margin: 0 0 0.5rem;
  height: fit-content;
  min-height: 1.25rem;
}
.SocialHistory .socialCardHeader {
  padding-top: 0;
}

.FamilyHistoryAndStatus tbody tr th, .FamilyHistoryAndStatus tbody tr td {
  vertical-align: top;
}
.FamilyHistoryAndStatus tbody tr td {
  white-space: pre-wrap;
}
.FamilyHistoryAndStatus ._TableHeaders th:first-child {
  width: 40%;
}
.FamilyHistoryAndStatus ._TableHeaders th:nth-child(2) {
  width: 20%;
}
.FamilyHistoryAndStatus ._TableHeaders th:nth-child(3) {
  width: 40%;
}
.FamilyHistoryAndStatus .pedigreeIcon {
  vertical-align: text-bottom;
}

.PersonalNote .noteHeader {
  margin: 0 0 0.5rem 0.4rem;
}
.PersonalNote .disclaimerAndEditButton {
  display: flex;
  align-items: center;
  min-height: 1.5rem;
}
.PersonalNote .disclaimerAndEditButton ._readOnlyText {
  width: fit-content;
  margin-right: 0.5rem;
}
.PersonalNote .disclaimerAndEditButton ._command._actionable.editButton {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
}
.PersonalNote .editableNote ._ValidationMessage:empty {
  width: 0;
  height: 0;
}
.PersonalNote .editableNote ._labelledField {
  min-width: 40%;
}
@media only screen and (max-width: 768px) {
  .PersonalNote .editableNote ._labelledField {
    width: 100%;
  }
}
.PersonalNote .editableNote .isNotBeingEdited {
  display: flex;
}
.PersonalNote .editableNote .isNotBeingEdited ._TextInput {
  background-color: transparent;
  border-color: transparent;
  box-shadow: none;
  color: #000000;
  opacity: 1;
  -webkit-text-fill-color: #000000;
}
.PersonalNote .addButtonContainer .addButtonLabel {
  padding: 0 0.5rem;
}
.PersonalNote .addButtonContainer ._command._actionable.addButton {
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
}

.MedicalHistory ._TableHeaders th:first-child {
  width: 60%;
}
.MedicalHistory ._TableHeaders th:nth-child(2) {
  width: 40%;
}

.SurgicalHistory ._TableHeaders th:first-child {
  width: 60%;
}
.SurgicalHistory ._TableHeaders th:nth-child(2) {
  width: 40%;
}

.HistoriesPage .ScrollableTableContainer {
  padding-top: 0;
  margin-top: 0.5rem;
}
.HistoriesPage ._DataTable {
  border: none;
  border-spacing: 0;
  width: 100%;
}
.HistoriesPage ._DataTable tbody tr {
  background-color: #ffffff;
}
.HistoriesPage ._DataTable tr:first-child td,
.HistoriesPage ._DataTable tr:first-child th {
  border-width: 0;
}
.HistoriesPage ._DataTable ._TableHeaders {
  color: #246fb5;
}
.HistoriesPage ._DataTable .tableCaption {
  height: 0;
  margin: 0;
}
@media only screen and (min-width: 1300px) {
  .HistoriesPage ._DataTable {
    width: 67%;
  }
}

@media only screen and (min-width: 1300px) {
  .HistoriesPage .ZeroState {
    width: 67%;
  }
}

.HistoriesPage ._Text._readOnlyText.historiesPageHelpText {
  margin-top: 0;
}
