#table_form {
    margin-top: 0px;
}

.table_form__table {
    display: block;
    width: 100%;
}

.table_form__tr {
    display: flex;
    justify-content: space-between;
    align-content: stretch;
    align-items: stretch;
    position: relative;
}

.table_form__th {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#table_form {
    margin-top: 0px;
}

.table_form__table {
    background: #fff;
}

.table_form__th,
.table_form__td {
    padding: 6px 10px;
    width: 25%;
}

.table_form__tr {
    border-top: 1px solid #777777;
    border-bottom: 1px solid #777777;
}

.table_form__th,
.table_form__td {
    border-right: 1px solid #777777;
    border-left: 1px solid #777777;
    flex-wrap: wrap;
}

.table_form__td + .table_form__td,
.table_form__th + .table_form__th {
    border-left: none;
}
.table_form__tr + .table_form__tr {
    border-top: none;
}

.table_form__controls {
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
    top: 0;
    opacity: 0;
    z-index: -1;
    height: 100%;
    transform: translateX(-100%);
    padding: 0 10px;
    transition: .3s;
}

.table_form__tr:hover .table_form__controls {
    opacity: 1;
    z-index: 1;
}

.table_form__control--remove,
.table_form__control--add {
    background: #d5e3ff;
    color: #4189e4 !important;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    font-size: 22px;
    opacity: .7;
    padding-bottom: 2px;
}

.table_form__control--remove:hover,
.table_form__control--add:hover {
    opacity: 1;
    cursor: pointer
}

.table_form__control--remove {
    margin-left: 5px;
    background: #f8dddd;
    color: red !important;
    font-size: 18px;
    font-family: monospace;
    font-weight: bold;
    padding-bottom: 1px;
}

@media (max-width: 500px) {
    .table_form__th, .table_form__td {
        font-size: 11px;
        line-height: 1.3;
    }
    .table_form__inner {
        padding-left: 65px;
        overflow-x: auto;
        height: 100%;
        overflow-y: hidden;
    }
    .table_form__table {
        min-width: 500px;
    }
}