/* These selection declarations have to be separate
   No text-shadow:twitter.com/miketaylr/status/12228805301
   Also:hot pink! */
::-moz-selection { background:#cfcfcf; color:#fff; text-shadow:none; }
::selection { background:#cfcfcf; color:#fff; text-shadow:none; }

pre, code, kbd, samp { font-family:monospace, sans-serif; }
html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video{
	margin:0;
	padding:0;
	border:0;
	font-size:100%;
	/*vertical-align:baseline;*/
	}
html{ 
	/*overflow-y:scroll;*/ /*caused iframe scroll bar*/
	-webkit-text-size-adjust:100%;
	-ms-text-size-adjust:100%;
	height:100%
	}
/*iframe html *{
	overflow: hidden !important;
	}*/
body{
	font:16px/1.231 sans-serif; 
	*font-size:small;
	} /* Hack retained to preserve specificity */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, button, main{
	display:block;
	}
blockquote, q { quotes:none; }
blockquote:before, blockquote:after,
q:before, q:after { content:""; content:none; }
ins { background-color:#ff9; color:#000; text-decoration:none; }
mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
del { text-decoration:line-through; }
abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }
table{ 
	/*border-collapse:collapse; */ /*removed as stops rounded corners on tables*/
	border-spacing:0;
	}
nav ul, nav li { margin:0; list-style:none; list-style-image:none; }
b, strong, th { font-weight:bold; }
/* Hand cursor on clickable input elements */
label, input[type="button"], input[type="submit"], input[type="image"], button { cursor:pointer; }
/* Remove extra padding and inner border in Firefox */
input::-moz-focus-inner,
button::-moz-focus-inner { border:0; padding:0; }
/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { border-radius:1px; -moz-box-shadow:0px 0px 5px red; -webkit-box-shadow:0px 0px 5px red; box-shadow:0px 0px 5px red; }

.group:after{
	content:"";
	display:table;
	clear:both;
	}

.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color:#f0dddd; }

/*---for PRINT only---*/

@media print{
  * { background:transparent !important; color:black !important; text-shadow:none !important; filter:none !important;
  -ms-filter:none !important; } /* Black prints faster:sanbeiji.com/archives/953 */
  a, a:visited { color:#444 !important; 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; } /* css-discuss.incutio.com/wiki/Printing_Tables */
  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; }
}



