/* shared styles */
body { font-family:Arial,Verdana,sans-serif; font-size:12px; color:#A1A1AF; background-color:#00001C; margin:20px; background-image:url("/images/bgoutspace1.gif"); }
h1, h2 { font-family:"Trebuchet MS",Arial,Verdana,sans-serif; font-size:18px; margin:25px 0 8px 0; text-align:center; color:gold; }
a, a:link, a:visited, a:active { text-decoration:none; color:#ccd; }
a:hover, a:focus { text-decoration:underline; color:#eef; }

/* form element styles */
select, input { font-size:11px; color:#D0D1D9; background-color:#000; border:2px ridge #bcb; border-radius:5px; margin:2px; }
select { padding:2px 2px 2px 5px; }
input { padding:3px 5px; }
input[type="submit"] { font-size:13px; padding:2px 15px; margin:8px 0 5px; color:#eee; font-weight:bold; background-color:#228800; }
input[value="Filter"] { color:#eee; background-color:; }

/* table styles */
.messagestyle {border-width:1px; border-color:#A0B1C9; border-style:outset; padding: 5px;}
table { font-family:Arial,Verdana,sans-serif; font-size:12px; color:#A1A1AF; }
th { background-color:#D6D6D6; color: #002;}
.notice { color:gold!important; }
.clkbl { cursor:crosshair; }
.spacer { width:5px; }

/* pagination styling at the top and bottom of the list pages */
.TopNavRow>td { border-bottom:1px solid #A0B1C9; padding-bottom:5px; }
.BottomNavRow>td { border-top:1px solid #A0B1C9; padding-top:5px; }
.TopNavRow>td>table,
.BottomNavRow>td>table { text-align:center; }
.BottomSpacerRow div { height:1px; }

/* sorting styles */
.sortable th span { float:right; }
.sortable th img.sort_arrow { opacity:0.5;vertical-align:middle;height:15px;margin-left:1px; }
.sortable th img.sort_arrow:hover { opacity:1.0; }
.sortable th.sortedcol .sortorder img.sort_arrow { opacity:1.0; }
.sortable th.sortedcol { text-decoration:underline; }



/* login page styles */
body#LoginPage,
#LoginPage table { font-family:"Trebuchet MS",Arial,Verdana,sans-serif; }
#LoginPage #loginwrappertable { margin:75px auto 0 auto; }
#LoginPage #loginbox { color:#ddd; border:2px ridge #bcb; padding:8px; border-radius:5px; margin:5px; background-color:#000; }
#LoginPage #loginbox th { padding:5px; font-size:13px; }
#LoginPage #loginbox .content td { padding-top:7px; }
#LoginPage #loginbox td[rowspan="3"] { width:120px; }
#LoginPage #loginbox td[rowspan="3"] img { margin-top:30px; }
#LoginPage #loginbox .collabel { text-align:right; }
#LoginPage input[type="submit"] { float:right; }

/* index page styles */
#IndexPage .menu { margin:0 20px; font-size:13px; }
#IndexPage iframe { border:0; }

/* main page styles */
#MainPage #content_wrapper_table { width:800px; }
#MainPage h2 { margin:0; }
#MainPage em { font-size:11px; }
#MainPage ul { margin:10px 10px 20px; padding:12px; background-color:#000; border:1px solid #ccc; }
#MainPage li { line-height:17px; list-style:none; }
#MainPage a { text-decoration:underline; }
#MainPage table.userscriptstable { margin:30px auto 10px; padding:10px; border:1px solid #999; background:url("/images/bg_grey.gif") repeat scroll 0 0 transparent; }
#MainPage table.userscriptstable ul { text-align:center; width:575px; }

/* starbase detail page styles */
#StarbaseDetail .close { font-weight:bold;display:block;text-align:center;margin:0 auto 16px;padding:10px 0 0 0;width:60px; }

#StarbaseDetail .delete { font-weight:bold;display:block;text-align:center;margin:16px;color:#c33; }
#StarbaseDetail .squadrons .delete { display:inline; }
#StarbaseDetail .weapons .delete { display:inline; }
#StarbaseDetail .buildings .delete { display:inline; }

#StarbaseDetail h1 { margin:0 0 10px;padding:0; }
#StarbaseDetail h1 img { vertical-align:middle;width:42px;height:42px;padding:0 4px; }
#StarbaseDetail h1 img.faction { width:34px;height:34px; }
#StarbaseDetail tr.odd { background-color:#0b0b3f; }
#StarbaseDetail td em { color:#557;font-size:10px; }

#StarbaseDetail .commander,
#StarbaseDetail .resources,
#StarbaseDetail .buildings,
#StarbaseDetail .weapons,
#StarbaseDetail .squadrons { border:1px outset #A0B1C9;padding:1px;margin-bottom:10px;font-size:11px; }

#StarbaseDetail .resources tr,
#StarbaseDetail .buildings tr,
#StarbaseDetail .weapons tr,
#StarbaseDetail .squadrons tr { height:18px; }

#StarbaseDetail .squadrons th,
#StarbaseDetail .squadrons td,
#StarbaseDetail .buildings th,
#StarbaseDetail .buildings td,
#StarbaseDetail .weapons th,
#StarbaseDetail .weapons td { padding:0 10px;text-align:center; }

#StarbaseDetail .squadrons th.coltype,
#StarbaseDetail .squadrons td.coltype,
#StarbaseDetail .buildings th.colbldg,
#StarbaseDetail .buildings td.colbldg,
#StarbaseDetail .weapons th.coltype,
#StarbaseDetail .weapons td.coltype,
#StarbaseDetail .weapons th.colprice,
#StarbaseDetail .weapons td.colprice { text-align:left; }

#StarbaseDetail .commander th { text-align:center;padding:0 15px;font-size:12px; }
#StarbaseDetail .commander td { text-align:center; }
#StarbaseDetail .commander a { margin:0 15px;font-size:12px;font-weight:bold; }

#StarbaseDetail .resources th { color:#bbd;padding:0 10px;text-align:right; }
#StarbaseDetail .resources th.colamt { background-color:#303; }
#StarbaseDetail .resources th.colmin,
#StarbaseDetail .resources th.colmax { background-color:#000; }
#StarbaseDetail .resources th.colbuy,
#StarbaseDetail .resources th.colsell { background-color:#505000;text-align:center; }
#StarbaseDetail .resources th.colresource { background-color:#500000;text-align:left;padding:0 0 0 5px; }
#StarbaseDetail .resources td { text-align:right;padding:0 10px; }
#StarbaseDetail .resources td.colresource { text-align:left;padding:0; }
#StarbaseDetail .resources td.colresourceimg { padding:0 5px; }
#StarbaseDetail .resources td.colresourceimg img { width:16px;height:16px; }
#StarbaseDetail .resources tr.line { height:1px; }
#StarbaseDetail .resources tr.line td { padding:0; }
#StarbaseDetail .resources tr.line div { border-top:1px solid #999;margin-top:2px;margin-bottom:1px; }
#StarbaseDetail .resources tr.lowerline { background-color:#003040; }
#StarbaseDetail .resources tr.lowerline td { text-align:left;padding:0 10px;height:18px; }
#StarbaseDetail .resources tr.lowerline td span { float:right; }

#StarbaseDetail .squadrons td.coltype { padding:0; }
#StarbaseDetail .squadrons td img { position:absolute;width:30px;margin-top:-8px; }
#StarbaseDetail .squadrons td span { display:block;margin-left:30px; }


/* starbase list page styles */
#StarbasesPage th { text-align:left; }
#StarbasesPage #filters td { text-indent:2px; }
#StarbasesPage .messagestyle .noresults { text-align:center;color:#555577;height:32px; }
#StarbasesPage .messagestyle tr.even { background-color:#0b0b25; }
#StarbasesPage .messagestyle tr.odd { background-color:#0b0b3f; }
#StarbasesPage .messagestyle th,
#StarbasesPage .messagestyle td { text-indent:5px; }
#StarbasesPage .messagestyle .colwhen { width:135px; }
#StarbasesPage .messagestyle .colfaction { width:40px; }
#StarbasesPage .messagestyle .colname { width:180px; }
#StarbasesPage .messagestyle .colcommander { width:170px; }
#StarbasesPage .messagestyle .colworkers { width:80px; }
#StarbasesPage .messagestyle .colsector { width:150px; }
#StarbasesPage .messagestyle .colcluster { width:85px; }
#StarbasesPage .messagestyle .colreported { width:120px;text-align:center;text-indent:0; }
#StarbasesPage .messagestyle td.colwhen { font-size:10px; }
#StarbasesPage .messagestyle td.colwhen em { display:block;color:#555577; }
#StarbasesPage .messagestyle td.colfaction img { width:28px;height:28px; }
#StarbasesPage .messagestyle td.colreported { color:#555577;font-size:11px; }

/* accounts list page styles */
#AccountsPage #accountListTable { text-align:center; }
#AccountsPage #accountListTable tr.even { background-color:#0b0b25; }
#AccountsPage #accountListTable tr.odd { background-color:#0b0b3f; }
#AccountsPage #accountListTable .col1 { width:160px; text-align:left; text-indent:10px; }
#AccountsPage #accountListTable .col2 { width:80px; }
#AccountsPage #accountListTable .col3 { width:160px; text-align:left; }
#AccountsPage #accountListTable th.col3 { text-align:left; padding-left:10px; }
#AccountsPage #accountListTable .col3 em { color:#555577; font-size:11px; display:block; margin:2px 5px 2px 10px; }
#AccountsPage #accountListTable .col4 { width:90px; }
#AccountsPage #accountListTable .col5 { width:80px; }
#AccountsPage #accountListTable .col6 { width:70px; }
#AccountsPage #accountListTable .col7 { width:120px; }
#AccountsPage #accountListTable td.col7 { color:#555577; font-size:11px; }
#AccountsPage #accountListTable form { margin:0;padding:0; }
#AccountsPage #accountListTable input[type=submit] { font-size:11px; border-width:1px; font-weight:normal;margin:2px 5px;padding:2px 5px;  }
#AccountsPage #accountListTable input[value=Permissions] { background-color:#000; }
#AccountsPage #accountListTable input[value=Password] { background-color:#226; }
#AccountsPage #accountListTable input[value=Delete] { background-color:#820; }
#AccountsPage #createaccounttable .coltitle { width: 140px; text-align:right; }
#AccountsPage #createaccounttable input[name=name],
#AccountsPage #createaccounttable input[name=password],
#AccountsPage #createaccounttable input[name=password_confirm] { width:120px; }

/* account password page styles */
#AccountPasswordPage .error { font-style:italic; color:#c00; padding:3px 0; text-align:right; }
#AccountPasswordPage .coltitle { width: 140px; text-align:right; }

/* account deletion page styles */
#AccountDeletePage { }

/* account permissions page styles */
#AccountPermissionsPage { }
#AccountPermissionsPage .coltitle { width: 120px; text-align:right; }
#AccountPermissionsPage .inptitle { width: 180px; }


