body
{
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-family: Calibri, Georgia, Helvetica, Verdana, Sans-Serif;
    background: black;
    overflow: hidden;
}

#viewport
{
    position: absolute;
    background: url('../img/fog6.png') no-repeat center center;
    width: 100%;
    height: 100%;
    z-index: 11;
}

#map
{
    position: absolute;
    min-width: 300px;
    min-height: 200px;
    background: green;
    top: 50%;
    left: 50%;
}

#character
{
    position: absolute;
    min-width: 32px;
    min-height: 32px;
    background: url('../img/character.png') no-repeat center center;
    top: 50%;
    left: 50%;
    margin-left: -16px;
    margin-top: -176px;
    z-index: 10;
}

.creature, .tile 
{
    width: 32px;
    height: 32px;
    position: absolute;
    z-index: 1;
}
.tile { background: url('../img/tileset.png') no-repeat 0 0;}
.creature { z-index: 10; }
.wall { background-position: 0 -96px; }
.earth { background-position: -96px -96px; }
.unknown { background: pink; }
.goblin { background: url('../img/goblin.png') no-repeat center center;}
.goblin { background: url('../img/goblin.png') no-repeat center center;}
.hobgoblin { background: url('../img/goblin.png') no-repeat center center;}

#ui
{
    position: absolute;
    bottom: 20px;
    left: 50%;
    margin-left: -210px;
    width: 420px;
    z-index: 12;
}

#inv
{
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 200px;
    z-index: 12;
    padding: 10px;
    display: none;
}

#inv .img
{
	background-repeat: no-repeat;
	background-position: 0 0;
	width: 32px;
	height: 32px;	
	position: absolute;
	border: 1px solid #ccc;
	border-radius: 5px;
}

#bags div
{
	background-repeat: no-repeat;
	background-position: 0 0;
	width: 32px;
	height: 32px;	
	border: 1px solid #ccc;
	border-radius: 5px;
	float: left;
	margin: 2px;
}

#bags h2, #inv h2
{
	padding: 0 0 5px 0;
	line-height: 1em;
	font-size: 1.2em;
}

#bags
{
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 200px;
    padding: 10px;
    z-index: 12;
    display: none;
}

.weapon label, .armor label
{
	font-weight: bold;
	padding: 0 0 0 40px;
	margin: 0;
}
.weapon p, .armor p
{
	padding: 0 0 0 40px;
	margin: 0;
}

.TrainingSword { background-image: url('../img/Training Sword.png'); }
.Rags { background-image: url('../img/Rags.png'); }
.MinorHealthPotion { background-image: url('../img/health-potion.png'); }
.MinorManaPotion { background-image: url('../img/mana-potion.png'); }

#debug
{
    position: absolute;
    top: 20px;
    left: 20px;
    width: 200px;
    z-index: 12;
    max-height: 400px;
    overflow: auto;
    padding: 10px;
}

.health
{
    width: 200px;
}

.mana
{
    width: 200px;
}

#title
{
    position: absolute;
    top: 20px;
    left: 50%;
    margin-left: -250px;
    width: 500px;
    z-index: 12;
    text-align: center;
}
#title h1
{
    font-size: 30px;
    color: White;
}