html, body  {
  padding: 0;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

/* BUTTON */
.button {
  font-size: 12px;
  cursor: pointer;
  outline: none;
  height: 28px;
  line-height: 28px;
  padding: 0 10px;
  display: inline-block;
  white-space: nowrap;
  text-align: center;
  color: #000;
  border-radius: 4px;
  box-shadow: 0 0 0 1px #919191, 0 0 3px 1px rgba(0, 0, 0, 0.5), 0 -12px 6px rgba(0, 0, 0, 0.15) inset;
  background: rgb(244, 244, 244);
}

.button.pressed {
  background: rgb(209, 209, 209);
  box-shadow: 0 0 0 1px #919191, 0 0 3px 1px rgba(0, 0, 0, 0.5), 0 12px 6px rgba(0, 0, 0, 0.15) inset;
  }
.button:hover {
  text-shadow: 1px 1px 2px #ccc;
  color: #000;
}

.button.disabled,
.button.disabled:hover {
  text-shadow: none;
  cursor: default;
  opacity: 0.5;
  color: #000;
}

/* BUTTON END */

.lab {
  border: 1px solid #999;
  width: 854px;
  height: 360px;
  margin: auto;
  position: relative;
}

.lab .popup {
  padding: 10px;
  height: 100%;
  width: 100%;
  opacity: 0.6;
  background-color: #999;
  position: absolute;
  top: 0px;
  left: 0px;
}

.lab .popup .popup-inner {

}

.lab .header {
  border-bottom: 1px solid #999;
  height: 40px;
  line-height: 26px;
  padding: 6px 16px;
  background: #fff;
}
.lab .content {
  height: 320px;
  padding: 20px;
  background-color: #D6DDE2;
}

.lab .actions {
  bottom: 20px;
  position: absolute;
  width: 100%;
  padding: 0 20px;
  font-size: 16px;
  text-align: center;
}

.lab .actions .nav-button {
  position: absolute;
  right: 20px;
  height: 28px;
  bottom: 0;
  line-height: 32px;
}

.lab .actions .link-button {
  text-transform: uppercase;
  text-decoration: underline;
  color: #333333;
  text-decoration-style: dotted;
  cursor: pointer;
}

.lab .actions .link-button.disabled {
  opacity: 0.6;
}


.lab .tools {
  width: 140px;
  height: 300px;
  border-radius: 3px;
  box-sizing: border-box;
  text-align: center;
  float: left;
  background-color: #ffffff;

}

.lab .tools .tool {
  position: relative;
  z-index: 1000;
}

.lab .tools .tool-name {
  bottom: 4px;
  position: absolute;
  width: 100%;
}

.lab .tools h4 {
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  background-color: #247AAA;
  color: #fff;
  padding: 12px 0;
  border-radius: 3px 3px 0 0;
}

.lab .container {
  height: 280px;
  margin: 0 0 0 160px;
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}

.lab .tools .tool {
  width: 100px;
  height: 100px;
  margin: 20px;
  border: 1px solid #D1D1D1;
  border-radius: 3px;
  text-align: center;
}