/*
// Copyright (c) 2008, Brian Frank and Andy Frank
//
// History:
//   24 Jun 08  Andy Frank  Creation
*/

/*************************************************************************
 * Overrides
 ************************************************************************/

body
{
  font: 10pt Arial, sans-serif;
  margin: 0 0 3em 0; padding: 0;
}
input { font: 10pt Arial, sans-serif; }
code,pre,textarea { font: 9pt Monaco, "Courier New", monospace; }
a { color: #185098; }
img { vertical-align: middle; border: 0; }
blockquote
{
  margin: 1em 0;
  padding-left: 1em;
  color: #a0a;
  border-left: 1px solid #ccc;
}

h1,h2,h3,h4,h5 { font-family: Arial, sans-serif; }
h1.title { font-size: 18pt; }
h1 { font-size: 15pt; }
h2 { font-size: 12pt; }
h3 { font-size: 11pt; }
h4 { font-size: 11pt; }
h5 { font-size: 11pt; }

table { border-collapse:collapse; border-spacing:0; border-bottom: 1px solid #ccc; }
table th { padding: 5px; font-weight: bold; text-align: left; }
table td { border-top: 1px solid #ccc; padding: 5px; }
table tr.even { background: #f8f8f8; }

/*************************************************************************
 * Header
 ************************************************************************/

div.header
{
  background: #666;
  color: #fff;
  border-bottom: 5px solid #444;
}
div.header > div
{
  width: 850px;
  margin: 0 auto;
  padding: 10px 0 35px 0;
  position: relative;
}
div.header h1 { font-size: 20pt; margin: 0; padding: 0; }
div.header p
{
  margin: 0;
  padding: 0;
  position: absolute;
  top: 12px;
  right: 0;
  color: #fff;
  font-size: 8pt;
}
div.header p a { color: #fff; }
div.header form { display: inline; }
div.header form p { top: 40px; }
div.header ul
{
  margin: 0;
  padding: 0;
  list-style-type: none;
  position: absolute;
  bottom: 0;
  left: 0;
  white-space: nowrap;
}
div.header li { display: inline; font-size: 11pt; }
div.header li a
{
  float: left;
  padding: 6px 12px;
  margin-right: 2px;
  background: #222;
  color: #fff;
  text-decoration: none;
  outline: none;
}
div.header li a:hover { background: #333; }
div.header li.active a { background: #444; }

/*************************************************************************
 * Sub-Header
 ************************************************************************/

div.subHeader { background: #ddd url(../img/subHeaderBg.png) repeat-x; }
div.subHeader > div { width: 850px; margin: 0 auto; }
div.subHeader ul
{
  margin: 0;
  padding: 10px;
  list-style-type: none;
  white-space: nowrap;
}
div.subHeader a { color: #444; }
div.subHeader li { display: inline; padding-right: 10px; }

/*************************************************************************
 * Content
 ************************************************************************/

div.content { margin-top: 1em; /* for IE */ }
div.content > div
{
  width: 850px;
  margin: 0 auto;
  position: relative;
}

p.note  { background: #ffd; padding: 10px; }
p.error { background: #fdd; padding: 10px; }

/**** Fandoc ****/
div.fandoc { width: 630px; }
div.fandoc p { font-size: 11pt; }
div.fandoc li { font-size: 11pt; }
div.fandoc p.meta { font-size: 10pt; }
div.fandoc code { color: #080; white-space: nowrap; }
div.fandoc blockquote code { color: #808; }
div.fandoc pre
{
  color: #555;
  background: #f5f5f5;
  border: 1px dashed #aaa;
  padding: 10px;
}

/**** Sidebar ****/
div.sidebar
{
  position: absolute;
  right: 0;
  top: 0;
  width: 200px;
}
div.sidebar p.spaced { line-height: 1.5em; }
div.topicTools
{
  position: fixed;
  width: 178px;
  background: #ddd;
  border:1px solid #999;
  padding: 10px;
  -moz-border-radius:5px;
  -webkit-border-radius:5px;
}
div.topicTools > p:first-child { margin-top:0; }
div.topicTools > p:last-child { margin-bottom:0; }
div.topicTools div.ticket { border-top: 1px solid #999; margin-top:1em; }
div.topicTools div.ticket p { margin-bottom: 0.5em; }
div.topicTools div.ticket table { border:none; }
div.topicTools div.ticket td { border:none; padding:2px 4px 2px 0; }
div.topicTools div.ticket td:first-child { color:#777; }
div.topicTools div.admin { border-top:1px solid #999; margin-top:1em; padding-top:1em; line-height:1.5em; }
div.topicTools div.callout
{
  display: none;
  position: absolute;
  right: 210px;
  background: #fff;
  border: 1px solid #999;
  padding: 0 1em;
  margin-top: -2em;
  white-space: nowrap;
}
div.topicTools div.callout img { position:absolute; right:-8px; top:12px; }

/**** ToolBar ****/
div.toolbar { position: relative; min-height: 16px; margin: 1em 0; }

/**** Topics ****/
h1.topicList { margin-bottom: -20px; }
table.topics
{
  width: 100%;
  border: none;
  border-top: 1px solid #eee;
}
table.topics tr.unread { background: #ffd; }
table.topics tr:hover { cursor: pointer; }
table.topics td
{
  border: none;
  border-bottom: 1px solid #eee;
  padding: 5px;
  white-space: nowrap;
}
table.topics td.summary { width: 100%; white-space: normal; }
table.topics a { font-weight: bold; color: #000; text-decoration: none; }
table.topics div { color: #666; font-size: 8pt; padding: 0 10px; }
span.topicsPageNav { float: right; font-size: 8pt; }
span.topicsPageNav span { padding: 0 5px; }

/**** Comments ****/
div.comment > p
{
  margin: 0;
  padding: 5px;
  position: relative;
  border-top: 1px solid #ccc;
  background: url(../img/commentBg.png) repeat-x;
  cursor: pointer;
  font-size: 10pt;
}
div.comment > p > span
{
  font-weight: normal;
  font-size: 8pt;
  color: #666;
  position: absolute;
  top: 6px;
  right: 5px;
}
div.comment > p br { display: none; }
div.comment > p > span > span
{
  position: absolute;
  right: 100px;
  white-space: nowrap;
}
div.comment > div { margin: 0 0 2em 1em; }

/**** TopicEditor ****/
div.topicEditor { position: relative; }
div.topicEditor div.cheatsheet
{
  position: absolute;
  top: 0;
  left: 650px;
  width: 200px;
  z-index: 10;
  background: #fff;
  padding-top:1em;
}
div.topicEditor div.cheatsheet p { margin-top: 0; }

/**** Preview ****/
#previewBg
{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 20;
}
#preview
{
  position: fixed;
  border: 1px solid #000;
  background: #fff;
  padding: 1em;
  z-index: 30;
}
#preview > div { height: 400px; overflow: auto; }
#preview > p { text-align: right; margin-bottom: 0; }

/**** Blogs ****/
div.blogs div.entry { border-bottom: 1px solid #ccc; padding-bottom: 1em; }
div.blogs div.entry > span { color: #666; }
div.blogs div.entry hr { display: none; }
div.blogs div.entry p.meta { font-size: 10pt; }
div.blogs div.fandoc h1 a { color: #000; text-decoration: none; }
div.blogs div.sidebar ul { padding: 0; margin: 1em 0; }
div.blogs div.sidebar li { list-style: none; margin: 1em 0; color: #666; }
table.topics td span.blog, div.fandoc h1 span.blog
{
  font: 9px Arial, sans-serif;
  padding: 2px 4px;
  background: #666;
  color: #fff;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

/**** Tickets ****/
td span.ticket, div.fandoc h1 span.ticket
{
  font: 9px Arial, sans-serif;
  padding: 2px 4px;
  background: #fbeb5d;
  color: #000;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}
td span.resolved, div.fandoc h1 span.resolved { color:#fff; background:#080; }
td span.cancelled , div.fandoc h1 span.cancelled { color:#444; background:#ddd; }
div.ticketListView table { width:100%; }
div.ticketListView th { font-size:8pt; white-space:nowrap; }
div.ticketListView td { white-space:nowrap; border-left:none; border-right:none; cursor:pointer; }
div.ticketListView td a { color:#000; text-decoration:none; }
div.ticketListView td.owner { color: #666; }
div.ticketListView td.closed { color: #666; }
div.ticketListView td.stretch { font-weight:bold; white-space:normal; width:100%; }
div.ticketListView div.filter
{
  position:relative;
  background: #ddd;
  border:1px solid #999;
  padding: 1em;
  -moz-border-radius:5px;
  -webkit-border-radius:5px;
  margin-bottom:1em;
  font-size:8pt;
}
div.ticketListView div.filter select { margin:0 1em 0 0.5em; }
div.ticketListView div.filter input[type=text] { margin:0 1em 0 0.5em; }
div.ticketListView div.filter span.filter { position:absolute; top:10px; right:1em; }
div.ticketListView div.filter span.filter a { margin-right:1em; }
div.ticketListView div.filter span.topicsPageNav { padding-top:3px; }

/**** Login ****/
form.login { float: left; background: #f8f8f8; padding: 10px; }
form.login table { border: none; }
form.login td { border: none; padding: 3px; }
form.login p { text-align: right; margin-bottom: 0; }
form.login p.error { text-align: left; margin: 0 0 1em 0; }

/**** UserView ****/
div.userView { position: relative; }
div.userView h1
{
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
  margin-bottom: 1em;
}
div.userView > p { position: absolute; top: 0; right: 0; font-size: 8pt; }
div.userView div.sidebar
{
  float: right;
  background: #f8f8f8;
  border: 1px solid #ccc;
  padding: 1em;
  margin-top: 4em;
}
div.userView div.sidebar p { padding: 0; margin: 0; }

/**** Search ****/
div.searchResult { font-size: 9pt }
div.searchResult a { font-size: 12pt; }
div.searchResult span { color: #080; }

/**** Report ****/
div.report h2 { clear: both; }
div.report div { float: left; padding-right: 25px; padding-bottom: 2em; }
div.report div h3 { margin-top: 0; }
div.report div table tr { background: none; }
div.report div table td { border: none; font-size: 8pt; padding: 2px 5px 2px 2px; }