
.bordered {
  border: 22px solid transparent;
  border-image: url("../images/border/default.png") 22 round;

  background-image: url("../images/background.png");
  background-origin: border-box;
  background-clip: border-box;
}

.short-button {
  background: url("../images/short_button_up.png");
  border: 0;
  padding: 0px;
  height: 16px;
  width: 78px;
  font-size: 12px;
  color: white;
  text-align: center;
  vertical-align: center;
  border-radius: 0;
}

.short-button:hover {
  color: orange;
}

.short-button:active {
  background: url("../images/short_button_down.png") !important;
}

.long-button {
  background: url("../images/long_button_up.png");
  border: 0;
  padding: 0px;
  height: 16px;
  width: 200px;
  font-size: 12px;
  color: white;
  text-align: center;
  vertical-align: center;
  border-radius: 0;
}

.long-button:hover {
  color: orange;
}

.long-button:active {
  background: url("../images/long_button_down.png") !important;
}

.long-dropdown {
  background: url("../images/long_dropdown_up.png");
  border: 0;
  padding: 0px;
  height: 16px;
  width: 200px;
  font-size: 12px;
  color: white;
  text-align: center;
  vertical-align: center;
  border-radius: 0;
}

.long-dropdown:hover {
  color: orange;
}

.long-dropdown:active {
  background: url("../images/long_dropdown_down.png") !important;
}

.long-dropdown ~ .dropdown-menu {
  padding: 0;
  border: 0;
  margin: 0;
  width: 200px;
  border-radius: 0;
  background: none;
}

.short-dropdown {
  background: url("../images/short_dropdown_up.png");
  border: 0;
  padding: 0px;
  height: 16px;
  width: 96px;
  font-size: 12px;
  color: white;
  text-align: center;
  vertical-align: center;
  border-radius: 0;
}

.short-dropdown:hover {
  color: orange;
}

.short-dropdown:active {
  background: url("../images/short_dropdown_down.png") !important;
}

.short-dropdown ~ .dropdown-menu {
  padding: 0;
  border: 0;
  margin: 0;
  width: 96px;
  border-radius: 0;
  background: none;
}

.short-slider {
  -webkit-appearance: none;
  appearance: none;
  background: url("../images/short_slider.png");
  width: 76px;
  height: 16px;
  outline: none;
}

.long-slider {
  -webkit-appearance: none;
  appearance: none;
  background: url("../images/long_slider.png");
  width: 330px;
  height: 16px;
  outline: none;
}

.long-slider::-webkit-slider-thumb, .short-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: url("../images/slider_knob.png");
}

.long-slider::-moz-range-thumb, .short-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: url("../images/slider_knob.png");
}

.text-input {
  background-color: rgba(0, 0, 0, 0.5);
  border: 0;
  margin: 4px;
  color: white;
}

.checkbox {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url("../images/checkbox_unselected.png");
}

.checkbox:hover {
  background: linear-gradient(rgba(255,255,255,0.5),rgba(255,255,255,0.5)), url("../images/checkbox_unselected.png");
}

.checkbox[checked=true] {
  background: url("../images/checkbox_selected.png");
}

.checkbox[checked=true]:hover {
  background: linear-gradient(rgba(255,255,255,0.5),rgba(255,255,255,0.5)), url("../images/checkbox_selected.png");
}

.chronicon-tooltip {
  position: fixed;
  z-index: 10000;
  /* a fixed width, so the tooltip's size doesn't depend on where it's placed */
  width: max-content;
  max-width: 360px;
  pointer-events: none;
  border: 1px solid white;
  border-radius: 6px;
  background: linear-gradient(rgba(0,0,0,0.75),rgba(0,0,0,0.75));
}

.bullet-icon {
  display: inline-block;
  height: 8px;
  width: 8px;
  background: url("../images/modifier_bullets.png");
}

.loading-box {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loading-logo {
  height: 128px;
  object-fit: contain;
}

.loading-title {
  font-size: 32px;
}

@keyframes loading-bobber {
  100% { background-position: -372px 0px; }
}

.loading-bobber {
  display: inline-block;
  height: 53px;
  width: 62px;
  background-image: url("../images/loading_bobber.png");
  animation: loading-bobber 1s steps(6) infinite;
}

html, body {
  image-rendering: pixelated;
  font-family: Chronicon_GMS4_EF;
  font-smooth: never;
  -webkit-font-smoothing: none;
  height: 100%;
  background: black;
  overflow: -moz-scrollbars-vertical; 
  overflow-y: scroll;
  color: white;
}

/* let the character screen fill the window height */
chronomancer {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

@font-face {
  font-family: Chronicon_GMS4_EF;
  src: url('../fonts/Chronicon_GMS4_EF.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
