/* ACF "repeat-horizontal" class, display repeaters in horizontal columns  */

.repeat-horizontal .acf-repeater tbody {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.repeat-horizontal .acf-repeater tr.acf-row:not(.acf-clone) {
    width: 100%;
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: 21%;
    border-bottom: 1px solid #eee;
}

.repeat-horizontal .acf-repeater tr.acf-row:not(.acf-clone) td.acf-fields {
    width: 100% !important;
}

.repeat-horizontal .acf-repeater .acf-row-handle,
.repeat-horizontal .acf-repeater .acf-fields {
    border-width: 0px 0px 0px 1px;
}

.repeat-horizontal .acf-repeater .acf-row-handle.order{
    min-width: 10px;
}

.repeat-horizontal .acf-repeater .acf-row:last-child .acf-row-handle {
    border-width: 0px;
}

.repeat-horizontal .acf-repeater .acf-row-handle .acf-icon {
    position: relative;
    margin: 10px 0;
}

.repeat-horizontal .acf-repeater .acf-row:hover .acf-row-handle .acf-icon {
    display: none;
}

.repeat-horizontal .acf-repeater .acf-row-handle.remove:hover .acf-icon {
    display: block;
}