/*--------------------------------------------------------------
    Totop
--------------------------------------------------------------*/

    #back-to-top {
        position: fixed;
        display: none;
        text-decoration: none;
        bottom: 20px;
        right: 20px;
        overflow: hidden;
        border-radius: var(--wdtRadius_1X);
        -webkit-border-radius: var(--wdtRadius_1X);
        width: 40px;
        height: 40px;
        border: 0;
        box-shadow: 0 0 0 1px var(--wdtBorderColor);
        -webkit-box-shadow: 0 0 0 1px var(--wdtBorderColor);
        text-indent: 100%;
        z-index: 9;
        text-indent: -9999px;
        animation: wdt-back-to-top-animation 0.8s cubic-bezier(0.7, 0, 0.3, 1) infinite 4s alternate;
        -webkit-animation: wdt-back-to-top-animation 0.8s cubic-bezier(0.7, 0, 0.3, 1) infinite 4s alternate;
    }

    @keyframes wdt-back-to-top-animation {
        0% { transform: translateY(-10px); -webkit-transform: translateY(-10px); }
        100% { transform: translateY(0); -webkit-transform: translateY(0); }
    }

    @-webkit-keyframes wdt-back-to-top-animation {
        0% { transform: translateY(-10px); -webkit-transform: translateY(-10px); }
        100% { transform: translateY(0); -webkit-transform: translateY(0); }
    }


    .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-icon i:before { margin: 0; }

    #back-to-top .back-to-top-icon {
        margin-top: -6px;
    }

    #back-to-top:after {
        background-color: var(--wdtAccentTxtColor);
        content: "";
        display: block;
        height: 15px;
        margin: 1px auto 0;
        opacity: 1;
        position: absolute;
        left: 50%;
        top: 50%;
        text-align: center;
        text-indent: 0;
        width: 2px;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        -webkit-transition: all .3s linear;
        transition: all .3s linear;
    }

    #back-to-top:active,
    #back-to-top:focus {
        outline: none;
    }


/*--------------------------------------------------------------
    Accents
--------------------------------------------------------------*/


    /* Primary */
    #back-to-top { background-color: var(--wdtPrimaryColor); }

    /* Secondary */
    #back-to-top:hover { background-color: var(--wdtSecondaryColor); animation-play-state: paused; -webkit-animation-play-state: paused; }


/*--------------------------------------------------------------
    Responsive
--------------------------------------------------------------*/

    @media only screen and (max-width: 1280px) {

        .nav-is-visible #back-to-top {
            opacity: 0;
        }
    }

    @media (max-width: 600px) {
        #back-to-top {
            bottom: 10px;
            right: 10px;
        }
    }