/* Style sheet for Japanese Layout Requirements */

li, p {
	margin-top: 0.3em;
	margin-bottom: 0.3em;
}

body.en {
	font-family: Arial, Helvetica, sans-serif;
}
body.ja {
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.5;
}

body.ja .wide { letter-spacing:1em; }

/* 目次 */
div.toc { }
div.toc .toc1 { margin: 0.5em 0 0.5em 0; }
div.toc .toc2 { margin: 0.5em 0 0.5em 1em; }
div.toc .toc3 { margin: 0.5em 0 0.5em 2em; }
div.toc .toc4 { margin: 0.5em 0 0.5em 3em; }

span.lln { padding-right: 0.3em; }

/* 本文 */
div.body { background-color:transparent; }
div.div1 { background-color:transparent; }
div.div2 { background-color:transparent; }
div.div3 { background-color:transparent; }

h1 { font: 170% Arial, Helvetica, sans-serif; color: #005A9C; }
h2 { font: 140% Arial, Helvetica, sans-serif; color: #005A9C; }
h3 { font: 120% Arial, Helvetica, sans-serif; color: #005A9C; }
h4 { font: 115% Arial, Helvetica, sans-serif; color: #005A9C; }

body.ja p.body {
	text-indent: 1em;
}

/* 標準の表 */
table.standardTable {
	empty-cells: show;
}
table.standardTable caption {
	font-weight: normal;
	font-style: italic;
	text-align: left;
	margin-bottom: .5em;
}

/* 箇条
*/

ol {
	list-style-type: lower-alpha;
}
ol ol {
	list-style-type: decimal;
}
ol ol ol {
	list-style-type: lower-roman;
}
ol ol ol ol {
	list-style-type: decimal;
}

/* イメージ
	<div class="figure" >
	 <img src="..." />
	 <div class="figureTitle">...</div>
	</div>
 */
div.figure {
	text-align: center;
	margin-top: 1em;
	margin-bottom: 1em;
}
div.figure .figureTitle {
	font-size: 0.8em;
	font-style: normal;
}
div.figure img {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

/* 注
	<table class="t_note">
	 <tr>
	 <td class="ft"><p>注）</p></td>
	 <td><p>...</p></tr>
	 </tr>
	</table>
*/
table.t_note {
	margin-left: 2em;
}
body.ja table.t_note td {
	line-height: 1.5;
}
table.t_note td {
	vertical-align: top;
}
table.t_note td.ft {
	white-space: nowrap;
	padding-right: 0.5em;
}
table.t_note td p {
	font-size: 0.8em;
	font-weight: normal;
}
table.t_note td ol {
	margin-top: 0;
	margin-bottom: 0;
}

ol table.t_note,
ul table.t_note {
	margin-left: 1em;
}

/* 例
	<table class="t_sample">
	 <tr>
	 <td class="ft"><p>例）</p></td>
	 <td><p>...</p></tr>
	 </tr>
	</table>
*/
table.t_sample {
	margin-left: 1em;
}
body.ja table.t_sample td {
	line-height: 1.5;
}
table.t_sample td {
	vertical-align: top;
}
table.t_sample td.ft {
	white-space: nowrap;
	padding-right: 0.5em;
}
table.t_sample td p {
	font-size: 1em;
	font-weight: normal;
}
table.t_sample td ol {
	margin-top: 0;
	margin-bottom: 0;
}

table.t_note table.t_sample td p {
	font-size: 0.8em;
}

/* 箇条の表 */
table.t_list {
	margin-left: 1em;
}
table.t_list td.li {
	padding-right: 1em;
}

/* 数値と単位など */
span.digit { }
span.unit { }
i.quantity {
	font-style: italic;
}

/* 専門用語の定義 */
.termdef {
	color: #008000;
	font-weight: bold;
	text-decoration: none;
}
/* 専門用語の参照 */
a.termref:link,
a.termref:visited {
	background-color: #FF8;
}
/* 章の参照 */
.chapter_ref {
	font-weight: bold;
}
/* 図の参照 */
.figure_ref {
}

.rfc2119 {
	font-variant: small-caps;
}

/* for Terminolody list */
table.termlist td.status-pending { color:red }
table.termlist td.status-romaji { color:blue }
table.termlist .error { color:red }

/* ------------------ */

@media screen {

/* 改訂 */
span.change {
	color: red;
}

/*
h1, h2, h3, h4 { background-color: transparent; }
div.div1 { background-color: #EFF; }
div.div2 { background-color: #FFE; }
div.div3 { background-color: #EEE; }
p.body { background-color: #FEF; }
p.ft { background-color: #FDD; }
div.figure { background-color: #EFE; }
table.t_note { border: solid 1pt #CCF; }
table.t_sample { border: solid 1pt #CCF; }
table.t_list { border: solid 1pt #CCC; }
span.lln { background-color: #DDF; }
a.termref:link,
a.termref:visited { background-color: #FF8; }
*/

}

@media print {

body {
	font-size: 10pt;
	background-image: none;
	padding-left: 0em;
	padding-right: 0em;
}
body.ja p {
	font-family: 'ＭＳ 明朝', serif;
}
body.ja p.copyright {
	font-family: Arial, Helvetica, sans-serif;
}

div.figure .figureTitle {
	font-size: 8.5pt;
}
table.t_note td p {
	font-size: 8.5pt;
}

ins { text-decoration: none; }
del { display: none; }

:link,
:visited {
	color: black;
	text-decoration: none;
}

div.body { background-color:transparent; }
div.div1 { background-color:transparent; }
div.div2 { background-color:transparent; }
div.div3 { background-color:transparent; }
p.body { background-color:transparent; }
p.ft { background-color:transparent; }
a.termref:link,
a.termref:visited { background-color: transparent; }

}
