/* based on v1.0 | 20080212 | http://meyerweb.com/eric/tools/css/reset/ */

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, font, 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, dialog, figure, footer, header,
hgroup, menu, nav, section,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0; 
	/*outline: 0;*/
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

/*body {
	line-height: 1;
}*/

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
/*:focus {
	outline: 0;
}*/

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}

del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* No More IE6 Background Flicker 
   http://www.hedgerwow.com/360/bugs/dom-fix-ie6-background-image-flicker.html
   http://habrahabr.ru/blogs/webdev/18506/#comment_378431 */
html {
	filter: expression(runtimeStyle.filter = '', document.execCommand('BackgroundImageCache', false, true));
}

/* set proper mode for VML elemants */
v\:group, v\:shape, v\:textbox, v\:line, v\:polyline, v\:rect, v\:roundrect, v\:arc, v\:oval {
	display: inline-block;
}

/* based on v1.4 | 20090727 | http://html5doctor.com/html-5-reset-stylesheet/ */

article, aside, dialog, figure, footer, header, hgroup, nav, section {
	display: block;
}

mark {
	font-style: italic;
	font-weight: bold;
}

abbr[title], dfn[title] {
/*	border-bottom: 1px dotted;
	cursor: help; */
}

/*hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #cccccc;
	margin: 1em 0;
	padding: 0;
}*/

input, select {
	vertical-align: middle;
}

/* new clearfix
  http://rotorweb.ru/mysli-vslux/saying-goodbye-overflow-hidden.html 
  http://perishablepress.com/press/2009/12/06/new-clearfix-hack/
  http://aloestudios.com/2009/12/goodbye-overflow-clearing-hack/ */
.clearfix:after {
  visibility: hidden;
  display: block;
  clear: both;
  content: " ";
  height: 0;
  font-size: 0;
}

* html .clearfix {
	zoom: 1; 
} /* IE6 */

*:first-child+html .clearfix {
	zoom: 1; 
} /* IE7 */
