/*
	This is the baseline page-level CSS file for use with Dojo applications.

	Applications using Dojo will function correctly without including this
	file, but it should provide sane defaults for many common things that page
	authors often need to set up manually.
*/

/*
	The below are borrowed from YUI's reset style sheets for pages and fonts.
	We've verified w/ the YUI development team that these are entirely
	copyright Yahoo, written entirely by Nate Koechley and Matt Sweeney without
	external contributions.

	Copyright (c) 2007, Yahoo! Inc. All rights reserved.
	Code licensed under the BSD License:
	http://developer.yahoo.net/yui/license.txt
	version: 2.2.1
*/

body, div, dl, dt, dd, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
	margin: 0;
	padding: 0;
}

fieldset, img {
	border: 0;
}

address, caption, cite, code, dfn, th, var {
	font-style: normal; 
	font-weight: normal;
}

caption, th {
	text-align: left;
}

q:before, q:after {
	content:"";
}

abbr, acronym {
	border:0;
}


/* 

	End YUI imported code.
	Begin Dojo additions.

	Style definitions, based partially on the Tundra theme.
	Relative unit calculations based on "Compose to a Vertical Rhythm",
	by Richard Rutter (http://24ways.org/2006/compose-to-a-vertical-rhythm)

	If changing the font size, make sure you do it in both
	percent and px (% for IE, px for everything else). 
	% value based on default size of 16px (in most browsers).
	So if you want the default size to be 14px, set the 
	% to 87% (14/16 = 0.875).

	Typical values:
	10px: 62.5%
	11px: 69% (68.75)
	12px: 75%
	13px: 81.25%
	14px: 87.5%
	16px: 100%

	Default: 13px, specified by the YUI imports, so we don't need to repeat ourselves
*/
body { 
	font: 13px "Myriad Pro",Myriad,Arial,Helvetica,clean,sans-serif; 
	*font-size: small;
	*font: x-small;
}

/* Headings */
h1 {
	font-size: 1.5em; 
	font-weight: normal;
	line-height: 1em; 
	margin-top: 1em;
	margin-bottom:0;
}

h2 { 
	font-size: 1.1667em; 
	font-weight: bold; 
	line-height: 1.286em; 
	margin-top: 1.929em; 
	margin-bottom:0.643em;
}

h3, h4, h5, h6 {
	font-size: 1em; 
	font-weight: bold; 
	line-height: 1.5em; 
	margin-top: 1.5em; 
	margin-bottom: 0;
}

/* paragraphs, quotes and lists */
p { 
	font-size: 1em; 
	margin-top: 1.5em; 
	margin-bottom: 1.5em; 
	line-height: 1.5em;
}

blockquote { 
	font-size: 0.916em; 
	margin-top: 3.272em; 
	margin-bottom: 3.272em; 
	line-height: 1.636em; 
	padding: 1.636em; 
	border-top: 1px solid #ccc; 
	border-bottom: 1px solid #ccc;
}

ol li, ul li { 
	font-size: 1em; 
	line-height: 1.5em; 
	margin: 0;
}

/* pre and code */
pre, code { 
	font-size:115%;
	*font-size:100%;
	font-family: Courier, "Courier New"; 
	background-color: #efefef; 
	border: 1px solid #ccc;
}

pre { 
	border-width: 1px 0; 
	padding: 1.5em;
}

/* TODO: Double-check how these definitions will interfere with Dijits */
/* tables */
table { 
	font-size: 100%;
	border-collapse: collapse; 
	border-spacing: 0; 
	border: 1px solid #ccc; 
	margin: 0 1.5em;
}

th { 
	text-align: center; 
	font-weight: bold;
}

table thead, table tfoot { 
	background-color: #efefef; 
	border: 1px solid #ccc; 
	border-width: 1px 0; 
}

thead tr th, thead tr td, tbody tr td, tfoot tr td { 
	padding: 0.25em 0.5em;
}
