/*--------------------------------------------------------------
    Totop
--------------------------------------------------------------*/

    #back-to-top {
        position: fixed;
        display: none;
        text-decoration: none;
        bottom: 20px;
        right: 20px;
        overflow: hidden;
        width: 40px;
        height: 40px;
        border: none;
        z-index: 9;
    }

    #back-to-top:hover {
    height: 130px;
}

    .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:hover .back-to-top-icon { margin-top: -10px; top: 0; }

    span.back-to-top-title { display: flex; align-items: center; justify-content: center; font-size: 13px; float: left; writing-mode: sideways-lr; width: 100%; height: 100%; 
        text-transform: uppercase; text-align: center; visibility: hidden; position: absolute; max-width: fit-content; max-height: fit-content; margin: auto; left: 0px; 
        right: 0; bottom: 0; top: 0px; opacity: 0; color: var(--wdtAccentTxtColor); -webkit-transition: var(--wdtAltTransition); transition: var(--wdtAltTransition); text-wrap: nowrap; }

    #back-to-top:hover span.back-to-top-title { opacity: 1; visibility: visible; }

    #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); box-shadow: 1px 1px 2px 2px rgba(var(--wdtBodyBGColorRgb), .15); }


/*--------------------------------------------------------------
    Responsive
--------------------------------------------------------------*/

    @media only screen and (max-width: 1280px) {

        .nav-is-visible #back-to-top {
            opacity: 0;
        }
    }