.file-browser {
  position: relative;
}

.file-browser__file {
  cursor: pointer;
  position: relative;
}

.file-browser__file-info {
  background-color: rgba(0, 0, 0, 0.75);
  bottom: 0;
  color: #fff;
  cursor: pointer;
  display: none;
  left: 0;
  padding: 10px;
  position: absolute;
  right: 0;
  top: 0;
}

.file-browser__file:hover .file-browser__file-info {
  display: block;
}

.file-browser__file {
  overflow: hidden;
  width: 160px;
  height: 160px;
  display: inline-flex;
  float: left;
  margin: 8px;
  border: 1px solid #eee;
  background-color: #fafafa;
}

.file-browser__file--selected {
  outline: 2px solid #337ab7;
}

.file-browser__file-thumbnail--image {
  margin: auto;
  vertical-align: middle;
  text-align: center;
}

.file-browser__file-thumbnail--document {
  margin: auto;
  vertical-align: middle;
  text-align: center;
  display: flex;
  width: 100%;
  align-content: center;
  align-items: center;
  justify-content: center;
  justify-items: center;
  flex-direction: column;
}

.file-browser__file-icon,
.file-browser__file-extension {
  display: block;
  margin-bottom: 5px;
}

.file-browser__file-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 5px;
  border-top: 1px solid #eee;
  background: #fafafa;
}

.media-modal {
  overflow-y: auto;
}

.drop-area--highlighted {

  &:before {
    background-color: rgba(250, 250, 250, 0.98);
    bottom: 0;
    content: "Drop files to upload.";
    display: block;
    font-size: 30px;
    left: 0;
    padding-top: 100px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    z-index: 9999;
  }
}