/**
 * Stylesheet for collapsible nav
 * NOTE: Please remove all the h5 selectors at some point as they are only for
 *   backwards-compatibility due to html caching. --2012-11-28
 */

#mw-panel.collapsible-nav .portal {
	/* @embed */
	background: url(images/portal-break.png) left top no-repeat;
	padding: 0.25em 0 !important;
	margin: -11px 9px 10px 11px;
}

#mw-panel.collapsible-nav .portal h3,
#mw-panel.collapsible-nav .portal h5 {
	color: #4D4D4D;
	font-weight: normal;
	/* @embed */
	background: url(images/open.png) left center no-repeat;
	padding: 4px 0 3px 1.5em;
	margin-bottom: 0;
}

#mw-panel.collapsible-nav .portal h3:hover,
#mw-panel.collapsible-nav .portal h5:hover {
	cursor: pointer;
	text-decoration: none;
}

#mw-panel.collapsible-nav .portal h3 a,
#mw-panel.collapsible-nav .portal h5 a {
	color: #4D4D4D;
	text-decoration: none;
}

#mw-panel.collapsible-nav .portal .body {
	background: none !important;
	padding-top: 0;
	display: none;
}

#mw-panel.collapsible-nav .portal .body ul li {
	padding: 0.25em 0;
}

/* First */
#mw-panel.collapsible-nav .portal.first h3,
#mw-panel.collapsible-nav .portal.first h5 {
	display: none;
}

#mw-panel.collapsible-nav .portal.first {
	background-image: none;
	margin-top: 0;
}

/* Persistent */

#mw-panel.collapsible-nav .portal.persistent .body {
	display: block;
}

#mw-panel.collapsible-nav .portal.persistent h3,
#mw-panel.collapsible-nav .portal.persistent h5 {
	background: none !important;
	padding-left: 0.7em;
	cursor: default;
}

#mw-panel.collapsible-nav .portal.persistent .body {
	margin-left: 0.5em;
}

/* Collapsed */

#mw-panel.collapsible-nav .portal.collapsed h3,
#mw-panel.collapsible-nav .portal.collapsed h5 {
	color: #0645AD;
	/* @embed */
	background: url(images/closed-ltr.png) left center no-repeat;
	margin-bottom: 0;
}

#mw-panel.collapsible-nav .portal.collapsed h3 a,
#mw-panel.collapsible-nav .portal.collapsed h5 a {
	color: #0645AD;
}

#mw-panel.collapsible-nav .portal.collapsed h3:hover,
#mw-panel.collapsible-nav .portal.collapsed h5:hover {
	text-decoration: underline;
}
