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

/* dokuwiki containers & styles */

@media screen {

/* sidebar orientation and position */
/*
#sidebar {
	position: absolute;
	left:24px;
	top:98px;
	width:184px;
}*/

.sidebar_inside_left #sidebar {
	text-align: left;
}
.sidebar_inside_right #sidebar {
	float:right; 
}
.sidebar_inside_left {
}
.sidebar_inside_left .page {
	margin-left: 232px;
	margin-right:24px;
}
.sidebar_inside_left .meta {
	margin-left: 232px;
	padding-right:26px;
	color: #000000;
	line-height: normal;
}
.sidebar_inside_right .page, .sidebar_inside_right .meta {
	float:left; 
	width:78%; 
	margin-left: 0;
	margin-right: 0;
}

.sidebar_outside_left #sidebar {
	border: 1px solid green;
	top:0; 
	left:0;
}

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

.sidebar_outside_left .dokuwiki {
	
	padding-left:232px;
	border: 2px solid green;
}

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

.sidebar_outside_left .footerinc {
	padding-left: 21%;
}

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

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

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

#sidebar a {
	color: #D20C19;
}

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

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

#sidebar h1 {
	font-size:200%; 
	margin-left: 0; 
	font-weight:normal; 
	padding-bottom:0; 
}
#sidebar h2 {
	font-size: 120%; 
	margin-top: 20px;
	margin-bottom: 2px; 
	font-weight: bold; 
	padding-left: 10px;
	padding-bottom: 0;
	vertical-align: baseline;
	background-color: black;
	color: white;
	text-transform: uppercase;
	line-height: 9px;
}
#sidebar h3 {
	font-size: 120%; 
	margin-left: 0; 
	font-weight:normal; 
	padding-bottom:0;
}
#sidebar h4 {
	font-size:100%; 
	margin-left: 0; 
	font-weight:bold; 
	padding-bottom:0;
}
#sidebar h5 {
	font-size:100%; 
	margin-left: 0; 
	font-weight:normal; 
	padding-bottom:0;
}
#sidebar .toc {
	display:none;
}

#sidebar div.level2 ul {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 11px;
	margin: 0px;
	list-style: none;
	list-style-image: none;
}


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

/* 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: auto;                   /* 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 \*/
}
* html .sidebar_inside_left .meta{
	margin-right: 10px;
}
/* (end IE Mac hiding) */

} /* end @media screen */

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

#sidebar h1 a, #sidebar h2 a, #sidebar h3 a, #sidebar h4 a, #sidebar h5 a, #sidebar h1 a:hover, #sidebar h2 a:hover, #sidebar h3 a:hover, #sidebar h4 a:hover, #sidebar h5 a:hover {
  color:#fff;
  text-decoration:none;
}

#sidebar .li
{
	margin: 0 0 0 0;
}
