.easydocs-media-button span {
  vertical-align: middle;
  margin: 0px 2px;
}

.easydocs_modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  background: rgba(35, 40, 45, 0.5);
}

.easydocs_modal .inner-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #f1f1f1;
  z-index: 999999;
}

.easydocs_modal .inner-modal .modal-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.easydocs_modal .inner-modal .select-a-file-header {
  position: absolute;
  width: 100%;
  background-color: #fafafa;
  border-bottom: 1px solid #d8d8d8;
  height: 59px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.easydocs_modal .inner-modal .select-a-file-header h2 {
    padding: 0 !important;
    font-size: 24px !important;
    color: #666666;
}

.easydocs_modal .inner-modal .select-a-file-header a {
    color: #666;
    padding: 0 20px;
    height: 59px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

.easydocs_modal .inner-modal .select-a-file-header a:hover {
    background: #e6e6e6;
}

.easydocs_modal .inner-modal .select-a-file-header a.disabled:hover,
.easydocs_modal .inner-modal .select-a-file-header a.disabled {
  opacity: 0;
  visibility: hidden;
}

.easydocs_modal .inner-modal .select-a-file {
    height: calc(100% - 110px);
    padding: 25px;
    overflow-y: auto;
    margin-top: 60px;
}

.easydocs_modal .inner-modal .select-a-file h2 {
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  margin-bottom: 20px;
}

.easydocs_modal .inner-modal .select-a-file .files-wrapper,
.easydocs_modal .inner-modal .select-a-file .folders-wrapper {
  grid-column: 1/-1;
  display: grid;
  grid-gap: 14px;
  grid-template-columns: repeat(8,1fr);
  margin-bottom: 20px;
}

.easydocs_modal .inner-modal .select-a-file .folders-wrapper .folder.selected {
  background: #2287e8 !important;
  color: #fff;
}

.easydocs_modal .inner-modal .select-a-file .folders-wrapper .folder.selected i {
  color: #fff !important;
}

.easydocs_modal .inner-modal a.selected-info {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #2287e8;
  padding: 12px 20px;
  border-radius: 42px;
  color: #ffff;
  font-size: 16px;
  text-align: center;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.easydocs_modal .inner-modal a.selected-info:hover {
  opacity: .8;
}

body.easydocs-model-open {
    overflow: hidden !important;
}

body.easydocs-model-open .so-panels-dialog .so-toolbar,
body.easydocs-model-open .wp-editor-wrap .uploader-editor {
  display: none !important;
}

body.easydocs-model-open .so-panels-dialog.so-panels-dialog-has-right-sidebar .so-content {
    overflow: hidden !important;
}

body.easydocs-model-open #poststuff {
    z-index: 99999;
    position: absolute;
}
