+.media-frame.mode-grid .selected.attachment {
+ -webkit-box-shadow:
+ inset 0 0 0 5px #f1f1f1,
+ inset 0 0 0 7px #ccc;
+ box-shadow:
+ inset 0 0 0 5px #f1f1f1,
+ inset 0 0 0 7px #ccc;
+}
+
+.media-frame.mode-grid .attachment.details {
+ -webkit-box-shadow:
+ inset 0 0 0 3px #f1f1f1,
+ inset 0 0 0 7px #1e8cbe;
+ box-shadow:
+ inset 0 0 0 3px #f1f1f1,
+ inset 0 0 0 7px #1e8cbe;
+}
+
+.media-frame.mode-grid.mode-select .attachment .thumbnail {
+ opacity: 0.65;
+}
+
+.media-frame.mode-select .attachment.selected .thumbnail {
+ opacity: 1;
+}
+
+.media-frame.mode-grid .media-toolbar {
+ margin-bottom: 15px;
+ height: auto;
+}
+
+.media-frame.mode-grid .media-toolbar select {
+ margin: 0 10px 0 0;
+ font-size: 14px;
+}
+
+.media-frame.mode-grid.mode-edit .media-toolbar-secondary > .select-mode-toggle-button {
+ margin: 0 8px 0 0;
+ vertical-align: middle;
+}
+
+.media-frame.mode-grid .attachments-browser .bulk-select {
+ display: inline-block;
+ margin: 0 10px 0 0;
+}
+
+.media-frame.mode-grid .search {
+ margin-top: 0;
+}
+
+.media-frame.mode-grid .spinner {
+ margin-top: 16px;
+}
+
+.attachments-browser .media-toolbar-secondary > .media-button {
+ margin-right: 10px;
+}
+
+.media-frame.mode-select .attachments-browser.fixed .media-toolbar {
+ position: fixed;
+ top: 32px;
+ left: auto;
+ right: 20px;
+ margin-top: 0;
+}
+
+.media-frame.mode-grid .attachments-browser {
+ padding: 0;
+}
+
+.media-frame.mode-grid .attachments-browser .attachments {
+ padding: 2px;
+}
+
+.media-frame.mode-grid .attachments-browser .no-media {
+ color: #999;
+ font-size: 18px;
+ font-style: normal;
+ margin: 0;
+ padding: 100px 0 0;
+ text-align: center;
+}
+
+/**
+ * Attachment details modal
+ */
+
+.edit-attachment-frame {
+ display: block;
+ height: 100%;
+ width: 100%;
+}
+
+.edit-attachment-frame .edit-media-header {
+ overflow: hidden;
+}
+
+.upload-php .media-modal-close .media-modal-icon:before {
+ content: '\f335';
+ font-size: 22px;
+}
+
+.upload-php .media-modal-close,
+.edit-attachment-frame .edit-media-header .left,
+.edit-attachment-frame .edit-media-header .right {
+ cursor: pointer;
+ color: #777;
+ background-color: transparent;
+ height: 50px;
+ width: 50px;
+ padding: 0;
+ position: absolute;
+ text-align: center;
+ border: 0;
+ border-left: 1px solid #ddd;
+ -webkit-transition: color .1s ease-in-out, background .1s ease-in-out;
+ transition: color .1s ease-in-out, background .1s ease-in-out;
+}
+
+.upload-php .media-modal-close {
+ top: 0;
+ right: 0;
+}
+
+.edit-attachment-frame .edit-media-header .left {
+ right: 102px;
+}
+
+.edit-attachment-frame .edit-media-header .right {
+ right: 51px;
+}
+
+.edit-attachment-frame .media-frame-title {
+ left: 0;
+ right: 150px; /* leave space for prev/next/close */
+}
+
+.edit-attachment-frame .edit-media-header .right:before,
+.edit-attachment-frame .edit-media-header .left:before {
+ font: normal 20px/50px 'dashicons' !important;