/*
 * AMP clone charts use plain wrappers inside `.container-fluid` (no `.col-lg-8`).
 * chart-jodi-clone.css uses flex centering on `.container-fluid`, which shrinks those wrappers.
 * Bootstrap-style clones keep `.col-lg-8.col-lg-offset-2` and keep flex layout.
 */
.charts-layout-root .container-fluid:not(:has(.col-lg-8)) {
  display: block;
}

body {
  background-color: #fc9;
  overflow-x: hidden;
  margin: 0;
  padding: 0 3px 10px;
  font-family: Helvetica, sans-serif;
  font-style: normal;
  text-align: center;
}

.panel-chart.chart-table td {
  padding: 5px 2px;
}

/*
 * Jodi week tables (Mon–Sat/Sun): first column is Monday — never hide it.
 * Only tables with a real date cell use .chart-has-date-col (hide on small screens).
 */
.charts-layout-root .panel-chart.chart-table.jodi-week-cols tbody tr td:first-child,
.charts-layout-root .panel-chart.chart-table.jodi-week-cols thead tr th:first-child {
  display: table-cell !important;
}

@media (max-width: 767px) {
  .charts-layout-root .panel-chart.chart-table.chart-has-date-col tbody tr td:first-child,
  .charts-layout-root .panel-chart.chart-table.chart-has-date-col thead tr th:first-child {
    display: none;
  }

  .charts-layout-root .panel-chart.chart-table.chart-thead-date-placeholder thead tr th:first-child {
    display: none;
  }
}

@media (max-height: 768px) and (orientation: landscape) {
  .charts-layout-root .panel-chart.chart-table.jodi-week-cols tbody tr td:first-child,
  .charts-layout-root .panel-chart.chart-table.jodi-week-cols thead tr th:first-child {
    display: table-cell !important;
  }
}

@media only screen and (max-height: 640px) and (orientation: landscape) {
  .charts-layout-root .panel-chart.chart-table.jodi-week-cols tbody tr td:first-child,
  .charts-layout-root .panel-chart.chart-table.jodi-week-cols thead tr th:first-child {
    display: table-cell !important;
  }
}

@media (max-width: 500px) and (orientation: portrait) {
  .charts-layout-root .panel-chart.chart-table.jodi-week-cols tbody tr td:first-child,
  .charts-layout-root .panel-chart.chart-table.jodi-week-cols thead tr th:first-child {
    display: table-cell !important;
  }
}

td.r,
.r {
  color: red;
}

.footer-text-div {
  max-width: 720px;
  margin: 12px auto;
  padding: 0 8px;
  text-align: left;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: #111;
}

.footer-text-div p {
  margin: 8px 0;
}

.chart-help {
  font-family: ui-monospace, monospace;
  font-size: 0.95em;
}

.button2 {
  background-color: #a0d5ff !important;
  color: #220c82 !important;
  padding: 10px 30px !important;
  font-size: 16px !important;
  margin: 20px auto !important;
  border-radius: 10px !important;
  border: 2px solid #0000005c !important;
  font-weight: 800 !important;
  text-shadow: 1px 1px #00bcd4 !important;
  box-shadow:
    0 8px 10px 0 rgba(0, 0, 0, 0.2),
    0 6px 8px 0 rgba(0, 0, 0, 0.19) !important;
  display: inline-block !important;
  transition: all 0.3s !important;
}
