body {
	background-image:url('pattern.gif');
	color: black;
	font-family: Lucida Grande, Lucida Sans, verdana, sans-serif;
	font-size: 0.8em;
}

#main {
	background-color: white;
	color: black;
	width: 750px;
	margin: 10px auto;
	border: 1px black solid;
	padding: 10px 10px 10px 10px;
	margin-bottom: 10px;
}

.footer {
	background-color: #ad3110;
	color: white;
	font-size: 0.9em;
	margin: 10px -10px -10px -10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
	text-align: right;
}

.footer a:link, .footer a:visited, .footer a:active {
	color: white;
	background-color: #ad3110;
}

.headimage {
	border: 1px black solid;
}

h1 {
	margin-top: 0px;
	margin-bottom: 10px;
	background-color: #ad3110;
	color: white;
	padding: 10px 10px 10px 10px;
	text-align: center;
	font-weight: bold;
	font-size: 1.8em;
}

h1 a:link, h1 a:active, h1 a:visited {
	background-color: #ad3110;
	color: white;
}

h2 {
	margin-top: 30px;
	margin-bottom: 10px;
	border-bottom: 1px #ad3110 solid;
	clear: right;
}

h2.pagetitle {
	margin-top: 10px;
}

h3 {
	border-bottom: 1px #ad3110 solid;
}

.rightimg {
	float: right;
	border: 1px black solid;
}

.mainimg, .cheesemap {
	border: 1px black solid;
	margin-left: 120px;
}

p.link {
	display: list-item;
	list-style-type: square;
	margin-left: 16px;
}

ul.cheeselist li {
	text-decoration: underline;
	color: #ad3110;
	background-color: white;
	display: inline;
	cursor: pointer;
	margin-left: 25px;
}

button {
	background-color: #ad3110;
	color: white;
	border: 1px black solid;
	text-align: center;
}

a:link, a:visited, a:active {
	color: #ad3110;
	background-color: white;
}

a:hover {
	text-decoration: none;
}

ul {
	list-style-type: square;
}

.binsq {
	display: table-cell;
	color: black;
	background-color: white;
	width: 16px;
	height: 16px;
}

.hexsq {
	display: table-cell;
	vertical-align: middle;
	color: black;
	background-color: white;
	text-align: center;
	width: 32px;
	height: 32px;
}

#table {
	border-collapse: collapse;
}

#kakuro td {
    border: 1px black solid;
    width: 36px;
    height: 36px;
    color: black;
    background-color: white;
    vertical-align: middle;
    text-align: center;
}

#kakuro .grey {
    color: white;
	background-color: #a0a0a0;
	font-size: 12px;
}

#kakuro .rowstart {
	display: block;
	float: right;
	font-weight: bold;
	position: relative;
	top: -10px;
}

#kakuro .colstart {
	display: block;
	float: left;
	font-weight: bold;
	position: relative;
	top: 10px;
}

#kakuro input {
	width: 14px;
	height: 20px;
	border: 0px white solid;
	font-size: 18px;
	position: relative;
	left: 2px;
}

#tetrisboard {
	border: 1px black solid;
	margin-left: 10px;
	margin-top: 10px;
	width: 200px;
}

.tetrisrow, #tetris .previewrow {
	margin-top: 0px;
	margin-bottom: 0px;
	display: table-row;
}

.tetrissquare, #tetris .previewsquare {
	display: table-cell;
	width: 20px;
	height: 20px;
	background-color: white;
	color: black;
	margin-top: 0px;
	margin-bottom: 0px;
}

#tetrissidebar {
	height: 0px;
	position: relative;
	left: 250px;
	top: -400px;
}

#stats {
	position: relative;
	left: 120px;
	top: -125px;
}

#buttons {
	position: relative;
	left: -20px;
	top: -100px;
}

.tetrisbutton {
	font-size: 10px;
	width: 95px;
	height: 30px;
	padding: 2px 0 0 0;
	margin-bottom: 5px;
}

#tetrissidebar #buttons #clockwise {
	margin-left: 100px;
}

#tetrissidebar #buttons #down {
	margin-left: 50px;
}

#tetrissidebar #blurb {
	width: 250px;
	position: relative;
	top: -85px;
}

.rfkboardsquare {
	display: table-cell;
	vertical-align: middle;
	background-color: black;
	color: white;
	width: 15px;
	height: 15px;
	font-size: 12px;
	text-align: center;
	font-family: monospace;
	border-style: none;
	margin-top: 0px;
	margin-bottom: 0px;
}

.rfkrow {
	margin-top: 0px;
	margin-bottom: 0px;
}

.rfkbutton {
	width: 60px;
	font-size: 80%;
}

#rfkboard {
	margin-left: 10px; 
	margin-top: 10px;
}

#rfkstat {
	height: 40px;
	margin-left: 10px;
}

#rfkbuttons {
	margin-left: 10px;
}

#rfkbuttons #up, #rfkbuttons #down {
	margin-left: 30px;
}

#rfkbuttons #reset {
	margin-left: 298px;
}

.tablutrow {
	width:470px;
	height: 52px;
	margin-top: 0px;
	margin-bottom: 0px;
}

.tablutsquare {
	border-left: 2px solid black;
	border-top: 2px solid black;
	width: 50px;
	height: 50px;
	float:left;
	background-color: #d2b48c; 
	margin-top: 0px;
	margin-bottom: 0px;
}

#tablutboard {
	margin-left: 34px;
	margin-top: 12px;
	height: 470px;
}

#tablutboard img {
	position: absolute;
}

#tablutboard #row8 {
	border-bottom: 2px solid black;
}

#tablutboard #r0c8, #tablutboard #r1c8, #tablutboard #r2c8, #tablutboard #r3c8, #tablutboard #r4c8, #tablutboard #r6c8, #tablutboard #r5c8, #tablutboard #r7c8, #tablutboard #r8c8 {
	border-right: 2px solid black;
}

#tablutboard #r0c3, #tablutboard #r0c4, #tablutboard #r0c5, #tablutboard #r1c4, #tablutboard #r3c0, #tablutboard #r4c0, #tablutboard #r4c1, #tablutboard #r5c0, #tablutboard #r3c8, #tablutboard #r4c8, #tablutboard #r5c8, #tablutboard #r4c7, #tablutboard #r8c3, #tablutboard #r8c4, #tablutboard #r8c5, #tablutboard #r7c4 {
	background-color: #daa520;
}

#tablutboard #r4c4 {
	background-color: #cd853f;
}

#newgamebutton {
	margin-top: 10px;
}

.crosswordform button {
	font-size: 80%;
	width: 60px;
	margin-left: 5px;
}