.swiper-type--media .swiper-slide,
.toggle-swiper-empty {
  cursor: pointer;
}

.neos-inline-editable {
  &.swiper-title,
  &.swiper-text {
    min-height: 0;
  }
}

.swiper-edit {
  opacity: 0;
  position: fixed;
  z-index: 9998;
  background: #323232;
  color: #fff;
  overflow: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: all 0.2s ease;
  padding: 10px 30px;
  pointer-events: none;

  .-swipervisible & {
    opacity: 1;
    pointer-events: auto;
  }

  .neos.neos.neos-empty-contentcollection-overlay {
    outline-color: rgba(#fff, 0.2);

    &::before,
    &::after {
      color: #fff;
    }
  }

  .swiper-edit-title {
    margin: 0.5em 0;
    padding: 0;
    font-size: 30px;
    text-align: left;
    color: inherit;
  }

  .neos-contentcollection {
    position: relative;
    margin: 0 -15px;
    display: flex;
    flex-wrap: wrap;
  }

  .swiper-slide-edit {
    position: relative;
    margin: 15px !important;
    z-index: 1;
    flex: 0 0 440px;
    padding: 0;
    height: 275px;
    background-size: cover;
    background-repeat: no-repeat;

    &.neos-contentelement-active {
      z-index: 2;
    }
  }
}
