body
{
	font-family: Verdana, Arial, Helvetica, Sans-serif;
	font-size: 10px;
	color: black;
	background-image: url(../img/background.jpg);
	background-repeat: repeat-x;
	background-color: #748087;
	text-align: center;
	margin: 0;
	padding: 0;
	margin-bottom: 50px;
}

img
{
	border: none;
}


div
{
	position: relative; 
	margin: 0;
	padding: 0;
}

a
{	
	color: gray;
	text-decoration: underline;
} 
a:hover 
{
	color: black; 
	text-decoration: none;
} 

td a
{
	text-decoration: none;
}

._table td p
{
	margin: 0;
	padding: 0;
} 

table, tbody, tr, td
{
	margin: 0;
	padding: 0;
	border-spacing: 0;
}

.maincontent
{
	margin: auto;
	width: 962px;
	padding: 10px;
	border: 1px solid #aaa;
	text-align: center;
	background-color: white;
	margin-bottom: 15px;
}

#topmenu
{
	float: right;
	height: 20px;
	z-index: 10;
	margin-right: 20px;
}

#topmenu ul
{
	list-style: none;
	margin: 0;
	padding: 0;
}

#topmenu li
{
	list-style: none;
	display: block;
	float: left;
	
	background-image: url(../img/tab_back.png);
	background-repeat: repeat-x;
	margin-right: 15px;
}

#topmenu a
{	
	color: black;
	font-weight: 900;
	text-decoration: none;

	vertical-align: 60%;
} 

#topmenu a:hover 
{
	color: gray; 
	font-weight: 900;
	text-decoration: none;
}


#footer
{
	color: #ddd;
	width: 100%;
	background-image: url(../img/footer_bg.gif);
	background-repeat: repeat-x;
	background-color: #000;
	position: fixed;
	border-top: 1px solid #000;
	height: 21px;
	padding-top: 3px;
	bottom: 0px;
	left: 0px;
}

#footer a
{	
	color: white;
	font-weight: 900;
	text-decoration: none;
} 
#footer a:hover 
{
	color: gray; 
	font-weight: 900;
	text-decoration: none;
}

.form p, .form div.content
{
	margin: 10px;
}

.center
{
	text-align: center;
}

.right
{
	text-align: right;
	font-size: 90%;
}

.middle
{
	vertical-align: middle;
	display: table-cell; 
}

.normal_cursor
{
	cursor: default !important;
}

.error_title
{
	color: red;
	font-weight: 900;
	font-size: 1.25em;
}

.loser, .loser a
{
	color: red;
}

.winner, .winner a
{
	color: green;
}

.information_head
{
	background-image: url('../img/header_green.png') !important; 
}

.legal_head
{
	background-image: url('../img/header_red.png') !important; 
}

.winner_head
{
	background-image: url('../img/header_green.png') !important; 
}

.loser_head
{
	background-image: url('../img/header_red.png') !important; 
}

.three_table 
{
	width: 960px;
	text-align: left;
	border-spacing: 4px;
}
.three_table td.three_td
{
	width: 320px;
	vertical-align: top;
}

div.form a img
{
	margin-bottom: -4px;
}

.two_table 
{
	width: 960px;
	text-align: left;
	
	border-spacing: 4px;
}
.two_table td.two_td
{
	width: 480px;
	vertical-align: top;
}

.shiptype
{
	margin-right: 2px !important;
	margin-left: 5px;
}

.destroyed
{
	color: red;
}

.flight
{
	color: blue;
}

.damaged
{
	color: orange;
}

.leftover
{
	color: green;
}

table.statistics img
{
	margin-left: 13px;
}

._table_row_even.status_flight
{
	background-color: #D0D0FF !important;
}
._table_row_uneven.status_flight
{
	background-color: #B7B7FE !important;
}
._table_row_even.status_damaged
{
	background-color: #FBDEAB !important;
}
._table_row_uneven.status_damaged
{
	background-color: #FFCB70 !important;
}
._table_row_even.status_destroyed
{
	background-color: #FBABAB !important;
}
._table_row_uneven.status_destroyed
{
	background-color: #FF7A7A !important;
}
._table_row_even.status_damagedflight
{
	background-color: #FBDEAB !important;
	background-image: url(../img/backfill_damagedflight_even.png) !important;
}
._table_row_uneven.status_damagedflight
{
	background-color: #FFCB70 !important;
	background-image: url(../img/backfill_damagedflight_uneven.png) !important;
}

/**/

/***********************************/

._button
{
    border: gray 1px solid;
    BACKGROUND-COLOR: white;
	font-size: 10px;
    color: #616161;
}

._input
{
    border: gray 1px solid;
    BACKGROUND-COLOR: white;
	font-size: 10px;
    color: #616161;
	margin: auto;
}

._maindiv
{
	position: relative; 
	border: 1px solid #777; 
	overflow: hidden; 
	text-align: left;
	padding: 0px;
}

._table
{
	background-color: white;
	font-size: 10pt;
}

._table_header
{
	background-image: url('../img/header_blue.png'); 
	height: 27px; 
	color: white; 
	font-weight: bold; 
	font-size: 14pt;	
	padding-left: 5px;
	vertical-align: top;
}

._table_header img 
{
	margin-right: 4px;
}

.trr
{
	background-image: url('../img/resize.gif'); 
	width: 2px; 
	margin: 0px;	
}

._table_header_row
{
	background-color: #EBEADB; 
	font-weight: bold;
	padding-left: 5px;
	padding-bottom: 0px;
	position: relative; 
	height: 18px; 
	overflow: hidden; 
	font-size: 10px;	
	cursor:pointer;
	border-bottom:2px solid #cbc7b8;
	border-top: 1px solid white;
	border-left: 1px solid white;
	border-right: 1px solid white;
	margin-bottom: 0px;
	background-image: url('../img/column.png'); 
}

._table_header_row:hover
{	
	border-bottom:2px solid #f9b119;
	background-color: #FAF9F4;
	background-image:  url('../img/column_on.png'); 
}

._column_resize
{
	cursor: e-resize; 
	width: 2px; 
	background-color: #cbc7b8;
	border-bottom:2px solid #cbc7b8;
	padding-bottom: 0px;
	margin-bottom: 0px;
}

._table_row_uneven
{
	background-color: #EBEADB; 
	vertical-align: middle;
}

._table_row_even
{
	vertical-align: middle;
}


._footer
{
	background-color: #f9f9f9; 
	height: 20px; 
	color: #616161;
}

tr._footer > td
{
	border-top: 2px solid #cbc7b8;
	padding: 2px;
}

._tc
{
	padding: 2px; 
	position: relative; 
	min-height: 17px;
	overflow: hidden;
	margin: 0px; 
	font-size: 10px;
}

._tc img
{
	margin-right: 5px;
	vertical-align: middle;
}
.shiptypes ._tc b
{
	font-size: 15px;	
	padding-right: 15px;
	border-right: 2px solid #cbc7b8;
	display: block;
}

.div_footer
{
	background-color: #f9f9f9; 
	border-top: 2px solid #cbc7b8;
	color: #616161;
}

/******/

#fights ._table_header
{
	background-image: url('../img/header_red.png'); 
}

#done_damage ._table_header
{
	background-image: url('../img/header_green.png'); 
}

#rec_damage ._table_header
{
	background-image: url('../img/header_red.png'); 
}

#combat_damage ._table_header
{
	background-image: url('../img/header_violet.png'); 
}

#done_costs ._table_header
{
	background-image: url('../img/header_green.png'); 
}

#rec_costs ._table_header
{
	background-image: url('../img/header_red.png'); 
}

#combat_costs ._table_header
{
	background-image: url('../img/header_yellow.png'); 
}

#done_werft ._table_header
{
	background-image: url('../img/header_green.png'); 
}

#rec_werft ._table_header
{
	background-image: url('../img/header_red.png'); 
}

#combat_werft ._table_header
{
	background-image: url('../img/header_blue.png'); 
}

#user_combats ._table_header
{
	background-image: url('../img/header_violet.png'); 
}

#alliance_combats ._table_header
{
	background-image: url('../img/header_blue.png'); 
}

#att_ships ._table_header
{
	background-image: url('../img/header_violet.png'); 
}

#def_ships ._table_header
{
	background-image: url('../img/header_yellow.png'); 
}

#HTML_AJAX_LOADING
{
	position: fixed !important;
	top: auto !important;
	bottom: 25px;
	right: 0px;
}

.voter 
{
	margin-top: 3px;
}
img.star_vote 
{
	width:10px;
	height:10px;
	background-image:url(../img/vote_star.png);
	background-position: left 10px;
	padding: 0;
	margin: 0;
}
img.star_vote.has_vote
{
	background-position: left 0px;
}
img.star_vote:hover
{
	background-position: left 20px;
}

img.star_vote.cant_vote:hover {
	background-position: left 10px;
}
img.star_vote.has_vote.cant_vote:hover {
	background-position: left 0px;
}


tr.sum 
{
	font-weight: 900;
}
tr.sum td
{
	border-top: 2px solid #cbc7b8;
	padding-bottom: 10px;
}