/*******************************************************************************
Project HQ - Open Source Project Management
Copyright (c) 2008 Raoul Snyman

This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; version 2 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330, Boston, MA 02111-1307 USA
*******************************************************************************/

body
{
  background: #F9F9F7 url(../images/background.png) top left repeat-x;
  font-family: 'Trebuchet MS', 'Verdana', 'Tahoma', 'Helvetica', 'Arial', sans-serif;
  font-size: 80%;
  text-align: center;
  margin: 0;
  padding: 0;
}

h1
{
  margin: 0;
}

a
{
  color: #900;
  text-decoration: none;
}

a:hover
{
  text-decoration: underline;
}

img
{
  border: 0;
}

dl
{
  margin-top: 0;
}

dt
{
  font-weight: bold;
}

dd
{
  margin-bottom: 0.5em;
}

p
{
  margin: 0 0 1em 0;
}

pre
{
  background-color: #f9f9f9;
  border: 1px dotted #ccc;
  font-size: 120%;
  padding: 0.5em;
}

#container
{
  margin: 0 auto;
  padding: 0;
  position: relative;
  text-align: left;
  width: 960px;
}

/* Project Selector */

#project-selector
{
  background: transparent url(../images/project_selector_background.png) bottom left no-repeat;
  color: #fff;
  height: 40px;
  position: absolute;
  right: 0;
  text-align: right;
  width: 250px;
}

#project-throbber
{
  display: none;
  padding-top: 10px;
  text-align: center;
}

#project-selector .content
{
  padding: 8px 8px 0 0;
}

#project-selector .content label
{
  display: inline;
}

#project-selector .content .form-select
{
  width: 130px;
}

/* Header */
#header
{
  height: 61px;
  padding-top: 10px;
}

#header h1
{
  color: #fff;
  margin: 0;
}

#header #motto
{
  color: #ccc;
  padding-left: 1em;
}

/* Tabs */
#tabsWrapper
{
  clear: both;
  height: 24px;
  margin: 1px 0 0 0;
  text-align: left;
}

#tabs
{
  float: left;
}

#tabs ul
{
  margin: 0;
  padding: 0 10px;
  list-style: none;
}

#tabs ul li
{
  display: inline;
  float: left;
  margin: 0;
  padding: 0;
}

#tabs ul li a
{
  float: left;
  background: url(../images/tableftH.gif) no-repeat top left;
  padding-left: 4px;
}

#tabs ul li a span
{
  background: url(../images/tabrightH.gif) no-repeat top right;
  border: 0;
  color: #f0f0f0;
  display: block;
  font-size: 12px;
  font-weight: bolder;
  line-height: 24px;
  padding: 0 10px 0 6px;
  text-align: center;
  text-decoration: none;
}

#tabs ul li a:hover
{
  background-position: 0% -42px;
  text-decoration: none;
}

#tabs ul li a:hover span
{
  background-position: 100% -42px;
  color: #fff;
}

#tabs ul li.current a
{
  background-position: 0% -42px;
  text-decoration: none;
}

#tabs ul li.current a span
{
  background-position: 100% -42px;
  color: #fff;
}

/* Tabs */
#submenuWrapper
{
  clear: both;
  height: 24px;
  margin: 8px 0 0 0;
  text-align: left;
}

#submenu
{
  float: left;
}

#submenu ul
{
  margin: 0;
  padding: 0 10px;
  list-style: none;
}

#submenu ul li
{
  display: inline;
  float: left;
  margin: 0;
  padding: 0;
}

#submenu ul li a
{
  float: left;
  background: url(../images/tableftE.gif) no-repeat top left;
  padding-left: 4px;
}

#submenu ul li a span
{
  border: 0;
  display: block;
  padding: 0 10px 0 6px;
  background: url(../images/tabrightE.gif) no-repeat top right;
  text-align: center;
  color: #f0f0f0;
  font-size: 12px;
  font-weight: bolder;
  line-height: 24px;
  text-decoration: none;
}

#submenu ul li a:hover
{
  background-position: 0% -42px;
  text-decoration: none;
}

#submenu ul li a:hover span
{
  background-position: 100% -42px;
  color: #fff;
}

#submenu ul li.current a
{
  background-position: 0% -42px;
  text-decoration: none;
}

#submenu ul li.current a span
{
  background-position: 100% -42px;
  color: #fff;
}

/* Content */
#content
{
  background-color: #fff;
  border-top: 2px solid #900;
  color: #666;
  margin-top: 1em;
  padding: 2em;
}

#content h2
{
  border-bottom: 1px solid #ccc;
  color: #000;
  margin-top: 0;
}

#content h3,
#content h5
{
  border-bottom: 1px solid #ccc;
  color: #666;
  font-weight: normal;
}

#content h5
{
  font-size: 1.1em;
  font-weight: bold;
  margin: 0 0 0.5em 0;
}

#content p
{
  margin-bottom: 1em;
}

/* Footer */

#footer
{
  background-color: #fff;
  border-top: 1px solid #900;
  border-bottom: 2px solid #900;
  color: #900;
  margin-bottom: 2em;
  padding: 1em;
}

#footer p
{
  font-size: 0.9em;
  margin: 0;
  padding: 0;
}

#footer .poweredby
{
  clear: right;
  float: right;
  margin: -0.7em -0.7em 0 0;
}

#footer .poweredby img
{
  border: 1px solid #fff;
  float: right;
}

#footer .poweredby img:hover
{
  border: 1px solid #900;
}

/* Messages */

#message-wrapper
{
  position: relative;
}

#message
{
  color: #000;
  display: none;
  margin-top: 0.3em;
  position: absolute;
  width: 100%;
}

#message p
{
  margin: 0;
  padding: 1em 1em 1em 3em;
}

.info
{
  background: #def url(../images/info.png) 0.8em 50% no-repeat;
  border: 1px solid #479;
}

.success
{
  background: #dfd url(../images/success.png) 0.8em 50% no-repeat;
  border: 1px solid #474;
}

.error
{
  background: #fdd url(../images/error.png) 0.8em 50% no-repeat;
  border: 1px solid #744;
}

#form-errors
{
  background: #fdd url(../images/error.png) 0.5em 0.5em no-repeat;
  border: 1px solid #744;
  color: #744;
  margin-bottom: 1em;
  padding: 0.7em 0 0 3em;
}

#form-errors ul
{
  padding-left: 0.2em;
}

#form-errors ul li
{
  list-style: none;
}

.form-error
{
  background-color: #fdd !important;
}

/* Forms */

form
{
  margin: 0;
  padding: 0;
}

fieldset
{
  border: 1px solid #666;
  color: #000;
  margin: 0 0 1em 0;
  padding: 1em 1em 0 1em;
}

legend
{
  font-weight: bold;
}

input,
textarea,
select,
option
{
  font-family: 'Trebuchet MS', 'Verdana', 'Tahoma', 'Helvetica', 'Arial', sans-serif;
  font-size: 100%;
}

.form-item,
.form-buttons
{
  margin-bottom: 1em;
}

.form-item label
{
  display: block;
  font-weight: bold;
  margin-bottom: 0.3em;
}

.form-hint
{
  color: #999;
  font-size: 90%;
}

.form-value
{
  color: #333;
}

.form-text
{
  width: 30em;
}

.form-password,
.form-shorttext
{
  width: 10em;
}

.form-number
{
  width: 5em;
}

.form-textarea
{
  height: 6.5em;
  vertical-align: top;
  width: 30em;
}

.form-text,
.form-password,
.form-shorttext,
.form-textarea,
.form-number
{
  background-color: #f9f9f9;
  border: 1px solid #666;
  color: #666;
  padding: 2px 3px;
}

.form-select
{
  background-color: #f9f9f9;
  border: 1px solid #666;
  color: #666;
  padding: 1px;
}

.form-text:hover, .form-text:focus,
.form-password:hover, .form-password:focus,
.form-shorttext:hover, .form-shorttext:focus,
.form-textarea:hover, .form-textarea:focus,
.form-select:hover, .form-select:focus,
.form-number:hover, .form-number:focus
{
  background-color: #fff;
  border: 1px solid #900;
  color: #004276;
}

.form-button
{
  background: #900 url(../images/form-button.png) left 50% repeat-x;
  border: 1px solid #600;
  color: #fff;
  font-weight: bold;
  padding: 0.2em 0.5em;
}

.form-radio
{
  vertical-align: bottom;
}

/* Item listings */

.pagination
{
  margin: 0.5em 0;
  text-align: right;
}

.item-list .item-project
{
  background-color: #fff;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  color: #000;
  margin-bottom: 1em;
}

.item-list .item-project h4
{
  background: #ccc url(../images/project_item_heading.png) top left repeat-x;
  color: #000;
  font-size: 1.2em;
  height: 24px;
  margin: 0 -1px 0 -1px;
  padding: 4px 7px 0 7px;
}

.item-list .item-project h4 a
{
  color: #000;
}

.item-list .item-project .item-content
{
  margin: 0;
  padding: 0.5em 0.5em 0 0.5em;
}

#content .item-list .item-project .item-content p
{
  margin: 0 0 0.5em 0;
}

.item-list .item-project .item-links
{
  border-top: 1px dotted #999;
  font-size: 0.9em;
  padding: 0.3em 0.5em;
}

.item-list .item-box
{
  background-color: #f0f0f0;
  border-bottom: 1px solid #999;
  color: #000;
  margin-bottom: 1em;
}

.item-list .item-box h4,
.item-list .item-box h6
{
  background: #000 url(../images/normal_item_heading.png) top left repeat-x;
  color: #999;
  font-size: 100%;
  height: 21px;
  margin: 0;
  padding: 3px 5px 0 5px;
}

.item-list .item-box h4 .project-name,
.item-list .item-box h4 a,
.item-list .item-box h6 .project-name,
.item-list .item-box h6 a
{
  color: #fff;
}

.item-list .item-box .item-content
{
  margin: 0;
  padding: 0.5em 0.5em 0 0.5em;
}

#content .item-list .item-box .item-content p
{
  margin: 0 0 0.5em 0;
}

.item-list .item-box .item-links
{
  border-top: 1px dotted #999;
  font-size: 0.9em;
  padding: 0.3em 0.5em;
}

.item-list .item-overdue
{
  background-color: #fdd !important;
}

.item-list .item-overdue h4,
.item-list .item-overdue h6
{
  background: #900 url(../images/overdue_item_heading.png) top left repeat-x !important;
  color: #ff0;
}

.item-list .item-overdue .item-links
{
  border-top: 1px dotted #900 !important;
  border-bottom: 1px solid #900 !important;
}

#section-links
{
  margin-bottom: 1em;
}

#section-links a
{
  background: #900 url(../images/form-button.png) left 50% repeat-x;
  border: 1px solid #900;
  color: #fff;
  font-weight: bold;
  padding: 0.3em 0.5em;
}

#section-links a:hover
{
  text-decoration: none;
}

ul#list-open,
ul#list-closed
{
  list-style: none;
  margin: 0 0 2em 0;
  padding: 0;
}

ul#list-open li,
ul#list-closed li
{
  background-color: #f9f9f9;
  clear: both;
  display: block;
  list-style: none;
  margin-bottom: 0.2em;
  padding: 0.2em;
}

ul#list-open li .list-mark,
ul#list-closed li .list-mark
{
  float: left;
  padding: 4px;
  width: 30px;
}

ul#list-open li .list-item,
ul#list-closed li .list-item
{
  margin-left: 40px;
  padding: 0.2em 0;
  vertical-align: top;
}

.list-buttons
{
  border-top: 1px solid #ccc;
  font-size: 0.8em;
  margin-top: 0.3em;
  padding-top: 0.2em;
}

/* latest activites */

#latest-activities
{
  list-style: none;
  margin: 0;
  padding: 0 0 1em 0;
}

#latest-activities li
{
  background-color: #f9f9f9;
  clear: both;
  display: block;
  list-style: none;
  margin: 0 0 0.2em 0;
  padding: 0.2em;
}

#latest-activities li.brand-new
{
  background-color: #ffc !important;
}

#latest-activities li.new
{
  background-color: #f9f9e0 !important;
}

#latest-activities li.overdue
{
  background-color: #ffe0e0 !important;
}

#latest-activities li.headings
{
  background-color: #fff !important;
  border-bottom: 1px dotted #000;
  color: #000;
  padding-bottom: 0.2em;
  margin-bottom: 0.3em;
}

#latest-activities li.headings div
{
  text-align: center !important;
}

#latest-activities li div.item-type
{
  float: left;
  clear: left;
  width: 75px;
}

#latest-activities li div.item-status
{
  float: right;
  clear: right;
  text-align: right;
  width: 60px;
}

#latest-activities li div.item-text
{
  margin: 0 60px 0 75px;
}

/* add task section */

#task-add
{
  padding: 0;
}

#task-add #section-links
{
  margin-bottom: 0;
  padding: 0.5em;
}

#task-add-form-holder
{
  display: none;
}

#task-add-form-holder h4
{
  background: #000 url(../images/normal_item_heading.png) top left repeat-x;
  color: #fff;
  font-size: 1em;
  height: 21px;
  margin: 0;
  padding: 3px 5px 0 5px;
}

#task-add-form-holder form
{
  border-bottom: 1px solid #999;
  padding: 0.5em;
}

#new-task-holder
{
  display: none;
}

.task-loading
{
  display: none;
  vertical-align: middle;
}

/* add ticket revision section */

#revision-add
{
  padding: 0;
}

#revision-add #section-links
{
  margin-bottom: 0;
  padding: 0.5em;
}

#revision-add-form-holder
{
  display: none;
}

#revision-add-form-holder h4
{
  background: #000 url(../images/normal_item_heading.png) top left repeat-x;
  color: #fff;
  font-size: 1em;
  height: 21px;
  margin: 0;
  padding: 3px 5px 0 5px;
}

#revision-add-form-holder form
{
  border-bottom: 1px solid #999;
  padding: 0.5em;
}

#revision-add-form > fieldset
{
  border: 0;
  margin: 0;
  padding: 0;
}

#new-revision-holder
{
  display: none;
}

.revision-loading
{
  display: none;
  vertical-align: middle;
}

/* add component section */

#component-list
{
  width: 34em;
}

#component-edit-holder
{
  display: none;
}

.component-loading
{
  display: none;
  vertical-align: middle;
}

/* various link styles */

.link-email
{
  background: transparent url(../images/mail_small.png) left 50% no-repeat;
  padding: 2px 0 2px 18px;
}

.link-website
{
  background: transparent url(../images/website_small.png) left 50% no-repeat;
  padding: 2px 0 2px 18px;
}

.link-edit
{
  background: transparent url(../images/edit_small.png) left 50% no-repeat;
  padding: 2px 0 2px 18px;
}

.link-delete
{
  background: transparent url(../images/delete_small.png) left 50% no-repeat;
  padding: 2px 0 2px 18px;
}

.view-links
{
  border-top: 1px dotted #ccc;
  padding-top: 0.3em;
  margin: 0 -0.5em 0.3em -0.5em;
}

/* misc styles */

img.reverse-list
{
  margin-bottom: 3px;
  vertical-align: middle;
}

.odd
{
  background-color: #f0f0f0;
}

.even
{
  background-color: #f9f9f9;
}

.task-member
{
  float: right;
  text-align: right;
  width: 18em;
}

.task-member .form-item
{
  margin-bottom: 0.3em;
}

.page-buttons
{
  clear: both;
}

.ajax-buttons
{
  font-size: 85%;
}

.wiki-title
{
  position: relative;
}

.wiki-edit
{
  display: block;
  font-size: 70%;
  position: absolute;
  right: 0;
  text-align: right;
  top: 15%;
  width: 75px;
}

