/*
	LAYOUT ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*/
.row {
    display: flex;
    position: relative;
    flex-direction: row;
    padding: 0 !important;
}

.row.spread {
    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;
    margin: 10px;
}

.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;
}

.split-content {
    display: flex;
    justify-content: space-between;
}

/*
	FORMS ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*/
.form-fields .section > div,
.form-fields .section > .group > div {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.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 > div > label,
.form-fields .section > .group > 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 > label:after,
.form-fields .section > .group > 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 > .tab > div > label:empty:after {
    content: ''
}

.form-fields .section > div input[type=text],
.form-fields .section > div input[type=password],
.form-fields .section > div select,
.form-fields .section > div textarea {
    box-sizing: border-box;
    color: #000000;
    padding: 5px;
}

.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;
}

.flexy:not(tr),
.iflexy:not(tr) {
    display: flex;
    align-items: center;
}

.iflexy:not(tr) {
    display: inline-flex;
}

.flexy:not(tr),
.iflexy:not(tr) > :not(:last-child) {
    margin-right: 0.5em;
}
