@keyframes download-animation {
    0% {
        transform: translateY(-80px);
    }

    50% {
        transform: translateY(-40px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes download {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(100px);
    }
}

.ehr-download-task {
    position: fixed;
    z-index: 999;
    width: 40px;
    height: 40px;
    overflow: hidden;
    color: #FFF;
    cursor: pointer;
    background: #E6231F;
    border-radius: 20px;
    box-shadow: 0 2px 8px 0 #E6231F;

    .p {
        height: 80px;
        animation: 4s ease-in-out 2s infinite running download-animation;

        .q {
            width: 40px;
            height: 40px;
            font-size: 18px;
            font-weight: 700;
            line-height: 40px;
            color: #FFF;
            text-align: center;
        }
    }

    .anticon {
        display: inline-block;
        width: 40px;
        height: 40px;
        font-size: 24px;
        font-weight: bold;
        line-height: 40px;
    }
}

.ehr-download-task-animation {
    transition: all .35s ease;
    transition-delay: .5s;
    transform: scale(1.1);
}

.ehr-download-task-img {
    position: fixed;
    z-index: 9;
    width: 40px;
    height: 40px;

    .anticon {
        position: absolute;
        top: -100px;
        right: 10px;
        display: inline-block;
        width: 20px;
        height: 20px;
        font-size: 24px;
        color: #E6231F;
        animation: download 1s ease-in-out;
    }
}
