
/**
 * HTMNL Selectors
 */

a {
  color: #0063a2;
  outline: 0;
}

a:hover {
  color: #972c25;
}

body, html {
  background: #dcddde;
}

body {
  color: #58595b;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 15px;
  margin: 0;
  padding: 0;
  text-align: center;
}

form {
  margin: 0;
  padding: 0;
}

form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

img {
  border: 0;
}

p {
  margin: 15px 0;
}


/**
 * Wrapper
 */

#wrapper {
  width: 804px;
  margin: 10px auto;
  text-align: left;
}


/**
 * Header
 */

#header {
  width: 800px;
  height: 66px;
  border: 2px solid #9d9fa2;
  background: #fff;
  margin-bottom: 10px;
}


/**
 * Body
 */

#body {
  border: 2px solid #9d9fa2;
  background: #fff;
  padding: 15px 10px;
}


/**
 * Logo
 */

#logo {
  float: left;
  width: 150px;
  height: 80px;
  overflow: hidden;
  text-align: center;
}


/**
 * Welcome
 */

#welcome {
  line-height: 14px;
  margin-left: 150px;
  padding: 5px;
  padding-left: 25px;
}

#welcome h1 {
  color: #231f20;
  font-size: 17px;
  font-weight: bold;
  margin: 0;
  text-transform: uppercase;
}

#welcome p {
  font-family: Times, serif;
  margin: 15px 0px;
}


/**
 * Nav
 */

#nav {
  float: left;
  width: 150px;
  height: auto;
  border-top: 1px solid #9d9fa2;
  padding-top: 15px;
}

#nav ul {
  list-style: none;
  margin: 0;
  padding: 0;  
}

#nav ul li {
  list-style: none;
  margin: 0;
  padding: 0;
}

#nav ul li a {
  display: block;
  font-size: 11px;
  font-weight: bold;
  padding: 0 10px;
  line-height: 25px;
  text-decoration: none;
  text-transform: uppercase;
}

#nav ul li a.active {
  color: #972d25;
}


/**
 * Login
 */

#login {
  width: auto;
  height: 400px;
  min-height: 400px;
  height: auto !important;
  text-align: center;
}

#login form {
  width: 300px;
  margin: 0 auto;
  font-size: 12px;
  text-align: left;
}

#login form h1 {
  font-size: 18px;
  font-weight: bold;
  margin-top: 120px;
}

#login form label {
  font-weight: bold;
  font-size: 14px;
}

#login form table {
  border-collapse: collapse;
}

#login form table tr td {
  padding: 2px 6px 2px 0;
}

#login form input#username,
#login form input#password,
#login form input#password-confirm {
  width: 150px;
}

#login form input#email {
  width: 232px;
}

#login #message {
  display: none;
  background: #fff;
  color: red;
  font-weight: bold;
  margin: 15px 0;
}

#login #message #success {
  background: #fff;
  color: green;
}


/**
 * Content
 */

#content {
  width: auto;
  height: 400px;
  min-height: 400px;
  height: auto !important;
  border-top: 1px solid #9d9fa2;
  border-left: 1px solid #9d9fa2;
  margin-left: 150px;
  padding: 20px;
}

#content p {
  margin-top: 0px;
}


/**
 * Footer
 */

#footer {
  color: #231f20;
  font-size: 10px;
  font-weight: bold;
  line-height: 30px;
  text-align: center;
}


/**
 * Misc Classes
 */

.error {
  color: red;
}


/**
 * View Table
 */

TABLE.viewtable {
  width: 100%;
  clear: both;
  margin: 20px 0px 4px 0px;
  background-color: #ffffff;
  border-collapse: collapse;
}

TABLE.viewtable TR:hover {
   background-color: #f9f9f9 !important;
}

TABLE.viewtable TH {
  border: 1px solid #242424;
  border-bottom: 1px solid #e9e9e9;
  padding: 2px 6px;
  color: #999a9a;
  background-color: #3a3a3a;
  text-align: left;
  text-transform: capitalize;
  white-space: nowrap;
}

TABLE.viewtable TD {
  border: 1px solid #e9e9e9;
  padding: 2px 6px;
  text-align: left;
}


/**
 * Sortable
 */

TABLE.viewtable TH.sortable {
  border: 1px solid #242424;
  border-bottom: 1px solid #e9e9e9;
  color: #999a9a;
  background-color: #3a3a3a;
  padding: 0px;
}

TABLE.viewtable TH.sortable SPAN {
  display: block;
  padding: 2px 6px;
}

TABLE.viewtable TH.sortable A {
  display: block;
  width: 100%;
  border-bottom: 3px solid #242424;
  color: #999a9a;
  text-decoration: none;
}

TABLE.viewtable TH.sortable A:hover {
  border-bottom: 3px solid #d5540e;
  background-color: #606060;
  color: #ffffff;
}

TABLE.viewtable TH.sortable A.active {
  color: #ffffff;
}


/**
 * Paginator
 */

p.paginator {
    margin: 16px 0 0;
}


/**
 * jQuery Treeview
 */

.treeview,
.treeview ul { 
  padding: 0;
  margin: 0;
  list-style: none;
}

.treeview ul {
  background-color: white;
  margin-top: 4px;
}

.treeview .hitarea {
  background: url(../images/treeview/treeview-default.gif) -64px -25px no-repeat;
  height: 16px;
  width: 16px;
  margin-left: -16px;
  float: left;
  cursor: pointer;
}

/* fix for IE6 */

* html .hitarea {
  display: inline;
  float:none;
}

.treeview li { 
  margin: 0;
  padding: 3px 0pt 3px 16px;
}

.treeview a.selected {
  background-color: #eee;
}

#treecontrol {
  margin: 1em 0;
  display: none;
}

.treeview .hover {
  color: red;
  cursor: pointer;
}

.treeview li {
  background: url(../images/treeview/treeview-default-line.gif) 0 0 no-repeat;
}

.treeview li.collapsable,
.treeview li.expandable {
  background-position: 0 -176px;
}

.treeview .expandable-hitarea {
  background-position: -80px -3px;
}

.treeview li.last {
  background-position: 0 -1766px;
}

.treeview li.lastCollapsable,
.treeview li.lastExpandable {
  background-image: url(../images/treeview/treeview-default.gif);
}

.treeview li.lastCollapsable {
  background-position: 0 -111px;
}

.treeview li.lastExpandable {
  background-position: -32px -67px;
}

.treeview div.lastCollapsable-hitarea,
.treeview div.lastExpandable-hitarea {
  background-position: 0;
}


#list #search label {
	width: 60px;
	padding: 0 5px;
	margin: 12px 0 0;
	float: left;
}

#list #search input{
	width: 205px;
	float: left;	
	margin: 10px 0;
}
	
#list #search select {
	width: 210px;
	float: left;
	margin: 10px 0;
}

.clear {
	clear: both;
}


/**
 * Manage
 */

#manage fieldset {
  border: 1px solid #ebebeb;
  padding: 15px;
  margin: 15px 0;
}

#manage fieldset legend {
  color: #005030;
  font-size: 13px;
  font-weight: bold;
}

#manage fieldset p {
  margin-top: 0;
}

#manage fieldset div {
  margin-bottom: 6px;
}

#manage fieldset div label {
  clear: left;
  float: left;
  width: 130px;
  font-weight: bold;
  line-height: 20px;
  margin-right: 8px;
  text-align: right;
}

#manage fieldset div input[type="text"],
#manage fieldset div input[type="password"],
#manage fieldset div.auto input[type="file"],
#manage fieldset div textarea {
  width: 400px;
  padding: 2px;
  border: 1px solid #b4b4b4;
}

#manage fieldset div select {
  width: 406px;
  padding: 0;
  border: 1px solid #b4b4b4;
}

#manage fieldset div.auto input[type="text"],
#manage fieldset div.auto input[type="password"],
#manage fieldset div.auto input[type="file"],
#manage fieldset div.auto select,
#manage fieldset div.auto textarea {
  width: auto;
}

#manage fieldset.buttons {
  border: 0;
  margin: 15px 0;
  padding: 0;
}

#manage fieldset.buttons input {
  width: auto;
}

#manage fieldset.checkboxes label {
    float: left;
    width: 280px;
    font-weight: bold;
}

#manage fieldset .radios label {
    display: block;
    width: 100%;
    text-align: left;
}

#manage fieldset .radio-list {
    float: left;
    padding-left: 100px;
}

#manage fieldset .radio-list label {
    width: 350px;
    text-align: left;
    font-weight: normal;
}
