/*--------------------------------------------------------------
    Totop
--------------------------------------------------------------*/

    #back-to-top {
        position: fixed;
        display: none;
        text-decoration: none;
        bottom: 20px;
        right: 20px;
        overflow: hidden;
        width: 40px;
        height: 40px;
        border: none;
        text-indent: 100%;
        z-index: 9;
        text-indent: -9999px;
    }

    .back-to-top-icon {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        margin: 0 auto;
        top: 50%;
        transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        color: var(--wdtAccentTxtColor);
        -webkit-transition: all .3s linear;
        -moz-transition: all .3s linear;
        -o-transition: all .3s linear;
        -ms-transition: all .3s linear;
        transition: all .3s linear;
        text-indent: 0;
        text-align: center;
        font-size: 20px;
        line-height: 1;
    }

    #back-to-top:hover .back-to-top-icon svg {
        animation-name: to-top-arrow-move !important;
        animation-duration: 500ms !important;
        animation-timing-function: cubic-bezier(0.7, 0, 0.3, 1) !important;
        will-change: transform !important;
        transition: opacity .4s ease-out, transform .8s !important;
    }

    @-webkit-keyframes to-top-arrow-move {
        0% { opacity: 1; transform: translate(0px, 0px); transform-origin: center top; }
        50% { opacity: 0; transform: translate(0px, -20px); transform-origin: center top; }
        51% { opacity: 0; transform: translate(0px, 20px); transform-origin: center top; }
        100% { opacity: 1; transform: translate(0px, 0px); transform-origin: center top; }
    }

    @keyframes to-top-arrow-move {
        0% { opacity: 1; transform: translate(0px, 0px); transform-origin: center top; }
        50% { opacity: 0; transform: translate(0px, -20px); transform-origin: center top; }
        51% { opacity: 0; transform: translate(0px, 20px); transform-origin: center top; }
        100% { opacity: 1; transform: translate(0px, 0px); transform-origin: center top; }
    }

    #back-to-top:active,
    #back-to-top:focus {
        outline: none;
    }

    /* === Custom To Top === */

    /* .back-to-top-icon i { display: none; } */


/*--------------------------------------------------------------
    Accents
--------------------------------------------------------------*/


    /* Primary */
    #back-to-top { background-color: var(--wdtPrimaryColor); }

    /* Secondary */
    #back-to-top:hover { background-color: var(--wdtSecondaryColor); }
    #back-to-top:hover .back-to-top-icon { color: var(--wdtPrimaryColor); }


/*--------------------------------------------------------------
    Responsive
--------------------------------------------------------------*/

    @media only screen and (max-width: 1280px) {

        .nav-is-visible #back-to-top {
            opacity: 0;
        }
    }