/* Adapted from html5doctor.com Reset Stylesheet 
	(Eric Meyer's Reset Reloaded + HTML5 baseline) */

html, 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;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}                  
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { display:block; }
nav ul { list-style:none; }
blockquote, q { quotes:none; }
blockquote:before, blockquote:after,
q:before, q:after { content:''; content:none; }
a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }
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; border-spacing:0; }
hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
input, select { vertical-align:middle; }
/* END RESET CSS */

body { font:13px/1.231 sans-serif; *font-size:small; } /* hack retained to preserve specificity */
select, input, textarea, button { font:99% sans-serif; }
pre, code, kbd, samp { font-family: monospace, sans-serif; }
p, 
h1,h2,h3,h4,h5,h6 { line-height: 1.6; }
p, ul, ol, table, fieldset, dl { margin-bottom: 1em; }
li ul, li ol, table table { margin-bottom: 0; }

 
/* 
 * minimal base styles 
 */
body, select, input, textarea { 
  color: #424242; 
	font-family: "Helvetica Neue", Verdana, Helvetica, "Nimbus Sans L", sans-serif;
}
h1,h2,h3,h4,h5,h6 { font-weight: bold;  }
h1 { font-size: 160%; }
h2 { font-size: 140%; }
h3 { font-size: 120%; }
h4 { font-size: 110%; }
h5 { font-size: 110%; }
h6 { font-size: 100%; }
/* always force a scrollbar in non-IE */ 
html { overflow-y: scroll; } 
a:hover, a:active { outline: none; }
a, a:link, a:active, a:visited { color: #0071b0; text-decoration: none; }
a:hover { color: #cc2926; text-decoration: none;  }
ul, ol { margin-left: 1.8em; }
ol { list-style-type: decimal; }
/* Remove margins for navigation lists */
nav ul, nav li { margin: 0; } 
small { font-size: 85%; }
strong, th { font-weight: bold; }
td, td img { vertical-align: top; } 
sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }
pre { 
  padding: 15px; 
  white-space: pre; /* CSS2 */
  white-space: pre-wrap; /* CSS 2.1 */
  white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
  word-wrap: break-word; /* IE */
} 
.ie6 legend, .ie7 legend { margin-left: -7px; } /* thnx ivannikolic! */

body input[type=text], 
body input[type=search], 
body input[type=url], 
body input[type=number], 
body input[type=tel], 
body input[type=email], 
body input[type=password],
body textarea,
body input.formstyles-text { 
/*	border: 1px solid #b9b9b9;
	padding: 4px; 
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;	
	border-radius: 4px; */
	-webkit-border-radius: 8px; 
	-moz-border-radius: 8px; 
	border-radius: 8px; 
	border: 1px solid #c0c0bf;
	padding: .4em; 
	margin-bottom: 1em;
	-moz-box-shadow: 0px 0px 4px rgba(0,0,0,0.2); 
	-webkit-box-shadow: 0px 0px 4px rgba(0,0,0,0.2); 	
	box-shadow: 0px 0px 4px rgba(0,0,0,0.2); 
	margin: .5em 0em;
}
textarea { overflow: auto; }
label { cursor: pointer; font-size: smaller; /*	padding: 4px; */ } 


/* 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;
}
.no-boxshadow input:invalid, 
.no-boxshadow textarea:invalid { background-color: #f0dddd; }
button {  width: auto; overflow: visible; }
.ie7 img { -ms-interpolation-mode: bicubic; }

fieldset {
	border: 1px solid #e7e7e7;
	margin: 0 0 1.8em 0;
	padding: 1.8em;
}
fieldset legend {
	color: #000;
	font-weight: bold;
}

/* 
 * Non-semantic helper classes 
 */

/* for image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }

/* Hide for both screenreaders and browsers
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display: none; visibility: hidden; } 

/* Hide only visually, but have it available for screenreaders */
.visuallyhidden { position: absolute !important;    
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px); }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

.clearfix:before, 
.clearfix:after{ content: "\0020"; display: block; height: 0; visibility: hidden; } 
.clearfix:after{ clear: both; }
.clearfix { zoom: 1; }



/* 
 * print styles
 * inlined to avoid required HTTP connection www.phpied.com/delay-loading-your-print-css/ 
 */
@media print {
  * { background: transparent !important; color: #444 !important; text-shadow: none !important; }
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a:after { content: " (" attr(href) ")"; } 
  abbr:after { content: " (" attr(title) ")"; }
  .ir a:after { content: ""; }  /* Don't show links for images */
  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; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}

