a:link,a:visited {
  color:#0033EC;
  text-decoration:none;
  padding-left:2px;
  padding-right:2px;
  font-size:11pt;
  text-shadow:#DDDDDD 1px 1px 3px;
  font-size:inherit;
}

a:hover {
  text-shadow:#444444 0px 0px 5px;
}

a:active {
	color:black;
	text-decoration:none;
}

#answer a {
	color:#222222;
	font-size:85%;
	font-weight:bold;
}

#answer {
	font-size:80%;
	color:#555555;
}

table.ressMgr {
	position:relative;
	width:100%;
	border-collapse:collapse;
}

table.ressMgr td {
	padding-left:20px;
	padding-right:20px;
	border:1px solid #AAAAAA;
}

div.imgstack {
	width:100px;
	height:100px;
	position:relative;
	clear:both; 
	float:left;
	margin:20px;
	margin-bottom:5px;
/* 	border:1px solid #999999; */
}

div.imgstack img {
	position:absolute;
	width:100%;
	height:100%;
	border:0px;
}

ul.troopList {
	list-style-type:none;
	list-style-image:none;
	border-collapse:collapse;
	margin:0px;
	padding:0px;
	border-right:1px solid #999999;
	border-left:1px solid #999999;
	border-bottom:1px solid #999999;
	z-index:400;
}

ul.troopList li {
	background-color:#DDDDDD;
	border-top:1px solid #999999;
/* 	border-bottom:1px solid #999999; */
	margin:0px;
	padding:0px;
	margin-right:6px;
	left:0px;
	padding-bottom:1px;
/* 	padding-left:3px; */
	z-index:400;
}

ul.troopList img {
	width:12px;
	height:12px;
	padding-left:3px;
}

ul.troopList span {
	min-width:150px;
	position:relative;
	display:inline-block;
	font-family:georgia;
/* 	overflow:hidden; */
}

ul.troopList span.ntbl {
	min-width:150px;
	position:relative;
	display:inline-block;
	font-family:georgia;
	padding-top:3px;
}

ul.troopList table {
	border-collapse:collapse;
	display:inline-block;
	padding-top:0px;
	margin:0px;
	padding-bottom:0px;
	top:2px;
	position:relative;
	color:#444444;
/* 	left:40px; */
}

ul.troopList li.defaultgroup input.group_name {
	border:0px;
	background-color:transparent;
	font-weight:bold;
	padding:0px;
	margin:0px;
	left:0px;
	position:relative;
	z-index:400;
	text-align:left;
	width:140px;
	color:black;
}

ul.troopList li.defaultgroup span.unity {
	display:inline-block;
	position:relative;
	min-width:140px;
	width:140px;
	max-width:140px;
	overflow:hidden;
/* 	border:1px solid #ffbc00; */
	z-index:1000000;
	padding:0px;
	width:0px;
}

ul.troopList li.defaultgroup {
	position:relative;
}

ul.troopList li.defaultgroup font.indent {
	color:#AF0000;
	background-color:white;
	padding-top:3px;
	padding-bottom:2px;
	margin-right:3px;
}

ul.troopList li.subgroup {
	background-color:#CCCCCC;
	text-align:center;
}

ul.troopList li.subgroup font.indent,ul.troopList li.defaultgroup font.indent {
	color:#AF0000;
	background-color:white;
	padding-top:2px;
	border-top:1px solid white;
	padding-bottom:2px;
	top:-1px;
	position:relative;
	margin-right:0px;
	z-index:1300;
	left:-1px;
}

ul.troopList li.subgroup font.indent span.line {
	min-width:0px;
	position:relative;
	display:inline;
	font-family:georgia;
	border-left:1px dotted #AAAAAA;
	padding-left:3px;
	padding-right:3px;
	padding-top:3px;
	padding-bottom:2px;
}

ul.troopList li.defaultgroup font.indent span.line {
	min-width:0px;
	position:relative;
	display:inline;
	font-family:georgia;
	border-left:1px dotted #AAAAAA;
	padding-left:3px;
	padding-right:3px;
	padding-top:3px;
	padding-bottom:2px;
	z-index:700;
}

ul.troopList li table {
	display:inline-block;
	clear:both;
}

ul.troopList li table td {
	border-right:1px dotted #888888;
	padding-right:4px;
	padding-left:2px;
	padding-top:0px;
	padding-bottom:0px;
	margin:0px;
	min-width:65px;
/* 	text-align:right; */
}

ul.troopList table td.marked {
	font-weight:bold;
	color:black;
}

ul.troopList span.edit {
	background-color:#CCCCCC;
	border:1px solid #999999;
	border-right:0px;
	display:block;
	position:absolute;
	right:0px; top:-1px;
	min-width:0px;
	padding-right:5px;
	padding-left:5px;
	color:#444444;
}

ul.troopList a {
	border:none;
	color:#000031;
	border-left:1px dotted transparent;
	border-right:1px dotted transparent;
	padding-right:2px;
	padding-left:2px;
}
ul.troopList a:hover {
	border-left:1px dotted black;
	border-right:1px dotted black;
	color:#000046;
}

ul.troopList li.defaultgroup input {
	border:0px;
	position:relative; min-width:50px;
	outline:none;
	background-color:#DDDDDD;
	padding:0px;
	margin:0px;
	line-height:0;
	text-align:right;
}


ul.troopList li.defaultgroup table td.marked input {
	color:black;
}

ul.troopList li.defaultgroup table td input {
	color:#7F7F7F;
}

div.errmsg {
	vertical-align:center;
	background-color:#A81E00;
	color:white;
	padding-top:10px;
	padding-bottom:10px;
	padding-left:45px;
	padding-right:45px;
}

#sysmsg_outer {
	position:fixed;
	width:26%;
	height:10%;
	left:34%;
	top:42%;
	z-index:10000;
	display:none;
}

#mouse_status {
	width:100px;
/* 	padding:0px; */
	position:absolute;
	margin:0px;
	display:none;
	left:0px;
	top:0px;
	z-index:8000;
/* 	background-color:#abff9b; */
	background-image:url(/img/troops_status.png);
	background-repeat:no-repeat;
	background-position:0%;
	height:7px;
	padding-top:4px;
	padding-bottom:4px;
	border-left:4px solid black;
	border-right:4px solid black;
	outline:1px solid #444444;
	background-color:black;
}

.send_box {
	background-color:red;
	position:absolute;
	padding-left:5px;
	padding-right:5px;
	border-bottom:1px solid blue;
	left:0px;
}

.send_box input {
	padding:0px;
	margin:0px;
}

ul.troopList li.defaultgroup div.select {
	position:absolute;
	width:150px;
	height:100%;
	top:0px;
	left:0px;
}

ul.troopList li.defaultgroup div.selected {
	position:absolute;
	width:6px;
	background-image:url(/img/troops_use.png);
	background-repeat:repeat-y;
	height:100%;
	top:0px;
	right:-6px;
}

ul.troopList li.defaultgroup div.notselected {
	position:absolute;
	width:6px;
	background-image:url(/img/troops_use_possible.png);
	background-repeat:repeat-y;
	height:100%;
	top:0px;
	right:-6px;
}

ul.troopList li.defaultgroup div.noselect {
	position:absolute;
	width:6px;
	background-image:url(/img/troops_noselect.png);
	background-repeat:repeat-y;
	height:100%;
	top:0px;
	right:-6px;
}

ul.troopList li.defaultgroup div.noselect_default {
	position:absolute;
	width:6px;
	background-image:url(/img/troops_defaultgroup.png);
	background-repeat:repeat-y;
/* 	background-color:red; */
	height:100%;
	top:0px;
	right:-6px;
}


ul.troopList li.defaultgroup input[type=checkbox] {
	z-index:500;
	position:relative;
	top:2px;
/* 	border:1px solid red; */
	max-width:12px;
}

span.statusbar {
	padding:1px;
	position:relative;
	display:inline-block;
	min-width:250px;
	border:1px solid #AAAAAA;
/* 	background-color:red; */
	height:15px;
	vertical-align:middle;
}

span.statusbar span.bar {
	position:relative;
	background-image:url(/img/new_bar.png);
	z-index:20;
/* 	width:10%; */
	height:15px;
	display:inline-block;
	margin:0px;
	padding:0px;
}

span.statusbar div.text {
	position:absolute;
	color:black;
	width:100%;
	text-align:center;
	top:1px;
	z-index:35;
	font-size:11px;
	vertical-align:middle;
}

div.grpchgdiv {
	background-color:#FFA200;
	text-align:center;
	color:black;
	padding:10px;
	padding-top:3px;
	padding-bottom:3px;
	position:absolute;
	border:1px solid #999999;
	right:-222px;
	width:200px;
	z-index:150;
	vertical-align:center;
	top:-1px;
	display:none;
}

#bswap a {
	border-bottom:0px;
}

#k_messages h1.a {
	background-color:#EEEEEE; 
	font-size:9pt; 
	padding:0px; 
	font-weight:normal;
	margin:0px;
	cursor:pointer;
	border-left:8px solid #BBBBBB;
	margin-top:2px;
}

#k_messages h1.b {
	background-color:#DDDDDD; 
	font-size:9pt; 
	padding:0px; 
	font-weight:normal;
	margin:0px;
	cursor:pointer;
	border-left:8px solid #888888;
	margin-top:2px;
}

#k_messages h1.a:hover {
	color:#777777;
}

#k_messages h1.b:hover {
	color:#777777; 
}

#k_messages div.content_a {
	padding:10px;
	border-left:8px solid #BBBBBB;
}

#k_messages div.content_b {
	padding:10px;
	border-left:8px solid #888888;
}


.note {
	border:1px solid black;
	position:absolute;
	background-color:yellow;
	color:black;
	font-family:monospace;
	width:200px;
	height:150px;
	background-image:url(/img/note_bg.png);
	background-repeat:repeat-x;
	background-position:bottom;
}

a.rfield {
	border:0px;
	padding:0px;
	display:block;
	position:absolute;
	margin:0px;
	left:-1px;
	top:-1px;
	width:100%;
	height:100%;
	background-image:url(/img/40b.png);
	border-top:1px solid #777777;
	border-left:1px solid #777777;
	border-right:1px solid #444444;
	border-bottom:1px solid #444444;
	color:white;
	text-shadow:none;
/* 	border:1px solid #555555; */
/* 	border-radius: 10px; */
/* 	-moz-border-radius: 6px; */
}

a.disabled_tab {
	color:#777777; 
	border-right:1px solid #777777;
	padding-left:20px; 
	padding-right:20px;
	border-bottom:0px;
	text-shadow:none;
}

a.tab {
	color:black; 
	border-right:1px solid #777777;
	padding-left:20px; 
	padding-right:20px;
	border-bottom:0px;
	text-shadow:none;
}

a.tab:hover {
	background-image:url(/img/tab_bg.png);
	text-shadow:none;
}

a.tab:active {
	background-image:url(/img/tab_bg.png);
	background-color:#F0FFD3;
	text-shadow:none;
}

a.serverselect {
	color:black;
	background-image:url(/img/lw.png);
	position:relative;
	display:block;
	margin:5px;
	width:110px;
	border:1px solid #666666;
	padding:1px;
	text-align:center;
	text-shadow:none;
}

a.serverselect:hover {
	background-image:url(/img/50w.png);
	border:1px solid #444444;
	text-shadow:none;
}

a.server_r {
	color:black;
	background-image:url(/img/33b.png);
	position:relative;
	display:block;
	margin-top:5px;
	width:180px;
	border:1px solid #666666;
	padding:1px;
	text-align:center;
	text-shadow:none;
}

a.server_r:hover {
	color:#A3D500;
	background-image:url(/img/66b.png);
	position:relative;
	display:block;
	margin-top:5px;
	width:180px;
	border:1px solid black;
	padding:1px;
	text-align:center;
	text-shadow:none;
}

div.shad_top {
	position:relative;
	border:1px solid #AAAAAA; 
	background-color:white;
	/*margin:8px;*/
	left:-2px;
	top:-2px;
	padding:0px;
}

div.shad_one {
	margin:0px;
	position:relative;
	border-right:1px solid #EEEEEE;
	border-bottom:1px solid #EEEEEE;
	background-color:#DDDDDD;
	-moz-border-radius:3px;
}

div.shad_two {
	position:relative;
	background-color:#F6F6F6;
	padding:1px;
	-moz-border-radius:3px;
	margin:4px;
	margin-top:8px;
	margin-bottom:8px;
}

div.shad_top a {
	border-bottom:0px;
}

img.tlr {
	position:absolute; 
	width:7px; 
	left:0px; 
	top:0px; 
	z-index:1205;
}

span.coord {
	display:block; 
	border-bottom: 1px solid #666666; 
	font-weight:bold; 
	padding-bottom:1px; 
	margin-bottom:5px;
}

img.mimg {
	position:relative; 
	float:left; 
	z-index:1205;
}

.important {
	border:1px solid #7F0B0B;
	margin:5px;
	background-color:#FFB491;
	background-image:none;
	padding:1px;
	color:#6D0A0A;
}

.important:hover {
	border:1px solid #7F0B0B;
	margin:5px;
	background-image:none;
}

.important:focus {
	border:1px solid #7F0B0B;
	margin:5px;
	background-color:#FFE4BD;
	background-image:none;
}


div.sbHighlight {
	padding-left:21px; 
	left:-22px; 
	width:95%; 
/*	border:1px solid black; 
	border-left:1px solid white; 
	border-right:5px solid #0084FF; */
	border-left:2px solid white; 
	border-top:1px solid #AAAAAA;
	border-right:1px solid #666666;
	border-bottom:1px solid #666666;
	position:relative;
	background-image:url(/img/sb_active.png);
	background-position:100%;
	background-repeat:repeat-y;
}

#contMenu {
	position:absolute; 
	z-index:9999;
	display:none;
	cursor:crosshair;
}

#contMenuItems {
	color:white; 
	padding:1px; 
	min-width:210px; 
	background-color:#3F3F3F;
	z-index:4; 
	display:block;
}

div.pagenav {
	text-align:center;
	padding:5px;
	margin-bottom:5px;
}

div.pagenav a {
	padding-left:9px;
	padding-right:9px;
	border-top:1px solid #CCCCCC;
	border-left:1px solid #CCCCCC;
	border-right:1px solid #777777;
	border-bottom:1px solid #777777;
	margin-left:1px;
	margin-right:1px;
	color:#2F5900;
	outline:none;
	cursor:default;
}

div.pagenav a:hover {
	color:black;
	background-color:#E5FFB9;
}

div.pagenav a:active {
	border-top:1px solid #666666;
	border-left:1px solid #666666;
	border-right:1px solid #BBBBBB;
	border-bottom:1px solid #BBBBBB;
}

div.pagenav span.current {
	padding-left:9px;
	padding-right:9px;

	border-top:1px solid #444444;
	border-left:1px solid #444444;
	border-right:1px solid #BBBBBB;
	border-bottom:1px solid #BBBBBB;
	
	margin-left:1px;
	margin-right:1px;
	background-color:#749700;
	cursor:default;
}

table.forum {
	border-collapse:collapse;
	width:100%;
}

table.forum th {
	text-align:left;
	font-weight:normal;
	border-left:1px solid white;
	border-right:1px solid white;
	background-color:#B9D9FF;
	color:black;
}

table.forum tr {
	border-top:1px solid white;
	border-bottom:1px solid white;
	background-color:#EEEEEE;
}

table.forum td {
	border:1px solid white;
	background-color:#EEEEEE;
	padding-left:10px;
	color:#555555;
	vertical-align:middle;
}

table.forum img {
	vertical-align:middle;
}

table.forum tr:hover {
	border-bottom:1px solid #AAAAAA;
}

table.forum a {
	color:black;
	border:0px;
	text-shadow:none;
}

table.forum a:hover {
	color:#333333;
	border:0px;
}

span.key {
	background-color:#E0E0E0;
	padding-right:3px;
	padding-left:3px;
	border-top:1px solid #b4b4b4;
	border-left:1px solid #b4b4b4;
	border-right:1px solid #555555;
	border-bottom:1px solid #555555;
}

div.cmenuTitle {
	text-align:center; 
	border-bottom:1px solid #AAAAAA;
	background-color:#111111;
	padding-left:7px;
	padding-right:7px;
	font-variant:small-caps;
	text-shadow:none;
}

div.cmenuSubTitle {
	text-align:center; 
	border-bottom:1px solid #888888;
	border-top:1px solid #888888;
	background-color:#2c2c2c;
	padding-left:7px;
	padding-right:7px;
	font-variant:small-caps;
	position:relative;
	top:-1px;
	text-shadow:none;
}

span.sc {
	font-variant:small-caps;
}

ul {
	list-style-image:url(/img/listItem.png);
}

ul.rules {
	list-style-image:url(/img/listItem.png);
}

ul.rules li:first-line {
	font-family:georgia;
}

ul.vlist {
	list-style-image:url(/img/blueflag.png);
	padding-left:23px;
	margin:0px;
	vertical-align:center;
	font-size:12px;
}
ul.vlist span {
	color:#777777; 
	position:relative;
	top:-1px;
	cursor:pointer;
/* 	display:inline-block; */
/* 	border:1px solid red; */
/* 	float:right; */
}

ul.vlist span:hover {
	color:#444444; 
}

.clickCoordSpan {
	color:#777777; 
	position:relative;
	top:-1px;
	cursor:pointer;
	font-size:70%;
/* 	display:inline-block; */
/* 	border:1px solid red; */
/* 	float:right; */
}

.clickCoordSpan:hover {
	color:#444444; 
}

a.right {
	color:black;
	text-decoration:none;
	padding-right:0px;
	padding-left:0px;
	border:1px solid transparent;
	position:relative;
	top:-2px;
	text-shadow:none;
}


table.profile {
	width:400px;
	border-collapse:collapse;
}

table.profile tr {
	border:1px solid #AAAAAA;
}

a.cmenu, a.cmenu:visited {
	display:block;
	color:white;
	border:0px;
	padding:5px;
	padding-top:1px;
	padding-bottom:1px;
	border-bottom:1px solid black;
	cursor:crosshair;
	height:17px;
	font-size:13px;
	background-color:#3F3F3F;
	text-shadow:none;
	text-decoration:none;
}
a.cmenu:hover {

}

div.helpbg {
	background-image:url(/img/helpbg.png);
	width:100%;
	height:100%;
	position:absolute;
	top:0px;
	left:0px;
	display:none;
	z-index:999;
}

#outer_hlpbox {
/* 	background-image:url(/img/33b.png);  */
	display:none; 
	padding:0px; 
	margin:0px; 
	top:0px; 
	left:0px; 
	position:fixed; 
	z-index:1000;
}

#inner_hlpbox {
	background-color:white; 
	color:#333333;
	border:5px solid #BBBBBB;
	outline:5px solid #555555;
	margin:0px;
	padding:0px;
	top:34px;
	left:12px;
	position:absolute;
	width:620px;
	height:380px;
	
}

#close_help {
	border-bottom:1px solid gray; 
	position:relative; 
	text-align:center; 
	color:#333333; 
	cursor:pointer;
	background-color:#EEEEEE;
	text-align:right;
	font-family:sans;
}

#close_help:hover {
	background-color:#DDDDDD;
}

#helptext {
	padding:5px;
	margin-bottom:5px; 
	overflow:auto;
	text-align:justify;
	height:350px;
	top:5px;
}

textarea {
	border-top:1px solid #CCCCCC;
	border-left:1px solid #CCCCCC;
	border-bottom:1px solid #888888;
	border-right:1px solid #888888;
	font-size:10pt;
	font-family:monospace;
	background-color:#EEEEEE;
	padding:10px;
}

textarea:focus {
	border-top:1px solid #666666;
	border-left:1px solid #666666;
	border-bottom:1px solid #AAAAAA;
	border-right:1px solid #AAAAAA;
	background-color:#DDDDDD;
}

a.right:hover {
	color:#333333;
	text-decoration:none;
	padding-left:0px;
	padding-right:0px;
	background-color:transparent;
	border:1px solid transparent;
	text-shadow:none;
}

a.ress {
	color:black;
	font-weight:bold;
	border:0px solid transparent;
	text-decoration:none;
	padding-left:0px;
	padding-right:0px;
	background-color:transparent;
	text-shadow:none;
}

a.nress_ie {
	display:none;
}

div.nress {
	color:white;
	display:block;
	border:0px solid red;
	text-decoration:none;
	background-image:none;
	padding:1px 4px 1px 4px;
	font-family:Serif;
	white-space: nowrap;
	z-index:-20;
	position:absolute;
	text-align:center;
	z-index:0;
	font-size:7pt;
}

div.nress:hover {
	background-image:url(/img/50b.png);
}

div.nress span {
	color:white;
}

div.nress a {
	color:white; 
}

a.footer {
	font-weight:normal; 
	color:#555555;
	border:0px;
	background-color:transparent;
	text-shadow:none;
}

a.footer:hover {
	color:#333333;
	text-shadow:none;
}

#bottom {
	position:absolute;
	width:100%;
	text-align:center;
	border-top:1px solid #CCCCCC;
	padding-top:5px;
	padding-bottom:5px;
	bottom:0px;
}

#body {
	background-color:#AAAAAA;
	background-image:url(/img/feorar_bg.gif);
	font-family:Verdana;
	font-size:10pt;
	position:relative;
	height:96%;
	width:99%;
	padding:0.5%;
	margin:0px;
}

#all {
	margin:auto auto;
	border:1px solid #AAAAAA;
	position:relative;
	width:950px;
	background-color:white;
}

#ress_img {
	position:absolute;
	top:1px;
	left:2px;
}

#ress_div {
	position:absolute;
}

#ress_links {
	position:relative;
	top:-10px;
	left:3px;
}

#footer {
	position:relative;
	width:950px;
	margin:auto auto;
	text-align:center;
	border-bottom:1px solid #AAAAAA;
	border-right:1px solid #AAAAAA;
	border-left:1px solid #AAAAAA;
	padding-top:2px;
	padding-bottom:2px;
	font-size:8pt;
	font-family:Verdana;
	background-color:#CCCCCC;
	color:#555555;
}

#down {
	position:relative;
	padding:10px;
	top:145px;
	padding-bottom:210px;
}

#right_sidebar {
	position:relative;
	vertical-align:top;
	width:220px;
}

#right_border {
	border-left:1px solid black;
	padding-left:20px;
}

#left_content {
	position:relative;
	width:680px;
	vertical-align:top;
	padding-right:20px;
}

#ress {
	position:relative; 
	top:0px;
	width:920px;
	left:0px;
	text-align:center;
	font-size:9pt;
	color:white;
	background-color:#444444;
/* 	-moz-border-radius:4px; */
	padding-top:2px;
	padding-bottom:2px;
	margin-bottom:10px;
}

#down_infobox {
	position:relative; 
/* 	top:30px; */
	width:920px;
	left:0px;
	text-align:center;
	font-size:9pt;
	color:white;
	background-color:#444444;
/* 	-moz-border-radius:4px; */
	padding:0px;
	padding-top:2px;
	margin-bottom:10px;
}

a.up {
	color:white;
	border:0px;
	text-shadow:inherit;
	font-family:georgia;
	font-variant:normal;
	font-size:13px;
}

a.up:hover {
	color:#DDDDDD;
	border:0px;
	text-shadow:none;
}

#linklist {
	position:absolute; 
	top:129px;
	width:950px;
	text-align:center;
	font-size:9pt;
	color:white;
}

#notloggedin {
	position:absolute;
	left:15px; 
	top:22px;
}

#login {
	position:absolute;
	left:10px; 
	top:5px;
	padding:5px;
/* 	background-image:url(/img/33b.png); */
/* 	border-top:1px solid #111111; */
/* 	border-left:1px solid #111111; */
/* 	border-right:1px solid #333333; */
/* 	border-bottom:1px solid #333333; */
	cursor:pointer;
}
/*
#login:hover {
	background-image:url(/img/50b.png);
}*/

#head {
	background-image:url(/img/banners/create_banner.php);
	position:absolute;
	width:950px;
	height:150px;
	background-color:#A5A5A5;
	border-bottom:1px solid black;
}

#headings {
	position:absolute;
	left:35px; bottom:40px;
}

input[type=button],input[type=submit] {
	border-left:1px solid #CCCCCC;
	border-top:1px solid #CCCCCC;
	border-bottom:1px solid #B0B0B0;
	border-right:1px solid #B0B0B0;
	color:black;
	background-color:#EEEEEE;
}

input[type=button]:hover,input[type=submit]:hover {
	text-shadow:#444444 0px 0px 3px;
}

input[type=button]:focus,input[type=submit]:focus {
/* 	border-bottom-color:#7F9DFF; */
}

input[type=text],input[type=password] {
	border-left:1px solid #CCCCCC;
	border-top:1px solid #CCCCCC;
	border-bottom:1px solid #B0B0B0;
	border-right:1px solid #B0B0B0;
	color:black;
	background-color:#EEEEEE;
}

input[type=text]:hover,input[type=password]:hover {
	border-left:1px solid #CCCCCC;
	border-top:1px solid #CCCCCC;
	border-bottom:1px solid #B0B0B0;
	border-right:1px solid #B0B0B0;
	color:black;
	background-color:#EEEEEE;
}

input[type=text]:focus,input[type=password]:focus {
	border-left:1px solid #CCCCCC;
	border-top:1px solid #CCCCCC;
	border-bottom:1px solid #B0B0B0;
	border-right:1px solid #B0B0B0;
	color:black;
	background-color:#EEEEEE;
}

input:disabled {
	background-image:none; 
	color:#555555; 
	border:0px solid black; 
	background-color:transparent; 
	text-align:left;
	color:#333333;
}

div.help_box {
	position:relative;
}

div.helpbox_active {
	border:2px solid #D70000;
}

div.helpbox_active:hover {
	border:2px solid #FF9900;
	background-color:#FFECCB;
}

h1 {

}

div.top_heading {
	font-size:16pt;
	font-variant:small-caps;
	color:white;
	font-family:serif;
	padding:0px;
	margin:0px;
	text-shadow:black 2px 2px 1px;
	font-weight:bold;
}
div.top_heading:after {
	content:none;
}

h2 {
	position:relative;
	max-width:600px;
	font-size:14pt;
}



h3 {
	position:relative;
	max-width:500px;
	font-size:12pt;
}

h3:after {
	content:url(/img/h3.png);
	display:block;
}

h3.rh {
	position:relative;
	max-width:200px;
	font-size:10pt;
	text-shadow:none;
}

h3.rh:after {
	content:url(/img/h3r.png);
	display:block;
}

h4 {
	position:relative;
	max-width:400px;
	font-size:11pt;
}

h4:after {
	content:url(/img/h4.png);
	display:block;
}

h5 {
	border-bottom:1px dotted #A2F7FF;
	font-size:10pt;
}

img {
	border:0px;
}

div.map_hpbar {
	position:absolute;
	border:1px solid black;
	padding:0px;
	padding-right:2px;
/* 	padding:2px; */
	margin:0px;
	width:30px;
	background-color:black;
	opacity:0.8;
}
div.map_hpbar div {
	position:relative;
	background-color:#03DAFF;
	padding:1px;
}

div.map_hpbar_block {
	position:absolute;
	border:1px solid black;
	padding:0px;
	padding-right:2px;
	margin:0px;
	width:30px;
	background-color:black;
	opacity:0.8;
}
div.map_hpbar_block div {
	position:relative;
	background-color:#FF5900;
	padding:1px;
}

div.map_hpbar_siege {
	position:absolute;
	border:1px solid black;
	padding:0px;
	padding-right:2px;
	margin:0px;
	width:30px;
	background-color:black;
	opacity:0.8;
}
div.map_hpbar_siege div {
	position:relative;
	background-color:#DE0000;
	padding:1px;
}

table.troops { 
	border-collapse:collapse; 
	margin:5px;
	width:600px;
	position:relative;
}
table.troops td { 
	padding:2px; 
	padding-left:3px; 
	padding-right:3px; 
	border:1px solid #CCCCCC; 
	position:relative; 
	min-width:30px; 
	text-align:center; 
}
table.troops tr { 
	border:1px solid #CCCCCC;
}

table.troops td.mark {
	font-weight:bold;
	color:black;
}

table.troops td.dontmark {
	font-weight:normal;
	color:#777777;
}

table.kasi {
	border-collapse:collapse; 
	margin-top:5px; 
}

table.kasi td { 
	padding:2px; 
	padding-left:2px; 
	padding-right:2px; 
	border:1px solid #CCCCCC; 
	position:relative; 
	min-width:80px; 
	text-align:center; 
}
table.kasi tr { 
	border:1px solid #CCCCCC;
}

table.details{
	padding:5px;
	position:absolute; 
	left:340px; 
	top:350px;
	border-collapse:collapse;
}

table.details tr{
	border-bottom:1px dashed #777777;
}

table.details td{
	padding-left:10px;
}

table.map {
	border:0px solid black;
}

table.map td {
	border:0px solid grey;
	padding:0px; 
	margin:0px;
}

table.map tr {
	border:0px solid grey;
	padding:0px; 
	margin:0px;
}

table.stat {
	padding:5px; 
	border-collapse: collapse;
	font-size:10pt;
	position:relative;
	width:640px;
}
table.stat thead tr,table.stat thead tr:hover {

}
table.stat th {
	font-weight:normal;
	border-left:1px solid white;
	border-right:1px solid white;
	background-color:#B9D9FF;
	color:black;
}
table.stat td {
	padding-left:10px;
	border:1px solid white;
}

table.stat tr {
	border-bottom:1px solid #FFFFFF;
}
table.stat tr.odd {
	background-color:#F2F2F2;
}

table.stat tr.mark {
	background-color:#E5FFCD;
	border-bottom:1px solid #BBBBBB; 
}

table.stat td:hover {
/* 	background-color:#C4FFF0; */
}

table.stat a {
	border:0px;
}

table.stat thead tr .headerSortUp {
	background-image: url(/img/asc.gif);
	background-repeat: no-repeat;
	background-position: center right;
}
table.stat thead tr .headerSortDown {
	background-image: url(/img/desc.gif);
	background-repeat: no-repeat;
	background-position: center right;
}
table.stat thead tr .headerSortDown, table.stat thead tr .headerSortUp {
	background-color: #8dbdd8;
}

table.profile {
	border-collapse:collapse;
}

table.profile tr {
	border:1px solid #DDDDDD;
}

div.map_island {
	padding:1px;
}

div.map_water {
	padding:0px;
}

table.cc { }

table.cc td {
	color:black;
	font-weight:normal;
	position:relative;
	width:130px;
	padding:3px;
	padding-left:8px;
	padding-right:8px;
	border:1px solid transparent;
	text-align:center;
}
table.cc td:hover {
	background-color:#EAFFBF;
	border:1px solid #DCFF67;
	font-weight:normal;
	color:black;
	margin:8px;
	padding:3px;
	padding-left:8px;
	padding-right:8px;
}

table.cc tr {
	padding-bottom:20px;
}


.map_self {
	background-color:#FFEF06;
}
.map_self:hover {
	background-color:#FFBB00;
}

.map_enimy {
	background-color:#FF0191;
}
.map_enimy:hover {
	background-color:#C60000;
}

.map_neutral {
	background-color:grey;
}
.map_neutral:hover {
	background-color:#C0C0C0;
}

a.nohighlight {
	color:black;
	font-weight:normal;
	cursor:default;
	position:relative;
	display:block;
	width:130px;
	outline:0;
	border:0px solid black;
	background-color:transparent;
	text-shadow:none;
}

div.popup {
	display:none;
	position:absolute;
	background-color:white;
	border:1px solid grey;
	padding:5px;
	z-index:30;
}

input.pf {
	position:relative;
	top:-1px;
}

label.p {
	position:relative; 
	min-width:100%;
	display:inline-block;
	padding-bottom:1px;
	margin-bottom:2px;
}

label.p input[type=checkbox], label.p input[type=radio],label.selected input[type=checkbox], label.selected input[type=radio]  {
	position:relative;
	top:4px;
	border:1px solid red;
}

label.p:hover {
/* 	background-image:url(/img/glossy1.png); */
	background-color:#E4F8FF;
	background-position:-1px;
}

label.selected {
	position:relative; 
	min-width:100%;
	display:inline-block;
	padding-bottom:1px;
	background-color:#ABF8FF;
/*	border:1px solid #48C8FF;*/
/* 	background-image:url(/img/glossy2.png); */
	margin-bottom:2px;
}


label.p input {
	position:relative;
	top:-2px;
}

h3.s {
	border-bottom:1px solid black;
}

h3.s:after {
	content:'';
}


#ads a {
	border:0px;
	padding:0px;
	margin:0px;
}

#ads img {
	padding:0px;
}

#ads_frame {
	padding:1px;
	background-color:#444444;
	border:1px solid #777777;
	outline: 1px solid #AAAAAA;
	display:inline-block;
}

DIV.shadow, DIV.shadow2 {
   padding: 1px;
   border-radius: 10px;
   -moz-border-radius: 6px;
   margin:auto auto;
   max-width:956px;
   
   }
DIV.shadow2 {
   background-color: #CCCCCC;
   border: 1px solid #D4D4D4;
   
   }
DIV.shadow {
   background-color: #BBBBBB;
   border: 1px solid #C5C5C5;
/*    margin: 10px 14px; */
   }

DIV.bshadow, DIV.bshadow2 {
   padding: 1px;
   -moz-border-radius: 4px;
   }
DIV.bshadow2 {
   background-color: #DDDDDD;
   padding-left:0px;
   padding-top:0px;
   border-right: 1px solid #EEEEEE;
   border-bottom: 1px solid #EEEEEE;
   border-left: 1px solid #EEEEEE;
   border-top: 1px solid #EEEEEE;
   }
DIV.bshadow {
   padding-left:0px;
   padding-top:0px;
   background-color: #BBBBBB;
   border-right: 1px solid #CCCCCC;
   border-bottom: 1px solid #CCCCCC;
   border-left: 1px solid #CFCFCF;
   border-top: 1px solid #CFCFCF;
/*    margin: 10px 14px; */
   }

input.ddfield {
	color:black;
	background-image:url(/img/obg.png);
	border:1px solid #666666;
	background-repeat:repeat-y;
	cursor:default;
	background-position:-800px;
	text-align:center;
	background-color:#AAAAAA;
}

input.ddfield:hover {
	color:black;
	background-image:url(/img/obg.png);
	border:1px solid #666666;
	background-repeat:repeat-y;
	cursor:default;
	background-position:-800px;
	text-align:center;
	background-color:#BBBBBB;
}


input.ddfield_ac {
	color:#5FB200;
	border:1px solid #111111;
	background-image:url(/img/obg.png);
	cursor:default;
	background-repeat:repeat-y;
	background-position:-800px;
	text-align:center;
	background-color:#666666;
}

input.ddfield_n {
	color:black;
	border:1px solid black;
	cursor:default;
	text-align:center;
}

input.savebutton {
	background-image:url(/img/save_all.png); 
	min-width:22px;
	min-height:18px; 
	position:relative; 
	border:0px; 
	background-color:transparent; 
	background-repeat: no-repeat; 
	background-position:50%;
}

input.login, input.login:hover, input.login:focus {
	background-image:url(/img/lw.png);
	background-position:0px 0px;
	background-repeat:repeat;
	margin:0px;
	outline:none;
	border:1px solid #333333;
	color:black;
	background-color:transparent;
	top:0px;
}

input.login:focus {
	background-image:url(/img/50w.png);
	color:black;
}

fieldset.troops{
	border-left:2px solid #AAAAAA;
	border-top:2px solid #AAAAAA;
	border-right:2px solid #777777;
	border-bottom:2px solid #777777;
	margin:10px;
	margin-left:0px;
	margin-right:0px;
	padding:3px;
	padding-top:5px;
	padding-bottom:5px;
}

fieldset.troops legend.neutral {
	padding:0px;
	color:black;
	border:1px solid #AAAAAA;
	padding-left:15px;
	padding-right:15px;
	position:relative;
	margin-left:20px;
	background-color:#CCCCCC;
	font-variant:small-caps;
}

fieldset.troops legend.notgood {
	padding:0px;
	color:white;
	border:1px solid #330000;
	padding-left:15px;
	padding-right:15px;
	position:relative;
	margin-left:20px;
	background-color:darkred;
	font-variant:small-caps;
}

fieldset.troops legend.good {

}

span.debug {
font-family:monospace; font-size:10px; color:#777777;
}
span.debug span {
color:#7FBE00;
}

#ad_bar {
	margin-bottom:5px;
}

#ad_bar table td {
	width:33%;
	text-align:left;
	background-color:transparent;
}

#ad_bar input {
	position:relative;
	margin-top:2px;
	left:100%;
}
#ad_bar div {
	background-color:transparent;
	background-image:url(/img/glossybar.png);
	margin:auto auto;
	text-align:right;
}

#ad_bar div table {
	position:relative;
	margin:0px;
	right:0px;
	background-color:transparent;
}

#ad_bar a {
	border:0px;
	text-decoration:none;
}

#ad_bar select {
	margin-top:1px;
	margin-right:2px;
	background-color:#AAAAAA;
}

#ad_bar select option {
	background-color:#AAAAAA;
}


a.banner_header:link,a.banner_header:visited {
	color:white;
	font-weight:bold;
	text-shadow:#939393 2px 2px 3px,#939393 -2px -2px 3px,#939393 -2px 2px 3px,#939393 2px -2px 3px;
	border:0px;
}

.forum_nav {
	display:block;
	margin:6px;
	padding:0px;
	background-color:#D7E4FF;
	border:1px solid #777777;
	margin-bottom:25px;
}

.forum_nav a {
	color:black;
	text-shadow:none;
	display:inline-block;
	padding:3px;
	border-bottom:1px solid transparent;
}

.forum_nav img {
	vertical-align:middle;
	padding-left:2px;
	padding-right:2px;
}

.forum_nav a:hover {
	color:black;
	text-shadow:none;
	display:inline-block;
	background-color:#8EB6FF;
	border-bottom:1px solid #5096FF;
}

#umfrage input[type=radio] {
	display:none;
}

#umfrage label {
	margin:3px;
	padding:2px;
	-moz-border-radius:3px;
	background-color:white;
}

#new_ress {
	position:absolute;
	bottom:0px;
	left:0px;
	width:100%;
	background-image:url(/img/50w.png);
	font-family:serif;
	text-align:center;
	border-top:1px solid black;
	padding-top:2px;
	padding-bottom:2px;
}
