.supports-drag-drop[id^="__wp-uploader-id-"] {
  z-index: 10000000000;
}

.media-modal,
.media-frame {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  font-size: 12px;
  -webkit-overflow-scrolling: touch;
}

.media-modal a, .media-modal div {
  outline: 0;
}

.media-modal h1,
.media-modal h2,
.media-modal h3,
.media-modal h4,
.media-modal h5,
.media-modal h6 {
  display: block;
  font-weight: 600;
  letter-spacing: inherit;
}

.media-modal h1:not(.site-title):before, .media-modal h2:before {
  content: none;
}

.media-modal .setting input,
.media-modal .setting select {
  margin-left: 0;
  margin-right: 0;
  overflow: hidden;
}

.media-modal button:not(:hover):not(:active):not(.has-background):not(.check):not(.media-button-insert) {
  color: #1d2327;
  background-color: initial;
}

.media-modal button:not(:hover):not(:active):not(.has-background):not(.check):not(.media-button-insert).clear-selection, .media-modal button:not(:hover):not(:active):not(.has-background):not(.check):not(.media-button-insert).delete-attachment {
  color: #d63638;
  font-weight: 400;
}

.media-modal button.media-button {
  text-shadow: none;
  box-shadow: none;
}

.media-modal button.clear-selection,
.media-modal button.delete-attachment {
  background-color: transparent;
}

.media-modal button {
  text-transform: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
  height: auto;
  padding-top: 0;
  padding-bottom: 0;
  letter-spacing: inherit;
}

.media-modal button.delete-attachment {
  font-size: 12px;
}

.media-modal button.active:not(.media-menu-item), .media-modal button.active:not(.media-menu-item):hover {
  font-weight: 600;
  text-transform: none;
}

.media-modal select {
  text-transform: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  height: auto;
  min-height: 30px;
  padding: 4px 2px 4px 6px;
  letter-spacing: inherit;
  background: #ffffff;
  appearance: auto;
}

.media-modal .media-modal-close {
  height: 50px;
}

.media-modal button.media-button-insert:disabled:hover {
  font-weight: 400;
  text-transform: none;
  border: 1px solid #8c8f94;
}

.media-modal button.media-modal-close:hover {
  background-color: initial;
  text-decoration: none;
  border: 1px solid transparent;
}

.media-modal .media-attachments-filter-heading,
.media-modal .media-frame-menu-heading {
  padding-top: 0;
}

.media-modal .media-menu-item {
  border-radius: 0;
}

.media-modal .media-router .media-menu-item {
  background-color: transparent;
}

.media-modal .media-router .media-menu-item:hover {
  background-color: transparent;
}

.media-modal .media-router .media-menu-item.active {
  background-color: #ffffff !important;
}

.media-modal .attachment-details .setting.has-description {
  margin: 0;
}

.media-modal .attachment-details .setting.has-description label {
  margin-bottom: 0;
}

.media-modal .attachments-browser .media-toolbar-secondary {
  max-width: 70%;
}

.media-modal .attachments-browser .media-toolbar-secondary .spinner {
  margin-top: 32px;
}

.media-modal .attachments-browser .media-toolbar-secondary .attachment-filters {
  display: none;
}

.media-modal .media-sidebar .description {
  font-size: 12px;
  line-height: 18px;
}

.media-modal .attachment-details .setting[data-setting="title"], .media-modal .attachment-details .setting[data-setting="caption"], .media-modal .attachment-details .setting[data-setting="description"],
.media-modal .media-sidebar .setting[data-setting="title"],
.media-modal .media-sidebar .setting[data-setting="caption"],
.media-modal .media-sidebar .setting[data-setting="description"] {
  display: none;
}

.media-modal .media-embed .setting span {
  font-weight: 400;
}

.media-modal .media-frame-menu,
.media-modal .media-frame-menu-heading {
  display: none;
}

.media-modal .media-modal-content .media-frame-title,
.media-modal .media-modal-content .media-frame-router,
.media-modal .media-modal-content .media-frame-content,
.media-modal .media-modal-content .media-frame-toolbar {
  left: 0;
}

.media-modal .attachments-browser .search {
  height: 30px;
}

.media-modal .copy-to-clipboard-container {
  clear: both;
}

.mce-container .mce-grid .mce-custom-color-btn .mce-widget button {
  background-color: inherit;
  border-radius: inherit;
  color: inherit;
  transition: none;
  text-transform: none;
  letter-spacing: normal;
  outline: none;
}

.mce-container .wp-editor-help {
  padding-bottom: 10px !important;
}

.mce-container .wp-editor-help h1:before,
.mce-container .wp-editor-help h2:before {
  content: none;
}

.mce-container .wp-editor-help td,
.mce-container .wp-editor-help th {
  vertical-align: top;
}

.mce-container table.mce-colorbutton-grid {
  min-width: inherit;
}

.mce-container .mce-colorbtn-trans div {
  font-size: 14px;
  line-height: 14px;
}

.mce-container .mce-combobox input,
.mce-container .mce-checkbox i.mce-i-checkbox,
.mce-container .mce-textbox,
.mce-container .mce-menubtn {
  border-color: #cccccc;
  border-radius: 0;
  background-color: #ffffff;
  box-shadow: none;
}

.mce-container .mce-combobox input:hover,
.mce-container .mce-checkbox i.mce-i-checkbox:hover,
.mce-container .mce-textbox:hover,
.mce-container .mce-menubtn:hover {
  border-color: #8c8f94;
  background-color: #ffffff;
}

.mce-container .mce-combobox input.mce-opened, .mce-container .mce-combobox input.mce-active.mce-opened, .mce-container .mce-combobox input:focus, .mce-container .mce-combobox input:hover:focus,
.mce-container .mce-checkbox i.mce-i-checkbox.mce-opened,
.mce-container .mce-checkbox i.mce-i-checkbox.mce-active.mce-opened,
.mce-container .mce-checkbox i.mce-i-checkbox:focus,
.mce-container .mce-checkbox i.mce-i-checkbox:hover:focus,
.mce-container .mce-textbox.mce-opened,
.mce-container .mce-textbox.mce-active.mce-opened,
.mce-container .mce-textbox:focus,
.mce-container .mce-textbox:hover:focus,
.mce-container .mce-menubtn.mce-opened,
.mce-container .mce-menubtn.mce-active.mce-opened,
.mce-container .mce-menubtn:focus,
.mce-container .mce-menubtn:hover:focus {
  background-color: #ffffff;
  border-color: #4f94d4;
  box-shadow: 0 0 2px rgba(79, 148, 212, 0.8);
}

.mce-container.mce-panel .mce-widget.mce-btn.mce-listbox, .mce-container.mce-panel .mce-widget.mce-btn.mce-btn-flat {
  box-shadow: none;
  border-radius: 0;
  background-color: #ffffff;
  transform: none;
}

.mce-container.mce-panel .mce-widget.mce-btn button {
  color: inherit;
  text-decoration: none;
  text-transform: inherit;
  letter-spacing: normal;
  background-color: initial;
}

.mce-container.mce-panel .mce-widget.mce-btn.mce-primary {
  border-color: #2271b1 #135e96 #135e96;
}

.mce-container.mce-panel .mce-widget.mce-btn.mce-primary:hover {
  box-shadow: 0 1px 0 #135e96;
}

.mce-container.mce-panel .mce-widget.mce-btn.mce-primary:active {
  background-color: #135e96;
  box-shadow: inset 0 2px 0 #135e96;
}

.mce-container.mce-panel .mce-window-head .mce-close,
.mce-container.mce-panel .mce-window-head .mce-close:hover {
  background-color: initial;
}

.screen-reader-text {
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  height: 1px !important;
  margin: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  word-wrap: normal !important;
}
