/***************************************************

	reset css
	[ consistent appearances across browsers ]
	
***************************************************/

/* 
	remove the tap highlight color from touch devices 
*/
* { 
	-webkit-tap-highlight-color:rgba(0,0,0,0); 
}

/* 
	base everything at 12px since 99% of our font sizes are 12px

	formula to remember for future font declarations
	target / base = actual
	font-size = 21px / 12px
	.someClass { font-size: 1.75em; font-size: 1.75rem; }
	
	ems for non-rem supporting browsers
*/

html { 
	/* set base font to 12px color 333 */
	font: normal 75%/normal Arial, sans-serif; 
	color: #333;
	
	/* fix for text size zooming on rotation */
 	-moz-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

html body {
	line-height: 1.5;
}

/*
	- remove default margin, padding, and border
	- set vertical align to default to baseline to 
	  achieve more consistent alignment among elements
*/

a, 
b, 
abbr, 
acronym, 
address, 
article, 
aside, 
audio, 
b, 
blockquote, 
body, 
canvas, 
center, 
details, 
dd, 
div, 
dt, 
dl, 
em, 
figcaption, 
figure, 
font, 
footer, 
form, 
h1, 
h2, 
h3, 
h4, 
h5, 
h6, 
header, 
hgroup, 
hr, 
i, 
iframe, 
img, 
label, 
mark, 
menu, 
meter, 
nav, 
object, 
ol, 
p, 
pre, 
progress, 
section, 
span, 
strong, 
summary, 
table, 
tbody, 
td, 
th, 
time, 
tr, 
ul, 
video {
	margin: 0px; 
	padding: 0px; 
	border: 0px;
	vertical-align: baseline;
}


/* 
	reset font size and line height
*/ 

a, 
abbr, 
acronym, 
address, 
address, 
article, 
aside, 
audio, 
b, 
blockquote, 
body, 
button, 
canvas, 
dd, 
details, 
div, 
dl, 
dt, 
em, 
figcaption, 
figure, 
font, 
footer, 
form, 
h1, 
h2, 
h3, 
h4, 
h5, 
h6, 
header, 
hgroup, 
i, 
iframe, 
img,
input, 
label, 
li, 
mark, 
menu, 
meter, 
nav, 
object, 
ol, 
p, 
pre, 
progress, 
section, 
select,
span, 
strong, 
summary, 
table, 
tbody, 
td,
textarea, 
th, 
time, 
tr, 
ul, 
video {
	_font-size: 1em;
	_font-family: Arial, sans-serif;
	font: inherit;
}

.qmb table, 
.qmb input { line-height: 1.5; }

/* 
	make i, em, b, and strong use the 
	same font styles across browsers
*/
i, 
em {
	font-style: italic;
}

b,
strong {
	font-weight: bold;
}

/*
	reset h tags and th's to 
	normal instead of bold
*/
h1, 
h2, 
h3, 
h4, 
h5, 
h6,
th { 
	font-weight: normal;
}

/* 
	reset address style to normal
	since it defaults to italic 
*/
address { 
	font-style: normal; 
}

/*
	make HTML5 elements display correctly
	in IE8 and below
*/
@media \0screen\,screen\9 
{
	article, 
	aside, 
	blockquote, 
	details, 
	figcaption, 
	figure, 
	footer,
	header, 
	hgroup, 
	menu, 
	nav, 
	section, 
	summary {
		display:block;
	}
}

audio, 
canvas,
meter, 
progress,
video {
	display:inline-block;
	_display:inline;
	_zoom:1;
}

mark {
	_background-color:yellow;
}
/*
	reset inputs
*/

button,
input,
select,
textarea { 
	margin: 0px; 
	padding: 0px; 
	vertical-align: baseline;
	_vertical-align: middle;
}

textarea {
	overflow: auto;
}

button, 
input.btn,
input.txt,
select {
	height: 21px;
}

button,
input.btn {
	/* cursor pointer for buttons (hand) */
	cursor: pointer;
}

button[disabled],
input[disabled] {
	/* cursor default for disabled inputs */
	cursor:default;
}

button, 
input.btn {
	/* 1px top and bottom fixes vertical align in some browsers */
	padding: 1px 0px; 

	/* removes extra left and right padding in quirks mode */
	_overflow: visible;

	/* quirks mode vertical alignment adjustments */
	_padding: 0px;
	_line-height: normal;
}

@-moz-document url-prefix() { 
	/* fix firefox vertical aligment of buttons */
	button,
	input.btn {
		height: auto;
		line-height: normal;
	}
	/* fix extra inner padding in firefox */
	button::-moz-focus-inner,
	input::-moz-focus-inner {
		padding:0;
	}
}

button, 
input.btn,
input.txt,
textarea { 
	/* remove webkit default appearances */
	-webkit-appearance: none; 
	-webkit-border-radius:0px; 
}

button, 
input.btn,
input.txt,
textarea,
select { 
	border: 1px solid #CCC; 
}


/* 
	Lists
*/
ul, 
ol  {
	list-style-position: outside;
}
ol  {
	padding: 0px 0px 0px 18px;
	_padding: 0px 0px 0px 24px;
}
ul {
	padding: 0px 0px 0px 18px;
}
nav ul {
	list-style-type: none;
	padding: 0px;
}

/*
	Tables
*/

table { 
	/* collapse all table cell spacing */
	border-spacing: 0px; 		
	border-collapse: collapse; 
	
	/* show decorations on empty cells */
	empty-cells: show; 
}

table th { 
	/* reset th's to align left like other cells  */
	text-align: left; 
}

/*
	Image scaling quality in IE Standards mode
*/

img {
	-ms-interpolation-mode:bicubic; 
}

/*
	Pre and code consistency 
	[ for our code examples ]
*/

pre, pre *,
code, code * {
	font-family:"Courier New", Courier, monospace;
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

/*
	horizontal rule 
*/
hr {
	display: block; 
	border-top: 1px solid #d9d9d9;
	height: 1px;
	/* 
		12px top and bottom margin in all browsers
		ie quirks has 7px that can't be removed 
	*/
	margin: 12px 0px;
	_margin: 5px 0px;
}