* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.cf {
  *zoom: 1;
}
.cf:before {
  content: " ";
  display: table;
}
.cf:after {
  content: " ";
  display: table;
  clear: both;
}

.container__header {
  text-align: center;
}

.container__description {
  margin-bottom: 2.5em;
  text-align: center;
}

.padded, .list__item, input {
  padding: 1em;
}

.container {
  width: 100%;
  margin: 10px auto;
}
@media (max-width: 500px) {
  .container {
    width: 80%;
  }
}

.pull-right {
  float: right;
}

input {
  width: 100%;
  box-shadow: inset 1px 1px 3px 0px rgba(134, 134, 134, 0.21);
  border: 1px solid #C5C5C5;
}

.list {
  list-style: none;
}

.list__item--inserting {
  transform: translateY(-100%);
  animation-name: slide-from-top;
  animation-timing-function: ease-in-out;
}

.list__item--inserting-new {
  transform: translateY(-200%) scaleY(1);
  animation-name: slide-from-top--new;
}

.list__item--inserting-removed {
  animation-name: slide-from-bottom--removed;
}

.list__item--removing-sibling {
  animation-name: slide-from-bottom;
}

.list__item {
  margin-bottom: 0.5em;
  background-color: rgb(106 102 102 / 43%);
  /*border: 1px solid #C5C5C5;*/
  border-radius: 3px;
  backface-visibility: hidden;
  /*box-shadow: 1px 1px 3px 0px rgba(134, 134, 134, 0.21);*/
  animation-duration: 1s;
  animation-fill-mode: forwards;
  color: white;
}
.list__item:nth-child(1) {
  animation-delay: 0.075s;
  z-index: 1;
}
.list__item:nth-child(2) {
  animation-delay: 0.15s;
  z-index: 2;
}
.list__item:nth-child(3) {
  animation-delay: 0.225s;
  z-index: 3;
}
.list__item:nth-child(4) {
  animation-delay: 0.3s;
  z-index: 4;
}
.list__item:nth-child(5) {
  animation-delay: 0.375s;
  z-index: 5;
}
.list__item:nth-child(6) {
  animation-delay: 0.45s;
  z-index: 6;
}
.list__item:nth-child(7) {
  animation-delay: 0.525s;
  z-index: 7;
}
.list__item:nth-child(8) {
  animation-delay: 0.6s;
  z-index: 8;
}
.list__item:nth-child(9) {
  animation-delay: 0.675s;
  z-index: 9;
}
.list__item:nth-child(10) {
  animation-delay: 0.75s;
  z-index: 10;
}
.list__item:nth-child(11) {
  animation-delay: 0.825s;
  z-index: 11;
}
.list__item:nth-child(12) {
  animation-delay: 0.9s;
  z-index: 12;
}
.list__item:nth-child(13) {
  animation-delay: 0.975s;
  z-index: 13;
}
.list__item:nth-child(14) {
  animation-delay: 1.05s;
  z-index: 14;
}
.list__item:nth-child(15) {
  animation-delay: 1.125s;
  z-index: 15;
}
.list__item:nth-child(16) {
  animation-delay: 1.2s;
  z-index: 16;
}
.list__item:nth-child(17) {
  animation-delay: 1.275s;
  z-index: 17;
}
.list__item:nth-child(18) {
  animation-delay: 1.35s;
  z-index: 18;
}
.list__item:nth-child(19) {
  animation-delay: 1.425s;
  z-index: 19;
}
.list__item:nth-child(20) {
  animation-delay: 1.5s;
  z-index: 20;
}
.list__item:nth-child(21) {
  animation-delay: 1.575s;
  z-index: 21;
}
.list__item:nth-child(22) {
  animation-delay: 1.65s;
  z-index: 22;
}
.list__item:nth-child(23) {
  animation-delay: 1.725s;
  z-index: 23;
}
.list__item:nth-child(24) {
  animation-delay: 1.8s;
  z-index: 24;
}
.list__item:nth-child(25) {
  animation-delay: 1.875s;
  z-index: 25;
}
.list__item:nth-child(26) {
  animation-delay: 1.95s;
  z-index: 26;
}
.list__item:nth-child(27) {
  animation-delay: 2.025s;
  z-index: 27;
}
.list__item:nth-child(28) {
  animation-delay: 2.1s;
  z-index: 28;
}
.list__item:nth-child(29) {
  animation-delay: 2.175s;
  z-index: 29;
}
.list__item:nth-child(30) {
  animation-delay: 2.25s;
  z-index: 30;
}
.list__item .icon-close {
  display: none;
  padding: unset !important;
  position: unset !important;
  margin-top: 5px !important;
  margin-left: 15px;
}
.list__item .icon-confirm {
  display: none;
  padding: unset !important;
  position: unset !important;
  margin-top: 5px !important;
}
.list__item:hover .icon-close {
  display: block;
}
.list__item:hover .icon-confirm {
  display: block;
}

.list__item--new {
  background-color: white;
  transform-origin: 50% 0;
}

.list--removing:nth-child(1) {
  animation-delay: 0.075s;
  z-index: 1;
}
.list--removing:nth-child(2) {
  animation-delay: 0.15s;
  z-index: 2;
}
.list--removing:nth-child(3) {
  animation-delay: 0.225s;
  z-index: 3;
}
.list--removing:nth-child(4) {
  animation-delay: 0.3s;
  z-index: 4;
}
.list--removing:nth-child(5) {
  animation-delay: 0.375s;
  z-index: 5;
}
.list--removing:nth-child(6) {
  animation-delay: 0.45s;
  z-index: 6;
}
.list--removing:nth-child(7) {
  animation-delay: 0.525s;
  z-index: 7;
}
.list--removing:nth-child(8) {
  animation-delay: 0.6s;
  z-index: 8;
}
.list--removing:nth-child(9) {
  animation-delay: 0.675s;
  z-index: 9;
}
.list--removing:nth-child(10) {
  animation-delay: 0.75s;
  z-index: 10;
}
.list--removing:nth-child(11) {
  animation-delay: 0.825s;
  z-index: 11;
}
.list--removing:nth-child(12) {
  animation-delay: 0.9s;
  z-index: 12;
}
.list--removing:nth-child(13) {
  animation-delay: 0.975s;
  z-index: 13;
}
.list--removing:nth-child(14) {
  animation-delay: 1.05s;
  z-index: 14;
}
.list--removing:nth-child(15) {
  animation-delay: 1.125s;
  z-index: 15;
}
.list--removing:nth-child(16) {
  animation-delay: 1.2s;
  z-index: 16;
}
.list--removing:nth-child(17) {
  animation-delay: 1.275s;
  z-index: 17;
}
.list--removing:nth-child(18) {
  animation-delay: 1.35s;
  z-index: 18;
}
.list--removing:nth-child(19) {
  animation-delay: 1.425s;
  z-index: 19;
}
.list--removing:nth-child(20) {
  animation-delay: 1.5s;
  z-index: 20;
}
.list--removing:nth-child(21) {
  animation-delay: 1.575s;
  z-index: 21;
}
.list--removing:nth-child(22) {
  animation-delay: 1.65s;
  z-index: 22;
}
.list--removing:nth-child(23) {
  animation-delay: 1.725s;
  z-index: 23;
}
.list--removing:nth-child(24) {
  animation-delay: 1.8s;
  z-index: 24;
}
.list--removing:nth-child(25) {
  animation-delay: 1.875s;
  z-index: 25;
}
.list--removing:nth-child(26) {
  animation-delay: 1.95s;
  z-index: 26;
}
.list--removing:nth-child(27) {
  animation-delay: 2.025s;
  z-index: 27;
}
.list--removing:nth-child(28) {
  animation-delay: 2.1s;
  z-index: 28;
}
.list--removing:nth-child(29) {
  animation-delay: 2.175s;
  z-index: 29;
}
.list--removing:nth-child(30) {
  animation-delay: 2.25s;
  z-index: 30;
}

@keyframes slide-from-top {
  30% {
    transform: translateY(50%);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes slide-from-top--new {
  0% {
    background-color: white;
  }
  10% {
    background-color: #D3EBD3;
  }
  20% {
    background-color: #D3EBD3;
  }
  30% {
    transform: translateY(50%) scaleY(1);
  }
  100% {
    background-color: white;
    transform: translateY(0);
  }
}
@keyframes slide-from-bottom {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-115%);
  }
}
@keyframes slide-from-bottom--removed {
  0% {
    transform: translateY(0);
  }
  99.9% {
    transform: translateY(-115%);
    opacity: 0;
  }
}
.list__item--inserting-removed {
  z-index: -1 !important;
}

.hidden {
  position: absolute;
}

footer {
  position: absolute;
  bottom: 12px;
  left: 20px;
}

.icon-close {
  cursor: pointer;
  float: right;
  min-width: 16px;
  min-height: 16px;
  opacity: 0.5;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAqUlEQVR4nO2SPQrCQBCF9wraaWmrR0plYZ1GPUCqoJB76CU8RppcwEAqG8H4ycDzL6zBaax88GD27bzHMLshRABsgTNPWL2J9T4AjIEJMAOuQAEsxELaVD2jrjnFj/Q1IAN2TmbdKRKHOXkzG4DcMX4eegIaLaoC1mIlrfkmoNa5BOZiKa3+B/CbHZz0dEdgL1ptmt19DFg5PtIyFjAEDkDbY7yoZ3A33gAGXpd1VjlcJAAAAABJRU5ErkJggg==);
}

.icon-confirm {
  cursor: pointer;
  float: right;
  min-width: 16px;
  min-height: 16px;
  opacity: 0.5;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAABJElEQVR4nGNgoAXwO/dAy/fCw0qfCw/mgzCI7XX2viZBjaFn7vL7nH+wzPf8g3++Fx7+R8EQsaUeJ27x4dTse/7BZQyNaNjn/INLWA3xAdlMQDPckAsPF2P6+TwWZ0Ox34WH/zvuv/4fefkx3DsoYeJ78WEVsuKCm8/BNIy/9fXn/yDQdO8VsisqEM6/AA5psETujWdgxVtef/rvf+EhmAaB9a8+ooXFw7kIF1x4MA9Zcu3Lj2BND77/AtMgPmZgPpyD1Qu+ULzrLcTZO998xhWQCC94nb2viS0Qy2+/wBWVf30u3ddAiQnfCw+XEhuNvucfLsJIBx4nbvGBEgkRCekiztQIkvC98HAJNu+AnA2yGadmZAAJk4fl8Mx0/kEZhp+pBQDSEdz2yVrx3QAAAABJRU5ErkJggg==);
}