/*** Sidebar ***/

.nav-sidebar {
	background: #f1f5d6;
	color: #819403;
	font-family: Helvetica, Arial, sans-serif;
	font-weight: bold;
	list-style: none;
	margin: 0;
	padding: 0;
	*zoom: 1;
}
	.nav-sidebar ul {
		list-style: inside square;
		margin: 0;
		padding: 8px;
	}
		.nav-sidebar ul li {
			color: #bed13d;
			margin: 0;
			padding: 0 8px;
		}
			.nav-sidebar ul li a {
				color: #434445;
				display: inline-block;
				padding: 4px 0;
			}
				.nav-sidebar ul li a:hover {
					color: #61298a;
				}

/* In de praktijk */
#nav-themes p, #nav-about p {
	background: #f1f5d6;
	color: #819403;
	font-weight: normal;
	margin: 0;
	padding: 10px;
}
	#nav-themes img {
		float: right;
		position: relative;
		margin-bottom: -50px;
		margin-left: -5px;
		top: -50px;
	}

/* Other NCDO sites */
#nav-links {
	background: #d5d5d5;
	padding: 16px 0;
}
	#nav-links span {
		background: #d5d5d5;
		color: #8c8c8c;
		display: block;
		height: 16px;
		line-height: 16px;
		padding: 0 8px;
		text-align: center;
		text-transform: uppercase;
	}

	#nav-links ul {
		list-style: none;
		margin: 0;
		*margin-left: -16px; /* quick fix */
		padding: 0;
	}
		#nav-links ul li {
			padding: 2px 10px 8px;
		}
			#nav-links ul li a {
				margin: 0;
				padding: 0;
			}
				#nav-links ul li a img {
					display: block;
				}



/*** Chapters ***/

#nav-chapters {
	border-bottom: 12px solid #bed13d;
	border-top: 6px solid #bed13d;
	margin: 0;
	padding: 5px 0; /* see {#nav-chapters > li:hover > a:not(:last-child)} */
	*zoom: 1;
}
	#nav-chapters:after {
		clear: both;
		content: ' ';
		display: block;
		height: 0;
		visibility: hidden;
	}

	#nav-chapters li, .chapter li {
		float: left;
		font-weight: bold;
		list-style: none;
		position: relative;
	}
		#nav-chapters > li:nth-last-child(-n+2) {
			float: right;
		}

		#nav-chapters li a, .chapter li a {
			color: #61298a;
			display: block;
			padding: 3px 7px 3px 8px;
		}
			#nav-chapters li a:hover, .chapter li a:hover {
				text-decoration: none;
			}
			#nav-chapters > li:hover > a:not(:last-child) {
				/* expand down to #nav-chapters border: */
				margin-bottom: -5px; /* undo #nav-chapters padding */
				padding-bottom: 8px; /* {#nav-chapters li a} padding + #nav-chapters padding */
			}

		#nav-chapters li ul, .chapter {
			border: 3px solid white;
			border-top: 0;
			display: none;
			margin: 0 0 0 -3px; /* negate border */
			min-width: 150px;
			padding: 12px 8px; /* horizontal padding lines up with #content etc. */
			position: absolute;
			white-space: nowrap;
		}
			#nav-chapters > li:nth-last-child(-n+2) > ul {
				margin: 0 -3px 0 0;
				right: 0;
			}

			.chapter {
				border: 0;
				display: block;
				margin: 0;
				position: static;
				white-space: normal;
			}

			/* Using an unnecessarily complicated selector just to exclude
			certain browsers, because this should only apply when the
			{#nav-chapters > li:hover > a:not(:last-child)} rule applied: */
			#nav-chapters > li > ul:not(:first-child) {
				margin-top: 5px; /* negate negative margin on a */
				_margin-top: 0; /* for IE8.js on IE6 */
			}

			#nav-chapters li:hover ul {
				display: block;
			}
	
		#nav-chapters li li, .chapter li {
			float: none;
		}
			#nav-chapters li li a, .chapter li a {
				color: white;
			}
				#nav-chapters li li a:before, .chapter li a:before {
					color: #bed13d;
					content: '\25A0 ';
					padding-right: 6px;
				}


	
/*** Related resources ***/

#nav-related {
	font-weight: bold;
	margin: 2em 0;
	overflow: hidden;
	padding: 0;
	_zoom: 1;
}
	#nav-related li {
		border-left: 2px solid;
		display: inline;
		float: left;
	}
		#nav-related li:first-child {
			border: 0;
		}
		#nav-related li a {
			padding: 2px 6px;
		}
			#nav-related li a:hover {
				background: transparent;
				color: #a9c105;
				text-decoration: none;
			}
	
