@charset "UTF-8";

/*
INITIAL
v3.7
	By Darren Kovalchik
	Based on inital.css:
		By Faruk Ates - www.kurafire.net
		Addendum by Robert Nyman - www.robertnyman.com 
		Addition by Christian Montoya - www.christianmontoya.net
*/


/* General */
	
	/* Global styles */
	html, body {
		margin:0;
		padding:0;
		font:100%/1.5 Arial, sans-serif; color:#333; }
	
	/* Eliminate content shift */
	html {
		overflow-y:scroll; }


/* Typographical */
	
	/* Remove heading margins and set line height to 1 */
	h1, h2, h3, h4, h5, h6 {
		margin:0;
		line-height:1; }
	
	/* Adjust heading sizes */
	h1 { font-size:1.6em; }
	h2 { font-size:1.5em; }
	h3 { font-size:1.4em; }
	h4 { font-size:1.3em; }
	h5 { font-size:1.2em; }
	h6 { font-size:1.1em; }
	
	/* Apply vertical margin to paragraphs */
	p {
		margin:1.5em 0; }
		
	/* Give blockquotes extra room to breath */
	blockquote {
		margin:3em; }
	
	/* Right align blockquote cites which are direct descendants (does not work for IE6) */
	blockquote > cite {
		display:block;
		text-align:right; }
	
	/* Set margins of the first and last Typographical elements to 0 to eliminate unnecessary space at the top and bottom of the document */
		
		/* First-child doesn't do anything in IE6, but luckily it inccorctly applies this setting regardless of what you do, achiving the same effect */
		p:first-child, address:first-child, blockquote:first-child {
			margin-top:0; }
		
		/* Last-child doesn't do anything in IE6 or IE7, but since it's at the end of the document it doesn't really matter very much */
		p:last-child, address:last-child, blockquote:last-child {
			margin-bottom:0; }
	
	/* Normalize list margins
	 * Remove padding */
	ul, ol, dl {
		margin:1.5em 0 1.5em 2.5em;
		padding:0; }
	
	/* Reduce unordered list margin to correctly left align
	 * Also apply to definitions */
	ul, dd {
		margin-left:2em; }
	
	/* Apply left padding to unordered list items to normalize indent */
	ul li {
		padding-left:0.5em; }
	
	/* Give list items and nested lists a slightly smaller vertical margin
	 * Also apply to addresses */
	li, dd, ul ul, ol ol, address {
		margin-top:1em; margin-bottom:1em; }
	
	/* Normalize sup/sub font size */
	sup, sub {
		font-size:0.8em; }
		
	/* Change sup vertical align to keep line height consistent */
	sup {
		vertical-align:text-top; }
	
	/* Change sub vertical align to keep line height consistent
	 * Set a negative bottom to position more appropriately */
	sub {
		position:relative; bottom:-0.2em;
		vertical-align:text-bottom; }


/* Forms */

	/* Apply border styles in an attempt to render form elements more consistently
	 * Inherit font family and color (does not work in IE7-)
	 * Set font size to 1em (rather than inherit) to make IE7- scale properly */
	input, select, textarea {
		border-width:1px;
		font-family:inherit; font-size:1em; color:inherit; border-color:#999 #CCC; }
	
	/* Apply a consistent form element width
	 * Will not work for IE6 inputs */
	input[type=text], input[type=password], textarea {
		width:12em; }
	
	/* Apply overflow auto to textareas so IE doesn't needlessly add scrollbars */
	textarea {
		overflow:auto; }
	
	/* Apply overflow visible so IE doesn't add unnecessary padding to input buttons */
	input {
		overflow:visible; }
	
	/* Set the cursor to pointer for form labels */
	label {
		cursor:pointer; }
	

/* Miscellaneous */

	/* While I respect the semantics of having a blue border indicating an image is a link, I have never once NOT removed or modified the default border around an image link
	 * Proprietary IE7+ attribute to force IE7 (not needed for IE8, but doesn't hurt) to scale images properly (does not validate) */
	img {
		border:none;
		-ms-interpolation-mode:bicubic; }
	
	/* Basic table normalization */
	table {
		border-collapse:collapse; border-spacing:0;
		text-align:center; }
		
	/* Normalize horizontal rules and fieldset borders */
	hr, fieldset {
		 border:1px solid #CCC; }
