body {
  font-size: 95%;
  font-family: "Lucida Grande", "Bitstream Vera Sans", Helvetica, Verdana, Arial, sans-serif;
  margin: 0;
  padding: 0;
}
img { border: 0; }
h1 {
  font-size: 170%;
  margin-top: 1.25em;
  margin-bottom: .5em;
  font-family:'trebuchet ms',arial;
  /*font-size:12px;font-type:bold;*/
}
h2 {
  font-size: 140%;
  margin-top: 1.25em;
  margin-bottom: .5em;
  font-family:'trebuchet ms',arial;
}
h3 {
  font-size: 120%;
  margin-top: 1.25em;
  margin-bottom: .5em;
  font-family:'trebuchet ms',arial;
}

.hidden {
  display: none;
}
.clear {
  font-size: 1px;
  clear: both;
}
.warning {
  color: red;
}

/* main layout */

#header {
  background-color: #cc0;
  color: white;
  width: 100%;
  padding-top: 1px;
  padding-bottom: 20px;
}
#header a, #header a:visited {
  color: white;
  text-decoration: none;
}
#header a:hover, #header a:visited:hover {
  text-decoration: underline;
}
#site-title {
  font-size: 150%;
  font-weight: bold;
  margin-top: 19px;
  margin-left: 20px;
}
#site-subtitle {
  color: #fc6;
  font-size: 90%;
  font-style: italic;
  margin-left: 20px;
}
#navigation {
  font-size: 90%;
  margin-top: 5px;
  margin-bottom: -21px;
  line-height: 100%;
  padding: .5em;
  padding-right: 20px;
  _border-bottom: 0; /* IE only */
  text-align: right;
}
#navigation a, #navigation a:visited {
  color: white;
  display: inline;
  padding: .5em .6em .4em .6em;
  text-decoration: none;
  border-radius: 10% 10% 0 0;  
}
#navigation a:hover, #navigation a:visited:hover {
  text-decoration: underline;
}
#navigation strong a, #navigation strong a:visited {
  color: black;
  background-color: #eae3c5;
}
#navigation .separator {
  display: none;
}

/*sub- navigation*/
#sub-navigation {
  background-color: #eae3c5;
  font-size: 80%;
  line-height: 100%;
  padding: .5em;
  padding-right: 20px;
  _border-bottom: 0; /* IE only */
  text-align: right;
  padding-top: 1em;
}
#sub-navigation a, #sub-navigation a:visited {
  color: black;
  display: inline;
  padding: .5em .9em;
  text-decoration: none;
  border-radius: 10% 10% 0 0;   
}
#sub-navigation a:hover, #sub-navigation a:visited:hover {
  text-decoration: underline;
}
#sub-navigation strong a, #sub-navigation strong a:visited {
  background-color: white;
}
#sub-navigation .separator {
  display: none;
}


#main {
  float: left;
  width: 100%;
}
#content {
  font-size: 95%;
  padding: 20px;
}
#footer {
  color: #999;
  background-color: #f7f7f7;
  border-top: 1px solid #eaeaea;
  font-size: 80%;
  float: left;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 100%;
}
#footer p {
  padding-left: 20px;
  padding-right: 20px;
}
#site-links {
  color: #f5cbcb;
  font-size: 90%;
  margin: 0;
  position: absolute;
  right: 0;
  top: 20px;
}
#site-links a, #site-links a:visited {
  color: white;
}
#site-links a:hover, #site-links a:visited:hover {
  text-decoration: none;
}
#site-links strong a, #site-links strong a:visited {
  text-decoration: none;
}


/* messages */

#notice, #error {
  color: white;
  margin-top: 25px;
  margin-left: 20px;
  margin-right: 20px;
  padding: .75em;
  padding-top: 0;
  padding-bottom: 0;
}
#notice {
  background-color: #0c3;
  border: 3px solid #7FE699;
}
#error {
  background-color: #c00;
  border: 3px solid #e67f00;
}
h1 { 
  margin-top: 0;
}


/* index table */

#content table.index {
  font-size: 90%;
  width: 100%;
  margin-bottom: 2em;
  border-bottom: 1px solid #eaeaea;
}
#content table.index td, table.index th {
  text-align: left;
}
#content table.index th {
  background-color: #f5f5f5;
  font-size: 90%;
  font-weight: normal;
  padding: 4px;
  padding-top: 2px;
  padding-bottom: 2px;
}
#content table.index td {
  border-top: 1px solid #eaeaea;
  padding: 4px;
}
#content table.index .status {
  width: 8em;
}
#content table.index td.status {
  color: #9eb3bf;
}
#content table.index td.status.draft-status {
  color: #c00;
}
#content table.index td.status.published-status {
  color: black;
}
#content table.index td.status.hidden-status {
  color: #0c0;
}

#content table.index .remove {
  width: 100px;
  padding-left: 0;
}
#content table.index .node .order,
#content table.index .node .temple,
#content table.index .node .user,
#content table.index .node .product,
#content table.index .node .asset,
#content table.index .node .hospital,
#content table.index .node .community
 {
  font-size: 115%;
  font-weight: bold;
}
#content table.index .node .user small,
#content table.index .node .order small,
#content table.index .node .product small
 {
  color: #666;
  font-size: 90%;
  font-style: italic;
  font-weight: normal;
  margin-left: .5em;
}
#content table.index .node .order a, #content table.index .node .order a:visited,
#content table.index .node .product a, #content table.index .node .product a:visited,
#content table.index .node .asset a, #content table.index .node .asset a:visited,
#content table.index .node .hospital a, #content table.index .node .hospital a:visited,
#content table.index .node .community a, #content table.index .node .community a:visited,
#content table.index .node .temple a, #content table.index .node .temple a:visited, 
#content table.index .node .user a, #content table.index .node .user a:visited {
  color: black;
  text-decoration: none;
}

#content table.index .node .order a:hover, #content table.index .node .order a:visited:hover,
#content table.index .node .product a:hover, #content table.index .node .product a:visited:hover,
#content table.index .node .asset a:hover, #content table.index .node .asset a:visited:hover,
#content table.index .node .hospital a:hover, #content table.index .node .hospital a:visited:hover,
#content table.index .node .community a:hover, #content table.index .node .community a:visited:hover,
#content table.index .node .temple a:hover, #content table.index .node .temple a:visited:hover,
#content table.index .node .user a:hover, #content table.index .node .user a:visited:hover {
  color: blue;
  text-decoration: underline;
}
#content table.index td.note {
  color: silver;
  font-size: 85%;
  font-style: italic;
  padding: 3em;
  text-align: center;
}

#content table.index tr:hover {
  background-color: #ffffb3;
}


#content table.index tr.highlight , .highlight{
  background-color: #ffffb3;
}


/* form elements */

#content .form-area {
  background-color: #f5f1e2;
  margin-left: -20px;
  margin-right: -20px;
  padding: 20px;
  padding-top: 15px;
  padding-bottom: 10px;
}
#content .form-area h3 {
  font-size: 100%;
  margin-bottom: 0;
}
#content .form-area p {
  margin-top: 0;
}
#content .form-area small {
  font-size: 75%;
}
#content .form-area label {
  font-weight: bold;
}
#content .form-area .textbox {
  font-size: 100%;
}
#content .form-area .title {
  margin-bottom: 0;
}
#content .form-area .title label {
  display: block;
}
#content .form-area .title .textbox,
#content .form-area .title .error-with-field .textbox {
  font-family: Georgia, Palatino, "Times New Roman", Times, serif;
  font-size: 200%;
  width: 100%;
}
#content .form-area .content {
  margin-top: 1em;
  margin-bottom: 1em;
}
#content .form-area .row {
  clear: both;
  margin-top: 1em;
}
#content .form-area .row p,
#content .form-area .row .fieldset {
  float: left;
  margin-right: 2em;
  margin-bottom: 1em;
}
#content .form-area .more-or-less {
  float: left;
  margin-top: 0;
  margin-bottom: 1em;
  width: 100%;
}
#content .form-area .fieldset {
  margin-right: .5em;
}
#content .form-area .fieldset td {
  padding-right: .5em;
}
#content .form-area .error-with-field .error {
  color: #f00;
  display: block;
  padding: 2px;
  padding-top: 0;
}
#content .buttons {
  margin-top: 2.5em;
  font-family:'trebuchet ms',arial;font-size:12px;font-type:bold;
}
#content .button {
  font-size: 150%;
}
#content table.fieldset {
  border-bottom: 1px solid #DFD3C3;
  margin-bottom: 1.5em;
  width: 100%;
}
#content table.fieldset td {
  background-color: white;
  border-top: 1px solid #DFD3C3;
  padding: 6px;
}
#content table.fieldset td.label {
  padding-top: 10px;
  vertical-align: top;
  text-align: right;
  width: 20%;
}
#content table.fieldset td.field .textbox,
#content table.fieldset td.field .textarea {
  width: 100%;
}
#content table.fieldset td.field {
  vertical-align: top;
  width: 40%;
  padding-right: 5px;
}

#content table.fieldset td.label .optional {
  color: #929488;
}

#content table.fieldset td.buttons {
  background-color: #F5F1E2;
  font-size: 80%;
  padding-left: 10px;
  width: 40%;
}

#content table.fieldset td.buttons .button {
    font-size: 150%;
}
#content table.fieldset td.help {
  background-color: #F5F1E2;
  font-size: 80%;
  padding-left: 10px;
  width: 40%;
}
#content table.fieldset input {
  font-size: 100%;
}
#content table.fieldset .checkbox {
  display: block;
  float: left;
  padding-top: 4px;
  width: 10em;
}
#content table.fieldset .error-with-field small {
  color: red;
}

/* tabs */

#content #tabs {
  background-image: url(/images/brown-bottom-line.gif);
  background-position: bottom;
  background-repeat: repeat-x;
  float: left;
  width: 100%;
  margin-right: -4px;
}
#content #tabs .tab {
  background-color: #eae3c5;
  border-bottom: 1px solid #cdc295;
  color: black;
  display: inline-block;
  font-size: 100%;
  text-align: left;
  margin-right: 3px;
  padding: 15px;
  padding-top: 7px;
  padding-bottom: 4px;
  text-decoration: none;
  text-transform: titlecase;
}
#content #tabs .tab.here {
  background-color: white;
  border: 1px solid #cdc295;
  border-bottom: 1px solid white;
  font-weight: bold;
  padding-left: 13px;
  padding-right: 13px;
  padding-top: 6px;
}
#content #tab-toolbar {
  float: right;
  margin-top: .35em;
}
#content textarea {
  height: 280px;
  border: 1px solid #cdc295;
  font-family: Monaco, "Courier New", Courier, monospace;
  font-size: 85%;
}

/* popups */

#content .popup {
  background-color: white;
  border: 5px solid silver;
  padding: 2em;
  padding-top: 1em;
  padding-bottom: .5em;
}
#content .popup .busy {
  float: right;
}
#content .popup h3 {
  margin-top: 0;
}
#content .popup .close-link {
  font-size: 85%;
  color: #999;
}

div.auto_complete {
width: 350px;
background: #fff;
}
div.auto_complete ul {
border:1px solid #888;
margin:0;
padding:0;
width:100%;
list-style-type:none;
}
div.auto_complete ul li {
margin:0;
padding:3px;
}
div.auto_complete ul li.selected {
background-color: #ffb;
}
div.auto_complete ul strong.highlight {
color: #800;
margin:0;
padding:0;
}
.quantity{text-align:right; width:20%}
.quantity input {width: 5em; text-align:right}


/* pagination */
.pagination {
text-align: center;
padding: 1em
}
.pagination a, .pagination em {
padding: .4em .5em
}
.pagination em {
font-style: normal;
border: 1px solid #DDDDDD
}
.pagination a {
text-decoration: none;
color: black
}
.pagination a:hover,.pagination a:focus {
text-decoration: underline
}