@font-face {
  font-family: zzazz;
  src: url(zzazz.ttf);
}

@font-face {
  font-family: deliria;
  src: url(deliria.ttf);
}

@font-face {
  font-family: braile;
  src: url(braile.ttf);
}

html, body {
  margin: 0px;
  overflow: hidden;
  image-rendering: pixelated;
  background-color: #000000;
  color: #CCCCCC;
  height: 100%;
}

:root {
  --sidebar_width: 400px;
  --back_light: #292A2D;
  --back_base:  #202124;
  --back_dark:  #101114;
  --border_light: #525252;
  --border_base:  #3A3A3A;
  --border_dark:  #101114;
  
  --palette_0:  #FFEFFF;
  --palette_3:  #181010;
  
  --tab_height: 22px;
}


.absolute {
  position: absolute;
}

#sidebar {
  right: calc(var(--sidebar_width) * -1);
  transition: right 0.5s;
  height: 100vh;
}

#sidebarcontent {
  width: var(--sidebar_width);
  background-color: var(--back_base);
  border-left: 1px solid var(--border_base);
  padding-top: 5px;
  margin: 0px;
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: column;
  height: 100vh;
}

.tab {
  font-family: consolas;
  font-size: 14px;
  flex: 0 1 auto;
  display: inline-flex;
  flex-direction: column;
  overflow: auto;
  min-height: var(--tab_height);
  margin-bottom: -1px;
}

.tabbutton {
  padding: 2px 10px;
  width: 100%;
  height: var(--tab_height);
  box-sizing: border-box;
  background-color: var(--back_light);
  border: 1px solid var(--border_light);
  border-right: 0;
  border-left: 0;
  user-select: none;
  cursor: pointer;
  font-weight: bold;
}

.tabsymbol {
  transition: transform 0.5s;
  transform: rotate(-90deg);
  float: right;
}

.tabsymbol::after {
  content: '▼';
}

.tabbutton.open > .tabsymbol {
  transform: rotate(0deg);
}

.tabcontainer {
  overflow-y: auto;
}

.paddingcontainer {
  box-sizing: border-box;
  padding: 5px;
}

#hidebutton {
  background-color: var(--back_light);
  border: 1px solid var(--border_light);
  border-right: 0px;
  border-radius: 5px 0px 0px 5px;
  height: 20px;
  width: 20px;
  margin: 0px;
  display: inline-block;
  vertical-align: top;
  margin-top: 5px;
  text-align: center;
  user-select: none;
  cursor: pointer;
}

#hidesymbol {
  font-family: consolas;
  font-weight: bolder;
  line-height:25px;
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  transition: transform 0.5s;
}

#sidebar.open #hidesymbol {
  transform: rotate(90deg);
}

.button {
  width: 15px;
  height: 15px;
  background-color: var(--back_dark);
  border: 1px solid var(--border_light);
  border-radius: 2px;
}

#sidebar.open {
  right: 0px;
}

input[type=text], input[type=number], select {
  background-color: var(--back_dark);
  border: 1px solid var(--border_base);
  border-radius: 2px;
  box-sizing:border-box;
  font-family: consolas;
  font-size: 14px;
  color: white;
  display: inline-block;
  min-width: 0;
}

.flex {
  display: flex;
}

.flex11 {
  flex: 1 1 auto;
}

.flex10 {
  flex: 1 0 auto;
}

.flex110 {
  flex: 1 1 0;
}

.properties_table {
  width: 100%;
  table-layout: fixed;
  text-align: left;
}

.properties_table td:nth-child(1) {
  width: 88px;
  display: table-cell;
}

.sublabel {
  margin: 0px 5px;
}

.color {
  border: 1px solid var(--border_base);
  border-radius: 2px;
  box-sizing: border-box;
}

.hidden {
  display: none;
}

input[type="radio"].readonly {
  pointer-events: none;
}

input.pkm_textbox {
  background-color: var(--palette_0);
  color: var(--palette_3);
  box-sizing: border-box;
  padding: 4px 0 0 6px;
  
  font-family: zzazz;
  font-size: 18px;
  font-smooth: never;
  line-height: 32px;
  -webkit-font-smoothing : none;
}

input.Deliria {
  font-family: deliria;
  font-size: 16px;
}

input.Braile {
  font-family: braile;
  font-size: 16px;
}

.table_data {
  width: 100%;
  table-layout: fixed;
  box-sizing: border-box;
  background-color: var(--back_dark);
  border: 1px solid var(--border_base);
  border-radius: 5px;
  font-size: 13px;
  border-spacing: 0px;
}

.table_data th {
  width: 40px;
  text-align: left;
  display: table-cell;
}

.table_data td {
  text-align: center;
  box-sizing:border-box;
  user-select: none;
  cursor: default;
}

.table_data td.highlighted {
  background-color: var(--back_light);
}

.table_data td.selected { 
  user-select: all;
}

.table_data td:nth-child(9) {
  border-right: 1px solid white;
}

.disabled {
  color: gray;
}

.resize_handler {
  width: 100%;
  text-align: center;
  margin: -5px 0 -5px -10px;
  padding: 0 10px;
  height: 10px;
  font-size: 7px;
  cursor: n-resize;
  user-select: none;
}

.resize_handler.locked::after {
  content: '_____';
}

.code_block {
  background-color: var(--back_dark);
  border: 1px solid var(--border_base);
  border-radius: 5px;
  font-size: 12px;
  padding: 10px 0;
  overflow: hidden;
}

.code_line {
  padding: 0 10px;
  white-space:pre;
}

.code_line:hover {
  background-color: var(--back_base);
}
