@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:600&display=swap");
@-webkit-keyframes active {
  from {
    box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 10px 0px rgba(0, 0, 250, 0.6);
  }
  to {
    box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 3px 3px #CECFD1;
  }
}
@keyframes active {
  from {
    box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 10px 0px rgba(0, 0, 250, 0.6);
  }
  to {
    box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 3px 3px #CECFD1;
  }
}
*,
*:before,
*:after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 30px;
  background: #f8f8f8;
  height: calc(100vh - 200px);
}

#logo {
  position: absolute;
  right: 25px;
  top: 10px;
  height: 60px;
}

.main {
  padding-bottom: 230px;
}

.intro {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.grid {
  max-width: 400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 150px 150px 50px;
  align-items: center;
  justify-content: center;
  grid-gap: 40px 25px;
}

.roundBtn {
  -webkit-appearance: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  outline: none;
  cursor: pointer;
  background-image: linear-gradient(to top, #D8D9DB 0%, #fff 80%, #FDFDFD 100%);
  border-radius: 30px;
  border: 1px solid #8F9092;
  box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 3px 0 #CECFD1;
  transition: all 0.2s ease;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #606060;
  text-shadow: 0 1px #fff;
  padding: 0.5em 1em;
}
.roundBtn::-moz-focus-inner{
  border: 0;
}
.roundBtn > * {
  transition: transform 0.2s ease;
}
.roundBtn:hover:not([disabled]) {
  box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 3px 3px #CECFD1;
}
.roundBtn:focus:not(:active){
  -webkit-animation: active 0.9s alternate infinite;
          animation: active 0.9s alternate infinite;
  outline: none;
}
.roundBtn:active:not([disabled]){
  box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 5px 3px #999, inset 0 0 30px #aaa;
}
.roundBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#notSupported {
  padding: 1em;
  background-color: red;
  color: white;
  margin-top: 1em;
  margin-bottom: 1em;
}

.hidden { display: none; }

#butConnect{
  font-size: 24px;
  padding: 1.2em 5em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 60px;
}

#interface { display: none; }

#productBrand {
  font-family: 'Racing Sans One', cursive;
}

#log, #work-info {
  background: black;
  color: #eee;
  padding: 5px;
  overflow: hidden;
  height: 200px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow-y: scroll;
}

#work-info {
  left: auto;
  right: 0;
}

#speed { width: 300px; }

#CW, #CCW, #STOP {
  padding: 1em 1.5em;
  margin: 1em;
}

#controls { text-align: center; }

#opts label {
  text-align: left;
  display: block;
  line-height: 2em;
}

#pressure-well-template { display: none; }

#reloadConf {
  margin: 20px auto;
  text-align: center;
  width: 100%;
}

.well-conf {
  width: 100%;
}
.send-well-conf {
  float: right;
  position: relative;
  top: -30px;
  border-radius: 0 6px 6px 0;
  right: -6px;
}