body {
  font-family: georgia, arial, helvetica, sans-serif;
  font-size: 0.9em;
  line-height: 1.3em;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6, p {
  padding: 0;
  margin: 0 0 6px 0;
}

div#container {
  min-width: 550px;
  margin: 10px;
}

div#inventory {
  display: none;
  width: 300px;
  margin-left: 300px;
}

table#inventoryTable {
  border: 1px solid black;
  border-bottom: 0;
  border-right: 0;

  width: 200px;
  border-spacing: 0;
  border-collapse: separate;
  font-size: 1em;
}

table#inventoryTable td, table#inventoryTable th {
  margin: 0;
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
  padding: 4px;
  white-space: nowrap;
}

#money {
  text-align: right;
  color: white;
  padding: 5px;
}

div#recipeFilters {
  padding: 4px;
  color: #aaa;
  font-size: 1em;
}

input#recipeSearch {
  height: 1.4em;
  color: #aaa;
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px inset #666;
  width: 100%;
}

select#recipeCategoryFilter {
  font-family: georgia, arial, helvetica, sans-serif;
  height: 1.4em;
  color: #aaa;
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px inset #666;
  margin-top: 4px;
}

select#recipeCategoryFilter option {
  background-color: #111;
}

input#haveResources {
  vertical-align: bottom;
}

div#recipes {
  float: left;
  margin: 0 30px 30px 0;
  width: 290px;
  border: 1px solid #999;
  background: url('../images/bg.png');
  box-shadow: 0px 0px 5px #999;
  font-size: 0.8em;
}

div#recipeScroll {
  height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  clear: both;
}

ul#recipeCategories {
  cursor: default;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

ul#recipeCategories > li > span {
  font-weight: bold;
  text-decoration: underline;
  color: #fff;
  padding-left: 4px;
}

ul.recipeCategory {
  cursor: default;
  list-style-type: none;
  margin: 0 0 10px 0;
  padding: 0;
}

ul.recipeCategory li {
  padding: 0px 0px 0px 4px;
  white-space: nowrap;
  overflow: visible !important; /* jQuery's animate forces overflow: hidden; */
  text-shadow: 1px 1px #000;
  margin-bottom: 1px;
}

ul.recipeCategory li span {
  margin-left: 4px;
}

ul.recipeCategory li div.recipeName {
  overflow: visible !important;
  width: 260px;
}

ul.recipeCategory li.selectedRecipe {
  border: 1px solid white;
}

ul.recipeCategory li.background {
  color: white;
  text-shadow: 1px 1px #000;
}

div#recipeRequirementsScroll {
  height: 250px;
  overflow-y: auto;
  overflow-x: hidden;
}

div#recipeRequirements {
  color: white;
  height: 232px;
  padding: 8px;
  text-shadow: 2px 2px #000;
}

div#recipeRequirements .recipeDesc {
  color: #999;
}

div#recipeRequirements .recipeUnlocks {
  color: #FF8E46;
}

div#recipeRequirements .recipeSellsFor {
  color: #666;
}

table#recipeRequirementList {
  color: white;
  border-spacing: 0;
  border-collapse: separate;
  margin-top: 10px;
}

a:link, a:visited {
  color: white;
}

a:hover, a:active {
  color: #bbb;
}

table#recipeRequirementList td {
  margin: 0;
  padding: 2px;
}

table#recipeRequirementList td span {
  padding-left: 4px;
}

table#recipeRequirementList td span.amount {
  color: #ccc;
}

table#recipeRequirementList tr.missing span.amount {
  color: #b00;
}

.alignRight {
  text-align: right;
}

.alignCenter {
  text-align: center;
}

.floatRight {
  float: right;
}

.floatLeft {
  float: left;
}

.missing, .missing a:link, .missing a:visited {
  color: red;
}

.missing a:hover, .missing a:active {
  color: #b00;
}

div#experience {
  border: 1px solid #0d0d0d;
  border-bottom-style: none
}

div#experienceBar {
  background-color: #909;
}

div#experienceBarText {
  width: 268px;
}

div#actions {
  height: 40px;
  padding: 4px;
  text-align: center;
  margin-bottom: 10px;
}

div#actions input[type=button] {
  width: 90px;
}

button {
  height: 40px;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  box-shadow: 0px 0px 5px #999;
}

div#actions input {
  height: 40px;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  color: #fff;
  background-color: #000;
  border: 1px outset #fff;
}

div#actions input:disabled {
  color: #666;
  border: 1px outset #666;
}

input#craftAmount {
  width: 40px;
}

input#craft {
  width: 70px;
}

div#gatherActions {
  width: 290px;
  background-color: white;
  font-weight: bold;
  margin-bottom: 10px;
}

a.darkLink:link, a.darkLink:visited{
  color: #000;
}

a.darkLink:hover, a.darkLink:active {
  color: #666;
}

a#keepHelp:link, a#keepHelp:visited {
  color: #00E;
}

a#keepHelp:hover, a#keepHelp:active {
  color: #551A8B;
}

div#keepHelpTooltip {
  position: fixed;
  font-size: 0.8125em;
  padding: 5px;
  color: #ddd;
  background: #002;
  opacity: 0.9;
  z-index: 10;
  display: none;
  text-align: left;
}

div#keepHelpTooltip ol {
  padding-left: 20px;
  margin: 0;
}

div#keepHelpTooltip a:link, div#keepHelpTooltip a:visited {
  color: #FFF;
}

div#keepHelpTooltip a:hover, div#keepHelpTooltip a:active {
  color: #666;
}


div#gatherActions button {
  padding: 4px;
  margin-top: 4px;
  font-weight: bold;
  width: 100%;
}

div#gatherContainer {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4px;
  width: 40px
}

img#gather {
  cursor: hand;
}

div#durability {
  height: 3px;
  background-color: green;
  position: absolute;
  bottom: -4;
  left: 0;
  width: 40px;
}

div#forges {
  display: none;
  margin-bottom: 20px;
}

div#forges table {
  text-align: left;
  font-size: 1em;
}

div#forges table th {
  text-align: center;
  margin: 0;
  padding: 0;
}

div#forges table td {
  height: 40px;
  width: 40px;
  margin: 0;
  padding: 8px;
}

div#help {
  clear: both;
}

div#exportContainer {
  clear: both;
}

input.keep {
  width: 3em;
}

.smallBar {
  height: 20px;
}

.smallBarText {
  text-align: center;
  vertical-align: middle;
  line-height: 20px;
  color: white;
  font-weight: bold;
  text-shadow: 1px 1px 1px #000;
  position: absolute;
}

.scrollbarPadding {
  padding-right: 20px;
}