/* @description

Base HTML5 reset and typographic styles

Based on HTML5 Boilerplate

*/

/* @override http://html5kit.site/assets/css/style.css */

/* @group Resets */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, menu,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
article, aside, figure, footer, header, 
hgroup, nav, section {
	display: block;
}

blockquote {
	padding-left: 1em;
	border-left: 4px solid #AAA;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
/* @group Quotes */
:lang(af),:lang(nl),:lang(pl) { quotes: '\201E' '\201D' '\201A' '\2019'; }
:lang(bg),:lang(cs),:lang(de),:lang(is),:lang(lt),:lang(sk),:lang(sr),:lang(ro) { quotes: '\201E' '\201C' '\201A' '\2018'; }
:lang(da),:lang(hr) { quotes: '\00BB' '\00AB' '\203A' '\2039'; }
:lang(el),:lang(es),:lang(sq),:lang(tr) { quotes: '\00AB' '\00BB' '\2039' '\203A'; }
:lang(en-GB) { quotes: '\2018' '\2019' '\201C' '\201D'; }
:lang(fi),:lang(sv) { quotes: '\201D' '\201D' '\2019' '\2019'; }
:lang(fr) { quotes: '\ab\2005' '\2005\bb' '\2039\2005' '\2005\203a'; }
*[lang|='en'] q:before { content: '\201C'; }
*[lang|='en'] q:after { content: '\201D'; }
*[lang|='en'] q q:before { content: '\2018'; }
*[lang|='en'] q q:after { content: '\2019'; }
/* @end */

.dquo:first-child {
	margin-left: -0.5em;
}

a {
	margin: 0;
	padding: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

ins {
	color: #000;
	text-decoration: none;
}

mark {
	background-color: #ff9;
	color: #000;
	font-style: normal;
	font-weight: normal;
	padding: 2px 0;
}

del {
	text-decoration: line-through;
}

abbr[title], dfn[title] {
	border-bottom: 1px dotted #888;
}
abbr.required {
	border-bottom: none;
	color: red;
}

/* tables still need cellspacing="0" in the markup */

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

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

input, select {
	vertical-align: middle;
}

/* @end */

html { font-size: 100%; }
body {
	font-size: 75%;
	color: #444;
	background: #fff;
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	line-height: 1.666666; /* 20px */
}
@media screen and (min-device-width: 480px) {
	body {
		text-rendering: optimizeLegibility;	
	}
}

table {
	font-size: inherit;
	font: 100%;
}

select, input, textarea {
	font: 99% sans-serif;
}
pre, code, kbd, samp {
	font-family: monospace, sans-serif;
}

a:hover, a:active {
	outline: none;
}

a, a:active, a:visited {
	color: #004bbe;
}
a:hover {
	color: #0064ff;
}

ul {
	margin-left: 30px;
	list-style-position: outside;
	margin-top: 1em;
	margin-bottom: 1em;
}
ol {
	margin-left: 30px;
	list-style-type: decimal;
	margin-top: 1em;
	margin-bottom: 1em;
}
ul ul, ul ol, ol ul, ol ol {
	margin-top: 0;
	margin-bottom: 0;
}
dl {
	margin-left: 30px;
	list-style-type: none;
	margin-top: 1em;
	margin-bottom: 1em;
}
dt {
	font-weight: bold;
	color: #000;
}
dd {
	margin-bottom: 0.5em;
}
p {
	margin-bottom: 1em;
}
small {
	font-size: 85%;
}

strong, b, th {
	font-weight: bold;
	color: #000;
}
img {
	vertical-align: bottom;
	margin: 0;
}
td, td img {
	vertical-align: top;
}
sub {
	vertical-align: sub;
	font-size: smaller;
}

sup {
	vertical-align: super;
	font-size: smaller;
}

pre {
	padding: 0;
	padding-left: 1em;
	margin: 1em 0;
	border-left: 4px solid #AAA;
	white-space: pre;
	white-space: pre-wrap;
	/* white-space: pre-line; - Removes whitespace before lines. Not very useful for code. */
	word-wrap: break-word;
}
h1,h2,h3,h4,h5,h6,h1 strong,h2 strong,h3 strong,h4 strong,h5 strong,h6 strong {
	color: #3E3D38;
}
h1 {
	font-size: 2em; /* 24px */
	line-height: 1.16666em; /* 28px */
	margin-top: 0.5em; /* 12px */
	margin-bottom: 0.166666em; /* 4px */
}
h2 {
	font-size: 1.6667em; /* 20px */
	line-height: 1.2em; /* 24px */
	margin-top: 0.9em;
	margin-bottom: 0.2em;
}
h3 {
  font-size: 1.3333em; /* 16px */
  line-height: 1.25em; /* 20px */
  margin-top: 1.125em;
  margin-bottom: 0.125em; /* 2px */
}
h4 {
  font-size: 1.1667em; /* 14px */
  line-height: 1.2857em; /* 18px */
  margin-top: 1.2857em;
  margin-bottom: 0.14285em; /* 2px */
}
h5 {
  font-size: 1em; /* 12px */
  line-height: 1.33333em; /* 16px */
  margin-top: 1.5em;
  margin-bottom: 0em;
}
h6 {
  font-size: 1em; /* 12px */
  line-height: 1.33333em; /* 16px */
  margin-top: 1.5em;
  margin-bottom: 0em;
}

/* @group Aligned Form Labels */
input[type="radio"] {
	vertical-align: text-bottom;
}

input[type="checkbox"] {
	vertical-align: bottom;
	*vertical-align: baseline;
}

.ie6 input {
	vertical-align: text-bottom;
}
/* @end */

label, input[type=button], input[type=submit], button {
	cursor: pointer;
}

button {
	width: auto;
	overflow: visible;
}

/* @group Tables */
table { border-collapse: collapse; margin-bottom: 1em;}
table thead th, table thead td { background-color: #F0F0F0; border: 1px solid #AAA; }
table caption { background: none; font-style: italic; color: #666; text-align: left; }
table td, table th { border: 1px solid #AAA; }
table th, table td { padding: 2px 6px; }
table.layout, table.layout thead, table.layout th, table.layout tbody, table.layout td { margin: 0; padding: 0; border: 0; background: none; }
/* @end */
.ie7 img {
	-ms-interpolation-mode: bicubic;
}

/* @group Non-semantic helper classes */

/* Image replacement */
.ir {
	display: block;
	text-indent: -999em;
	overflow: hidden;
	background-repeat: no-repeat;
}

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

/* Hide only visually, but have it available for screenreaders */
.visuallyhidden {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px);
	clip: rect(1px, 1px, 1px, 1px);
}

/* @end */

/* @group Media Queries */

@media print {
	
	pre, blockquote {
		page-break-inside: avoid;
	}
	
	img {
		page-break-inside: avoid;
	}
	
	@page { margin: 0.5cm; }

	p, h2, h3 {
		orphans: 3;
		widows: 3;
	}

	h2, h3 {
		page-break-after: avoid;
	}

}

@media all and (orientation:portrait) {}

@media all and (orientation:landscape) {}

@media screen and (max-device-width: 480px) {
	html {
		-webkit-text-size-adjust: none;
		-ms-text-size-adjust: none;
	}
}

/* @end */