.mgTag{
	position: relative;
	margin-left: 5px;
	margin-top: 5px;
}
.mgTag .btn-dropdown{
	display: inline;
}
.mgTag .btn-group{
	display: inline;
	width:20px;
	min-height: 22px;
	margin-top:-8px;
}
.mgTag .dropdown-menu{
	float: right;
	position: relative;
}

.mgTag .btn-dropdown{
	border: 1px solid transparent;
}

.mgTagItem{
	display:inline-block;
	padding:0 4px;
	color:#638420;
	background:#CDE69C;
	border:1px solid #A5D24B;
	border-radius:3px;
	font-size: 12px;
	line-height: 21px;
	cursor: default;
	margin-right: 4px;
	margin-bottom: 5px;
}
.x{
	display: inline-block;
	width: 14px;
	background: url(../images/icon/tag_delete.png) no-repeat;
	margin-left:4px;
	cursor: pointer;
	background-position: center;
}
.mgTagItem:hover{
	background:#CDE69C;
	border:1px solid #A5D24B;
	text-decoration:none;
	border-radius:3px;
}
.mgTagItem:hover .x{
	display:inline-block;
	background: url(../images/icon/tag_delete_h.png) no-repeat;
	background-position: center;
}
.mgAddTagBtn{
	display:inline-block;
	padding:0px 8px;
	cursor:pointer;
	font-size: 12px;
	line-height: 21px;
	font-weight: bold;
	color:#A5D24B;
	border: 1px dashed #A5D24B;
}

.inputMode{
	border:  1px dashed transparent;
}

/*.mgAddTagBtn:hover{
	background: #CDE69C;
	border:1px solid #A5D24B;
}*/
input.input.input_addTag{
	width:60px;
	padding: 2px 0;
	vertical-align:middle;
	font-size: 12px;
}

.tag_icon{
	width:16px;
	height:13px;
	margin-right:5px;
	margin-top:4px;
	margin-left:15px;
	float:left;
}