@charset "UTF-8";

html {
	font-size: 100%;
	line-height: 1.0;
	font-family: "メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック","MS P Gothic",HiraKakuProN-W3,Osaka,Verdana,Arial,Helvetica,sans-serif;
	font-weight: normal;
	
	-webkit-text-size-adjust: auto;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
}

body {
	padding: 0;
	margin: 0;
	border: none;
	background: black;
	color: white;
	
}

img {
	margin: 0;
	padding: 0;
	border: none;
}

.iebox {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

#toolbar {
	float: left;
	clear: both;
	position: fixed;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
	width: 100%;
	height:48px;
	background: #333333;
	color: black;
	line-height: 40px;
	z-index: 11;
}

form {
	float: left;
	margin: 0.5rem 0 0 1rem;
	padding: 0;
}
label {
	display:inline-block;
	color: #ccc;
	font-size: 1rem;
	line-height:1.2rem;
	/* 
	font-size: 80%;
	margin: 0;
	padding: 0;
	line-height: 1.0rem; */

}
select {
	/* float: left:
	margin: 0;
	padding: 0; */
}

select {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	width:3rem;
	border-radius: 4px;
	border: 1px solid gray;
	margin: 0;
	padding: 2px 4px;
	background: none transparent;
	vertical-align: middle;
	font-size: 1rem;
	line-height:1rem;
	box-sizing: content-box;

	margin-top: -4px;
	color: lightgray;

	background-image: url(../icons/DownArrowWhite.png);
	background-repeat: no-repeat;
	background-size: 12px 10px;
	background-position: right 6px center;
	/* background-color: red;	 */

  }


form#headdingsearch {
}
label#hinputlabel {
}
select#h {
}

form#pagesearch {
}
label#pinputlabel {
}
select#p {
}

#nombre {
	float: left;
	color: #ccc;
	font-size: 80%;
	font-weight: normal;
	margin: .25em 0 0 .5em;
	padding: 0;
}
.keywordsearch {
	float: left;
	margin: 0;
	padding: 0;
}

#buttons {
	float: right;
	margin: .25em 0 .25em 0;
	padding: 0;
}

#dummy {
	float: left;
	margin: 0;
	padding: 0;
}
form#search {
	display: block;
	position:relative; 
	float: left;
	width: 40px;
	height: 40px;
	line-height: 40px;
	overflow:hidden;
	margin: 0 1.0em 0 0;
	padding: 0;
}
input#searchbutton {
	float: left;
	position: relative;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
	width: 40px;
	height: 40px;
}
a#playpause {
	display: block;
	position:relative; 
	float: left;
	width: 40px;
	height: 40px;
	line-height: 40px;
	overflow:hidden;
	margin: 0 1.0em 0 0;
	padding: 0;
} 
#playpausebutton { 
	float: left;
	position: absolute;
	margin: 0;
	padding: 0;
	border: none;
}
.waiting {
	top: 0;
	left: 0;
}
.playing {
	top: 0;
	left: -40px;
}
#rest {
	position: relative; 
	float: left;
	top: 4px;
	left: -0.75em;
	width: .5em;
	height: 30px;
	line-height: 40px;
	border-top: #222 solid 1px;
	border-right: #444 solid 1px;
	border-bottom: #444 solid 1px;
	border-left: #222 solid 1px;
	background: #333333;
}
#restgauge {
	position: absolute;
	bottom: 0;
	width: 100%;
	height:100%;
	margin: auto 0 0 0;
	background: #555555;
}
a#back {
	display: block;
	position:relative; 
	float: left;
	width: 40px;
	height: 40px;
	line-height: 40px;
	overflow:hidden;
	margin: 0 1.0em 0 0;
	padding: 0;
} 
#backbutton {
	float: left;
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
	border: none;
}
a#toc {
	display: block;
	position:relative; 
	float: left;
	width: 40px;
	height: 40px;
	line-height: 40px;
	overflow:hidden;
	margin: 0 1.0em 0 0;
	padding: 0;
} 
#tocbutton {
	float: left;
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
	border: none;
}
a#thumb {
	display: block;
	position:relative; 
	float: left;
	width: 40px;
	height: 40px;
	line-height: 40px;
	overflow:hidden;
	margin: 0 1.0em 0 0;
	padding: 0;
} 
#thumbbutton {
	float: left;
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
	border: none;
}

#pagebox {
	position: relative;
	float: left;
	width: 100%;
	margin: 48px auto 0 auto;
	padding: 0;
	z-index: 1;
	text-align:center;
}
img#pageimage {
	display: block;
	margin: 1.7rem auto auto auto;
	padding: 0;

	width:calc( 100vw - 2rem);
	height:calc(100vh - 9rem);
	object-fit: contain;
	object-position:50% 50%;
}

.toucharea {
	display: block;
	position: absolute;
	width: 50%;
	height: 100%;
	border: #fff;
}
.movepage {
	display: block;
}
#leftside {
	top: 0;
	left: 0;
}
#rightside {
	top: 0;
	left: 50%;
}
img#loading {
	float: left;
	position: absolute;
	top: 0;
	left: 0;
	width: 33px;
	height: 33px;
	margin: 1.0em auto auto 1.0em;
	padding: 0;
	border: none;
}

p#comment {
	display:inline-block;
	font-size: 1rem;
	margin: 0.5rem auto;
	padding:0 1rem;
	width:auto;
	line-height: 1.3rem;
	font-feature-settings: "palt";
	text-align: justify;
}

.toc_h1 {
	font-size: 2rem;
	margin: 1rem 0 0.5rem 1rem;
	line-height: 1.8rem;
	text-align:left;
}
.toc_h2 {
	font-size: 1.5rem;
}
.toc_ul {
	float: left;
	font-size: 1.2rem;
	line-height: 1.4rem;
	list-style: none;
	margin: 0.5rem 0 0.5rem 1.5rem;
	padding: 0;
	font-feature-settings: "palt";
	text-align:left;
}
.toc_ul a {
	text-decoration: none;
}
.toc_ul a:link {
	color: white;
}
.toc_ul a:visited {
	color: #ccc;
}
.toc_ul span {
	float: left;
	width: 2em;
}
.toc_ul li {
	margin: 0 0 1.0em 0;
}



label {
	/* color: #ccc;
	font-size: 80%;
	margin: 0;
	padding: 0;
	line-height: 1.0rem; */
	/* margin-right:0.3rem; */
}

select {
	/* float: left:
	margin: 0;
	padding: 0; */
}

