/*--------------------------------------------------------------
    Totop
--------------------------------------------------------------*/

    #back-to-top {
        position: fixed;
        display: none;
        text-decoration: none;
        bottom: 80px;
        right: 20px;
        overflow: hidden;
        width: 50px;
        height: 50px;
        border: none;
        text-indent: 100%;
        z-index: 9;
        text-indent: -9999px;
        border-radius: 50%;
    }

    .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: 30px;
        line-height: 1;
    }

    .back-to-top-icon i:before { margin: 0; }

    #back-to-top:hover .back-to-top-icon {
        margin-top: -4px;
    }

    #back-to-top:after {
        background-color: var(--wdtAccentTxtColor);
        content: "";
        display: block;
        height: 20px;
        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: 4px;
        opacity: 1;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    #back-to-top:active,
    #back-to-top:focus {
        outline: none;
    }

    /* top-wifi-animation */



    g.wifi-top-left path {
 animation:wifianimation 1s infinite cubic-bezier(0.4, 0, 0.2, 1);
    opacity:.1;
}
g.wifi-top-left path:nth-child(2){
     animation-delay:100ms;
}
g.wifi-top-left path:nth-child(3){
     animation-delay:200ms;
}
g.wifi-top-right path {
 animation:wifianimation 1s infinite cubic-bezier(0.4, 0, 0.2, 1);
    opacity:0.1;
}
g.wifi-top-right path:nth-child(2){
     animation-delay:100ms;
}
g.wifi-top-right path:nth-child(3){
     animation-delay:200ms;
}
@-webkit-keyframes wifianimation 
{
  0% { opacity: 0.7 }
  5% { opactiy: 1 }
  6% { opactiy: 0.7 }
  100% { opactiy: 0.8; }
}


/*  */

/*--------------------------------------------------------------
    Accents
--------------------------------------------------------------*/


    /* Primary */
    #back-to-top { 
    background-image: linear-gradient(90deg, transparent, var(--wdtPrimaryColor));
    background-color: var(--wdtSecondaryColor);
    background-repeat: no-repeat;
    background-size: 100%;
     }

    /* Secondary */
    #back-to-top:hover { 
    background-color: var(--wdtPrimaryColor);
    border-color: transparent;
    /* background-position: 100% 100%;  */
}


/*--------------------------------------------------------------
    Responsive
--------------------------------------------------------------*/

    @media only screen and (max-width: 1280px) {

        .nav-is-visible #back-to-top {
            opacity: 0;
        }
    }