/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 1;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

nav ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input, select {
  vertical-align: middle;
}

@font-face {
  font-family: "Diablo";
  src: url("../fonts/Diablo/Diablo.ttf") format("truetype");
}
@font-face {
  font-family: "AvQest";
  src: url("../fonts/AvQest/AvQest.ttf") format("truetype");
}
html, body, #root, .container {
  height: 100%;
  min-height: 100%;
}

body {
  background: url("/images/cows.jpg") no-repeat center;
  background-size: cover;
  color: #DDD;
  overflow: hidden;
  font-family: "AvQest", Roboto, sans-serif;
}

.activity {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  margin: auto;
  background-color: #111;
  height: calc(100% - 100px);
  max-width: 700px;
  padding: 20px;
  border-left: 2px solid #555;
  border-right: 2px solid #555;
}

.header, .footer {
  font-family: "Diablo", Roboto, sans-serif;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  height: 50px;
  margin-left: -50px;
  margin-right: -50px;
}
.header h1, .footer h1 {
  cursor: pointer;
  font-size: 32px;
}
.header__content, .footer__content {
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  max-width: 700px;
}

.header {
  border-bottom: 2px solid #555;
  background-color: #000;
  box-shadow: inset 0 -20px 20px 8px rgba(119, 34, 34, 0.7);
}

.header-container {
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}
.header-container__note {
  font-size: 10px;
  opacity: 0.6;
}
.header-container__label {
  align-self: center;
  margin-right: 16px;
  opacity: 0.8;
}

.header-button {
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
  color: #DDD;
  text-decoration: none;
  border-right: 2px solid #722;
}
.header-button:not(:last-child) {
  border-left: 2px solid #722;
}
.header-button--import input {
  display: none;
}
.header-button--disabled {
  color: #555;
}
.header-button:hover:not(.header-button--disabled) {
  background: rgba(255, 255, 255, 0.2);
}

.footer {
  border-top: 2px solid #555;
  background-color: #000;
  box-shadow: inset 0 20px 20px 8px rgba(119, 34, 34, 0.7);
}
.footer__help {
  cursor: pointer;
  position: relative;
  margin-right: 24px;
  font-size: 24px;
}
.footer__help:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 32px;
  height: 32px;
  border: #555 solid 2px;
  border-radius: 100%;
  transform: translate(-50%, -50%);
}
.footer__help:hover:after {
  border-color: white;
}
.footer__help-inner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.help {
  padding: 24px 0;
  font-size: 18px;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.help__close {
  cursor: pointer;
  text-align: center;
  text-decoration: underline;
  display: inline-block;
  margin: 0 auto;
  color: #555;
}
.help__close:last-child {
  align-self: flex-end;
}
.help__title {
  font-size: 20px;
  margin-bottom: 12px;
  font-family: "Diablo", Roboto, sans-serif;
  text-transform: uppercase;
}
.help__content {
  padding-left: 150px;
  z-index: 2;
}
.help pre {
  display: inline;
  font-family: monospace;
  font-size: 11px;
  padding: 2px 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}
.help ol, .help ul {
  margin-bottom: 32px;
}
.help ul {
  list-style-type: georgian;
}
.help ol {
  list-style-type: upper-roman;
}
.help li {
  padding: 8px 0;
}
.help a {
  color: white;
}
.help:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(#722, transparent 70%);
  opacity: 0.5;
  height: 680px;
  width: 680px;
}

.editor {
  position: relative;
  text-align: center;
}
.editor__screen {
  height: 300px;
  border: 1px solid #555;
  background: url("/images/deadcows.jpg") no-repeat;
  background-size: cover;
}
.editor__reset-button {
  display: none;
  position: absolute;
  top: 12px;
  right: 12px;
  align-items: center;
  justify-content: center;
  height: 26px;
  cursor: pointer;
  background-color: black;
  border: none;
  text-align: center;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: bold;
  font-family: "Diablo", Roboto, sans-serif;
  color: white;
  opacity: 0.3;
}
.editor__reset-button:hover {
  opacity: 0.8;
}
.editor__screen:hover .editor__reset-button {
  display: flex;
}

.save-action {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  position: absolute;
  right: 0;
}
.save-action__label {
  display: none;
  pointer-events: none;
}
.save-action:hover .save-action__label {
  display: block;
}
.save-action__border {
  background-color: black;
  right: 0;
  height: 40px;
  width: 40px;
  margin-left: 12px;
  border: 1px solid rgba(255, 255, 0, 0.5);
}
.save-action__button {
  position: relative;
  cursor: pointer;
  height: 100%;
  width: 100%;
  background-color: red;
  border-top: 6px solid rgba(85, 85, 85, 0.8);
  border-right: 6px solid rgba(85, 85, 85, 0.8);
  border-bottom: 7px solid rgba(0, 0, 0, 0.8);
  border-left: 7px solid rgba(0, 0, 0, 0.8);
  opacity: 0.85;
}
.save-action__button:hover {
  opacity: 1;
}
.save-action__button:active {
  opacity: 0.7;
}
.save-action__icon {
  height: 100%;
  width: 100%;
  position: absolute;
  top: calc(50% + 1px);
  left: -2px;
  line-height: 0;
  font-size: 48px;
  color: white;
  font-family: "Diablo", Roboto, sans-serif;
}

.editable {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: pre;
  padding: 8px 8px 5px 8px;
  font-size: 24px;
  background: rgba(0, 0, 0, 0.7);
}
.editable .White {
  color: #EEE;
}
.editable .Grey {
  color: #666;
}
.editable .Blue {
  color: #4850B8;
}
.editable .Yellow {
  color: #FF0;
}
.editable .Green {
  color: #00C400;
}
.editable .Gold {
  color: #908858;
}
.editable .Amber {
  color: #FFA500;
}
.editable .Purple {
  color: #7D249A;
}
.editable .Pink {
  color: #BF88C7;
}
.editable .Red {
  color: #F55;
}
.editable .DarkGreen {
  color: #008C00;
}
.editable .Black {
  color: #000;
}

.list-wrapper {
  position: relative;
}

.list-filter {
  display: flex;
  flex-direction: row;
  align-items: center;
  position: absolute;
  top: -37px;
}
.list-filter__field {
  width: 185px;
  font-size: 20px;
  font-family: "AvQest", Roboto, sans-serif;
  padding-left: 8px;
  height: 25px;
  outline: none;
  color: white;
  background: transparent;
  border: 1px solid #555;
}
.list-filter__clear {
  cursor: pointer;
  color: #555;
  position: relative;
  right: 56px;
  height: 100%;
  padding: 6px;
}
.list-filter__clear:hover {
  text-decoration: underline;
}

.item-list {
  height: calc(100vh - 550px);
  overflow-y: scroll;
  overflow-x: hidden;
  border: 1px solid gray;
  background-color: #111;
}
.item-list .White {
  color: #EEE;
}
.item-list .Grey {
  color: #666;
}
.item-list .Blue {
  color: #4850B8;
}
.item-list .Yellow {
  color: #FF0;
}
.item-list .Green {
  color: #00C400;
}
.item-list .Gold {
  color: #908858;
}
.item-list .Amber {
  color: #FFA500;
}
.item-list .Purple {
  color: #7D249A;
}
.item-list .Pink {
  color: #BF88C7;
}
.item-list .Red {
  color: #F55;
}
.item-list .DarkGreen {
  color: #008C00;
}
.item-list .Black {
  color: #000;
}
.item-list::-webkit-scrollbar {
  left: 100px;
  width: 15px;
  border-left: 1px solid gray;
}
.item-list::-webkit-scrollbar * {
  background: transparent;
}
.item-list::-webkit-scrollbar-thumb {
  background: #722 !important;
}

.item-row {
  cursor: pointer;
  padding: 6px 8px;
  display: flex;
  flex-direction: row;
  white-space: pre-wrap;
}
.item-row:not(:last-child) {
  border-bottom: 1px solid gray;
}
.item-row:nth-child(odd) {
  background: rgba(255, 255, 255, 0.05);
}
.item-row__render {
  display: flex;
  text-align: center;
}
.item-row__key {
  width: 30%;
  font-size: 24px;
  margin-right: 8px;
  box-sizing: border-box;
  border-right: 1px solid gray;
  overflow: hidden;
}
.item-row__id, .item-row__label {
  margin-top: 4px;
  font-size: 16px;
  opacity: 0.8;
}
.item-row__name {
  font-size: 24px;
}

.palette .White {
  background-color: #EEE;
}
.palette .White::before {
  content: "White";
}
.palette .Grey {
  background-color: #666;
}
.palette .Grey::before {
  content: "Eth Gray";
}
.palette .Blue {
  background-color: #4850B8;
}
.palette .Blue::before {
  content: "Magic Blue";
}
.palette .Yellow {
  background-color: #FF0;
}
.palette .Yellow::before {
  content: "Rare Yellow";
}
.palette .Green {
  background-color: #00C400;
}
.palette .Green::before {
  content: "Set Green";
}
.palette .Gold {
  background-color: #908858;
}
.palette .Gold::before {
  content: "Unique Gold";
}
.palette .Amber {
  background-color: #FFA500;
}
.palette .Amber::before {
  content: "Craft Amber";
}
.palette .Purple {
  background-color: #7D249A;
}
.palette .Purple::before {
  content: "Rejuv Purple";
}
.palette .Pink {
  background-color: #BF88C7;
}
.palette .Pink::before {
  content: "Pink";
}
.palette .Red {
  background-color: #F55;
}
.palette .Red::before {
  content: "Red";
}
.palette .DarkGreen {
  background-color: #008C00;
}
.palette .DarkGreen::before {
  content: "Dark Green";
}
.palette .Black {
  background-color: #000;
}
.palette .Black::before {
  content: "Black";
}
.palette {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding: 2px 1px;
  background-color: #555;
  box-sizing: border-box;
}
.palette__button {
  position: relative;
  flex: 1;
  margin: 0 2px;
  cursor: pointer;
  border: 1px solid black;
  height: 44px;
}
.palette__button::before {
  display: block;
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  text-align: center;
  font-family: "AvQest", Roboto, sans-serif;
  font-weight: bold;
  font-size: 10px;
  color: white;
  width: 80%;
  opacity: 0;
}
.palette__button.Black {
  border-color: #722;
}
.palette__button.White::before, .palette__button.Yellow::before {
  color: black;
}
.palette__button:hover {
  border: 1px solid white;
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  90% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.palette__button:hover::before {
  animation: fade-in 1.5s forwards;
}