#busytime-row .labeled-field {
    width: auto;
    margin: 0 auto;
}

#busytime-selection {
    justify-content: center;
    position: relative;
    --grid-size: 2.875rem;
}

@media (max-width: 480px) {
    #busytime-selection {
        margin-top: 40px;
    }
}

#busytime-selection label {
    line-height: normal;
}

.busytime-field {
    border: 1px solid var(--border-color, var(--default-border-color));
    background-color: var(--unselectable-background, transparent);
    color: var(--unselectable-font, currentColor);
    border-radius: var(--border-radius, var(--default-border-radius));
    user-select: none;
    font-size: 1.4375rem;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    position: relative;
}

.busytime-field.inactive {
    cursor: pointer;
    border: none;
}

.busytime-field,
.more.busytime-field+.select2-container .select2-selection {
    width: 2.875rem !important;
    height: 2.1875rem;
}

.busytime-field:first-of-type::before {
    content: attr(data-label);
    display: block;
    position: absolute;
    left: 0;
    transform: translateY(-100%);
    top: -2px;
    font-size: 8pt;
    color: var(--font-color,var(--default-font-color));
    width: 110%;
}

#busytime-selection>*:not(:first-child) {
    margin-left: .25rem;
}

#busytime-selection>*:not(:last-child) {
    margin-right: .25rem;
}

#lane-frame {
    overflow: hidden;   
}

#lane-frame>.grid {
    display: grid;
    grid-template-columns: repeat(var(--grid-cols, 4), 3.375rem);
    grid-auto-rows: 4.625rem;
    grid-column-gap: .5625rem;
    grid-row-gap: .6875rem;
    width: -moz-min-content;
    width: min-content;
    flex: auto;
    height: 0;
    overflow: hidden auto;
    margin: 12px auto 0;
    text-align: center;
}

.lane-button {
    background-color: var(--unselectable-background, var(--default-input-background));
    display: flex;
    justify-content: center;
    flex-direction: column;
    border-radius: 2px;
}

.lane-button.inactive {
    cursor: pointer;
}

.lane-button b {
    font-size: 2.3rem;
}

.lane-costs {
    background-color: var(--active,var(--default-active));
    color: var(--active-font,#fff);
    display: block;
    max-width: 100%;
    padding: 3px;
    font-size: 0.8rem;
    text-align: center;
}

#lane-frame .buttongroup {
    margin-top: 25px;
    margin-bottom: 0;
    flex-shrink: 0;
}

#lane-frame .buttongroup span {
    top: 0;
    transform: translateY(-100%);
    padding-bottom: .4375rem;
}