/*		Last update: 2008-05-27		*/

* { margin: 0; padding: 0; text-decoration: none; font-size: 1em; }
html,body,address,blockquote,div,p,pre,h1,h2,h3,h4,h5,h6,hr,	/* block level 	*/
dd,dl,dt,ul,ol,li,												/* lists 		*/
a,abbr,acronym,b,big,br,cite,code,del,dfn,em,i,					/* inline text 	*/
ins,kbd,q,samp,small,span,strong,sub,sup,tt,var,				/* inline text 	*/
img,object,														/* misc 		*/
caption,table,tbody,td,tfoot,th,thead,tr,						/* table 		*/
input,textarea,select,button,form,fieldset,legend,label, 		/* form 		*/
font,u,s,center,dir,menu,strike,xmp								/* depricated 	*/
{
	vertical-align: baseline;
	text-indent: 0;
	list-style-type: none;
}
body { line-height: 1; background: white;}
code, kbd, samp, pre, tt, var, textarea, input, select, isindex { font: inherit; font-size: 1em; }
dfn, i, cite, var, address, em { font-style: italic; }
a, img, a img, iframe, form, fieldset, abbr, acronym, object, applet, hr { border: none; }
a:link, a:visited, a:hover; a:active {
	text-decoration: underline;
}
span[style] { 
    color: inherit !important; 
    font-size: inherit !important; 
}
font { 
	color: inherit !important; 			/* disables some nasty font attributes in standard browsers */
	font: inherit !important; 
	color: inherit !important; 
} 
input,select,button {
	vertical-align: middle;						/* make all controls align middle to textline in all browsers */
}
textarea {
	vertical-align: top;						/* ...and all textareas, but... */
}
input,button{
	overflow: visible;							/* remove padding in buttons in IE */
}
label {
	cursor:pointer;
	cursor:hand;
}
select[size]{
	vertical-align: top;						/* make align top to textline for all selectboxes which has attribute "size",.. */
}
select[size="1"] {
	vertical-align: middle;						/* ...if attribute "size" of a selectbox is set to "1", make it align middle to textline */
}
caption,td,th,tr {
	vertical-align: top;
}
table { 
	border-collapse: collapse; 
	border-spacing: 0;  
	border: 0;  
}
caption, th, td, center { vertical-align: top;  font-weight: normal;  }
optgroup {
	color: black;								/* optgroup in Opera has black background and white text... */
	background: white;							/* ...so let's fix it */
	font-style: normal;							/* works only in FF */
}
optgroup option {
	padding-left: 22px;							/* make padding in FF almost the same as in other browsers */
}
hr {
	color: black;
	background-color: black;
	height: 1px;
	margin: 7px 0;								/* crossbrowser hr */
}
q { quotes: '\00AB' '\00BB' '\201E' '\201C'; }	/* russian quotes */
q:before	{ content: '\00AB'; }
q:after		{ content: '\00BB'; }
q q:before	{ content: '\201E'; }
q q:after	{ content: '\201C'; }

sub, sup{
	position: relative;							/* this method is better, there will not be extra padding in textline */
	font-size: 11px;
	display : inline-block;
	line-height : 11px;
}
sub{
	top: 5px;
	vertical-align : middle;	
}
sup{
	top: -5px;
	margin-top : -11px;
}
ol li, ul li{
	vertical-align: bottom;						/* fixing margins for IE, if there are elements with "display: block" in list items */
}

