.tab-motors .modelAndGraph {
    float: left;
    width: 100%;
    margin-bottom: 0px;
}

.tab-motors .spacer {
    width: calc(100% - 34px);
    margin: 10px;
}

.tab-motors #graph {
    float: left;
    width: calc(100% - 292px);
}

.tab-motors .mixerPreview {
    float: left;
}

.tab-motors .mixerPreview img {
    width: 120px;
    height: 120px;
    margin-top: 18px;
    margin-left: 10px;
}

/*Plot Control*/

.tab-motors .plot_control {
    float: right;
    width: 160px;
    margin: 0px;
    background-color: #ECECEC;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.tab-motors .plot_control .table {
  display:table;
  width: 100%;
  table-layout:fixed;
  border-collapse:separate;
  border-spacing:5px;
  box-sizing: border-box;
}

.tab-motors .plot-control .sensor {
}

.tab-motors .plot_control .row-container {
  display: table-row-group;
}

.tab-motors .plot_control .motor-button a {
  background-color: var(--accent);
  border-radius: 3px;
  border: 1px solid #2297eb;
  color: #000;
  font-family: 'open_sansbold', Arial;
  font-size: 10px;
  line-height: 17px;
  text-shadow: 0px 1px rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: block;
  text-align: center;
}
.tab-motors .plot_control .row {
  display: table-row;
}

.tab-motors .plot_control .left-cell {
  display: table-cell;
  vertical-align: middle;
}
.tab-motors .plot_control .right-cell {
  display: table-cell;
  vertical-align: middle;
  text-align: right;
  width: 95px;
  font-size: smaller;
}
.tab-motors .plot_control select {
  width: 100%;
  border: 1px solid var(--subtleAccent);
}

.tab-motors .plot_control .value {
  padding: 3px;
  color: #fff;
  border-radius: 3px;
}

.tab-motors .plot_control .x {
    background-color: #00A8F0;
}

.tab-motors .plot_control .y {
    background-color: #C0D800;
}

.tab-motors .plot_control .z {
    background-color: #CB4B4B;
}

.tab-motors .plot_control .rms {
    background-color: #00D800;
}

/* Power info */
.tab-motors .power_info {
    float: left;
    margin-left: 1em;
}

.tab-motors .power_info .power_text {
    font-weight: bold;
}

.tab-motors .power_info .power_value {
    margin-right: 10px;
    width: 50px;
    display: inline-block;
    text-align: right;
}

/*Motors*/

.tab-motors svg {
    float: left;
    width: calc(100% - 168px); /* - (plot control, margin)*/
    height: 140px;
    margin-top: 10px;
}

.tab-motors .grid .tick {
    stroke: var(--subtleAccent);
    stroke-width: 1px;
    shape-rendering: crispEdges;
}

.tab-motors .grid path {
    stroke-width: 0;
}

.tab-motors .data .line {
    stroke-width: 2px;
    fill: none;
}

.tab-motors .axis path, .tab-motors .axis line {
    fill: none;
    stroke:var(--subtleAccent);
    stroke-width: 1px;
    shape-rendering: crispEdges;
}

.tab-motors text {
    stroke: none;
    fill: #828885;
    font-size: 10px;
}

.tab-motors .line:nth-child(1) {
    stroke: #00A8F0;
}

.tab-motors .line:nth-child(2) {
    stroke: #C0D800;
}

.tab-motors .line:nth-child(3) {
    stroke: #CB4B4B;
}

.tab-motors .motorblock {
    margin-bottom: 0px;
    background-color: #ECECEC;
    /*background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.15));*/
}

.tab-motors .left.motors {
    float: left;
    width: calc(50% - 50px);
}

.tab-motors .right.servos {
    float: right;
    width: 50%;
}

.tab-motors .title {
    padding-bottom: 2px;
    text-align: center;
    font-weight: bold;
}

.tab-motors .title2 {
    padding-bottom: 2px;
    text-align: center;
    font-size: 12px;
    font-family: 'open_sanslight', Arial;
}

.tab-motors .titles {
    height: 20px;
}

.tab-motors .titles li {
    float: left;
    width: calc((100% / 9) - 10px);
    margin-right: 10px;
    text-align: center;
}

.tab-motors .servos .titles li {
    float: right;
    width: calc((100% / 8) - 10px);
    margin: 0 0 0 10px;
}

.tab-motors .titles .active {
    color: green;
}

.tab-motors .m-block {
    float: left;
    width: calc((100% / 9) - 10px);
    height: 100px;
    margin-right: 10px;
    text-align: center;
    background-color: #f4f4f4;
    border-radius: 3px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

.tab-motors .m-block .meter-bar {
    position: relative;
    width: 100%;
    height: 100px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    background-color: #E0E0E0;
    border-radius: 3px;
    border: 1px solid #F5F5F5;
}

.tab-motors .m-block .label {
    position: absolute;
    width: 100%;
    bottom: 45px;
    text-align: center;
    font-weight: bold;
    color: #474747;
}

.tab-motors .m-block .indicator .label {
    color: white;
}

.tab-motors .servos .m-block {
    float: right;
    width: calc((100% / 8) - 10px);
    margin: 0 0 0 10px;
    border-radius: 3px;
}

.tab-motors .indicator {
    position: absolute;
    overflow: hidden;
    width: 100%;
    text-align: center;
    border-radius: 2px;
}

.tab-motors .motor_testing {
    margin-top: 15px;
}

.tab-motors .motor_testing .left {
    width: calc(50% - 50px);
}

/*motor sliders*/
.tab-motors .motor_testing .sliders input {
    /*-webkit-appearance: slider-vertical;*/
    -webkit-appearance: none;
    width: calc((100% / 9) - 5px);
    height: 2px;
    margin-left: 1px;
    color: #22B7EB;
    background: #BBBBBB;
    border-radius: 0px;
    border: 0px solid #000000;
}

.tab-motors .motor_testing .sliders input:first-child {
    margin-left: 0px;
}

.tab-motors .motor_testing .sliders input::-webkit-slider-thumb {
  -webkit-appearance: none;
  box-shadow: 0px 0px 0px #000000;
  border: 2px solid #2497E3;
  height: 22px;
  width: 7px;
  border-radius: 7px;
  background: #22B7EB;
  cursor: pointer;
  margin-top: -10.5px;
}

.tab-motors .motor_testing .sliders input:disabled::-webkit-slider-thumb {
  /*gray thumb when disabled*/
  border: 2px solid #999999;
  background: #BBBBBB;
}


.tab-motors .motor_testing .values {
    margin-top: 5px;
}

.tab-motors .motor_testing .values li:first-child {
    margin-left: 0px;
}

.tab-motors .motor_testing .values li {
    float: left;
    width: calc((100% / 9) - 10px);
    margin-left: 10px;
    text-align: center;
}

.tab-motors .motor_testing .notice {
    float: right;
    width: calc(50% - 24px);
    padding: 5px;
    border: 2px solid #ccc;
    border-radius: 3px;
    background-color: #FFFFFF;
    font-size: 11px;
}

.tab-motors .motor_testing .notice p {
    margin-bottom: 10px;
}

.tab-motors .motor_testing .notice .motorsEnableTestMode {
    margin-left: 10px;
}
