﻿.loading-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #fff;
    z-index: 100;
}

.loading-mask__box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: #1A3472;
}

.loading-mask__wave {
    position: absolute;
    width: 100%;
    height: auto;
}

.loading-mask__wave svg {
    width: 100%;
    height: 120px;
    position: relative;
    transform: translateY(-100%);
}

.loading-mask__wave svg .parallax > use {
    animation: move-forever 3s cubic-bezier(.55,.5,.45,.5) infinite;
}

.loading-mask__wave svg .parallax > use:nth-child(1) {
    animation-delay: 0s;
    animation-duration: 4s;
}
.loading-mask__wave svg .parallax > use:nth-child(2) {
    animation-delay: -1s;
    animation-duration: 9s;
}
.loading-mask__wave svg .parallax > use:nth-child(3) {
    animation-delay: -2s;
    animation-duration: 3s;
}
.loading-mask__wave svg .parallax > use:nth-child(4) {
    animation-delay: -3s;
    animation-duration: 6s;
}

@keyframes move-forever {
    0% {
     transform: translate3d(-90px,0,0);
    }
    100% { 
      transform: translate3d(85px,0,0);
    }
}

.masthead-homepage-slider__animation {
    position: relative;
}

.slick-active .masthead-homepage-slider__animation {
    opacity: 1;
    transform: translateX(0);
}

.masthead--homepage__bg .js-background-homepage-slider {
    background-color: #000;
}

.masthead--homepage__bg .js-background-homepage-slider img {
    transform: scale(1.2);
    opacity: 0;
    filter: blur(10px);
    position: relative;
    transition: transform 2s cubic-bezier(0.22, 1, 0.36, 1),
                filter 1.5s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.6s ease-in-out;
}

.masthead--homepage__bg .js-background-homepage-slider .slick-active img {
    transform: scale(1);
    opacity: 1;
    filter: blur(0);
}

.animation-image__item {
    position: relative;
    overflow: hidden;
    transform-origin: top;
    transform: translateY(40px);
    transition: none;
    box-shadow: none !important;
}

.animation-image__item.image-text__half {
    transform: none;
}

.animation-image__item .play-btn {
    transform: translateY(30px);
    opacity: 0;
}

.animation-image__item:before {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.animation-image__item.is-animation-finish {
    box-shadow: 0 3px 10px rgba(70, 113, 152, 0.16);
}

.animation-image__item.is-animation-finish:before {
    opacity: 1;
}

.animation-image__item img {
    transform: translateY(100%);
}

.animation-heading {
    display: block;
}

.animation-heading span {
    display: block;
}

.animation-heading > span {
    position: relative;
    overflow: hidden;
    line-height: 1.13em;
}

.animation-heading > span > span {
    position: relative;
    transform: translateY(100%);
}

h5.animation-heading > span > span:not(:last-child),
.footer-quick-col h3.animation-heading > span > span:not(:last-child),
.image-card-item-content h3.animation-heading > span > span:not(:last-child),
.testimonials-slide-item-heading h3.animation-heading > span > span:not(:last-child) {
    margin-right: 5px;
}

.animated-content > *:not(h1, h2, h3, h4, h5, h6) {
    position: relative;
    transform: translateY(50px);
    opacity: 0;
}

.js-image-button-row .image-button-item {
    overflow: hidden;
}

@media (min-width: 768px) and (max-width: 1199px) {
    body.home .js-image-button-row .image-button-item {
        padding-bottom: 20px;
    }
}

.js-image-button-box.image-button,
.image-button__box {
    opacity: 0;
    transform: translateY(100%)
}

.image-button-box__title > span {
    display: inline-block;
    overflow: hidden;
}

.image-button-box__title > span > span {
    display: block;
    position: relative;
    transform: translateY(100%);
}

.page-header {
    transform: translateY(-100%);
    opacity: 0;
}

.masthead {
    transform: translateY(100px);
    opacity: 0;
}

.masthead--homepage .animation-heading > span > span {
    transform: none;
}