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

/* dokuwiki containers & styles */

@media screen {

/* sidebar orientation and position */
#sidebar {
	width: 1px;
	margin: 0;
	padding: 2px;
	border: thin solid Silver;
	-moz-border-radius: 7px 7px 7px 7px ;
}

/* sidebar contents */
#sidebar {
	font-size: 12px;
	background-color: #315786;
	color: White;
	vertical-align: top;
	min-width: 150px;
	width: 150px;
}

#sidebar a {
	color: White;
}

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

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

#sidebar h1 {
	font-size: 140%;
	color: White;
	padding-bottom: 0;
	margin: 0 0 3px 0;
}
#sidebar h2 {
	font-size:120%; 
	font-weight:bold; 
	padding-bottom:0;
	margin: 0 0 3px 0;
}
#sidebar h3 {
	font-size:120%; 
	font-weight:normal; 
	padding-bottom:0;
	margin: 0 0 3px 0;
}
#sidebar h4 {
	font-size:100%;
	font-weight:bold; 
	padding-bottom:0;
	margin: 0 0 3px 0;
}
#sidebar h5 {
	font-size:100%; 
	font-weight:normal; 
	padding-bottom:0;
	margin: 0 0 3px 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 \*/
* 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;}
}

