/*  =============================================================================
    TABLE OF CONTENT

	# Normalize
	# Basic Styles
	# Typography
	# Links
	# Lists
	# Images
	# Forms
	# Buttons
	# Misc
	========================================================================== */

/*  =============================================================================
	# Normalize
	========================================================================== */

	html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, /* table, caption, tbody, tfoot, thead, tr, th, td, */article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
		margin: 0;
		padding: 0;
		border: 0;
		
		font: inherit;
		vertical-align: baseline;
	}

	article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
	body { line-height: 1; }
	ol, ul { list-style: none; }
	blockquote, q { quotes: none; }
	blockquote:before, blockquote:after,
	q:before, q:after { content: ''; content: none; }
	table { border-collapse: collapse; border-spacing: 0; }

/*  =============================================================================
	# Basic Styles
	========================================================================== */

	html {
		height: 100%;
		font-size: 100%;
		-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
		-webkit-text-size-adjust: 100%;
		-ms-text-size-adjust: 100%;
		overflow-y: scroll;
	}

	html, button, input, select, textarea { font-family: sans-serif; }
	body { height: 100%; margin: 0; }

/*  =============================================================================
	# Typography
	========================================================================== */

	h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }

	p { margin: 0 0 21px 0; }
	p img { margin: 0; }

	hr { border-width: 1px 0 0; clear: both; margin: 0 0 21px; height: 0; }
	em { font-style: italic; }
	strong { font-weight: bold; }
	small { font-size: 80%; }

	blockquote, blockquote p { font-size: 24px; line-height: 42px; font-style: italic; }
	blockquote { margin: 0 0 21px; padding: 10px 10px 11px 9px; border-left: 1px solid; }
	blockquote cite { display: block; font-size: 14px; }
	blockquote cite:before { content: "\2014 \0020"; }

/*  =============================================================================
	# Links
	========================================================================== */

	a, a:visited { text-decoration: underline; outline: 0; }
	p a, p a:visited { line-height: inherit; }

/*  =============================================================================
	# Lists
	========================================================================== */

	ul, ol { margin-bottom: 21px; }
	ol { list-style: decimal; }
	ol, ul { margin-left: 30px; }
	ul ul, ul ol,
	ol ol, ol ul { margin: 7px 0 7px 30px; }
	ul ul li, ul ol li,
	ol ol li, ol ul li { margin-bottom: 14px; }
	li { line-height: 21px; margin-bottom: 14px; }
	li p { line-height: 21px; }

/*  =============================================================================
	# Images
	========================================================================== */

	img.scale-with-grid { max-width: 100%; height: auto; }

/*  =============================================================================
	# Forms
	========================================================================== */

	form { margin-bottom: 7px; }
	fieldset { margin-bottom: 7px; }
	input[type="text"], input[type="password"], textarea, select {
		background: #fff;
		border: 1px solid #ccc;
		padding: 7px 4px;
		outline: none;
		position: relative;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
		-webkit-border-radius: 4px;
		-moz-border-radius: 4px;
		border-radius: 4px;
		behavior: url(PIE.htc);
		font-size: 14px;
		font-family: Arial, Helvetica, sans-serif;
		color: #666;
		margin: 0;
		margin-bottom: 7px;
		width: 100%;
		max-width: 100%;
		display: block;
	}

	select { padding: 0; }
	input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
		border: 1px solid #aaa;
		color: #333;
 		position: relative;
 		-moz-box-shadow: 0 0 3px rgba(0,0,0,.2);
		-webkit-box-shadow: 0 0 3px rgba(0,0,0,.2);
		box-shadow:  0 0 3px rgba(0,0,0,.2);
 		behavior: url(PIE.htc);
	}
	
	
	textarea { min-height: 70px; }
	label, legend { display: inline; }

	select { width: 80%; }
	input[type="checkbox"] { display: inline; }
	label span, legend span,
	span.required {
		font-weight: normal;
		color: #CC0000;
	}

	label.error { float: none; color: #CC0000; vertical-align: top; font-style: italic; font-size: 85%; }

/*  =============================================================================
	# Buttons
	========================================================================== */

	.button, button, input[type="submit"], input[type="reset"], input[type="button"] {
		position: relative;
		background: #eee;
		background: #eee -moz-linear-gradient(top, rgba(255,255,255,.2) 0%, rgba(0,0,0,.2) 100%);
		background: #eee -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.2)), color-stop(100%,rgba(0,0,0,.2)));
		background: #eee -webkit-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%);
		background: #eee -o-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%);
		background: #eee -ms-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%);
		background: #eee linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%);
		border: 1px solid #888;
		border-top: 1px solid #aaa;
		border-left: 1px solid #aaa;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
		behavior: url(PIE.htc);
		color: #333;
		display: inline-block;
		font-size: 11px;
		font-weight: bold;
		text-decoration: none;
		text-shadow: 0 1px #fff;
		cursor: pointer;
		font-family: Arial, Helvetica, sans-serif;
		margin-bottom: 7px;
		line-height: normal;
		margin-left: 0;
	  	padding: 2px 5px;
	}

	.button:hover, button:hover, input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover,
	.button:active, button:active, input[type="submit"]:active, input[type="reset"]:active, input[type="button"]:active {
		background: #eee;
		background: #eee -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%);
		background: #eee -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.3)), color-stop(100%,rgba(0,0,0,.3)));
		background: #eee -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%);
		background: #eee -o-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%);
		background: #eee -ms-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%);
		background: #eee linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%);
	}

	.button.full-width, button.full-width, input[type="submit"].full-width, input[type="reset"].full-width, input[type="button"].full-width {
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
		width: 100%;
		padding-left: 0 !important;
		padding-right: 0 !important;
		text-align: center;
	}

	/* Fix for odd Mozilla border & padding issues */
	button::-moz-focus-inner,
	input::-moz-focus-inner { border: 0; padding: 0; }

/*  =============================================================================
    # Misc
    ========================================================================== */

	.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
	}
	
	.hidden { display: none !important; visibility: hidden; }
	.invisible { visibility: hidden; }

	.remove-bottom { margin-bottom: 0px !important; }
	.half-bottom { margin-bottom: 10px !important; }
	.add-bottom { margin-bottom: 20px !important; }

	.s-space { clear: both; height: 5px; }
	.m-space { clear: both; height: 10px; }
	.l-space { clear: both; height: 20px; }

	.container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }

	.clearfix:before, .clearfix:after { content: '\0020'; display: block; overflow: hidden; visibility: hidden; width: 0; height: 0; }
	.clearfix:after { clear: both; }
	.clearfix { zoom: 1; }

	.clear { clear: both; display: block; overflow: hidden; visibility: hidden; width: 0; height: 0; }

	.test { background: #F08204; }
	
	

/*  =============================================================================
    # Print
    ========================================================================== */
 
@media print {
	* { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: 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; }
	@page { margin: 0.5cm; }
	p, h2, h3 { orphans: 3; widows: 3; }
	h2, h3 { page-break-after: avoid; }
}
