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

/* dokuwiki containers & styles */

/* sidebar orientation and position */

#sidebar {
   /* width:125px; 
	margin:0; 
	padding-left:168px;
	padding-right:27px;
	background-color : #DE2008;
	height: 100%;
	vertical-align: top; */
}

.leftspacer {
	/*background-color : #DE2008;
	border-right : 1px solid #A72A1C; */
	width : 15px;
}

.rightspacer
{
	width : 20px;
	border-left : 1px solid #A8281D;
}

.leftbar { 
  width: 215px;
 background-color: #DE2008;	
 border-right : 2px solid #EECCCC;
}

.leftbarspacer {
	background-color : #A8281D;
	width : 15px;
	border-right: 1px solid White;
}

.leftbar-left {
	
}

.leftbar-sponsors {
	padding-left : 3px;
	width: 82px;
}

.leftbar-sidebar {

}

.contentarea {
	padding-left : 20px;
	padding-right:15px;
	font-family : Georgia, "Times New Roman", Times, serif;
}

.sidebar_inside_left #sidebar {
	float:left; 
}

.sidebar_inside_right #sidebar {
	float:right; 
}

.sidebar_inside_left .page, .sidebar_inside_left .meta {

		/* also see IE Win fix below */
	margin-right: 20px;
	margin-left:12px;
	padding-left: 0px;
	padding-right: 12px;
	border-right : 1px solid #A8281D;
	vertical-align : top;
}

.sidebar_inside_right .page, .sidebar_inside_right .meta {
	float:left; 
	width:78%; 
	margin-left: 1%;
	margin-right: 0;
}

.sidebar_outside_left #sidebar {
	position:absolute; 
	top:0; 
	left:0;
}

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

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

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

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

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

/* sidebar presentation */
/* the following three styles use a faux-column image to place a separating line 
   between the sidebar and dokuwiku */
.sidebar_outside_left .dokuwiki, .sidebar_inside_left .dokuwiki {
}

.sidebar_outside_right .dokuwiki, .sidebar_inside_right .dokuwiki {
	background: url(images/sidebar-border.gif) repeat-y 80%;
}

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



/* sidebar contents */
#sidebar {
    color: #F7E9E9;
	font-size:11px;
}

#sidebar a {
	color: #FEFCFC;
}

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

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

#sidebar h1 {
    color: #FBF2F3;
	font-size:140%; 
	margin-left: 0px; 
	padding-left: 2px; 
	font-weight:bold; 
	padding-bottom:0; 
	}
#sidebar h2 {
    color : #FBF2F3;
	font-size:120%; 
	margin-left: 4px; 
	font-weight:bold; 
	padding-bottom:0;
}
#sidebar h3 {
    color: #FBF2F3;
	font-size:120%; 
	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 \*/
* 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 \*/
}

/* (end IE Mac hiding) */

.menu1 {
	height:1em;
	line-height : 1.4em;
	font-size:150%;
	font-weight:bolder;
	color:#AA2B1C;
	text-align:left;
	vertical-align:middle;
	margin-left: 20px;
    padding: 10px 0 10px 0;
	margin-top:-12px;
}

.menu1 a:link, .menu1 a:visited {
  color: #AA2B1C;
  text-decoration:underline;
}

.menu1 a:hover, .menu1 a:active {
  color:#DE2008;
  text-decoration: underline;
}

  .sideboth, .sideleft, .sideright {
    border: 1px solid;
    float:left;
    clear: both;
    text-align: center;
  }

  .sideboth {
    display: block;
    width: 100%;
  }

  .sideright {
    float:right;
  }

