:global {
  .sortableHelper {
    z-index: 10000 !important;
  }
}

.filesButton {
  position: relative;
  width: 70px;
  height: 30px;
  color: #666;
  float: right;
  overflow: visible;
  white-space: nowrap;
  text-align: right;
  font-size: 14px;
  line-height: 40px;

  &:hover {
    cursor: pointer;
    color: #4990e2;
  }
}

.filesItem {
  position: relative;
  cursor: pointer;
  border: 1px dashed rgba(51, 51, 51, 0.2);
  box-sizing: border-box;
  overflow: hidden;

  &:after {
    display: none !important;
  }

  svg {
    width: 19px;
    height: 19px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -10px;
  }

  &:hover {
    border-color: #4990e2;
  }
}

.sortableContainer {
  margin: 0 -12px;
  box-sizing: border-box;

  &.mobile {
    margin: 2.5px;
    height: calc(100vh - 95px);
    overflow: scroll;
  }
}

.itemContainer {
  margin: 12px;
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;

  &.itemContainerSelected {
    box-shadow: 0 0 0 3px #0261ff;
  }

  &.mobile {
    margin: 2.5px;

    .itemContainerNotSelected_icon {
      position: absolute;
      top: 6px;
      right: 6px;
      width: 16px;
      height: 16px;
    }

    .itemContainerSelected_icon {
      position: absolute;
      top: 6px;
      right: 6px;
      width: 16px;
      height: 16px;
    }

    &.sorting {
      outline: none;
    }
  }
}

.fab {
  position: absolute;
  bottom: -8px;
  right: 4px;
  width: 66px;
  height: 66px;
}

.itemImage {
  cursor: -webkit-grab;

  &:active {
    cursor: -webkit-grabbing;
  }
}
.topBar {
  height: 40px;

  &.mobile {
    box-sizing: border-box;
    position: fixed;
    bottom: 0;
    width: 100vw;
    margin: 0;
    padding: 0 10px;
    top: auto;
    left: 0;
    height: 42px;
    background: white;
    z-index: 5;
    border-top: 1px solid #ededed;
  }
}
.topBarLink {
  border: none;
  background-color: transparent;
  font-size: 14px;
  font-weight: 300;
  line-height: 40px;
  color: #666;

  &:hover {
    cursor: pointer;
    color: #4990e2;
  }
}

.seperator {
  margin: 0 8px;
}
