.attachment-actions,
.attachment-info,
.wp_attachment_image {
  margin: 0 0 16px;
}

.attachment-actions .pwad-save-focal-point,
.attachment-actions .pwad-set-focal-point,
.attachment-info .pwad-save-focal-point,
.attachment-info .pwad-set-focal-point,
.wp_attachment_image .pwad-save-focal-point,
.wp_attachment_image .pwad-set-focal-point {
  display: none;
}

.attachment-actions .pwad-save-focal-point.pwad-active,
.attachment-actions .pwad-set-focal-point.pwad-active,
.attachment-info .pwad-save-focal-point.pwad-active,
.attachment-info .pwad-set-focal-point.pwad-active,
.wp_attachment_image .pwad-save-focal-point.pwad-active,
.wp_attachment_image .pwad-set-focal-point.pwad-active {
  display: inline-block;
}

.attachment-actions .pwad-select-focal-point-preview,
.attachment-info .pwad-select-focal-point-preview,
.wp_attachment_image .pwad-select-focal-point-preview {
  display: none;
  margin: 10px 0 0;
  vertical-align: baseline;
}

.attachment-actions .pwad-select-focal-point-preview.pwad-active,
.attachment-info .pwad-select-focal-point-preview.pwad-active,
.wp_attachment_image .pwad-select-focal-point-preview.pwad-active {
  display: inline-block;
}

.wp_attachment_image {
  margin: 0;
}

.wp_attachment_image .pwad-focal-point-container img {
  display: block;
}

.wp_attachment_image .pwad-save-focal-point,
.wp_attachment_image .pwad-set-focal-point {
  float: left;
  margin: 0 0 0 10px;
}

.wp_attachment_image .pwad-select-focal-point-preview {
  float: left;
  margin: 0 0 0 10px;
}

.wp_attachment_image .pwad-clear-cache {
  float: left;
  margin: 0 0 0 10px;
}

.wp_attachment_image .pwad-focal-point-preview {
  border: 1px solid rgba(241, 241, 241, 0.75);
  box-shadow: 0 0 1000px 1000px rgba(241, 241, 241, 0.75);
}

.wp_attachment_image br {
  display: none;
}

.media-sidebar .attachment-info .thumbnail-image {
  max-width: 100%;
  max-height: none;
}

.media-sidebar .attachment-info .thumbnail-image img {
  max-width: 100%;
  max-height: none;
}

.media-sidebar .pwad-save-focal-point,
.media-sidebar .pwad-set-focal-point {
  margin-top: 5px;
}

.media-sidebar .pwad-focal-point-container {
  margin: 0;
}

.media-sidebar .pwad-focal-point-image {
  display: block;
}

.pwad-focal-point-image img {
  pointer-events: none;
  user-select: none;
}

.pwad-focal-point-container {
  margin: 0 auto 11px;
  text-align: center;
}

.pwad-focal-point-image {
  display: inline-block;
  overflow: hidden;
  position: relative;
}

.pwad-focal-point-image .details-image,
.pwad-focal-point-image .thumbnail {
  margin: 0 !important;
}

.details-image {
  max-height: 70vh !important;
}

.pwad-focal-point-marker {
  width: 1px;
  height: 1px;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: block;
}

.pwad-focal-point-marker span {
  width: 30px;
  height: 30px;
  position: absolute;
  top: -15px;
  left: -15px;
  background: rgba(0, 133, 186, 0.5);
  border: 1px solid #006799;
  border-radius: 100%;
  display: block;
  opacity: 0.5;
  overflow: hidden;
  text-indent: 100px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.pwad-focal-point-marker span:before {
  width: 4px;
  height: 4px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: '';
  background: #006799;
  border-radius: 100%;
  margin: auto;
}

.pwad-focal-point-marker.pwad-active {
  cursor: move;
}

.pwad-focal-point-marker.pwad-active span {
  width: 60px;
  height: 60px;
  top: -30px;
  left: -30px;
  opacity: 0.9;
}

.pwad-focal-point-preview {
  position: absolute;
  z-index: 1;
  box-sizing: border-box;
  display: block;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 1000px 1000px rgba(255, 255, 255, 0.75);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.pwad-focal-point-preview.pwad-active {
  opacity: 1;
}