@charset "UTF-8";

.grid {
	border: 1px solid #eee;
}
.col8 {
	width: 510px !important;
	height: 444px !important;
}
.col4 {
	width: 262px !important;
	height: 830px !important;
}


/* .grid-itemの共通設定 */
.grid-item {
	width: 60px !important;
	height: 25px !important;
	padding: 0px 1px;
	border-style: groove;
	border-width: 0 1px 1px 0;
	border-radius: 2px;
	border-width: 1px;
	display: inline-block;
	vertical-align: top;
	font-size: 14px;
}
.grid-item div {
	height: 14px !important;
}

.grid-item div:nth-child(1) {
	float: left;
}
.grid-item div:nth-child(2) {
	text-align: right;
	padding-right: 4px;
	font-weight: bold;
}
div.vertical   div.grid-item {margin: 0px 1px;}
div.horizontal div.grid-item {margin: 1px 0px;}
div.vertical   {padding-top: 18px; padding-left:  6px; padding-bottom: 10px;}
div.horizontal {padding-top:  4px; padding-left: 12px;}


/* 凡例 */
h5 {
	margin: 15px 0 5px 0;
}
ul#note {
	list-style-type: none;
	padding-left: 0;
	margin: 10px 5px;
	width: 400px;
}
ul#note li {
	padding: 2px 5px;
	margin: 2px;
	font-size: 14px;
	border-style: groove;
	border-width: 0 1px 1px 0;
	border-radius: 2px;
	border-width: 1px;
}


/* 色設定 */
.colorful .ctrl {background-color: #FEE; color: #B33;}
.colorful .number {background-color: #EEF;}
.colorful .alphabet {background-color: #EFE;}
.colorful .symbol {background-color: #FFD;}
.colorful .iso646 {color: #33F;}
.colorful .ctrl.spc {background-color: #f5e5f9;}
.colorful .spc {color: #B3C;}

.ctrl .ctrl {background-color: #FEE; color: #B33;}

.ctrl-printablel .ctrl {background-color: #FEE;}
.ctrl-printablel .number {background-color: #EEF;}
.ctrl-printablel .alphabet {background-color: #EEF;}
.ctrl-printablel .symbol {background-color: #EEF;}

.alphabet .alphabet {background-color: #EFE;}

.alphanum .number {background-color: #EEF;}
.alphanum .alphabet {background-color: #EFE;}

.symbol .symbol {background-color: #FED;}

.printablel .number {background-color: #EEF;}
.printablel .alphabet {background-color: #EFE;}
.printablel .symbol {background-color: #FFD;}

.printablel-mono .number {background-color: #EEF;}
.printablel-mono .alphabet {background-color: #EEF;}
.printablel-mono .symbol {background-color: #EEF;}

.text .number {background-color: #EEF;}
.text .alphabet {background-color: #EFE;}
.text .symbol {background-color: #FFD;}
.text .ctrl.spc {background-color: #f5e5f9;}
.text .spc {color: #B3C;}

.stripe .vertical div.grid-item:nth-of-type(32n+1),
.stripe .vertical div.grid-item:nth-of-type(32n+2),
.stripe .vertical div.grid-item:nth-of-type(32n+3),
.stripe .vertical div.grid-item:nth-of-type(32n+4),
.stripe .vertical div.grid-item:nth-of-type(32n+5),
.stripe .vertical div.grid-item:nth-of-type(32n+6),
.stripe .vertical div.grid-item:nth-of-type(32n+7),
.stripe .vertical div.grid-item:nth-of-type(32n+8),
.stripe .vertical div.grid-item:nth-of-type(32n+9),
.stripe .vertical div.grid-item:nth-of-type(32n+10),
.stripe .vertical div.grid-item:nth-of-type(32n+11),
.stripe .vertical div.grid-item:nth-of-type(32n+12),
.stripe .vertical div.grid-item:nth-of-type(32n+13),
.stripe .vertical div.grid-item:nth-of-type(32n+14),
.stripe .vertical div.grid-item:nth-of-type(32n+15),
.stripe .vertical div.grid-item:nth-of-type(32n+16) {background-color: #eee;}

.stripe .horizontal div.grid-item:nth-of-type(16n+1),
.stripe .horizontal div.grid-item:nth-of-type(16n+2),
.stripe .horizontal div.grid-item:nth-of-type(16n+3),
.stripe .horizontal div.grid-item:nth-of-type(16n+4),
.stripe .horizontal div.grid-item:nth-of-type(16n+5),
.stripe .horizontal div.grid-item:nth-of-type(16n+6),
.stripe .horizontal div.grid-item:nth-of-type(16n+7),
.stripe .horizontal div.grid-item:nth-of-type(16n+8) {background-color: #eee;}

table#controlCharacters {
	border-collapse: collapse;
	border-spacing: 0;
}
table#controlCharacters th {
	padding: 0px 4px;
	border: 1px solid #999;
	color: #111;
	background: #ddd;
	font-size: 14px;
	text-align: center;
}
table#controlCharacters td {
	padding: 0px 4px;
	border: 1px solid #999;
	font-size: 12px;
}
table#controlCharacters tr:nth-of-type(odd) td {
	background: #f3f3f3;
}
