root {
  --mainBackColor: red;

  /* #ddd6aa; */
}

body {
  /* background-color: #ddd6aa; */
  font-size: 0.9rem;
  /* height: 100%; */
  width: 100%;
}

.chart1 {
  grid-area: chart1;
  background-color: #ddd6aa;
}
.chart2 {
  grid-area: chart2;
}
.chart3 {
  grid-area: chart3;
}
.symbol1 {
  grid-area: symbol1;
}
.watch1 {
  grid-area: watch1;
}

.category1 {
  grid-area: category1;
}
.symbol2 {
  grid-area: symbol2;
}
.watch2 {
  grid-area: watch2;
}

.category2 {
  grid-area: category2;
}
.note {
  grid-area: note;
}
.buttons {
  grid-area: buttons;
}
.item1 {
  grid-area: item1;
}
.item2 {
  grid-area: item1;
}
.item2 {
  grid-area: item2;
}
.item3 {
  grid-area: item3;
}
.item4 {
  grid-area: item4;
}
.item5 {
  grid-area: item5;
}
.item6 {
  grid-area: item6;
}

select {
  font-size: 0.9rem;
}

label,
.pLabel {
  color: dodgerblue;
  font-weight: bold;
  font-size: 1rem;

  /* padding-top: 0.5rem; */
}

input,
textarea,
select {
  border: 1px solid #ccc;
  border-radius: 5px;
  align-items: center;
  padding: 0.25rem;
}

input[type="submit"] {
  background-color: #6495ed;
  color: white;
  font-weight: bold;
  padding: 0.35em;
  margin: 0.3rem auto;
  border: none;
  cursor: pointer;
  /* width: 30%; */
  border-radius: 4px;
  /* display: block;
  position: middle; */
  align-content: center;
}

.charts,
.charts_X2,
.chart1,
.chart2,
.chart3,
.row22,
.row33 {
  display: grid;
  grid-gap: 2px;
  background-color: #ddd6aa; /*var(--mainBackColor); */
  padding: 1px;
}
.charts iframe,
.charts_X2 iframe,
.double-row,
.treble-row,
.note {
  background-color: #ddd6aa; /*var(--mainBackColor); */
  padding: 0.5em;
  border-radius: 10px;
  border: solid 4px darkgray;
}
/* s */
.charts {
  grid-template-areas: "chart1 chart2 chart3";
  grid-template-columns: 1.9fr 1.9fr 1.1fr;
  /* grid-gap: 10px; */
  width: 99%;
}
.charts_X2 {
  grid-template-areas: "chart1 chart2";
  grid-template-columns: 1.9fr 1.9fr;
  /* grid-gap: 10px; */
  width: 99%;
}
.chart3 {
  background-color: deepskyblue;
}
.row22 {
  grid-template-areas: "symbol1 watch1 category1 note";
  /* grid-template-columns: 1fr 1fr 1fr 2.5fr; */
  /* height: 1vh; */
}
.row22 input[type="text"],
select {
  width: 90%;
}
.row33 {
  grid-template-areas: "buttons item1 item2 item3 item4 targets";
  /* grid-template-columns: 1.2fr 1fr 1fr 1fr 1.3fr 1.2fr; */
}
.row3 {
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1.3fr 1.1fr;
  /* height: 2vh; */
}
.treble-row p {
  margin-top: 5px;
  margin-bottom: 5px;
}
.charts iframe {
  /* object-fit: cover; */
  /* width: 100%; */
  border-radius: 10px;
}

.form-group {
  /* margin-bottom: 0.25rem; */
  /* background-color: #ddd6aa; */
}
.row2 div,
.row3 div,
.treble-row {
  align-items: flex-start;
  padding-left: 0.5em;
  padding-right: 0.5em;
  padding-top: 0.3em;
  /* height: 2mm; */
}

.double-row {
  display: grid;
  /* grid-gap: 5px; */
  grid-template-rows: 1fr1 1fr;
  /* border: solid 4px darkgray; */
  /* color: red; */
}

.row2 label {
  display: block;
}
.row3 label {
  /* display: inline; */
}
.rem-20 {
  width: 20rem;
}

.note {
  /* border: solid 4px darkgray; */
}
/* ========
    Tables
=========== */

table,
th,
td {
  border: 1px solid black;
  border-collapse: collapse;
}

th {
  text-align: center;
  padding: 8px;
}

td {
  text-align: left;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

th {
  background-color: #4caf50;
  color: white;
}
table {
  background-color: #ddd6aa;
}
