/* Reset & Minimal Styles based on 
 * Eric Meyer's Reset : http://meyerweb.com/eric/tools/css/reset/
 * Paul Irish's HTML5 Boilerplate: http://html5boilerplate.com/
 */

/* @group Reset */


blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}

del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */

hr { 
	display: block; 
	height: 1px; 
	border: 0; 
	border-top: 1px solid #ccc; 
	margin: 1em 0; 
	padding: 0; 
}

/* @end Reset */

/* @group font.css */
/*	from the YUI Library: developer.yahoo.com/yui/

  There are three custom edits:
   * remove arial, helvetica from explicit font stack
   * we normalize monospace styles ourselves
   * table font-size is reset in the HTML5 reset above so there is no need to repeat
*/

/* normalize monospace sizing 
 * en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome
 */
pre, 
code, 
kbd, 
samp { 
	font-family: monospace, sans-serif; 
}
/* @end font.css */
 
/* @group minimal base styles */

 
/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
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; 
  
  /* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
  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 */
}

/*
    Form Elements
    -- Styled to look like native Safari on OS X.
    -- Drop-down <select> menus are unaffected.
    -- Buttons are unaffected. Native OS style.
*/

/* webkit browsers add a 2px margin outside the chrome of form elements */  
input,
button,
select,
textarea {
    margin: 0;
    vertical-align: middle;
}

input[type=text],
input[type=email],
input[type=search],
input[type=password],
input.input_text,
input.input_email,
input.input_search,
input.input_password {
    height: 16px;
}

button,
input[type=submit],
input[type=button],
input.input_submit,
input.input_button {
    font-size: 12px;
    overflow: visible;
    width: auto;
}

textarea,
select[multiple],
input[type=text],
input[type=email],
input[type=search],
input[type=password],
input.input_text,
input.input_email,
input.input_search,
input.input_password {
    background: #fff url("../img/input_shadow.png") repeat-x;
    border: 1px solid;
    border-color: #848484 #c1c1c1 #e1e1e1;
    color: #000;
    margin: 0;
    padding-top: 2px;
    padding-left: 3px;
    padding-right: 3px;
    font: 11px Verdana, sans-serif;
}

select[multiple] {
    padding: 0;
}

optgroup {
    background: #fff;
    color: #000;
    font-style: normal;
    font-weight: normal;
}
 
textarea { 
	overflow: auto; /* www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */
} 

.ie6 legend, 
.ie7 legend { 
	margin-left: -7px; 
} 

/* hand cursor on clickable input elements */
label, 
.input_submit,
input[type=button], 
input[type=submit], 
button { 
	cursor: pointer; 
}
 
input.placeholder_text,
textarea.placeholder_text {
	color: #888;
}

::-webkit-input-placeholder {
	color: #888;
}

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

::selection { 
	background: #09f; 
	color: #fff; 
	text-shadow: none; 
} 

/*  j.mp/webkit-tap-highlight-color */
a:link { 
	-webkit-tap-highlight-color: #09f; 
} 

/* make buttons play nice in IE:    
   www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {  
	width: auto; 
	overflow: visible; 
}
 
/* bicubic resizing for non-native sized IMG: 
   code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
.ie7 img { 
	-ms-interpolation-mode: bicubic; 
}


/* @end minimal base styles */


/* @group 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 
   www.webaim.org/techniques/css/invisiblecontent/ 
   Solution from: j.mp/visuallyhidden - Thanks Jonathan Neal! */
.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; 
}

/* The Magnificent CLEARFIX
 http://www.yuiblog.com/blog/2010/09/27/clearfix-reloaded-overflowhidden-demystified/ */
.clearfix:before,
.clearfix:after {
  content: ".";    
  display: block;    
  height: 0;    
  visibility: hidden;	
}
.clearfix:after {clear: both;}
.clearfix {zoom: 1;} /* IE < 8 */

/* @end Non-semantic helper classes */
