a.tag {
	color:#1B4581 !important;
	float:left;
	margin:2px 3px 2px 0px;
	background-image:url(../images/tag.gif);
	background-repeat:no-repeat;
	white-space:nowrap;
	text-decoration:none;
	font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size:12px;
	border:0;
	cursor:pointer;
}
a.tag:focus,
a.tag a.remove:focus {
	outline:none; /* removes firefox dashed border */
}
a.tag:hover {
	background-image:url(../images/tag_hover.gif);
}
a.tag.selected,
a.tagSelected {
	color: white !important;
	background-image:url(../images/tag_selected.gif);
}
a.tag.toggable.selected:hover {
	color:#1B4581 !important;
	background-image:url(../images/tag_selected_hover.gif);
}
a.tag span {
	background-image:url(../images/tag.gif);
	background-position:right top;
	background-repeat:no-repeat;
	display:block;
}
a.tag:hover span {
	background-image:url(../images/tag_hover.gif);
}
a.tag.selected span,
a.tagSelected {
	background-image:url(../images/tag_selected.gif);
}
a.tag.toggable.selected:hover span {
	background-image:url(../images/tag_selected_hover.gif);
}
a.tag span span {
	background-position:right bottom;
}
a.tag span span span {
	background-position:left bottom;
}
a.tag span span span span {
	background-image:none;
	padding:2px 5px;
	height:15px;
	line-height:15px;
}
a.tag div.name {
	cursor:pointer;
	font-weight:normal;
	margin-right:3px;
	display:inline;
}
a.tag.selected a.remove,
a.tagSelected {
	color:white;
}
a.tag a.remove {
	cursor:pointer;
	float:none !important;
	text-transform:uppercase;
	font-weight:bold;
	font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size:13px;
	text-decoration:none;
	color:#1B4581;
}
a.tag a.remove:hover {
	color:red;
}
a.tagSelected div.close {
	color:white;
}
a.tag div.close:hover,
a.tagSelected div.close:hover {
	color:red;
}
a.tag div.close {
	cursor:pointer;
	display:inline;
	float:none !important;
	text-transform:uppercase;
	font-weight:bold;
	font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;
}