.leading-actions {
  display: flex;
}

.leading-actions > * {
  width: 0;
  overflow-x: hidden;
}

.swipeable-list {
  flex: 1;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.swipeable-list-item {
  position: relative;
  transition: max-height 0.5s ease-in-out;
  max-height: 1000px;
  transform-origin: top;
  overflow: hidden;
  width: 100%;
}

.swipeable-list-item--remove {
  max-height: 0;
  transition: max-height 0.35s ease-out;
}

.swipeable-list-item__content {
  width: 100%;
  align-items: center;
  box-sizing: border-box;
  height: 100%;
  display: flex;
}

.swipeable-list-item__content--return {
  //transition: transform 0.5s ease-in-out;
  transition: transform 0.3s ease-in-out;
}

@keyframes content-return-leading-ms {
  20% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
}

.swipeable-list-item__content--return-leading-ms {
  animation-duration: 0.5s;
  animation-name: content-return-leading-ms;
  animation-timing-function: linear;
}

@keyframes content-return-trailing-ms {
  20% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

.swipeable-list-item__content--return-trailing-ms {
  animation-duration: 0.5s;
  animation-name: content-return-trailing-ms;
  animation-timing-function: linear;
}

.swipeable-list-item__content--remove {
  transition: transform 0.5s ease-in-out;
}

.swipeable-list-item__leading-actions {
  position: absolute;
  display: flex;
  width: 0px;
  overflow: hidden;
  height: 100%;
}

.swipeable-list-item__leading-actions--return {
  transition: width 0.5s ease-in-out;
}

@keyframes actions-return-ms {
  20% {
    width: 100%;
  }
  100% {
    width: 0;
  }
}

.swipeable-list-item__actions--return-ms {
  animation-duration: 0.5s;
  animation-name: actions-return-ms;
  animation-timing-function: linear;
}

.swipeable-list-item__leading-actions > * {
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
  transform: scale(1);
  transform-origin: center left;
  transition: transform 0.2s ease-out;
}

.swipeable-list-item__trailing-actions {
  display: flex;
  width: 0px;
  position: absolute;
  right: 0;
  top: 0;
  justify-content: flex-end;
  overflow: hidden;
  height: 100%;
}

.swipeable-list-item__trailing-actions--return {
  //transition: width 0.5s ease-in-out;
  transition: width 0.3s ease-in-out;
}

.swipeable-list-item__trailing-actions > * {
  overflow: hidden;
  transform: scale(1);
  transform-origin: center right;
  transition: transform 0.2s ease-out;
}

.swipeable-list-item__leading-actions--scaled > * {
  transform: scale(1.2);
  transform-origin: center left;
  transition: transform 0.2s ease-in;
}

.swipeable-list-item__trailing-actions--scaled > * {
  transform: scale(1.2);
  transform-origin: center right;
  transition: transform 0.2s ease-in;
}

.swipe-action {
  display: flex;
  width: 100%;
  align-items: stretch;
}

.swipe-action > * {
  flex: 1;
}

.swipe-action__grayed > * {
  background-color: gray !important;
}

.swipe-action__leading > * {
  justify-content: flex-start;
}

.swipe-action__trailing > * {
  justify-content: flex-end;
}

.swipe-action__leading--full-swipe-rest,
.swipe-action__trailing--full-swipe-rest {
  width: 0;
  transition: width 0.2s;
}

.swipe-action__leading--full-swipe-main > * {
  justify-content: flex-end;
}

.swipe-action__trailing--full-swipe-main > * {
  justify-content: flex-start;
}

.trailing-actions {
  display: flex;
}

.trailing-actions > * {
  width: 0;
  overflow-x: hidden;
}
