/*
	LAYOUT ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*/

.row {
  display: flex;
  position: relative;
  flex-direction: row;
  padding: 0 !important;
}
.spread {
  display: flex;
  justify-content: space-between;
}
.row.inline-elements {
  align-items: center;
}
.row.full-elements {
  align-items: stretch;
  align-self: stretch;
}
.row .section {
  position: relative;
  flex-grow: 1;
  flex-shrink: 1;
}
.row .section:last-child {
  margin-right: 0;
}
.row .section.fixed {
  flex-grow: 0;
  flex-shrink: 0;
}
.row .section textarea.full {
  flex: 1;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}
.row.equal > .section {
  flex-basis: 50%;
}
/*
	FORMS ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*/

.form-fields .section > div,
.form-fields .section > .group > div,
.form-fields .section > .logical-container > div {
  position: relative;
  display: flex;
  flex-direction: row;
  /*align-items: center;*/

}
.form-fields .section > div.isolate,
.form-fields .section > .group > div.isolate {
  padding-top: 10px;
  padding-bottom: 10px;
}
.form-fields .section > div:last-child,
.form-fields .section > .group > div:last-child {
  margin-bottom: 0;
}
.form-fields .section > div.compound > *,
.form-fields .section > .group > div.compound > * {
  margin-right: 5px;
}
.form-fields .section > div.compound > *:last-child,
.form-fields .section > .group > div.compound > *:last-child {
  margin-right: 0;
}
.form-fields .section > .group {
  position: relative;
}
.form-fields .section > .logical-container {
  position: relative;
  display: block;
}
.form-fields .section > div > label,
.form-fields .section > .group > div > label,
.form-fields .section > .logical-container > div > label,
.form-fields .section > .tab > div > label {
  display: inline-block;
  width: 150px;
  flex-shrink: 0;
}
.form-fields .section.wide-labels > div > label,
.form-fields .section.wide-labels > .group > div > label,
.form-fields .section.wide-labels > .tab > div > label {
  width: 300px;
}
.form-fields .section > div.span > label,
.form-fields .section > .group > div.span > label,
.form-fields .section > .tab > div.span > label {
  width: auto;
}
.form-fields .section > div > label:after,
.form-fields .section > .group > div > label:after,
.form-fields .section > .logical-container > div > label:after,
.form-fields .section > .tab > div > label:after {
  content: ':';
}
.form-fields .section > div > label:empty:after,
.form-fields .section > .group > div > label:empty:after,
.form-fields .section > .logical-container > div > label:empty:after,
.form-fields .section > .tab > div > label:empty:after,
.form-fields .section > div > label.q:after,
.form-fields .section > .group > div > label.q:after,
.form-fields .section > .logical-container > div > label.q:after,
.form-fields .section > .tab > div > label.q:after {
  content: '';
}
.form-fields .section > div input[type=text],
.form-fields .section > div select,
.form-fields .section > div textarea {
  box-sizing: border-box;
  color: #000000;
  width: 100%;
  padding: 0.5rem 0;
}
.form-fields .section > div input[type=checkbox] + .cb-label {
  padding-left: 10px;
}
.form-fields .section > div .cb-label + input[type=checkbox] {
  padding-left: 10px;
}
.form-fields + .controls {
  margin-top: 20px;
}
.form-fields + .controls > * {
  margin-right: 10px;
}
.form-fields .section > h3:not(:first-of-type) {
  margin-top: 10px;
}
.input-container {
  display: inline-flex;
  align-items: center;
}
