/* Fixes issue here http://code.google.com/p/jcrop/issues/detail?id=1 */
.jcrop-holder { text-align: left; }

.jcrop-vline, .jcrop-hline
{
	font-size: 0;
	position: absolute;
/*	background: white url('Jcrop.gif') top left repeat; */
	background: white;
}
.jcrop-vline { height: 100%; width: 1px !important; }
.jcrop-hline { width: 100%; height: 1px !important; }
.jcrop-handle {
	font-size: 1px;
	width: 7px !important;
	height: 7px !important;
	border: 1px #eee solid;
	background-color: #333;
	*width: 9px;
	*height: 9px;
}

.jcrop-tracker { width: 100%; height: 100%; }

.custom .jcrop-vline,
.custom .jcrop-hline
{
	background: yellow;
}
.custom .jcrop-handle
{
	border-color: black;
	background-color: #C7BB00;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
/* jCrop end here */


.ui-dialog #scroll-pane {
	float:left;
	overflow: auto;
	width: 910px;
	height:150px;
	position:relative;
	display:inline-block;
	margin-bottom: 15px;
}
.ui-dialog #scroll-content {
	position:absolute;
	top:0;
	left:0;
	width: 910px;
}
.ui-dialog #slider-wrap {
	float:left;
	background-color:#e0e0e0;
	width:20px;
}
.ui-dialog #slider-vertical {
	position:relative;
	height:100%
}
.ui-dialog .ui-slider-handle {
	width:20px;
	height:10px;
	margin:0 auto;
	background-color:#aaa;
	display:block;
	position:absolute;
	border-radius: 6px;
	-webkit-border-radius: 6px; 
    -moz-border-radius: 6px; 	
}


.product_photo_gallery {
	list-style-type: none; margin: 0; padding: 0;
	padding: 10px 0 0 0;
/*	width:664px;*/
}

.product_photo_gallery li, .product_photo_frame, .product_photo_frame img, .product_photo_gallery li .edit_panel, .edit_panel .edit_panel_bg {
	height: 146px;
}

.product_photo_gallery li, .product_photo_frame, .product_photo_gallery li .edit_panel, .edit_panel .edit_panel_bg {
	width: 146px;
}

.product_photo_gallery li {
	float: left;
	display: inline;
	border: 1px solid #ccc;
	padding: 4px;
	margin: 0 10px 10px 0;
	cursor: move;
}

.product_photo_gallery .product_photo_frame {
	overflow: hidden;
	display: block;
	text-align: center;
}

.product_photo_gallery .edit_panel  {
	position: absolute;
	left: 4px;
	top: 4px;
}

.edit_panel .edit_panel_bg {
	position: absolute;
	background: #000;
	opacity:0.6;
	filter:alpha(opacity=60);
}
.edit_panel .edit_panel_bg {
	background: #4875aa;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-moz-box-shadow: 0 0 4px 0 #000;
	-webkit-box-shadow: 0 0 4px 0 #000;
	box-shadow: 0 0 4px 0 #000;
}
.edit_panel .drag_msg {
	background: #333333;
	padding:3px 0px;
	position: absolute;
	bottom:0px;
	display:block;
	width:100%;
	font-size:11px;
	color:#ffffff;
	text-align:center;
}

.product_photo_gallery li a.edit, .product_photo_gallery li a.delete, .product_photo_gallery li a.description {
	background: #fff url(../img/edit.png) no-repeat 4px 4px;
	position: absolute;
	padding: 0px;
	cursor: pointer;
	width: 24px;
	height: 24px;
	text-decoration: none;
	top: 50%;
	left: 50%;
	margin-left: -29px;
	margin-top: -12px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-moz-box-shadow: 0 0 4px 0 #000;
	-webkit-box-shadow: 0 0 4px 0 #000;
	box-shadow: 0 0 4px 0 #000;
}
.product_photo_gallery li a.delete {
	background: #fff url(../img/delete.png) no-repeat 4px 4px;
	margin-left: 5px;
	margin-top: -12px;
}
.product_photo_gallery li a.description {
	background: #fff url(../img/table.png) no-repeat 4px 4px;
	margin-top: 20px;
	margin-left: -12px;
}


#add_photo_modal .uploadifyQueueItem {
background-color: #FFFFFF;
border: none;
border-bottom: 1px solid #E5E5E5;
font: 11px Verdana, Geneva, sans-serif;
height: 50px;
margin-top: 0;
padding: 10px;
width: 350px;
}
#add_photo_modal .uploadifyError {
background-color: #FDE5DD !important;
border: none !important;
border-bottom: 1px solid #FBCBBC !important;
}
#add_photo_modal .uploadifyQueueItem .cancel {
float: right;
}
#add_photo_modal .uploadifyQueue .completed {
color: #C5C5C5;
}
#add_photo_modal .uploadifyProgress {
background-color: #E5E5E5;
margin-top: 10px;
width: 100%;
}
#add_photo_modal .uploadifyProgressBar {
background-color: #0099FF;
height: 3px;
width: 1px;
}
#add_photo_modal #custom-queue {
border: 1px solid #E5E5E5;
height: 210px;
padding: 0px 17px 0px 0px;
margin: 0px 0px 10px 0px;
width: 370px;
overflow: auto;
}

.photo_gallery_counter 
{
	position: absolute;
	right: 55px;
	top: 90px;
	font-weight: bold;
	color: #ff0000;
	font-size: 14px;
}

#add_photo_modal .error, #edit_photo_modal .error, #delete_photo_modal .error
{
	color: #ff0000;
	font-weight: bold;
	float: right;
	display: inline;
}