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

/* dokuwiki containers & styles */

@media screen {

/* sidebar orientation and position */
#sidebar {
	margin:0; 
	padding:0;
	overflow:hidden;
}

.sidebar_outside_right #sidebar {
	top:0; 
	right:0;
}

.sidebar_outside_right .dokuwiki {
    padding-right:21%;
}

.sidebar_outside_right .footerinc {
	padding-right: 21%;
}

/* hide the line where it passes through .stylehead */
.stylehead {
	background: white;
}

/* sidebar contents */
#sidebar {
	font-size:10px;
}

#sidebar a {
	color: white;
	font-style: normal;
}

#sidebar a.wikilink2 {
	color: silver;
}

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

#sidebar h1,#sidebar  h2,#sidebar  h3,#sidebar  h4,#sidebar  h5 {
	font-size:100%; 
	margin-left: 20px; 
	font-weight:normal; 
	padding-bottom:0;
	padding-top:0;
}
#sidebar .toc {
	display:none;
}

/* reduced section indentation */
#sidebar div.level1, div.level2, div.level3, div.level4, div.level5 {margin-left: 10px;}

#sidebar ul {
  list-style-type: none;
//  margin: 0.5em 0 0.5em 1.5em;
  //padding: 0;
  //list-style-image: url(images/bullet.gif);
  list-style-image: none;
}

#sidebar hr {
  border: 0px;
  border-top: 1px solid #84883f;
  text-align:center;
  height: 0px;	
  margin-left: 15px; 
}

#sidebar p {
	margin-left: 15px;
	color: white;
}

/* external link */
#sidebar a.urlextern{
    background: transparent;
    padding: 0px;
    color:white;
    text-decoration:none;
}
#sidebar a.urlextern:visited {
  color:white;
}
#sidebar a.urlextern:hover {
  text-decoration:underline;
}

/* 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 \*/
* html .stylehead {height:1px;}   /* Get IE in hasLayout mode to ensure the background covers the whole element \*/

* html .sidebar_inside_left .page, * .sidebar_inside_right .page, 
* html .sidebar_inside_left .meta, * .sidebar_inside_right .meta {
    width: 77%;                   /* IE needs extra gap to ensure #sidebar & .page float next to each other \*/
	overflow-x: auto;             /* IE proprietary property to prevent wide images in wiki page forcing sidebar down below wiki page \*/
                                  /* 'overflow-x:auto;' maybe replaced by 'overflow:auto;' to ensure template passes w3c validation \*/
}

/* (end IE Mac hiding) */

} /* end @media screen */

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