body {
	margin: 0;
	background: #111;
	color: #fff;
	font-family: sans-serif;
	width: 100%;
}

.index {
	overflow: hidden;
}

#map {
	position: absolute;
	top: 50%;
	left: 50%;
	image-rendering: pixelated;
}

#coords {
	position: absolute;
	top: 0;
	background: #000;
	border: 1px solid;
	border-left: 0;
	border-top: 0;
	padding: 4px;
}

#error {
	position: absolute;
	top: 0;
	left: 50%;
	/*is there a better way to do this?*/
	transform: translateX(-50%);
	background: red;
	border: 1px solid;
	border-top: 0;
	padding: 4px;
}

.hidden {
	display: none;
}

#help {
	position: absolute;
	top: 0;
	right: 0;
	background: #000;
	border: 1px solid;
	border-top: 0;
	border-right: 0;
	padding: 4px;
	color: #fff;
	text-decoration: none;
	user-select: none;
}

#colorpicker {
	position: absolute;
	bottom: 0;
	background: #000;
	border: 1px solid;
	border-left: 0;
	border-bottom: 0;
	padding: 4px;
	user-select: none;
	height: 24px;
}

.color {
	width: 24px;
	height: 24px;
	display: inline-block;
	cursor: pointer;
}

.selected {
	width: 22px;
	height: 22px;
	border: 1px solid;
}

#color1 {
	background: #000;
}

#color2 {
	background: blue;
}

#color3 {
	background: lime;
}

#color4 {
	background: cyan;
}

#color5 {
	background: red;
}

#color6 {
	background: #f0f;
}

#color7 {
	background: #ff0;
}

#color8 {
	background: #fff;
}

#color3.selected, #color4.selected, #color7.selected, #color8.selected {
	color: red;
}

#chat {
	position: absolute;
	bottom: 0;
	right: 0;
	background: #000;
	border: 1px solid;
	border-right: 0;
	border-bottom: 0;
	padding: 4px;
}

#header {
	cursor: pointer;
	user-select: none;
	text-align: right;
}

#log {
	border: 1px solid;
	width: 256px;
	height: 384px;
	margin: 4px 0;
	white-space: pre-wrap;
	overflow-y: auto;
}

#message {
	width: 198px;
	font-family: monospace;
}

#send {
	cursor: pointer;
	height: 24px;
	user-select: none;
}

.servermessage {
	color: #808080;
}

.mod {
	color: purple;
}

.admin {
	color: red;
}

.greentext {
	color: green;
}

.orangetext {
	color: orange;
}

.echoes {
	background: #fff;
	color: blue;
}

a {
	color: cyan;
}
