/* Copyright 2007 DeviousFish.  All rights reserved. */
/* $Id: m4handheld.css,v 1.4 2009/03/21 20:06:27 perette Exp $ */

/* For handhelds, the navigation bar is probably too wide and the */
/* navigation menu is taking up valuable space in the left gutter */
/* Move them to the top in a box to offset them, and get rid of */
/* the gutter. */
/* Override dumbass fancy layout stuff that didn't think of handhelds. */
DIV.navicanvas {
	border: none;
}

DIV#navigation, UL#navigationbar {
	float: none !important;
	width: auto !important;
	border: solid medium blue;
	margin-left: 0;
	margin-right: 0;
}

UL#navigationbar LI {
	float: none;
	border-right: none;
}

UL#navigationbar A, UL#navigationbar SPAN {
	display: block;
	float: none;
}

/* Remove the content pane's margin reserved for the navigation menu. */
DIV.content {
        margin-left: 0 !important;
	margin-right: 0 !important;
	border: 0 !important;
	padding: 0 0.2ex 0 0.5ex !important;
}

/* The screen is small enough -- turn off affiliations and revisions */
DIV.affiliations {
	display: none;
}

/* Display stuff that's for handhelds only */
.handheldonly {
	display: block;
}

DIV.handheldonly {
	clear: both;
}

.nothandheld {
	display: none;
}

DIV.screenonly {
	display: none;
}

DIV.footnotes UL {
	list-style-type: none;
	padding-left: 0ex;
}
DIV.footnotes > UL > LI {
	margin-top: 1ex;
	margin-bottom: 1ex;
}
DIV.footnotes UL UL, DIV.footnotes UL OL {
	list-style-type: disc;
	padding-left: 3ex;
}

