*{
  margin: 0;
  padding: 0;
}
div, span, a, h1, h2, h3, h4, h5, p, ul, li, section, article, ol, input, label, textarea {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}
html {
  font-size: 62.5%;
  height: 100%;
  scroll-behavior: smooth;
}
body {
  font-size: 1.2rem;
  line-height: 1.5;
  font-family: "Open Sans",Arial,"Helvetica Neue",Helvetica,sans-serif;
  padding: 0;
  background: #000;
  height: auto;
  min-height: 100%;
  display: flex;

}
a {
  color:#ffd100;
  cursor:pointer;
  text-decoration:none
}
a:hover {
  color: #fff;
}
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}
table {
  border-collapse: collapse;
}
td, th {
  padding: 10px 20px;
  border: 1px solid black;
}

.hidden,
[hidden] {
  display: none !important;
}
.text-right,
.text-right .transform-cell-content {
  text-align: right;
  justify-content: right;
}
.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

.invisible {
  visibility: hidden;
}

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

h1 {
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
}
.flexbox {
  display: flex;
}
.page-wrapper {
  background: #242424;
  max-width: 1000px;
  margin: 0 auto;
  color: #ccc;
  display: flex;
  flex-direction: column;
  min-width: 1000px;
}

.page-header {
  background-color: #323232;
  padding: 8px 50px;
  border-bottom: 1px solid #222;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
}
.page-footer {
  text-align: center;
  margin-top: auto;
  font-size: 1.4rem;
  padding-top: 10px;
  padding-bottom: 10px;
}
.header-aside {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.page-header .social {
  margin-right: 14px;
}
.page-header .social .btn {
  border-radius: 6px;
  padding: 8px 10px 9px;
}
.page-header .social .btn img {
  margin-right: 5px;
}
.page-header .social .btn-discord {
  color: #fff;
  background-color: #576AEB
}
.header-aside select {
  width: 200px;
}
.search-container {
  background-color: #222;
  position: relative;
  margin: 0 10px 0 0;
}
.search-container svg {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 3px;
  left: 4px
}
.search-container svg  {
  fill: #fff;
}

.ui-widget.ui-widget-content {
  box-shadow: 0 0 3px rgba(0,0,0,0.5);
}
input.items-search {
  border: none;
  outline: none;
  padding: 7px 5px 5px 40px;
  font-size: 18px;
  background: transparent;
  color: #ccc;
}
.items-search-list {
  border: none !important;
}
.items-search-item {
  background: #333 !important;
  color: #ccc !important;
  padding: 7px !important;
  font-size: 14px !important;
}
.items-search-item.ui-state-active {
  border: none!important;
  margin: 0!important;
  background: #444!important;
}
.items-search-item img {
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
  margin-right: 2px;
}
.chosen-container .chosen-results {
 color: #eee;
}
.chosen-container-single .chosen-single {
  background-color: #555;
  color: #d2d2d2;
  border: #000
}
.chosen-container .chosen-drop {
  background-color: #444;
  border-color: #111
}
.chosen-container-single .chosen-search input[type=text] {
  color: #eee;
}
.chosen-container-active.chosen-with-drop .chosen-single {
  background-color: #444;
  background-image: none;
  box-shadow: none;
  border-color: #111
}
.chosen-container .chosen-results li.no-results {
  background: transparent;
}
.content-wrapper {
  padding: 50px;
  position: relative;
}

.main-page-section {
  margin-bottom: 80px;
}
.main-page-section-header {
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}
.main-page-section-header .sticky {
  position: sticky;
  top: 0
}
.main-page-preset .alert {
  background-color: #111;
  padding: 10px 20px;
}
.main-page-section-header * {
  align-items: baseline;
  line-height: 1;
}
.main-page-section-header a {
  margin-left: 20px;
  padding: 5px 10px;
  border-radius: 5px;
  background-color: #ffd100;
  color: #333
}
.main-page-section-header a:hover {
  background-color: #edc200;
}
.main-page-section-header span {
  margin-right: auto;
  font-size: 2rem;
}
.info-block {
  background-color: #1b1b1b;
  padding: 20px;
  font-size: 1.4rem;
}
.info-block div {
  margin: 10px 0;
}
.main-page-section .info-block {
  max-height: 260px;
  overflow: auto;
}
.item-header {
  margin-bottom: 20px;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
}
.item-header h1 {
  font-size: 2.8rem;
  font-weight: normal;
  line-height: 1;
  margin-bottom: 2px;
}
.item-header img {
  margin-right: 20px;
  border-width: 3px;
  border-style: solid;
  border-radius: 5px;
  font-size: 10px;
}
.item-header .icon {
  width: 18px;
  height: 18px;
  border-radius: 100%;
  margin: 0 0 0 10px;
  border: none;
}
.item-header-price {
  color: #eee;
  display: flex;
  align-items: center;
  margin-top: 5px;
}
.item-section {
  margin-bottom: 60px;
}
.item-section-header {
  margin-bottom: 15px;
  font-size: 2rem;
}
.item-info {
  background-color: #1b1b1b;
  padding: 20px;
  display: flex;
  font-size: 1.4rem;
}
.item-info-list-item {
  margin-bottom: 5px;
  display: flex;
  justify-content: space-between;
}
.item-info-list-therm {
  min-width: 130px;
  white-space: nowrap;
  margin-right: 10px;
}

.item-info-image {
  margin-left: auto;
}
.item-info-image img {
  border: 2px solid #888;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0,0,0,0.6);
}
.item-table {
  border-collapse: collapse;
  width: 100%;
  border: none;
  font-size: 1.4rem;
}
.item-table td,
.item-table th  {
  text-align: center;
  border: none
}

.text-left,
.item-table  td.text-left {
  text-align: left !important;
}
.text-left,
.item-table  td.text-right {
  text-align: right !important;
}
.item-table th {
  background-color: #000 ;
}
.item-table td {
  border-bottom: 1px solid #111;
  background-color: #333;
}
.item-table tr:last-child td {
  border-bottom: none;
}
.item-table tr:hover td {
  background-color: #1d1d1d;
}
.coin {
  width: 10px;
  height: 10px;
  display: inline-block;
  margin-left: 3px;
  border-radius: 100%;
}
.item-header .coin {
  width: 16px;
  height: 16px;
}
.gold {
  background-color: gold;
}
.silver {
  background-color: silver;
}
.transform-block {
  margin-bottom: 50px;
}

.transform-container {
  margin: 20px 0;
  display: table;
  width: 100%;
}
.transform-row {
  display: table-row;
}
.transform-row-overflow {
  display: none;
}
.transform-thead {
  display: table-header-group;
  background: #111;
  text-transform: uppercase;
  position: sticky;
  top: 0;
  z-index: 1;
}
.transform-cell {
  display: table-cell;
  padding: 12px 16px;
  border-bottom: 2px solid #0b0b0b;
  position: relative;
}

.transform-thead .transform-cell {
  border-bottom: none;
  white-space: nowrap;
}
.transform-cell-content {
  display: flex;
  align-items: center;
}
.transform-item {
  position: relative;
  display: inline-block;
  margin-right: 10px;
}
.transform-item.user-owns {
  box-shadow: 0 0 12px rgba(255,193,7,0.7);
}
.transform-cell-item-name {
  font-size: 1.4rem;
}
.transform-total {
  display: flex;
  height: 56px;
  width: 56px;
  background-color: #333;
  color: #888;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  cursor: pointer;
  font-size: 1.8rem;
  position: relative;
}
.transform-hidden-list {
  position: absolute;
  bottom: 0;
  left: 0;
  top: 100%;
  z-index: 2;
  min-width: 351px;
}
.transform-hidden-list .content  {
  background-color: #111;
  padding: 10px;
  box-shadow: 0 0 5px rgba(0,0,0,0.5);
  float: left;
}
.transform-hidden-list .content .transform-item {
  margin: 2px !important;
  display: inline-block;
}
.transform-item .num {
  position: absolute;
  background-color: #000;
  min-width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 1px;
  bottom: 1px;
  z-index: 1;
  color: #fff;
  font-size: 1.2rem;
  border-radius: 0 0 5px 0;
}

.transform-more-btn {
  background-color: #111;
  padding: 10px 30px;
  font-size: 1.6rem;
  color: #eee;
  border: none;
  cursor: pointer;
  margin: 10px;
}
.text-center {
 text-align: center;
}
.transform-item img {
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
}
.negative-profit svg {
  fill: red;
}
.positive-profit svg {
  fill: green;
}

.transform-block a {
  color: #fff
}
/*POOR*/
.item-quality-0:after,
.item-quality-0,
.item-header.item-quality-0 h1 {
  color: #9d9d9d !important;
}
.item-quality-0 img,
.item-header.item-quality-0 img  {
  border-color: #9d9d9d;
}
/*COMMON*/
.item-quality-1:after,
.item-quality-1,
.item-header.item-quality-1 h1 {
  color: #fff !important;
}
.item-quality-1 img,
.item-header.item-quality-1 img  {
  border-color: #fff;
}
.item-quality-1:after,
.item-header.item-quality-1 h1 {
  color: #fff !important;
}
/*Uncommon*/
.item-quality-2 img,
.item-header.item-quality-2 img {
  border-color: #1eff00 ;
}
.item-quality-2::after,
.item-quality-2,
.item-header.item-quality-2 h1 {
  color: #1eff00 !important;
}
/*Rare*/
.item-quality-3 img,
.item-header.item-quality-3 img {
  border-color: #0070dd;
}
.item-quality-3::after,
.item-quality-3,
.item-header.item-quality-3 h1 {
  color: #0070dd !important;
}
/*Epic*/
.item-quality-4 img,
.item-header.item-quality-4 img {
  border-color: #a335ee;
}
.item-quality-4::after,
.item-quality-4,
.item-header.item-quality-4 h1 {
  color: #a335ee !important;
}
/*Legendary*/
.item-quality-5 img,
.item-header.item-quality-5 img {
  border-color: #ff8000;
}
.item-quality-5:after,
.item-quality-5,
.item-header.item-quality-5 h1 {
  color: #ff8000 !important;
}

/*Artifact*/
.item-quality-6 img,
.item-header.item-quality-6 img {
  border-color: #e6cc80;
}
.item-quality-6:after,
.item-quality-6,
.item-header.item-quality-6 h1 {
  color: #e6cc80 !important;
}
/*Heirloom*/
.item-quality-7 img,
.item-header.item-quality-7 img {
  border-color: #00ccff;
}
.item-quality-7:after,
.item-quality-7,
.item-header.item-quality-7 h1 {
  color: #00ccff !important;
}
.blank-item img {
  border-color: #9d9d9d;
}
.transform-type {
  display: block;
  text-decoration: none;
  user-select: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -17px;
  text-align: center;
  font-size: 1rem;
  writing-mode: tb-rl;
  transform: rotate(180deg);
  text-transform: uppercase;
  height: 100%;
  letter-spacing: 2px;
}
.chart-wrapper {
  position: relative;
}

@keyframes ldio-4lc5z6133sc-1 {
  0% {
    top: 36px;
    height: 128px
  }
  50% {
    top: 60px;
    height: 80px
  }
  100% {
    top: 60px;
    height: 80px
  }
}
@keyframes ldio-4lc5z6133sc-2 {
  0% {
    top: 41.99999999999999px;
    height: 116.00000000000001px
  }
  50% {
    top: 60px;
    height: 80px
  }
  100% {
    top: 60px;
    height: 80px
  }
}
@keyframes ldio-4lc5z6133sc-3 {
  0% {
    top: 48px;
    height: 104px
  }
  50% {
    top: 60px;
    height: 80px
  }
  100% {
    top: 60px;
    height: 80px
  }
}
.ldio-4lc5z6133sc div {
  position: absolute;
  width: 18px;
}
.ldio-4lc5z6133sc div:nth-child(1) {
   left: 35px;
   background: #000;
   animation: ldio-4lc5z6133sc-1 1s cubic-bezier(0,0.5,0.5,1) infinite;
   animation-delay: -0.2s
 }
.ldio-4lc5z6133sc div:nth-child(2) {
  left: 85px;
  background: #111;
  animation: ldio-4lc5z6133sc-2 1s cubic-bezier(0,0.5,0.5,1) infinite;
  animation-delay: -0.1s
}
.ldio-4lc5z6133sc div:nth-child(3) {
  left: 135px;
  background: #161616;
  animation: ldio-4lc5z6133sc-3 1s cubic-bezier(0,0.5,0.5,1) infinite;
}

.loadingio-spinner-pulse-alqto0v8n6 {
  width: 200px;
  height: 200px;
  display: inline-block;
  overflow: hidden;
  background: #242424;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -100px;
  margin-left: -100px;
}
.ldio-4lc5z6133sc {
  width: 100%;
  height: 100%;
  position: relative;
  transform: translateZ(0) scale(1);
  backface-visibility: hidden;
  transform-origin: 0 0;
}
.ldio-4lc5z6133sc div {
  box-sizing: content-box;
}

.has-tooltip:hover + .tooltip,
.has-tooltip:focus + .tooltip,
.has-tooltip.hover + .tooltip {
  opacity: 1;
  pointer-events: inherit;
}
.tooltip {
  display: block;
  position: fixed;
  padding: 5px 10px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.95);
  text-align: center;
  color: white;
  opacity: 0;
  width: auto;
  max-width: 100vw;
  pointer-events: none;
  z-index: 5;
}

.tooltip:hover {
  opacity: 1;
  pointer-events: inherit;
}
.tooltip img {
  max-width: 100%;
}

.tooltip div {
  white-space: nowrap;
  font-size: 1.1rem;

}
.tooltip .tooltip-name {
  font-size: 1.3rem;
  margin-bottom: 5px;
}
.tooltip div:nth-child(2) {
  display: flex;
  align-items: center;
  justify-content: center;
}
.tooltip .coin {
  margin-right: 5px;
}
.tooltip .tooltip-footer {
  padding: 4px 0;
  margin-top: 5px;
  border-top: 1px solid #444;
  white-space: normal;
}
.tooltip .tooltip-footer > div {
  white-space: nowrap;
}
.tooltip .tooltip-footer > div:first-child {
  font-size: 1.2rem;
  color: gold
}
.item-manual-update {
  position: fixed;
  margin: 0;
  left: 10px;
  top: 10px
}

.item-manual-update .btn {
  font-size: 1.2rem;
  padding: 6px 12px;
  cursor: pointer;
  background-color: #666;
  color: #ccc;
  border-width: 1px;
  border-style: solid;
  border-color: transparent;
}
.item-manual-update .btn:hover {
  background-color: #717171;
  color: #1b1b1b;
  border-color: #979797 #444 #555 #979797;
}
.item-manual-update .btn:active {
  position: relative;
  top: 1px;
  left: 1px;
}

.transform-row {
  position: relative;
}
.transform-row.collapsed {
  background-color: #202020;
}
.transform-row.collapsed .transform-cell *{
  display: none;
}
.transform-row .collapse-btn {
  border: none;
  width: 16px;
  height: 16px;
  background-color: transparent;
  position: absolute;
  top: 50%;
  left: 5px;
  margin-top: -8px;
  cursor: pointer;
  z-index: 1;
  color: #555;
  font-size: 1.2rem;
  visibility: hidden;
}
.transform-row:hover .collapse-btn {
  visibility: visible;
}
.collapse-btn::after {
  content: '\25b2'
}
.transform-row.collapsed .collapse-btn::after {
  content: '\25bc'
}
.transform-row .transform-cell:first-of-type .transform-cell-content {
  margin-left: 12px;
}
.transform-row.collapsed  .transform-cell {
  padding: 8px;
}
.import-data-area {
  position: fixed;
  left: 20px;
  top: 20px;
  z-index: 100;
}
.import-data-area .btn-set {
  display: flex;
  justify-content: space-between;
}
.import-data-area .form-layer {
  background-color: #fff;
  padding: 20px 20px 10px;
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: auto;
}
.import-data-area textarea {
  width: 100%;
  padding: 10px;
}
.import-data-area .form-layer .btn {
  border: none;
  padding: 8px 20px;
  font-size: 1.2rem;
  cursor: pointer;
  background-color: #ccc;
  color: #eee
}
.import-data-area .form-layer .btn-cancel:hover {
  background-color: #aaa;
}
.import-data-area .form-layer .btn-save {
  background-color: #696969;
  color: #ffd100
}
.import-data-area .btn-import {
  border: none;
  padding: 10px 26px;
  background-color: #444;
  cursor: pointer;
  color: #ccc;
  font-size: 1.2rem;
}
@media(max-width:640px) {
  .page-wrapper {
    max-width: unset;
    min-width: unset;
    width: 100%;
  }
  .content-wrapper {
    padding: 44px 4px 24px;
  }
  .page-header {
    padding: 8px;
    position: relative;
  }
  .header-logo {
    max-width: 68px;
  }
  .page-header .social .btn {
    font-size: 1.2rem;
    padding: 5px 6px;
  }
  .page-header .social {
    margin: 0 0 10px 0;
  }
  .main-page-section .info-block{
    max-height: 200px;
    overflow: auto;
  }
  .main-page-section-header {
    margin: 0 5px;
  }
  .main-page-section-header span {
    font-size: 1.4rem;
  }
  .chosen-container {
    width: auto !important;
  }
  .header-aside {
    flex-direction: column;
    align-items: end;
  }
  .main-page-section .transform-container {
    margin-top: 10px ;
  }
  .transform-cell {
    padding: 8px;
  }
  .transform-cell-item-name {
    font-size: 1.2rem;
  }
  .transform-cell-content,
  .positive-profit,
  .negative-profit {
    white-space: nowrap;
  }
  .transform-inner,
  .main-page-preset {
    overflow: auto;
  }
  .item-section {
    margin-bottom: 30px;
  }
  .item-header {
    font-size: 1.4rem;
  }
  .item-header h1 {
    font-size: 2.2rem;
  }
  .item-header .coin {
    width: 10px;
    height: 10px;
  }
  .item-info {
    padding: 10px;
  }
  .transform-item img,
  .transform-total {
    width: 40px;
    height: 40px;
  }
  .search-container {
    position: absolute;
    margin: 0;
    right: 0;
    left: 0;
    top: 100%;
    width: 100%;
    background-color: #444;
    box-shadow: 0 0 3px rgba(0,0,0,0.5) inset;
    z-index: 1;
  }
  input.items-search {
    width: 100%
  }
  .ui-widget.ui-widget-content {
    box-shadow: none;
    background-color: #222;
  }
  .transform-row .collapse-btn {
    visibility: visible;
  }
  .transform-row .transform-cell:first-of-type .transform-cell-content {
    margin-left: 25px;
  }
}


.edit-transform-form {

}

.edit-transform-form input[type=text] {
  width: 100px;
  height: 25px;
  margin: 5px;
}

.edit-transform-form .edit-transform-title {
  display: flex;
  align-items: center;
}

.edit-transform-form .edit-transform-title input {
  margin: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
}

.edit-transform-form .edit-transform-container .delete-transform-button {
  width: 18px;
  height: 18px;
  border: 1px black solid;
  border-radius: 50%;
  cursor: pointer;
}
