
/* General style and layout */

html, body {
	margin: 0px;
	padding: 0px;
	width:100%;
	height:100%;
	font-family:Meiryo,Tahoma,Arial,sans-serif;
	font-size:10px;
	background-color: lightgrey;
	color: #333;
}
.content {
	width: 410px;
	min-height: 100%;
	margin-left: auto;
	margin-right: auto;
	background-color: white;
	border-left: 1px solid grey;
	border-right: 1px solid grey;
}
.padder {
	margin-top: 5px;
	padding: 5px;
}
.footer {
	width: 100%;
	color: #EEE;
	text-align: center;
}
a {
	color: black;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
h2 {
	color: black;
	margin: 0px;
	font-size: 1.0em;
	width:400px;
	text-align: left;
	border-bottom: 1px dashed lightgrey;
}
h2 a {
	font-weight: normal;
	text-decoration: underline;
}
input,textarea {
	font-size: 10px;
}

/* Top bar */

.logo {
	float:left;
	font-weight: bold;
}
.menu {
	text-align: right;
	border-bottom: 1px solid grey;
	padding: 2px 5px;
}

/* Info bar */

.info {
	background-color: yellow;
	padding: 3px 5px;
}
.info .closer {
	float:right;
}
.info h2 {
	border-bottom: none;
	display: inline;
}

/* Chessboard */

.board {
	width: 100%;
	text-align: center;
	color: black;
}
tr .bb, .bw{	
	cursor: pointer;
	font-size:24px;
}
tr .bb:hover, .bw:hover {
	border: 1px solid black;
}
tr .bb {
	border: 1px solid #CCC;
	background-color: #CCC;
}
tr .bw {
	border: 1px solid #EEE;
	background-color: #EEE;
}

/* Chat area */

textarea {
	width: 390px;
	height: 60px;
}

.hist_1, .hist_2 {
	margin-bottom: 3px;
	padding: 3px;	
}

.hist_1 {
	text-align: left;
	background-color: #F4F4F4;
	border-bottom: 1px solid lightgrey;
	border-right: 1px solid lightgrey;
}

.hist_2 {
	text-align: right;
	background-color: #DDD;
		border-bottom: 1px solid grey;
	border-right: 1px solid grey;
}

.hist_author {
	color: grey;
	font-style: italic;
	font-size: 0.7em;
}

/* Fixed layouts */

.td-left {
	text-align: left;
	vertical-align: top;
}
.td-right {
	text-align: right;
	vertical-align: top;
}
