﻿
/*4-10-2017 chat bot*/
#chatbot {
    bottom: 0;
    right: 0;
    width: 435px !important;
    height: 100%;
    position: absolute;
}

.divIframeChat {
    z-index: 10005;
    position: fixed;
    bottom: 2%;
    right: 1%;
    width: 400px;
    height: 97%;
    display: none;
}

    .divIframeChat .close {
        position: absolute;
        top: 10.6%;
        right: 38px;
        font-size: 32px;
        opacity: 1;
        color: #000;
        z-index: 99999;
        width: 22px;
        height: 22px;
        /*position: absolute;
        top: 74px;
        right: 34px;
        font-size: 32px;
        opacity: 1;
        color: #000;
        z-index: 99999;
        width: 15px;
        height: 50px;*/
        /*font-size: 14px;
        position: absolute;
        top: 32px;
        right: 20px;
        border: 1px solid #000;
        height: 20px;
        border-radius: 50%;
        width: 20px;
        text-align: center;
        padding: 2px;
        color: #000;
        opacity: 1;
        z-index: 11;*/
    }

.chatImgWrapper {
    width: 60px;
    position: fixed;
    bottom: 100px;
    right: 55px;
    margin: 0;
    z-index: 9;
    cursor: pointer;
}

    .chatImgWrapper.active .tooltip {
        opacity: 1;
        pointer-events: auto;
        -webkit-transform: translateY(0px);
        -moz-transform: translateY(0px);
        -ms-transform: translateY(0px);
        -o-transform: translateY(0px);
        transform: translateY(0px);
    }

    .chatImgWrapper .tooltip {
        padding-top: 10px;
        height: 40px;
        background: #787878;
        color: #fff;
        display: block;
        right: 4px;
        margin-bottom: 15px;
        opacity: 0;
        font-size: 16px;
        padding: 10px 20px;
        pointer-events: none;
        position: absolute;
        border-radius: 5px;
        width: 166px;
        top: -50px;
        -webkit-transform: translateY(10px);
        -moz-transform: translateY(10px);
        -ms-transform: translateY(10px);
        -o-transform: translateY(10px);
        transform: translateY(10px);
        -webkit-transition: all .25s ease-out;
        -moz-transition: all .25s ease-out;
        -ms-transition: all .25s ease-out;
        -o-transition: all .25s ease-out;
        transition: all .25s ease-out;
        -webkit-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
        -moz-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
        -ms-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
        -o-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
        box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
    }

        .chatImgWrapper .tooltip:before {
            bottom: -20px;
            content: " ";
            display: block;
            height: 20px;
            left: 0;
            position: absolute;
            width: 100%;
        }

        .chatImgWrapper .tooltip:after {
            border-left: solid transparent 10px;
            border-right: solid transparent 10px;
            border-top: solid #787878 10px;
            bottom: -10px;
            content: " ";
            height: 0;
            right: 21px;
            margin-left: -13px;
            position: absolute;
            width: 0;
        }

#chatBoxFrame {
    width: 96% !important;
    bottom: 5% !important;
    right: 2% !important;
}

.animated1 {
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
}

@-webkit-keyframes bounce1 {
    0%, 100% {
        -webkit-transform: translateY(0);
    }

    50% {
        -webkit-transform: translateY(-5px);
    }
}

@keyframes bounce1 {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.bounce1 {
    -webkit-animation-name: bounce1;
    animation-name: bounce1;
}

.ahaAxisBox img#openChatBtn{
  width:55px;
}
.ahaAxisBox{
   right: 4% !important;
  top:inherit !important;
}
.chatImgWrapper .tooltip{
 top:-50px !important;
    right: 4%;
   height: 38px!important;
    width: 90px !important;
  padding: 10px 0!important;
}

@media screen and (width:1366px) {
    .divIframeChat {
        height: 99%;
        bottom: 3%;
    }

        .divIframeChat .close {
            top: 10%;
            right: 36px;
            height: 24px;
        }

    .chatImgWrapper {
        bottom: 30px;
    }
}

@media (min-width:1280px) and (max-width:1360px) {

    .divIframeChat {
        bottom: 0%;
    }

    .chatImgWrapper {
        bottom: 64px;
    }

    #back-to-top {
        bottom: 10px;
    }

    .divIframeChat {
        height: 84%;
    }

        .divIframeChat .close {
            top: 3.8%;
            right: 18px;
        }
}

@media (min-width:1024px) and (max-width:1280px){
   .divIframeChat .close {
  top: 11%;
  right: 36px;
}
}

@media (min-width:600px) and (max-width:1024px) {
    #openChatBtn {
        width: 60px;
    }

    #chatbot {
        width: 100%;
    }

    .divIframeChat {
        width: 34%;
        right: 3%;
        bottom: 4%;
    }

        .divIframeChat .close {
              top: 19px;
            right: 20px;
        }
}

@media(max - width:992px) {
    .divIframeChat {
        width: 45%;
        bottom: 0;
    }

    .chatImgWrapper {
        bottom: 80px;
    }

    #back-to-top {
        bottom: 30px;
    }
}

@media screen and (max-width:600px) {

    .chatImgWrapper {
        right: 0;
    }

    #openChatBtn {
    }

    #chatbot {
       right: 0px;
        width:100% !important;
        bottom: 0;
        height: 102%;
        top: -6px;
    }

    #chatBoxFrame {
        width: 100% !important;
        height: 100% !important;
    }

    .divIframeChat {
        width: 100%;
        bottom: 1%;
        height: 98%;
		right: 0%;
    }

        .divIframeChat .close {
            top: 19px;
            right: 20px;
        }

        .divIframeChat .close {
            top: 14px;
            right: 9px;
            width: 28px;
            height: 26px;
        }
}

@media screen and (max-width:375px) {
    #openChatBtn {
        /*width: 50px;*/
    }
}

@media only screen and (max-width: 767px) {
.chatImgWrapper .tooltip {
   height: 30px!important;
    margin-bottom: 10px;
    margin-top: 6px;
    font-size: 14px;
    line-height: 9px;
	width: 85px !important;
    margin-right: 5px;
}
}
.back-to-top.view{
  display:none;
}
/*chatbox css code end 8/9/2017*/

.stack {
    z-index: 9 !important;
}
