#socialToggle {
    position: fixed;
    top: 27%;
    right: 0;
    width: 50px;
    height: 45px;
    background: #333;
    color: #fff;
    text-align: center;
    line-height: 45px;
    font-size: 16px;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    z-index: 99999;
}

.social-float {
    position: fixed;
    top: 35%;
    right: 0;
    z-index: 9999;
    transition: all 0.4s ease;
}

/* Hidden state */
.social-hide {
    right: -80px;   /* push icons outside screen */
}

.social-float a {
    position: relative;
    right: 0;
    display: block;
    width: 50px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    color: #fff;
    font-size: 16px;
    margin-bottom: 4px;
    border-radius: 8px 0 0 8px;
    transition: all 0.3s ease;
    overflow: visible;
}

/* 👇 MAGIC BACKGROUND EXTENSION */
.social-float a::before {
    content: "";
    position: absolute;
    top: 0;
    right: -25px;           /* extend background to right */
    width: 25px;
    height: 100%;
    background: inherit;    /* same color as icon */
}

/* Hover slide from right */
.social-float a:hover {
    /* transform: translateX(-20px); */
    width: 60px;
    right: 20px;
}


/* Brand Colors */
.fb { background:#3b5998; }
.insta { background:#e1306c; }
.twitter { background:#000000; }
.whatsapp { background:#25D366; }
.youtube { background:#FF0000; }
.register { background:#ff7a00; }

/* Mobile */
@media(max-width:768px){
    .social-float a{
      top: 40%;
        width:45px;
        height:45px;
        line-height:45px;
        font-size:18px;
    }
}
