+ * Attachment
+ */
+.wp-core-ui .attachment {
+ position: relative;
+ float: right;
+ padding: 8px;
+ margin: 0;
+ color: #444;
+ cursor: pointer;
+ list-style: none;
+ text-align: center;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ width: 25%;
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+}
+
+.wp-core-ui .attachment:focus,
+.wp-core-ui .selected.attachment:focus,
+.wp-core-ui .attachment.details:focus {
+ -webkit-box-shadow:
+ inset 0 0 2px 3px #fff,
+ inset 0 0 0 7px #5b9dd9;
+ box-shadow:
+ inset 0 0 2px 3px #fff,
+ inset 0 0 0 7px #5b9dd9;
+ outline: none;
+}
+
+.wp-core-ui .selected.attachment {
+ -webkit-box-shadow:
+ inset 0 0 0 5px #fff,
+ inset 0 0 0 7px #ccc;
+ box-shadow:
+ inset 0 0 0 5px #fff,
+ inset 0 0 0 7px #ccc;
+}
+
+.wp-core-ui .attachment.details {
+ -webkit-box-shadow:
+ inset 0 0 0 3px #fff,
+ inset 0 0 0 7px #0073aa;
+ box-shadow:
+ inset 0 0 0 3px #fff,
+ inset 0 0 0 7px #0073aa;
+}
+
+.wp-core-ui .attachment-preview {
+ position: relative;
+ -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 );
+ background: #eee;
+ cursor: pointer;
+}
+
+.wp-core-ui .attachment-preview:before {
+ content: "";
+ display: block;
+ padding-top: 100%;
+}
+
+.wp-core-ui .attachment .icon {
+ margin: 0 auto;
+ overflow: hidden;
+}
+
+.wp-core-ui .attachment .thumbnail {
+ overflow: hidden;
+ position: absolute;
+ top: 0;
+ left: 0;
+ bottom: 0;
+ right: 0;
+ opacity: 1;
+ -webkit-transition: opacity .1s;
+ transition: opacity .1s;
+}
+
+.wp-core-ui .attachment .portrait img {
+ max-width: 100%;
+}
+
+.wp-core-ui .attachment .landscape img {
+ max-height: 100%;
+}
+
+.wp-core-ui .attachment .thumbnail:after {
+ content: "";
+ display: block;
+ position: absolute;
+ top: 0;
+ right: 0;
+ left: 0;
+ bottom: 0;
+ -webkit-box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.1 );
+ box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.1 );
+ overflow: hidden;
+}
+
+.wp-core-ui .attachment .thumbnail img {
+ top: 0;
+ right: 0;
+}
+
+.wp-core-ui .attachment .thumbnail .centered {
+ position: absolute;
+ top: 0;
+ right: 0;
+ width: 100%;
+ height: 100%;
+ -webkit-transform: translate( -50%, 50% );
+ -ms-transform: translate(-50%,50%); /* Fails with spaces?? Weird! */
+ transform: translate( -50%, 50% );
+}
+
+.wp-core-ui .attachment .thumbnail .centered img {
+ -webkit-transform: translate( 50%, -50% );
+ -ms-transform: translate(50%,-50%);
+ transform: translate( 50%, -50% );
+}
+
+.wp-core-ui .attachments-browser .attachment .thumbnail .centered img.icon {
+ -webkit-transform: translate( 50%, -70% );
+ -ms-transform: translate(50%,-70%);
+ transform: translate( 50%, -70% );
+}
+
+.ie8 .wp-core-ui .attachment img.icon {
+ top: 20%;
+ position: relative;
+}
+
+.wp-core-ui .attachment .filename {
+ position: absolute;
+ right: 0;
+ left: 0;
+ bottom: 0;
+ overflow: hidden;
+ max-height: 100%;
+ word-wrap: break-word;
+ text-align: center;
+ font-weight: 600;
+ 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 );
+}
+
+.wp-core-ui .attachment .filename div {
+ padding: 5px 10px;
+}
+
+.wp-core-ui .attachment .thumbnail img {
+ position: absolute;
+}
+
+.wp-core-ui .attachment-close {
+ display: block;
+ position: absolute;
+ top: 5px;
+ left: 5px;
+ height: 22px;
+ width: 22px;
+ padding: 0;
+ background-color: #fff;
+ background-position: -96px 4px;
+ -webkit-border-radius: 3px;
+ border-radius: 3px;
+ -webkit-box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.3 );
+ box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.3 );
+}
+
+.wp-core-ui .attachment-close:hover,
+.wp-core-ui .attachment-close:focus {
+ background-position: -36px 4px;
+}
+
+.wp-core-ui .attachment .check {
+ display: none;
+ height: 24px;
+ width: 24px;
+ padding: 0;
+ position: absolute;
+ z-index: 10;
+ top: 0;
+ left: 0;
+ outline: none;
+ background: #eee;
+ -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba( 0, 0, 0, 0.15 );
+ box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba( 0, 0, 0, 0.15 );
+}
+
+.wp-core-ui .attachment .check .media-modal-icon {
+ display: block;
+ background-position: -1px 0;
+ height: 15px;
+ width: 15px;
+ margin: 5px;
+}
+
+.wp-core-ui .attachment .check:hover .media-modal-icon {
+ background-position: -40px 0;
+}
+
+.wp-core-ui .attachment.selected .check {
+ display: block;
+}
+
+.wp-core-ui .attachment.details .check,
+.wp-core-ui .attachment.selected .check:focus,
+.wp-core-ui .media-frame.mode-grid .attachment.selected .check {
+ background-color: #0073aa;
+ -webkit-box-shadow:
+ 0 0 0 1px #fff,
+ 0 0 0 2px #0073aa;
+ box-shadow:
+ 0 0 0 1px #fff,
+ 0 0 0 2px #0073aa;
+}
+
+.wp-core-ui .attachment.details .check .media-modal-icon,
+.wp-core-ui .media-frame.mode-grid .attachment.selected .check .media-modal-icon {
+ background-position: -21px 0;
+}
+
+.wp-core-ui .attachment.details .check:hover .media-modal-icon,
+.wp-core-ui .attachment.selected .check:focus .media-modal-icon,
+.wp-core-ui .media-frame.mode-grid .attachment.selected .check:hover .media-modal-icon {
+ background-position: -60px 0;
+}
+
+.wp-core-ui .media-frame .attachment .describe {
+ position: relative;
+ display: block;
+ width: 100%;
+ margin: 0;
+ padding: 8px;
+ font-size: 12px;
+ -webkit-border-radius: 0;
+ border-radius: 0;
+}
+
+/**
+ * Attachments Browser
+ */
+.media-frame .attachments-browser {
+ position: relative;
+ width: 100%;
+ height: 100%;
+ overflow: hidden;
+}
+
+.attachments-browser .media-toolbar {
+ left: 300px;
+ height: 50px;
+}
+
+.attachments-browser.hide-sidebar .media-toolbar {
+ left: 0;
+}
+
+.attachments-browser .media-toolbar-primary > .media-button,
+.attachments-browser .media-toolbar-primary > .media-button-group,
+.attachments-browser .media-toolbar-secondary > .media-button,
+.attachments-browser .media-toolbar-secondary > .media-button-group {
+ margin: 11px 0;
+}
+
+.attachments-browser .attachments {
+ padding: 2px 8px 8px;
+}
+
+.attachments-browser .attachments,
+.attachments-browser .uploader-inline {
+ position: absolute;
+ top: 50px;
+ right: 0;
+ left: 300px;
+ bottom: 0;
+ overflow: auto;
+ outline: none;
+}
+
+.attachments-browser .uploader-inline.hidden {
+ display: none;
+}
+
+.attachments-browser .media-toolbar-primary {
+ max-width: 33%;
+}
+
+.attachments-browser .media-toolbar-secondary {
+ max-width: 66%;
+}
+
+.uploader-inline .close {
+ background-color: transparent;
+ border: 0;
+ cursor: pointer;
+ height: 48px;
+ position: absolute;
+ left: 0;
+ text-align: center;
+ top: 0;
+ width: 50px;
+ z-index: 1;
+}
+
+.uploader-inline .close:before {
+ font: normal 30px/50px dashicons !important;
+ color: #72777c;
+ display: inline-block;
+ content: "\f335";
+ font-weight: 300;
+}
+
+.attachments-browser.hide-sidebar .attachments,
+.attachments-browser.hide-sidebar .uploader-inline {
+ left: 0;
+ margin-left: 0;
+}
+
+.attachments-browser .instructions {
+ display: inline-block;
+ margin-top: 16px;
+ line-height: 18px;
+ font-size: 13px;
+ color: #666;
+ margin-left: 0.5em;
+}
+
+.attachments-browser .no-media {
+ padding: 2em 2em 0 0;
+}
+
+/**
+ * Progress Bar
+ */
+.media-progress-bar {
+ position: relative;
+ height: 10px;
+ width: 70%;
+ margin: 10px auto;
+ -webkit-border-radius: 10px;
+ border-radius: 10px;
+ background: #ddd;
+ background: rgba( 0, 0, 0, 0.1 );
+}
+
+.media-progress-bar div {
+ height: 10px;
+ min-width: 20px;
+ width: 0;
+ background: #0073aa;
+ -webkit-border-radius: 10px;
+ border-radius: 10px;
+ -webkit-transition: width 300ms;
+ transition: width 300ms;
+}
+
+.media-uploader-status .media-progress-bar {
+ display: none;
+ width: 100%;
+}
+
+.uploading.media-uploader-status .media-progress-bar {
+ display: block;
+}
+
+.attachment-preview .media-progress-bar {
+ position: absolute;
+ top: 50%;
+ right: 15%;
+ width: 70%;
+ margin: -5px 0 0 0;
+}
+
+.media-uploader-status {
+ position: relative;
+ margin: 0 auto;
+ padding-bottom: 10px;
+ max-width: 400px;
+}
+
+.uploader-inline .media-uploader-status h3, /* Back-compat for pre-4.4 */
+.uploader-inline .media-uploader-status h2 {
+ display: none;
+}
+
+.media-uploader-status .upload-details {
+ display: none;
+ font-size: 12px;
+ color: #666;
+}
+
+.uploading.media-uploader-status .upload-details {
+ display: block;
+}
+
+.media-uploader-status .upload-detail-separator {
+ padding: 0 4px;
+}
+
+.media-uploader-status .upload-count {
+ color: #444;
+}
+
+.media-uploader-status .upload-dismiss-errors,
+.media-uploader-status .upload-errors {
+ display: none;
+}
+
+.errors.media-uploader-status .upload-dismiss-errors,
+.errors.media-uploader-status .upload-errors {
+ display: block;
+}
+
+.media-uploader-status .upload-dismiss-errors {
+ text-decoration: none;
+}
+
+.media-sidebar .media-uploader-status .upload-dismiss-errors {
+ position: absolute;
+ top: 0;
+ left: 0;
+}
+
+.upload-errors .upload-error {
+ padding: 12px;
+ margin-bottom: 12px;
+ background: #fff;
+ border-right: 4px solid #dc3232;
+ -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
+ box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
+}
+
+.uploader-inline .upload-errors .upload-error {
+ background-color: #fbeaea;
+ -webkit-box-shadow: none;
+ box-shadow: none;
+}
+
+.upload-errors .upload-error-filename {
+ font-weight: 600;
+}
+
+.upload-errors .upload-error-message {
+ display: block;
+ padding-top: 8px;
+ word-wrap: break-word;
+}
+
+.uploader-window {
+ position: fixed;
+ top: 0;
+ right: 0;
+ left: 0;
+ bottom: 0;
+ background: rgba( 0, 86, 132, 0.9 );
+ z-index: 250000;
+ display: none;
+ text-align: center;
+ opacity: 0;
+ -webkit-transition: opacity 250ms;
+ transition: opacity 250ms;
+}
+
+.uploader-window-content {
+ position: absolute;
+ top: 10px;
+ right: 10px;
+ left: 10px;
+ bottom: 10px;
+ border: 1px dashed #fff;
+}
+
+.uploader-window h3, /* Back-compat for pre-4.4 */
+.uploader-window h1 {
+ margin: -0.5em 0 0;
+ position: absolute;
+ top: 50%;
+ right: 0;
+ left: 0;
+ -webkit-transform: translateY( -50% );
+ -ms-transform: translateY(-50%);
+ transform: translateY( -50% );
+ font-size: 40px;
+ color: #fff;
+ padding: 0;
+}
+
+.uploader-window .media-progress-bar {
+ margin-top: 20px;
+ max-width: 300px;
+ background: transparent;
+ border-color: #fff;
+ display: none;
+}
+
+.uploader-window .media-progress-bar div {
+ background: #fff;
+}
+
+.uploading .uploader-window .media-progress-bar {
+ display: block;
+}
+
+.media-frame .uploader-inline {
+ margin-bottom: 20px;
+ padding: 0;
+ text-align: center;
+}
+
+.uploader-inline-content {
+ position: absolute;
+ top: 30%;
+ right: 0;
+ left: 0;
+}
+
+.uploader-inline-content .upload-ui {
+ margin: 2em 0;
+}
+
+.uploader-inline-content .post-upload-ui {
+ margin-bottom: 2em;
+}
+
+.uploader-inline .has-upload-message .upload-ui {
+ margin: 0 0 4em;
+}
+
+.uploader-inline h3, /* Back-compat for pre-4.4 */
+.uploader-inline h2 {
+ font-size: 20px;
+ line-height: 28px;
+ font-weight: 400;
+ margin: 0;
+}
+
+.uploader-inline .has-upload-message .upload-instructions {
+ font-size: 14px;
+ color: #444;
+ font-weight: 400;
+}
+
+.uploader-inline .drop-instructions {
+ display: none;
+}
+
+.supports-drag-drop .uploader-inline .drop-instructions {
+ display: block;
+}
+
+.uploader-inline p {
+ font-size: 12px;
+ margin: 0.5em 0;
+}
+
+.uploader-inline .media-progress-bar {
+ display: none;
+}
+
+.uploading.uploader-inline .media-progress-bar {
+ display: block;
+}
+
+.uploader-inline .browser {
+ display: inline-block !important;
+}
+
+/**
+ * Selection