body {
	margin:10px; padding:0px; font:normal 11px Verdana;
 	color:#000; background-color:cornflowerblue;
	}
img { border:0; }
form { margin:0; }
h1 { font-size: 14px; margin-bottom: 5px; }

.small { font-size: 9px; }
.paragraph { text-indent:2.0em; text-align:left; }

/*** Old colors: indigo #FF8C00 ***/
a:link, a:visited { color:forestgreen; font:bold 11px Verdana; text-decoration:none; }
a:hover { color:darkorange; cursor:hand; }
a.linksmall:link, a.linksmall:visited, a.linksmall:hover { font:normal 9px Verdana; } 
a.mail:link, a.mail:visited { color:darkblue; font-size:10px; font-weight:bold; } 
a.mail:hover { color:darkred; font-weight:bold; }
a.misc:link, a.misc:visited { color:gray; font:normal 9px Arial; text-decoration:none; } 
a.misc:hover { color: dodgerblue; }

	/* ==== form styles ==== */

	#btn {
	background:#333 url('../images/btn_bg.gif') repeat-x;
	border-width:1px;	border-color:#666 #000 #000 #666;
	height:22px;		padding:2px 4px;
	font:bold 11px Arial;	color:#fff;
	}
	#btn2 { font-size:9px; background:#484848; color:#fff; border:solid 1px #000; }
	#form_box{ font-size:9px; border:solid 1px #000; }
	input.check { width:10px; height:10px; vertical-align:middle; }

	/* ==== layout ==== */

	#header { background-image: url('../images/navheader.jpg'); background-repeat:no-repeat; height:116px; border:solid 1px #000; }

	#nav {
		background-image: url('../images/navbg.gif'); background-repeat:repeat-x;
		background-color:#333; font-size:10px; color:#fff; padding:4px 0 0 10px;
		height:24px; border-left:solid 1px #000; border-right:solid 1px #000;
		}
	#nav input, #nav img { vertical-align:middle; }
	#nav a:link, #nav a:visited{ font:normal 10px Arial; color:#fff; }
	#nav a:hover, #nav a:active{ color:lime; }
	#nav #floata { float:left; padding-top:3px; padding-right:10px; }
	#nav #floatb { float:left; padding:1px 10px; }
	#nav #floatc { float:right; padding:1px 10px; }

	#wrapcontent {
		float:left; border:1px solid #000; background-color:#FFF;
		margin-bottom:3px; width:99.9%;
		}

	#leftcontent { float:left; width:158px;	font-size: 11px; margin:0 0 0 -5.1%; padding-left:9px; }

	#centerwrap { float:left; width:100%; margin:0 -95% 0 0; }
	#centercontent { margin:15px 190px 40px 176px; }

	#rightcontent {	float:right; width:180px; font-size: 11px; margin:0; }

	#footer {
		clear:both; width:auto; border:1px solid #000;
		font:normal 9px Arial; text-align:center; color:#333;
		background-color:#FFF; padding:2px;
		}

	/* ==== navigation menus ==== */

	#navtop { background: url('../images/navtop.png') no-repeat; width:154px; height:31px; }
	#navcontain { background-image: url('../images/navback.png'); background-repeat:repeat-y; width:154px; }
	#navcat { padding:5px 0; font-weight:bold; color:skyblue; text-align:center; border-top:#696969 solid 1px; margin:0 11px; }
	#navb a:link, #navb a:visited {
		background-image: url('../images/navbutton.png'); background-repeat:repeat-x; font-size:10px;
		width:122px; height:17px; color:#fff; padding:4px 0 0 10px; display:block; margin:0 11px;
		}
	#navb a:hover, #navb a:active {	background:none; color:lime; }
	#navbox { background-color:#232323; margin:0 11px; text-align:center; width:132px; }
	#navboxt { background: url('../images/navboxt.png') repeat-x top; width:100%; height:10px; }
	#navboxb { background: url('../images/navboxb.png') repeat-x top; width:100%; height:10px; }
	#navbot { background: url('../images/navbot.png') no-repeat; width:154px; height:35px; }

	#navtopr { background: url('../images/navtop-r.png') no-repeat; width:175px; height:31px; margin-left:auto; }
	#navcontainr { border-left:#000 solid 1px; width:174px; margin-left:auto; background:#232323; }
	#navcatr { padding:5px 0; font-weight:bold; color:skyblue; text-align:center; width:100%; border-top:#696969 solid 1px; }
	#navcontainr #stats { width:130px; height:10px; margin:2px 0; background-color:lightslategray; border:solid 1px #000; }
	#navbotr { background: url('../images/navbot-r.png') no-repeat; width:175px; height:15px; margin-left:auto; }

	/* ==== profile table ==== */

	#cellhead {
		background: url('../images/cellbghead.gif') bottom right no-repeat;
		border:solid 1px lightgrey; background-color:#EDEDED; padding:3px; margin:0 auto;
		font-size:10px; font-weight:bold; text-align:center;
		}
	#cell {
		background: url('../images/cellbg.gif') top repeat-x;
		border:solid 1px lightgrey; padding:20px 25px; margin:2px auto;
		}
	#cell img { vertical-align:middle; }

	#main { overflow:auto; margin:10px auto; background:url('../images/main_topbg.jpg') repeat-x top center; }
	#main #topleft { height:39px; width:40px; float:left;
	background-image:url('../images/main_topleft.jpg'); background-repeat:no-repeat; }
	#main #topright { height:39px; width:40px; float:right;
	background-image:url('../images/main_topright.jpg'); background-repeat:no-repeat; }
	#main #topmid { height:32px; float:left; font:bold 10px Verdana; padding-top:7px; }
	#main #body { clear:both; padding:15px 0 5px 0; border-left:solid 1px #b4cee9; border-right:solid 1px #b4cee9; }
	#main #botleft { height:61px; width:40px; float:left;
	background-image:url('../images/main_botleft.jpg'); background-repeat:no-repeat; }
	#main #botbg { height:61px; width:100%; float:left; background-image:url('../images/main_botbg.jpg'); background-repeat:repeat-x; }
	#main #botright { height:61px; width:40px; float:right;
	background-image:url('../images/main_botright.jpg'); background-repeat:no-repeat; }

	/* ==== battlen, battle ==== */

	#window { padding:20px;	border:dashed 2px gainsboro; }
	#section td#screen {
	width:100%; padding:20px;
	border:dashed 2px gainsboro; background-color:white;
	}
	#btl_results { font:bold 14px Verdana; text-align:center; }

	#btl_wep a:link, #btl_wep a:visited, #btl_skill a:link, #btl_skill a:visited { color:navy; font:normal 11px Verdana; font-weight:bold; } 
	#btl_wep a:hover, #btl_skill a:hover { color: brown; }
	#btl_wep, #btl_skill, #btl_wepb, #btl_skillb { overflow:auto; padding:10px; }
	#btl_wep img, #btl_wepb img { vertical-align:middle; }
	#btl_wep { width:370px; height:44px; background:gainsboro url('../images/p_btlbg2.gif') no-repeat top center; }
	#btl_skill { width:190px; height:44px; background:url('../images/p_btlbg3.gif') no-repeat top center; }
	#btl_wepb { width:370px; height:22px; background:gainsboro url('../images/p_btlbg2b.gif') no-repeat top center; }
	#btl_skillb { width:190px; height:22px; background:gainsboro url('../images/p_btlbg3b.gif') no-repeat top center; }

	/* ==== hangar ==== */

	.namebox {
	width:200px; height:80px; position:absolute; left:250px; top:210px;
	border:2px outset #F2F2F2; background-color:white; visibility:hidden;
	}
	#slot_col {
	padding:5px; margin:0 5px 5px 5px; vertical-align:top;
	border:dashed 2px black; font:normal 11px Tahoma; height:140px;
	}
	.slot_pop {
	display:none; position:fixed; left:43%; top:43%; font:bold 10px Tahoma;
	border:solid black 2px; padding:10px; text-align:center;
	background-color:lightgrey; width:135px;
	}

	/* ==== hangar, inventory, shop_equips ==== */

	#inv {
	overflow:auto; background-color:#F4F4FF;
	border-width:1px 1px; border-color:#C6C5E6; border-style:solid;
	}
	#inv .header {
	font-size:17px; font-weight:bold; text-align:center;
	padding:5px; color:#000; background-color:#E3E3FF;
	border-bottom:medium double #C6C5E6; border-top:medium double #C6C5E6;
	}
	#inv .row { font-size:9px; padding:5px; border-bottom:1px solid #C6C5E6; }
	#inv td { vertical-align:top; padding:2px; }
	#inv a.itembox {
	font-size:9px; padding:6px; margin:2px;
	float:left; width:115px; height:30px; border:1px solid #C6C5E6;
	}
	#inv a.cbox {
	font-size:9px; padding:2px; margin:2px;
	float:left; width:178px; height:20px; border:1px solid #C6C5E6;
	}
	#inv .cboxb {
	font-size:9px; padding:8px; margin:2px;
	float:left; width:170px; border:1px solid #C6C5E6;
	}
	#inv a.cbox img { vertical-align:middle; }

	#msg_box {
	border:solid 1px blue; color:blue; line-height:22px;
	background:#fff url('../images/p_msg.gif') no-repeat center left;
	margin:10px auto; padding:5px 5px 5px 35px;
	}
	#msg_boxlvl {
	border:solid 1px darkgoldenrod; margin:10px auto; padding:5px;
	line-height:22px; color:darkgoldenrod; font-weight:bold; text-align:center;
	}

	/* ==== pilot, hangar, inventory, shop_equips ==== */

	#tooltip{
	position: absolute; width:150px;
	border:2px solid black; font:normal 11px Arial;
	padding:10px; background-color:lightyellow;
	visibility:hidden; z-index:100;
	/* Shadow, line must appear last */
	filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135);
	}

