.photo_album_edit_grid .pic_box {
  display: inline-block;
  margin: 0px 10px 10px 0px;
  float: left;
  position: relative;
}

.photo_album_edit_grid .inner_pic_box {
	border: 1px solid transparent;
	margin: 0px;
  width: 128px;
  height: 128px;
  overflow: hidden;
}
.photo_album_edit_grid .inner_pic_box:hover {
	border: 1px solid gray;
	background-color: #DDD;
}
.photo_album_edit_grid .pic_box.selected .inner_pic_box {
	border: 1px solid black;
	background-color: #DDD;
}

.photo_album_edit_grid .pic_box.ui-sortable-helper {
  z-index: 99999999999 !important;
}
.photo_album_edit_grid .pic_box.ui-sortable-helper * {
  cursor: move;
}

.photo_album_edit_grid .photo_album_edit_details {
  position: absolute;
  right: 20px;
  top: 4px;
  width: 12px;
}
.photo_album_edit_grid .photo_album_edit_details:hover {
  box-shadow: inset 0 0 5px #ffffff;
  border-radius: 7px;
}


.photo_album_edit_grid .image_editor .image_frame {
  min-height: 128px;
}

textarea.wysiwyg.photo_album_caption_editor {
  height: 80px;
  width: 645px;
  max-width: 645px;
}
textarea.wysiwyg
{
  width: 670px;
	max-height: 300px;
}

.photo_album_caption_editor_box .jHtmlArea iframe html {
  font-size: 2em;
}

.photo_album_sort_placeholder {
  border: 1px dotted black;
  width: 128px;
  height: 128px;
  display: inline-block;
}

#tab_content select.scale_dropdown {
  height: 22px;
  line-height:22px;
  max-height: 22px;
  padding: 0px;
}
.scale_dropdown option {
  height: 32px;
  line-height: 32px;
  padding: 15px 70px 5px;
  border-bottom: 1px solid gray;
}
.scale_dropdown option.default {
  background: url("/images/default_scale.png") no-repeat scroll 18px center rgba(0, 0, 0, 0);
}
.scale_dropdown option.top {
  background: url("/images/top.png") no-repeat scroll 18px center rgba(0, 0, 0, 0);
}
.scale_dropdown option.shrink {
  background: url("/images/shrink_to_fit.png") no-repeat scroll 5px center rgba(0, 0, 0, 0);
}
.scale_dropdown option.fill {
  background: url("/images/fill.png") no-repeat scroll 5px center rgba(0, 0, 0, 0);
}
.scale_dropdown option.stretch {
  background: url("/images/stretch.png") no-repeat scroll 10px center rgba(0, 0, 0, 0);
  border-bottom: none;
}

.photo_album_dialog .background_color_box .sp-replacer {
  width: 70px;
  display: inline-block;
}
