.xc-float-contact {
    position: fixed;
    left: 13px;
    border-radius: 5px;
    width: auto;
    z-index: 150;
    bottom: 79px;
    padding: 10px 0;
}
.xc-float-contact__list {
    list-style: none !important;
    padding: 0;
    margin: 0;
}
.xc-float-contact__item {
    list-style: none !important;
}
.xc-float-contact__link {
    border: none;
    padding: 3px;
    display: block;
    border-radius: 5px;
    text-align: center;
    font-size: 10px;
    line-height: 15px;
    color: #313131;
    font-weight: 700;
    max-width: 72.19px;
    max-height: 54px;
    text-decoration: none;
    transition: color 0.3s ease;
}
.xc-float-contact__link:hover {
    color: #000000;
}
.xc-float-contact__item--sms {
    display: none;
}
.xc-float-contact__text--phone {
    display: none;
}
.xc-float-contact__icon {
    width: 33px;
    height: 33px;
    display: block;
    margin: auto;
    background-repeat: no-repeat;
    background-size: contain;
}
.xc-float-contact__icon--map {
    width: 36px;
    height: 36px;
    margin-bottom: 10px;
}
.xc-float-contact__icon--zalo {
    width: 36px;
    height: 36px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.xc-float-contact__icon--messenger {
    width: 36px;
    height: 36px;
    margin-top: 40px;
    margin-bottom: 10px;
}
.xc-float-contact__icon--sms {
    width: 38px;
    height: 36px;
    margin-top: 5px;
    margin-bottom: 0;
}

/* Phone ring */
.xc-float-contact__phone-ring-wrap {
    z-index: 999999;
}
.xc-float-contact__phone-ring {
    position: relative;
    visibility: visible;
    background-color: transparent;
    cursor: pointer;
    z-index: 11;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transition: visibility .5s;
    right: 20px;
    margin-bottom: 55px;
    display: flex;
}
.xc-float-contact__phone-ring-circle {
    width: 85px;
    height: 85px;
    top: 10px;
    left: 10px;
    position: absolute;
    background-color: transparent;
    border-radius: 100%;
    border: 2px solid #e60808;
    animation: xc-phonering-alo-circle-anim 1.2s infinite ease-in-out;
    transition: all .5s;
    transform-origin: 50% 50%;
    opacity: .5;
}
.xc-float-contact__phone-ring-circle-fill {
    width: 55px;
    height: 55px;
    top: 25px;
    left: 25px;
    position: absolute;
    background-color: rgba(230, 8, 8, 0.7);
    border-radius: 100%;
    border: 2px solid transparent;
    animation: xc-phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
    transition: all .5s;
    transform-origin: 50% 50%;
}
.xc-float-contact__phone-ring-img-circle {
    background-color: #e60808;
    width: 33px;
    height: 33px;
    top: 37px;
    left: 37px;
    position: absolute;
    background-size: 20px;
    border-radius: 100%;
    border: 2px solid transparent;
    animation: xc-phonering-alo-circle-img-anim 1s infinite ease-in-out;
    transform-origin: 50% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.xc-float-contact__phone-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.xc-float-contact__phone-img {
    width: 25px;
    height: 25px;
}

@media only screen and (max-width: 850px) {
    .xc-float-contact {
        position: fixed;
        width: 100%;
        z-index: 99999 !important;
        bottom: 0;
        left: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        height: auto;
    }
    
    .xc-float-contact__list {
        display: flex;
        width: 100%;
        max-width: 1200px;
        margin: auto;
        position: relative;
        padding-top: 5px;
        background-color: #fff;
        box-shadow: 0 -3px 10px rgba(0,0,0,0.08);
        border-bottom: 15px solid #fff;
        justify-content: space-between;
        align-items: flex-start;
    }
    
    .xc-float-contact__list::after {
        content: "";
        position: absolute;
        pointer-events: none;
        background-image: url('../images/mb-footer-bg.svg');
        background-color: unset;
        background-position: center top;
        background-repeat: no-repeat;
        background-size: 100%;
        box-shadow: unset;
        height: 65px;
        width: 100%;
        margin-left: 0;
        margin-bottom: 0;
        left: 0;
        bottom: 0;
        z-index: -1;
    }

    .xc-float-contact__item {
        width: 20%;
        text-align: center;
        padding: 11px 0 0px 0;
        height: auto;
        display: block;
    }
    
    .xc-float-contact__link {
        display: block;
        color: #313131 !important;
        text-decoration: none;
        background: transparent !important;
        padding: 0;
        margin: 0 auto;
        max-height: none;
        width: 100%;
    }
    
    .xc-float-contact__link:hover {
        color: #313131 !important;
    }
    
    .xc-float-contact__icon {
        height: 30px !important;
        width: 30px !important;
        display: block;
        margin: 0 auto 4px auto !important;
        background-size: contain;
    }
    
    .xc-float-contact__text {
        display: block;
        padding: 0px 2px 0 2px;
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: bold;
        color: #313131;
    }

    .xc-float-contact__item--phone {
        position: relative;
    }
    
    .xc-float-contact__phone-ring-circle,
    .xc-float-contact__phone-ring-circle-fill {
        display: none !important;
    }
    
    .xc-float-contact__phone-ring {
        position: absolute;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        top: -28px;
        margin: 0;
        width: 50px;
        height: 50px;
        z-index: 10;
        display: flex !important;
    }
    
    .xc-float-contact__phone-ring-img-circle {
        position: static;
        background-image: linear-gradient(92.83deg, #f90000 0, #950099 100%);
        background-color: transparent;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        text-align: center;
        box-shadow: rgb(0 0 0 / 15%) 0 -3px 10px 0px;
        border: 2px solid #fff;
        animation: none;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .xc-float-contact__phone-ring-img-circle a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
    }
    
    .xc-float-contact__phone-ring-img-circle img {
        max-width: 25px;
        height: auto;
        margin: 0 !important;
    }
    
    .xc-float-contact__phone-ring-wrap::before {
        content: "";
        width: 50px;
        height: 50px;
        position: absolute;
        top: -28px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 50%;
        box-shadow: 0 0 0 0 #0E68C8;
        border: 2px solid transparent;
        transition: all .5s;
        animation: xc-zoom 1.3s infinite;
        z-index: 1;
    }
    
    .xc-float-contact__text--phone {
        display: block !important;
        padding-top: 34px;
    }

    .xc-float-contact__item--sms {
        display: block !important;
    }
    
    body {
        padding-bottom: 60px !important;
    }
}

@keyframes xc-zoom {
    0% {}
    70% { box-shadow: 0 0 0 15px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

@keyframes xc-phonering-alo-circle-anim {
    0% { transform: rotate(0) scale(.5) skew(1deg); opacity: .1; }
    30% { transform: rotate(0) scale(.7) skew(1deg); opacity: .5; }
    100% { transform: rotate(0) scale(1) skew(1deg); opacity: .1; }
}
@keyframes xc-phonering-alo-circle-fill-anim {
    0% { transform: rotate(0) scale(.7) skew(1deg); opacity: .6; }
    50% { transform: rotate(0) scale(1) skew(1deg); opacity: .6; }
    100% { transform: rotate(0) scale(.7) skew(1deg); opacity: .6; }
}
@keyframes xc-phonering-alo-circle-img-anim {
    0% { transform: rotate(0) scale(1) skew(1deg); }
    10% { transform: rotate(-25deg) scale(1) skew(1deg); }
    20% { transform: rotate(25deg) scale(1) skew(1deg); }
    30% { transform: rotate(-25deg) scale(1) skew(1deg); }
    40% { transform: rotate(25deg) scale(1) skew(1deg); }
    50% { transform: rotate(0) scale(1) skew(1deg); }
    100% { transform: rotate(0) scale(1) skew(1deg); }
}
