﻿.fb_dialog, .fb_reset {
    position: fixed !important;
    z-index: 10 !important;
}

#btnChat {
    display: none;
    background: none;
    border-radius: 50%;
    bottom: 18pt;
    display: inline;
    height: 45pt;
    padding: 0px;
    position: fixed;
    right: 54pt !important;
    bottom: 12px !important;
    width: 45pt;
    z-index: 10 !important;
}

.fb_dialog_content {
    display: none;
}

.fb-customerchat {
    background-position-x: 3px;
    background-position-y: -2px;
    background-repeat: no-repeat;
    width: 70px !important;
    height: 70px !important;
    z-index: 10 !important;
    border: none;
    visibility: visible;
    position: fixed;
    width: 70px;
    height: 70px;
}

.fb_dialog {
    display: flex !important;
    width: 100px !important;
}

.fb_iframe_widget iframe {
    height: 489px !important;
    display: none;
    bottom: 112pt !important;
}

.fb_dialog .fb_dialog_content iframe[data-testid~="bubble_iframe"] {
    bottom: 72pt !important;
    right: 1pt !important;
    border-radius: 50% !important;
    height: 57px !important;
    width: 57px !important;
    margin: 2px 15px !important;
}

#fbChat {
    display: none;
}

#iconFB {
    height: 38pt;
    width: 38pt;
    background: #0A7CFF;
    position: fixed;
    bottom: 97px !important;
    right: 16pt !important;
    border-radius: 50%;
    opacity: 0.7;
    animation: showOut var(--timeAnimation);
}

    #iconFB img {
        margin: 4pt 4pt;
    }

#ChatMessenger {
    width: 100%;
    float: right;
}

#loaderChat {
    position: fixed;
    bottom: 74pt !important;
    right: 18pt !important;
    z-index: 1;
    margin: -3px 0 0 -30px;
    border: 2px solid #e5e5e5;
    border-radius: 50%;
    border-top: 2px solid #3498db;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    width: 45px;
    height: 46px;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

#chatmenu {
    width: 50px;
    float: right;
    position: fixed;
    bottom: 8pt;
    right: 38px;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: pointer;
}

#line-1 {
    display: none;
    position: fixed;
    bottom: 20pt !important;
    right: 22pt !important;
    width: 26pt;
    height: 26pt;
    margin-top: 6%;
    background-color: #ffffff;
    border-radius: 50%;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: pointer;
    background-color: #fff0f0;
}

    #line-1:hover {
        background-color: #fbe4e4;
    }

#imgChat {
    display: none;
    background: #e7f1ff;
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 15pt !important;
    right: 16px !important;
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
    opacity: 0.7;
    animation: showOut var(--timeAnimation);
}

    #imgChat:hover {
        background: #ffffff;
        box-shadow: rgba(255, 255, 246, 0.15) 0px 15px 25px, rgba(255, 255, 246, 0.3) 0px 5px 10px;
        opacity: 1.1;
    }

#line-2 {
    display: block;
    float: right;
    width: 50px;
    height: 50px;
    margin-top: 5%;
    background-color: #f3f0f0;
    border-radius: 100%;
}

#CloseMenu {
    padding: 10.2px;
}

    #CloseMenu:hover {
        -webkit-animation: spin2 0.5s linear 0.5;
        -moz-animation: spin2 0.5s linear 0.5;
        animation: spin2 0.5s linear 0.5;
    }

@-moz-keyframes spin2 {
    100% {
        -moz-transform: rotate(0deg);
    }
}

@-webkit-keyframes spin2 {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin2 {
    100% {
        -webkit-transform: rotate(0deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Add animation to "page content" */
.animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s
}

@-webkit-keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }

    to {
        bottom: 0px;
        opacity: 1
    }
}

@keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

@media (hover: none) {
    /*a:hover {
        color: inherit;
    }*/
}

@media only screen and (max-width: 600px) {
    .popover-content {
        display: none !important;
    }
}
/*phan cho zalo*/
#iconZalo {
    height: 38pt;
    width: 38pt;
    background: #0A7CFF;
    position: fixed;
    bottom: 13pt !important;
    right: 71pt !important;
    /* padding-left: 7pt; */
    /* padding-top: 7pt; */
    border-radius: 50%;
    opacity: 0.7;
}

    #iconZalo img {
        width: 23pt;
        height: 25pt;
        margin: 7pt 7pt;
    }

#loaderChatZalo {
    position: fixed;
    bottom: 15pt !important;
    right: 72pt !important;
    z-index: 1;
    margin: -3px 0 0 -30px;
    border: 2px solid #e5e5e5;
    border-radius: 50%;
    border-top: 2px solid #3498db;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    width: 45px;
    height: 46px;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.zalo-chat-widget {
    /*background-image: url('/img/icon-zalo.png');*/
    background-position-x: 3px;
    background-position-y: -2px;
    background-repeat: no-repeat;
    width: 70px !important;
    height: 70px !important;
    z-index: 10 !important;
    border: none;
    visibility: visible;
    position: fixed;
    bottom: 13pt !important;
    right: 71pt !important;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
    animation: showOut var(--timeAnimation);
}

    .zalo-chat-widget iframe {
        left: auto !important;
        /*right: -838% !important;*/
    }
