
/* **************** */

/* Base style for hiding transiton when the overlay becomes visible */
.content-footer {
    /* height lives in the base style */
    /* margin lives in the base style */
    opacity: 1;
    transform: translateY(0);

    transition:
        height 1s 0s linear,
        opacity .4s 0.6s ease-in,
        transform .4s 0.6s linear,
        margin .4s 0.6s linear;
}
.overlay-visible .content-footer {
    height: 0;
    margin: 0;
    opacity: 0;
    transform: translateY(5em);

    transition:
        height 1s 0.4s linear,
        opacity 1s 0.4s ease-in,
        transform 1s 0.4s linear,
        margin .4s 0.6s linear;
}
