#heroesScene {
  position: relative;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -ms-flex-line-pack: start;
      align-content: flex-start;
  background-color: #252424;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

#clanScene {
  position: absolute;
  top: 0;
  left: 200%;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-color: #021a09;
}

#heroesSceneTop {
  width: 100%;
  height: 45px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-line-pack: end;
      align-content: flex-end;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

#heroesSceneTop #maxHeroes {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-item-align: end;
      align-self: flex-end;
  height: 20px;
  color: #ffffff;
  font-size: 11px;
  background-color: #222222;
  padding: 2px 6px;
  border-radius: 3px;
  margin: 0 5px 5px 0;
}

#heroesSceneBtm {
  width: 100%;
  height: 35px;
}

#heroesWrap {
  width: 94%;
  height: calc(100% - 160px);
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -ms-flex-line-pack: start;
      align-content: flex-start;
  background-color: #1c1c1c;
  -webkit-box-shadow: inset 0px 0px 2px 2px #3a3406, 0px 0px 1px 1px #2c2c26;
          box-shadow: inset 0px 0px 2px 2px #3a3406, 0px 0px 1px 1px #2c2c26;
  padding: 10px 5px;
}

.heroCard {
  width: calc(100% / 4);
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  padding: 0 3px 2px;
}

.heroCard .heroEv {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  top: 4%;
  margin: 0 auto;
  font-size: 8px;
  color: #ffffff;
}

.heroCard img {
  width: 100%;
}

.heroCard .heroLVL {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: absolute;
  bottom: 15%;
  margin: 0 auto;
  font-size: 11px;
  color: #ffffff;
  text-shadow: 2px 2px 0px #000000, -2px 2px 0px #000000, 2px -2px 0px #000000, -2px -2px 0px #000000;
}

.heroScreen {
  display: none;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  color: #ffffff;
  text-shadow: 1px 1px 1px #000000, -1px 1px 1px #000000, 1px -1px 1px #000000, -1px -1px 1px #000000;
}

.heroScreen .heroScreenTop {
  width: 100%;
  height: 72%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
}

.heroScreen .heroScreenTop .hsName {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

.heroScreen .heroScreenTop .hsName p {
  font-size: 22px;
}

.heroScreen .heroScreenTop .hsName span {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 14px;
}

.heroScreen .heroScreenTop .hsName span img {
  height: 24px;
}

.heroScreen .heroScreenTop .hsFlag, .heroScreen .heroScreenTop .hsClass {
  position: absolute;
  top: 20px;
  z-index: 2;
}

.heroScreen .heroScreenTop .hsFlag {
  left: 10px;
  width: 60px;
}

.heroScreen .heroScreenTop .hsClass {
  right: 10px;
  width: 40px;
}

.heroScreen .heroScreenTop > picture img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  z-index: 1;
}

.heroScreen .heroScreenTop .emptyGlove, .heroScreen .heroScreenTop .emptyWeapon, .heroScreen .heroScreenTop .emptyRing, .heroScreen .heroScreenTop .emptyArmor, .heroScreen .heroScreenTop .emptyBoots, .heroScreen .heroScreenTop .emptyArtefact,
.heroScreen .heroScreenTop .skill1, .heroScreen .heroScreenTop .skill2, .heroScreen .heroScreenTop .skill3, .heroScreen .heroScreenTop .skill4 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: absolute;
  width: 60px;
  height: 60px;
  z-index: 2;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.heroScreen .heroScreenTop .emptyGlove picture, .heroScreen .heroScreenTop .emptyWeapon picture, .heroScreen .heroScreenTop .emptyRing picture, .heroScreen .heroScreenTop .emptyArmor picture, .heroScreen .heroScreenTop .emptyBoots picture, .heroScreen .heroScreenTop .emptyArtefact picture,
.heroScreen .heroScreenTop .skill1 picture, .heroScreen .heroScreenTop .skill2 picture, .heroScreen .heroScreenTop .skill3 picture, .heroScreen .heroScreenTop .skill4 picture {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}

.heroScreen .heroScreenTop .emptyGlove picture img, .heroScreen .heroScreenTop .emptyWeapon picture img, .heroScreen .heroScreenTop .emptyRing picture img, .heroScreen .heroScreenTop .emptyArmor picture img, .heroScreen .heroScreenTop .emptyBoots picture img, .heroScreen .heroScreenTop .emptyArtefact picture img,
.heroScreen .heroScreenTop .skill1 picture img, .heroScreen .heroScreenTop .skill2 picture img, .heroScreen .heroScreenTop .skill3 picture img, .heroScreen .heroScreenTop .skill4 picture img {
  width: 100%;
}

.heroScreen .heroScreenTop .emptyGlove span, .heroScreen .heroScreenTop .emptyWeapon span, .heroScreen .heroScreenTop .emptyRing span, .heroScreen .heroScreenTop .emptyArmor span, .heroScreen .heroScreenTop .emptyBoots span, .heroScreen .heroScreenTop .emptyArtefact span,
.heroScreen .heroScreenTop .skill1 span, .heroScreen .heroScreenTop .skill2 span, .heroScreen .heroScreenTop .skill3 span, .heroScreen .heroScreenTop .skill4 span {
  position: absolute;
  right: 4px;
  bottom: 2px;
  background-color: #000000d4;
  border: 1px solid #343434;
  border-radius: 8px;
  -webkit-box-shadow: 0px 0px 3px 1px #000000;
          box-shadow: 0px 0px 3px 1px #000000;
  width: 16px;
  height: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  font-size: 10px;
}

.heroScreen .heroScreenTop .emptyGlove #skillInfo, .heroScreen .heroScreenTop .emptyWeapon #skillInfo, .heroScreen .heroScreenTop .emptyRing #skillInfo, .heroScreen .heroScreenTop .emptyArmor #skillInfo, .heroScreen .heroScreenTop .emptyBoots #skillInfo, .heroScreen .heroScreenTop .emptyArtefact #skillInfo,
.heroScreen .heroScreenTop .skill1 #skillInfo, .heroScreen .heroScreenTop .skill2 #skillInfo, .heroScreen .heroScreenTop .skill3 #skillInfo, .heroScreen .heroScreenTop .skill4 #skillInfo {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 400%;
  min-height: 200%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  background-color: #000000d4;
  border: 1px solid #343434;
  border-radius: 7px;
  -webkit-box-shadow: 0px 0px 3px 1px #000000;
          box-shadow: 0px 0px 3px 1px #000000;
  padding: 4px 8px;
  font-size: 13px;
  z-index: 20;
}

.heroScreen .heroScreenTop .emptyGlove #skillInfo.left, .heroScreen .heroScreenTop .emptyWeapon #skillInfo.left, .heroScreen .heroScreenTop .emptyRing #skillInfo.left, .heroScreen .heroScreenTop .emptyArmor #skillInfo.left, .heroScreen .heroScreenTop .emptyBoots #skillInfo.left, .heroScreen .heroScreenTop .emptyArtefact #skillInfo.left,
.heroScreen .heroScreenTop .skill1 #skillInfo.left, .heroScreen .heroScreenTop .skill2 #skillInfo.left, .heroScreen .heroScreenTop .skill3 #skillInfo.left, .heroScreen .heroScreenTop .skill4 #skillInfo.left {
  position: absolute;
  left: 110%;
}

.heroScreen .heroScreenTop .emptyGlove #skillInfo.right, .heroScreen .heroScreenTop .emptyWeapon #skillInfo.right, .heroScreen .heroScreenTop .emptyRing #skillInfo.right, .heroScreen .heroScreenTop .emptyArmor #skillInfo.right, .heroScreen .heroScreenTop .emptyBoots #skillInfo.right, .heroScreen .heroScreenTop .emptyArtefact #skillInfo.right,
.heroScreen .heroScreenTop .skill1 #skillInfo.right, .heroScreen .heroScreenTop .skill2 #skillInfo.right, .heroScreen .heroScreenTop .skill3 #skillInfo.right, .heroScreen .heroScreenTop .skill4 #skillInfo.right {
  position: absolute;
  right: 110%;
}

.heroScreen .heroScreenTop .skill1 picture, .heroScreen .heroScreenTop .skill2 picture, .heroScreen .heroScreenTop .skill3 picture, .heroScreen .heroScreenTop .skill4 picture {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  border-radius: 50%;
  border: 1px solid #343434;
  -webkit-box-shadow: 0px 0px 3px 1px #000000;
          box-shadow: 0px 0px 3px 1px #000000;
  overflow: clip;
}

.heroScreen .heroScreenTop .emptyWeapon {
  top: calc(40% - 90px);
  left: 20px;
}

.heroScreen .heroScreenTop .emptyGlove {
  top: 40%;
  left: 20px;
}

.heroScreen .heroScreenTop .emptyRing {
  top: calc(40% + 90px);
  left: 20px;
}

.heroScreen .heroScreenTop .emptyArmor {
  top: calc(40% - 90px);
  right: 20px;
}

.heroScreen .heroScreenTop .emptyBoots {
  top: 40%;
  right: 20px;
}

.heroScreen .heroScreenTop .emptyArtefact {
  top: calc(40% + 90px);
  right: 20px;
}

.heroScreen .heroScreenTop .skill1 {
  top: calc(40% - 50px);
  left: -120px;
}

.heroScreen .heroScreenTop .skill2 {
  top: calc(40% - 50px);
  right: -120px;
}

.heroScreen .heroScreenTop .skill3 {
  top: calc(40% + 50px);
  left: -120px;
}

.heroScreen .heroScreenTop .skill4 {
  top: calc(40% + 50px);
  right: -120px;
}

.heroScreen .heroScreenTop .hsLVL {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

.heroScreen .heroScreenBottom {
  position: relative;
  background-color: #021a09;
  width: 100%;
  height: 28%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -ms-flex-line-pack: start;
      align-content: flex-start;
  z-index: 2;
}

.heroScreen .heroScreenBottom .hsSeparator {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  -webkit-transform: translateY(-42%);
          transform: translateY(-42%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

.heroScreen .heroScreenBottom .hsSeparator img {
  width: 100%;
}

.heroScreen .heroScreenBottom .hsSeparator span {
  position: absolute;
  font-size: 15px;
}

.heroScreen .heroScreenBottom .hStats {
  width: 100%;
  height: 31%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
  background-color: #1a5a001c;
}

.heroScreen .heroScreenBottom .hStats p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 15px;
  margin-top: 20px;
}

.heroScreen .heroScreenBottom .hStats p img {
  max-width: 18px;
  max-height: 18px;
  margin-right: 5px;
}

.heroScreen .heroScreenBottom .hStats p:last-child {
  -webkit-transform: scale(1.5);
          transform: scale(1.5);
}

.heroScreen .heroScreenBottom .hsLvlUp {
  width: 100%;
  height: 35%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  border-bottom: 1px solid #50505070;
  padding: 12px 0 8px;
}

.heroScreen .heroScreenBottom .hsLvlUp > div {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.heroScreen .heroScreenBottom .hsLvlUp .hsUpBtn {
  height: 60%;
}

.heroScreen .heroScreenBottom .hsLvlUp .hsUpBtn > div {
  height: 100%;
}

.heroScreen .heroScreenBottom .hsLvlUp .hsUpBtn > div img {
  height: 100%;
}

.heroScreen .heroScreenBottom .hsLvlUp .hsUpBtn > div:hover {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

.heroScreen .heroScreenBottom .hsLvlUp .hsUpRes {
  height: 40%;
}

.heroScreen .heroScreenBottom .hsLvlUp .hsUpRes p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 14px;
  margin: 0 5px;
}

.heroScreen .heroScreenBottom .hsLvlUp .hsUpRes p img {
  max-width: 18px;
  max-height: 18px;
  margin-right: 5px;
}

.heroScreen .heroScreenBottom .hMenu {
  width: 100%;
  height: 33%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  border-bottom: 1px solid #50505070;
  padding: 0 10px;
}

.heroScreen .heroScreenBottom .hMenu > div {
  width: 45px;
  height: 45px;
  margin: 0 5px 5px;
}

.heroScreen .heroScreenBottom .hMenu > div img {
  max-width: 100%;
  max-height: 100%;
}

.heroScreen .heroScreenBottom .hMenu > div:hover {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

.heroScreen .heroScreenBottom .hMenu > div:first-child {
  margin-right: auto;
}

.heroScreen .hStatsInfo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  background-color: #1c1c1c73;
  z-index: 101;
}

.heroScreen .hStatsInfo > div {
  width: 55%;
  max-height: 80%;
  background-color: #1b1b1bfa;
  -webkit-box-shadow: 0px 0px 2px 2px #084419;
          box-shadow: 0px 0px 2px 2px #084419;
  border-radius: 5px;
  padding: 7px 10px;
  margin-bottom: 40px;
}

.heroScreen .hStatsInfo > div p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-line-pack: start;
      align-content: flex-start;
  margin-bottom: 4px;
}

.heroScreen .hStatsInfo > div p span {
  margin-left: auto;
}

.heroScreen .hStatsInfo.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.heroScreen.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.receivedHero {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: #1c1c1cc7;
  color: #ffffff;
  text-shadow: 1px 1px 1px #000000, -1px 1px 1px #000000, 1px -1px 1px #000000, -1px -1px 1px #000000;
  z-index: 999;
}

.receivedHero picture, .receivedHero img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.receivedHero picture {
  width: 30%;
  margin: 25px auto 50px;
}

.receivedHero img {
  width: 100%;
}

.receivedHero > div {
  padding: 5px 15px;
  border: 2px solid #ffffff;
  border-radius: 5px;
}

#townScene {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-image: url("../img/town.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.townRow {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  width: 100%;
  height: 75px;
  margin: 6px 0;
}

.townRow > div {
  position: relative;
  height: 100%;
  margin: 0 5px;
}

.townRow > div picture, .townRow > div img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
}

.townRow > div > span {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  top: 0;
  right: 0;
  height: 20px;
  background-color: #ffffffe3;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 6px;
  border-radius: 10px;
  -webkit-box-shadow: 0px 0px 2px 0px #000000, inset 0px 0px 2px 0px #000000;
          box-shadow: 0px 0px 2px 0px #000000, inset 0px 0px 2px 0px #000000;
}

div#claimable {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  margin-top: auto;
}

div#claimable #chest {
  width: calc(100% / 5);
}

div#claimable #chest img {
  width: 100%;
}

div#claimable #claimScreen {
  display: none;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  background-color: #181818b2;
  padding: 15px;
}

div#claimable #claimScreen > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  position: absolute;
  top: 0;
  bottom: 10%;
  left: 0;
  right: 0;
  width: 70%;
  min-height: 200px;
  max-height: 60%;
  margin: auto;
  border: 2px solid #000000;
  border-radius: 5px;
  background-color: #1b1a1a;
  padding: 15px;
}

div#claimable #claimScreen > div .claimableItem {
  width: 50px;
  height: 50px;
  position: relative;
  margin-right: 7px;
}

div#claimable #claimScreen > div .claimableItem picture, div#claimable #claimScreen > div .claimableItem img {
  height: 100%;
}

div#claimable #claimScreen > div .claimableItem span {
  position: absolute;
  bottom: 0;
  right: 5px;
  -webkit-transform: translateY(40%);
          transform: translateY(40%);
  font-size: 11px;
  font-weight: bold;
  text-shadow: 1px 1px 2px #000000, -1px -1px 2px #000000;
  color: #ffffff;
}

div#claimable #claimScreen > div #claimableItems {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

div#claimable #claimScreen > div .claimBtn {
  width: 100%;
  margin: auto auto 30px auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

div#claimable #claimScreen > div .claimBtn > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  width: 50%;
  height: 28px;
  color: #e4e4e4;
  text-shadow: 1px 1px 0px #000000, -1px 1px 0px #000000, 1px -1px 0px #000000, -1px -1px 0px #000000;
  letter-spacing: 1px;
  border: 2px solid #e4e4e4;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
}

div#claimable #claimScreen > div .close {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 40px;
  height: 40px;
  margin: auto;
  -webkit-transform: translateY(50%);
          transform: translateY(50%);
}

div#claimable #claimScreen > div .close img {
  height: 100%;
}

div#claimable #claimScreen.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

div.leftTownIcon {
  margin-right: auto;
}

.townRow #userInfo {
  position: relative;
}

.townRow #userInfo > div {
  height: 100%;
  border: 1px solid #000000;
  -webkit-box-shadow: 0px 0px 2px 0px #000000, inset 0px 0px 2px 0px #000000;
          box-shadow: 0px 0px 2px 0px #000000, inset 0px 0px 2px 0px #000000;
  border-radius: 50%;
  overflow: hidden;
}

.townRow #userInfo > div img {
  height: 100%;
}

.townRow #userInfo span {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  border-radius: 8px;
  background-color: #000000;
  color: #ffffff;
  font-size: 11px;
  font-weight: bold;
}

#userScreen {
  display: none;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  background-color: #181818b2;
  padding: 15px;
  color: #ffffff;
  text-shadow: 1px 1px 0px #000000, -1px 1px 0px #000000, 1px -1px 0px #000000, -1px -1px 0px #000000;
}

#userScreen > div {
  position: absolute;
  top: 0;
  bottom: 10%;
  left: 0;
  right: 0;
  width: 80%;
  height: 80%;
  margin: auto;
  border: 2px solid #000000;
  border-radius: 5px;
  background-color: #1b1a1a;
  padding: 15px;
}

#userScreen > div .close {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 40px;
  height: 40px;
  margin: auto;
  -webkit-transform: translateY(50%);
          transform: translateY(50%);
}

#userScreen > div .close img {
  height: 100%;
}

#userScreen #raceInfo {
  position: relative;
}

#userScreen #raceInfo > p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#userScreen #raceInfo > p img {
  width: 25px;
  height: 25px;
  margin-right: 10px;
}

#userScreen #raceInfo > div {
  position: absolute;
  top: 0;
  right: 0;
}

#userScreen .img_name {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  width: 100%;
}

#userScreen .img_name #userImgCng {
  width: 70px;
  height: 70px;
  position: relative;
}

#userScreen .img_name #userImgCng > div {
  width: 100%;
  height: 100%;
  border: 1px solid #000000;
  -webkit-box-shadow: 0px 0px 2px 0px #000000, inset 0px 0px 2px 0px #000000;
          box-shadow: 0px 0px 2px 0px #000000, inset 0px 0px 2px 0px #000000;
  border-radius: 50%;
  overflow: hidden;
}

#userScreen .img_name #userImgCng > div img {
  height: 100%;
}

#userScreen .img_name #userImgCng span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  border-radius: 8px;
  background-color: #000000;
  font-size: 11px;
  font-weight: bold;
}

#userScreen .img_name #userNameCng {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

#userScreen .img_name #userNameCng > div {
  width: 100%;
  height: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

#userScreen .img_name #userNameCng #nickname {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-weight: bold;
  font-size: 16px;
}

#userScreen .img_name #userNameCng #nickname div {
  background-color: #000000;
  margin-left: 15px;
  font-size: 12px;
  padding: 5px 10px;
  border: 1px solid #000000;
  border-radius: 15px;
}

#userScreen .img_name #userNameCng #userID {
  font-size: 12px;
}

#userScreen .img_name form.nameForm {
  position: absolute;
  width: 100%;
  height: 100%;
  display: none;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: #1b1a1a;
}

#userScreen .img_name form.nameForm input {
  width: 70%;
  padding: 4px;
  font-size: 14px;
  font-weight: bold;
}

#userScreen .img_name form.nameForm p {
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: #a11210;
  margin: 2px 0;
}

#userScreen .img_name form.nameForm div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  border: 1px solid #ffffff;
  border-radius: 3px;
  padding: 3px 7px;
  margin: 2px 10px 0;
  color: #ffffff;
}

#userScreen .img_name form.nameForm.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#userScreen.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.separator {
  width: 100%;
  border: 1px solid #313131;
  margin: 15px 0;
}

#buildingInfo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  background-color: #181818b2;
  padding: 15px;
}

#buildingInfo > div {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-line-pack: start;
      align-content: flex-start;
  top: 0;
  bottom: 10%;
  left: 0;
  right: 0;
  width: 80%;
  height: 80%;
  margin: auto;
  border: 2px solid #000000;
  border-radius: 5px;
  background-color: #1b1a1a;
  padding: 15px;
}

#buildingInfo > div > img {
  width: 80%;
  margin: 0 auto;
}

#buildingInfo > div .buildingLvlInfo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  width: 100%;
  padding: 10px 15px;
  border: 2px solid #313131;
  border-radius: 5px;
  color: #e4e4e4;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  margin: 10px 0;
}

#buildingInfo > div .buildingLvlInfo > p {
  text-align: left;
  font-size: 15px;
  width: 100%;
  border-bottom: 2px solid #e4e4e4;
  color: gold;
  padding: 3px 10px;
  margin-bottom: 5px;
}

#buildingInfo > div .buildingLvlInfo > p span {
  color: #e4e4e4;
  font-size: 20px;
}

#buildingInfo > div .buildingUpgradeInfo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  position: relative;
  padding-bottom: 30px;
}

#buildingInfo > div .buildingUpgradeInfo > span {
  margin-right: 10px;
}

#buildingInfo > div .buildingUpgradeInfo .upgradeBuilding {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  -webkit-transform: translateY(calc(50% + 10px));
          transform: translateY(calc(50% + 10px));
  background-color: #313131;
  border: 2px solid #e4e4e4;
  border-radius: 4px;
  padding: 3px 6px;
}

#buildingInfo > div .close {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 40px;
  height: 40px;
  margin: auto;
  -webkit-transform: translateY(50%);
          transform: translateY(50%);
}

#buildingInfo > div .close img {
  height: 100%;
}

@media screen and (max-width: 480px) {
  .townRow {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    width: 100%;
    height: 55px;
    margin: 5px 0;
  }
  .townRow > div > span {
    font-size: 10px;
    padding: 2px 4px;
  }
}

#loginScreen {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 110;
  width: 100%;
  height: 100%;
  background-image: url("../img/loginbg.webp");
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

#loginScreen form {
  width: 70%;
  min-height: 200px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  padding: 15px;
}

#loginScreen form h2 {
  width: 100%;
  font-size: 25px;
  margin-bottom: 10px;
  text-align: center;
}

#loginScreen form label {
  width: 100%;
  height: auto;
  font-size: 17px;
  margin-top: 5px;
}

#loginScreen form input {
  width: 100%;
  height: 30px;
  margin-bottom: 10px;
  padding: 0 5px;
}

#loginScreen form #signUpBtn, #loginScreen form #loginBtn {
  width: 45%;
  height: 30px;
  margin: 5px auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  font-weight: bold;
  cursor: pointer;
}

#loginScreen form .leftLogin {
  font-style: italic;
  font-size: 17px;
}

#loginScreen form .rightLogin {
  font-size: 18px;
  border: 2px solid #181818;
  border-radius: 15px;
}

#logoutBtn {
  color: #ffffff;
}

.signupError {
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: #a11210;
}

#chooseRaceScr {
  z-index: 110;
  position: absolute;
  top: 0;
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -ms-flex-line-pack: start;
      align-content: flex-start;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
  height: 100%;
  background-color: #2a2a2a;
  color: #e2e2e2;
  padding: 25px 20px;
}

#chooseRaceScr h3 {
  width: 100%;
  text-align: center;
  font-size: 22px;
}

#chooseRaceScr .raceIcon {
  width: calc(100% / 4);
  padding: 15px;
}

#chooseRaceScr .raceIcon img {
  width: 100%;
}

#chooseRaceScr h4 {
  width: 100%;
  font-size: 19px;
  text-align: center;
}

#chooseRaceScr .raceDesc {
  width: 100%;
  padding: 10px;
  border: 1px solid #e2e2e2;
  border-radius: 5px;
  margin: 5px 0;
}

#chooseRaceScr .chooseInfo {
  width: 100%;
  padding: 10px;
  border: 2px solid #e2e2e2;
  border-radius: 5px;
  margin: 5px 0;
}

#chooseRaceScr #confirmRace {
  border: 1px solid #e2e2e2;
  border-radius: 5px;
  padding: 5px 10px;
  margin: 40px auto;
}

#chooseRaceScr #closeRaceScr {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  width: 90%;
  height: 40px;
  margin: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#chooseRaceScr #closeRaceScr img {
  height: 40px;
  width: 40px;
}

#chooseRaceScr #closeRaceScr p {
  font-size: 14px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#chooseRaceScr #closeRaceScr p img {
  width: 25px;
  height: 25px;
  margin-right: 10px;
}

#blacksmithScr {
  position: absolute;
  z-index: 120;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -ms-flex-line-pack: start;
      align-content: flex-start;
  background-color: #1d0000;
  color: #ffffff;
  text-shadow: 1px 1px 0px #000000, -1px 1px 0px #000000, 1px -1px 0px #000000, -1px -1px 0px #000000;
}

#blacksmithScr .blacksmithTop {
  position: relative;
  width: 100%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#blacksmithScr .blacksmithTop picture, #blacksmithScr .blacksmithTop img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 60%;
  margin: 0 auto;
}

#blacksmithScr .blacksmithTop #forgeMode {
  position: absolute;
  top: 10px;
  right: 10px;
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#blacksmithScr .blacksmithTop #forgeMode p {
  font-size: 12px;
}

#blacksmithScr .blacksmithTop #forgeMode div {
  border: 1px solid #1d0000;
  background-color: #1d0000;
  border-radius: 3px;
  padding: 1px 6px;
  margin-top: 2px;
}

#blacksmithScr .blacksmithTop #forgeMode.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#blacksmithScr .blacksmithTop #upgradeMode {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  display: none;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#blacksmithScr .blacksmithTop #upgradeMode > div {
  width: 70%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#blacksmithScr .blacksmithTop #upgradeMode #upNeeded, #blacksmithScr .blacksmithTop #upgradeMode #upResult, #blacksmithScr .blacksmithTop #upgradeMode #toResult {
  position: relative;
  width: calc(100% / 5);
  margin: 0 5px;
}

#blacksmithScr .blacksmithTop #upgradeMode #upNeeded img, #blacksmithScr .blacksmithTop #upgradeMode #upResult img, #blacksmithScr .blacksmithTop #upgradeMode #toResult img {
  width: 100%;
}

#blacksmithScr .blacksmithTop #upgradeMode #upNeeded span, #blacksmithScr .blacksmithTop #upgradeMode #upResult span, #blacksmithScr .blacksmithTop #upgradeMode #toResult span {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 13px;
}

#blacksmithScr .blacksmithTop #upgradeMode #upResources {
  width: 100%;
  height: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: #18181831;
}

#blacksmithScr .blacksmithTop #upgradeMode #upResources > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 20px;
  font-size: 13px;
  margin: 0 4px;
}

#blacksmithScr .blacksmithTop #upgradeMode #upResources > div img {
  width: 20px;
  height: 20px;
  margin-right: 2px;
}

#blacksmithScr .blacksmithTop #upgradeMode #upBtn {
  margin: 7px auto;
  background-color: #18181863;
  border-radius: 4px;
  padding: 2px 6px;
}

#blacksmithScr .blacksmithTop #upgradeMode #upBtn.active {
  color: #501f03;
  text-shadow: 1px 1px 0px #ffffff, -1px 1px 0px #ffffff, 1px -1px 0px #ffffff, -1px -1px 0px #ffffff;
}

#blacksmithScr .blacksmithTop > p {
  position: absolute;
  right: 13px;
  bottom: 13px;
}

#blacksmithScr .blacksmithTop #upgradeMode.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#blacksmithScr .blacksmithCenter {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  width: 100%;
  border-top: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  padding: 4px 0;
}

#blacksmithScr .blacksmithCenter > div {
  width: 33%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

#blacksmithScr .blacksmithCenter > div.active {
  color: #501f03;
  text-shadow: 1px 1px 0px #ffffff, -1px 1px 0px #ffffff, 1px -1px 0px #ffffff, -1px -1px 0px #ffffff;
}

#blacksmithScr .blacksmithBottomForge {
  display: none;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
}

#blacksmithScr .blacksmithBottomForge h4 {
  position: relative;
  width: 100%;
  height: 35px;
  text-align: center;
  margin: 5px 0;
  font-size: 24px;
}

#blacksmithScr .blacksmithBottomForge h4 > div {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

#blacksmithScr .blacksmithBottomForge h4 .normalH4 {
  left: 0;
}

#blacksmithScr .blacksmithBottomForge h4 .advancedH4 {
  left: 100%;
}

#blacksmithScr .blacksmithBottomForge h4 .targetedH4 {
  left: 200%;
}

#blacksmithScr .blacksmithBottomForge .steelBox {
  width: 100%;
  height: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

#blacksmithScr .blacksmithBottomForge .steelBox > div {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 2px 7px;
  border: 1px solid #000000;
  border-radius: 3px;
  -webkit-box-shadow: inset 0px 0px 3px -1px #ffffff, 0px 0px 3px -1px #ffffff;
          box-shadow: inset 0px 0px 3px -1px #ffffff, 0px 0px 3px -1px #ffffff;
  font-size: 14px;
}

#blacksmithScr .blacksmithBottomForge .steelBox > div img {
  height: 100%;
  margin-right: 5px;
}

#blacksmithScr .blacksmithBottomForge #forgeLeftArrow, #blacksmithScr .blacksmithBottomForge #forgeRightArrow {
  width: 15%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

#blacksmithScr .blacksmithBottomForge #forgeLeftArrow {
  opacity: 0;
}

#blacksmithScr .blacksmithBottomForge #forgeBox {
  position: relative;
  left: 0;
  width: 70%;
  min-height: 200px;
  border: 2px solid #000000;
  border-radius: 5px;
}

#blacksmithScr .blacksmithBottomForge.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#blacksmithScr .blacksmithBottomUpgrade {
  display: none;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  width: 100%;
}

#blacksmithScr .blacksmithBottomUpgrade #upgradeActionBox {
  width: 70%;
  margin: 20px auto;
}

#blacksmithScr .blacksmithBottomUpgrade #upgradeActionBox #upgradeMenu {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#blacksmithScr .blacksmithBottomUpgrade #upgradeActionBox #upgradeMenu > div {
  margin: 0 5px;
}

#blacksmithScr .blacksmithBottomUpgrade #upgradeActionBox #upgradeMenu > div.active {
  color: #501f03;
  text-shadow: 1px 1px 0px #ffffff, -1px 1px 0px #ffffff, 1px -1px 0px #ffffff, -1px -1px 0px #ffffff;
}

#blacksmithScr .blacksmithBottomUpgrade #upgradeItemsBox {
  width: 80%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 5px 0;
}

#blacksmithScr .blacksmithBottomUpgrade #upgradeItemsBox .item_box {
  width: 100%;
  display: none;
}

#blacksmithScr .blacksmithBottomUpgrade #upgradeItemsBox .item_box .upgradeCol {
  width: calc(100% / 5);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  border-right: 1px solid #c0c0c038;
}

#blacksmithScr .blacksmithBottomUpgrade #upgradeItemsBox .item_box .upgradeCol > div {
  width: 100%;
  position: relative;
  padding: 3px 5px;
}

#blacksmithScr .blacksmithBottomUpgrade #upgradeItemsBox .item_box .upgradeCol > div picture, #blacksmithScr .blacksmithBottomUpgrade #upgradeItemsBox .item_box .upgradeCol > div img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}

#blacksmithScr .blacksmithBottomUpgrade #upgradeItemsBox .item_box .upgradeCol > div span {
  position: absolute;
  bottom: 4px;
  right: 10px;
  font-size: 12px;
}

#blacksmithScr .blacksmithBottomUpgrade #upgradeItemsBox .item_box .upgradeCol:last-child {
  border-right: none;
}

#blacksmithScr .blacksmithBottomUpgrade #upgradeItemsBox .item_box.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#blacksmithScr .blacksmithBottomUpgrade.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#blacksmithScr.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#tavernScr {
  position: absolute;
  z-index: 120;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -ms-flex-line-pack: start;
      align-content: flex-start;
  background-color: #1d0000;
  color: #ffffff;
  text-shadow: 1px 1px 0px #000000, -1px 1px 0px #000000, 1px -1px 0px #000000, -1px -1px 0px #000000;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  -webkit-transform: scale(0.2);
          transform: scale(0.2);
  overflow: hidden;
}

#tavernScr .tavernTop {
  position: relative;
  width: 100%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#tavernScr .tavernTop picture, #tavernScr .tavernTop img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  margin: 0 auto;
}

#tavernScr .tavernTop > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 14px;
}

#tavernScr .tavernTop > div img {
  width: 18px;
  height: 18px;
}

#tavernScr .tavernBottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
}

#tavernScr .tavernBottom h4 {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  height: 35px;
  text-align: center;
  margin: 15px 0 25px;
  font-size: 24px;
}

#tavernScr .tavernBottom h4 > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

#tavernScr .tavernBottom h4 > div span {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

#tavernScr .tavernBottom h4 > div span img {
  height: 60%;
}

#tavernScr .tavernBottom h4 .normalHireT {
  left: 0;
}

#tavernScr .tavernBottom h4 .eliteHireT {
  left: 100%;
}

#tavernScr .tavernBottom h4 .targetedHireT {
  left: 200%;
}

#tavernScr .tavernBottom .tavernAbox {
  width: 100%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#tavernScr .tavernBottom .tavernAbox .tavernAboxLeft, #tavernScr .tavernBottom .tavernAbox .tavernAboxRight {
  width: 15%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

#tavernScr .tavernBottom .tavernAbox .tavernAboxLeft img, #tavernScr .tavernBottom .tavernAbox .tavernAboxRight img {
  width: 40%;
}

#tavernScr .tavernBottom .tavernAbox .tavernAboxCenter {
  position: relative;
  width: 70%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

#tavernScr .tavernBottom .tavernAbox .tavernAboxCenter > img {
  width: 100%;
}

#tavernScr .tavernBottom .tavernAbox .tavernAboxCenter > div {
  position: absolute;
  width: 60%;
}

#tavernScr .tavernBottom .tavernAbox .tavernAboxCenter > div img {
  width: 100%;
}

#tavernScr .tavernBottom .tavernAbox .tavernAboxCenter .hire1btn {
  -webkit-transform: translateY(-70%);
          transform: translateY(-70%);
}

#tavernScr .tavernBottom .tavernAbox .tavernAboxCenter .hire10btn {
  -webkit-transform: translateY(70%);
          transform: translateY(70%);
}

#tavernScr.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.gray50 {
  -webkit-filter: grayscale(30%);
          filter: grayscale(30%);
}

.gray {
  -webkit-filter: grayscale(100%);
          filter: grayscale(100%);
}

#battleScene {
  position: absolute;
  top: 0;
  left: -200%;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-image: url("../img/battle.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

#battleScene #battleWrap {
  width: 100%;
  margin-top: 45px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  color: #ffffff;
  text-shadow: 1px 1px 0px #000000, -1px 1px 0px #000000, 1px -1px 0px #000000, -1px -1px 0px #000000;
}

#battleScene #battleWrap .bScrEnemyPreview {
  width: 76%;
  margin: 0 auto;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

#battleScene #battleWrap .bScrEnemyPreview .bScrPos {
  display: -ms-grid;
  display: grid;
  position: relative;
  width: 33%;
  padding: 2% 4%;
  font-size: 11px;
}

#battleScene #battleWrap .bScrEnemyPreview .bScrPos > p {
  position: absolute;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  top: 6%;
  left: 0;
  right: 0;
  margin: 0 auto;
}

#battleScene #battleWrap .bScrEnemyPreview .bScrPos picture {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}

#battleScene #battleWrap .bScrEnemyPreview .bScrPos picture img {
  width: 100%;
}

#battleScene #battleWrap .bScrEnemyPreview .bScrPos span {
  position: absolute;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  bottom: 20%;
  left: 0;
  right: 0;
  margin: 0 auto;
}

#battleScene #battleWrap .bScrEnemyPreview .bScrRewards {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-width: 70%;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  margin: 5px auto 0;
  border-radius: 5px;
  border: 1px dashed #000000;
  background-color: #0000007c;
  -webkit-box-shadow: 0px 0px 3px 0px #ffffff;
          box-shadow: 0px 0px 3px 0px #ffffff;
  padding: 0 7px;
}

#battleScene #battleWrap .bScrEnemyPreview .bScrRewards picture {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: 30px;
  margin: 7px;
}

#battleScene #battleWrap .bScrEnemyPreview .bScrRewards picture img {
  height: 100%;
}

#battleScene #battleWrap .bScrEnemyPreview .bScrRewards picture span {
  position: absolute;
  bottom: -2px;
  right: -2px;
  font-size: 10px;
}

#battleScene #battleWrap .challBtn {
  position: relative;
  height: 45px;
}

#battleScene #battleWrap .challBtn span {
  position: absolute;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  padding: 1px 4px;
  font-size: 11px;
  background-color: #000000af;
  border: 2px solid #1d3960;
  border-radius: 4px;
  -webkit-box-shadow: 0px 0px 3px 0px #ffffff;
          box-shadow: 0px 0px 3px 0px #ffffff;
  -webkit-transform: translateY(-95%);
          transform: translateY(-95%);
}

#battleScene #battleWrap .challBtn img {
  height: 100%;
}

#battleScene #battleWrap .challBtn:hover img {
  -webkit-transform: scale(1.01);
          transform: scale(1.01);
}

.btlFormScr.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.btlFormScr {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 110;
  width: 100%;
  height: 100%;
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  background-image: url("../img/battle.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  color: #ffffff;
  text-shadow: 1px 1px 0px #000000, -1px 1px 0px #000000, 1px -1px 0px #000000, -1px -1px 0px #000000;
}

.btlFormScr .bTheader {
  width: 70%;
  margin: 20px auto 0;
}

.btlFormScr .bTheader > img {
  width: 100%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}

.btlFormScr .bTheader p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 15px;
  font-size: 12px;
}

.btlFormScr .bTheader p img {
  height: 100%;
  margin-right: 10px;
  -webkit-transform: scale(1.5);
          transform: scale(1.5);
}

.btlFormScr .dunFormPreview {
  width: 76%;
  margin: 0 auto;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.btlFormScr .dunFormPreview .formation {
  position: relative;
  width: 33%;
  padding: 2% 4%;
}

.btlFormScr .dunFormPreview .formation > div {
  z-index: 2;
}

.btlFormScr .dunFormPreview .formation picture {
  position: relative;
  background-image: url("../img/heroes/plus_frame.png");
  background-repeat: no-repeat;
  background-size: cover;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}

.btlFormScr .dunFormPreview .formation picture img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  pointer-events: initial;
  cursor: default;
  opacity: 0;
}

.btlFormScr .dunFormPreview .formation span {
  position: absolute;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  bottom: 20%;
  left: 0;
  right: 0;
  margin: 0 auto;
  font-size: 11px;
}

.btlFormScr .dunFormPreview .bScrRewards {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-width: 70%;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  margin: 5px auto 0;
  border-radius: 5px;
  border: 1px dashed #000000;
  background-color: #0000007c;
  -webkit-box-shadow: 0px 0px 3px 0px #ffffff;
          box-shadow: 0px 0px 3px 0px #ffffff;
  padding: 0 7px;
}

.btlFormScr .dunFormPreview .bScrRewards picture {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: 30px;
  margin: 7px;
}

.btlFormScr .dunFormPreview .bScrRewards picture img {
  height: 100%;
}

.btlFormScr .dunFormPreview .bScrRewards picture span {
  position: absolute;
  bottom: -2px;
  right: -2px;
  font-size: 10px;
}

.btlFormScr .dunHeroListWrap {
  width: 100%;
  height: 45%;
  border-top: 4px dashed #000000;
  background-color: #000000a9;
  padding: 10px 10px 60px 10px;
}

.btlFormScr .dunHeroListWrap .dunHeroList {
  width: 100%;
  height: 100%;
  -webkit-box-shadow: inset 0px 0px 10px 1px #46688d;
          box-shadow: inset 0px 0px 10px 1px #46688d;
  background-color: #0000009c;
  border-radius: 4px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -ms-flex-line-pack: start;
      align-content: flex-start;
  overflow-y: scroll;
  padding: 5px;
}

.btlFormScr .dunHeroListWrap .dunHeroList .heroCard {
  position: relative;
  width: 20%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  padding: 4px;
}

.btlFormScr .dunHeroListWrap .dunHeroList .heroCard picture {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}

.btlFormScr .dunHeroListWrap .dunHeroList .heroCard picture img {
  width: 100%;
}

.btlFormScr .dunHeroListWrap .dunHeroList .heroCard span {
  position: absolute;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  bottom: 15%;
  left: 0;
  right: 0;
  margin: 0 auto;
  font-size: 12px;
}

.btlFormScr .dunHeroListWrap .dunHeroList::-webkit-scrollbar {
  display: none;
}

.btlFormScr .dunHeroListWrap .dunHeroList::-webkit-scrollbar-button {
  display: none;
}

.btlFormScr .dunHeroListWrap .dunHeroList::-webkit-scrollbar-thumb {
  display: none;
}

.btlFormScr .dunFormBtns {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 60px;
  padding: 5px;
  z-index: 10;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.btlFormScr .dunFormBtns > div {
  height: 100%;
}

.btlFormScr .dunFormBtns > div img {
  height: 100%;
}

.btlFormScr .dunFormBtns .dunFormBack {
  padding: 2px 5px;
}

#battleAnimation {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 190;
  width: 100%;
  height: 100%;
  background-color: #000000;
  display: none;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #ffffff;
  text-shadow: 1px 1px 0px #000000, -1px 1px 0px #000000, 1px -1px 0px #000000, -1px -1px 0px #000000;
}

#battleAnimation .round {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  font-size: 13px;
  margin: 0 auto;
}

#battleAnimation .skip {
  position: absolute;
  bottom: 20px;
  right: 20px;
  height: 30px;
  font-size: 20px;
  color: #727272;
}

#battleAnimation .skip img {
  height: 100%;
}

#battleAnimation .skip.active {
  color: #ffffff;
}

#battleAnimation .weapon, #battleAnimation .dmgIcons {
  position: absolute;
  -webkit-transform: translate(0, 0);
          transform: translate(0, 0);
  width: 22%;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  opacity: 0;
}

#battleAnimation .dmgIcons {
  opacity: 1;
  z-index: 110;
}

#battleAnimation .dmgIcons img {
  position: absolute;
  top: 0;
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  opacity: 0;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

#battleAnimation .position {
  display: -ms-grid;
  display: grid;
  position: absolute;
  width: 22%;
  -webkit-transform: translate(0, 0);
          transform: translate(0, 0);
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

#battleAnimation .position .heroEv {
  position: absolute;
  top: 5px;
  width: 100%;
  height: 11px;
  font-size: 11px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

#battleAnimation .position picture {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}

#battleAnimation .position picture img {
  width: 100%;
}

#battleAnimation .position .heroLVL {
  position: absolute;
  bottom: 14%;
  width: 100%;
  height: 12px;
  font-size: 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

#battleAnimation .position .bCardHP {
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  width: 90%;
  margin: 0 auto;
  border: 1px solid #da7b00;
  height: 7px;
  border-radius: 3px;
  overflow: clip;
}

#battleAnimation .position .bCardHP .cCardCurrHP {
  width: 100%;
  height: 100%;
  background-color: rgba(212, 126, 12, 0.808);
}

#battleAnimation.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#start {
  color: #ffffff;
}

#battleResult.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#battleResult {
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  width: 100%;
  height: 100%;
  background-color: #000000b5;
  z-index: 200;
  color: #ffffff;
  text-shadow: 1px 1px 0px #000000, -1px 1px 0px #000000, 1px -1px 0px #000000, -1px -1px 0px #000000;
}

#battleResult > picture {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}

#battleResult > picture img {
  width: 100%;
}

#battleResult #cfrmBattleRes {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  width: 100%;
  margin: 30px auto;
}

#battleResult #cfrmBattleRes img {
  width: 35%;
}

#battleResult #battleReward {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 45px;
}

#battleResult #battleReward picture {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  margin: 2px 4px;
}

#battleResult #battleReward picture img {
  height: 100%;
}

#battleResult #battleReward picture span {
  font-size: 11px;
  position: absolute;
  bottom: 2px;
  right: 2px;
}

.damageTkn, .healTkn, .skillTkn {
  position: absolute;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  left: 0;
  right: 0;
  margin: auto;
  -webkit-transition: 1s;
  transition: 1s;
}

.damageTkn {
  top: 48%;
  -webkit-transform: scale(2);
          transform: scale(2);
  z-index: 10;
}

.healTkn, .skillTkn {
  bottom: 48%;
  -webkit-transform: scale(1.5);
          transform: scale(1.5);
  z-index: 9;
}

.skillTkn {
  -webkit-transition: 0.9s;
  transition: 0.9s;
}

.testHP {
  font-size: 11px;
  color: #ffffff;
  position: absolute;
  bottom: 2px;
  right: 2px;
}

#arenaScene {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  background-color: #0e0c29;
  padding: 5px;
  color: #ffffff;
  text-shadow: 1px 1px 0px #000000, -1px 1px 0px #000000, 1px -1px 0px #000000, -1px -1px 0px #000000;
}

#arenaEntry {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  position: relative;
}

#arenaEntry > div {
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}

#arenaEntry > div picture, #arenaEntry > div img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}

#arena1scr.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#arena1scr {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  z-index: 110;
  background-color: #252528;
  padding: 5px;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  -webkit-transform: scale(0.2);
          transform: scale(0.2);
}

#arena1scr .arena1top {
  width: 100%;
  height: 70px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 10px auto;
}

#arena1scr .arena1top img {
  height: 90%;
}

#arena1scr .arena1lead {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  width: 95%;
  margin: 20px auto auto;
}

#arena1scr .arena1rank.plus, #arena1scr .arena1rank.minus {
  -webkit-transform: scale(0.8);
          transform: scale(0.8);
}

#arena1scr .arena1rank.rank {
  -webkit-box-shadow: 0px 0px 4px 0px #9d721b;
          box-shadow: 0px 0px 4px 0px #9d721b;
}

#arena1scr .arena1rank {
  width: 100%;
  height: 60px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  margin: 1px auto;
  padding: 5px 10px;
  border-radius: 4px;
  -webkit-box-shadow: 0px 0px 4px 0px #000000;
          box-shadow: 0px 0px 4px 0px #000000;
}

#arena1scr .arena1rank > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100%;
  padding: 0 15px;
}

#arena1scr .arena1rank > div > picture {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: clip;
}

#arena1scr .arena1rank > div > picture img {
  height: 100%;
}

#arena1scr .arena1rank .arena1user > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100%;
  padding: 3px 10px;
}

#arena1scr .arena1rank .arena1user > div p {
  height: 45%;
  font-size: 17px;
}

#arena1scr .arena1rank .arena1user > div div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 35%;
  font-size: 13px;
}

#arena1scr .arena1rank .arena1user > div div img {
  height: 100%;
  margin-right: 5px;
}

#arena1scr .arena1rank .arena1medals {
  margin-left: auto;
}

#arena1scr .arena1rank .arena1medals img {
  height: 20px;
  margin-right: 5px;
}

#arena1scr .arena1att, #arena1scr .arena1def {
  width: 95%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-shadow: 0px 0px 4px 0px #000000;
          box-shadow: 0px 0px 4px 0px #000000;
  margin: 10px auto;
}

#arena1scr .arena1att h6, #arena1scr .arena1def h6 {
  width: 100%;
  height: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 8px;
  font-size: 14px;
}

#arena1scr .arena1att h6 img, #arena1scr .arena1def h6 img {
  height: 100%;
  margin-right: 7px;
}

#arena1scr .arena1att .arena1formation, #arena1scr .arena1def .arena1formation {
  width: 100%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0 auto;
  padding: 0 3px;
}

#arena1scr .arena1att .arena1formation picture, #arena1scr .arena1def .arena1formation picture {
  width: 16.66%;
  padding: 3px;
}

#arena1scr .arena1att .arena1formation picture img, #arena1scr .arena1def .arena1formation picture img {
  width: 100%;
}

#arena1scr .arena1timer {
  width: 100%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 10px auto 10px;
}

#arena1scr .arena1timer > div {
  font-size: 15px;
}

#arena1scr .arena1timer > p {
  font-size: 11px;
}

#arena1scr .arena1bottom {
  width: 100%;
  height: 70px;
  margin-bottom: 10px;
  padding: 10px 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  background-color: #202020;
  -webkit-box-shadow: 0px 0px 4px 0px #000000;
          box-shadow: 0px 0px 4px 0px #000000;
}

#arena1scr .arena1bottom > div {
  height: 50px;
}

#arena1scr .arena1bottom > div img {
  height: 100%;
}

#arena1scr .arena1bottom > div:active {
  -webkit-transform: scale(1.02);
          transform: scale(1.02);
}

.arena1matchScr.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.arena1matchScr {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #00000015;
  z-index: 110;
  display: none;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-transform: scale(0.2);
          transform: scale(0.2);
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

.arena1matchScr .matchBox {
  position: absolute;
  top: 0;
  bottom: 10%;
  left: 0;
  right: 0;
  margin: auto;
  width: 85%;
  height: 60%;
  background-color: #000000d4;
  border: 2px solid #343434;
  border-radius: 7px;
  -webkit-box-shadow: 0px 0px 3px 1px #000000;
          box-shadow: 0px 0px 3px 1px #000000;
}

.arena1matchScr .matchBox .marchBoxTop {
  width: 100%;
  height: 10%;
}

.arena1matchScr .matchBox .machRes {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  width: 90%;
  height: 80%;
  margin: 0 auto;
  padding: 1%;
}

.arena1matchScr .matchBox .machRes .mResult {
  width: 100%;
  height: 18%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 10px 20px;
  background-color: #202020;
  border-radius: 7px;
  -webkit-box-shadow: 0px 0px 3px 1px #000000;
          box-shadow: 0px 0px 3px 1px #000000;
}

.arena1matchScr .matchBox .machRes .mResult .mPlayer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100%;
  padding: 3px 10px;
}

.arena1matchScr .matchBox .machRes .mResult .mPlayer > picture {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  border-radius: 50%;
  overflow: clip;
  margin-right: 10px;
}

.arena1matchScr .matchBox .machRes .mResult .mPlayer > picture img {
  height: 100%;
}

.arena1matchScr .matchBox .machRes .mResult .mPlayer > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 100%;
}

.arena1matchScr .matchBox .machRes .mResult .mPlayer > div p {
  height: 45%;
  font-size: 17px;
}

.arena1matchScr .matchBox .machRes .mResult .mPlayer > div div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 35%;
  font-size: 13px;
}

.arena1matchScr .matchBox .machRes .mResult .mPlayer > div div img {
  height: 100%;
  margin-right: 5px;
}

.arena1matchScr .matchBox .machRes .mResult .mMedals {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100%;
}

.arena1matchScr .matchBox .machRes .mResult .mMedals img {
  height: 40%;
  margin-right: 5px;
}

.arena1matchScr .matchBox .machRes .mResult .arenaBattle {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100%;
}

.arena1matchScr .matchBox .machRes .mResult .arenaBattle img {
  height: 40%;
}

.arena1matchScr .matchBox .marchBoxBtm {
  position: relative;
  width: 100%;
  height: 10%;
}

.arena1matchScr .matchBox .marchBoxBtm .matchBoxClose {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 40px;
  height: 40px;
  -webkit-transform: translateY(50%);
          transform: translateY(50%);
}

.arena1matchScr .matchBox .marchBoxBtm .matchBoxClose img {
  height: 100%;
}

@font-face {
  font-family: 'diavloblack';
  src: url("../fonts/Diavlo/diavlo_black_ii_37-webfont.woff2") format("woff2"), url("../fonts/Diavlo/diavlo_black_ii_37-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'diavlobold';
  src: url("../fonts/Diavlo/diavlo_bold_ii_37-webfont.woff2") format("woff2"), url("../fonts/Diavlo/diavlo_bold_ii_37-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: none;
  cursor: default;
  font-family: 'diavlobold', sans-serif;
  resize: horizontal;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html {
  width: 100%;
  height: 100%;
}

body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

h1 {
  width: 100%;
  height: 30px;
  font-size: 27px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

a {
  text-decoration: none;
  color: #181818;
}

img {
  pointer-events: none;
}

#loadingScreen {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #444;
  z-index: 9999;
}

#loadingScreen img {
  height: 100%;
}

#loadingScreen p {
  position: absolute;
  color: #181818;
  font-size: 28px;
}

.color1 {
  color: #999999;
}

.color2 {
  color: #8cbd7d;
}

.color3 {
  color: #28aa00;
}

.color4 {
  color: #1637f1;
}

.color5 {
  color: #9300c0;
}

.color6 {
  color: #c08d00;
}

.color7 {
  color: #a11210;
}

.color8 {
  color: #00ffff;
}

.scene {
  display: none;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.scene.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#containerFrame {
  margin: auto;
  border: 10px solid #d4d4d4;
  width: calc((100vh - 10px) * 0.5625);
  height: calc(100vh - 10px);
}

#gameContainer {
  margin: auto;
  width: calc((100vh - 43px) * 0.5625);
  height: calc(100vh - 30px);
  position: fixed;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  overflow: hidden;
  background-color: #000000;
}

#head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: #181818b2;
  z-index: 90;
}

#head #resources {
  width: 100%;
  height: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  margin: auto 0 5px 0;
}

#head #resources > div {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 11px;
  margin: 0 5px;
  padding: 0 5px 0 0;
  -webkit-box-shadow: 0px 0px 2px 0px #000000, inset 0px 0px 2px 0px #000000;
          box-shadow: 0px 0px 2px 0px #000000, inset 0px 0px 2px 0px #000000;
  border-radius: 11px;
  background-color: #f5f5f5;
}

#head #resources > div img {
  height: 100%;
}

#head #resources > div div {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-weight: bold;
}

.head {
  display: none;
  width: 100%;
  height: 45px;
}

.head.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
  background-color: #181818b2;
  -webkit-box-shadow: -2px 0px 3px 1px #000000;
          box-shadow: -2px 0px 3px 1px #000000;
  z-index: 100;
}

nav > div {
  width: 20%;
  padding: 5px;
  z-index: 110;
}

nav > div img {
  width: 100%;
}

nav #navBox {
  width: calc(100% / 5);
  height: 100%;
  position: absolute;
  top: 0;
  left: 40%;
  padding: 5px;
  z-index: 90;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

nav #navBox > div {
  width: 100%;
  height: 100%;
  -webkit-box-shadow: 0px 0px 3px 0px #ffffff;
          box-shadow: 0px 0px 3px 0px #ffffff;
  border-radius: 4px;
}

.nav {
  width: 100%;
}

.nav.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.backBtn {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  width: 90%;
  height: 40px;
  margin: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.backBtn img {
  height: 40px;
  width: 40px;
}

.receivedItemsPop {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-line-pack: center;
      align-content: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #22222293;
  z-index: 120;
  color: #ffffff;
  text-shadow: 1px 1px 0px #000000, -1px 1px 0px #000000, 1px -1px 0px #000000, -1px -1px 0px #000000;
}

.receivedItemsPop .receivedItems {
  width: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.receivedItemsPop .receivedItems > .receivedItem {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: calc(100% / 3);
  position: relative;
  padding: 3px 5px;
}

.receivedItemsPop .receivedItems > .receivedItem > div {
  -webkit-box-shadow: 0px 0px 5px 3px #000000;
          box-shadow: 0px 0px 5px 3px #000000;
  border-radius: 10px;
}

.receivedItemsPop .receivedItems > .receivedItem > div img, .receivedItemsPop .receivedItems > .receivedItem > div picture {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}

.receivedItemsPop .receivedItems > .receivedItem > div span {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: absolute;
  bottom: 9px;
  right: 11px;
  font-size: 11px;
}

.receivedItemsPop .confirmReceivedItems {
  margin: 20px auto;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100000000;
}

.overlay .overlayDoor:before, .overlay .overlayDoor:after {
  content: "";
  position: absolute;
  width: 50%;
  height: 100%;
  background: #00000045;
  -webkit-transition: 0.5s cubic-bezier(0.77, 0, 0.18, 1);
  transition: 0.5s cubic-bezier(0.77, 0, 0.18, 1);
  -webkit-transition-delay: .8s;
          transition-delay: .8s;
}

.overlay .overlayDoor:before {
  left: 0;
}

.overlay .overlayDoor:after {
  right: 0;
}

.overlay.loaded {
  display: none;
}

.overlay.loaded .overlayDoor:before {
  left: -50%;
}

.overlay.loaded .overlayDoor:after {
  right: -50%;
}

.overlay.loaded .overlayContent {
  opacity: 0;
  margin-top: -15px;
}

.overlay .overlayContent {
  position: relative;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-transition: 0.5s cubic-bezier(0.77, 0, 0.18, 1);
  transition: 0.5s cubic-bezier(0.77, 0, 0.18, 1);
}

.overlay .overlayContent .skip {
  display: block;
  width: 130px;
  text-align: center;
  margin: 50px auto 0;
  cursor: pointer;
  color: #fff;
  font-family: 'Nunito';
  font-weight: 700;
  padding: 12px 0;
  border: 2px solid #fff;
  border-radius: 3px;
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
}

.overlay .overlayContent .skip:hover {
  background: #ddd;
  color: #444;
  border-color: #ddd;
}

.loader {
  width: 128px;
  height: 128px;
  border: 3px solid #fff;
  border-bottom: 3px solid transparent;
  border-radius: 50%;
  position: relative;
  -webkit-animation: spin 1s linear infinite;
          animation: spin 1s linear infinite;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.loader .inner {
  width: 64px;
  height: 64px;
  border: 3px solid transparent;
  border-top: 3px solid #fff;
  border-radius: 50%;
  -webkit-animation: spinInner 1s linear infinite;
          animation: spinInner 1s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@-webkit-keyframes spinInner {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(-720deg);
            transform: rotate(-720deg);
  }
}

@keyframes spinInner {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(-720deg);
            transform: rotate(-720deg);
  }
}

#errorMessage {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
  -webkit-transition: 2s;
  transition: 2s;
  background-color: #18181859;
  z-index: 1000;
}

#errorMessage p {
  max-width: 70%;
  font-size: 17px;
  color: #ffffff;
  background-color: #181818;
  -webkit-box-shadow: 0px 0px 4px 1px #999999;
          box-shadow: 0px 0px 4px 1px #999999;
  text-align: center;
  padding: 5px 10px;
  border-radius: 7px;
}

@media screen and (max-width: 480px) {
  #containerFrame {
    border: none;
    width: 100%;
    height: 100%;
  }
  #gameContainer {
    margin: 0;
    width: 100%;
    height: 100%;
  }
}
/*# sourceMappingURL=app.css.map */