/**
   * $Id: phpwiki.css,v 1.49 2005/04/11 19:41:23 rurban Exp $
   *
   * This incarnation of this stylesheet is a complete rewrite from the
   * ground up.
   *
   * Mozilla's "DOM Inspector" Sidebar was an invaluable troubleshooting
   * tool for mapping the more complex CSS node selectors, such as those
   * used to reference the various CalendarPlugin elements.
   */

/**
   * NS4 doesn't grok @import. This allows us to put things which
   * break NS4 in another file.
   */
@import url(heavy.css); 
@import url(download.css);
@import url(screenshots.css);
@import url(manpage.css);
@import url(shellcode.css);
@import url(faq.css);

/**
   * General
    */ 
img {
  border: 0;
}

a img {
  border: 0;
  text-decoration: none;
}

form{
  margin: 0ex;
}

table {
  border-spacing: 1px;
  /* For Mozilla */
  empty-cells: show;
}

caption {
  caption-side: top;
  text-align: left;
  margin-bottom: .5ex;
  /* Allow the caption to extend to the full page width
     Mac ie5.1 ignores this */
  width: 100%;
}


/**
   * Wiki  */
body {
  /* ivory #ffe #fffff0*/
  background: rgb(240,230,230);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 85%; /* The default is too large. But enlarge monospace below */
  margin: 0;
}

div#content hr {
  height: 1px;
  
}

div#content pre {
  background-color: rgb(230,240,200);
  font-family: monospace;
  display: inline-block;
  border: 1px dashed rgb(0,100,0);
  margin: 0.2em 1em 0.2em 1em;
  padding: 0.2em 1em;
}

div#content a {
  color: rgb(90,60,200);
}

div#content a:hover {
  color: rgb(210,80,80);
  text-decoration: underline;
}

div#content a:active {
  color: rgb(210,80,80);
  text-decoration: none;
}

div#content a:visited {
  color: rgb(120,110,180);
}

div#content a:visited:hover {
  color: rgb(210,80,80);
  text-decoration: underline;
}

div#content p.first {
    font-size: 1.4em;
}


/**
   * PageTypes
   */
div#content {
  margin-top:    0;
  margin-bottom: 0;
  background: white;
  clear: both;
}

div#content > * {
  margin-left:  20px; 
  margin-right: 20px;
}



/**
   * Link styles
   */

/* Action buttons */
a.wikiaction, a.wikiadmin, a.wiki-rc-action, a.wikiunsafe {
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  /* don't wrap text buttons */
  white-space: nowrap;
  /*font-size: inherit; */
}


h1, h2, h3, h4, h5, h6 {
  font-family: Arial, Helvetica, sans-serif;
  padding-left: 0;
}

h1, h2 {
  color: darkgreen;
}

h1 {
  display: block;
  margin: 0;
  font-size: 140%;
  padding-left: 20px;
  vertical-align: bottom;
}

h1 a.backlinks,
h1 a {
  color: black;
  text-decoration: none;
}

h1 a:hover {
  color: red;
  text-decoration: underline;
}

h2 {
  font-size: 1.4em;
  font-weight: normal;
  text-decoration: none;
  margin-top: 1em;
  margin-bottom: 0.1em;
  border-bottom: 1px solid lightgreen;
}

h3 {
  font-size: 1.1em;
  margin-top: 0.5em;
}

h4 {
  font-size: 1em;
}


code {
  color: rgb(0,100,0);
}


/**
  * Footer
  */
div#footer {
  background-color: rgb(230,230,230);
  padding: 0.4em 0 0 0;
}

div#footer .editdate {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0 0 0.4em 0;
  padding: 0;
  text-align: right;
  color: rgb(150,150,180);
}


div#credits {
  display: block;
  background-image: url('../images/blue-bg.png');
  background-repeat: repeat-x;
  background-position: top;
  background-color: rgb(113,98,185);
  color: white;
  margin: 0;
  padding: 0 0 0.4em 0;
  text-align: center;
}

div#credits a {
  color: white;
  text-decoration: none;
  font-size: 12px;
  line-height: 14px;
}

div#credits #abhishek {
  background-image: url('../images/parenthesised-greenpill-tiny.png');
  background-repeat: no-repeat;
  background-position: right;
  display: block;
  padding: 0 140px 0 5px;
  height: 31px;
  margin: 0.6em;
  text-align: right;
  float: right;
}

div#credits #sourceforge {
  background-image: url('http://sourceforge.net/sflogo.php?group_id=143975&amp;type=1');
  background-repeat: no-repeat;
  display: block;
  padding: 0 5px 0 95px;
  height: 31px;
  margin: 0.6em;
  text-align: left;
  float: left;
}

/**
  * Toc
  */
div#toc {
  background-color: rgb(240,240,240);
  border: 1px solid rgb(210,210,210);
  display: block;
  padding: 0.2em 1em 0.4em 0.8em;
  margin-top: 0.5em;
  margin-bottom: 1.5em;
  float: left;
}

div#toc h2 {
  color: black;
  font-size: 1.2em;
  font-weight: bold;
  margin: 0;
  padding: 0 0.8em 0 0;
  text-decoration: none;
}

div#toc h2 a {
  color: rgb(0,0,0);
  text-decoration: none;
}

div#toc a {
  text-decoration: none;
}

div#toc ul {
  margin: 0.5em 0 0 0;
  list-style: none;
  padding: 0;
}

div#toc ul ul {
  margin: 0;
  padding-left: 1em;
}

div#toc li {
  margin: 0;
  
}

div#toc + * {
  clear: both;
}


/**
  * Tables
  */
table, td {
  font-family: Arial, Helvetica, sans-serif;
}

caption {
  font-family: Arial, Helvetica, sans-serif;
}
.pagelist 
{
}

.pagelist thead td {
  background: #e8e8e8;
  text-decoration: none;
  font-weight: bold;
  font-size: smaller;
}

.pagelist thead td u{
  text-decoration: none;
}

.pagelist tr.evenrow {
  background: #eee;
}

.pagelist tr.oddrow  {
  background: white;
}

th.gridbutton {
  background-color: black;
  color: white;
  font-family: Tahoma, sans-serif, Arial, Helvetica;
  font-size: small;
  font-weight: normal;
  /*font-style: menu;*/
  white-space: nowrap;
  margin: 0.2em 0px;
  max-height: 24px;
  padding: 0px 0px 0px 0px;
}

th.gridbutton a,
th.gridbutton a:hover,
th.gridbutton a:visited {
  color: white;
}

a.gridbutton,
a:hover.gridbutton,
a:visited.gridbutton {
  text-decoration: none;
  font-size: small;
  font-weight: normal;
  /*font-style: menu;*/
  font-family: Tahoma, sans-serif, Arial, Helvetica;
  background-color: black;
  color: white;
}

#shadow {
  background-image: url('../images/shadow.png');
  background-repeat: repeat-x;
  height: 20px;
}

/**
   * Toolbar
   */
.toolbar {
  color: rgb(255,255,255);
  display: block;
  padding: 0;
  margin:  0;
  text-align: right;
  background-color: rgb(0,0,0);
  vertical-align: top;
}

.toolbar form {
  margin: 0;
  padding: 0;
}

.toolbar input {
  vertical-align: top;
  margin: 0;
  padding: 0;
}

.toolbar a.wikiadmin,
.toolbar a.wikiadmin:visited,
.toolbar a.wikiaction,
.toolbar a.wikiaction:visited
 {
  background-color: rgb(80,80,80);
  color: white;
}

.toolbar div.navbuttons,
.toolbar div#actionbuttons,
.toolbar div#signin
{
  margin: 0;
  padding: 0.5em 0;
  vertical-align: middle;
}

.toolbar div.navbuttons a,
.toolbar div#actionbuttons a,
.toolbar div#signin a {
  padding: 0.5em 0.5em;
  margin: 0.5em 0;
  display: inline;
  color: white;
  font-weight: bold;
  text-decoration: none;
}

.toolbar div.navbuttons a:hover,
.toolbar div#actionbuttons a:hover,
.toolbar div#signin a:hover {
  background-image: url('../images/small-red-bg.png');
  background-repeat: repeat-x;
  background-position: top;
  background-color: rgb(206,62,62);
}

.toolbar div#actionbuttons {
  text-align: left;
}

.toolbar div#signin {
  float: right;
}

.toolbar div#signin input {
  display: none;
}

.level-2 {
  background-color: rgb(80,80,80);
}


div#logo {
  display: block
  float: none;
  padding: 0;
  margin: 0;
  background-image: url('../images/blue-bg.png');
}

#logo img {
  display: block;
  border: 0;
  text-align: center;
  margin: 0;
}

/**
   * Edit Page & View Source
   */

/* Make the textarea the full page width */
textarea.wikiedit {
  display: block;
  width: 90%;
  margin: 0.5em auto;
  padding: 2px;
}

#editarea-size {
  margin-top: 1ex;
  text-align: right;
  font-size: smaller;
}

#search-replace {
  margin-top: 1ex;
  text-align: left;
  font-size: smaller;
}

#toolbar {
  padding:0px;
}

div#content {
  background-color: white;
  border-top: 1px solid rgb(180,180,180);
}

/**
   * Content links
   */

div#content a {
    font-weight: bold;
}

/**
   * Search Results
   */
.search-context {
  background: white;
}

.search-term {
  background: yellow;
  font-weight: normal;
}



/**
   * Other
   */
.printer, .no-css {
  display: none;
}

/* PHP Warnings */
div.errors {
  color: black;
  background: #eee;
  margin-top:    1em;
  margin-bottom: 1em;
  padding-left:  0.8em; 
  padding-right: 0.8em; 
  padding-top:    0.8ex;
  padding-bottom: 0;
  border: medium solid red;
  clear: both;
}

h4.errors {
  color: red;
  margin:  0;
  padding: 0;
  text-decoration: underline;
}

div.warning {
  color: black;
  background: #eee;
  margin-top:    1em;
  margin-bottom: 1em;
  padding-left:  0.8em; 
  padding-right: 0.8em; 
  padding-top:    0.8ex;
  padding-bottom: 0;
  border: thin solid blue;
  clear: both;
}

.error {
  font-family: monospace; font-size: 120%;
}

.error ul {
  font-family: monospace;
}

/* Debug */
.debug {
  color: black;
  background: white;
  font-family: monospace;
  font-size: smaller;
  margin: 1ex 0;
  padding: 0.5ex 0.5em;
  border: medium solid #fff8dc; /* darker ivory */
}

/* Hints */
.hint {
  color: black;
  background: #eeeeee;
  /* font-size: smaller; */
  font-style: italic;
  margin-left: 3em;
  padding: 0.5ex 0.5em;
  border: thin solid #aaaaaa;
}

span.hint {
  padding: 0;
}

/* Disabled Plugins */
.disabled-plugin
{
  clear: both;
  margin: 1ex 0;
  padding: 0;
}

.disabled-plugin .title {
  color: #400;
  background-color: inherit;
  font-size: x-small;
  text-align: right;
  padding: 0 0.5em;
}

.disabled-plugin pre {
  color: black;
  background: #ddd;
  margin: 0;
  padding: 0.3ex 0.5em;
}

/* "(Redirected from ...)" message. */
span.redirectfrom {
  font-size: small;
  font-style: oblique;
  font-weight: normal;
  padding-left: 1em;
}


/*
   * "E-mail" style blockquote
   */
blockquote.mail-style-quote {
  border-left: medium #284 solid;
  padding-left: 1em;
  margin-left: 0;
  margin-right: 0;
}

.mail-style-quote blockquote.mail-style-quote {
  margin-left: -0.6em;
}



.dialog {
  background-color: rgb(206,62,62);
  background-image: url('../images/red-bg.png');
  background-repeat: repeat-x;
  color: white;
  margin: 2em auto 2em auto;
  border: thin black solid;
  width: 50%;
}

.dialog h1, .dialog p, .dialog div {
  text-align: center;
}

.dialog h1 {
  font-size: large;
  margin: 0.5em 0 1em 0;
}

.dialog div.message {
  background-color: white;
  color: black;
  color: black;
  margin: 0 1em;
  padding: 0.5em 0.5em;
  font-size: 1.4em;
}

.dialog p.buttons {
  margin: 1em 0 0.5em 0;
}

div.dialog form fieldset {
    border: none;
    padding: 0.5em;
    margin: 0;
}

div.dialog form fieldset ol {
    margin: 0;
    padding: 0;
}

div.dialog form fieldset li {
    list-style: none;
    text-align: center;
    padding: 0;
    margin-bottom: 0.5em;
}

div.dialog form label {
    display: inline-block;
    width: 6em;
    display: -moz-inline-box;
    font-weight: bold;
    text-align: right;
}

div.dialog form div.wikiactions {
    text-align: right;
    float: right;
}

.clear-floats {
  clear: both;
  float: none;
}


div.spacer {
  clear: both;
  float: none;
  height: 1px;
}

div.separator {
  clear: both;
  display: block;
  height: 1px;
  border-top: 1px solid lightgray;
  margin: 0 auto 0.7em auto;
}

div#footer p {
  margin-top: 0;
}

div#header, div#content, div#footer, div#credits {
  font-size: 1em;
  width: 60em;
  border-left: 1px solid rgb(180,180,180);
  border-right: 1px solid rgb(180,180,180);
  margin: 0 auto;
}

/* For emacs users
   *
   * Local Variables:
   * mode: css-mode
   * End:
   */
