/*================ BASE STYLES ================*/
* {
  margin: 0;
  padding: 0;
  border: 0;
	outline: none;
  text-decoration: none; }
	
html {
	height: 100%;
	font-size: 100%;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%; }
	
body { min-height: 100%; }

img {
	vertical-align: middle;
	max-width: 100%;
	border: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }
	
	
/*================ CLASSES ================*/
.hide { display: none; }
.clear:before, .clear:after { content: " "; display: table; line-height: 0; }
.clear:after { clear: both; }
.clear { *zoom: 1; }
.center { text-align: center; }
.align-right { text-align: right; }
.align-left { text-align: left; }
.right { float: right; }
.left { float: left; }


/*================ HTML5 DISPLAY FIXES ================*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
  display: block;
	margin: 0; }

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

audio:not([controls]) {
	display: none;
	height: 0; }

[hidden] { display: none; }
svg:not(:root) { overflow: hidden; }

dl, ol, ul { margin: 0; }
dd { margin: 0; }
ol, ul { padding: 0; }

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

img { -ms-interpolation-mode: bicubic; }
figure { margin: 0; }
	
	
/*================ TYPOGRAPHY ================*/
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
dfn { font-style: italic; }

blockquote { margin: 1em 40px; }
mark { background: #ff0; color: #000; }

code, kbd, pre, 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;
	margin: 1em 0; }

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

sup { top: -0.5em; }
sub { bottom: -0.25em; }

q { quotes: none; }
small { font-size: 0.8em; }

h1, h2, h3, h4, h5, h6 { text-rendering: optimizelegibility; }
	
	
/*================ FORMS ================*/
legend {
  white-space: normal;
  *margin-left: -7px; }

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

button, input { line-height: normal; }

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

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

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

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-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }

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


/*================ REMOVE TEXT-SHADOW IN HIGHLIGHTED TEXT ================*/
::-moz-selection { background: #b3d4fc; text-shadow: none; }
::selection { background: #b3d4fc; text-shadow: none; }


/*================ PRINT STYLES ================*/
@media print {
  * {
		background: transparent !important;
		color: #000 !important;
		box-shadow: none !important;
		text-shadow: none !important; }

	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: ""; }

	pre, blockquote {
		border: 1px solid #999;
		page-break-inside: avoid; }

	thead { display: table-header-group; }
	
	tr, img { page-break-inside: avoid; }
	img { max-width: 100% !important; }
	
	p, h2, h3 { orphans: 3; widows: 3; }
	h2, h3 { page-break-after: avoid; }
}