/* Deck-specific Plotly and layout styles. */

.reveal .slides section .cell-output-display {
  display: flex;
  justify-content: center;
}

.reveal .slides section.present.plane-tall,
.reveal .slides section.present.cloud-tall {
  display: flex !important;
  flex-direction: column;
  box-sizing: border-box;
  height: 900px;
  padding-bottom: 36px;
}

.reveal .slides section.plane-tall .cell,
.reveal .slides section.cloud-tall .cell {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.reveal .slides section.plane-tall .cell-output-display,
.reveal .slides section.cloud-tall .cell-output-display {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}

.reveal .slides section.plane-tall .html-widget,
.reveal .slides section.plane-tall .js-plotly-plot,
.reveal .slides section.plane-tall .plot-container,
.reveal .slides section.cloud-tall .html-widget,
.reveal .slides section.cloud-tall .js-plotly-plot,
.reveal .slides section.cloud-tall .plot-container {
  flex: 1 1 auto;
  width: 100% !important;
  height: 100% !important;
  min-height: 0;
}

.reveal section.tf-slide table {
  font-size: 0.78em;
  width: 94%;
  margin: 0.6em auto 0.8em;
  border-collapse: collapse;
}

.reveal section.tf-slide th,
.reveal section.tf-slide td {
  text-align: center;
  border-bottom: 1px solid #d0d7e2;
  padding: 0.55em 0.7em;
}

.reveal section.tf-slide th:nth-child(3),
.reveal section.tf-slide td:nth-child(3) {
  background: rgba(178, 24, 45, 0.1);
  font-weight: 700;
}

.reveal .slides section.present.lift-split {
  display: grid !important;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  column-gap: 2rem;
  box-sizing: border-box;
  height: 100%;
  padding-bottom: 42px;
  align-items: stretch;
}

.reveal .slides section.lift-split > h2 {
  grid-column: 1 / -1;
  grid-row: 1;
}

.reveal .slides section.lift-split > .cell {
  grid-column: 1;
  grid-row: 2;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.reveal .slides section.lift-split .cell-output-display {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  align-items: stretch;
}

.reveal .slides section.lift-split .html-widget,
.reveal .slides section.lift-split .js-plotly-plot,
.reveal .slides section.lift-split .plot-container {
  flex: 1 1 auto;
  width: 100% !important;
  height: 100% !important;
  min-height: 0;
}

.reveal .slides section.lift-split > .lift-note {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  margin: 0;
  padding-left: 1.1rem;
  border-left: 3px solid #d0d7e2;
  text-align: left;
}

.reveal .slides section.lift-split > .lift-note p {
  margin: 0;
  text-align: left;
  line-height: 1.55;
}
