* {
	margin: 0;
	padding: 0;

	color: black;
	font-size: 10px;
	font-family: verdana, sans-serif;
}

h1, h2, h3, h4, h5, h6
{
	margin-top: 5px;
	margin-bottom: 10px;
	margin-left: 10px;
	margin-right: 10px;
}

h1 { font-size: 22px; }
h2 { font-size: 18px; }
h3 { font-size: 16px; }
h4 { font-size: 14px; }
h5 { font-size: 13px; }
h6 { font-size: 12px; }

strong, em
{
	font-weight: bold;
}

p {
	font-size: 10px;
	margin: 10px;
	margin-top: 6px;
}

ul, ol {
	margin: 10px;
	margin-top: 6px;
	list-style-position: inside;
	list-style-type: none;
}

a {
	color: #3f1fcf;
	text-decoration: none !important;
	text-shadow: #bfbfbf 1px 1px 1px;
}
a:visited
{
	color: #af1faf;
	text-shadow: #bfbfbf 1px 1px 1px;
}
a:hover
{
	color: #cf1f3f;
	text-shadow: #ffbfbf 1px 1px 1px;
}

a img { border: 0; }

th img {
	display: block;
	margin: auto;
}

table {
	margin-bottom: 10px;
	border: 1px solid #3f3f3f;
	border-collapse: collapse;
}
caption {
	padding: 2px 4px;
}
td, th {
	text-align: center;
	vertical-align: middle;

	width: 3.5ex;
	padding: 4px 4px;
	border: 1px solid #7f7f7f;
}
th {
	font-weight: bold;
	background-color: inherit;
	color: inherit;
}
td {
	background-color: inherit;
	color: inherit;
}
/* Set the background to be shaded and fixed */
body
{
	position: relative;
	width: 100%;
	height: 100%;
	background-color: #efffdf;
	background-image: url('/img/background_shade.png');
	background-position: 0px 98px;
	background-repeat: repeat-x;
}

/* Set the content centered and define the width of the page */
.center
{
	width: 992px;
	margin: auto;
}

/* Layout the content */
div#content
{
	margin: 0px;
	margin-bottom: 2px;

	padding: 8px;

	background-color: #f4f4f4;

	background-image: url('/img/background_shadow.png');
	background-position: 0px 0px;
	background-repeat: repeat-x;

	border: 1px solid #3f5f7f;
	border-top: 0;
}

div#identification
{
	width: 100%;
	height: 72px;

	background-color: #006f00;
	background-image: url('/img/identification_background.png');
	background-position: top left;
	background-repeat: repeat-x;

	border-bottom: 1px solid #003f00;
}

div#identification h1
{
	padding-top: 12px;
	font-family: bitstream vera sans, sans-serif;
	vertical-align: text-bottom;

	font-weight: bold;
	text-shadow: #bfffbf 0px 0px 2px;
}
div#identification h1 span
{
	font-size: inherit;
	font-family: inherit;
}

div#identification h1 img
{
	margin-top: -8px;
	vertical-align: text-bottom;
}
div#identification p
{
	font-family: bitstream vera, verdana, serif;
	font-size: 10px;
	margin-top: 0px;

	font-weight: bold;
	text-shadow: #0f7f0f 1px 1px 0px;
}

div#navigation
{
	width: 100%;
	height: 24px;

	background-image: url('/img/navigation_background.png');
	background-position: top left;
	background-repeat: repeat-x;
	background-color: #ffaf17;

	border-bottom: 1px solid #5f3f1f;
}

div#subnavigation
{
	width: 990px;
	height: 24px;

	margin-top: -5px;
	margin-left: -5px;
	margin-right: -5px;

	background-color: #f4f4f4;

	border-bottom: 1px solid #3f5f7f;
}

div#status
{
	width: 100%;
	height: 24px;

	font-size: 10px;
}

/* Draw a frame at the rightmost side of the identification field */
div#ad_top
{
	position: absolute;
	top: 2px;
	width: 100%;
	height: 72px;
}

div#ad_top_content
{
	width: 800px;
	margin: auto;
}

/* Center the image in the frame */
div#ad_top img
{
	float: right;

	background-image: url('/img/frame_banner');
	background-position: center;
	background-repeat: no-repeat;
	background-color: transparent;

	width: 468px;
	height: 60px;
	padding: 4px;
}

div#ad_banner
{
	float: right;

	background-image: url('/img/frame_banner');
	background-position: center;
	background-repeat: no-repeat;
	background-color: transparent;

	width: 468px;
	height: 60px;
	padding: 4px;
}

div.status img
{
	margin-left: 3px;
	margin-right: 1px;
	vertical-align: text-bottom;
}

li.scheduled { background-color: #ff3f3f; }
li.started { background-color: #ffff3f; }
li.finished { background-color: #3fff3f; }
/* li.finished ul { display: none; } */

a:hover span {
	display: block !important;
	position: absolute;
	z-index: 99;
	left: 100%;
	margin-left: 4px;
	border: 1px solid #af7f7f;
	background-color: #ffefef;
	padding: 4px;
}tr.offense th { background-color: #ffdfdf; }
tr.offense td { background-color: #ffefef; }
tr.defense th { background-color: #dfffdf; }
tr.defense td { background-color: #efffef; }
tr.attributes th { background-color: #ffcfcf; }
tr.attributes td { background-color: #ffefef; }
tr.weapon_skills th { background-color: #f8f8cf; }
tr.weapon_skills td { background-color: #f8f8e8; }
tr.abilities th { background-color: #cfefff; }
tr.abilities td { background-color: #efefff; }
tr.jobs th { background-color: #cfffcf; }
tr.jobs td { background-color: #efffef; }
tr.equipment th { background-color: #ffcfff; }
tr.equipment td { background-color: #ffefff; }
tr.highscore th { background-color: #ffcfff; }
tr.highscore td { background-color: #ffefff; }
tr.battle_physical th { background-color: #cfcfcf; }
tr.battle_physical td { background-color: #efefef; }
tr.battle_elemental th { background-color: #cfcfcf; }
tr.battle_elemental td { background-color: #efefef; }
tr.battle_spiritual th { background-color: #cfcfcf; }
tr.battle_spiritual td { background-color: #efefef; }
fieldset {
	margin-left: 10px;
	margin-bottom: 10px;
	padding: 10px;
	padding-top: 4px;

	border-width: 1px;
	border-color: #afafaf;
	border-style: solid;
}

label {
	display: block;
	position: relative;
	clear: both;
}

label span
{
	display: block;
	float: left;

	width: 128px;
}

legend {
	font-weight: bold;

	margin-left: 4px;
	margin-right: 4px;

	padding-left: 4px;
	padding-right: 4px;
}

input, select, textarea
{
	height: 16px;
	width: 128px;
	padding: 0px;

	font-size: 10px;
	line-height: 12px;

	border-width: 1px;

	color: #5f1f1f;
	background-color: #ffffbf;
}

textarea
{
	height: 64px;
}

input.hover, select.hover {
	background-color: #ffffdf;
}

*[disabled='disabled'] {
	background-color: #efefef;
	color: #3f3f3f;
}

input.focus {
	background: #ffaf4f;
	border-color: #ffffff;
}

fieldset.player_information { width: 340px; height: 128px; margin-right: 16px; float: left; clear: right; }
fieldset.contact_information { width: 340px; height: 128px; }
div#navigation ul
{
	position: relative;
	list-style-type: none;
	height: 24px;
	width: 990px;
	border-left: 1px solid #8f5f1f;
	border-right: 1px solid #8f5f1f;
	padding: 0;
	background-image: url('../img/nav_item.png');
}

div#navigation ul li, div#subnavigation ul li
{
	float: left;
	clear: none;

	display: inline;

	margin: 0;
	vertical-align: middle;

	border-right: 1px solid #8f5f1f;
}

div#navigation ul li img, div#subnavigation ul li img
{
	vertical-align: text-bottom;
	margin-right: 1ex;
	margin-top: 1px;
}

div#navigation ul li.notify
{
	background-image: url('../img/nav_item_notify.png');
}
div#navigation ul li.notify a
{
	color: #7f1f00;
	font-weight: bold;
	text-decoration: underline;

	text-shadow: #ffffff 1px 1px 1px, #ffffff -1px -1px 1px, #ffffff -1px 1px 1px, #ffffff 1px -1px 1px;
}

div#navigation ul li a, div#subnavigation ul li a
{
	float: left;
	display: block;
	height: 16px;
	padding-top: 3px;
	padding-bottom: 5px;
	font-size: 12px;
	padding-left: 0.75ex;
	padding-right: 0.75ex;
	vertical-align: middle;

	color: #7f1f1f;
	text-shadow: #cf8f4f 1px 1px 2px;
}
div#navigation ul li input, div#navigation ul li select
{
	display: block;
	float: left;
	height: 18px;
	margin: 3px;
	font-size: 10px;
	padding-left: 1ex;
	padding-right: 1ex;
	vertical-align: middle;
}

div#navigation ul li.logout, div#navigation ul li.login
{
	float: right;
	border: 0;
}
div#navigation ul li.logout input,
div#navigation ul li.login input,
div#navigation ul li.logout button,
div#navigation ul li.login button
{
	display: inline;
	width: 12ex;
}
div#navigation ul li.login button
{
	width: 8ex;
}

div#navigation ul li a:hover, div#subnavigation ul li a:hover
{
	color: #7f1f1f;
	background-image: url('../img/nav_item_hover.png');
}

#map {
	position: relative;
	float: right;
	clear: right;

	width: 246px;
	height: 138px;

	padding: 0px;
	margin: 8px;
	margin-top: 0;
}

#map img {
	position: absolute;
	display: block;
	margin: 0;
	padding: 0;
} 
/** EVENT LOG **/
ol#event_log li.event {
	border: 1px solid #cfcfcf;
	padding: 4px;
	background-color: #e8e8e8;
	margin-top: 4px;

	min-height: 48px;
}
ol#event_log li.event img {
	float: left;
	clear: left;
	width: 48px;
	height: 48px;
	margin-right: 8px;
	margin-left: 4px;
}

ol#event_log li.event h5 {
	margin-top: 0px;
	margin-bottom: 2px;
}
ol#event_log li.event p {
	margin-top: 1px;
	margin-bottom: 0px;
	width: 120ex;
	clear: right;
}

ol#event_log li.event h5 span {
	color: #7f7f7f;
}

/** POLLS **/
ol#current_polls li.poll {
	border: 1px solid #cfcfcf;
	padding: 4px;
	background-color: #e8e8e8;
	margin-top: 4px;

	min-height: 48px;
}
ol#current_polls li.poll img {
	float: left;
	clear: left;
	width: 48px;
	height: 48px;
	margin-right: 8px;
	margin-left: 4px;
}

ol#current_polls li.poll h5 {
	margin-bottom: 4px;
}
ol#current_polls li.poll p {
	margin-top: 2px;
	margin-bottom: 2px;
	clear: right;
}

ol#current_polls li.poll h5 span {
	color: #7f7f7f;
}



.meters
{
	position: relative;

	margin: 0px;
	margin-left: 8px;
	padding: 4px;

	width: 160px;
	height: auto;

	border: 1px solid #1f1f1f;
	/*background-image: url('../img/interface/background.png');*/
}

img.meter_symbol
{
	position: absolute;
	top: auto;
	left: auto;

	display: block;

	margin: 0;
	padding: 0;

	width: 16px;
	height: 16px;
}

div.meter_background
{
	position: relative;

	width: 128px;
	height: 16px;

	text-align: left;

	background-image: url('../../img/interface/bar_horizontal_combined.png');
	background-position: top right;
	background-repeat: no-repeat;
}

span.meter_content
{
	display: block;

	padding-top: 1px;
	padding-bottom: 1px;
	padding-left: 3px;
	padding-right: 0px;
	height: 14px;

	margin-left: 0px;

	background-image: url('../../img/interface/bar_horizontal_combined.png');
	background-repeat: no-repeat;
}

span.meter_text
{
	display: block;
	width: 128px;
	float: right;
	margin-top: -16px;
	padding-top: 2px;

	line-height: 13px;
	color: #efefef;
	font-family: verdana, sans-serif;
	font-size: 10px;
	font-weight: bold;
	text-align: center;

	text-shadow: #000000 0px 0px 3px, #000000 0px 0px 2px, #000000 0px 0px 1px;
}

span.terrain { text-decoration: underline; }
img.inline_image {
	float: none !important;
	display: inline !important;
	vertical-align: middle !important;
	width: auto !important;
	height: auto !important;
	margin: 0px 2px !important;
	padding: 0 !important;
}
