.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.sectionLeft {
  text-align: left;
}

.container, footer, .font {
  font-family: 'Gill Sans', 'Gill Sans MT', 'Serif', sans-serif;
}
  
.inputBox {
  border-color: black;
  border-width: 1px;
}

.banner {
  background-color: lightgray;
}

.top-rounded {
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.bottom-rounded {
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
}

.photos {
  width: 400px;
}

.question {
  width: 1.45em;
  height: 1.45em;
  font-size: 0.78em;
  font-weight: 700;
  line-height: 1;
  color: #ead7ff;
  background: linear-gradient(160deg, #aa7af0 0%, #8a5fda 40%, #7248bf 100%);
  border: 1px solid #5a3798;
  border-radius: 50%;
  margin-left: 5px;
  padding: 0;
  vertical-align: +0.13em;
  display: inline-grid;
  place-items: center;
  text-shadow: 0 1px 0 rgba(229, 205, 255, 0.65), 0 1px 3px rgba(30, 10, 56, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 rgba(62, 28, 108, 0.55), 0 1px 2px rgba(38, 15, 73, 0.28);
  transform: translateY(0);
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
}

.question:hover {
  filter: brightness(1.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(62, 28, 108, 0.58), 0 2px 4px rgba(38, 15, 73, 0.3);
}

.question:active {
  transform: translateY(0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(62, 28, 108, 0.5), 0 1px 1px rgba(38, 15, 73, 0.24);
}

.question:focus-visible {
  outline: 2px solid #cf9cff;
  outline-offset: 2px;
}

.inline {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.inline2 {
  display: inline-block;
  float:none;
  text-align:center;
  margin: 0;
}

.inline-edit-target-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.center {
  justify-content: center;
  align-items: center;
  text-align: center;
}

.fixedWidth {
  max-width: 400px;
  margin: 0 auto;
}

ul {
  padding-left: 20px;
  margin-left: 0;
}

figure {
  padding-left: 0;
  margin-left: 0;
}

.action {
  font-size: 0.75em;
  font-weight: 700;
  color: #ead7ff;
  background: linear-gradient(160deg, #aa7af0 0%, #8a5fda 40%, #7248bf 100%);
  border: 1px solid #5a3798;
  border-radius: 6px;
  padding: 2px 7px;
  vertical-align: middle;
  text-shadow: 0 1px 0 rgba(229, 205, 255, 0.65), 0 1px 3px rgba(30, 10, 56, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 rgba(62, 28, 108, 0.55), 0 1px 2px rgba(38, 15, 73, 0.28);
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
  margin-top: 20px;
  margin-bottom: 5px;
}

.action:hover {
  filter: brightness(1.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(62, 28, 108, 0.58), 0 2px 4px rgba(38, 15, 73, 0.3);
}

.action:active {
  transform: translateY(1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(62, 28, 108, 0.5), 0 1px 1px rgba(38, 15, 73, 0.24);
}

.action:focus-visible {
  outline: 2px solid #cf9cff;
  outline-offset: 2px;
}

button {
  cursor: pointer;
}

button[type="submit"],
button[onclick^="edit"] {
  font-size: 0.75em;
  font-weight: 700;
  color: #ead7ff;
  background: linear-gradient(160deg, #aa7af0 0%, #8a5fda 40%, #7248bf 100%);
  border: 1px solid #5a3798;
  border-radius: 6px;
  padding: 2px 7px;
  vertical-align: middle;
  text-shadow: 0 1px 0 rgba(229, 205, 255, 0.65), 0 1px 3px rgba(30, 10, 56, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 rgba(62, 28, 108, 0.55), 0 1px 2px rgba(38, 15, 73, 0.28);
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
}

button[type="submit"]:hover,
button[onclick^="edit"]:hover {
  filter: brightness(1.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(62, 28, 108, 0.58), 0 2px 4px rgba(38, 15, 73, 0.3);
}

button[type="submit"]:active,
button[onclick^="edit"]:active {
  transform: translateY(1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(62, 28, 108, 0.5), 0 1px 1px rgba(38, 15, 73, 0.24);
}

button[type="submit"]:focus-visible,
button[onclick^="edit"]:focus-visible {
  outline: 2px solid #cf9cff;
  outline-offset: 2px;
}


.columnHeadings {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

input {
  float: left;
}

input[type="number"] {
  width: 44px;
}

/* Hide number spinners on desktop browsers while keeping numeric validation. */
@media (hover: hover) and (pointer: fine) {
  input[type="number"]::-webkit-outer-spin-button,
  input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
  }
}

/* iOS Safari zooms focused inputs when computed font-size is below 16px. */
input[type="number"],
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="url"],
input[type="password"],
textarea,
select {
  font-size: 16px;
}

/* Custom purple checkbox matching .question style */
input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  display: inline-block;
  position: relative;
  width: 1.3em;
  height: 1.3em;
  background: linear-gradient(160deg, #aa7af0 0%, #8a5fda 40%, #7248bf 100%);
  border: 1px solid #5a3798;
  border-radius: 4px;
  vertical-align: middle;
  margin: 0 6px 0 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 rgba(62, 28, 108, 0.55), 0 1px 2px rgba(38, 15, 73, 0.28);
  cursor: pointer;
  transition: box-shadow 0.14s ease, filter 0.14s ease;
  float: none;
  flex-shrink: 0;
}

/* When a checkbox has a sibling label, float it left so the block label wraps beside it */
input[type="checkbox"]:has(+ label) {
  float: left;
  margin-top: 0.15em;
}

input[type="checkbox"]::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 46%;
  width: 0.58em;
  height: 0.32em;
  border-left: 2px solid #ead7ff;
  border-bottom: 2px solid #ead7ff;
  transform: translate(-50%, -50%) rotate(-45deg) scale(0);
  transition: transform 0.1s ease;
  filter: drop-shadow(0 1px 0 rgba(62, 28, 108, 0.6));
}

input[type="checkbox"]:checked::after {
  transform: translate(-50%, -50%) rotate(-45deg) scale(1);
}

input[type="checkbox"]:hover {
  filter: brightness(1.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(62, 28, 108, 0.58), 0 2px 4px rgba(38, 15, 73, 0.3);
}

input[type="checkbox"]:active {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(62, 28, 108, 0.5), 0 1px 1px rgba(38, 15, 73, 0.24);
}

input[type="checkbox"]:focus-visible {
  outline: 2px solid #cf9cff;
  outline-offset: 2px;
}

label {
  display: block;
  margin-left: 28px;
}

/* dandr.html pattern: checkbox followed immediately by a sibling label */
input[type="checkbox"] + label {
  display: block;
  margin-left: calc(1.3em + 11px);
  /*vertical-align: middle;*/
}

h2 {
  margin-bottom: 5px;
}

p {
  margin-top: 0;
}

.units {
  font-size: 0.8em;
  margin-left: 5px;
}

.small_left {
  font-size: 0.8em;
  margin-left: 0;
}

.statusTable {
  border-spacing: 8px 0;
  text-align: left;
}

.statusTable th, .statusTable td { 
  padding: 4px;
}

.statusTable .underline {
  border-bottom: 2px solid black;
}

.recommendedTable .underline {
  border-bottom: 4px solid black;
}

.statusTable .side-borders {
  border-left: 2px solid black;
  border-right: 2px solid black;
}

.recommendedTable, .recommendedTable th, .recommendedTable td { 
  border: 1px solid black; 
  border-collapse: collapse;
  padding-left: 4px;
  padding-right: 4px;
}

tr {
  -webkit-transition: opacity 2s;
  -moz-transition: opacity 2s;
  -o-transition: opacity 2s;
  transition: opacity 2s;
}

.cursive {
  font-family: cursive;
}

footer a, footer span {
  font-size: 0.8em;
}

footer {
  text-align: center;
  margin-top: 15px;
  margin-bottom: 15px;
}

.help-section h2 {
  font-size: 1.1em;
}

.help-section h1 {
  text-decoration-line: underline;
}

.decon-section {
  display: none;
}

.deconSection:checked ~ .decon-section {
  display: block;
}

.relative {
  position: relative;
}

.symbols {
  font-size: 13px; /*1.0em;*/
  color: black;
  font-weight: bold;
  height: 24px; /*1.8em;*/
  width: 24px;/*1.8em;*/
  border-radius: 5px;
  vertical-align: middle;
  border-width: 1px;
  padding: 0;
  margin: 0;
}

.fc-container {
    position: relative;
}

.fc-target-up {
  position: absolute;
  top: 108px;
  right: 43px;
}

#fc-column-label {
  position: absolute;
  top: 55px;
  left: 17px;
}

#cya-column-label {
  position: absolute;
  top: 55px;
  left: -20px;
}

#chemistryChart {
  /*border: 1px solid black;*/
  margin-bottom: 0;
}
/*
.fc-target-edit {
  position: absolute;
  top: 138px;
  right: 43px;
}
*/
.fc-target-down {
  position: absolute;
  top: 168px;
  right: 43px;
}

.fc-target-text {
  position: absolute;
  top: 132px;
  left: 95px;
}

.fc-target-question {
  position: absolute;
  top: 132px;
  left: 70px;
}

.fc-max {
  position: absolute;
  top: 100px;
  right: 367px;
}

.fc-target {
  position: absolute;
  top: 140px;
  right: 367px;
}

.fc-high {
  position: absolute;
  top: 182px;
  right: 367px;
}

.fc-min {
  position: absolute;
  top: 224px;
  right: 367px;
}

dialog {
  width: 340px;
  max-height: 750px;
}

video {
  width: 330px;
}

#adRow, #bdRow {
  background-color: yellow;
}

.column dialog img {
  max-height: 650px;
  max-width: 330px;
  width: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 0px;
}

/* Create four equal columns that sits next to each other */
.column {
  flex: 25%;
  max-width: 25%;
  padding: 0 0px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 200px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 100px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
}

.card {
  background-color: white;
  box-shadow: 0 5px 10px;
  border-radius: 15px;
  margin-top: 25px;
  padding: 1px;
  width: calc(100% - 15px);
}

#fc_chart {
  width: 380px;
}

.recommendedTable {
  margin:auto;
}

.chart-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 20px 6px 20px;
}

.chart-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.fc-indicator {
  position: absolute;
  top: 78px;
  left: 250px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  transition: top 0.5s ease, left 0.5s ease;
}

.fc-indicator.bottom-slot {
  flex-direction: column-reverse;
  align-items: center;
  gap: 4px;
}

.fc-indicator-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #1f9d3a;
  color: #1f9d3a;
  background: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fc-indicator.is-alert .fc-indicator-circle {
  border-color: #c62828;
  color: #c62828;
}

.fc-indicator-value {
  font-size: 0.85em;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.9);
  padding: 1px 4px;
  border-radius: 4px;
  white-space: nowrap;
}

canvas {
    /*border: 1px solid #ccc;*/
    display: block;
    margin-bottom: 20px;
}

/*.slider-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-container input[type="range"] {
    width: 400px;
}
    

.slider-label {
    font-weight: bold;
}*/