/* Gallery */
#gallery{
	width: 98%;
	list-style: none;
	font-size: 10px;
}
#gallery li{
	position: relative;
	display: block;
	float: left;
	width: 170px;
	height: 230px;
	margin: 5px;
	border: 1px solid #999999;
	text-align: center;
	cursor: default;
}
#gallery li.selected{
	background-color: #FDF5E6;
}
#gallery li .img{
	width: 160px;
	height: 160px;
	margin: 5px;
	background: url(../images/icons/na.png) no-repeat center center;
}
#gallery li .filename{
	padding: 0px 2px;
	overflow: hidden;
	white-space: nowrap;
}
#gallery li .del{
	position: absolute;
	right: 2px;
	bottom: 2px;
	width: 16px;
	height: 16px;
	background: url(../images/icons/cross.png) no-repeat;
	font-size: 0px;
	cursor: pointer;
}
#gallery li .show{
	position: absolute;
	right: 2px;
	bottom: 2px;
	width: 16px;
	height: 16px;
	font-size: 0px;
	cursor: pointer;
}
#gallery li .edit{
	position: absolute;
	right: 18px;
	bottom: 2px;
	width: 16px;
	height: 16px;
	background: url(../images/icons/edit.png) no-repeat;
	font-size: 0px;
	cursor: pointer;
}
#gallery li textarea.edit-c{
	position: absolute;
	display: none;
	top: 5px;
	left: 5px;
	width: 150px;
	height: 150px;
}

#trash{
	position: relative;
	width: 24px;
	height: 24px;
	background: url(../images/icons/recycle.png) no-repeat 0px 0px;
	float: left;
}
#trash.full{
	background-position: -24px 0px;
}
#trash ul{
	position: absolute;
	z-index: 100;
	left: 0px;
	top: 0px;
	margin: 2px;
	padding: 2px;
	width: 250px;
	display: none;
	border: 1px solid #000000;
	background-color: #FDF5E6;
}
#trash ul li{
	width: 100%;
	float: left;
	clear: both;
	border-bottom: 1px dashed #C0C0C0;
	cursor: pointer;
	list-style: none;
}
#trash ul li div{
	display: none;
}
#trash ul li div.s{
	display: block;
}
#trash.view ul{
	display: block;
}
