+.mejs-container {
+ width: 100%;
+ max-width: 100%;
+}
+
+/* =Media Queries
+-------------------------------------------------------------- */
+
+/**
+ * HiDPI Displays
+ */
+@media print,
+ (-webkit-min-device-pixel-ratio: 1.25),
+ (min-resolution: 120dpi) {
+ .imgedit-wait:before {
+ background-image: url(../images/spinner-2x.gif);
+ }
+}
+
+@media screen and ( max-width: 782px ) {
+ .wp_attachment_details label[for="content"] {
+ font-size: 14px;
+ line-height: 1.5em;
+ }
+
+ .media-upload-form .media-item.error,
+ .media-upload-form .media-item .error {
+ font-size: 13px;
+ line-height: 1.5;
+ }
+
+ .media-upload-form .media-item.error {
+ padding: 1px 10px;
+ }
+
+ .media-upload-form .media-item .error {
+ padding: 10px 0 10px 12px;
+ }
+
+ .imgedit-settings .imgedit-scale input[type="text"],
+ .imgedit-settings .imgedit-crop-ratio input[type="text"],
+ .imgedit-settings .imgedit-crop-sel input[type="text"] {
+ width: 60px;
+ font-size: 16px;
+ padding: 6px 10px;
+ }
+
+ .imgedit-applyto .imgedit-label {
+ vertical-align: middle;
+ }
+}
+
+/**
+ * Media queries for media grid.
+ */
+
+@media only screen and (max-width: 1120px) {
+ /* override for media-views.css */
+ #wp-media-grid .wp-filter .attachment-filters {
+ max-width: 100%;
+ }
+}
+
+@media only screen and ( max-width: 782px ) {
+ .media-frame.mode-select .attachments-browser.fixed .media-toolbar {
+ top: 46px;
+ right: 10px;
+ }
+}
+
+@media only screen and (max-width: 600px) {
+ .media-frame.mode-select .attachments-browser.fixed .media-toolbar {
+ top: 0;
+ }
+}
+
+@media only screen and (max-width: 480px) {
+ .edit-attachment-frame .media-frame-title {
+ right: 110px;
+ }
+
+ .upload-php .media-modal-close,
+ .edit-attachment-frame .edit-media-header .left,
+ .edit-attachment-frame .edit-media-header .right {
+ width: 40px;
+ height: 40px;
+ }
+
+ .upload-php .media-modal-close .media-modal-icon {
+ margin: 9px 10px;
+ }
+
+ .edit-attachment-frame .edit-media-header .right:before,
+ .edit-attachment-frame .edit-media-header .left:before {
+ line-height: 40px !important;
+ }
+
+ .edit-attachment-frame .edit-media-header .left {
+ right: 82px;
+ }
+
+ .edit-attachment-frame .edit-media-header .right {
+ right: 41px;
+ }
+
+ .edit-attachment-frame .media-frame-content {
+ top: 40px;
+ }
+
+ .edit-attachment-frame .attachment-media-view {
+ float: none;
+ height: auto;
+ width: 100%;
+ }
+
+ .edit-attachment-frame .attachment-info {
+ height: auto;
+ width: 100%;
+ }