
.gallery .control-button:first-of-type,
.gallery .control-operator:nth-of-type(9):target ~ .controls .control-button:nth-of-type(9), {
  color: white;
  color: rgba(255, 255, 255, 0.8);
}

.gallery .item:first-of-type {
  position: static;
  pointer-events: auto;
  opacity: 1;
}

.gallery .item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  -webkit-transition: opacity .5s;
  -o-transition: opacity .5s;
  transition: opacity .5s;
}

.gallery .control-operator {
  display: none;
}

.gallery .control-operator:target ~ .item {
  pointer-events: none;
  opacity: 0;
  -webkit-animation: none;
  -o-animation: none;
  animation: none;
}


@-webkit-keyframes controlAnimation-9 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  5.7%, 15% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  25.5%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@-o-keyframes controlAnimation-9 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  5.7%, 15% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  25.5%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@keyframes controlAnimation-9 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  5.7%, 15% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  25.5%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@-webkit-keyframes galleryAnimation-9 {
  0% {
    opacity: 0;
  }

  5.7%, 15% {
    opacity: 1;
  }

  25.5%, 100% {
    opacity: 0;
  }
}

@-o-keyframes galleryAnimation-9 {
  0% {
    opacity: 0;
  }

  5.7%, 15% {
    opacity: 1;
  }

  25.5%, 100% {
    opacity: 0;
  }
}

@keyframes galleryAnimation-9 {
  0% {
    opacity: 0;
  }

  5.7%, 15% {
    opacity: 1;
  }

  25.5%, 100% {
    opacity: 0;
  }
}

.gallery .control-operator:nth-of-type(9):target ~ .item:nth-of-type(9) {
  pointer-events: auto;
  opacity: 1;
}

.items-9.autoplay .item {
  -webkit-animation: galleryAnimation-9 30s infinite;
  -o-animation: galleryAnimation-9 30s infinite;
  animation: galleryAnimation-9 30s infinite;
}

.items-9 .item:nth-of-type(1) {
  -webkit-animation-delay: -2s;
  -o-animation-delay: -2s;
  animation-delay: -2s;
}

.items-9 .item:nth-of-type(2) {
  -webkit-animation-delay: 2s;
  -o-animation-delay: 2s;
  animation-delay: 2s;
}

.items-9 .item:nth-of-type(3) {
  -webkit-animation-delay: 6s;
  -o-animation-delay: 6s;
  animation-delay: 6s;
}

.items-9 .item:nth-of-type(4) {
  -webkit-animation-delay: 10s;
  -o-animation-delay: 10s;
  animation-delay: 10s;
}

.items-9 .item:nth-of-type(5) {
  -webkit-animation-delay: 14s;
  -o-animation-delay: 14s;
  animation-delay: 14s;
}

.items-9 .item:nth-of-type(6) {
  -webkit-animation-delay: 18s;
  -o-animation-delay: 18s;
  animation-delay: 18s;
}

.items-9 .item:nth-of-type(7) {
  -webkit-animation-delay: 22s;
  -o-animation-delay: 22s;
  animation-delay: 22s;
}

.items-9 .item:nth-of-type(8) {
  -webkit-animation-delay: 26s;
  -o-animation-delay: 26s;
  animation-delay: 26s;
}

.items-9 .item:nth-of-type(9) {
  -webkit-animation-delay: 30s;
  -o-animation-delay: 30s;
  animation-delay: 30s;
}
/*
	Theme controls how everything looks in Gallery CSS.
*/

.gallery {
  position: relative;
}

.gallery .item {
  height: 400px;
  overflow: hidden;
  text-align: center;
  background: #4d87e2;
}

.gallery .controls {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
}
