﻿.eleFixedChat {
    position: fixed;
    right: 0;
    bottom: 24px;
    z-index: 1001;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.wrapper-img {
    position: relative;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

    .wrapper-img img {
        height: auto;
    }

.imgChatFalse {
    position: absolute;
    top: 0;
    right: -100%;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.btnLinkChat {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.btnToggleChat {
    padding: 0;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    position: absolute;
    top: 0;
    right: 8px;
    background-color: #B8B8B8CC;
}

    .btnToggleChat::before {
        content: "";
        display: block;
        -webkit-mask-position: center;
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-size: 24px;
        mask-position: center;
        mask-repeat: no-repeat;
        mask-size: 24px;
        width: 24px;
        height: 24px;
        background-color: #F9F9F4;
        -webkit-mask-image: url(/Content/travel/images/icon/chevron-right.svg);
        mask-image: url(/Content/travel/images/icon/chevron-right.svg);
    }

/*Show Hide Ele*/
.eleFixedChat.hide .wrapper-img {
    transform: translateX(100%);
}

.eleFixedChat.hide .imgChatFalse {
    right: 0;
}

.eleFixedChat.hide .btnToggleChat {
    transform: rotate(-180deg);
}

/*For Compare Bar*/
.fn-compare-fixed.show ~ div#eleChatGoody,
section.sc-compare-bar.show ~ div#eleChatGoody {
    bottom: 86px;
}
