section.form .form_content aside {
    margin-top: var(--default-spacing);
}

@media only screen and (min-width: 768px) {
    section.form .form_content {
        display: flex;
        margin-top: calc(var(--default-spacing) / 2);
    }
    section.form .form_content main {
        width: 50%;
        box-sizing: border-box;
        padding-right: var(--default-spacing);
        margin-top: 0;
    }
    section.form .form_content aside {
        width: 50%;
        margin-top: 0;
    }
}

/* Objects */
form textarea,
form input[type=date],
form input[type=text],
form input[type=password],
form input[type=email],
form input[type=phone],
form input[type=number] {
    border: 1px solid #000;
    padding: 10px;
    height: 38px;
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
}
form textarea {
    height: 120px;
}
form button {
    background: #000;
    color: #fff;
    border: 0;
    height: 30px;
    cursor: pointer;
    padding: 0 10px;
    text-transform: uppercase;
}
label {
    margin-bottom: 5px;
}
select {
    width: 100%;
    max-width: 600px;
}
select[multiple=multiple] {
    min-height: 200px;
}

/* Misc */
form .form_fields,
form .form_header,
form .form_submit_button,
form .form_collection_entry_add,
form fieldset {
    margin-top: calc(var(--default-spacing) / 2);
}
form .form-check label {
    display: inline;
}
form .hidden {
    display: none;
}
form .form_field,
form .form_collection_entry {
    margin-bottom: calc(var(--default-spacing) / 2);
}
form .form_field.form_type_hidden {
    margin: 0;
}
form .form_note {
    margin-top: calc(var(--default-spacing) / 2);
}
form .form_check {
    display: flex;
}
form .form_check input {
    margin-right: 5px;
}
form .form_check label {
    margin: 0;
}
.form_field_help {
    font-size: var(--small-font-size);
    margin-bottom: calc(var(--default-spacing) / 2);
}

/* Required */
legend.required::after,
label.required::after {
    content: ' *';
}


/* Collection */
.form_collection_entry {
    margin-top: calc(var(--default-spacing) / 2);
    position: relative;
    padding: var(--default-spacing);
    border: 1px solid #ccc;
    max-width: 600px;
}
.form_collection_entry_delete {
    padding: 0;
    font-size: 0;
    background: url('../img/close.svg') no-repeat;
    background-size: 100%;
    display: block;
    width: 15px;
    height: 15px;
    position: absolute;
    right: var(--default-spacing);
    top: var(--default-spacing);
}
.form_collection_entry_add {
    background: #fff;
    color: #000;
    border: 1px solid #000;
}


/* Form types */
.form_type_file img {
    max-width: 80px;
}
.form_type_repeated legend {
    display: none;
}


/* Autocomplete */
form .autocomplete_popup {
    background: #fff;
    border: 1px solid #ccc;
}
form .autocomplete_popup .autocomplete_option:hover,
form .autocomplete_popup .autocomplete_option.selected {
    background: #000 !important;
    color: #fff !important;
    cursor: pointer;
}


/* Translations (disabled) */
.a2lix_translationsLocales {
    display: none;
}


/* Form tabs */
form .nav-tabs {
    border-bottom: 1px solid #000;
    max-width: 600px;
}
form .nav-tabs .nav-item {
    display: inline-block;
    position: relative;
    top: 1px;
}
form .nav-tabs .nav-item a {
    display: inline-block;
    padding: 0.4em 0.8em 0.4em 0.8em;
    font-size: var(--small-font-size);
    text-transform: uppercase;
}
form .nav-tabs .nav-item a.active {
    border-top: 1px solid #000;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    border-bottom: 1px solid #fff;
    border-radius: 3px 3px 0 0;
}
form .tab-pane {
    display: none;
}
form .tab-pane.active {
    display: block;
}
form .tab-content {
    margin-top: calc(var(--default-spacing) / 2);
}