#photos_meta {
	background: transparent;
	border: none;
	padding: 0px;
}

#photos_meta .inside { padding: 0px; }
#photos_meta .hndle, #photos_meta .handlediv { display: none; }

#photos_meta .uploadphoto {
	display: block;
	clear: both;
	margin: 0 0 20px 0;
	overflow: hidden;
}

#photos_meta .uploadphoto h2 {
	margin: 0 0 0px 0;
	line-height: 20px;
}

#photos_meta .uploadphoto p {
	margin: 0 0 15px 0;
	color: #999;
	font-size: 12px;
}

.uploadgallery {
	overflow: hidden;
	display: block;
	position: relative;
}

.uploadgallery .left-options {
	float: left;
	width: 20%;
}
.uploadgallery .right-options {
	float: right;
	width: 20%;
	text-align: right;
}
.uploadgallery .left-options a {
	float: left;
	margin: 10px 0 0 0;
	display: block;
}
.uploadgallery .right-options a {
	margin: 10px 0 0 0;
	display: block;
	float: right;
}

.uploadgallery ul {
	float: right;
	width: 20%;
	border: 1px solid #EEE;
	background: #f9f9f9;
	list-style: none;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	display: block;
	overflow: hidden;
	height: 400px;
	overflow: auto;
}

.uploadgallery ul#uploadgallery {
	overflow: hidden;
	height: auto;
	min-height: 500px;
	width: 77%;
	float: left;
}
.edit-item-back {
	position: absolute;
	width: 77%;
	top: 12px;
	left: 0px;
	height: 100%;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border: 1px solid #EEE;
	background: #FFF;
	opacity: 0.9;
	z-index: 100;
	display: none;
}
	.edit-item {
		position: absolute;
		width: 400px;
		height: 195px;
		background: #FFF;
		border: 1px solid #EEE;
		-webkit-box-shadow: 0px 0px 10px 0px #c2e7f8;
		-moz-box-shadow: 0px 0px 10px 0px #c2e7f8;
		box-shadow: 0px 0px 10px 0px #c2e7f8;
		top: 50px;
		left: 50%;
		margin: 0 0 0 -300px;
		z-index: 101;
		display: none;
	}
		.edit-item .close-edit-item {
			position: absolute;
			top: 10px;
			right: 10px;
			border-radius: 100%;
			-moz-border-radius: 100%;
			-webkit-border-radius: 100%;
			padding: 0px;
			width: 20px;
			height: 20px;
			line-height: 20px;
			text-align: center;
		}
		.edit-item .thumb-holder {
			width: 150px;
			height: 150px;
			overflow: hidden;
			margin: 20px;
			float: left;
		}
		.edit-item img { 
			width: auto;
			height: auto;
			float: left;
			max-height: 150px;
		}
		.edit-item textarea {
			margin: 60px 0 5px 0;
			width: 190px;
			height: 80px;
		}
		.edit-item .attachment_thumb_holder {
		    position: absolute;
		    top: 20px;
		    left: 20px;
		}
			.edit-item .attachment_thumb_holder .attachment_thumb { display: none; }
			.edit-item .attachment_thumb_holder .upload_attachment_thumb_button { margin: 116px 0 0 12px; display: inline-block; border: 1px solid #333; }

.uploadgallery ul li {
	border: 1px solid #EEE;
	background: #fff;
	display: block;
	margin: 10px 0 0 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	overflow: hidden;
	padding: 5px;
	position: relative;
	display: inline-block;
}
.uploadgallery ul#uploadgallery li {
	float: left;
	display: block;
}

.uploadgallery ul li:hover {
	border: 1px solid #CCC;
	-webkit-box-shadow: 0px 0px 10px 0px #c2e7f8;
	-moz-box-shadow: 0px 0px 10px 0px #c2e7f8;
	box-shadow: 0px 0px 10px 0px #c2e7f8;
}

.uploadgallery ul li .image_holder {
}

.uploadgallery ul li img {
	float: left;
	display: block;
	margin: 0px;
	cursor: move;
	position: relative;
	-webkit-transition: opacity 0.3s ease-in;
	-moz-transition: opacity 0.3s ease-in;
	-o-transition: opacity 0.3s ease-in;
	transition: opacity 0.3s ease-in;
}
.uploadgallery ul li:hover img {
	opacity: 0.3;
	filter: alpha(opacity = 30);
}

.uploadgallery ul li .actions {
	display: none;
	width: 53px;
	height: 30px;
	bottom: 10px;
	left: 50%;
	margin: 0 0 0 -25px;
	position: absolute;
	opacity: 0;
	-webkit-transition: opacity 0.3s ease-in;
	-moz-transition: opacity 0.3s ease-in;
	-o-transition: opacity 0.3s ease-in;
	transition: opacity 0.3s ease-in;
}
.uploadgallery ul#uploadgallery li .actions { display: block; }
.uploadgallery ul li:hover .actions { opacity: 1; }
	.uploadgallery ul li .actions a {
		padding: 0px;
		width: 25px;
		height: 25px;
		display: block;
		float: left;
		z-index: 1;
	}
	.uploadgallery ul li .actions .button-edit {
		border-radius: 5px 0 0 5px;
		-moz-border-radius: 5px 0 0 5px;
		-webkit-border-radius: 5px 0 0 5px;
	}
	.uploadgallery ul li .actions .button-remove {
		border-radius: 0 5px 5px 0;
		-moz-border-radius: 0 5px 5px 0;
		-webkit-border-radius: 0 5px 5px 0;
		margin-left: -1px;
	}
	.uploadgallery ul li .actions a:hover {
		z-index: 2;
	}
		.uploadgallery ul li .actions span {
			display: inline-block;
			width: 25px;
			height: 25px;
			background: url(./sprite.png) no-repeat;
		}
		.uploadgallery ul li .actions .button-edit span {
			background-position: -1px -2px;
		}
		.uploadgallery ul li .actions .button-remove span {
			background-position: -32px -2px;
		}

.uploadgallery ul li .attachment_form {
	float: right;
	display: none;
	width: 76%;
	position: relative;
}

.uploadgallery ul li .attachment_form span {
	font-size: 11px;
	text-align: right;
	font-style: italic;
	position: absolute;
	bottom: 3px;
	right:10px;
}

.postbox .uploadgallery ul li .attachment_form textarea {
	border: 1px solid #CCC!important;
	padding: 5px!important;
	font-size: 12px!important;
	display: block!important;
	width: 99%;
	height: 50px;
	font-family: "Arial"!important;
	outline: none;
	font-family: Helvetica;
	font-size: 13px;
	-webkit-box-shadow: inset 0px 0px 10px 0px #e3e3e3;
	-moz-box-shadow: inset 0px 0px 10px 0px #e3e3e3;
	box-shadow: inset 0px 0px 10px 0px #e3e3e3;
}

.postbox .uploadgallery ul li .attachment_form .update_attachment_description {
	display: block;
	margin: 5px 0 0 0;
}

.uploadinstructions {
	display: block;
	margin: 0 0 20px 0;
}

#photo.column-photo {
	width: 120px;
	overflow: hidden;
	text-align: right;
}