/* Master Addons Animated Headlines */
.jltma-animated-headline {
  display: flex;
  flex-wrap: wrap;
}
.jltma-animated-headline .jltma-words-wrapper {
  display: inline-block;
  position: relative;
  text-align: left;
}
.jltma-animated-headline .jltma-words-wrapper b {
  display: inline-block;
  position: absolute;
  white-space: nowrap;
  left: 0;
  top: 0;
  padding-left: 0.2em;
  padding-right: 0.2em;
}
.jltma-animated-headline .jltma-words-wrapper b.is-visible {
  position: relative;
}
.jltma-animated-headline .jltma-words-wrapper.selected {
  background-color: transparent !important;
}
.jltma-animated-headline .first-heading {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.jltma-animated-headline.scale .first-heading, .jltma-animated-headline.push .first-heading, .jltma-animated-headline.rotate-3 .first-heading, .jltma-animated-headline.rotate-1 .first-heading, .jltma-animated-headline.rotate-2 .first-heading, .jltma-animated-headline.zoom .first-heading, .jltma-animated-headline.type .first-heading {
  padding: 0 0.25em;
}
.jltma-animated-headline.rotate-1 .jltma-words-wrapper, .jltma-animated-headline.rotate-2 .jltma-words-wrapper, .jltma-animated-headline.rotate-3 .jltma-words-wrapper, .jltma-animated-headline.zoom .jltma-words-wrapper {
  perspective: 300px;
}
.jltma-animated-headline.rotate-1 b {
  opacity: 0;
  transform-origin: 50% 100%;
  transform: rotateX(180deg);
}
.jltma-animated-headline.rotate-1 b.is-visible {
  opacity: 1;
  transform: rotateX(0deg);
  animation: jltma-rotate-1-in 1.2s;
}
.jltma-animated-headline.rotate-1 b.is-hidden {
  transform: rotateX(180deg);
  animation: jltma-rotate-1-out 1.2s;
}
.jltma-animated-headline.rotate-2 b {
  opacity: 0;
}
.jltma-animated-headline.rotate-2 i {
  transform-style: preserve-3d;
  transform: translateZ(-20px) rotateX(90deg);
  opacity: 0;
}
.jltma-animated-headline.rotate-2 i.in {
  animation: jltma-rotate-2-in 0.4s forwards;
}
.jltma-animated-headline.rotate-2 i.out {
  animation: jltma-rotate-2-out 0.4s forwards;
}
.jltma-animated-headline.rotate-2 em {
  transform: translateZ(20px);
}
.jltma-animated-headline.rotate-3 b {
  opacity: 0;
}
.jltma-animated-headline.rotate-3 i {
  display: inline-block;
  transform: rotateY(180deg);
  backface-visibility: hidden;
}
.jltma-animated-headline.rotate-3 i.in {
  animation: jltma-rotate-3-in 0.6s forwards;
}
.jltma-animated-headline.rotate-3 i.out {
  animation: jltma-rotate-3-out 0.6s forwards;
}
.jltma-animated-headline.loading-bar span {
  display: inline-block;
  padding: 0 0.25em;
}
.jltma-animated-headline.loading-bar .jltma-words-wrapper {
  vertical-align: top;
  padding: 0;
}
.jltma-animated-headline.loading-bar .jltma-words-wrapper::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: #0096a7;
  z-index: 2;
  transition: width 0.3s -0.1s;
}
.jltma-animated-headline.loading-bar .jltma-words-wrapper.is-loading::after {
  width: 100%;
  transition: width 3s;
}
.jltma-animated-headline.loading-bar b {
  top: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.jltma-animated-headline.loading-bar b.is-visible {
  opacity: 1;
}

.is-visible .jltma-animated-headline.scale i {
  opacity: 1;
}
.is-visible .jltma-animated-headline.rotate-2 i {
  opacity: 1;
}
.is-visible .jltma-animated-headline.rotate-3 i {
  transform: rotateY(0deg);
}

.no-csstransitions .jltma-animated-headline.scale i {
  transform: scale(1);
  opacity: 0;
}
.no-csstransitions .jltma-animated-headline.scale .is-visible i {
  opacity: 1;
}
.no-csstransitions .jltma-animated-headline.rotate-2 i {
  transform: rotateX(0deg);
  opacity: 0;
}
.no-csstransitions .jltma-animated-headline.rotate-2 i em {
  transform: scale(1);
}
.no-csstransitions .jltma-animated-headline.rotate-2 i .is-visible i {
  opacity: 1;
}
.no-csstransitions .jltma-animated-headline.rotate-3 i {
  transform: rotateY(0deg);
  opacity: 0;
}
.no-csstransitions .jltma-animated-headline.rotate-3 .is-visible i {
  opacity: 1;
}

.no-js .jltma-words-wrapper b {
  opacity: 0;
}
.no-js .jltma-words-wrapper b.is-visible {
  opacity: 1;
}

/* Keyframes */
@keyframes jltma-rotate-1-in {
  0% {
    transform: rotateX(180deg);
    opacity: 0;
  }
  35% {
    transform: rotateX(120deg);
    opacity: 0;
  }
  65% {
    opacity: 0;
  }
  100% {
    transform: rotateX(360deg);
    opacity: 1;
  }
}
@keyframes jltma-rotate-1-out {
  0% {
    transform: rotateX(0deg);
    opacity: 1;
  }
  35% {
    transform: rotateX(-40deg);
    opacity: 1;
  }
  65% {
    opacity: 0;
  }
  100% {
    transform: rotateX(180deg);
    opacity: 0;
  }
}
@keyframes jltma-rotate-2-in {
  0% {
    opacity: 0;
    transform: translateZ(-20px) rotateX(90deg);
  }
  60% {
    opacity: 1;
    transform: translateZ(-20px) rotateX(-10deg);
  }
  100% {
    opacity: 1;
    transform: translateZ(-20px) rotateX(0deg);
  }
}
@keyframes jltma-rotate-2-out {
  0% {
    opacity: 1;
    transform: translateZ(-20px) rotateX(0);
  }
  60% {
    opacity: 0;
    transform: translateZ(-20px) rotateX(-100deg);
  }
  100% {
    opacity: 0;
    transform: translateZ(-20px) rotateX(-90deg);
  }
}
@keyframes jltma-rotate-3-in {
  0% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(0deg);
  }
}
@keyframes jltma-rotate-3-out {
  0% {
    transform: rotateY(0);
  }
  100% {
    transform: rotateY(-180deg);
  }
}
/* Master Addons Animated Headlines */