#crafting {
  position: fixed;
  display: none;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.crafting_item_box_outer {
  display: inline-block;
  width: 60px;
  height: 60px;
  
  margin: 2px;
  padding: 0px;
  
  border: 3px solid black;
  background-color: rgba(64, 64, 64, 0.6);
}

.crafting_item_box_inner {
  display: inline-block;
  width: 54px;
  height: 54px;
  
  margin: 3px;
  border: 0px;
  padding: 0px;
  
  position: relative;
}

.crafting_icon {
  width: 40px;
  height: 40px;
  
  position: absolute;
  display: block;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  
  user-select: none;
  -moz-user-select: none;
  
  /*TODO: test cross-browser*/
  image-rendering: -moz-crisp-edges;
  image-rendering: pixelated;
}

.crafting_item_count {
  color: white;
  font-family: sans-serif;
  font-size: 18px;
  font-weight: bold;
  text-align: right;
  
  padding-right: 3px;
  
  width: 40px;
  height: 28px;
  
  position: absolute;
  display: block;
  bottom: 0;
  right: 0;
}

.crafting_item_life {
  width: 50px;
  height: 5px;
  paddin-bottom: 5px;
  
  position: absolute;
  display: block;
  margin: auto;
  left: 0;
  right: 0;
  bottom: 0;
}
