/**
 * Improve browser quirks and maintain compability.
 *
 *	This file uses examples of normalize.css made by
 *	Nicolas Gallagher and Jonathan Neal which can be found at
 *	https://github.com/necolas/normalize.css
 */

* {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

html {
	font-family: sans-serif;
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
	margin: 0;
	text-shadow: 0 0 1px transparent;
	/*-webkit-font-smoothing: antialiased;*/
	text-rendering: optimizeLegibility;
	background-clip: padding-box;
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

form {
    margin: 0;
}

button,
input,
select,
textarea {
	margin: 0;
    font-family: sans-serif;
    font-family: inherit;
    font-size: 100%;
	vertical-align: baseline;
	*vertical-align: middle;
	line-height: normal;
	*overflow: visible;
	outline: 0;
}

button,
input {
	line-height: normal;
}

button,
select {
	text-transform: none;
}

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

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

input[type="checkbox"],
input[type="radio"] {
	padding: 0;
    box-sizing: border-box;
	*width: 13px;
	*height: 13px;
}

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

button[disabled],
input[disabled] {
	cursor: default;
}

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

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

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

hr {
	box-sizing: content-box;
	-moz-box-sizing: content-box;
	height: 0;
}

p {
	margin: 12px 0;
}

a {
	background: transparent;
	outline: 0;
}

b,
strong {
	font-weight: bold;
}

small {
	font-size: 80%;
}

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

/**
 * Clearfix
 */

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

* html .clearfix {
    height: 1%;
}


/**
 * Print only styles
 */

@media print {
	@page {
		margin: 0.5cm;
	}

	* {
		background: transparent !important;
		color: #000;
		box-shadow: none !important;
		text-shadow: none !important;
		filter: none !important;
		-ms-filter: none !important;
	}

	img {
		max-width: 100% !important;
	}

	tr,	img {
		page-break-inside: avoid;
	}

	a {
		text-decoration: underline;
	}

	a[href]:after {
		content: ' (' attr(href) ')';
	}

	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content: "";
	}

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

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

	thead {
		display: table-header-group;
	}
}