
/* Table */

.table-box {
  flex-direction: row;
  flex-wrap: wrap;
}

.table-box > .item > .label-box {
  border: 0;
}

.table-box > .item > .content {
  background-color: var( --table-label-background-color );
  color: var( --table-label-text-color );
  border: 0;
}

.table-box > .item {
  flex-basis: 100%;
  flex-direction: row;
}

.table-box > .item > :is( .label-box, .content ) {
  text-align: center;
  flex-basis: 50%;
}

.table-box > .item:is( .currency_pair, .pivot_foot, .period_range, .levarage, .initial_margin ) > .label-box {
  text-align: right;
}

.table-box > .item:is( .currency_pair, .pivot_foot, .period_range, .levarage, .initial_margin ) > .content {
  text-align: left;
}

.table-box > .item:is( .pivot_foot, .period_range, .levarage, .initial_margin ) > .label-box {
  flex-basis: auto;
  flex-grow: 1;
}

.table-box > .item:is( .pivot_foot, .period_range, .levarage, .initial_margin ) > .content {
  flex-basis: auto;
}

.table-box > .item:is( .pivot_foot, .period_range, .levarage, .initial_margin ) {
  flex-basis: calc( ( 100% - 1px ) / 2 );
}

/* Chart Box */

.chart-box {
  height: 200px;
  margin-bottom: var( --paragraph-margin );
}

.chart-box > img {
  width: 100%;
  height: 100%;
}

/* Form Box */

.form-box {
  width: 80%;
  margin: 0 auto;
}

.form-box > .item > .label-box {
  flex-basis: 30%;
}

#form-main-key {
  width: 100%;
}

/* Form Submit */

.form-submits {
  justify-content: center;
}

#submit-process {
  font-size: 1.2rem;
}

@media screen and ( max-width: 480px ) {

  .form-box {
    width: auto;
  }

  .form-box > .item {
    flex-direction: column;
  }

  .form-box > .item > .label-box {
    flex-basis: auto;
  }

}
