/* Progressive motion is isolated from Perfex and loaded only while the module
 * switch is enabled. Content remains visible until the runtime is ready. */
.ppc-motion-enabled.ppc-motion-ready .ppc-motion-item:not(.is-visible) {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
}

.ppc-motion-enabled .ppc-motion-item.is-visible {
    opacity: 1;
    transform: none;
}

.ppc-motion-enabled .ppc-motion-hover,
.ppc-motion-enabled .ppc-finder-field,
.ppc-motion-enabled .ppc-menu-caret,
.ppc-motion-enabled .progress-bar,
.ppc-motion-enabled.provinas-portal-auth .form-control,
.ppc-motion-enabled.provinas-portal-auth .bootstrap-select > .btn,
.ppc-motion-enabled.provinas-portal-auth .btn-primary {
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease,
        background-color .22s ease, width .8s cubic-bezier(.2, .72, .28, 1);
}

.ppc-motion-enabled .ppc-more-services > .dropdown-menu {
    transform-origin: top left;
}

.ppc-motion-enabled .ppc-more-services.open > .dropdown-menu {
    animation: ppc-dropdown-in .26s cubic-bezier(.2, .72, .28, 1) both;
}

@media (hover: hover) and (pointer: fine) {
    .ppc-motion-enabled .ppc-motion-hover:hover,
    .ppc-motion-enabled .ppc-motion-hover:focus-visible {
        transform: translate3d(0, -2px, 0);
    }

    .ppc-motion-enabled .ppc-motion-hover.ppc-jump:hover,
    .ppc-motion-enabled .ppc-motion-hover.ppc-metric:hover,
    .ppc-motion-enabled .ppc-motion-hover.ppc-dashboard-card:hover,
    .ppc-motion-enabled .ppc-advisor-submit:hover {
        box-shadow: 0 12px 26px rgba(20, 59, 87, .11);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .ppc-motion-enabled .ppc-chem-fill {
        animation: ppc-lab-fill 1.35s ease-out both;
    }

    .ppc-motion-enabled .ppc-chem-wave {
        animation: ppc-lab-wave 1.1s ease-in-out 2 alternate;
    }

    .ppc-motion-enabled .ppc-chem-wave-back {
        animation: ppc-lab-wave 1.1s ease-in-out 2 alternate-reverse;
    }

    .ppc-motion-enabled .ppc-chem-bubble {
        animation: ppc-lab-bubble 1.45s ease-out .4s both;
    }
}

@keyframes ppc-dropdown-in {
    from {
        opacity: 0;
        transform: translate3d(0, -8px, 0) scale(.985);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ppc-motion-enabled.ppc-motion-ready .ppc-motion-item,
    .ppc-motion-enabled .ppc-motion-hover,
    .ppc-motion-enabled .ppc-motion-hover:hover,
    .ppc-motion-enabled .ppc-motion-hover:focus-visible,
    .ppc-motion-enabled .ppc-more-services.open > .dropdown-menu,
    .ppc-motion-enabled .ppc-chem-fill,
    .ppc-motion-enabled .ppc-chem-wave,
    .ppc-motion-enabled .ppc-chem-wave-back,
    .ppc-motion-enabled .ppc-chem-bubble,
    .ppc-motion-enabled .ppc-finder-loading i {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
}

@media print {
    .ppc-motion-enabled.ppc-motion-ready .ppc-motion-item {
        opacity: 1 !important;
        transform: none !important;
    }
}
