body {
  overflow-y: scroll;
}
[v-cloak] {
  display: none;
}
.button-success:not([disabled]) {
  background-color: #1cb841;
}
.button-error:not([disabled]) {
  background-color: #ca3c3c;
}
.button-warning:not([disabled]) {
  background-color: #df7514;
}
.button-secondary:not([disabled]) {
  background-color: #42b8dd;
}
.header,
.content {
  padding: 0;
}
.header {
  height: 140px;
  padding: 0;
}
.header .header-content {
  max-width: 800px;
  margin: auto;
  text-align: left;
}
.header .estop {
  float: right;
  margin: 5px;
}
.header .banner {
  padding-top: 40px;
  white-space: nowrap;
}
.header .banner img {
  vertical-align: top;
}
.header .banner .title {
  font-size: 30pt;
  font-family: Audiowide;
  display: inline;
  margin-right: 0.5em;
}
.header .banner .title .left {
  color: #444;
}
.header .banner .title .right {
  color: #e5aa3d;
}
.header .banner .subtitle {
  font-size: 18pt;
  font-weight: 100;
  color: #aaa;
}
.error {
  background: #f00;
}
.warn {
  background: #ffa500;
}
.success {
  background: #008000;
}
.load-on {
  background-color: #cfc;
  color: #000;
}
.attention {
  background-color: #f5e138;
  color: #000;
  animation: attention 2s step-start 0s infinite;
}
.status {
  color: #eee;
  text-align: center;
  padding: 0.125em;
  font-weight: bold;
  margin-bottom: 0.5em;
  text-transform: uppercase;
}
.status.connecting {
  color: #ffa500;
}
.status.disconnected {
  color: #f00;
}
.status.connected {
  color: #008000;
}
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  z-index: 2000;
  color: #fff;
  font-weight: bold;
  font-size: 24pt;
  text-align: center;
  text-transform: uppercase;
}
#overlay span {
  position: relative;
  top: 50%;
}
#menu .save {
  display: block;
  margin: 0.25em auto;
}
#menu .pure-menu-heading {
  background: inherit;
  padding: 0;
}
#menu .pure-menu-heading .pure-menu-link {
  padding: 0.6em;
  color: #fff;
}
#menu .pure-menu-item .pure-menu-link {
  padding-left: 1.5em;
}
#main .content h2 {
  text-transform: capitalize;
}
#main .content .pure-control-group label.units {
  width: 6em;
}
#main .content .pure-control-group label.units {
  text-align: left;
}
#main .content .pure-control-group textarea {
  width: 24em;
  height: 12em;
}
.estop {
  width: 130px;
  transition: 250ms;
}
.estop.active .ring {
  animation: blink 2s step-start 0s infinite;
}
.estop svg {
  cursor: pointer;
}
.estop svg .button:hover {
  filter: brightness(120%);
}
.control-view table {
  margin: 0.5em 0;
  border-collapse: collapse;
}
.control-view table td,
.control-view table th {
  border: 1px solid #ddd;
}
.control-view .axes {
  width: 100%;
}
.control-view .axes .axis-x .name {
  color: #f00;
}
.control-view .axes .axis-y .name {
  color: #0f0;
}
.control-view .axes .axis-z .name {
  color: #00f;
}
.control-view .axes .axis-a .name {
  color: #f80;
}
.control-view .axes .axis-b .name {
  color: #0ff;
}
.control-view .axes .axis-c .name {
  color: #f0f;
}
.control-view .axes td,
.control-view .axes th {
  padding: 2px;
  white-space: nowrap;
}
.control-view .axes th {
  text-align: center;
}
.control-view .axes td {
  text-align: right;
  font-family: Courier;
}
.control-view .axes .axis.homed {
  background-color: #cfc;
  color: #000;
}
.control-view .axes .axis .name {
  text-transform: capitalize;
}
.control-view .axes .axis .name,
.control-view .axes .axis .position {
  font-size: 36pt;
  line-height: 30pt;
}
.control-view .axes .axis .position {
  width: 99%;
}
.control-view .axes .axis .absolute,
.control-view .axes .axis .offset {
  min-width: 6em;
}
.control-view .jog svg text {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: -moz-none;
  -o-user-select: none;
  user-select: none;
  font-family: Sans;
  font-weight: bold;
  stroke: transparent;
  fill: #444;
}
.control-view .jog svg .button {
  cursor: pointer;
  stroke: #4c4c4c;
}
.control-view .jog svg .button:hover {
  stroke: #e55;
}
.control-view .jog svg .button path {
  overflow: visible;
}
.control-view .jog svg .house {
  stroke: #444;
  fill: #444;
}
.control-view .jog svg .ring {
  cursor: pointer;
  overflow: visible;
}
.control-view .jog svg .ring .button {
  stroke: transparent;
}
.control-view .jog svg .ring .button:hover {
  stroke: #e55;
}
.control-view .jog svg .ring .button text {
  font-size: 10pt;
  text-anchor: middle;
}
.control-view .info {
  empty-cells: show;
  max-width: 50%;
}
.control-view .info th,
.control-view .info td {
  padding: 3px;
  text-align: right;
  white-space: normal;
}
.control-view .info th {
  width: 5.25em;
}
.control-view .info td:nth-child(2) {
  min-width: 8em;
}
.control-view .info td:nth-child(3) {
  text-align: left;
}
.control-view .info:nth-of-type(2) {
  float: left;
  clear: left;
}
.control-view .info:nth-of-type(3) {
  float: right;
  clear: right;
}
.control-view .override {
  display: none /* Hidden for now */;
  margin: 0.5em 0;
  white-space: nowrap;
}
.control-view .override label {
  font-weight: bold;
  min-width: 3.5em;
  display: inline-block;
}
.control-view .override .percent {
  display: inline-block;
  width: 3em;
}
.control-view .override input {
  border-radius: 0;
  margin: -0.4em 0.5em;
}
.control-view .override:nth-of-type(1) {
  clear: left;
  float: left;
}
.control-view .override:nth-of-type(2) {
  clear: right;
  float: right;
}
.control-view .toolbar {
  clear: both;
}
.control-view .toolbar > * {
  margin: 0.25em;
}
.control-view .tabs section {
  min-height: 250px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0;
  margin: 0;
}
.control-view .gcode,
.control-view .history {
  font-family: courier;
  clear: both;
  overflow: auto;
  width: 100%;
  max-width: 99%;
  min-width: 99%;
  height: 200px;
  padding: 0.25em;
  white-space: nowrap;
}
.control-view .gcode.placeholder,
.control-view .history.placeholder {
  color: #aaa;
}
.control-view .gcode ul,
.control-view .history ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.control-view .gcode ul li span,
.control-view .history ul li span {
  display: inline-block;
  min-width: 3em;
  margin-right: 1em;
  padding: 0 0.25em;
  font-family: courier;
  color: #e5aa3d;
}
.control-view .gcode ul li.highlight,
.control-view .history ul li.highlight {
  background-color: #eaeaea;
}
.control-view .history ul li {
  cursor: pointer;
}
.control-view .mdi {
  clear: both;
  white-space: nowrap;
}
.control-view .mdi input {
  width: 90%;
}
.control-view .jog {
  text-align: center;
}
.control-view .jog > svg {
  margin: 1em;
}
.console .console-wrapper {
  max-height: 400px;
  overflow-y: auto;
}
.console .message {
  white-space: pre;
}
.console table {
  width: 100%;
  margin: 0.5em 0;
  border-collapse: collapse;
}
.console table td,
.console table th {
  border: 1px solid #ddd;
  padding: 2px;
}
.console table tr > td {
  margin: 0 0.125em;
  background-color: #fff;
}
.console table tr.log-error td {
  color: #f00;
}
.console table tr.log-warning td {
  color: #ffa500;
}
.console table tr.log-debug td {
  color: #008000;
}
.indicators {
  padding: 1em;
  text-align: center;
}
.indicators table {
  display: inline-block;
  vertical-align: top;
  margin: 0.5em;
  empty-cells: show;
  border: 3px solid #bbb;
}
.indicators table td,
.indicators table th {
  padding: 4px;
}
.indicators table tr:nth-child(odd) {
  background: #f7f7f7;
}
.indicators table td:nth-child(1),
.indicators table td:nth-child(3) {
  text-align: center;
}
.indicators table th:nth-child(2),
.indicators table th:nth-child(4) {
  text-align: left;
}
.indicators table.inputs td:nth-child(1),
.indicators table.outputs td:nth-child(1),
.indicators table.inputs td:nth-child(4),
.indicators table.outputs td:nth-child(4) {
  text-align: center;
}
.indicators table.inputs th:nth-child(2),
.indicators table.outputs th:nth-child(2),
.indicators table.inputs th:nth-child(5),
.indicators table.outputs th:nth-child(5) {
  text-align: right;
}
.indicators table.inputs th:nth-child(3),
.indicators table.outputs th:nth-child(3),
.indicators table.inputs th:nth-child(6),
.indicators table.outputs th:nth-child(6) {
  text-align: left;
}
.indicators table th.header {
  height: 2.5em;
  border-bottom: 3px solid #ccc;
}
.indicators table th.separator {
  background: #ccc;
  border: 1px solid #ccc;
  padding: 1px;
}
.indicators table.pwr_fault th:nth-child(1) {
  text-align: left;
}
.indicators table.pwr_fault tr:nth-child(1) th {
  text-align: center;
}
.indicators .logic-lo {
  color: #000;
}
.indicators .logic-hi {
  color: #008000;
}
.indicators .warn {
  background-color: transparent;
  color: #ffa500;
}
.video {
  text-align: center;
  line-height: 0;
  min-height: 200px;
}
.video .reload {
  float: left;
  margin-right: -48px;
}
.video .reload:hover {
  opacity: 0.5;
}
.tabs {
  clear: both;
}
.tabs > input {
  display: none;
}
.tabs > label {
  display: block;
  float: left;
  width: 6em;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  background: #f6f6f6;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-top: 2px solid #f6f6f6;
  border-left: 1px solid #f6f6f6;
  border-right: 1px solid #f6f6f6;
  margin-right: 2px;
}
.tabs > section {
  display: none;
  clear: both;
}
.tabs > #tab1:checked ~ #content1,
.tabs > #tab2:checked ~ #content2,
.tabs > #tab3:checked ~ #content3,
.tabs > #tab4:checked ~ #content4,
.tabs > #tab5:checked ~ #content5,
.tabs > #tab6:checked ~ #content6,
.tabs > #tab7:checked ~ #content7,
.tabs > #tab8:checked ~ #content8,
.tabs > #tab9:checked ~ #content9 {
  display: block;
}
.tabs [id^="tab"]:checked + label {
  background: #fff;
  border-top: 2px solid #ddd;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #fff;
  margin-bottom: -1px;
}
.tabs .tab-content {
  border: 1px solid #ddd;
  padding: 0.5em;
}
.upgrade-version {
  display: inline-block;
  border-radius: 4px;
  padding: 2px;
  margin-left: 0.5em;
  color: #555;
  background-color: #e5aa3d;
  text-decoration: none;
}
.upgrade-version:hover {
  color: #fff;
}
.modal-mask {
  position: fixed;
  z-index: 9998;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.25);
  display: table;
  transition: opacity 0.3s ease;
}
.modal-mask .modal-wrapper {
  display: table-cell;
  vertical-align: middle;
}
.modal-mask .modal-wrapper .modal-container {
  width: 300px;
  margin: 0px auto;
  padding: 20px 30px;
  background-color: #fff;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.33);
  transition: all 0.3s ease;
  font-family: Helvetica, Arial, sans-serif;
}
.modal-header {
  text-decoration: underline;
}
.modal-footer {
  text-align: right;
}
.modal-enter,
.modal-leave {
  opacity: 0;
}
.modal-enter .modal-container {
  transform: scale(1.1);
}
.modal-leave .modal-container {
  transform: scale(0.9);
}
label.file-upload {
  display: inline-block;
}
label.file-upload input[type="file"] {
  position: fixed;
  top: -1000px;
}
.error-message.modal-mask .modal-wrapper .modal-container {
  width: auto;
  max-width: 800px;
}
.error-message .modal-header h3 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.error-message .estop {
  float: right;
  transform: scale(0.75);
  margin-top: -30px;
}
.error-message .console {
  margin-bottom: 1em;
  clear: both;
}
@media only screen and (max-width: 48em) {
  .header {
    height: auto;
  }
  .header .header-content > .banner {
    padding-top: 0;
    clear: both;
  }
  .control-view #control .axes .axis .name,
  .control-view #control .axes .axis .position {
    font-size: 24pt;
    line-height: 24pt;
  }
  .control-view #control .axes .absolute,
  .control-view #control .axes .offset {
    display: none;
  }
  .control-view #control > *:nth-of-type(n) {
    float: none;
    clear: both;
    width: 99%;
  }
  .tab_container {
    width: 98%;
  }
}
@-moz-keyframes attention {
  50% {
    opacity: 0.5;
  }
}
@-webkit-keyframes attention {
  50% {
    opacity: 0.5;
  }
}
@-o-keyframes attention {
  50% {
    opacity: 0.5;
  }
}
@keyframes attention {
  50% {
    opacity: 0.5;
  }
}
@-moz-keyframes blink {
  50% {
    fill: #ff9d00;
  }
}
@-webkit-keyframes blink {
  50% {
    fill: #ff9d00;
  }
}
@-o-keyframes blink {
  50% {
    fill: #ff9d00;
  }
}
@keyframes blink {
  50% {
    fill: #ff9d00;
  }
}

