/* CSS Document */

@font-face {
	font-family: 'djb';
	src: url('djb the journaling font.ttf') format('truetype');
	unicode-range: U+0000-00FF;
}

@keyframes color {
  0% {
    background-color: #222;
  }
  50% {
    background-color: red;
  }
  100 {
    background-color: #222;
  }
}

table {
	width: 100%;	
	margin-bottom: 64px;
}

button {
	height: 32px;
	margin-top: 8px;
	margin-left: 20px;
	margin-right: 20px;
	
}

footer {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 64px;
	text-align: center;
	background-color: #ccc;
}

table td {
	vertical-align: top;
	padding: 5px;
}

textarea {
	font-family: "Osaka-mono", "MS Gothic", "monospace";
	width: 100%;
	word-break: break-all; 
	overflow: auto;
	min-height: 50vh;
	font-size: 20px;
	line-height: 20px;
}

.lbr {
	line-break: strict;
}

#target {
	zoom: 60%;
}

.underline {
	text-decoration: underline;
}

.strikethru {
	text-decoration: line-through;
}

.book_inner {
	width: 530px;
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAA1JREFUGFdj+P///38ACfsD/QVDRcoAAAAASUVORK5CYII=);
	background-repeat: no-repeat;
	background-size: 100% 650px;
	margin: 0;
	padding: 0;
	font: inherit;
	font-family: djb, Meiryo;
	font-size: 22pt;
	vertical-align: baseline;
	line-height: 22pt;
	word-break: keep-all;
	line-break: anywhere;
	cursor: pointer;
	
}

.book_outer {
	position: relative;
	background-color: gray;	
	overflow: hidden;
	padding: 10px;
	margin: 5px;
	border: 2px dashed black;
	height: 700px;
	width: 550px;
	float: left;	
}

.book_outer.overflow {
	background-color: red;
}

.book_outer.processing {
	border: 2px solid red;

}

.book_overlay {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #0008;
	color: white;
	opacity: 1;
	zoom: 200%;
	background-image: url(ajax-loader.gif);
	background-position: center center;
	background-repeat: no-repeat;
	
}
.book_outer.inuse .book_overlay {
	display: block;
}

.book_chapter {
	font-weight: bold;
	text-decoration: underline;
	background-color: white;
	color: black;
	margin-bottom: 1em;
	width: 530px;
}

#target_list div.outer {
	position: relative;
	background-color: white;
    border: 1px solid black;
    display: inline-block;
    width: 20px;
    height: 8px;	
	margin-left: 3px;
	margin-right: 3px;
	cursor: pointer;
}

#target_list div.outer.overflow {
	background-color: red;
}

#target_list div.outer.overflow .inner{
	display: none;
}


#target_list div.inner {
	position: absolute;
	background-color: blue;
	top: 0;
	left: 0;
	bottom: 0;
}