.row {
    display: flex;
    position: relative;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.section {
    position: relative;
    box-sizing: border-box;
}

.section > div:not(.group),
.section > div.group > div {
    display: flex;
}

.section > div:not(.group) > span,
.section > div:not(.group) > div,
.section > div.group > div > span,
.section > div.group > div > div {
    display: flex;
    width: 100%;
}

.section > div > .efs {
    width: 100%;
}

.form-fields input,
.form-fields select,
.form-fields textarea,
.form-fields .readonly {
    height: 40px;
    padding: 0.6rem 1.2rem;
    background: #FFFFFF;
    outline: none;
    border: 2px solid #DDDDDD;
    font-family: effra, sans-serif;
    border-radius: 4px;
    transition: 0.5s;
    width: 100%;
}

.form-fields .readonly,
.form-fields input[readonly] {
    border-style: dotted;
}

.form-fields input[type=checkbox] {
    width: auto;
}

.form-fields .full textarea {
}

.no-data {
    padding: 1rem;
    background: #EDEDED;
    border-radius: 4px;
    width: 100%;
    margin-top: 1rem;
}

.form-fields input:focus {
    border: 2px solid #3d3283;
}

.operatives-list table {
    margin-top: 1rem;
}

.form-fields .group > div,
.form-fields .section > div {
    padding-top: 5px;
    padding-bottom: 5px;
}

.form-fields .section > div.group > div {
    padding-top: 5px;
    padding-bottom: 5px;
}

.form-fields .section > div:first-of-type {
    padding-top: 0;
}

.form-fields .section > div:last-of-type {
    padding-bottom: 0;
}

.form-fields .section > div > label,
.form-fields .section > div.group > div > label {
    flex-grow: 0;
    flex-shrink: 0;
    width: 10em;
}

.form-fields .section > div > label:not(:empty):after {
    content: ':';
}

input[type=checkbox] {
    zoom: 1.75;
}

td.id,
th.id {
    width: 1em;
}

.form-fields .section > div > .choices {
    display: flex;
}

.form-fields .section > div > .choices > *:not(:last-child) {
    margin-right: 5px;
}

.form-fields .section > div > .choices > li > button {
    opacity: 0.75;
}

.form-fields .section > div > .choices > li > button.selected {
    opacity: 1;
    font-weight: bold;
    border: 3px solid #000000;
}

.attention {
    color: #f63c00;
}

.warning {
    color: #f8a803;
}

.good {
    color: #00c26f;
}

.crlf {
    white-space: pre-line;
}

.atomic {
    white-space: nowrap;
}

.tabs {
    display: flex;
    border-bottom: 2px solid #dddddd;
}

.tabs a {
    display: inline-flex;
    padding: 0.5em 1em 0.3em 1em;
    background: #dddddd;
    border-top-left-radius: 0.5em;
    border-top-right-radius: 0.5em;
    margin-right: 0.25em;
}

.tabs li {
    display: flex;
    align-items: center;
}

.tabs li:last-child a {
    margin-right: 0;
}

.tabs a:hover {
    cursor: pointer;
    background: #cccccc;
    opacity: 1;
}

.tabs a.selected {
    background: #404040;
    color: #ffffff;
    font-weight: bold;
}

.tabs.lifted {
    margin-bottom: 0.5em;
}

@media (max-width: 500px) {
    .section > div:not(.group), .section > div.group > div {
        flex-direction: column;
    }

    .section > div:not(.group) label,
    .section > div.group > div label {
        margin-bottom: 0.25em;
    }
}
