
.cd-top:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background-color: #055bc047;
    left: 0;
    animation: forDecor-1 1.4s cubic-bezier(.3,2,.3,1) infinite;
    border-radius: 50%;
}

@keyframes forDecor-1 {
    0% {
        transform: scale(1);
    }

    80% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.cd-top {
    display: inline-block;
    height: 60px;
    width: 60px;
    position: fixed;
    bottom: -19px;
    right: calc((100% / 2) - 20px);
    box-shadow: 0 0 10px rgba(0,132,255, 0.05);
    border-radius: 40px;
    /* image replacement properties */
    text-indent: 100%;
    white-space: nowrap;
    background: #332314 url(../img/cd-top-arrow.svg) no-repeat center 39%;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s;
    -moz-transition: opacity .3s 0s, visibility 0s .3s;
    transition: opacity .3s 0s, visibility 0s .3s;
    z-index: 9999;
}

    .cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
        -webkit-transition: opacity .3s 0s, visibility 0s 0s;
        -moz-transition: opacity .3s 0s, visibility 0s 0s;
        transition: opacity .3s 0s, visibility 0s 0s;
    }

    .cd-top.cd-is-visible {
        /* the button becomes visible */
        visibility: visible;
        opacity: 1;
    }

    .cd-top.cd-fade-out {
        /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
    }

    .cd-top:hover {
        background-color: #6c2e1e;
        opacity: 1;
    }
