html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
}

body {
	font:14px/21px "Open Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	color:#5b5b5b;
	background:transparent url('../images/main-bg.png') 0 0 repeat;
}

/*==================================================
#
#	Typography
#
================================================== */

body p {
	margin-bottom: 1em;
}
	p a, span a, li a, h5 a {
		cursor:pointer;
		-webkit-transition:color 0.2s ease-in;
			-moz-transition:color 0.2s ease-in;
			-o-transition:color 0.2s ease-in;
			-ms-transition:color 0.2s ease-in;
			transition:color 0.2s ease-in;
	}

/*==================================================
#
#	Headings
#
================================================== */
body h1, body h2, body h3, body h4, body h5, body h6 { line-height:1.5em; }
	h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; cursor:pointer;}

a:active { background:rgba(0,0,0,.2); border-radius:5px;}
		
h1 { font-size: 32px;}
	
h2 { font-size: 26px; }
h3 { font-size: 21px; }
h4 {
	font-size: 16px;
	line-height: 3em;
}
h5 {
	font-size: 14px;
}
h6 {
	font-size: 12px;
}

/*==================================================
#
#	Emphasis
#
================================================== */
em { font-style: italic; }
strong { font-weight: bold; }
small { font-size: 80%; }
sub, sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup { top: -0.5em; }
sub { bottom: -0.25em; }
abbr[title] { border-bottom: 1px dotted; }
ins {
	background: #ff9;
	color: #000;
	text-decoration: none;
}
mark {
	background: #ff0;
	color: #000;
	font-style: italic;
	font-weight: bold;
}
pre, code, kbd, samp {
	font-family: monospace, serif;
	_font-family: 'courier new', monospace;
	font-size: 1em;
}
pre {
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

/*==================================================
#
#	Blockquotes
#
================================================== */
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}

blockquote cite {
	display:block;
	font-size:12px;
	margin-top:21px;
}


@media print {
	* {
		background: transparent !important;
		color: black !important;
		box-shadow: none !important;
		text-shadow: none !important;
		filter: none !important;
		-ms-filter: none !important;
	} /* Black prints faster: h5bp.com/s */
	a, a:visited { text-decoration: underline; }
	a[href]:after { content: " (" attr(href) ")"; }
	abbr[title]:after { content: " (" attr(title) ")"; }
	.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
	pre, blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}
	thead { display: table-header-group; } /* h5bp.com/t */
	tr, img { page-break-inside: avoid; }
	img { max-width: 100% !important; }
	 @page {
	margin: 0.5cm;
	}
	p, h2, h3 {
		orphans: 3;
		widows: 3;
	}
	h2, h3 { page-break-after: avoid; }
}