/* ===========================================
   AIRNET360 WHATSAPP CHANNEL FLOAT
=========================================== */

.air-whatsapp-channel{
    position:fixed;
    right:24px;
    bottom:160px;

    width:50px;
    height:50px;

    display:flex;
    align-items:center;

    text-decoration:none;
    overflow:visible;
    z-index:99999;
}

/* ICON (STATIC - NEVER MOVES) */

.air-whatsapp-icon{
    position:absolute;
    right:0;
    top:0;

    width:50px;
    height:50px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#fff;
    color:#1CC95A;

    border-radius:50%;
    font-size:24px;

    z-index:5;

    box-shadow:
        0 10px 25px rgba(0,0,0,.18),
        0 0 0 8px rgba(37,211,102,.12);
}

/* RED NOTIFICATION */

.air-whatsapp-dot{
    position:absolute;
    top:2px;
    right:2px;

    width:10px;
    height:10px;

    background:#ff304f;

    border:2px solid #fff;
    border-radius:50%;

    z-index:8;
}

/* MESSAGE */

.air-whatsapp-text{

    position:absolute;
    right:0;
    top:0;

    width:50px;
    height:50px;

    padding-left:18px;
    padding-right:62px;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;

    background:linear-gradient(135deg,#21d667,#16bf56);

    border-radius:999px;

    overflow:hidden;
    white-space:nowrap;

    opacity:0;

    box-shadow:
        0 15px 35px rgba(37,211,102,.28);

    animation:whatsappSlide 10s infinite ease-in-out;
}

.air-whatsapp-text strong{

    font-size:11px;
    font-weight:900;

    letter-spacing:.4px;
    text-transform:uppercase;

    color:#fff;
}

.air-whatsapp-text small{

    margin-top:3px;

    font-size:9px;
    font-weight:700;

    color:#f6fff8;
}

/* ===========================================
   ANIMATION
=========================================== */

@keyframes whatsappSlide{

    /* Hidden for ~6 seconds */

    0%,
    60%{

        width:50px;
        opacity:0;
    }

    /* Expand */

    66%{

        width:195px;
        opacity:1;
    }

    /* Stay Open */

    86%{

        width:195px;
        opacity:1;
    }

    /* Close */

    92%{

        width:50px;
        opacity:0;
    }

    100%{

        width:50px;
        opacity:0;
    }

}

/* Hover */

.air-whatsapp-channel:hover .air-whatsapp-text{

    width:195px;
    opacity:1;

    animation-play-state:paused;
}

/* Hover Effect */

.air-whatsapp-channel:hover .air-whatsapp-icon{

    transform:scale(1.08);

    transition:.3s;
}

/* ===========================================
   MOBILE
=========================================== */

@media(max-width:768px){

    .air-whatsapp-channel{

        right:18px;
        bottom:135px;

        width:48px;
        height:48px;
    }

    .air-whatsapp-icon{

        width:48px;
        height:48px;

        font-size:22px;
    }

    .air-whatsapp-text{

        height:48px;
        width:48px;

        padding-left:16px;
        padding-right:58px;
    }

    @keyframes whatsappSlide{

        0%,
        60%{

            width:48px;
            opacity:0;
        }

        66%{

            width:180px;
            opacity:1;
        }

        86%{

            width:180px;
            opacity:1;
        }

        92%{

            width:48px;
            opacity:0;
        }

        100%{

            width:48px;
            opacity:0;
        }

    }

    .air-whatsapp-channel:hover .air-whatsapp-text{

        width:180px;
    }

}