/*
 * Reset margins and padding
 */
* {
	padding: 0;
	margin: 0;
}

/*
 * iOS text size adjust - from Portrait to Landscape
 */
html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

/*
 * Fixing sub and sup positioning
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

/*
 * Removes dots on :focus
 */
a:focus {
	-moz-outline-style: none;
}

:focus {
	outline: 0;
}

/*
 * Corrects font size not being inherited in all browsers
 * Addresses margins set differently in IE7, FF3+, S5, Chrome
 * Improves appearance and consistency in all browsers
 * Prevent textarea resize
 * Removes default scrollbar in IE7/8
 * Removes border on fieldset
 */
button,
input,
select,
textarea {
	font-size: 100%;
	margin: 0;
	vertical-align: baseline;
	*vertical-align: middle;
}

textarea {
	resize: none;
	overflow: auto;
}

fieldset {
	border: 0;
}

/*
 * Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet
 */
button,
input {
	line-height: normal;
}

/*
 * Removes inner padding and border in FF3+
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

/*
 * Removes right side padding in IE7
 */
*:first-child+html button {
	overflow: visible;
}

/*
 * Removes image border inside link
 * Improves image quality when scaled in IE7
 */
img {
	border: 0;
	-ms-interpolation-mode: bicubic;
}

/*
 * Removes text inside image
 */
.ir {
	font: 0/0 a;
	text-shadow: none;
	color: transparent;
}

/*
 * Removes default list style
 */
li {
	list-style: none;
}

/*
 * Removes spacing between table cells
 */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*
 * HTML 5 - IE7/8/9 & FF3
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
blockquote {
	display: block;
}

/* 
 * Clearfix
 */
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}

* html .clearfix,
*:first-child+html .clearfix {
	zoom: 1;
}