/* Generic */

.FormSection input.value {
  width: auto;
}

.FormSection td.value,
.FormSection input.value {
  height: 2em;
}

.FormSection td.caption {
  padding-left: 4px;
  padding-right: 4px;
  height: 2em;
  line-height: 2em;
  white-space: nowrap;
  vertical-align: top;
  font-weight: bold;
}

.section > .header {
  line-height: 2em;
}

.section > .header > * {
  display: inline-block;
  vertical-align: bottom;
}

/* Nested sections */
.FormSection .FormSection {
  border-left: 5px solid #F0F0F0;
}

.FormSection .FormSection .Field {
  min-width: calc(29em - 5px);
  max-width: calc(28em - 10px);
}

.FormSection .FormSection .FormSection .Field {
  min-width: calc(28em - 10px);
  max-width: calc(28em - 10px);
}

.FormSection .FormSection > tbody > tr > td {
  padding-left: 1em;
}

/* Information separator */
.FormSection > tbody > tr > .caption .Information > span + span::before {
  content: "\2022";
  font-weight: bold;
  margin-left: 0.5em;
  margin-right: 0.5em;
}

/* Horizontal section layout */
.FormSection.Horizontal > tbody > tr > .caption > .Information {
  display: block;
  line-height: 1em;
  font-size: 0.6em;
  margin-top: -0.6em;
  height: 0;
  font-weight: normal;
  font-style: italic;
  color: #58595B;
}

.FormSection.Horizontal > tbody > tr > .caption > .Information > .Optional {
  padding-right: 1em;
}

.FormSection.Horizontal > tbody > tr > .caption,
.FormSection.Horizontal > tbody > tr > .value {
  padding-top: 0.25em;
  padding-bottom: 0.25em;
  position: relative;
}

/* Vertical section layout */
.FormSection.Vertical > tbody > tr > .caption,
.FormSection.Vertical > tbody > tr > .value {
  display: block;
  border: none;
}

.FormSection.Vertical > tbody > tr > .caption.Leaf {
  height: 1.25em;
  line-height: 1.25em;
  font-size: 75%;
}

.FormSection.Vertical > tbody > tr > .value {
  margin-bottom: 0.5em;
  height: auto;
}

.FormSection.Vertical > tbody > tr > .caption .Information {
  opacity: 0.5;
  padding-left: 1em;
  font-weight: lighter;
  display: inline;
}

