/* style.css -- dddcms default page style, normal view
 * Copyright (c) 2009 Neels J. Hofmeyr
 *
 *  This file is part of dddcms.
 *
 *  dddcms 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, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  dddcms 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 dddcms.  If not, see <http://www.gnu.org/licenses/>.
 */

body {
  color: black;
  background-color: white;
  font-family: Verdana, sans-serif;
  font-size: 1.10em;
  margin: 0;
  padding: 5px;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:active {
}

a:visited {
  color: #33d;
}

img {
  border: none;
}

div.text img {
  box-shadow: 0 0 7px #aaa;
  border-radius: 2.5px;
}

div.text img.plain {
  box-shadow: none;
  border-radius: none;
}

div#nav_outer {
  z-index: 0;
  position: absolute;
  top: -1px;
  left: 0px;
  width: 210px;
  height: 100%;
  padding: 0;
  margin: 0;
}

div#nav {
  padding: 23px 0 28px 1px;
  margin: 0;
  background: url('gradient.png') repeat-y right top;
  font-family: Verdana,sans-serif;
  border-right: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  border-radius: 0 0 3px 0;
}

div#content {
  position: absolute;
  left: 237px;
  right: 17px;
  top: 17px;
  padding-bottom: 7px;
  color: black;
  min-width: 200px;
}

div#nav ul {
  margin: 0;
  padding: 0;
}
div#nav li {
  list-style: none;
  text-decoration: none;
  word-wrap: break-word;
  margin: 0;
}
div#nav a {
  font-size: 0.88em;
  text-decoration: none;
  font-weight: normal;
  display: block;
  padding: 0.28em 0 0.32em 0;
  border-radius: 3px 0 0 3px;
}
div#nav a:link {
  color: black;
}
div#nav a:visited {
  color: black;
}
div#nav a:hover {
  color: black;
  background-color: #ddd;
}
div#nav a:active {
  color: white;
  background-color: #ddd;
}

div#nav a.selected {
  background-color: #333;
  color: white;
}

div#nav a.selected:hover {
  color: white;
}

div#nav a.root {
  display: none;
  font-size: 1.9em;
  font-family: monospace;
  font-weight: bold;
  border-radius: 3px 0 0 3px;
}

div#nav a.root.selected {
  background-color: black;
  color: white;
}

div#nav a.root.selected:hover {
  background-color: #333;
  color: white;
}

/* some navigation indent levels are defined.
   If you need more dephts than that, you need to create more
   styles. */
/* The root link */
div#nav li.level0 a { margin-left: 0px; padding-left: 7px }
/* The cascade of opened items and their children */
div#nav li.level1 a { margin-left: 0px; padding-left: 7px }
div#nav li.level2 a { margin-left: 15px; padding-left: 7px }
div#nav li.level3 a { margin-left: 30px; padding-left: 7px }
div#nav li.level4 a { margin-left: 45px; padding-left: 7px }
div#nav li.level5 a { margin-left: 60px; padding-left: 7px }
div#nav li.level6 a { margin-left: 75px; padding-left: 7px }
div#nav li.level7 a { margin-left: 90px; padding-left: 7px }

div#nav span.one_item {
  line-height: 93%;
}
div#nav span.after_item {
  line-height: 100%;
}

input.button {
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  /*font-family: sans-serif;*/
  font-size: 1.0em;
  padding: 0 17px;
}

td.item_tabs {
  padding: 0 0 5px 0;
  background: none;
  border: none;
}

td.item_tabs input.button {
  padding: 2px 6px;
  border: none;
  background: none;
  border-radius: 2px;
  margin: 0;
  font-weight: bold;
  font-family: monospace;
  font-size: 1.2em;
}

td.item_tabs input.button.mark {
  background-color: #333;
  color: #fff;
}

td.item_tabs input.button:hover {
  background-color: #bbb;
}

td.item_tabs input.button.mark:hover {
  background-color: #555;
}

div#browsebuttons {
  position: fixed;
  top: 18px;
  left: 211px;
  padding: 3px;
  background: none;
  color: black;
  min-width: 10px;
  min-height: 22px;
}

div#browsebutton {
  background: none;
  margin: 2px 1px;
  border-radius: 3px;
}

div#browsebutton:hover {
 border: 1px dotted #888;
 margin: 0px 0.5px;
}

div#browsebutton img {
  padding: 0;
  margin: 0;
  border: 0;
}
  
div#browsebutton a {
  padding: 0;
  margin: 0;
  background: none;
}

div#headlet {
  z-index: 100;
  position: absolute;
  text-align: right;
  font-size: small;
  float: right;
  top: 1px;
  right: 17px;
  min-width: 200px;
}

div#headlet table {
  padding: 0;
  margin: 0;
}

div#headlet td {
  display: inline;
  list-style-type: none;
  padding-left: 17px;
  padding-right: 0;
  margin: 0;
}

div#headlet_left {
  z-index: 100;
  position: absolute;
  text-align: left;
  font-size: 12px;
  float: left;
  top: 1px;
  left: 5px;
  min-width: 200px;
}

div#headlet_left table {
  padding: 0;
  margin: 0;
}

div#headlet_left td {
  display: inline;
  list-style-type: none;
  padding-left: 0;
  padding-right: 17px;
  margin: 0;
}

div#photo_prev{
  position: absolute;
  text-align: right;
  float: right;
  top: 1px;
  left: 237px;
  font-size: small;
  padding: 0;
  margin: 0;
}

div#photo_prev table {
  padding: 0;
  margin: 0;
}

div#photo_prev td {
  display: inline;
  list-style-type: none;
  padding: 0;
  margin: 0;
  font-weight: bold;
}


div#photo_next {
  position: absolute;
  text-align: right;
  float: right;
  top: 1px;
  left: 297px;
  font-size: small;
  padding: 0;
  margin: 0;
}

div#photo_next table {
  padding: 0;
  margin: 0;
}

div#photo_next td {
  display: inline;
  list-style-type: none;
  padding: 0;
  margin: 0;
}


td.button a {
  background-color: #ddd;
  color: #9c9c9c;
  text-align: center;
  vertical-align: middle;
  font-weight: normal;
  text-decoration: none;
  font-family: Sans;
  font-size: 1.1em;
  padding-left: 17px;
  padding-right: 17px;
  padding-top: 0;
  padding-bottom: 1px;
  border-radius: 3px;
  border: 1px solid #9c9c9c;
}

td.button a:hover {
  background-color: #55f;
  border-color: #55f;
  color: white;
}

td.button span.bold_button a {
  font-weight: bold;
}

td.button span.red_button a {
  background-color: #fdd;
}

td.button span.red_button a:hover {
  background-color: #d00;
}

td.button span.hidden_button a {
  background: None;
  border: None;
  color: white;
}

div#headlet td.button span.hidden_button a:hover {
  background-color: #55f;
  color: white;
}

div.photos_thumbs {
  padding: 7px 0;
}

div.photos_thumbs ul {
  padding: 0;
  background-color: #ddd;
  border-radius: 3px;
  margin: 0;
  padding-right: 7px;
  padding-left: 3px;
  padding-top: 5px;
}

div.photos_thumbs li {
  display: inline;
  list-style-type: none;
  margin: 0;
  padding-left: 7px;
  padding-bottom: 5px;
}

div.photos_thumbs img {
  border: 1px solid #ccc;
}
div.photos_thumbs img:hover {
  border: 1px dotted #fff;
}

div.photos_thumbs a {
  border: none;
}


div.photos_thumbs a:active {
  border: none;
}


div.photo {
  padding: 17px 0;
  text-align: center;
}

div.photo_label {
  padding-top: 7px;
  text-align: center;
  font-size: 0.65em;
}

div.photo_annotation {
  padding-top: 7px;
  text-align: center;
  font-size: 1.0em;
}

div.photo img {
  border: none;
  padding: 0;
}

div.photo a {
  }


table {
  padding: 0px 0px;
  border-spacing: 0px 1px;
  border: 0 solid #bbb;
}

td {
  padding: 3px 7px;
  vertical-align: top;
  text-align: left;
  border: 0 solid #bbb;
}

table.frame {
  border-bottom-width: 1px;
  border-right-width: 1px;
}

table.frame td{
  padding: 5px 7px;
  border-top-width: 1px;
  border-left-width: 1px;
}

table.hframe {
  border-bottom-width: 1px;
}

table.hframe td{
  padding: 5px 7px;
  border-top-width: 1px;
}

table.vframe {
  border-right-width: 1px;
}

table.vframe td{
  padding: 3px 7px;
  border-left-width: 1px;
}

div.files {
  padding: 17px 0;
}

td.file_size {
  padding: 2px 3px;
  padding-top: 9px;
  font-size: 0.65em;
  text-align: right;
  vertical-align: top;
  white-space: nowrap;
}

td.file_name {
  padding: 2px 3px;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

td.file_date {
  padding: 2px 3px;
  padding-top: 9px;
  font-size: 0.65em;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

td.file_description {
  padding: 2px 3px;
  padding-left: 5px;
  padding-top: 5px;
  font-size: 0.8em;
  text-align: left;
  vertical-align: top;
  font-style: italic;
}

h1, h2, h3, h4, h5, h6 {
  font-family: monospace;
  margin-bottom: 0;
  border-bottom: 1px solid #9c9c9c;
}

h1 {
  font-size: 42px;
  font-weight: bold;
  margin: 0;
  border-bottom: 2px solid #9c9c9c;
}


div.dialog {
  padding: 5px 7px;
  border: 1px solid #555;
  border-radius: 3px;
}

textarea {
  width: 721px;
  height: 450px;
  display: block;
}

div.dialog td.item_list textarea {
  width: 180px;
  height: 250px;
}

div.dialog td.add_list textarea {
  width: 180px;
  height: 200px;
}

div.dialog td.label {
  text-align: right;
  font-size: 0.9em;
}

div.dialog td.hint {
  font-size: 0.65em;
  vertical-align: middle;
  font-style: italic;
  text-align: right;
  color: #777;
}

div.dialog td.vspace {
  padding: 1.2em;
}

div.dialog td.section_header {
  font-size: 0.8em;
  vertical-align: middle;
  font-style: italic;
  color: #555;
}

div.javascript_hint {
  font-size: 0.55em;
  color: #888;
}

ul.submit_choices {
  padding: 0;
  margin: 0;
}

ul.submit_choices li {
  list-style: none;
  float: left;
  margin: 0;
  padding: 0 1px 0 0;
}

div.child_list ul {
  margin: 17px;
  padding: 17px;
}

div.child_list li {
  list-style: square;
  text-decoration: none;
  margin: 0;
  padding: 0;
  font-size: 0.9em;
  vertical-align: middle;
}

div.child_list a {
  font-size: 1.5em;
  font-weight: bold;
  font-family: monospace;
  text-decoration: none;
  display: block;
  padding: 5px;
}

div.child_list a:hover {
  text-decoration: underline;
}

div.one_child ul {
  margin: 0 17px;
  padding: 0 17px;
}

div.one_child li {
  list-style: square;
  text-decoration: none;
  margin: 0;
  padding: 0;
  font-size: 78%;
  vertical-align: middle;
}

div.one_child a {
  font-size: 150%;
  font-weight: bold;
  text-decoration: none;
  display: block;
  padding: 5px;
}

div.one_child a:hover {
  text-decoration: underline;
}

div.auto_refresh {
  font-size: 0.8em;
  font-style: italic;
  color: gray;
}

div.pre {
  border-left: 1px solid black;
  padding-left: 7px;
  margin: 17px 2px;
}

div.pre a {
  background-color: #ddd;
  text-align: center;
  vertical-align: middle;
  font-weight: bold;
  text-decoration: none;
  font-family: Sans;
  font-size: 0.5em;
  padding: 1px 7px;
}

div.pre a:hover {
  background-color: blue;
  color: white;
}

div.pre pre {
  border: 0;
  padding: 0;
  margin: 0;
}

div.not_found {
  border: 5px solid #fe8;
  background-color: white;
  padding: 17px;
}

div.not_found h1 {
  font-style: italic;
}

td.annotate_entry input {
  width: 350px;
}

td.table_heading {
  font-size: 0.9em;
  font-family: monospace;
}

div#content li {
  padding-bottom: 0.4em;
  padding-top: 0.4em;
}
