body {
	margin: 0px;
	font-family: georgia;
	background-image: url(img/scroll.jpg);
}

#buffer {
	position:fixed;
	width: 100%;
	left: 0px;
	top: 0px;
	height: 50px;
	opacity: 0.7;
	z-index: 1;
}

#buffer textarea {
	font-weight: bold;
	width: 100%;
	height: 100%;
	margin: 0px;
	border: none;
}

#buffer.backlog {
	height: 250px;
}

#map {
	margin-top: 50px;
}

#map > div {
	background-color: black;
	margin: auto;
}

#map .ascii {
	font-family:monospace; 
	font-size:125%;
}

#map .ascii .focus {
	text-decoration: underline;
}

#map .map .focus {
	position: absolute;
	width: 32px;
	height: 1px;
	background-color: white;
	bottom: 0px;
	top: 31px;
}

#keypad {
	float: left;
	text-align: center;
}

#keypad table {
	text-align: center;
	border-collapse: collapse;
}

#keypad td {
	padding: 0px;
}

#keypad input, #commands input {
	margin: 1px;
	font: menu;
}

#commands {
	margin-left: 115px;
	font-weight: bold;
}

#mapswitch {
	position: absolute;
	bottom: 0px;
	right: 0px;
	margin: 0px;
	padding: 0px;
}

#mapswitch li {
	list-style-type: none;
	float: left;
	margin-right: 1em;
	padding: 0px;
}

#mapswitch a.active {
	color: black;
	text-decoration: none;
	cursor: default;
}

#status {
	background-color: white;
	position: fixed;
	bottom: 0px;
	left: 0px;
	width: 100%;
	opacity:0.8;
}

#status table {
	width: 100%;
}

.dialog {
	background-image: url(img/scroll.jpg);
	border: 2px solid brown;
	padding: 0.5em;
	opacity: 0.95;
	min-width:40%; 
}

.dialog td {
	font-size: 80%;
}

.dialog h1 {
	font-size: 100%;
	margin: 0px 0px 0.5em 0px;
}

.dialog thead {
	font-weight: bold;
}

.dialog thead td {
	padding-top: 0.5em;
	border-bottom: 1px solid black;
}

.dialog input {
	vertical-align: middle;
	font: menu;
}

.dialog table {
	margin-bottom: 1em;
	border-collapse: collapse;
}

.dialog .name {
	margin: 1em auto;
	text-align: center;
}

.dialog .chargen {
	margin: auto;
}

.dialog .chargen td {
	padding: 0.2em 1em;
	text-align: center;
}

.dialog .chargen img {
	cursor: pointer;
}

.dialog .quests {
	width: 100%;
}

.dialog .quests .active {
	font-style: italic;
}

.dialog .chat div {
	border: 1px solid brown;
	overflow-y: scroll;
	height: 200px;
	padding: 3px;
}

.dialog .chat div p {
	margin-top: 0px;
}

.dialog .chat ul {
	padding: 0px;
	padding-left: 2px;
}

.dialog .chat li {
	list-style-type: none;
}

.dialog .chat li a:focus {
	text-shadow: 0 0 2px #00a;
}
