/* base css

		Contents:
			1. Normalize
			2. Top Level
			3. Links
			4. Typography
			5. Lists
			6. Images & Embedded
			7. Forms
			8. Tables
			9. Vendor Specific
		   10. IE Specific
		   11. Helpers
*/

/*------------------------------ 1 ------------------------------*/

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

audio, canvas, video {
	display: inline;
	zoom: 1
}

html {
	font-size: 100%;
	/*overflow-y: scroll;*/
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%
}

body, button, input, select, textarea {
	font-family: sans-serif
}

a {
	color: #00e
}

a:visited {
	color: #551a8b
}

a:focus {
	outline: thin dotted
}

a:hover, a:active {
	outline: 0
}

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

b, strong {
	font-weight: bold;
}

blockquote {
	margin: 1em 2.5em
}

dfn {
	font-style: italic
}

mark {
	background: #ff0;
	color: #000
}

pre, code, kbd, samp {
	font-family: monospace, serif;
	_font-family: 'courier new', monospace;
	font-size: 1em
}

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

q {
	quotes: none
}

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

small {
	font-size: 75%
}

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

sup {
	top: -.5em
}

sub {
	bottom: -.25em
}

ul, ol {
	margin: 1em 0;
	padding: 0 0 0 2.5em
}

dd {
	margin: 0 0 0 2.5em
}

nav ul, nav ol {
	list-style: none;
	list-style-image: none
}

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

svg:not(:root) {
	overflow: hidden
}

fieldset {
	margin: 0 .125em;
	padding: .35em .625em .75em
}

legend {
	border: 0;
	margin-left: -.4375em
}

button, input, select, textarea {
	font-size: 100%;
	vertical-align: middle;
	margin: 0
}

button, input {
	line-height: normal;
	overflow: visible
}

table button, table input {
	overflow: auto
}

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

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

input[type=search] {
	-webkit-appearance: textfield;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	box-sizing: content-box
}

input[type=search]::-webkit-search-decoration {
	-webkit-appearance: none
}

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

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

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

audio:not([controls]), [hidden] {
	display: none
}

body, figure, form {
	margin: 0
}

/*------------------------------ 2 ------------------------------*/

html {
	height: 100%;
	-webkit-font-smoothing: antialiased;
	-webkit-overflow-scrolling: touch;
}

body {
	min-height: 100%;
	transition: all .2s linear;
	-o-transition: all .2s linear;
	-moz-transition: all .2s linear;
	-webkit-transition: all .2s linear;
	font: 100%/1.6 Helmet, Freesans, sans-serif;
}

/*------------------------------ 3 ------------------------------*/

a {
	color: #00e;
}

a:visited {
	color: #551a8b;
}

a:hover {
	color: #06e;
}

a:focus {
	outline: thin dotted;
}

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active {
	outline: 0;
}

/*------------------------------ 4 ------------------------------*/

h1, h2, h3, h4, h5, h6 {
	font-size: 100%;
	font-weight: normal;

img {
	margin: 0;
}

	}

h1 {
	font-size: 2.75em;
	line-height: 1.2;
	margin-bottom: 0.5em;
}

h2 {
	font-size: 2em;
	line-height: 1.3;
	margin-bottom: 0.75em;
}

h3 {
	font-size: 1.5em;
	line-height: 1.3;
	margin-bottom: .5em;
}

h4 {
	font-size: 1.25em;
	line-height: 1.25;
	margin-bottom: 1.25em;
}

h5 {
	font-size: 1em;
	margin-bottom: 1.5em;
}

h6 {
	font-size: 1em;
}

p {
	font-size: 1em;
	margin-bottom: 1.5em;
	/*-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;*/
}

blockquote {
	margin: 1em 2.5em;
}

/*------------------------------ 5 ------------------------------*/


dd {
	margin: 0 0 0 2.5em;
}

nav ul, nav ol {
	margin: 0;
	padding: 0;
}

/*------------------------------ 6 ------------------------------*/

img, embed, video {
	max-width: 100%;
	height: auto;
}

figure {
	margin-bottom: 1.5em;
}

embed, img {
	margin-bottom: .75em;
	max-width: 100%;
}

figcaption {
	display: block;
	font-weight: normal;
}

/*------------------------------ 7 ------------------------------*/

fieldset {
	margin: 0;
	border: 0;
	margin-bottom: 1.5em;
	padding: .625em;
}

fieldset:last-child {
	margin: 0;
}

label {
	display: block;
	cursor: pointer;
}

button, input, select, textarea {
	margin: 0;
	font-family: inherit;
	line-height: 1.5;
}

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

input:-moz-placeholder {
	/*padding: 0;
	font-size: .875em;
	line-height: 1.4;*/
}

textarea {
	resize: vertical;
}

/*------------------------------ 8 ------------------------------*/

table {
	margin-bottom: 1.5em;
	width: 100%;
	max-width: 100%;
	font-size: .875em;

button, input {
	*overflow: auto;
}

&[colspan] {
	text-align: center;
}

&[rowspan] {
	vertical-align: middle;
}

	}

th, td {
	vertical-align: top;
	padding: 0.75em;
}

th {
	font-weight: bold;
	text-align: center;

&:empty {
	border: 0;
}

	}

tfoot, thead {
	text-align: center;
}

/*------------------------------ 9 ------------------------------*/

::-webkit-selection, ::-moz-selection {
	background: rgb(23, 119, 175);
	color: rgb(250, 250, 250);
	text-shadow: none;
}

::-webkit-input-placeholder {
	/*padding: .625em;
	font-size: .875em;
	line-height: 1.4;*/
}

/*------------------------------ 10 ------------------------------*/

.ie7 {

legend {
	margin-left: -7px;
}

input {
	overflow: auto;

&[type="checkbox"] {
	vertical-align: baseline;
}

	}

button {
	overflow: auto;
}

	}

.ie8 {

img {
	width: auto\9;
}

	}

/*------------------------------ 11 ------------------------------*/

.cf {
	zoom: 1;
}

.cf:before {
	content: "";
}

.cf:after {
	content: "";
	clear: both;
}

.left {
	float: left;
}

.right {
	float: right;
}

.clear {
	clear: both;
}