/* bubble chat icon + position fb chat */
.message-btn .chat-bubble-pink {
    color: #fff;
    background-color: var(--pink-primary-color);
    padding: 15px;
    border-radius: 50%;
    font-size: 30px;
    display: block;
}

.message-zp-btn .chat-bubble-pink {
    color: #fff;
    background-color: var(--pink-primary-color);
    padding: 15px;
    border-radius: 50%;
    font-size: 30px;
    display: block;
}

#fb-root .fb_reset {
    font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
}

[tooltip] {
    position: relative !important;
    font-size: 14px !important;
}

[tooltip-position='left']::before {
    left: 0%;
    top: 50%;
    margin-left: -12px;
    transform: translatey(-50%) rotate(-90deg)
}

.intro-tooltip[tooltip]::after {
    width: 200px;
    white-space: pre-wrap;
    height: auto;
}

[tooltip]::after {
    content: attr(tooltip);
    position: absolute;
    left: 50%;
    top: -6px;
    transform: translateX(-50%) translateY(-100%);
    background: white;
    text-align: center;
    color: black;
    font-size: 14px !important;
    font-weight: 400;
    width: auto;
    white-space: nowrap;
    min-width: 60px;
    border-radius: 4px;
    pointer-events: none;
    padding: 1px 10px 25px 10px;
    z-index: 99;
    opacity: 0;
    height: 24px;
    line-height: 24px;
    border: 1px solid darkgray;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

[tooltip-position='left']::after {
    left: 0%;
    top: 50%;
    margin-left: -8px;
    transform: translateX(-100%) translateY(-50%);
}

[tooltip-position='right']::after {
    top: 50%;
    transform: translateX(40%) translateY(-50%);
}

[tooltip]:hover::after, [tooltip]:hover::before {
    opacity: 1;
}

html.wg-chat .fa-comment:before, [tooltip-position='left']::before {
    margin-left: 0 !important;
}

.circle-content {
    color: #fff;
    float: left;
    line-height: 1;
    padding-top: 27%;
    text-align: center;
    width: 100%;
    font-weight: bold;
}

.circle-content.chat-bubble-orange {
    text-transform: uppercase;
}

.circle {
    background-color: #ff9c00;
    border-radius: 50%;
    height: 60px;
    width: 60px;
    margin-bottom: 10px;
    cursor: pointer;
}

html.wg-chat .zopim:first-child, html.wg-chat .zopim:nth-child(3) {
    width: 0 !important;
    height: 0 !important;
}

.fb-icon-pos {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.wa-btn, .zp-btn {
    opacity: 1;
    transform: none;
    border-radius: 50%;
    margin-bottom: 0;
}

/*.wa-btn .whatsapp-message {
    margin-bottom: 10px;
}*/
.chat-contain {
    width: 60px;
    display: none;
}

.chat-widget #fb-root .fb_dialog {
    position: static !important;
    padding: 0;
}

.chat-widget #fb-root .fb_dialog .fb_dialog_content > iframe {
    position: absolute !important;
    margin: 0 !important;
    right: 0 !important;
    bottom: 10px !important;
}

.fb-customerchat span iframe {
    right: 60px !important;
}

.chat-widget #fb-root .fb_dialog .fb_dialog_content:hover {
    background: none;

}

.chat-widget .wa-btn:hover, .chat-widget .chat-contain:hover, .zp-btn:hover {
    box-shadow: none;
}

.chat-widget {
    position: fixed;
    z-index: 9998;
    right: 7px;
    bottom: 7px;
}

/**/
/*.whatsapp-message {
    cursor: pointer;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #0bd561;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .25);
}*/
@media screen and (max-width: 767px) {
    .message-btn .chat-bubble-pink, .message-zp-btn .chat-bubble-pink {
        color: #01a3a5;
        background-color: #fff;
        border: 2px solid;
        font-size: 24px;
    }

    .new-painting .chat-widget {
        left: 7px;
        right: inherit;
        bottom: 7px;
        position: fixed;
        z-index: 10000;
    }
}


/** custom when having the cta footer **/
.show-cta-footer.chat-widget {
    right: calc(calc(100% - 1200px) / 2);
    bottom: -4px;
}

.show-cta-footer.chat-widget .chat-bubble-pink {
    color: var(--blue-secondary-color);
    background-color: #fff;
    border: 2px solid;
}

.show-cta-footer.chat-widget .chat-bubble-pink:hover {
    color: var(--blue-secondary-hover-color);
}

@media (max-width: 1200px) and (min-width: 1024px) {
    .show-cta-footer.chat-widget {
        right: calc(calc(100% - 960px) / 2);
    }
}

@media (max-width: 979px) and (min-width: 801px) {
    .show-cta-footer.chat-widget {
        right: calc(calc(100% - 790px) / 2);
    }
}

@media (max-width: 800px) and (min-width: 750px) {
    .show-cta-footer.chat-widget {
        right: calc(calc(100% - 700px) / 2);
    }
}

@media (max-width: 750px) {
    /*.chat-widget {*/
    /*    display: none !important;*/
    /*}*/
    .res-view .show-cta-footer.chat-widget {
        right: inherit;
        left: 7px;
        bottom: 85px;
        position: fixed;
        z-index: 1984;
    }
}

/* DEV-1850 Live chat icon */
/*.contain-chat-icon{
    background-color: #fff;
    border: 1px solid var(--pink-primary-color);
    padding: 8px;
    border-radius: 50%;
    display: block;
}

.contain-chat-icon img{
    width: 35px;
}

@media (max-width: 767px){

    .contain-chat-icon{
        padding: 12px;
    }

    .contain-chat-icon img{
        width: 30px;
    }
}*/

/* Chat icon normal */
.contain-chat-icon img {
    width: 55px;
}

@media (max-width: 767px) {
    .contain-chat-icon img {
        width: 40px;
    }
}

.contain-chat-icon img {
    cursor: pointer;
}

@media (min-width: 768px) {
    .zp-btn {
        margin-bottom: 10px;
    }
}