.button-contact-vr {
    position: fixed;
    bottom: 70px;
    right: 0;
    z-index: 199;
}

@media(min-width: 768px) {
    .button-contact-vr .button-contact {
        position: relative;
        margin-top: -5px
    }

    .button-contact-vr .button-contact .phone-vr {
        position: relative;
        visibility: visible;
        background-color: transparent;
        width: 90px;
        height: 90px;
        cursor: pointer;
        z-index: 11;
        -webkit-backface-visibility: hidden;
        -webkit-transform: translateZ(0);
        transition: visibility .5s;
        left: 0;
        bottom: 0;
        display: block
    }

    .phone-vr-circle-fill {
        width: 65px;
        height: 65px;
        top: 12px;
        left: 12px;
        position: absolute;
        box-shadow: 0 0 0 0 #c31d1d;
        background-color: rgba(230,8,8,0.7);
        border-radius: 50%;
        border: 2px solid transparent;
        -webkit-animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
        animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
        transition: all .5s;
        -webkit-transform-origin: 50% 50%;
        -ms-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        -webkit-animuiion: zoom 1.3s infinite;
        animation: zoom 1.3s infinite
    }

    .phone-vr-img-circle {
        background-color: #e60808;
        width: 40px;
        height: 40px;
        line-height: 40px;
        top: 25px;
        left: 25px;
        position: absolute;
        border-radius: 50%;
        overflow: hidden;
        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
    }

    .phone-vr-img-circle a {
        display: block;
        line-height: 37px
    }

    .phone-vr-img-circle img {
        max-height: 30px;
        max-width: 30px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        -moz-transform: translate(-50%,-50%);
        -webkit-transform: translate(-50%,-50%);
        -o-transform: translate(-50%,-50%)
    }
    
    #zalo-vr .phone-vr-circle-fill {
        box-shadow: 0 0 0 0 #2196F3;
        background-color: rgba(33,150,243,0.7)
    }

    #zalo-vr .phone-vr-img-circle {
        background-color: #2196F3
    }

    #fanpage-vr .phone-vr-img-circle {
        background-color: #1877f2
    }

    #fanpage-vr .phone-vr-circle-fill {
        box-shadow: 0 0 0 0 rgb(24 119 242 / 65%);
        background-color: rgb(24 119 242 / 70%)
    }

    #map-vr .phone-vr-img-circle {
        background-color: #1ea362
    }

    #map-vr .phone-vr-circle-fill {
        box-shadow: 0 0 0 0 rgb(30 163 98 / 65%);
        background-color: rgb(30 163 98 / 70%)
    }

    #phone-vr .phone-vr-circle-fill,#phone-vr .phone-vr-img-circle,#phone-vr .phone-bar a {
        background-color: #23ddd1;
    }

    #phone-vr .phone-vr-circle-fill {
        opacity: 0.7;
        box-shadow: 0 0 0 0 #23ddd1;
    }
}

@-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
    }
}

@media (max-width: 767px) {
    .button-contact-vr {
        background: white;
        width: 100%;
        height: 70px;
        padding: 8px 5px 5px 5px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        bottom: 0;
        border: 1px solid #f2f2f2;
        display: flex;
        align-items: flex-start;
        justify-content: space-around;
        z-index: 9999;
    }
    .button-contact .phone-vr {
        width: auto;
        height: auto;
        text-align: center;
    }
    .phone-vr-circle-fill {
        display: none !important;
    }
    .phone-vr-img-circle {
        background-color: transparent !important;
        width: auto;
        height: auto;
        position: relative;
        top: auto;
        left: auto;
    }
    .phone-vr-img-circle img {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: block;
        margin: 0 auto;
    }
    .phone-vr-img-circle a span {
        display: block;
        margin-top: 2px;
        font-size: 11px;
        color: #333;
        font-weight: 500;
    }
    #phone-vr .phone-vr-img-circle img{
        background: #6cb917 !important;
    }

}

/* Ghi đè lại visible-xs và hidden-xs để chúng chỉ điều khiển hiển thị theo ý bạn */

/* Mặc định: desktop hiển thị hidden-xs, ẩn visible-xs */
.visible-xs {
    display: none !important;
}
.hidden-xs {
    display: inline-block !important;
}

/* Mobile <768px: đổi lại */
@media (max-width: 767px) {
    .visible-xs {
        display: inline-block !important;
    }
    .hidden-xs {
        display: none !important;
    }
}
