/* =============================================================================
   HTML5 element display
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
	display: block;
}

audio[controls], canvas, video {
	display: inline-block;
	*display: inline;
	*zoom: 1;
}


/* =============================================================================
   Base
   ========================================================================== */

html {
	font-size: 100%;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	margin: 0;
}

::-moz-selection {
	background: #000;
	color: #fff;
	text-shadow: none;
}

::selection {
	background: #000;
	color: #fff;
	text-shadow: none;
}

/* =============================================================================
   Links
   ========================================================================== */

a,
a:link,
a:visited,
a:focus,
a:active,
a:hover {
	text-decoration:none;
	outline: 0;
}

/* =============================================================================
   Typography
   ========================================================================== */

h1,h2,h3,h4,h5,h6 {
	font-weight:normal;
}

p, address {
	font-style:normal;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b, strong {
	font-weight: bold;
}

blockquote {
}

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

pre, code, kbd, samp {
	font-family: monospace, monospace;
	font-size: 12px;
}

pre {
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

q {
	quotes: none;
}

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

small {
	font-size: 80%;
}

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

sup {
}

sub {
}

/* =============================================================================
   Embedded content
   ========================================================================== */

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

/* =============================================================================
   Figures
   ========================================================================== */

figure {
	margin: 0;
}


/* =============================================================================
   Forms
   ========================================================================== */

form {
	margin: 0;
}

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

legend {
	border: 0;
	*margin-left: -7px;
	padding: 0;
}

label[for] {
	cursor: pointer;
}

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

button, input[type="button"], input[type="reset"], input[type="submit"] {
	cursor: pointer;
	-webkit-appearance: button;
}

input[type="checkbox"], input[type="radio"] {
	box-sizing: border-box;
}

button::-moz-focus-inner, input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

input:valid, textarea:valid {
}

input:invalid, textarea:invalid {
	background-color: #f0dddd;
}

input::-webkit-input-placeholder {
	color:#000;
}

input:-moz-placeholder {
	color:#000;
}

/* =============================================================================
   Tables
   ========================================================================== */

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* =============================================================================
   Lists
   ========================================================================== */

ul, ol, li {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

/* =============================================================================
   Non-semantic helper classes
   ========================================================================== */

/* Hide for both screenreaders and browsers */
.hidden {
	 display: none;
	 visibility: hidden;
}

/* Hide only visually, but have it available for screenreaders */
.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

/* Hide visually and from screenreaders, but maintain layout */
.invisible {
	visibility: hidden;
}

.clearfix:before, .clearfix:after {
	content: "";
	display: table;
}

.clearfix:after {
	clear: both;
}

.clearfix {
	zoom: 1;
}

.clear {
	clear: both;
}