body {
	width: auto;
}

#cell_size div {
	float:left;
	width: 50px;
	height: 20px;
	font-size: 15px;
	text-align: center;
	border: 1px dotted gray;
	margin-bottom: 0.5em;
	cursor: pointer;
	background-color: lightgray;
}

#cell_size div.selected {
	background-color: lime;
}

ul {
	margin:0px;
	padding:0px;
}

#board {
	padding: 20px;
}

#board li {
	margin: 0;
	padding: 0;
	list-style-type: none;
	display: inline;
	float:left;
	font-family: "ＭＳ ゴシック", monospace;
	text-align: center;
	border-style: none;
}

.cell, .dummy {
	color: black;
	cursor: default;
}

.connect {
	cursor: pointer;
}

.connect.path {
	cursor: default;
}

.sl {
	-moz-transform: rotate(30deg);
	-webkit-transform: rotate(30deg);
	-o-transform: rotate(30deg);
	-ms-transform: rotate(30deg); 
}
.bs {
	-moz-transform: rotate(-30deg);
	-webkit-transform: rotate(-30deg);
	-o-transform: rotate(-30deg);
	-ms-transform: rotate(-30deg); 
}

.sl, .bs, .bar {
	background-color: black;
}

.void {
	background-color: lightgray;
}

.closed, .void.closed {
	background-color: transparent;
	border: 1px dotted lightgray;
}

hr { clear: both; }

.ok { color: blue; }
.ng { color: red; }

div.clear { clear:both; }

textarea {
	padding: 10px;
	font-size: 20px;
	font-family: 'ＭＳ ゴシック', monospace;
}

.cell, .dummy {
	width:40px;
	height:35px;
	font-size: 35px;
}

.half {
	width: 20px;
	height:35px;
}

.bar {
	width: 40px;
	height: 5px;
	margin-top: 17px;
}

.sl, .bs {
	width: 5px;
	height: 40px;
	margin-left: 17px;
}

.middle .cell, .middle .dummy {
	width:30px;
	height:26px;
	font-size: 26px;
}

.middle .half {
	width: 15px;
	height:26px;
}

.middle .bar {
	width: 30px;
	height: 4px;
	margin-top: 13px;
}

.middle .sl, .middle .bs {
	width: 4px;
	height: 30px;
	margin-left: 13px;
}

.small .cell, .small .dummy {
	width:20px;
	height:17px;
	font-size: 17px;
}

.small .half {
	width: 10px;
	height:17px;
}

.small .bar {
	width: 20px;
	height: 4px;
	margin-top: 8px;
}

.small .sl, .small .bs {
	width: 4px;
	height: 20px;
	margin-left: 8px;
}
