hr,img,object {
	border: 0;
}

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 */
}

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;
}

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 */
	*margin: 0;									/* hack for IE6-7. Better place this in your IE6-7.css and include via Conditional Comments */
}

ol li, ul li{
	vertical-align: bottom;						/* fixing margins for IE, if there are elements with "display: block" in list items */
}

ol li{
	list-style-type: decimal;
}

ul li{
	list-style-type: disc;
}

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;
}
sub{
	top: 5px;	
}
sup{
	top: -5px;
}
