.wpba ol.unstyled,
.wpba ul.unstyled {
  margin-left: 0;
  list-style: none;
}

.wpba .pull-left {
  float: left;
}

.wpba .pull-right {
  float: right;
}

.wpba .hide {
  display: none;
}

.wpba .hide-text {
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.wpba .clearfix {
  *zoom: 1;
}

.wpba .clearfix:before,
.wpba .clearfix:after {
  display: table;
  content: "";
  line-height: 0;
}

.wpba .clearfix:after {
  clear: both;
}

.wpba .img-polaroid {
  padding: 4px;
  border: 1px solid #ccc;
  border: 1px solid rgba(0,0,0,0.2);
  background-color: #fafafa;
  -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.wpba .clear {
  clear: both;
}

.wpba {
  width: 100%;
  height: 100%;
}

.wpba .uploader {
  margin-top: 10px;
  margin-bottom: 10px;
}

.wpba #wpba_image_sortable {
  padding-top: 20px;
  border-top: 1px solid #dfdfdf;
}

.wpba .wpba-image-attachments li {
  clear: both;
  margin: 0 20px 20px 0;
  padding-bottom: 20px;
  min-height: 150px;
  border-bottom: 1px solid #dfdfdf;
  cursor: pointer;
}

.wpba .wpba-saving {
  margin-left: 10px;
  height: 24px;
  line-height: 24px;
}

.wpba .wpba-saving span {
  display: inline-block;
  height: 100%;
}

.wpba .wpba-saving img {
  margin-bottom: -3px;
}

.wpba .wpba-drag-handle {
  position: absolute;
  right: 32px;
  width: 40px;
  height: 28px;
  background-image: url("../img/handle-icon.png");
}

.wpba .wpba-preview {
  margin-right: 20px;
  width: 150px;
  height: 150px;
  border: 1px solid #ccc;
  background: #eee;
  -webkit-box-shadow: inset 0 0 15px rgba(0,0,0,0.1),inset 0 0 0 1px rgba(0,0,0,0.05);
  box-shadow: inset 0 0 15px rgba(0,0,0,0.1),inset 0 0 0 1px rgba(0,0,0,0.05);
  overflow: hidden;
}

.wpba .wpba-preview img {
  min-height: 150px;
}

.wpba .wpba-preview img.wpba-preview-img {
  margin-top: -22px;
}

.wpba .wpba-preview img.wpba-preview-img.attachment-disabled {
  margin-top: 0;
}

.wpba .wpba-preview img.icon {
  min-height: auto;
}

.wpba .wpba-preview .icon-wrap {
  width: 100%;
  text-align: center;
}

.wpba .wpba-preview .icon {
  margin: 30px auto 0 auto;
}

.wpba .wpba-edit-attachment {
  position: absolute;
  padding: 3px;
  width: 144px;
  background: #FFF;
  background: rgba(255,255,255,0.8);
}

.wpba .wpba-edit-attachment li {
  clear: none;
  margin: 0 5px 0 0;
  min-height: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.wpba .wpba-edit-attachment a {
  text-decoration: none;
  font-size: 12px;
}

.wpba .wpba-attachment-name {
  position: absolute;
  overflow: hidden;
  margin: 119px 0 0 0;
  margin-top: 120px;
  width: 150px;
  height: 30px;
  border-top: 1px solid #ccc;
  background: white;
  background: rgba(255,255,255,0.8);
  -webkit-box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
  text-align: center;
  font-weight: bold;
  line-height: 30px;
}

.wpba .wpba-form-wrap {
  width: 70%;
}

.wpba .wpba-form-wrap input {
  max-width: 98%;
  width: 100%;
}

.wpba .wpba-form-wrap .wpba-attachment-title {
  margin-bottom: 10px;
}

.wpba .wpba-form-wrap .wpba-attachment-caption {
  height: 40px;
  resize: vertical;
}

.wpba .wpba-attachment-id-output {
  top: 128px;
  font-size: 12px;
  position: relative;
  width: 150px;
  background: white;
  display: block;
  text-align: center;
  padding: 3px 0;
  background: #FFF;
  background: rgba(255,255,255,0.8);
  overflow: hidden;
}

.wpba .wpba-attachment-id-output.with-title {
  top: 22px;
  background: rgba(255,255,255,0.8);
}

.wpba .wpba-attachment-id-output.no-menu {
  top: 0;
}

.wpba.wpba-editor-collapsed .wpba-attachment-item {
  margin: 0;
}

.wpba.wpba-editor-collapsed li {
  display: inline-block;
  clear: none;
  border: none;
}

.wpba.wpba-editor-collapsed li.inner {
  width: auto;
}

.wpba.wpba-editor-collapsed .wpba-form-wrap,
.wpba.wpba-editor-collapsed .wpba-drag-handle {
  display: none;
}

.wpba-media-buttons-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: text-top;
  margin: 0 2px;
  background: url("../img/media-button.png") no-repeat top left;
}

#wpba_edit_screen iframe {
  width: 100%;
  height: 100%;
}

#wpba_edit_screen .media-modal-close {
  right: 20px;
  width: 40px;
  background: white;
  background: rgba(255,255,255,0.9);
}

#wpba_edit_screen #wpcontent {
  margin: 0 2%;
  width: 96%;
}

.imgareaselect-border1 {
  background: url("../img/border-v.gif") repeat-y left top;
}

.imgareaselect-border2 {
  background: url("../img/border-h.gif") repeat-x left top;
}

.imgareaselect-border3 {
  background: url("../img/border-v.gif") repeat-y right top;
}

.imgareaselect-border4 {
  background: url("../img/border-h.gif") repeat-x left bottom;
}

.imgareaselect-border1,
.imgareaselect-border2,
.imgareaselect-border3,
.imgareaselect-border4 {
  filter: alpha(opacity=50);
  opacity: 0.5;
}

.imgareaselect-handle {
  background-color: #fff;
  border: solid 1px #000;
  filter: alpha(opacity=50);
  opacity: 0.5;
}

.imgareaselect-outer {
  background-color: #000;
  filter: alpha(opacity=50);
  opacity: 0.5;
}

.wrap.wpba {
  float: left;
}

#wpba_settings {
  opacity: 0;
}

#wpba_settings h3 {
  display: none;
}

.wpba-loading {
  background-image: url("../img/loader.gif");
  background-repeat: no-repeat;
  background-position: center 300px;
}

.wpba-settings-content {
  width: 60%;
}

.wpba-settings-sidebar {
  opacity: 0;
  width: 35%;
  max-width: 35%;
  margin-left: 0;
  border-radius: 5px;
  padding: 10px 20px;
  background-color: #f5f5f5;
  background-image: -webkit-gradient(linear, bottom left, top left, from(#f5f5f5), to(#fafafa));
  background-image: -webkit-linear-gradient(bottom, #f5f5f5, #fafafa);
  background-image: linear-gradient(to top, #f5f5f5, #fafafa);
  border: 1px solid #dfdfdf;
  color: #333;
}

.wpba-settings-sidebar h3 {
  width: 100%;
}

.wpba-settings-sidebar ul {
  list-style-type: disc;
  margin-left: 18px;
}

.wpba-settings-sidebar .fb-share {
  background-image: url("../img/fb-share.png");
  width: 112px;
  height: 21px;
  display: block;
}

#add_external_attachments_modal_form h1 {
  color: #333;
  font-family: sans-serif;
  font-size: 22px;
  font-weight: 200;
  height: 45px;
  line-height: 45px;
  margin: 0 0 0 0;
  padding: 0px 16px;
}

#add_external_attachments_modal_form ul {
  margin: 16px;
}

#add_external_attachments_modal_form ul li {
  margin: 0 20px 20px 0;
  float: left;
}

#add_external_attachments_modal_form ul input[type="text"] {
  width: 400px;
  padding: 5px;
  margin: 0 0 5px 5px;
}

#add_external_attachments_modal_form #add_external_attachments_footer {
  width: 100%;
  max-width: 100%;
  clear: both;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 16px;
  border-top: 1px solid #eee;
  background-color: #F5F5F5;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.column-wpba_parent {
  width: 15%;
}

.wpba-list-spacer {
  display: none;
}

.wpba-attachment-editor .description {
  max-width: 650px;
  width: 100%;
}

.wpba-attachment-editor .unstyled {
  list-style: none;
  margin-left: 0;
}

.wpba-attachment-editor .pull-left {
  float: left;
}

.wpba-attachment-editor .pull-right {
  float: right;
}

.wpba-attachment-editor a.reset-thumbnails {
  padding: 7px 10px;
  text-decoration: none;
}