﻿#button-contact-vr {
    position: fixed;
    bottom: 155px;
    right: 40px;
    z-index: 99999;
    opacity: 0.8;
}

.phone {
	display:none;
    left: -108px;
    top: 30px;
    position: relative;
    color: red;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    background: #fff;
    width: 160px;
    padding: 5px 30px 5px 5px;
    box-shadow: 1px 2px 4px rgb(4 4 4 / 40%);
    border-radius: 20px;
    margin: 0;
}
/*phone*/
#button-contact-vr .button-contact {
    position: relative;
}

    #button-contact-vr .button-contact .phone-vr {
        position: relative;
        visibility: visible;
        background-color: transparent;
        width: 90px;
        height: 55px;
        cursor: pointer;
        z-index: 11;
        left: 0;
        bottom: 0;
        display: block;
    }

.phone-vr-img-circle, .zalo-vr-img-circle {
    background-color: #e60808;
    width: 45px;
    height: 45px;
    line-height: 40px;
    top: 25px;
    left: 25px;
    position: absolute;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    animation: phone-vr-circle-fill 1s infinite ease-in-out;
}

.zalo-vr-img-circle {
    background-color: #00acd4;
}

.phone-vr-img-circle a {
    display: block;
    line-height: 32px;
    padding: 4px;
}

.phone-vr-img-circle img {
    max-width: 35px;
}

@-webkit-keyframes phone-vr-circle-fill {
    0% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }

    10% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }

    20% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }

    30% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }

    40% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }

    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }

    100% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }
}

@-webkit-keyframes zoom {
    0% {
        transform: scale(.9);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent;
    }

    100% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 transparent;
    }
}

@keyframes zoom {
    0% {
        transform: scale(.9);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent;
    }

    100% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 transparent;
    }
}

.phone-bar a {
    position: fixed;
    bottom: 25px;
    left: 30px;
    z-index: -1;
    background: rgb(232, 58, 58);
    color: #fff;
    font-size: 16px;
    padding: 8px 15px 7px 50px;
    border-radius: 100px;
    white-space: nowrap;
}

    .phone-bar a:hover {
        opacity: 0.8;
        color: #fff;
    }

@media(max-width: 768px) {
    #button-contact-vr {
        right: 0;
		bottom:120px;
    }

    #contact-vr .phone-vr-circle-fill {
        box-shadow: 0 0 0 0 #2196F3;
        background-color: rgba(33, 150, 243, 0.7);
    }

    #contact-vr .phone-vr-img-circle {
        background-color: #2196F3;
    }
}

@media(max-width: 480px) {
    #button-contact-vr {
        left: -15px;
        bottom: 40px;
    }

    .phone {
        padding: 5px 31px 5px;
        font-size: 15px;
        display: none;
    }
}
