body {
  margin: 0;
  overflow: hidden;
  background-color: "#faf4e8";
  text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
  text-rendering: optimizeLegibility !important;
  touch-action: none;
  -webkit-font-smoothing: antialiased !important;
  -webkit-appearance: none;
  -webkit-text-size-adjust: 100%;
}

canvas {
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

img {
  -webkit-user-drag: none;
}

#wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0%;
  top: 0%;
  display: none;
}

#canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0%;
  top: 0%;
  z-index: 1;
}

#leftShadow {
  width: 50px;
  height: 100%;
  right: 50%;
  position: absolute;
  z-index: 2;
  opacity: 0.3;
  background: url('../img/shadow_left.png');
  background-size: 100%;
  background-repeat: repeat-y;
  display: block;
  pointer-events: none;
}

#rightShadow {
  width: 50px;
  height: 100%;
  left: 50%;
  position: absolute;
  z-index: 2;
  opacity: 0.3;
  background: url('../img/shadow_right.png');
  background-size: 100%;
  background-repeat: repeat-y;
  display: block;
  pointer-events: none;
}

#menu {
  position: absolute;
  z-index: 4;
  display: none;
  width: auto;
  right: 5px;
  top: 32px;
  padding: 4px 10px;
  line-height: 2;
}

#menubutton,
#searchbutton,
#shioributton {
  position: absolute;
  top: 0;
  z-index: 3;
  opacity: 0.3;
  cursor: pointer;
}

#searchinfo {
  position: absolute;
  top: 0;
  z-index: 3;
  padding-right: 0.5em;
  opacity: 0.5;
  cursor: default;
}

#closebutton,
#backbutton,
#nextbutton,
#prevbutton {
  position: absolute;
  top: 0;
  z-index: 3;
  opacity: 0.3;
  cursor: pointer;
  display: none;
}

#readOutMarker {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 3;
}

#loading {
  position: absolute;
  left: 50%;
  top: 20%;
  margin-left: -33px;
  z-index: 100;
}

#setting .ui-spinner {
  width: 100px;
}

#setting .ui-spinner {
  width: 100px;
}

#setting table th {
  text-align: right;
  white-space: nowrap;
}

#setting table td {
  padding: 8px 10px;
}

#help dt {
  margin-left: 1em;
  font-size: 110%;
  font-weight: bold;
}

#help dd {
  margin-bottom: 1em;
}

#searchtext {
  width: 100%;
}

#readoutsetting table th {
  text-align: right;
  white-space: nowrap;
}

#readoutsetting table td {
  padding: 8px 10px;
}

.listoverflow {
  height: 200px;
}

#toc {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 100%;
  touch-action: pan-y;
}

#toc li {
  margin: 3px;
  padding: 0.4em;
  font-size: 90%;
  height: 18px;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
}

.dic {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 100%;
  touch-action: pan-y;
}

.dic li {
  margin: 3px;
  padding: 0.4em;
  font-size: 90%;
  height: 18px;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
}

.ui-dialog-content {
  font-size: 95%;
  line-height: 1.6;
}
