.gallery .control-operator:target ~ .controls .control-button {
  color: #ccc;
  color: rgba(255, 255, 255, 0.4);
}

.gallery .control-button:first-of-type,
.gallery .control-operator:nth-of-type(1):target ~ .controls .control-button:nth-of-type(1),
.gallery .control-operator:nth-of-type(2):target ~ .controls .control-button:nth-of-type(2),
.gallery .control-operator:nth-of-type(3):target ~ .controls .control-button:nth-of-type(3),
.gallery .control-operator:nth-of-type(4):target ~ .controls .control-button:nth-of-type(4),
.gallery .control-operator:nth-of-type(5):target ~ .controls .control-button:nth-of-type(5),
.gallery .control-operator:nth-of-type(6):target ~ .controls .control-button:nth-of-type(6),
.gallery .control-operator:nth-of-type(7):target ~ .controls .control-button:nth-of-type(7),
.gallery .control-operator:nth-of-type(8):target ~ .controls .control-button:nth-of-type(8),
.gallery .control-operator:nth-of-type(9):target ~ .controls .control-button:nth-of-type(9),
.gallery .control-operator:nth-of-type(10):target ~ .controls .control-button:nth-of-type(10),
.gallery .control-operator:nth-of-type(11):target ~ .controls .control-button:nth-of-type(11),
.gallery .control-operator:nth-of-type(12):target ~ .controls .control-button:nth-of-type(12) {
  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 .1s;
  -o-transition: opacity .1s;
  transition: opacity .1s;
}

.gallery .control-operator {
  display: none;
}

.gallery .control-operator:target ~ .item {
  pointer-events: none;
  opacity: 0;
  -webkit-animation: none;
  -o-animation: none;
  animation: none;
}

.gallery .control-operator:target ~ .controls .control-button {
  -webkit-animation: none;
  -o-animation: none;
  animation: none;
}

@-webkit-keyframes controlAnimation-2 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  14.3%, 50% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  64.3%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@-o-keyframes controlAnimation-2 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  14.3%, 50% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  64.3%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@keyframes controlAnimation-2 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  14.3%, 50% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  64.3%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@-webkit-keyframes galleryAnimation-2 {
  0% {
    opacity: 0;
  }

  14.3%, 50% {
    opacity: 1;
  }

  64.3%, 100% {
    opacity: 0;
  }
}

@-o-keyframes galleryAnimation-2 {
  0% {
    opacity: 0;
  }

  14.3%, 50% {
    opacity: 1;
  }

  64.3%, 100% {
    opacity: 0;
  }
}

@keyframes galleryAnimation-2 {
  0% {
    opacity: 0;
  }

  14.3%, 50% {
    opacity: 1;
  }

  64.3%, 100% {
    opacity: 0;
  }
}

.gallery .control-operator:nth-of-type(1):target ~ .item:nth-of-type(1) {
  pointer-events: auto;
  opacity: 1;
}

.gallery .control-operator:nth-of-type(2):target ~ .item:nth-of-type(2) {
  pointer-events: auto;
  opacity: 1;
}

.items-2.autoplay .control-button {
  -webkit-animation: controlAnimation-2 14s infinite;
  -o-animation: controlAnimation-2 14s infinite;
  animation: controlAnimation-2 14s infinite;
}

.items-2.autoplay .item {
  -webkit-animation: galleryAnimation-2 14s infinite;
  -o-animation: galleryAnimation-2 14s infinite;
  animation: galleryAnimation-2 14s infinite;
}

.items-2 .control-button:nth-of-type(1),
.items-2 .item:nth-of-type(1) {
  -webkit-animation-delay: -2s;
  -o-animation-delay: -2s;
  animation-delay: -2s;
}

.items-2 .control-button:nth-of-type(2),
.items-2 .item:nth-of-type(2) {
  -webkit-animation-delay: 5s;
  -o-animation-delay: 5s;
  animation-delay: 5s;
}

@-webkit-keyframes controlAnimation-3 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  9.5%, 33.3% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  42.9%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@-o-keyframes controlAnimation-3 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  9.5%, 33.3% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  42.9%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@keyframes controlAnimation-3 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  9.5%, 33.3% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  42.9%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@-webkit-keyframes galleryAnimation-3 {
  0% {
    opacity: 0;
  }

  9.5%, 33.3% {
    opacity: 1;
  }

  42.9%, 100% {
    opacity: 0;
  }
}

@-o-keyframes galleryAnimation-3 {
  0% {
    opacity: 0;
  }

  9.5%, 33.3% {
    opacity: 1;
  }

  42.9%, 100% {
    opacity: 0;
  }
}

@keyframes galleryAnimation-3 {
  0% {
    opacity: 0;
  }

  9.5%, 33.3% {
    opacity: 1;
  }

  42.9%, 100% {
    opacity: 0;
  }
}

.gallery .control-operator:nth-of-type(1):target ~ .item:nth-of-type(1) {
  pointer-events: auto;
  opacity: 1;
}

.gallery .control-operator:nth-of-type(2):target ~ .item:nth-of-type(2) {
  pointer-events: auto;
  opacity: 1;
}

.gallery .control-operator:nth-of-type(3):target ~ .item:nth-of-type(3) {
  pointer-events: auto;
  opacity: 1;
}

.items-3.autoplay .control-button {
  -webkit-animation: controlAnimation-3 21s infinite;
  -o-animation: controlAnimation-3 21s infinite;
  animation: controlAnimation-3 21s infinite;
}

.items-3.autoplay .item {
  -webkit-animation: galleryAnimation-3 21s infinite;
  -o-animation: galleryAnimation-3 21s infinite;
  animation: galleryAnimation-3 21s infinite;
}

.items-3 .control-button:nth-of-type(1),
.items-3 .item:nth-of-type(1) {
  -webkit-animation-delay: -2s;
  -o-animation-delay: -2s;
  animation-delay: -2s;
}

.items-3 .control-button:nth-of-type(2),
.items-3 .item:nth-of-type(2) {
  -webkit-animation-delay: 5s;
  -o-animation-delay: 5s;
  animation-delay: 5s;
}

.items-3 .control-button:nth-of-type(3),
.items-3 .item:nth-of-type(3) {
  -webkit-animation-delay: 12s;
  -o-animation-delay: 12s;
  animation-delay: 12s;
}

@-webkit-keyframes controlAnimation-4 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  7.1%, 25% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  32.1%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@-o-keyframes controlAnimation-4 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  7.1%, 25% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  32.1%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@keyframes controlAnimation-4 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  7.1%, 25% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  32.1%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@-webkit-keyframes galleryAnimation-4 {
  0% {
    opacity: 0;
  }

  7.1%, 25% {
    opacity: 1;
  }

  32.1%, 100% {
    opacity: 0;
  }
}

@-o-keyframes galleryAnimation-4 {
  0% {
    opacity: 0;
  }

  7.1%, 25% {
    opacity: 1;
  }

  32.1%, 100% {
    opacity: 0;
  }
}

@keyframes galleryAnimation-4 {
  0% {
    opacity: 0;
  }

  7.1%, 25% {
    opacity: 1;
  }

  32.1%, 100% {
    opacity: 0;
  }
}

.gallery .control-operator:nth-of-type(1):target ~ .item:nth-of-type(1) {
  pointer-events: auto;
  opacity: 1;
}

.gallery .control-operator:nth-of-type(2):target ~ .item:nth-of-type(2) {
  pointer-events: auto;
  opacity: 1;
}

.gallery .control-operator:nth-of-type(3):target ~ .item:nth-of-type(3) {
  pointer-events: auto;
  opacity: 1;
}

.gallery .control-operator:nth-of-type(4):target ~ .item:nth-of-type(4) {
  pointer-events: auto;
  opacity: 1;
}

.items-4.autoplay .control-button {
  -webkit-animation: controlAnimation-4 28s infinite;
  -o-animation: controlAnimation-4 28s infinite;
  animation: controlAnimation-4 28s infinite;
}

.items-4.autoplay .item {
  -webkit-animation: galleryAnimation-4 28s infinite;
  -o-animation: galleryAnimation-4 28s infinite;
  animation: galleryAnimation-4 28s infinite;
}

.items-4 .control-button:nth-of-type(1),
.items-4 .item:nth-of-type(1) {
  -webkit-animation-delay: -2s;
  -o-animation-delay: -2s;
  animation-delay: -2s;
}

.items-4 .control-button:nth-of-type(2),
.items-4 .item:nth-of-type(2) {
  -webkit-animation-delay: 5s;
  -o-animation-delay: 5s;
  animation-delay: 5s;
}

.items-4 .control-button:nth-of-type(3),
.items-4 .item:nth-of-type(3) {
  -webkit-animation-delay: 12s;
  -o-animation-delay: 12s;
  animation-delay: 12s;
}

.items-4 .control-button:nth-of-type(4),
.items-4 .item:nth-of-type(4) {
  -webkit-animation-delay: 19s;
  -o-animation-delay: 19s;
  animation-delay: 19s;
}

@-webkit-keyframes controlAnimation-5 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  5.7%, 20% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  25.7%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@-o-keyframes controlAnimation-5 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  5.7%, 20% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  25.7%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@keyframes controlAnimation-5 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  5.7%, 20% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  25.7%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@-webkit-keyframes galleryAnimation-5 {
  0% {
    opacity: 0;
  }

  5.7%, 20% {
    opacity: 1;
  }

  25.7%, 100% {
    opacity: 0;
  }
}

@-o-keyframes galleryAnimation-5 {
  0% {
    opacity: 0;
  }

  5.7%, 20% {
    opacity: 1;
  }

  25.7%, 100% {
    opacity: 0;
  }
}

@keyframes galleryAnimation-5 {
  0% {
    opacity: 0;
  }

  5.7%, 20% {
    opacity: 1;
  }

  25.7%, 100% {
    opacity: 0;
  }
}

/* 6 ::: */

@-webkit-keyframes controlAnimation-6 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  5.7%, 20% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  25.7%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@-o-keyframes controlAnimation-6 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  5.7%, 20% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  25.7%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@keyframes controlAnimation-6 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  5.7%, 20% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  25.7%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@-webkit-keyframes galleryAnimation-6 {
  0% {
    opacity: 0;
  }

  5.7%, 20% {
    opacity: 1;
  }

  25.7%, 100% {
    opacity: 0;
  }
}

@-o-keyframes galleryAnimation-6 {
  0% {
    opacity: 0;
  }

  5.7%, 20% {
    opacity: 1;
  }

  25.7%, 100% {
    opacity: 0;
  }
}

@keyframes galleryAnimation-6 {
  0% {
    opacity: 0;
  }

  5.7%, 20% {
    opacity: 1;
  }

  25.7%, 100% {
    opacity: 0;
  }
}

/* 7 ::: */

@-webkit-keyframes controlAnimation-7 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  5.7%, 20% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  25.7%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@-o-keyframes controlAnimation-7 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  5.7%, 20% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  25.7%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@keyframes controlAnimation-7 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  5.7%, 20% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  25.7%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@-webkit-keyframes galleryAnimation-7 {
  0% {
    opacity: 0;
  }

  5.7%, 20% {
    opacity: 1;
  }

  25.7%, 100% {
    opacity: 0;
  }
}

@-o-keyframes galleryAnimation-7 {
  0% {
    opacity: 0;
  }

  5.7%, 20% {
    opacity: 1;
  }

  25.7%, 100% {
    opacity: 0;
  }
}

@keyframes galleryAnimation-7 {
  0% {
    opacity: 0;
  }

  5.7%, 20% {
    opacity: 1;
  }

  25.7%, 100% {
    opacity: 0;
  }
}

/* 8 ::: */

@-webkit-keyframes controlAnimation-8 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  5.7%, 20% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  25.7%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@-o-keyframes controlAnimation-8 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  5.7%, 20% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  25.7%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@keyframes controlAnimation-8 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  5.7%, 20% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  25.7%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@-webkit-keyframes galleryAnimation-8 {
  0% {
    opacity: 0;
  }

  5.7%, 20% {
    opacity: 1;
  }

  25.7%, 100% {
    opacity: 0;
  }
}

@-o-keyframes galleryAnimation-8 {
  0% {
    opacity: 0;
  }

  5.7%, 20% {
    opacity: 1;
  }

  25.7%, 100% {
    opacity: 0;
  }
}

@keyframes galleryAnimation-8 {
  0% {
    opacity: 0;
  }

  5.7%, 20% {
    opacity: 1;
  }

  25.7%, 100% {
    opacity: 0;
  }
}

/* 9 ::: */

@-webkit-keyframes controlAnimation-9 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  5.7%, 20% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  25.7%, 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%, 20% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  25.7%, 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%, 20% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  25.7%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@-webkit-keyframes galleryAnimation-9 {
  0% {
    opacity: 0;
  }

  5.7%, 20% {
    opacity: 1;
  }

  25.7%, 100% {
    opacity: 0;
  }
}

@-o-keyframes galleryAnimation-9 {
  0% {
    opacity: 0;
  }

  5.7%, 20% {
    opacity: 1;
  }

  25.7%, 100% {
    opacity: 0;
  }
}

@keyframes galleryAnimation-9 {
  0% {
    opacity: 0;
  }

  5.7%, 20% {
    opacity: 1;
  }

  25.7%, 100% {
    opacity: 0;
  }
}

/* 10 ::: */

@-webkit-keyframes controlAnimation-10 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  5.7%, 20% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  25.7%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@-o-keyframes controlAnimation-10 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  5.7%, 20% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  25.7%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@keyframes controlAnimation-10 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  5.7%, 20% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  25.7%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@-webkit-keyframes galleryAnimation-10 {
  0% {
    opacity: 0;
  }

  5.7%, 20% {
    opacity: 1;
  }

  25.7%, 100% {
    opacity: 0;
  }
}

@-o-keyframes galleryAnimation-10 {
  0% {
    opacity: 0;
  }

  5.7%, 20% {
    opacity: 1;
  }

  25.7%, 100% {
    opacity: 0;
  }
}

@keyframes galleryAnimation-10 {
  0% {
    opacity: 0;
  }

  5.7%, 20% {
    opacity: 1;
  }

  25.7%, 100% {
    opacity: 0;
  }
}

/* 11 ::: */

@-webkit-keyframes controlAnimation-11 {
  0% {
	color: #ccc;
	color: rgba(255, 255, 255, 0.4);
  }

  5.7%, 20% {
	color: white;
	color: rgba(255, 255, 255, 0.8);
  }

  25.7%, 100% {
	color: #ccc;
	color: rgba(255, 255, 255, 0.4);
  }
}

@-o-keyframes controlAnimation-11 {
  0% {
	color: #ccc;
	color: rgba(255, 255, 255, 0.4);
  }

  5.7%, 20% {
	color: white;
	color: rgba(255, 255, 255, 0.8);
  }

  25.7%, 100% {
	color: #ccc;
	color: rgba(255, 255, 255, 0.4);
  }
}

@keyframes controlAnimation-11 {
  0% {
	color: #ccc;
	color: rgba(255, 255, 255, 0.4);
  }

  5.7%, 20% {
	color: white;
	color: rgba(255, 255, 255, 0.8);
  }

  25.7%, 100% {
	color: #ccc;
	color: rgba(255, 255, 255, 0.4);
  }
}

@-webkit-keyframes galleryAnimation-11 {
  0% {
	opacity: 0;
  }

  5.7%, 20% {
	opacity: 1;
  }

  25.7%, 100% {
	opacity: 0;
  }
}

@-o-keyframes galleryAnimation-11 {
  0% {
	opacity: 0;
  }

  5.7%, 20% {
	opacity: 1;
  }

  25.7%, 100% {
	opacity: 0;
  }
}

@keyframes galleryAnimation-11 {
  0% {
	opacity: 0;
  }

  5.7%, 20% {
	opacity: 1;
  }

  25.7%, 100% {
	opacity: 0;
  }
}

/* 12 ::: */

@-webkit-keyframes controlAnimation-12 {
  0% {
	color: #ccc;
	color: rgba(255, 255, 255, 0.4);
  }

  5.7%, 20% {
	color: white;
	color: rgba(255, 255, 255, 0.8);
  }

  25.7%, 100% {
	color: #ccc;
	color: rgba(255, 255, 255, 0.4);
  }
}

@-o-keyframes controlAnimation-12 {
  0% {
	color: #ccc;
	color: rgba(255, 255, 255, 0.4);
  }

  5.7%, 20% {
	color: white;
	color: rgba(255, 255, 255, 0.8);
  }

  25.7%, 100% {
	color: #ccc;
	color: rgba(255, 255, 255, 0.4);
  }
}

@keyframes controlAnimation-12 {
  0% {
	color: #ccc;
	color: rgba(255, 255, 255, 0.4);
  }

  5.7%, 20% {
	color: white;
	color: rgba(255, 255, 255, 0.8);
  }

  25.7%, 100% {
	color: #ccc;
	color: rgba(255, 255, 255, 0.4);
  }
}

@-webkit-keyframes galleryAnimation-12 {
  0% {
	opacity: 0;
  }

  5.7%, 20% {
	opacity: 1;
  }

  25.7%, 100% {
	opacity: 0;
  }
}

@-o-keyframes galleryAnimation-12 {
  0% {
	opacity: 0;
  }

  5.7%, 20% {
	opacity: 1;
  }

  25.7%, 100% {
	opacity: 0;
  }
}

@keyframes galleryAnimation-12 {
  0% {
	opacity: 0;
  }

  5.7%, 20% {
	opacity: 1;
  }

  25.7%, 100% {
	opacity: 0;
  }
}

.gallery .control-operator:nth-of-type(1):target ~ .item:nth-of-type(1) {
  pointer-events: auto;
  opacity: 1;
}

.gallery .control-operator:nth-of-type(2):target ~ .item:nth-of-type(2) {
  pointer-events: auto;
  opacity: 1;
}

.gallery .control-operator:nth-of-type(3):target ~ .item:nth-of-type(3) {
  pointer-events: auto;
  opacity: 1;
}

.gallery .control-operator:nth-of-type(4):target ~ .item:nth-of-type(4) {
  pointer-events: auto;
  opacity: 1;
}

.gallery .control-operator:nth-of-type(5):target ~ .item:nth-of-type(5) {
  pointer-events: auto;
  opacity: 1;
}

.gallery .control-operator:nth-of-type(6):target ~ .item:nth-of-type(6) {
  pointer-events: auto;
  opacity: 1;
}

.gallery .control-operator:nth-of-type(7):target ~ .item:nth-of-type(7) {
  pointer-events: auto;
  opacity: 1;
}

.gallery .control-operator:nth-of-type(8):target ~ .item:nth-of-type(8) {
  pointer-events: auto;
  opacity: 1;
}

.gallery .control-operator:nth-of-type(9):target ~ .item:nth-of-type(9) {
  pointer-events: auto;
  opacity: 1;
}

.gallery .control-operator:nth-of-type(10):target ~ .item:nth-of-type(10) {
  pointer-events: auto;
  opacity: 1;
}

.items-5.autoplay .control-button {
  -webkit-animation: controlAnimation-5 35s infinite;
  -o-animation: controlAnimation-5 35s infinite;
  animation: controlAnimation-5 35s infinite;
}

.items-5.autoplay .item {
  -webkit-animation: galleryAnimation-5 35s infinite;
  -o-animation: galleryAnimation-5 35s infinite;
  animation: galleryAnimation-5 35s infinite;
}

.items-5 .control-button:nth-of-type(1),
.items-5 .item:nth-of-type(1) {
  -webkit-animation-delay: -2s;
  -o-animation-delay: -2s;
  animation-delay: -2s;
}

.items-5 .control-button:nth-of-type(2),
.items-5 .item:nth-of-type(2) {
  -webkit-animation-delay: 5s;
  -o-animation-delay: 5s;
  animation-delay: 5s;
}

.items-5 .control-button:nth-of-type(3),
.items-5 .item:nth-of-type(3) {
  -webkit-animation-delay: 12s;
  -o-animation-delay: 12s;
  animation-delay: 12s;
}

.items-5 .control-button:nth-of-type(4),
.items-5 .item:nth-of-type(4) {
  -webkit-animation-delay: 19s;
  -o-animation-delay: 19s;
  animation-delay: 19s;
}

.items-5 .control-button:nth-of-type(5),
.items-5 .item:nth-of-type(5) {
  -webkit-animation-delay: 26s;
  -o-animation-delay: 26s;
  animation-delay: 26s;
}

.items-6.autoplay .control-button {
  -webkit-animation: controlAnimation-6 42s infinite;
  -o-animation: controlAnimation-6 42s infinite;
  animation: controlAnimation-6 42s infinite;
}

.items-6.autoplay .item {
  -webkit-animation: galleryAnimation-6 42s infinite;
  -o-animation: galleryAnimation-6 42s infinite;
  animation: galleryAnimation-6 42s infinite;
}

.items-6 .control-button:nth-of-type(1),
.items-6 .item:nth-of-type(1) {
  -webkit-animation-delay: -2s;
  -o-animation-delay: -2s;
  animation-delay: -2s;
}

.items-6 .control-button:nth-of-type(2),
.items-6 .item:nth-of-type(2) {
  -webkit-animation-delay: 5s;
  -o-animation-delay: 5s;
  animation-delay: 5s;
}

.items-6 .control-button:nth-of-type(3),
.items-6 .item:nth-of-type(3) {
  -webkit-animation-delay: 12s;
  -o-animation-delay: 12s;
  animation-delay: 12s;
}

.items-6 .control-button:nth-of-type(4),
.items-6 .item:nth-of-type(4) {
  -webkit-animation-delay: 19s;
  -o-animation-delay: 19s;
  animation-delay: 19s;
}

.items-6 .control-button:nth-of-type(5),
.items-6 .item:nth-of-type(5) {
  -webkit-animation-delay: 26s;
  -o-animation-delay: 26s;
  animation-delay: 26s;
}

.items-6 .control-button:nth-of-type(6),
.items-6 .item:nth-of-type(6) {
  -webkit-animation-delay: 33s;
  -o-animation-delay: 33s;
  animation-delay: 33s;
}

.items-7.autoplay .control-button {
  -webkit-animation: controlAnimation-7 49s infinite;
  -o-animation: controlAnimation-7 49s infinite;
  animation: controlAnimation-7 49s infinite;
}

.items-7.autoplay .item {
  -webkit-animation: galleryAnimation-7 49s infinite;
  -o-animation: galleryAnimation-7 49s infinite;
  animation: galleryAnimation-7 49s infinite;
}

.items-7 .control-button:nth-of-type(1),
.items-7 .item:nth-of-type(1) {
  -webkit-animation-delay: -2s;
  -o-animation-delay: -2s;
  animation-delay: -2s;
}

.items-7 .control-button:nth-of-type(2),
.items-7 .item:nth-of-type(2) {
  -webkit-animation-delay: 5s;
  -o-animation-delay: 5s;
  animation-delay: 5s;
}

.items-7 .control-button:nth-of-type(3),
.items-7 .item:nth-of-type(3) {
  -webkit-animation-delay: 12s;
  -o-animation-delay: 12s;
  animation-delay: 12s;
}

.items-7 .control-button:nth-of-type(4),
.items-7 .item:nth-of-type(4) {
  -webkit-animation-delay: 19s;
  -o-animation-delay: 19s;
  animation-delay: 19s;
}

.items-7 .control-button:nth-of-type(5),
.items-7 .item:nth-of-type(5) {
  -webkit-animation-delay: 26s;
  -o-animation-delay: 26s;
  animation-delay: 26s;
}

.items-7 .control-button:nth-of-type(6),
.items-7 .item:nth-of-type(6) {
  -webkit-animation-delay: 33s;
  -o-animation-delay: 33s;
  animation-delay: 33s;
}

.items-7 .control-button:nth-of-type(7),
.items-7 .item:nth-of-type(7) {
  -webkit-animation-delay: 40s;
  -o-animation-delay: 40s;
  animation-delay: 40s;
}

.items-8.autoplay .control-button {
  -webkit-animation: controlAnimation-8 56s infinite;
  -o-animation: controlAnimation-8 56s infinite;
  animation: controlAnimation-8 56s infinite;
}

.items-8.autoplay .item {
  -webkit-animation: galleryAnimation-8 56s infinite;
  -o-animation: galleryAnimation-8 56s infinite;
  animation: galleryAnimation-8 56s infinite;
}

.items-8 .control-button:nth-of-type(1),
.items-8 .item:nth-of-type(1) {
  -webkit-animation-delay: -2s;
  -o-animation-delay: -2s;
  animation-delay: -2s;
}

.items-8 .control-button:nth-of-type(2),
.items-8 .item:nth-of-type(2) {
  -webkit-animation-delay: 5s;
  -o-animation-delay: 5s;
  animation-delay: 5s;
}

.items-8 .control-button:nth-of-type(3),
.items-8 .item:nth-of-type(3) {
  -webkit-animation-delay: 12s;
  -o-animation-delay: 12s;
  animation-delay: 12s;
}

.items-8 .control-button:nth-of-type(4),
.items-8 .item:nth-of-type(4) {
  -webkit-animation-delay: 19s;
  -o-animation-delay: 19s;
  animation-delay: 19s;
}

.items-8 .control-button:nth-of-type(5),
.items-8 .item:nth-of-type(5) {
  -webkit-animation-delay: 26s;
  -o-animation-delay: 26s;
  animation-delay: 26s;
}

.items-8 .control-button:nth-of-type(6),
.items-8 .item:nth-of-type(6) {
  -webkit-animation-delay: 33s;
  -o-animation-delay: 33s;
  animation-delay: 33s;
}

.items-8 .control-button:nth-of-type(7),
.items-8 .item:nth-of-type(7) {
  -webkit-animation-delay: 40s;
  -o-animation-delay: 40s;
  animation-delay: 40s;
}

.items-8 .control-button:nth-of-type(8),
.items-8 .item:nth-of-type(8) {
  -webkit-animation-delay: 47s;
  -o-animation-delay: 47s;
  animation-delay: 47s;
}

.items-9.autoplay .control-button {
  -webkit-animation: controlAnimation-9 63s infinite;
  -o-animation: controlAnimation-9 63s infinite;
  animation: controlAnimation-9 63s infinite;
}

.items-9.autoplay .item {
  -webkit-animation: galleryAnimation-9 63s infinite;
  -o-animation: galleryAnimation-9 63s infinite;
  animation: galleryAnimation-9 63s infinite;
}

.items-9 .control-button:nth-of-type(1),
.items-9 .item:nth-of-type(1) {
  -webkit-animation-delay: -2s;
  -o-animation-delay: -2s;
  animation-delay: -2s;
}

.items-9 .control-button:nth-of-type(2),
.items-9 .item:nth-of-type(2) {
  -webkit-animation-delay: 5s;
  -o-animation-delay: 5s;
  animation-delay: 5s;
}

.items-9 .control-button:nth-of-type(3),
.items-9 .item:nth-of-type(3) {
  -webkit-animation-delay: 12s;
  -o-animation-delay: 12s;
  animation-delay: 12s;
}

.items-9 .control-button:nth-of-type(4),
.items-9 .item:nth-of-type(4) {
  -webkit-animation-delay: 19s;
  -o-animation-delay: 19s;
  animation-delay: 19s;
}

.items-9 .control-button:nth-of-type(5),
.items-9 .item:nth-of-type(5) {
  -webkit-animation-delay: 26s;
  -o-animation-delay: 26s;
  animation-delay: 26s;
}

.items-9 .control-button:nth-of-type(6),
.items-9 .item:nth-of-type(6) {
  -webkit-animation-delay: 33s;
  -o-animation-delay: 33s;
  animation-delay: 33s;
}

.items-9 .control-button:nth-of-type(7),
.items-9 .item:nth-of-type(7) {
  -webkit-animation-delay: 40s;
  -o-animation-delay: 40s;
  animation-delay: 40s;
}

.items-9 .control-button:nth-of-type(8),
.items-9 .item:nth-of-type(8) {
  -webkit-animation-delay: 47s;
  -o-animation-delay: 47s;
  animation-delay: 47s;
}

.items-9 .control-button:nth-of-type(9),
.items-9 .item:nth-of-type(9) {
  -webkit-animation-delay: 54s;
  -o-animation-delay: 54s;
  animation-delay: 54s;
}

.items-10.autoplay .control-button {
  -webkit-animation: controlAnimation-10 70s infinite;
  -o-animation: controlAnimation-10 70s infinite;
  animation: controlAnimation-10 70s infinite;
}

.items-10.autoplay .item {
  -webkit-animation: galleryAnimation-10 70s infinite;
  -o-animation: galleryAnimation-10 70s infinite;
  animation: galleryAnimation-10 70s infinite;
}

.items-10 .control-button:nth-of-type(1),
.items-10 .item:nth-of-type(1) {
  -webkit-animation-delay: -2s;
  -o-animation-delay: -2s;
  animation-delay: -2s;
}

.items-10 .control-button:nth-of-type(2),
.items-10 .item:nth-of-type(2) {
  -webkit-animation-delay: 5s;
  -o-animation-delay: 5s;
  animation-delay: 5s;
}

.items-10 .control-button:nth-of-type(3),
.items-10 .item:nth-of-type(3) {
  -webkit-animation-delay: 12s;
  -o-animation-delay: 12s;
  animation-delay: 12s;
}

.items-10 .control-button:nth-of-type(4),
.items-10 .item:nth-of-type(4) {
  -webkit-animation-delay: 19s;
  -o-animation-delay: 19s;
  animation-delay: 19s;
}

.items-10 .control-button:nth-of-type(5),
.items-10 .item:nth-of-type(5) {
  -webkit-animation-delay: 26s;
  -o-animation-delay: 26s;
  animation-delay: 26s;
}

.items-10 .control-button:nth-of-type(6),
.items-10 .item:nth-of-type(6) {
  -webkit-animation-delay: 33s;
  -o-animation-delay: 33s;
  animation-delay: 33s;
}

.items-10 .control-button:nth-of-type(7),
.items-10 .item:nth-of-type(7) {
  -webkit-animation-delay: 40s;
  -o-animation-delay: 40s;
  animation-delay: 40s;
}

.items-10 .control-button:nth-of-type(8),
.items-10 .item:nth-of-type(8) {
  -webkit-animation-delay: 47s;
  -o-animation-delay: 47s;
  animation-delay: 47s;
}

.items-10 .control-button:nth-of-type(9),
.items-10 .item:nth-of-type(9) {
  -webkit-animation-delay: 61s;
  -o-animation-delay: 61s;
  animation-delay: 61s;
}

.items-10 .control-button:nth-of-type(10),
.items-10 .item:nth-of-type(10) {
  -webkit-animation-delay: 61s;
  -o-animation-delay: 61s;
  animation-delay: 61s;
}

.gallery .control-operator:nth-of-type(11):target ~ .item:nth-of-type(11) {
  pointer-events: auto;
  opacity: 1;
}

.gallery .control-operator:nth-of-type(12):target ~ .item:nth-of-type(12) {
  pointer-events: auto;
  opacity: 1;
}

.items-11.autoplay .control-button {
  -webkit-animation: controlAnimation-11 77s infinite;
  -o-animation: controlAnimation-11 77s infinite;
  animation: controlAnimation-11 77s infinite;
}

.items-11.autoplay .item {
  -webkit-animation: galleryAnimation-11 77s infinite;
  -o-animation: galleryAnimation-11 77s infinite;
  animation: galleryAnimation-11 77s infinite;
}

.items-11 .control-button:nth-of-type(1),
.items-11 .item:nth-of-type(1) {
  -webkit-animation-delay: -2s;
  -o-animation-delay: -2s;
  animation-delay: -2s;
}

.items-11 .control-button:nth-of-type(2),
.items-11 .item:nth-of-type(2) {
  -webkit-animation-delay: 5s;
  -o-animation-delay: 5s;
  animation-delay: 5s;
}

.items-11 .control-button:nth-of-type(3),
.items-11 .item:nth-of-type(3) {
  -webkit-animation-delay: 12s;
  -o-animation-delay: 12s;
  animation-delay: 12s;
}

.items-11 .control-button:nth-of-type(4),
.items-11 .item:nth-of-type(4) {
  -webkit-animation-delay: 19s;
  -o-animation-delay: 19s;
  animation-delay: 19s;
}

.items-11 .control-button:nth-of-type(5),
.items-11 .item:nth-of-type(5) {
  -webkit-animation-delay: 26s;
  -o-animation-delay: 26s;
  animation-delay: 26s;
}

.items-11 .control-button:nth-of-type(6),
.items-11 .item:nth-of-type(6) {
  -webkit-animation-delay: 33s;
  -o-animation-delay: 33s;
  animation-delay: 33s;
}

.items-11 .control-button:nth-of-type(7),
.items-11 .item:nth-of-type(7) {
  -webkit-animation-delay: 40s;
  -o-animation-delay: 40s;
  animation-delay: 40s;
}

.items-11 .control-button:nth-of-type(8),
.items-11 .item:nth-of-type(8) {
  -webkit-animation-delay: 47s;
  -o-animation-delay: 47s;
  animation-delay: 47s;
}

.items-11 .control-button:nth-of-type(9),
.items-11 .item:nth-of-type(9) {
  -webkit-animation-delay: 54s;
  -o-animation-delay: 54s;
  animation-delay: 54s;
}

.items-11 .control-button:nth-of-type(10),
.items-11 .item:nth-of-type(10) {
  -webkit-animation-delay: 61s;
  -o-animation-delay: 61s;
  animation-delay: 61s;
}

.items-11 .control-button:nth-of-type(11),
.items-11 .item:nth-of-type(11) {
  -webkit-animation-delay: 68s;
  -o-animation-delay: 68s;
  animation-delay: 68s;
}

.items-12.autoplay .control-button {
  -webkit-animation: controlAnimation-12 84s infinite;
  -o-animation: controlAnimation-12 84s infinite;
  animation: controlAnimation-12 84s infinite;
}

.items-12.autoplay .item {
  -webkit-animation: galleryAnimation-12 84s infinite;
  -o-animation: galleryAnimation-12 84s infinite;
  animation: galleryAnimation-12 84s infinite;
}

.items-12 .control-button:nth-of-type(1),
.items-12 .item:nth-of-type(1) {
  -webkit-animation-delay: -2s;
  -o-animation-delay: -2s;
  animation-delay: -2s;
}

.items-12 .control-button:nth-of-type(2),
.items-12 .item:nth-of-type(2) {
  -webkit-animation-delay: 5s;
  -o-animation-delay: 5s;
  animation-delay: 5s;
}

.items-12 .control-button:nth-of-type(3),
.items-12 .item:nth-of-type(3) {
  -webkit-animation-delay: 12s;
  -o-animation-delay: 12s;
  animation-delay: 12s;
}

.items-12 .control-button:nth-of-type(4),
.items-12 .item:nth-of-type(4) {
  -webkit-animation-delay: 19s;
  -o-animation-delay: 19s;
  animation-delay: 19s;
}

.items-12 .control-button:nth-of-type(5),
.items-12 .item:nth-of-type(5) {
  -webkit-animation-delay: 26s;
  -o-animation-delay: 26s;
  animation-delay: 26s;
}

.items-12 .control-button:nth-of-type(6),
.items-12 .item:nth-of-type(6) {
  -webkit-animation-delay: 33s;
  -o-animation-delay: 33s;
  animation-delay: 33s;
}

.items-12 .control-button:nth-of-type(7),
.items-12 .item:nth-of-type(7) {
  -webkit-animation-delay: 40s;
  -o-animation-delay: 40s;
  animation-delay: 40s;
}

.items-12 .control-button:nth-of-type(8),
.items-12 .item:nth-of-type(8) {
  -webkit-animation-delay: 47s;
  -o-animation-delay: 47s;
  animation-delay: 47s;
}

.items-12 .control-button:nth-of-type(9),
.items-12 .item:nth-of-type(9) {
  -webkit-animation-delay: 54s;
  -o-animation-delay: 54s;
  animation-delay: 54s;
}

.items-12 .control-button:nth-of-type(10),
.items-12 .item:nth-of-type(10) {
  -webkit-animation-delay: 61s;
  -o-animation-delay: 61s;
  animation-delay: 61s;
}

.items-12 .control-button:nth-of-type(11),
.items-12 .item:nth-of-type(11) {
  -webkit-animation-delay: 68s;
  -o-animation-delay: 68s;
  animation-delay: 68s;
}

.items-12 .control-button:nth-of-type(12),
.items-12 .item:nth-of-type(12) {
  -webkit-animation-delay: 75s;
  -o-animation-delay: 75s;
  animation-delay: 75s;
}
	
.gallery .control-button {
  color: #ccc;
  color: rgba(255, 255, 255, 0.4);
}

.gallery .control-button:hover {
  color: white;
  color: rgba(255, 255, 255, 0.8);
}

/*
	Theme controls how everything looks in Gallery CSS.
*/

.gallery {
  position: relative;
}

.gallery .item {
  height: 400px;
  overflow: hidden;
  text-align: center;
  background: #005ca3;
}

.gallery .controls {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
}

.gallery .control-button {
  display: inline-block;
  margin: 0 .02em;
  font-size: 3em;
  text-align: center;
  text-decoration: none;
  -webkit-transition: color .1s;
  -o-transition: color .1s;
  transition: color .1s;
}