/**
 * Extra styles for sidebar template
 *
 * @author Christopher Smith <chris@jalakai.co.uk>
 */

/* dokuwiki containers & styles */

@media screen {


/* sidebar orientation and position */

.sidebar {
  font-family:Helvetica;
  width:168px;
  margin:0px;
  margin-top:10px;
  padding:0px;
  font-size:12px;
  border:1px dotted #aaaaaa;
  background-image:url('images/sidebar_bg.gif');
}

/* sidebar contents */

.sidebar ul { 
  line-height: 1.4em;
}

.sidebar_menu {
  margin:4px;
  padding:0px;
  padding-bottom:5px;
  vertical-align:top;
  width:168px;
}

.sidebar_news {
  margin:4px;
  padding:0px;
  padding-bottom:20px;
  vertical-align:top;
  text-align:left;
  width:168px;
}

.sidebar_news p {
  margin-left:4px;
  margin-right:4px;
  font-size:90%;
}

.sidebar_news ul {
  line-height: 1.0em;
  list-style-type: square;
  margin: 0 0 0.5em 1.5em;
  padding: 0 3px 0 0;
  font-size: 90%;
  list-style-image: url(images/bullet.gif);
}

.sidebar_news .li {
  color: #000000;
  font-weight: normal;
  margin: 0 0 1.0em 0;
}

.sidebar_allnews {
  margin:0;
  margin-left:4px;
  margin-right:4px;
  padding:0;
  border:none;
  width:168px;
}

.sidebar_search {
  text-align:center;
  margin:0px;
  padding:2px;
  vertical-align:top;
  font-size:120%;
  width:168px;
}

.sidebar_ads {
  padding:5px 5px 5px 5px;
  text-align: center;
  vertical-align:top;
  width:168px;
}

.sidebar_ads2 {
  padding:5px 5px 5px 5px;
  text-align: center;
  vertical-align:bottom;
  width:168px;
}

.sidebar_contact {
  text-align:center;
  font-size:100%;
  vertical-align:top;
  height:30px;
  width:168px;
}

.sidebar a {
  color: #57669d;
}

.sidebar_allnews a {
  color: black;
}

.sidebar a.wikilink1 {
  color:#57669d;
  font-weight:bold;
}

.sidebar a.wikilink2 {
  color:#999999;
}

.sidebar a.wikilink3 {
  color:#ff362d;
  font-weight:bold;
}

.sidebar a.wikilink2:hover {
  text-decoration:none; 
  cursor:default;
}

.sidebar h1 {
  font-size:110%; 
  margin: 0px 0px 10px 0px;
  padding: 7px 4px 4px 4px;
  font-weight:bold; 
  background: #bbbbdd;
  color: black;
  text-align:center;
  border: 1px solid #888888;
  border-top: 1px solid #ccccee;
  border-left: 1px solid #ccccee;
}

.sidebar h2 {
  font-size:100%; 
  margin-left: 4px; 
  font-weight:bold; 
  padding-bottom:0;
}
.sidebar h3 {
  font-size:100%; 
  margin-left: 8px; 
  font-weight:normal; 
  padding-bottom:0;
}
.sidebar h4 {
  font-size:100%; 
  margin-left: 12px; 
  font-weight:bold; 
  padding-bottom:0;
}
.sidebar h5 {
  font-size:100%; 
  margin-left: 16px; 
  font-weight:normal; 
  padding-bottom:0;
}

.sidebar .toc {
  display:none;
}

/* reduced section indentation */
.sidebar div.level1 {margin-left: 2px;}
.sidebar div.level2 {margin-left: 6px;}
.sidebar div.level3 {margin-left: 10px;}
.sidebar div.level4 {margin-left: 14px;}
.sidebar div.level5 {margin-left: 18px;}

/* IE fixes (hide from IE Mac) \*/

* html .page .toc {height:1px}    /* General Dokuwiki fix. IE needs this to always display TOC contents \*/
* html pre {width:95%;}           /* General Dokuwiki fix - very important for Sidebar. IE needs this to get the overflow:auto style to kick in \*/

/* (end IE Mac hiding) */

} /* end @media screen */

/* prevent the sidebar being included when printing wiki pages */
@media print {
  .sidebar {display:none;}
}
