.tab-motors {
    .spacer {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .motorstop {
        .spacer_box {
            gap: 0;
        }
    }
    .configuration {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .danger {
        color: var(--text);
        .switchery {
            margin-right: 0.1rem;
        }
    }
    .ui-grid-col {
        margin-bottom: 0;
    }
    position: relative;
    .groupTitle {
        padding: 0 0 5px 0;
        margin: 0 0 10px 0;
        font-size: 16px;
        border-bottom: 1px solid var(--surface-500);
    }
    .mixerPreview {
        svg {
            width: 150px;
            height: 150px;
            margin-left: 15px;
        }
    }
    dl.features {
        dt {
            width: 10px;
            height: 18px;
            line-height: 18px;
        }
        dd {
            margin: 0 0 0 20px;
            height: 18px;
            line-height: 18px;
        }
    }
    table.featuresMultiple {
        border-collapse: collapse;
        margin-bottom: 0.5rem;
        tbody {
            border-bottom: 1px solid var(--surface-500);
            tr {
                td {
                    padding: 0 0 0.5rem 0;
                }
            }
        }
    }
    .number {
        input {
            width: 55px;
            padding-left: 3px;
            height: 20px;
            line-height: 20px;
            text-align: left;
            border-radius: 3px;
            margin-right: 11px;
            font-size: 12px;
            font-weight: normal;
        }
        .disabled {
            width: 48px;
            padding: 0 5px;
            background-color: var(--surface-400);
        }
        input[readonly] {
            background-color: #afafaf;
            border: none;
            pointer-events: none;
            opacity: 0.5;
        }
        span {
            margin-left: 0;
        }
        &:last-child {
            border-bottom: none;
            padding-bottom: 0;
            margin-bottom: 0;
        }
    }
    .disarm {
        .checkbox {
            padding-left: 0;
            margin-top: -5px;
            margin-right: 5px;
            padding-bottom: 5px;
            border-bottom: 1px solid var(--surface-500);
            width: 100%;
        }
        margin-bottom: 5px;
        border-bottom: 1px solid var(--surface-500);
        width: 100%;
    }
    .freelabel {
        margin-left: 10px;
        position: relative;
    }
    span {
        margin: 0;
    }
    .spacer_box.mixer_settings {
        padding-bottom: 0px;
    }
    .motor_direction_reversed {
        padding-top: 10px;
    }
    .motor_tool_buttons {
        padding-left: 10px;
    }
    .disarmdelay {
        width: 100%;
        border-bottom: 1px solid var(--surface-500);
    }
    .select {
        margin-bottom: 5px;
        clear: left;
        padding-bottom: 5px;
        border-bottom: 1px solid var(--surface-500);
        width: 100%;
        &:last-child {
            border-bottom: none;
            padding-bottom: 0;
            margin-bottom: 0;
        }
    }
    .selectProtocol {
        padding: 0.5rem 0;
        margin-bottom: 0.5rem;
        border-bottom: 1px solid var(--surface-500);
        width: 100%;
    }
    thead {
        display: none;
    }
    .alignicon {
        width: 15px;
        height: 15px;
        margin: 3px;
    }
    ._3dSettings {
        width: 100%;
    }
    .modelAndGraph {
        width: 100%;
    }
    #dialogMotorOutputReorder-closebtn {
        margin-right: 0px;
        margin-bottom: 0px;
    }
    dialog {
        width: 400px;
        height: 440px;
    }
    #dialogMotorOutputReorderContentWrapper {
        display: flex;
        flex-flow: column;
        width: 100%;
        height: 100%;
    }
    #dialogMotorOutputReorderContent {
        flex-grow: 1;
    }
    #escDshotDirectionDialog-closebtn {
        margin-right: 0px;
        margin-bottom: 0px;
        position: absolute;
        right: 0px;
        bottom: 0px;
    }
    #escDshotDirectionDialog-ContentWrapper {
        display: flex;
        flex-flow: column;
        width: 100%;
        height: 100%;
        position: relative;
    }
    #escDshotDirectionDialog-Content {
        flex-grow: 1;
    }
    #dialog-mixer-reset {
        width: 400px;
        height: fit-content;
    }
    #dialog-settings-changed {
        height: 120px;
    }
    #dialog-settings-reset-confirmbtn {
        margin-bottom: 12px;
        position: relative;
    }
    #dialog-settings-changed-confirmbtn {
        margin-right: 0px;
        margin-bottom: 0px;
        position: absolute;
        right: 0px;
        bottom: 0px;
    }
    #dialog-settings-changed-content-wrapper {
        display: flex;
        flex-flow: column;
        width: 100%;
        height: 100%;
        position: relative;
    }
    #dialog-settings-changed-content {
        flex-grow: 1;
    }
    .plot_control {
        margin: 0;
        background-color: transparent;
        border-top-right-radius: 3px;
        border-bottom-right-radius: 3px;
        .table {
            display: table;
            table-layout: fixed;
            border-collapse: separate;
            border-spacing: 5px;
            box-sizing: border-box;
        }
        .row-container {
            display: table-row-group;
        }
        .motor-button {
            a {
                background-color: var(--primary-500);
                border-radius: 3px;
                border: 1px solid #e8b423;
                color: #000;
                font-size: 10px;
                line-height: 17px;
                text-transform: uppercase;
                letter-spacing: 0.03em;
                display: block;
                text-align: center;
            }
        }
        .row {
            display: table-row;
        }
        .left-cell {
            display: table-cell;
            vertical-align: middle;
        }
        .right-cell {
            display: table-cell;
            vertical-align: middle;
            text-align: right;
            width: 95px;
            font-size: smaller;
        }
        select {
            width: 100%;
            border: 1px solid var(--surface-500);
            border-radius: 3px;
        }
        .value {
            padding: 3px;
            color: black;
            border-radius: 3px;
        }
        .rms {
            background-color: #00d800;
        }
    }
    .power_info {
        margin-left: 1em;
        .power_text {
            font-weight: bold;
        }
        .power_value {
            margin-right: 2em;
            margin-left: 1em;
            display: inline-block;
            text-align: left;
            width: 50px;
        }
    }
    svg {
        width: 100%;
        height: 100%;
    }
    .grid {
        .tick {
            stroke: silver;
            stroke-width: 1px;
            shape-rendering: crispEdges;
        }
        path {
            stroke-width: 0;
        }
    }
    .data {
        .line {
            stroke-width: 2px;
            fill: none;
        }
    }
    text {
        stroke: none;
        fill: var(--text);
        font-size: 10px;
    }
    .motorblock {
        margin-bottom: 0;
        background-color: var(--surface-200);
    }
    .title {
        padding-bottom: 2px;
        text-align: center;
        font-weight: bold;
    }
    .title2 {
        padding-bottom: 2px;
        text-align: center;
        font-size: 12px;
        font-weight: 300;
    }
    .titles {
        height: 20px;
        li {
            text-align: center;
        }
        .active {
            color: green;
        }
    }
    .m-block {
        height: 100px;
        width: 100%;
        text-align: center;
        background-color: var(--surface-300);
        border-radius: 0.5rem;
        .meter-bar {
            position: relative;
            width: 100%;
            height: 100px;
            background-color: var(--surface-300);
            border-radius: 0.5rem;
            border: 1px solid var(--surface-500);
        }
        .label {
            position: absolute;
            width: 100%;
            bottom: 45px;
            text-align: center;
            font-weight: bold;
            font-size: 10px;
            color: var(--surface-950);
        }
        .label.rpm_info {
            bottom: 28px;
        }
        .indicator {
            .label {
                color: white;
            }
        }
    }
    .indicator {
        position: absolute;
        overflow: hidden;
        width: 100%;
        text-align: center;
        border-radius: 2px;
    }
    .motor_testing {
        margin-bottom: 0;
        padding: 0;
        border: 0;
        list-style: none;
        outline: none;
        .sliders {
            input {
                cursor: ns-resize;
                writing-mode: vertical-lr;
                direction: rtl;
                height: 6rem !important;
                padding: 0 !important;
            }
        }
        .values {
            li {
                text-align: center;
                font-size: 10px;
            }
        }
        .telemetry {
            margin-bottom: 0.5rem;
            .warning {
                color: var(--error-500);
            }
            li {
                text-align: center;
                font-size: 10px;
            }
        }
    }

    @media all and (max-width: 1055px) {
        .grid-box {
            &.col2 {
                grid-template-columns: 1fr !important;
            }
        }
    }
}
