html, body
{
  color: #cccccc;
  font-size: 10px;
  margin: 0px;
  padding: 0px;
  height: 100%;
}

font,th,td,p,a,div
{
  font-family: Verdana, 'Bitstream Vera Sans', Arial, Helvetica;
}

P
{
  margin: 0.5em 0em 0.5em;
}

td
{
  padding: 1px;
}

input, button, select
{
  font-size: 10px;
}

/* generic link */
a:link,
a:visited,
a:active
{
  font-weight: bold;
  text-decoration: none;
}
a:hover
{
  font-weight: bold;
  text-decoration: underline;
}

FIELDSET
{
  border-style: none;
  margin: 10px 0px 0px;
  padding: 0px;
  position: relative;
  width: 100%;
}

LEGEND
{
  border-style: none;
  border-bottom: 1px solid #777777;
  color:#FFA500;
  cursor: pointer;
  font-size:13px;
  font-weight:bold;
  height: 1em;
  margin-bottom: 5px;
  margin-top:12px;
  padding-bottom:5px;
  position: relative;
  width: 100%;
}

/* top navigation row */
.navigation
{
  padding: 0px;
  border-collapse: collapse;
  border-spacing: 1px;
  width: 100%;
  height: 25px;
}
.navigation tr td
{
  text-align: center;
}
/* top message */
.message
{
  font-size: 14px;
  border-top-width: 0px; /* message lies directry under navigation table */
}
.message tr td
{
  border-width: 0px;  /* we have to override style for .navigation tr td */
}

/* top usermenu row */
.usermenu
{
  padding: 0px;
  border-collapse: collapse;
  border-spacing: 1px;
  width: 100%;
  height: 25px;
  text-align: right;
}
.usermenu form		/* special for center align in opera */
{
  margin: 0px;
}
.usermenu tr td		/* each usermenu column */
{
  padding-right: 5px;
}
.usermenu tr > td	/* first column */
{
  width: 100%;
}
#usermenu-login		/* panel with login/pass inputs */
{
  display: none;
}
#usermenu-login-btn	/* pseudo-button for show/hide usermenu-login */
{
  cursor: pointer;
  font-weight: bold;
}

/* top navigation menu link */
.link
{
  padding: 2px;
}

#popup
{
  position:absolute;
  width:99%;
  z-index:3;
  padding: 5px;
  vertical-align: top;
}

/* pop-up windows with killmail, EFT fitting or smth */
#popup-table
{
	border: #777777 solid 1px;
	height: 100%;
	vertical-align: top;
}

#screentbl
{
  border: none;
  margin: 0px;
  padding: 0px;
  height: 100%;
  width: 100%;
  border-spacing: 0px;
}

#screentbl + body
{
  height: 100%;
}
#screentbl + body + tr
{
  height: 100%;
  margin: 0px;
  padding: 0px;
}

/* main table, really */
#main-table-center
{
  width: 950px;
  height: 100%;
  border-width: 0px 1px;
  border-style: solid;
  padding: 0px;
  border-collapse: separate;
  border-spacing: 0px;
}

/* central field of main table */
#content
{
  padding: 10px;
}

/* side field of main table (context menu) */
#context
{
  padding: 10px;
  width: 145px;
}

/* top emergency message. usually, hidden */
#message
{
  color: #ff0000;
}


/* kill points -- text with BIG NUMBERS in box on kill_details page */
DIV.kill-points
{
  font-weight: bold;
  font-size: 18px;
  text-align: center;
}

/* efficiency bar background */
DIV.subbar
{
  height: 6px;
  background: #550000;
  width: 100%;
  text-align: left;
}

/* 1. efficiency bar
   2. ship count bar (kill_related - statistics)
*/
DIV.bar
{
  height: 6px;
  background: #ffa500;  /* color should differs from link text color */
  border-bottom: 1px #ac7000 solid;
  border-right: 1px #ac7000 solid;
  font-size: 4px;
}

/* lost ships count bar -- kill_related - statistics */
DIV.bar-red
{
  height: 6px;
  background: #990000;
  border-bottom: 1px #550000 solid;
  border-right: 1px #550000 solid;
  font-size: 4px;
}

/* vertical bar for kills */
DIV.vertbarkill
{
  position:absolute;
  bottom:0;
  left:0;
  background: #146B14;
  font-size: 4px;
}

/* vertical bar for losses */
DIV.vertbarloss
{
  position:absolute;
  bottom:0;
  right:0;
  background: #492929;
  font-size: 4px;
}

/* menu box body */
DIV.menu-wrapper
{
  padding-top: 5px;
  padding-bottom: 5px;
}

/* menu box caption (section header) */
DIV.menu-caption
{
  margin-top: 5px;
  margin-bottom: 5px;
  font-weight: bold;
  padding-left: 5px;
}

/* menu box item (link) */
DIV.menu-item
{
  font-weight: bold;
  padding-left: 15px;
}

/* generic separator */
HR
{
  height: 1pt;
  width: 100%;
  padding: 0px;
  margin: 3px auto;	/* align for mozilla */
  text-align: center; /* align for IE */
  border: 0px;
  border-collapse: separate;
  border-spacing: 0px;
  border-bottom: 1px solid #777777;
}

/* menu box separator (hr) */
HR.menu-separator
{
  width: 95%;
}

/* main page title */
H1
{
  margin: 5px 5px 0px; /* top - l+r - bottom */

  height: 25px;
  color: #cccccc;
  border-bottom: 1px solid #777777;

  font-size: 16px;
  font-weight: bold;
}

/*  header of page section */
H2
{
  margin-top: 20px;
  margin-bottom: 10px;
  padding-bottom: 5px;

  color: #cccccc;
  border-bottom: 1px solid #777777;

  font-size: 13px;
  font-weight: bold;
}

/* header of table with active campaigns (home) */
H2.kb-campaigns-header
{
  background-image: url("../img/campaign.gif");
  background-repeat: no-repeat;
  background-position: 0px -3px;
  padding-left: 25px;
}

/* header of killlist table with kills */
H2.kb-kills-header
{
  background-image: url("../img/kills.gif");
  background-repeat: no-repeat;
  background-position: 0px -3px;
  padding-left: 25px;
}

/* header of killlist table with losses */
H2.kb-losses-header
{
  background-image: url("../img/losses.gif");
  background-repeat: no-repeat;
  background-position: 0px -3px;
  padding-left: 25px;
}

/* header of contract targets table (cc_details) */
H2.kb-contract-target-header
{
  background-image: url("../img/contract-target.gif");
  background-repeat: no-repeat;
  background-position: 0px -3px;
  padding-left: 25px;
}

/* use on headers of object that can be hidden */
.displayed,
.hidden
{
  background-repeat: no-repeat;
  background-position: 0px 3px;
  padding-left: 13px;
  cursor: pointer;
}
.displayed
{
  background-image: url("../img/hide.png");
}
.hidden
{
  background-image: url("../img/show.png");
}
.hidden+div	/* initial state for hidden blocks */
{
  display: none;
}

.minor-text
{
  font-weight: normal;
  color: rgb(123, 123, 123);
  font-size: 90%;
}

/* header of page subsection */
H3
{
  margin-top: 10px;
  margin-bottom: 5px;

  color: #cccccc;

  font-size: 12px;
  font-weight: bold;
}

/* 1. header of killlist table with date
   2. header of overview table (related_kills)
 */
H3.kb-date-header
{
  background-image: url("../img/day.gif");
  background-repeat: no-repeat;
  background-position: 0px 15px;
  margin: 0px 0px 5px;
  padding-left: 20px;
  padding-top: 15px;
}

/* header for ship details section */
H3.kb-kill-verified,
H3.kb-kill-not-verified
{
  background-repeat: no-repeat;
  background-position: 0px -1px;
  padding-left: 18px;
}
H3.kb-kill-verified
{
  background-image: url("../img/verified.png");
}
H3.kb-kill-not-verified
{
  background-image: url("../img/not-verified.png");
}

/* textarea for killmail */
textarea.killmail
{
  font-family: Arial, Verdana, 'Bitstream Vera Sans', Helvetica;
  font-size: 11px;
}

/* generic tables (including internal) */
table.kb-table,
table.kb-subtable,
table.sortable
{
  padding: 0px;
}

/* generic tables (may contain borders) */
table.kb-table,
table.sortable
{
  border: 1px solid #444444;
  border-collapse: separate;
  border-spacing: 1px;
}

/* any table header */
tr.kb-table-header,
tr.sorttable_nosort
{
  height: 20px;
  font-size: 11px;
  font-weight: bold;
}
tr.kb-table-header TH
{
  padding: 2px;
}

/* special small header for some tables (i.e. campaign list)*/
tr.kb-table-smallheader
{
  height: 15px;
  font-size: 10px;
  font-weight: bold;
}
tr.kb-table-smallheader TH
{
  padding-left: 4px;
  padding-right: 4px;
}

/* item icons */
.item-icon
{
  border: 1px solid #333333;
}

/* base table cell */
/* footer table cell -- optional */
td.kb-table-cell,
td.kb-table-footer,
tr.kb-table-footer > td
{
  padding: 2px;
  padding-left: 3px;
  padding-right: 3px;
}

/* amount of kills equal zero (summarytable and others) */
.kl-kill-null, .kl-loss-null
{
  color: #aaaaaa;
}

/* amount of kills (usually -- green) */
.kl-kill
{
  color: #00ee00;
}

/* amount of losses (usually -- red) */
.kl-loss
{
  color: #ee0000;
}

/* table cell with total amount of kills */
td.kl-kill-bg
{
  background: #003300;
  color: #00bb00;
  font-weight: bold;
}

/* table cell with total amount of losses */
td.kl-loss-bg
{
  background: #330000;
  color: #bb0000;
  font-weight: bold;
}

/* eve time box */
#clock
{
	text-align: center;
	font-weight: bold;
	font-size: 11px;
}

/* textarea for comments & twitter */
TEXTAREA.comment
{
  background-color: #292929;
  border: 1px solid #292929;
  color: #cccccc;
  font-size: 12px;
  font-family: Arial, Helvetica, sans-serif;
}
TEXTAREA.comment:focus
{
  border-color: #FFFFFF;
}

/* input controls for comments */
INPUT.comment-button
{
  background-color: #292929;
  border: 1px solid #292929;
  color: #cccccc;
  font-size: 12px;
  margin-top: 5px;
  padding-left: 8px;
  font-family: Arial, Helvetica, sans-serif;
}
INPUT.comment-button:focus
{
 border-color: #FFFFFF;
}

/* damage done by pilot (overview table in related_kills) */
.damage-done
{
  color: #ffffff;
  text-align: right;
  font-weight: normal;
  font-size: 8px;
  vertical-align: bottom;
}
.damage-done-top	/* top damager */
{
  color: lime;
}

/* calendar styles */
td.cal_month
{
  font-weight: bold;
  cursor:pointer;
}
td.cal_month_on
{
  font-weight: bold;
  color: #FFA500;
  cursor:pointer;
}
td.cal_cw_t
{
  padding: 0px; 
  border-spacing: 0px;
  text-align:center;
  background-color: #999999;
  font-weight: bold;
}

td.cal_cw, td.cal_cw_s
{
  border-top: 1px solid #000;
  padding: 0px; 
  border-spacing: 0px;
  text-align:center;
  background-color: #444444;
  font-weight: bold;
  cursor:pointer;
}
td.cal_cw_s
{
  border: 1px solid #007700;
}
td.cal_cw_on
{
  padding: 0px; 
  border-spacing: 0px;
  text-align:center;
  background-color: #007700;
  color: #FFA500;
  font-weight: bold;
  cursor:pointer;
}
td.cal_day_t
{
  padding: 0px; 
  border-left: 1px solid #000;
  border-spacing: 0px;
  height: 16px;
  width: 16px;
  text-align:center;
  background-color: #666666;
  font-weight: bold;
}
td.cal_day, td.cal_day_s, td.cal_day_om, td.cal_day_on
{
  padding: 0px; 
  border-spacing: 0px;
  border: 1px solid #000;
  height: 18px;
  width: 16px;
  text-align:center;
  vertical-align: middle;
  cursor:pointer;
}
td.cal_day_s
{
  border: 1px solid #005500;
}
td.cal_day_om
{
  color: #777777;
}
td.cal_day_on
{
  background-color: #005500;
  border: 1px solid #005500;
  color: #FFA500;
}
a.calLink:link, a.calLink:visited
{
  color: #FFFFFF;
  font-weight: normal;
}
a.calLinkToday:hover
{
  color: #FFA500;
  background-color: #005500;
  font-weight: bold;
}
a.calLinkToday:link, a.calLinkToday:visited
{
  color: #FFFFFF;
  background-color: #770000;
  font-weight: bold;
}
a.calLink:hover
{
  color: #FFA500;
  font-weight: normal;
}
a.calLink_cw:link, a.calLink_cw:visited
{
  color: #FFFFFF;
}
a.calLink_cw:hover
{
  color: #FFA500;
}
a.calLink_om:link, a.calLink_om:visited
{
  color: #777777;
  font-weight: normal;
}
a.calLink_om:hover
{
  color: #FFA500;
  font-weight: normal;
}

.datatable
{
  text-align: center;
  width:100%;
  margin-bottom: 3px;
}
.datatable td
{
  padding: 2px;
  padding-left: 3px;
  padding-right: 3px;
}
.item-title
{
  text-align: left;
}
.item-price
{
  text-align: right;
}

/* styles for tab structure */
.tabs	/* root element for tabs  */
{
	list-style:none;
	margin: 1em 0 1em !important;
	padding: 0px;
	height: 2.1em;
	border-bottom:1px solid #666;
	position:relative;
}
.tabs li
{
	float: left;
}
.tabs li a
{
	border-bottom:0;
	color: #cccccc;			/* default color */
	cursor:pointer;
	font-weight: normal;
	line-height:2;
	min-width: 75px;
	padding: 0.5em 1em; /* tb - lr */
	text-decoration: none;
}
.tabs li a.current
{
	z-index:3;
	cursor: default;
	outline: none;
}
.tabs .current, .tabs .current:hover, .tabs li.current a
{
	border: 1px solid #777777;		/* H2 border-bottom style */
}
.tabs .tab-content
{
	padding:10px;
}
.panes .pane {		/* initially all panes are hidden */
	display:none;
}

/* registration table */
.kb-regtable
{
	border-collapse: separate;
	border-spacing: 0px;
	width: 710px;
}
/* label of input in registration form. used as field name */
.kb-regtable label
{
	clear:left;
	display: block;
	float: left;
	font-weight: bold;
	position: relative;
	text-align: right;
	width: 240px;
}
/* span in label in reg. form. used as field hint */
.kb-regtable label > span
{
	color: #777;
	display: block;
	font-size: 0.9em;
	font-weight: normal;
	text-align: right;
	width: 240px
}
/* input field in reg. form */
.kb-regtable input
{
	display: block;
	float: left;
	margin: 0 5px;
	padding: 4px 2px;
	position: relative;
	width: 200px;
}
/* span after input in reg. form */
.kb-regtable input + span
{
	display: block;
	float: left;
	margin: 0 0 20px 10px;
	min-height: 25px;
	height: auto !important; /* for IE */
	height: 25px;			 /* for IE */
	position: relative;
	vertical-align: middle;
	width: 240px;
}
/* image/span inside span after input in reg. form (operation status) */
.kb-regtable input + span img,
.kb-regtable input + span span
{
	vertical-align: inherit;
}
/* reg. form submit button */
.kb-regtable button
{
	margin-left: 245px;
	width: 125px;
}

#apikey
{
	width: 400px;
}

#apikey  + span
{
	width: 40px;
}

/* вкладка FleetComposition на странице Related*/
.b-fleetcomposition
{
	margin-left:auto;
	margin-right:auto;
	width: 95%;
}

/* generic form */
.kb-form
{
	display: block;
	float: left;
	width: 710px;
}
/* input field in generic form */
.kb-form input
{
	display: block;
	float: left;
	margin: 0 5px;
	padding: 4px 2px;
	position: relative;
	text-align: left;
}
.kb-form input[type=text]
{
	width: 200px;
}
.kb-form input[type=checkbox]
{
	width: 20px;
}

/* label of input in generic form. used as field name */
.kb-form label
{
	clear:left;
	display: block;
	float: left;
	font-weight: bold;
	position: relative;
	text-align: right;
	width: 240px;
}
/* span after input in generic form */
.kb-form input + span
{
	display: block;
	float: left;
	margin: 0 0 10px 0;
	min-height: 25px;
	height: auto !important; /* for IE */
	height: 25px;			 /* for IE */
	position: relative;
	vertical-align: middle;
}
.kb-form input[type=text] + span
{
	width: 240px;
}
.kb-form input[type=checkbox] + span
{
	width: 420px;
}

/* default cell style for kill table*/
.kb-killtable-ship-cell
{
	line-height: 14px;
}
.kb-battle-overview-ship-cell
{
	line-height: 16px;
}
/* img -- link to pod in kill table */
.b-pod-link
{
	border: none;
	vertical-align: top;
	float: right;
}

/* battle list table */
.kb-battles-table td
{
	padding: 5px;
}
.kb-battles-table .date
{
	font-size: 14px;
}
.kb-battles-table .title,
.kb-battles-table .custom-name
{
	font-size: 14px;
	padding: 3px;
	padding-left: 10px;
}
.kb-battles-table .custom-name
{
	font-weight: bold;
	padding-left: 0px;
	padding-bottom: 0px;
}
.kb-battles-table .entry,
.kb-battles-table .entry-ex
{
	float: left;
	padding-left: 8px;
	padding-right: 8px;
	padding-bottom: 2px;
	font-size: 11px;
	min-width: 120px;
}
.kb-battles-table .entry-ex
{
	min-width: 240px;
}
.kb-battles-table .sparta
{
	text-decoration: underline;
}
.kb-battles-table .expand-btn
{
	float: right;
	padding-left: 5px;
	padding-right: 5px;
}
.kb-battles-table .extended-block
{
	border-top: #111 1px solid;
	clear:both;
	padding-top: 5px;
}
.kb-battles-table img
{
	vertical-align: middle;
}

/* modal dialog box common properties */
.modal
{
	border: 2px solid #333;
	display: none;
	padding: 15px;
	text-align: left;
	width: 400px;
}
