.wow-icon {
  width: 27px;
  height: 27px;
  display: inline-block;
  background-image: url(../img/inv_misc_questionmark.jpg);
  background-repeat: no-repeat;
  background-position: center;
  border-width: 4px;
  position: relative;
  margin: 2px 2px;
  box-shadow: -1px -1px 1px rgba(10, 0, 5, 0.5), -1px 1px 1px rgba(10, 0, 5, 0.5), 1px 1px 1px rgba(10, 0, 5, 0.5), 1px -1px 1px rgba(10, 0, 5, 0.5);
}
.wow-icon .stack {
  color: white;
  font-size: 13px;
  font-style: normal;
  text-align: right;
  text-shadow: 0 0 2px black,  0 0 2px black,  0 0 3px black, 0 0 3px black,  0 0 1px black, 0 0 1px black;
  position: absolute;
  right: -1px;
  bottom: -4px;
}
.wow-icon:after {
  content: "";
  position: absolute;
  width: 36px;
  height: 36px;
  left: -4px;
  top: -4px;
  border-radius: 4px;
  box-shadow: inset 0 0 5px black;
  -webkit-transition: all 0.1s ease;
  -o-transition: all 0.1s ease;
  transition: all 0.1s ease;
}
.wow-icon:hover:after {
  box-shadow: inset 0 0 9px rgba(30, 180, 230, 0.9), inset 0 0 5px rgba(30, 180, 230, 0.6);
}

.wow-icon,
.wow-item {
  border-style: solid;
  border-width: 5px;
  border-image: url(../img/wow-tooltip-border-2.png) 5 repeat;
  border-radius: 4px;
}

.wow-item {
  position: absolute;
  color: white;
  background-color: rgba(10, 0, 5, 0.8);
  font-family: "friz", serif;
  font-size: 12px;
  font-weight: normal;
  padding: 0.5em 0.6em;
  text-shadow: 0 1px 0 black;
  box-shadow: -1px -1px 1px rgba(10, 0, 5, 0.5), -1px 1px 1px rgba(10, 0, 5, 0.5), 1px 1px 1px rgba(10, 0, 5, 0.5), 1px -1px 1px rgba(10, 0, 5, 0.5);
  max-width: 24em;
  -webkit-transition: opacity 0.05s ease-out 0.05s, transform 0.1s ease-out 0.05s;
  -o-transition: opacity 0.05s ease-out 0.05s, transform 0.1s ease-out 0.05s;
  transition: opacity 0.05s ease-out 0.05s, transform 0.1s ease-out 0.05s;
}
.wow-item.hidden {
  visibility: hidden;
  opacity: 0;
  -webkit-transform: scale(0.95);
  -ms-transform: scale(0.95);
  -o-transform: scale(0.95);
  transform: scale(0.95);
  -webkit-transition: opacity 0.05s ease-out 0.05s, transform 0.1s ease-out 0.05s, visibility 0.01s linear 0.15s;
  -o-transition: opacity 0.05s ease-out 0.05s, transform 0.1s ease-out 0.05s, visibility 0.01s linear 0.15s;
  transition: opacity 0.05s ease-out 0.05s, transform 0.1s ease-out 0.05s, visibility 0.01s linear 0.15s;
}
.wow-item p {
  padding: 0;
  margin: 0;
}
.wow-item[data-quality=crafting] .header__title {
  color: #f4d403;
}
.wow-item[data-quality=heirloom] .header__title {
  color: #e5d9c5;
}
.wow-item[data-quality=trash] .header__title {
  color: #999;
}
.wow-item[data-quality=common] .header__title {
  color: white;
}
.wow-item[data-quality=uncommon] .header__title {
  color: #24ee10;
}
.wow-item[data-quality=rare] .header__title {
  color: #0070DD;
}
.wow-item[data-quality=epic] .header__title {
  color: #ad23ed;
}
.wow-item[data-quality=legendary] .header__title {
  color: #fa7c18;
}

.wow-item__header .header__title {
  margin-bottom: 3px;
  font-size: 1.12em;
  margin-right: 1em;
}

.wow-item__type {
  overflow: hidden;
  margin-top: 3px;
}
.wow-item__type .type__slot, .wow-item__type .type__item {
  float: left;
}
.wow-item__type .type__item {
  float: right;
  text-align: right;
}

.wow-item__stats {
  overflow: hidden;
}
.wow-item__stats .stats__damage-armor {
  float: left;
  margin-right: 5em;
}
.wow-item__stats .stats__speed {
  float: right;
  text-align: right;
}
.wow-item__stats .stats__list-item:first-child {
  margin-top: 3px;
}
.wow-item__stats .stats__dps {
  float: none;
  clear: both;
}
.wow-item__stats .stats__secondary {
  color: #24ee10;
}

.wow-item__enchantments {
  margin: 6px 0;
}
.wow-item__enchantments .enchantments__enchant {
  color: #24ee10;
}
.wow-item__enchantments .enchantments__socket {
  background-image: url("../img/icons/socket-meta.gif");
  background-repeat: no-repeat;
  background-position: left top;
  text-indent: 1.8em;
  text-transform: capitalize;
}
.wow-item__enchantments .enchantments__socket.socket--meta {
  background-image: url("../img/icons/socket-meta.gif");
  background-repeat: no-repeat;
  background-position: left top;
}
.wow-item__enchantments .enchantments__socket.socket--blue {
  background-image: url("../img/icons/socket-blue.gif");
  background-repeat: no-repeat;
  background-position: left top;
}
.wow-item__enchantments .enchantments__socket.socket--red {
  background-image: url("../img/icons/socket-red.gif");
  background-repeat: no-repeat;
  background-position: left top;
}
.wow-item__enchantments .enchantments__socket.socket--yellow {
  background-image: url("../img/icons/socket-yellow.gif");
  background-repeat: no-repeat;
  background-position: left top;
}
.wow-item__enchantments .enchantments__socket.socket--prismatic {
  background-image: url("../img/icons/socket-prismatic.gif");
  background-repeat: no-repeat;
  background-position: left top;
}
.wow-item__enchantments .enchantments__sockets {
  margin: 3px 0;
}
.wow-item__enchantments .enchantments__socket, .wow-item__enchantments .enchantments__socket-bonus {
  color: #999;
}

.wow-item__info .info__chance-on-hit {
  color: #24ee10;
}
.wow-item__info .info__flavour-text {
  color: #FFD100;
  margin-top: 3px;
}

.wow-item__bonuses {
  margin-top: 3px;
}
.wow-item__bonuses .bonuses__bonus {
  color: #24ee10;
  margin: 3px 0 0;
}

body, html {
  padding: 20px;
  background: url(http://i.imgur.com/fWccg6A.jpg) no-repeat;
  background-size: cover;
  /*background-position: center;*/
  cursor: url(../img/wow-cursor.png), auto;
}

.page {
  font-family: "friz", serif;
  font-size: 1.8em;
  font-weight: normal;
  text-align: center;
  color: white;
  text-shadow: 0 0 1px black, 0 0 1px black, 0 0 2px black, 0 0 2px black, 0 3px 3px black;
  margin: 0;
}
.page h2 {
  margin: 0;
}
.page h3 {
  font-size: 0.9em;
  margin: 0 0 2em;
  opacity: 0.7;
}

.bag {
  background: url(../img/wow-backpack.png);
  background-color: rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 62px 17px #000;
  /*width: 196px;*/
  width: 205px;
  height: 246px;
  background-position: 0 0;
  box-sizing: border-box;
  padding: 12px 5px 5px 20px;
  margin: auto;
  user-select: none;
  overflow: hidden;
}
.bag header {
  font-family: "friz", serif;
  color: white;
  font-size: 12px;
  text-align: center;
  margin: 0 0 25px;
}
.bag .wow-icon {
  display: inline-block;
  margin: 0px 2px 1px 0px;
  user-select: none;
}
.bag .wow-icon:first-child {
  margin-left: 84px;
}

@font-face {
  font-family: 'friz';
  src: url("../fonts/friz_quadrata_regular-webfont.eot");
  src: url("../fonts/friz_quadrata_regular-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/friz_quadrata_regular-webfont.woff") format("woff"), url("../fonts/friz_quadrata_regular-webfont.ttf") format("truetype"), url("../fonts/friz_quadrata_regular-webfont.svg#friz_quadrataregular") format("svg");
  font-weight: normal;
  font-style: normal;
}