#bar-container {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: rgba(0, 0, 0, 0);
    background-image: url("../img/1/UI-Normal-Background.png");
    background-origin: padding-box;
    background-position: 0 0;
    background-repeat: no-repeat;
    bottom: 0;
    width: 480px;
    height: 24px;
	  margin-top: 0px;
    left: 50%;
    margin-left: -240px;
    position: absolute;
    -webkit-transform-origin: 50% 100%;
    -moz-transform-origin: 50% 100%;
    -o-transform-origin: 50% 100%;
    -ms-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
}

.emptybar {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: rgba(0, 0, 0, 0);
    background-image: url("../img/3/UI-Normal-Background.png");
    background-origin: padding-box;
    background-position: 0 0;
    background-repeat: repeat;
    background-size: cover;
    bottom: 0;
    width: 480px;
    height: 36px;
    margin-top: 0;
    position: relative;

}

  #canvasborder {
      background-attachment: scroll;
      background-clip: border-box;
      background-color: rgba(0, 0, 0, 0);
      background-image: url("../img/1/border.png");
      background-origin: padding-box;
      background-position: 0 0;
      background-repeat: no-repeat;
      background-size: auto auto;
      padding-bottom: 5px;
      padding-left: 5px;
      padding-right: 5px;
      padding-top: 5px;
  }

  #healthfull {
      background-attachment: scroll;
      background-clip: border-box;
      background-color: rgba(0, 0, 0, 0);
      background-image: url("../img/1/UI-Health.png");
      background-origin: padding-box;
      background-position: 0 0;
      background-repeat: repeat;
      background-size: auto auto;
      height: 16px;
      overflow-x: hidden;
      overflow-y: hidden;
      position: absolute;
      width: 32px;
      z-index: 32;
  }
  #healthempty {
      height: 16px;
      left: 0;
      position: absolute;
      top: 0;
      width: 32px;
      z-index: 31;
  }

  #healthglobe {
      height: 16px;
      position: absolute;
      width: 32px;
      pointer-events: none;
      top: 4px;
      left: 3px;
  }

  #healthtext {
      width: 32px;
      height: 16px;
      left: 0px;
      top: 0px;
      color: #ffffff;
      font-family: "AdvoCut";
      font-size: 10px;
      position: absolute;
      text-align: center;
      z-index: 32;
      line-height: 15px;
  }


  #managlobe {
      height: 16px;
      position: absolute;
      width: 32px;
      top: 4px;
      right: 3px;
      pointer-events: none;
  }

  #manaempty {
      height: 37px;
      position: absolute;
      top: 0px;
      width: 16px;
      z-index: 31;
      right: 0px;
  }

  #manafull {
      background-attachment: scroll;
      background-clip: border-box;
      background-color: rgba(0, 0, 0, 0);
      background-image: url("../img/1/UI-Mana.png");
      background-origin: padding-box;
      background-position: 0 0;
      background-repeat: repeat;
      background-size: auto auto;
      height: 16px;
      overflow-x: hidden;
      overflow-y: hidden;
      position: absolute;
      width: 32px;
      z-index: 32;
  }

  #manatext {
      width: 32px;
      height: 16px;
      left: 0px;
      top: 0px;
      color: #ffffff;
      font-family: "AdvoCut";
      font-size: 10px;
      position: absolute;
      text-align: center;
      z-index: 32;
      line-height: 15px;
  }


  #chatbutton {
      height: 23px;
      width: 23px;
      right: 37px;
      top: 1px;
      position: absolute;
      background-attachment: scroll;
      background-clip: border-box;
      background-color: rgba(0, 0, 0, 0);
      background-image: url("../img/1/UI-chat-on.png"), url("../img/1/UI-chat-off.png");
      background-origin: padding-box;
      background-position: 0 0;
      background-repeat: no-repeat, no-repeat;
      background-size: auto auto;
  }
  #chatbutton:hover {
      background-attachment: scroll;
      background-clip: border-box;
      background-color: rgba(0, 0, 0, 0);
      background-image: url("../img/1/UI-chat-on.png");
      background-origin: padding-box;
      background-position: 0 0;
      background-repeat: no-repeat;
      background-size: auto auto;
  }
  #chatbutton.active {
      background-attachment: scroll;
      background-clip: border-box;
      background-color: rgba(0, 0, 0, 0);
      background-image: url("../img/1/UI-chat-off.png");
      background-origin: padding-box;
      background-position: 0 0;
      background-repeat: no-repeat;
      background-size: auto auto;
  }

  #menubutton {
      height: 23px;
      width: 23px;
      left: 38px;
      top: 1px;
      position: absolute;
      height: 23px;
      width: 23px;
      background-attachment: scroll;
      background-clip: border-box;
      background-color: rgba(0, 0, 0, 0);
      background-image: url("../img/1/UI-Menu-On.png"), url("../img/1/UI-Menu-Off.png");
      background-origin: padding-box;
      background-position: 0 0;
      background-repeat: no-repeat;
      background-size: auto auto;
  }
  #menubutton:hover {
      background-attachment: scroll;
      background-clip: border-box;
      background-color: rgba(0, 0, 0, 0);
      background-image: url("../img/1/UI-Menu-On.png");
      background-origin: padding-box;
      background-position: 0 0;
      background-repeat: no-repeat;
      background-size: auto auto;
  }
  #menubutton.active {
      background-attachment: scroll;
      background-clip: border-box;
      background-color: rgba(0, 0, 0, 0);
      background-image: url("../img/1/UI-Menu-Off.png");
      background-origin: padding-box;
      background-position: 0 0;
      background-repeat: no-repeat;
      background-size: auto auto;
  }



  #hotbar {
      float: left;
      overflow-x: hidden;
      overflow-y: hidden;
      z-index: 2000;
  }

  #hotbar {
      position: absolute;
      top: -7px;
      left: 53px;
    	width: 374px;
    	height: 30px;
      pointer-events:none;
  }

  #crystallCover {
      padding-top: 3px;
      background-attachment: scroll;
      background-clip: border-box;
      background-color: rgba(0, 0, 0, 0);
      background-image: url("../img/1/UI-Normal-Background-idnet.png");
      background-origin: padding-box;
      background-position: 0 0;
      background-repeat: no-repeat;
      position: absolute;
      top: 4px;
      left: 348px;
      width: 49px;
      height: 20px;
      z-index: 2001;
      cursor: pointer;
      pointer-events: all;
  }

  #crystallCover.disable {
      display: none;
      cursor: auto;
      pointer-events: none;
  }

  .attention_text{
      font-family: "AdvoCut";
      font-size: 6px;
      position: absolute;
      text-align: center;
      line-height: 7px;
      color: white;
  }

  #inventory0.inventoryitem-general {
      float: left;
      background-size: 50% auto;
      background-position: 6px 6px;
      pointer-events: all;
      margin-top: 7px;
      margin-left: 6px;
      width: 24px;
      height: 23px;
      padding-top: 1px;
  }

  #inventory1.inventoryitem-general {
      float: right;
      background-size: 50% auto;
      background-position: 6px 7px;
      width: 23px;
      height: 23px;
      margin-top: 7px;
      margin-right: 7px;
      padding-top: 1px;
  }

  #inventory-data-level {
      margin-top: 18px;
      float: left;
      background-size: 50% auto;
      background-position: 7px 7px;
      width: 50px;
      height: 10px;
      pointer-events: all;
      font-family: "AdvoCut";
      font-size: 8px;
      text-align: center;
      white-space: nowrap;
  }

  #inventory-data-crystals {
      float: right;
      background-size: 50% auto;
      background-position: 7px 7px;
      width: 30px;
      height: 10px;
      pointer-events: all;
      color: white;
      font-family: "AdvoCut";
      font-size: 8px;
      text-align: center;
      margin-top: 18px;
      margin-right: 6px;
  }

  #inverntory_crystalls_zero{
      color: #6D6E6D;
      white-space: nowrap;
  }

  #inverntory_crystalls_value{
      color: #6D6E6D;
      white-space: nowrap;
  }

  #inventory-data-crystals img {
      position: absolute;
      top: 13px;
      left: 300px;
      width: 12px;
  }

  .inventoryitem-general {
      background-attachment: scroll;
      background-clip: border-box;
      background-color: rgba(0, 0, 0, 0);
      background-origin: padding-box;
      background-repeat: no-repeat;
      cursor: pointer;
      -ms-interpolation-mode: nearest-neighbor; image-rendering: -moz-crisp-edges; image-rendering: -webkit-optimize-contrast; image-rendering: -webkit-crisp-edges; image-rendering: -o-crisp-edges;image-rendering: pixelated;
      overflow-x: hidden;
      overflow-y: hidden;
      float: left;
      pointer-events: all;

  }

  .itemtaking {
      filter: brightness(0) invert(1);
  }

  .inventoryitem-weapon0 {
      background-image: url("../img/1/Item_Sword_00.png");
  }


  .attackbuttons, .defensebuttons {
      text-align: center;
  }

  .attackbutton, .defensebutton {
      background-attachment: scroll;
      background-clip: border-box;
      background-color: rgba(0, 0, 0, 0);
      background-origin: padding-box;
      background-position: 3px 3px;
      background-repeat: no-repeat;
      background-size: 75% auto;
      height: 20px;
      width: 20px;
      background-repeat: no-repeat;

      border-radius: 1px;
      cursor: pointer;
  }

  .attackbutton {
      float: left;
  }

  .defensebutton {
      float: right;
  }



  .attackwin, .defensewin {
      background-color: #000000;
      bottom: 14%;
      color: #ffffff;
      font-size: 13px;
      height: 20px;
      /* max-height: 210px; */
      /* max-width: 288px; */
      min-height: 70px;
      min-width: 120px;
      opacity: 0.7;
      outline-style: none;
      overflow-x: hidden;
      overflow-y: hidden;
      position: absolute;
      word-wrap: break-word;
      z-index: 4;
      position: absolute;
      border-top: 2px;
      border-radius: 2px;

  }
  .attackwin {
    left: 12.2%;
    -webkit-transform-origin: 0% 100%;
    -moz-transform-origin: 0% 100%;
    -o-transform-origin: 0% 100%;
    -ms-transform-origin: 0% 100%;
    transform-origin: 0% 100%;
  }

  .defensewin {
    right: 12%;
    -webkit-transform-origin: 100% 100%;
    -moz-transform-origin: 100% 100%;
    -o-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
  }

  .attackwin, .defensewin {
      padding: 6px;
  }
  .attackwin, .defensewin {
      padding: 6px;
      min-height: 0;
      min-width: 0;
  }

  .inventoryitem-active {
      box-shadow: 0 0 2px 2px #ffcc00;
  }

  #wrapper {
      float: left;
      overflow-x: hidden;
      overflow-y: hidden;
      z-index: 2000;
      position: absolute;
      top: 1px;
      width: 312px;
      left: 84px;
  }

  #expcontainer {
      float: left;
      height: 2px;
      width: 312px;
  }

  #expprogress {
      height: 2px;
      width: 312px;
  }

  #expbar {
      background: url("../img/1/UI-Normal-EXP-Fill.png");
      height: 2px;
  }

  .inventoryitem-empty {
      display: inline-block;
      height: 32px;
      width: 32px;
  }

  #inventory2 {
    background-position: 12px 0px;
    background-size: 13px 14px;
    height: 28px;
    width: 34px;
    margin-top: 14px;
  }

  #inventory3, #inventory5, #inventory6 {
    background-position: 11px 0px;
    background-size: 13px 14px;
    height: 28px;
    width: 34px;
    margin-top: 14px;
    margin-left: 11px;
  }

  #inventory4 {
    background-position: 11px 0px;
    background-size: 13px 14px;
    height: 28px;
    width: 34px;
    margin-top: 14px;
    margin-left: 11px;
  }

  .quantitylabel {
    color: white;
    height: 20px;
    width: 32px;
    font-family: "AdvoCut";
    font-size: 8px;
    text-align: right;
    margin-top: 8px;
  }
