html {
  font-family:sans-serif;
  line-height:1.15;
  -webkit-text-size-adjust:100%;
  -webkit-tap-highlight-color:rgba(0,0,0,0)
}
article,
aside,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
  display:block
}
body {
  margin: 0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color:#fff;
  text-align: left;
  background-color: #1c2551;
  padding-top: 70px;
}
.header {
  width: 100%;
  height: 50px;
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  overflow: hidden;
  padding-left: 45px;
  background-color: #000a39;
}
.vernum {
  vertical-align: top;
  font-weight: bold;
}
.io-buttons {
  width: 6%;
  min-width: 120px;
  height: 40px;
  float: right;
  position: relative;
  cursor: pointer;
  text-align: center;
  background-color: #182b88;
  right: 50px;
  top: 5px;
  margin: 0px 8px;
  border-color: #051c77;
  border-radius: 10px;
  color: white;
  font-size: 95%;
  font-weight: bolder;
}
.top-header-text {
  font-size: xx-large;
  font-weight: bolder;
}
.collapse, .collapse-small {
  position: relative;
  top: 15px;
  right: 5px;
  font-size: x-large;
  cursor: pointer;
  float: right;
}
.collapse-small {
  top: 8px;
  font-size: large;
  right: 10px;
}
.tooltiptext {
  visibility: hidden;
  background-color: #1d1d40;
  color: #fff;
  text-align: center;
  padding: 3px 8px;
  border-radius: 8px;
  position: fixed;
  z-index: 150;
  font-size: 0.9rem;
  font-weight: bold;
}
.tooltiptext::after {
  content: " ";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #1d1d40 transparent transparent transparent;
}
.item-section, .calc-section, .plan-section, .char-section {
  background-color: #071142;
  width: 1000px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  border-radius: 15px;
}
.item-header, .calc-header, .plan-header, .char-header, .help-header {
  border-color: #051c77;
  border-width: 2px;
  border-style: ridge;
  background-color: #182b88;
  height: 55px;
  border-radius: 15px;
}
.header-text {
  font-size: x-large;
  font-weight: bolder;
  padding-left: 25px;
  position: relative;
  top: 8px;
}
.small-header-text, .help-header-text {
  font-size: large;
  font-weight: bold;
  padding-left: 15px;
  position: relative;
  top: 3px;
}
.item-box, .char-box {
  max-width:1000px;
  width: 1000px;
  font-size: 0;
  background-color: #071142;
  overflow: hidden scroll;
  resize: vertical;
  transition: 0.3s ease-out;
}
.item-amount {
  position: absolute;
  bottom: -5px;
  left: 0px;
  right: 0px;
  padding: 4px;
}
.item-cell {
  padding-top: 9px;
  padding-bottom: 9px;
  width: 12.5%;
  text-align: center;
  display: inline-block;
  position: relative;
}
.item-icon-1, .item-icon-2, .item-icon-3, .item-icon-4, .item-icon-5 {
  background-repeat: no-repeat !important;
  border-width: 5px;  
  border-style: ridge;
  border-color: gold;
  margin-left: 20px;
  margin-right: 20px;
  border-radius: 9px;
  background-size: 100% 140% !important;
}
.item-icon-1 {
  background-image: url("./img/Rarity_1_background.png");
}
.item-icon-2 {
  background-image: url("./img/Rarity_2_background.png");
}
.item-icon-3 {
  background-image: url("./img/Rarity_3_background.png");
}
.item-icon-4 {
  background-image: url("./img/Rarity_4_background.png");
}
.item-icon-5 {
  background-image: url("./img/Rarity_5_background.png");
}
.item-image {
  width: auto;
  height: 75px !important;
  max-width: 100%;
}
.calc-cell, .calc-resin-inner, .calc-cell-hidden, .craft-cell, .craft-cell-hidden, .chrcalc-cell, .chrcalc-cell-hidden {
  padding-top: 5px;
  padding-bottom: 5px;
  width: 7.735%;
  text-align: center;
  display: inline-block;
  position: relative;
  margin-bottom: 10px;
}
.calc-resin, .calc-craft {
  display: block;
}
.chrcalc-cell {
  width: 11.91025%;
}
.calc-cell-hidden, .calc-resin-hidden, .calc-craft-hidden, .craft-cell-hidden, .chrcalc-cell-hidden {
  display: none;
}
.calc-resin-inner {
  margin-bottom: 0px;
  margin-top: 5px;
  width: auto;
}
.calc-resin-amount {
  display: inline-block;
  position: relative;
  background-color: #e5e2da;
  padding: 0px 5px;
  border-radius: 5px;
  font-size: 24px;
  color: black;
  font-weight: bold;
  bottom: 7px;
  right: 8px;
}
.calc-icon-1, .calc-icon-2, .calc-icon-3, .calc-icon-4, .calc-icon-5 {
  background-repeat: no-repeat !important;
  border-width: 3px;  
  border-style: ridge;
  border-color: gold;
  margin-left: 10px;
  margin-right: 10px;
  border-radius: 6px;
  background-size: 100% 140% !important;
}
.calc-icon-1 {
  background-image: url("./img/Rarity_1_background.png");
}
.calc-icon-2 {
  background-image: url("./img/Rarity_2_background.png");
}
.calc-icon-3 {
  background-image: url("./img/Rarity_3_background.png");
}
.calc-icon-4 {
  background-image: url("./img/Rarity_4_background.png");
}
.calc-icon-5 {
  background-image: url("./img/Rarity_5_background.png");
}
.calc-image {
  width: auto;
  height: 50px !important;
  max-width: 100%;
}
.calc-amount {
  position: absolute;
  bottom: -3px;
  background-color: #e5e2da;
  padding: 0px 5px;
  border-radius: 5px;
  left: 15px;
  font-size: 12px;
  color: black;
  font-weight: bold;
}

.amount-plus, .amount-minus {
  width: 15%;
  display: inline-block;
  border-radius: 35%;
  font-size: 14px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  padding: 2px;
  position: relative;
}
.amount-plus {
  background-color: #2ECC40;
}
.amount-minus {
  background-color: #FF4136;
}
.input-plus::before {
  content: "+";
}
.input-minus::before {
  content: "-";
}
.amount-input {
  display: inline-block;
  width: 46%;
  height: 15px;
  font-size: 11px;
  margin: 0 2%;
  text-align: center;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 3px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
  box-sizing: border-box;
  font-family: "Noto Sans",sans-serif;
  padding: .5em;
  transition: border-color 150ms ease;
}
.plan-cell {
  display: block;
}
.plan-cell-hidden {
  display: none;
}
.plan-cell-header, .calc-resin-header, .calc-craft-header {
  border-color: #051c77;
  border-width: 2px;
  border-style: ridge;
  background-color: #182b88;
  height: 35px;
}
.plan-cell-header h3, .calc-resin-header h3 {
  padding-left: 15px;
  margin-top: 3px;
  margin-bottom: 3px;
}
.plan-close, .modal-close {
  position: relative;
  right: 5px;
  cursor: pointer;
  float: right;
  top: 8px;
  font-size: larger;
}
.modal-close {
  right: 10px;
}
.plan-inner {
  overflow: hidden;
  transition: 0.3s ease-out;
}
.plan-icon {
  display: inline-block;
  width: 20%;
  overflow: hidden;
  height: 75px;
  margin-bottom: -5px;
  cursor: pointer;
}
.plan-image {
  width: 100%;
  position: relative;
  top: -60px;
}
.plan-levels, .plan-talents-current, .plan-talents-desired {
  display: inline-block;
  clear: left;
  vertical-align: top;
  width: 26%;
}
.plan-levels-inner {
  margin: 3px 10px 2px;
  font-weight: bold;
  line-height: 20px;
}
.plan-input, .plan-select {
  width: 40px;
  text-align: center;
  float: right;
}
input[type=checkbox] {
  display: none;
}
label img {
  opacity: 0.5;
  height: 20px;
  float: right;
}
:checked+label img {
  opacity: 1;
}
.char-box {
  font-size: large;
  font-weight: bold;
}
.char-cell {
  padding: 4px;
  display: inline-block;
  width: 18.7825%;
}
.char-cell-inner, .char-cell-inner-selected {
  padding: 4px;
  cursor: pointer;
  text-align: center;
  background-color: #43437b;
  border-width: 1px;
  border-color: #9694b5;
  border-style: solid;
  border-radius: 10px;
}
.char-cell-inner {
  opacity: 1;
}
.char-cell-inner-selected {
  opacity: 0.5;
}
.char-icon-1, .char-icon-2, .char-icon-3, .char-icon-4, .char-icon-5 {
  background-repeat: no-repeat !important;
  border-width: 5px;  
  border-style: ridge;
  border-color: gold;
  border-radius: 18px;
  background-size: 100% 140% !important;
}
.char-icon-1 {
  background-image: url("./img/Rarity_1_background.png");
}
.char-icon-2 {
  background-image: url("./img/Rarity_2_background.png");
}
.char-icon-3 {
  background-image: url("./img/Rarity_3_background.png");
}
.char-icon-4 {
  background-image: url("./img/Rarity_4_background.png");
}
.char-icon-5 {
  background-image: url("./img/Rarity_5_background.png");
}
.char-image {
  width: 100%;
  border-radius: 12px;
}
.help-box {
  padding: 10px;
}
.help-header-text {
	border-bottom-style: solid;
	border-bottom-width: 3px;
	border-bottom-color: white;
	display: block;
	margin-bottom: -20px;
}
.modal {
  position: fixed;
  z-index: 100;
  padding-top: 120px;
  left: 0;
  top: 0;
  width: 100%;
  height: calc(100% - 120px);
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,.9);
}
.modal-window {
  margin: auto;
  border-radius: 15px;
  width: 75%;
  max-width: 650px;
  padding-bottom: 15px;
  background-color: #071142;
  margin-bottom: 60px;
}
.modal-content {
  display: none;
}