/* This file is a freaking mess ... I hope to fix it some day -kostya */

/* Put all generic definitions here. */
H1,H2,H3,H4 { font-family: Arial, Helvetica, sans-serif; }

h2 { border-bottom: 2px grey solid }
h3 { border-bottom: 1px grey solid }

DIV.small   { font-size: 70%; }
H1.pagename { margin-top: 0; }
IMG.inline  {}

A.footnoteref { vertical-align: super; 
                font-size: 70%; }
A.footnote    { color: #0044AA; }
P.versionnote { color: blue;
                font-size: 130%;
                text-align: center; 
                background: #EAEAEA;
                padding: 12px 12px 12px 12px;
                }

/* Added in v1.5.1 */

H3.leftmenuheading { margin-top: 0; }
BODY.edit   { background-color: #D9E8FF; } /* Edit.jsp BODY element */
.leftmenu { font-family: arial, helvetica, sans-serif;
                  font-size: 90%; }  /* Left menu */
.page     { }                            /* Page data area */
A.wikipage  { }                            /* Normal, internal wiki reference */
A.editpage  { 
    color: #FF0000;
    text-decoration: none;
    border-bottom: 1px dashed red;
    }
A.external  { }                            /* External reference */
A.interwiki { }                            /* Interwiki reference */

/* Added in 1.6.3 */
TD.diffadd  { background: #99FF99; 
              font-family: monospace; }
TD.diffrem  { background: #FF9933; 
              font-family: monospace; }
TD.diff     { background: #FFFFFF; 
              font-family: monospace; }

/* Added in 1.6.9 */

TABLE.wikitable { }
TABLE.wikitable * TD { text-align: left; }
TABLE.wikitable * TH { }

/* This is the Edit.jsp editor style */
TEXTAREA.editor {}

pre { 
      white-space: pre;
      margin:      1em 2em 1em 2em; 
      background:  #f0f0f0;
      border:      1px dotted #3c78b5;
      overflow: auto;
     }

/* The text how the "This is a preview" comment should be shown. */
.previewnote {
               text-align: center;
               font-size: 100%;
               background:  #fff0f0;
               padding: 1em;
               }

/* How the preview content should be shown */
.previewcontent {
                  background: #E0E0E0;
                  padding: 1em;
                  } 

/* How the system messages should be shown (DisplayMessage.jsp) */
.messagecontent { background: #E0E0E0; }

/* How the "This page has been modified..." -comment should be shown. */

.conflictnote { }

/* For the weblog plugin */

.weblog { margin-left: 20px; }

.weblogentry { }

.weblogentryheading { background: #E0E0E0;
                      font-size: 120%;
                      font-family: sans-serif; 
                      margin-top: 2ex; }

.weblogentrybody { font-family: sans-serif; 
                   font-size: 85%; 
                   margin-left: 10px; }

.weblogentryfooter { font-size: 9px; 
                     margin-left: 10px;
                     clear: both; }

P.locknote { color: red;
             font-size: 130%;
             text-align: center; 
             background: #EAEAEA;
             padding: 12px 12px 12px 12px;
             }

/* For the CalendarTag */
TABLE.calendar  { font-size: 80%; }
TABLE.calendar TD { text-align: center; }

TABLE.calendar TD.othermonth { color: #707070; }

TABLE.calendar TD.link { background: #E0E0E0; }

TABLE.calendar TR.month { font-size: 120%;
                          font-family: sans-serif; }
TABLE.calendar TR.weekdays { color: #FF0000; }

/* For the BreadcrumbsTag */
.breadcrumbs { font-size: 60%; }

/* For the image plugin tag. */
.imageplugin { margin: 5px 5px 5px 5px; }
.imageplugin img { border: 0; }
.imageplugin caption { font-size: 80%; }

/* For the search_highlight.js.  This style defines the how the words that have
   been found look like.  If you look for "thingy", you will get these following
   in the results.

   <span class="searchword">thingy</span>
 */
.searchword { background-color: #FFFF00; }

/* For the weblogarchive plugin. */

.weblogarchive { }

.weblogarchive ul { margin-top: 0px;
                    padding: 0px; }

.weblogarchive li { display: block;
                    list-style-type: none;
                    margin-left: 1em; }

.archiveyear { font-weight: bold;
               text-decoration: none;
               margin-left: 0px !important; }
.archiveyear:after { content: " AD" }

/*  Error handling  (2.2+) */

.error { color: #ff2222; 
         font-weight: bold; }

/*  Index plugin */

div.index {}
div.index .header { padding: 4px; background: #f0f0f0; }
div.index .body {}
div.index .section { color:red; }

/*  Table of contents plugin */

.toc {
     background: #e0e0ff;
     border: 1px dashed #888888;
     padding: 8px;
     margin-top: 5px;
     margin-bottom: 5px;
}

.toc h4 {
}

.toc ul {
     list-style: none;
     margin-left: 0;
     padding-left: 0;
}

.toc li {
     margin-left: 1em;
     padding-left: 0;
     display: block;
}


/*  Here's a nice style you can use to put comment boxes on pages.  It's used
    on some pages. */

div.commentbox {
   float:right;
   width: 20%;
   border-style: inset;
   background: #f0f0f0;
   font-size: 80%;
   padding: 4px;
   margin-left: 4px;
}

.commentbox ul, .commentbox ol {
   padding-left: 1em;
   margin-left: 4px;
}

/*  To make centering easier */

.center { 
    text-align: center;
}

.center table { 
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

/* The CSS Styles for the Contextual diff provider */

.diff-wikitext 
    { margin: 10px; 
      padding: 5px; 
      border-width: thin; border-style:inset; 
      font-family: courier new , monospace;  }


.diff-insertion 
    { background: #ddffdd; text-decoration:  none; color: #8000ff; } 

.diff-deletion 
    { background: #ffdddd; text-decoration: line-through; color: red; } 

.diff-nextprev 
    { font-size: 60%; vertical-align: super; text-decoration: none; }


.zebra-table TH
    { background:  #e0e0e0;
    }
    
.zebra-table TR.odd TD
    { background:  #f0f0f0;
    }

.versionhistory
    { font-size: 80%;
      font-family: arial, helvetica, sans-serif;
    }

.attachments
    { font-family: arial, helvetica, sans-serif;
      font-size: 90%;
    }

.attachments h3
    { margin-bottom: 0px;
      padding-bottom: 0px; }

 .versionhistory
    { font-size: 85%;
       font-family: arial, helvetica, sans-serif;
    }

/**
 *  ==== pow2Style extension =================================================
 *
 *  tested on firefox 1.0.1
 */

/** from maven css */
img
{
  border:none;
}


/** page name (jspwiki title) */
h1.pagename
{
  
}


/** wiki table extension */
TABLE.wikitable
{
  font-family: Arial, Helvetica, sans-serif;
  //width: 100%;
  style: solid;
  border-width: 1px;
  border-color: #000000;
  background-color: #cBcbcB;
}

TABLE.wikitable * TD
{
  style: solid;
  border-width: 0px;
  background-color: #fafafa;
  padding:4px;
}

TABLE.wikitable * TH
{
  color: #000000;
  border-width: 0px;
  background-color: #EBEADB;
  padding: 4px;
}

TABLE.tableHeader
{
  border-top: 1px solid #888888;
  border-bottom: 1px solid #000000;
  border-left: 1px solid #888888;
  border-right: 1px solid #000000;
  background-color: #3b6491;
}

TABLE.tableHeader * TD
{
  border-bottom: solid #000;
  border-bottom-width: 1px;
}

TABLE.tableHeader * TD.bahbanner {
    border-top: solid #888888;
    border-top-width: 1px;
    color: #ffffff;
}

TABLE.tableHeader * TD.breadcrumbs
{
 background-color: #e8e8e8;
 border-top: solid #fff;
 border-top-width: 1px;
}

TABLE.breadcrumbs * TD {
    font-family: Verdana;
    /* font-size: 10px; */
    color: #003366;
    font-weight: bold;
    border-bottom: 1px solid #003366;
    padding-top:3px;
    padding-bottom:3px;
}

/** jspwiki {{{ }}} */
/**
pre
{
 background-color: #fff;
 color:   #000;
 border:  1px  dashed #888;
 padding: 8px;
}
*/


/** left menu */
DIV.leftmenu {
  font-size: 10px;
  font-family: Verdana;
  border: 1px dotted #99CCFF;
  padding: 5px;
  background-color: #FFFFFF
}

td.leftmenu {
    border: 1px solid #003366;
    padding: 6px;
    background-color: #D3DEE4;
}

a:link
{
  color: #6e8cb4;
  text-decoration: none;
}

a:visited
{
  color: #888888;
 text-decoration: none;
}

a:active, a:hover
{
 color: #6e8cb4;
 text-decoration: underline;
}

/** search input */
input.searchInput
{
  background-image:url('./images/input_white.png');
  padding-top:  2px;
  padding-left: 8px;
  color:   #000;
  border:  1px solid black;
}

/** used by EditTemplate.jsp - edit mode */
span.spanPagename
{
  font-size: 80%;
  color: #858585;
}

/** indent text on page paragraphs */
td.page 
{
  padding-left: 5px;
}

/** DO NOT SHOW the left menu hr ! */
div.leftmenu hr
{
  display: none;
}


/** hr elements with a minor width */
td.page hr
{
  position: relative;
  width:99%;
}


/** final styles */
body {
  margin-left: 10;
  margin-right: 10;
  font:normal 80% arial,helvetica,sanserif;
  background-color: #D3DEE4;
  color:#000000;
}

a.attachment {
    padding-right: 2px;
}

td.buttons   { height: 20; background-image: url('images/bg_btnbar.gif') }
td.tabbar    { border-bottom: 1px solid #003366; 
               background-color: #336699 }
td.tabon       { cursor:hand; color: #FFFFFF; font-family: Verdana; font-size: 8pt; text-align: center; 
               border-top: 1px solid #003366;
               border-left: 1px solid #003366;
               border-right: 1px solid #003366; padding-left: 4px; padding-right: 4px; 
               padding-top: 3px; padding-bottom: 3px; background-color: 
               #336699 }
td.taboff   { cursor:hand; color: #FFFFFF; font-family: Verdana; font-size: 8pt; text-align: center; 
               border: 1px solid #003366;
padding-left: 4px; padding-right: 4px; 
               padding-top: 3px; padding-bottom: 3px; background-color: 
               #0066CC }
td.tabspace  { border-bottom: 1px solid #003366;}

/** "button" tab */
td.buttontab   {
    color: #000000;
    font-family: Verdana;
    font-size: 8pt;
    text-align: center;
    vertical-align: center;
    border-bottom: 1px solid #003366;
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 3px;
    padding-bottom: 3px;
}

input.searchbtn { font-family: Verdana; font-size: 8pt; color: #003366; font-weight: bold }
input.searchbox { width: 110; font-size: 8pt; font-family: Verdana; color: #003366 }
font.search  { font-size: 11px; font-family: Verdana; color: #003366; font-weight: bold }
div.leftmenu { font-size: 10px; font-family: Verdana; border: 1px dotted #99CCFF; padding: 
               5px; background-color: #FFFFFF }
td.footer    { padding:3px; font-family: Verdana; font-size: 10px; color: #003366; border-top: 1px solid #003366 }
td.leftbar   { border: 1px solid #003366; padding: 6px; background-color: #D3DEE4 }
div.crumbs    { font-family: Verdana; font-size: 10px; color: #003366; font-weight: bold; 
               border-left-width: 1px; border-right-width: 1px; 
               border-top-width: 1px; border-bottom-style: solid; 
               border-bottom-width: 1px; padding-top:3px; padding-bottom:3px }

body {
    width: 720px;    
}

div.page     { 
    border: 1px solid #808080;
    padding: 4px;
    background-color: #FFFFFF;
    text-align:center;
}

.header {
      color: #ffffff;
}
td.header    { border: 1px solid #000000; background-color: #003399 }
h1.header {
      border-bottom: 1px dashed white;
      padding-top: 2px;
      padding-left: 5px;
      padding-bottom: 5px;
      margin-bottom: 5px;
}

div.button {
      border: 1px solid #6daaed;
      font-size: 60%;
      color:  #6daaed;
      vertical-align: center;
      align: center;
      padding: 1px;
      margin-top: 1px;
      margin-bottom: 1px;
}

dl dt {
    font-weight: bold;
    text-decoration: underline;
    margin-left: 5px;
}

ul li.toclevel-1 {
    font-size: 120%;
    font-weight: bold;
    margin-left: 5px;
}

ul li.toclevel-2 {
    font-size: 100%;
    margin-left: 25px;
}

ul li.toclevel-3 {
    font-size: 80%;
    font-style: italic;
    margin-left: 45px;
}

div.leftmenu ul {
    list-style-type: disc;
    list-style-position: inside;
    margin-left: 0px;
    padding-left: 0px;
}

div.leftmenu ul li {
    margin-left: 0px;
    padding-left: 0px;
    font-weight: normal;
}

div.leftmenu ul ul {
    list-style-type: circle;
    list-style-position: inside;
    margin-left: 1em;
    padding-left: 0px;
}

div.leftmenu ul ul li {
    margin-left: 0px;
    padding-left: 0px;
    font-weight: normal;
}

div.leftmenu ul ul ul {
    list-style-type: square;
    list-style-position: inside;
    margin-left: 1em;
    padding-left: 0px;
}

img.documentation {
    margin-left: 2px;
}

/* Styles for use in %%name ... %% */
.align-center {
    text-align: center;
}

.align-left {
    text-align: left;
}

.align-right {
    text-align: right;
}

.pre-box {
    font-family: courier, monaco, new courier;
    white-space: pre;
    border: 1px dashed #003366;
    padding: 5px;
    background: #dddddd;
}


