.remove_member_form {

    ul.deletion_types {
        padding-left: 30px;

        li {
            margin-bottom: 8px;
        }
    }

    .long_help {
        margin-bottom: 10px;
    }
}

ul.nick_change_options {
    list-style-type: disc;
    margin-left: 3em;

    li {
        margin-bottom: 1em;
    }
}

.remove_group_form {

    ul.deletion_types {
        padding-left: 30px;

        li {
            margin-bottom: 8px;
        }
    }

    .long_help {
        margin-bottom: 10px;
    }
}

.spawning_formset {
    clear: both;

    li {
        line-height: 24px;

        &.placeholder_form {
            display: none;
        }

        .formset_item {
            float: left;

            .field {
                float: left;
                padding-top: 0;

                .field_input {
                    width: 420px;
                }
            }
        }
    }

    a.delete_button {
        float: left;
        text-indent: -5000px;
        width: 16px;
        height: 24px;
        background-repeat: no-repeat;
        background-position: center;
        background-image: url(/static/images/icons/delete.png);
    }

    a.add_button {
        width: 100px;
        background-color: #ccc;
        background-image: url(/static/images/icons/add.png);
        background-position: 4px center;
        background-repeat: no-repeat;
        border: 1px solid #444;
        padding-top: 2px;
        padding-bottom: 2px;
        padding-left: 24px;
        padding-right: 8px;
        margin-left: 16px;
        line-height: 32px;
        text-decoration: none;
        color: #444;

        &:hover {
            background-color: #888;
        }
    }
}

ul.sortable_formset li.sortable_item {
    border: 1px solid #888;
    background-color: #ddd;
    line-height: 28px;
    margin-bottom: 2px;

    .ui-icon {
        float: left;
        margin-top: 5px;
        margin-left: 3px;
    }

    a.delete_button {
        height: 30px;
        float: right;
        margin-right: 8px;
    }
}

/* nick fields */
.nick_field .nick_search input[type=text] {
    width: 300px;
}

.nick_field--ajaxified .nick_search input[type=text] {
    width: 400px;
}

.byline_field .byline_search input[type=text] {
    width: 300px;
}

.byline_field--ajaxified .byline_search input[type=text] {
    width: 400px;
}

/* production field */
.production_field {
    line-height: 28px;
    width: 480px;
    float: left;

    .form_view .title_field {
        float: left;
        width: 200px;
    }

    .form_view > label {
        padding-left: 10px;
        padding-right: 10px;
        float: left;
    }

    .byline_field {
        float: left;
    }

    .byline_field--ajaxified .byline_search input[type=text] {
        width: 200px;
    }

    .static_view_text {
        float: left;
    }

    .clear_button {
        float: left;
        width: 16px;
        height: 16px;
        text-indent: -5000px;
        background-image: url('/static/images/icons/cross.png');
    }
}

.ui-datepicker-trigger {
    background-image: url('/static/images/icons/calendar.png');
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 4px;
    text-indent: -5000px;
    width: 20px;
    height: 20px;
}

.asmContainer {

    select {
        width: 200px;
    }

    ol.asmList {
        font-family: Helvetica, Arial, sans-serif;
        font-size: 10pt;
        width: 200px;
    }

    a.asmListItemRemove {
        text-indent: -5000px;
        background-image: url('/static/images/icons/delete.png');
        width: 16px;
        height: 16px;
        padding: 3px;
        background-repeat: no-repeat;
        background-position: center;
    }
}

.spawning_formset {

    .spawned_form {
        display: flex;

        input[type=text] {
            box-sizing: border-box;
            width: 100%;
        }

        div[style] {
            display: none;
        }

        .formset_item {
            flex-grow: 1;
            float: none;
            margin-right: 0.25em;
        }
    }

    .delete {
        @include size(1px);
        overflow: hidden;
    }
}
