/*--------------------------------------------------------------
    Totop
--------------------------------------------------------------*/

    #back-to-top {
        position: fixed;
        display: none;
        text-decoration: none;
        bottom: 20px;
        right: 20px;
        overflow: hidden;
        width: clamp(3rem, 2.8558rem + 0.641vw, 3.625rem); /* 48px - 58px */
        height: clamp(3rem, 2.8558rem + 0.641vw, 3.625rem); /* 48px - 58px */
        border: none;
        text-indent: 100%;
        z-index: 9;
        text-indent: -9999px;
        border: 1px solid rgba(var(--wdtAccentTxtColorRgb), .25);
        background-color: var(--wdtSecondaryColor);
        color: var(--wdtPrimaryColor);
    }

    .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; }

    span.to-top-icon, 
    span.to-top-icon > svg {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        color: inherit;
        font-size: clamp(1.5rem, 1.3846rem + 0.5128vw, 2rem); /* 24px - 32px */
    }
    /* #back-to-top:after {
        content: "";
        position: absolute;
        right: 0;
        left: 0;
        bottom: 0;
        height: 50%;
        background-color: var(--wdtSecondaryColor);
        z-index: -1;
        transition: var(--wdt-Ad-Transition);
        border: 1px solid var(--wdtAccentTxtColor);
    }
    #back-to-top:hover:after { height: 100%; } */
    span.to-top-icon > svg { width: auto; margin: auto; }

    #back-to-top:hover .back-to-top-icon {
        margin-top: -4px;
    }

    /* #back-to-top:after {
        background-color: var(--wdtAccentTxtColor);
        content: "";
        display: block;
        height: 15px;
        margin: 0 auto;
        opacity: 0;
        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:hover:after {
        margin-top: 2px;
        opacity: 1;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    } */

    #back-to-top:active,
    #back-to-top:focus {
        outline: none;
    }

    #back-to-top:hover {
        transform: translateY(-4px);
        /* box-shadow: rgba(var(--wdtPrimaryColorRgb),.5) 0px 6px 9px 2px; */
        background-color: var(--wdtPrimaryColor);
        color: var(--wdteadAltColor);
    }

/*--------------------------------------------------------------
    Accents
--------------------------------------------------------------*/


    /* Primary */
    /* #back-to-top { background-color: var(--wdtPrimaryColor); } */

    /* Secondary */
    /* #back-to-top:hover { background-color: var(--wdtSecondaryColor); } */


/*--------------------------------------------------------------
    Responsive
--------------------------------------------------------------*/

    @media only screen and (max-width: 1280px) {

        .nav-is-visible #back-to-top {
            opacity: 0;
        }
    }