body {
	width: 90%;
	margin: 1.5em auto;
	font-family: arial, sans-serif;
	font-size: 100%;
  line-height: 1.5;
	background: #fff;
  /* Allows standard panning but disables the default double-tap zoom gesture */
  touch-action: manipulation;
}
h1 {
	margin-bottom: 1.5em;
  font-family: arial, sans-serif;
	font-size: 1.2em;
	color: navy;
}
a {
	color: navy;
  cursor: pointer;
	text-decoration: none;
}
a:hover {
	text-decoration:underline;
}
button {
  font-size: 1em;
  height: 28px;
  min-width: 64px;
  padding: 0 8px;
  margin: 0;
  background-color: transparent;
	border: none;
	outline: none;
  cursor: pointer;
  -webkit-appearance: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	-webkit-user-select: none;
	-moz-user-select: none;
  user-select: none;
}
div[inert],
form[inert] {
  opacity: .38;
  cursor: not-allowed;
}
input,
select {
  width: 100%;
  margin: 4px auto;
  padding: 8px;
  font-size: 1em;
  border-color: #d3d3d3;
  border-style: solid;
  border-width: 0 0 1px 0;
}
select {
  padding: 8px 0;
}
option:checked {
  color: rgba(0, 0, 0, .87);
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
select:focus {
	background-color: #fcfbbf;
	color: blue;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
}
input[type="radio"] {
  accent-color: #1e90ff;
	height: 16px;
	width: 16px;
  margin: 0 .5em 0 0;
}
input[type="radio"]:focus {
  outline: 2px dotted blue;
}
input[type="checkbox"] {
	height: 18px;
	width: 18px;
}
::placeholder {
  color: rgba(0, 0, 0, .35);
  text-align: center;
}
ul {
  padding-inline-start: 1.5em;
}

/* Menu  */
.menu-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2em;
}
.menu {
  display: flex;
  flex-wrap: wrap;
  padding: 0 8px;
}
.menu > * {
  cursor: pointer;
  flex: 1 1 300px;
  height: 36px;
  padding-top: 11px;
}
.menu-title {
  color: #ff00ff;
}

.app-version {
  display: flex;
  justify-content: center;
  color: #696969;
  font-size: 12px;
  margin-top: 2em;
  width: 100%;
}
.app-version.at-bottom {
  position: absolute;
  bottom: .5em;
  left: 0;
}
.app-version span {
  margin-left: 4px;
}

/* Records table */
.records-table {
  border-collapse: collapse;
  margin-bottom: 4em;
  width: 100%;
}
.records-table--search {
  margin: 2em 0 2em;
}
.records-table th {
  padding: 4px 0;
  background-color: #4682b4;
  color: #fff;
}
.records-table td,
.records-table th {
  border: 1px solid #ddd;
  padding: 5px;
  text-align: center;
}
.records-table tr:nth-child(even) {
	background-color: #f2f2f2;
}
.records-table tr:hover {
  background-color: #ddd;
}
@media only screen and (max-width: 360px) {
	.records-table th:nth-child(4), .records-table th:nth-child(5), .records-table th:nth-child(6), .records-table th:nth-child(7), .records-table th:nth-child(8),
  .records-table td:nth-child(4), .records-table td:nth-child(5), .records-table td:nth-child(6), .records-table td:nth-child(7), .records-table td:nth-child(8) {
    display: none;
  }
}
@media only screen and (max-width: 480px) {
	.records-table th:nth-child(5), .records-table th:nth-child(6), .records-table th:nth-child(7), .records-table th:nth-child(8),
  .records-table td:nth-child(5), .records-table td:nth-child(6), .records-table td:nth-child(7), .records-table td:nth-child(8) {
    display: none;
  }
}
@media only screen and (max-width: 600px) {
	.records-table th:nth-child(6), .records-table th:nth-child(7), .records-table th:nth-child(8),
  .records-table td:nth-child(6), .records-table td:nth-child(7), .records-table td:nth-child(8) {
    display: none;
  }
}
@media only screen and (max-width: 720px) {
	.records-table th:nth-child(7), .records-table th:nth-child(8),
  .records-table td:nth-child(7), .records-table td:nth-child(8) {
    display: none;
  }
}
@media only screen and (max-width: 840px) {
	 .records-table th:nth-child(8),
   .records-table td:nth-child(8) {
    display: none;
  }
}

.record-row {
  display: flex;
  justify-content: space-around;
  padding: .5em
}
.record-row span {
  font-size: large;
  width: 50%;
}
.record-row .one-col {
  width: 100%;
}
.record-row .record-row__name {
  width: 40%;
}
.record-row .record-row__name-zh {
  width: 40%;
  text-align: center;
}
.record-row .record-row__age {
  width: 20%;
  text-align: center;
}
.record-row__status {
  position: relative;
  top: -8px;
  font-size: 12px;
}
.record-row.title {
  color: navy;
  font-size: larger;
}
.record-row.field {
  border: 1px solid #a9a9a9;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  color: #a9a9a9;
  margin-top: 1em;
}
.record-row.sub-title {
  color: navy;
  margin-top: 2em;
}
.record-row.data {
  background: white;
  min-height: 24px;
  padding: .5em;
}
.record-row.data.empty {
  height: 24px;
}
.record-last-section {
  margin-bottom: 3em;
}

/**
 * Data report
 */
.report__grid-container {
  display: grid;
  grid-template-columns: 5fr 1fr;
  gap: 0;
  margin-bottom: 1em;
}
.report__col {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/**
 * Query result
 */

.query-result {
  margin-left: 8px;
  background-color: #90ee90;
  padding: 0 4px;
}
.query-year {
  width: 48px;
  margin: unset;
}
.query-children,
.query-generation {
  margin: unset;
  text-align: center;
  width: 28px;
}
/**
 * Add membership form
 */

.query-form,
.report-data,
.add {
  background-color: #fff;
  border: 1px solid #87cefa;
  border-radius: 12px;
  color: rgba(0, 0, 0, 0.87);
  flex: 1 1;
  margin-bottom: 2em;
  padding: 12px;
}
.add.link {
  margin-bottom: 0;
  margin-top: 2em;
}
.add-title {
  display: block;
  border: 0;
  border-bottom: 1px solid #808080;
  color: #8b008b;
  margin-bottom: 1em;
  width: 100%;
}
.add-item {
  margin-bottom: 1.5em;
}
.add-radio-container {
  display: flex;
  flex-direction: column;
  margin-left: 2em;
}
.add-radio-option {
  display: flex;
  align-items: center;
  margin-bottom: 1em;
}
.add-item option:first-child {
  background-color: #808080;
	color: #ffffff;
}
/* For wider screens */
@media only screen and (min-width: 524px) {
  .add-radio-container {
    flex-direction: row;
    justify-content: center;
    margin-bottom: 1.5em;
    margin-left: auto;
  }
  .add-radio-option {
    margin: 0 1.5em;
  }
}
.add-birth-year {
  margin-left: .5em;
  text-align: center;
  width: 80px;
}
.add-ancestral-home {
  width: 44%;
}
.add-country {
  width: 86%;
}
.add-spouse-order,
.add-sibling-order {
  width: 52%;
}
.add-generation-prefix {
  border: none;
  margin-left: 1em;
  text-align: center;
  width: fit-content;
}
.add-generation {
  text-align: center;
  width: 2em;
}
.add-input-space {
  width: 5%;
}
.add-name-en::placeholder,
.add-ancestral-home::placeholder,
.add-country::placeholder {
  text-align: left;
}
.add-name-zh {
  text-align: center;
  width: 48%;
}
.add-name-zh.spouse {
  width: 32%;
}
/* Search */
.search-box {
  display: flex;
  align-items: center;
  margin: 0 auto 2em;
  max-width: 444px;
}
input.search-box__input {
  margin: .5em;
  width: 52%;
}
.search-box__options {
  width: 30%;
}
.search-box__button {
  background-color: #fcfbbf;
  border: 1px solid orange;
  border-radius: 50%;
  color: blue;
  font-size: .8em;
  height: unset;
  margin-left: .5em;
  min-width: auto;
  padding: 6px;
}
.search-status {
  color: red;
  margin: 2em auto;
  text-align: center;
  width: 100%;
}
.search-clear {
  display: flex;
  justify-content: center;
  margin: 2em auto;
}
.search-clear__button {
  background-color: #fcfbbf;
  border: 1px solid orange;
  border-radius: 6px;
  color: blue;
  font-size: .8em;
  min-width: unset;
}

/**
 * Family Tree
 */

#tree-chart svg {
  position: absolute;
  /* height: 100vh; */
  height: 1000vh; /* set 10 times viewport for long tree */
  width: 12px;
}
#tree-chart svg path {
  stroke: #808080;
}
.search-name {
  position: fixed;
  top: 90px;
  left: 50%;
  background: beige;
  border: 1px solid #c5c9cd;
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  cursor: grab;
  padding: 6px;
  width: 320px;
  text-align: center;
  transform: translate(-50%, -50%);
}
.search-name input {
  width: 96%;
  padding: 4px;
}
.highlight {
    background-color: yellow;
    font-weight: bold;
}

/* Person */
.couple {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  width: fit-content;
}
.person {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border: 2px solid;
  border-radius: 8px;
  box-sizing: border-box;
  height: 32px;
  min-width: 124px;
}
.person .name {
  font-size: 16px;
}
.person.female {
  border-color: pink;
  background: radial-gradient(circle, white, pink);
}
.person.male {
  border-color: deepskyblue;
  background: radial-gradient(circle, white, deepskyblue);
}
.person.female.js-spouse,
.person.male.js-spouse {
  border-radius: 36%;
}
.person.selected {
  background: #7fffd4;
}
.family-2 {
  position: absolute;
  left: 8px;
  top: -14px;
  color: #696969;
  font-size: 12px;
}

/* Tree chart */
.menu-list {
  position: absolute;
  width: 12.5em;
  left: 20px;
  top: 40px;
  padding: 8px 0;
  font-size: 1.1em;
  background: #fff;
  border-radius: 4px;
  border: 1px solid #b2b0b0;
  box-shadow: 4px 5px 6px 0 rgba(32, 33, 36, .28);
  transform: translateY(-150%);
  z-index: 2;
}
.menu-list:focus {
  outline: none;
}
.menu-list__footer {
  margin-top: 1em;
  color: #696969;
  font-size: 0.8em;
  text-align: center;
}
.tree-chart {
  overflow: auto;
  min-height: 100vh;
  -webkit-user-select: none; /* Safari */
  user-select: none; /* Standard syntax */
  -webkit-touch-callout: none; /* iOS Safari */
}

.tree-menu-wrap {
  position: fixed;
  bottom: 0;
  left: 50%;
  width: 100%;
  background-color: #4682b4;
  border-radius: 6px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  color: #fff;
  transform: translateX(-50%) translateY(100%); /* Hidden below the viewport */
  transition: transform 0.3s ease-in-out;
  z-index: 1;
}
.tree-menu {
  padding: 8px 0;
}
.tree-menu.grid {
  padding: 8px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* gap: 20px; */ /* Adds space between columns */
}

.nav-menu {
  margin: 1em 0 .5em;
}
.nav-menu > DIV {
  padding: 8px;
}

.tree-menu__item {
  padding: 8px;
  white-space: nowrap;
}
.tree-menu__title {
  margin: 12px 0 0 12px;
  text-decoration: underline;
}
.nav-menu__close-btn-wrap,
.tree-menu__close-btn-wrap {
  position: absolute;
  right: 12px;
  top: 8px;
}

/* For responsiveness on smaller screens */
@media (max-width: 340px) {
  .tree-menu {
    display: flex;
    flex-direction: column; /* Stacks columns vertically on small screens */
  }
}
.user-guide__title {
  font-size: 1.2em;
  margin: 1em 0 0 1em;
}

/**
 * Layout
 */

.l-flex-center {
	display: flex;
	align-items: center;
	justify-content: center;
}
.l-flex-y-center {
  display: flex;
  align-items: center;
}
.l-flex-space-between {
	display: flex;
  justify-content: space-between;
}
.l-flex-wrap {
  display: flex;
  flex-wrap: wrap;
}
.l-mar-b0 {
  margin-bottom: 0;
}
.l-mar-b1 {
  margin-bottom: 1em;
}
.l-mar-b2 {
  margin-bottom: 2em;
}
.l-mar-L1 {
  margin-left: 1em;
}
.l-mar-L2 {
  margin-left: 2em;
}
.l-mar-t2 {
  margin-top: 2em;
}
.l-pos-fixed {
  position: fixed;
}
.l-width-fit {
  width: fit-content;
}

/**
 * Object
 */

.o-add-icon {
  position: absolute;
  right: 2px;
  top: 0;
  line-height: normal;
}
.o-button {
	min-width: 64px;
	padding: 0 8px;
	color: #6200ee;
	font-weight: 500;
	letter-spacing: .5px;
	line-height: inherit;
	background-color: transparent;
  border: 1px solid blue;
	border-radius: 4px;
}
.o-button.list-all {
  height: 32px;
  text-transform: capitalize;
}
.o-button.tip {
  color: #fff;
  font-size: .9em;
}
.o-button.text-only {
  border: none;
  text-transform: unset;
  text-decoration: underline;
}
.o-button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
	position: relative;
  overflow: hidden;
	width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
}
.o-button-icon--small {
  color: #808080;
  font-size: 12px;
}
.o-button-icon.close {
  position: absolute;
  right: 0;
  top: 0;
}
.o-button-icon.help {
  position: absolute;
  right: 1em;
  top: 40px;
}
.o-button-icon.nav {
  position: absolute;
  left: .25em;
  top: .25em;
}
.o-button-icon.right {
  justify-content: right;
  width: 100%;
}
.o-close-btn {
  color: #696969;
  font-size: 12px;
  height: auto;
  min-width: unset;
  padding: 2px 3px;
  border: 1px solid;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, .78);
}
.o-form-title {
  text-align: center;
  font-size: 1.15em;
}
.o-icon {
  height: 24px;
  width: 24px;
  min-width: 24px;
  fill: #a9a9a9;
}
.o-icon.outlined-close {
  position: absolute;
  right: -12px;
  top: -12px;
  background-color: #a9a9a9;
  border-radius: 50%;
  box-shadow: 2px -2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  fill: #fff;
  height: 20px;
  min-width: 20px;
  width: 20px;
}
.o-list-item {
  position: relative;
  padding: 0 16px;
  line-height: 48px;
  list-style-type: none;
  background-color: transparent;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.o-list-item.tree-view {
  padding-left: 30px;
}
.o-marker {
  margin-right: 4px;
}
.record,
.report,
.o-modal {
  position: fixed;
  bottom: 10%;
  top: 10%;
  left: 10%;
  right: 10%;
  margin: 0 auto;
  padding: 8px;
  max-width: 640px;
  color: rgba(0, 0, 0, .87);
  line-height: 1.5rem;
  background: #fcfbbf;
  border-radius: 8px;
	box-shadow: 0 11px 15px -7px rgba(0, 0, 0, .2), 0 24px 38px 3px rgba(0, 0, 0, .14), 0 9px 46px 8px rgba(0, 0, 0, .12);
	overflow-y: auto;
	overflow-x: hidden;
  outline: none;
  /* transparent to disable android tap default blue highlight which conflicts with pressed state */
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	-webkit-user-select: none;
	-moz-user-select: none;
}
.o-modal.fit-content,
.o-modal--fit-content {
  bottom: auto;
}

.record--fit-content {
  bottom: auto;
  max-width: 320px;
}
.o-modal.admin,
.o-modal.add-form {
  background: #e6e6fa;
}
.o-modal.report {
  left: 4%;
  right: 4%;
}
.o-modal.show {
  display: block;
  animation:
    fade-in 300ms linear 1 forwards,
    expand 300ms ease-in 1 forwards;
}
@keyframes fade-in {
  from {opacity: 0;}
  100% {opacity: 1;}
}
@keyframes expand {
  from {scale: 0%;}
  to {scale: 100%;}
}
.o-modal.hide {
  display: block;
  animation:
    fade-out 300ms linear 1 forwards,
    contract 300ms ease-out 1 forwards;
}
@keyframes fade-out {
  from {opacity: 1;}
  to {opacity: 0;}
}
@keyframes contract {
  from {scale: 100%;}
  to {scale: 0%;}
}
.o-note {
  font-size: .85em;
  margin-top: 2em;
}
.o-note-input {
  color: #696969;
  font-size: 14px;
}
.o-radio-container {
  display: flex;
  flex-direction: column;
}
.o-radio-option {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1em;
}
.o-radio-option select {
  margin: unset;
  margin: 4px;
  width: fit-content;
}
.o-radio-option option {
  text-align: center;
}
.o-sheet {
  background: #e6e6fa;
  border: 1px solid silver;
  padding: 1em;
}

/* Snackbar */
.o-snackbar-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  transform: translate(-500%, -500%);
	z-index: 1;
}
.o-snackbar {
  margin: 0 auto;
	max-height: 0;
  max-width: 360px;
  width: 96%;
	transition: max-height 500ms ease-out;
}
.o-snackbar--open {
	max-height: 200px;
  margin-bottom: 8px; /* low */
}
.o-snackbar--open.middle {
  margin-bottom: 64px;
}
.o-snackbar--open.message {
  max-width: 96%;
}
.o-snackbar:focus {
	outline: none;
}
.o-snackbar__surface {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-width: 344px;
  width: 100%;
	transform: scale(.8);
	opacity: 0;
	box-shadow: 0 3px 5px -1px rgba(0,0,0,.2), 0 6px 10px 0 rgba(0,0,0,.14), 0 1px 18px 0 rgba(0,0,0,.12);
	background-color: #333;
	border-radius: 4px;
}
@media (max-width: 640px), (max-width: 344px) {
  .o-snackbar__surface {
    min-width: 100%;
  }
}
.o-snackbar--open .o-snackbar__surface {
	transform: scale(1);
	opacity: 1;
	pointer-events: auto;
	transition: opacity 150ms cubic-bezier(0,0,.2,1) 0ms, transform 150ms cubic-bezier(0,0,.2,1) 0ms;
}
.o-snackbar__label {
	line-height: 1.5;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.87);
	letter-spacing: .0178571429em;
	flex-grow: 1;
	margin: 0;
	padding: 10px 12px;
}
.o-snackbar__actions {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	margin-left: 0;
	margin-right: 8px;
}

.o-spinner-s {
  display: flex;
  align-items: center;
  justify-content: center;
  color: green;
  margin: 1em auto;
  text-align: center;
  width: 100%;
}
.o-spinner-s__text {
	margin-left: 0.5em;
}
/* Spinner with overlay */
.o-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.o-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* Submission status */
.o-submit-status,
.submit-status {
	margin: 0 .5em 1.5em;
	color: red;
}
.o-submit-status.ok,
.submit-status.ok {
	color: green;
}

/* Tip */
.o-tip {
	position: absolute;
	padding: .8em;
	font-size: 20px;
  color: #fff;
  line-height: 1.5em;
  background-color: #5454d9;
	border-radius: 8px;
	box-shadow: 2px 2px 8px rgba(0, 0, 0, .5);
  opacity: 0;
  z-index: 1;
}
.o-tip.left i {
  position: absolute;
  top: 50%; /* Arrow right centre */
  left: 100%;
  height: 25px;
  width: 25px;
  overflow: hidden;
  transform: translate(-50%, -50%) rotate(-45deg);
}
.o-tip.user-guide.left i {
  top: 35%;
}
.o-tip.left i::before {
  content: '';
  position: absolute;
  height: 25px;
  width: 25px;
  background-color: #5454d9;
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, .5);
}
.o-tip.user-guide {
  top: 360px;
  left: 60px;
  width: 200px;
  opacity: 1;
  transition: opacity 250ms linear;
}
.o-tip__button-wrap {
  width: 100%;
  text-align: right;
  margin-top: 1em;
}

/* Ripple Effect */
.ripple-surface {
  --ripple-size: 0;
  --ripple-left: 0;
  --ripple-top: 0;
  --ripple-scale: 1;
  --ripple-opacity: 0.16;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* remove the tap square highlight color for iOS */
  outline: none;
  overflow: hidden;
}
.ripple-surface::after {
  width: var(--ripple-size, 100%);
  height: var(--ripple-size, 100%);
  top: var(--ripple-top, 100%);
  left: var(--ripple-left, 100%);
  position: absolute;
  content: '';
  border-radius: 50%;
  background-color: #000;
  opacity: 0;
  pointer-events: none;
  /* transform: scale(0); -- cause iOS to hide the ripple */
  /* transform-origin: center center; */
}
.ripple-surface.o-fab--play::after {
  top: -38px;
}
.ripple-surface.o-button-icon,
.ripple-surface.menu {
  --ripple-size: 48px;
  --ripple-top: 0px;
  --ripple-left: 0px;
  --ripple-scale: 1;
  overflow: initial; /* allow spillover of long label at btm bar */
}
.ripple-surface.o-button-icon--small {
  --ripple-size: 28px;
}
.ripple-surface.o-fab {
  --ripple-size: 76px;
  --ripple-top: 0px;
  --ripple-left: 0px;
  --ripple-scale: 1;
}
.ripple-surface.activate::after{
  animation: ripple-radius-in 225ms cubic-bezier(.4, 0, .2, 1) forwards, ripple-opacity-in 75ms linear forwards;
}
@keyframes ripple-radius-in {
  0% {
    scale: 0;
  }
  to {
    transform: scale(var(--ripple-scale, 1.5));
  }
}
@keyframes ripple-opacity-in {
 0% {
  opacity: 0;
 }
 to {
  opacity: var(--ripple-opacity, 0);
 }
}
.ripple-surface.deactivate::after {
  animation: ripple-radius-out 150ms cubic-bezier(.4, 0, .2, 1), ripple-opacity-out 75ms linear;
}
@keyframes ripple-radius-out {
  0% {
    transform: scale(var(--ripple-scale, 1.5));
  }
  to {
    scale: 0;
  }
}
@keyframes ripple-opacity-out {
 0% {
  opacity: var(--ripple-opacity, 0);
 }
 to {
  opacity: 0;
 }
}

@keyframes ripple-fade-out {
 0% {
  opacity: var(--ripple-opacity, 0);
 }
 to {
  opacity: 0;
 }
}


/**
 * State
 */
.is-hidden {
  display: none;
}
.is-disabled {
  cursor: default;
  opacity: .38;
  pointer-events: none;
}
.is-visible {
  display: block;
}
.o-overlay.is-visible,
.is-visible.flex {
  display: flex;
}
.is-visible.records-table {
  display: table;
}

/**
 * Utility
 */

.u-bottom-line {
  border-bottom: 1px solid silver;
}
.u-center-x {
  transform: translateX(0); /* on screen */
}
.u-font-large {
  font-size: 1.5em;
}
.u-offset {
  overflow-y: hidden;
  transform: translate(-500%, -500%);
}
.u-nowrap {
  white-space: nowrap;
}
.u-raised {
  transform: translateX(-50%) translateY(0); /* Slide up to visible position */
}
.u-text-small {
  font-size: 14px;
}