﻿
/* CHAT MOBILE CSS STARTS */
.mobileView {    
    font-size: 13px;
    width: 165px;
    position: fixed;
    z-index: 9999 !important;
    right: 5px;
    bottom: 0px;
}


.chat.mobile-chat {
    width: 98%;
    left: 1%;
    top: 2%;
    right: auto;
    bottom: auto;
    height: 98%;
}

    .chat.mobile-chat .wrapper {
        height: 92%;
        position: relative;
    }

    .chat.mobile-chat .intro Input[type="text"], .chat.mobile-chat .intro Input[type="email"], .chat.mobile-chat .intro textarea {
        width: 99.3%;
        overflow: auto;
    }

    .chat.mobile-chat .live .msgbody {
        width: 98%;
        padding: 1%;
    }

    .chat.mobile-chat .input-msg {      
        width: 100%;
    }

    .chat.mobile-chat .msgrow-left .avtar, .chat.mobile-chat .msgrow-right .avtar {
        width: 5%;
    }

    .chat.mobile-chat .bubbledRight, .chat.mobile-chat .bubbledLeft {
        width: 98%;
    }

/* CHAT MOBILE CSS ENDS */

/* CHAT DESKTOP CSS STARTS */
.chat.desktop-chat {
    width: 40%;
    left: 30%;
    top: 14%;
    right: auto;
    bottom: auto;
    height: 65%;
}

    .chat.desktop-chat .wrapper {
        height: 92%;
        position: relative;
    }


    .chat.desktop-chat .live .msgbody {
        width: 98%;
        padding: 1%;
    }

    .chat.desktop-chat .msgrow-left .avtar, .chat.desktop-chat .msgrow-right .avtar {
        width: 5%;
    }

    .chat.desktop-chat .bubbledRight, .chat.desktop-chat .bubbledLeft {
        width: 95%;
    }
/* CHAT DESKTOP CSS ENDS */
.chat {   
    font-size: 13px;
    width: 280px;
    position: fixed !important;
    z-index: 9999 !important;
    bottom: 5px;
    right: 5px;
    color: #444;
    border-radius:5px;
}

.heading.corner {
    width: 235px;
    right: 35px;
    position: relative;
}

.ddtext {
    font-size: 11px;
}

.hidden-chat .ddtext {
    display: none !important;
}

.tab {
    white-space: nowrap;
    -ms-transform: rotate(-90.0deg);
    -webkit-transform: rotate(-90.0deg);
}

    .tab .heading {
        height: 40px;
        line-height: 1;
        padding-left: 4px;
        width: 135px;
        cursor: move;
        padding-top: 6px;
        border-color: #69ad20;
    }

        .tab .heading .chatclose {
            display: none;
        }

        .tab .heading .title {
            width: 54px;
            line-height: 17px;
            text-align: center;
        }

    .tab.hidden-chat .heading .title {
        position: relative;
        top: -2px;
    }

    .tab .heading span {
        display: inline-block;
    }

        .tab .heading span i {
            display: block;
        }


.chat label {
    display: inline-block;
    font-size: 13px;
    margin-bottom: 0;
    font-weight: normal;
}

.heading {
    border-color: #63C000 #63C000 #63C000;
    border-style: solid;
    border-width: 1px;
    color: white;
    height: 35px;
    font-size: 14px;
    padding-left: 4px;
    line-height: 35px;
    cursor: move;
    background-color: #63C000;
    border-radius: 5px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.intro {
    padding: 10px 5px 5px;
}

    .intro Input[type="text"], .intro Input[type="email"] {
        background-color: white;
        padding: 1px 4px;
        border-top: none;
        border-left: none;
        border-right: none;
        border-bottom: 1px solid #ccc;        
        margin-bottom: 0px;
        color: #373737;
        -webkit-appearance: none;
    }



    .intro textarea {
        border-radius: 0px;
        border: 1px solid #B2B1AA;        
        padding: 1px 4px;        
        font-size: 12.5px;
        resize: none;
        overflow: auto;
        background-color: #fff;
        border: 1px solid #ccc;
        outline: none;
        box-sizing: inherit;
        margin-bottom: 0;
        min-height: 65px;
    }

        .intro textarea:focus {
            border: 1px solid #a8a8a8;
        }

    .intro Input[type="button"] {        
        border: none;       
        color: white;
        font-size: 14px;        
        cursor: pointer;
        -webkit-appearance: none;
        outline: none;
        height: 30px;
    }


.live textarea {
    border-radius: 0px;
    border: none;
    width: 82%;
    padding: 1px 4px;    
    font-size: 13px;
    resize: none;
    margin: 0;
    height: 39px;
    color: #454545;
    outline: none;
    overflow: auto;
    outline: none;
}

.live Input[type="button"] {
    height: 100%;
    width: 18%;
    margin: 0;
    border-radius: 0px;
    border-style: solid;
    border-width: 0px;
    background-color: #71b500;
    line-height: 37px;
    float: right;
    color: white;
    font-size: 14px;
    cursor: pointer;
    -webkit-appearance: none;
    outline: none;
}

    .live Input[type="button"]:hover {
        background-color: #5ea600;
    }

.live .msgbody {
    height: 230px;
    background-color: #eeeeee;
    width: 96%;
    margin: 0 0 3px 0;
    padding: 2%;
    overflow-x: auto;
}

.live .avtar {
    width: 15%;
}

    .live .avtar img {
        width: 30px;
        height: 30px;
        vertical-align: bottom;
    }

.live .chatMsg {
    width: 85%;
    word-wrap: break-word;
    white-space: pre-wrap;
}

    .live .chatMsg a {
        color: white;
        text-decoration: none;
        cursor: pointer;
    }


.left {
    float: left;
    padding-bottom: 5px;
}

.right {
    float: right;
    padding-top: 7px;
}

.bubbledLeft, .bubbledRight {
    padding: 5px 9px;
    position: relative;
    line-height: 1.2 !important;
}

.bubbledLeft {
    float: right;
    -webkit-border-radius: 8px 8px 8px 0px;
    -moz-border-radius: 8px 8px 8px 0px;
    -o-border-radius: 8px 8px 8px 0px;
    -ms-border-radius: 8px 8px 8px 0px;
    border-radius: 8px 8px 8px 0px;
    background-color: #65B045;
    color: #ffffff;
}

    .bubbledLeft:before {
        border-bottom: 10px solid #65B045;
        border-left: 9px solid rgba(0, 0, 0, 0);
        position: absolute;
        bottom: 0;
        left: -8px;
        content: "";
    }

    .bubbledLeft a {
        color: #62ffff !important;
        text-decoration: underline !important;
    }

.bubbledRight {
    float: left;
    -webkit-border-radius: 8px 8px 0px 8px;
    -moz-border-radius: 8px 8px 0px 8px;
    -o-border-radius: 8px 8px 0px 8px;
    -ms-border-radius: 8px 8px 0px 8px;
    border-radius: 8px 8px 0px 8px;
    background-color: #07D;
    color: white;
}

    .bubbledRight:before {
        border-bottom: 9px solid #07D;
        border-right: 9px solid rgba(0, 0, 0, 0);
        position: absolute;
        bottom: 0;
        right: -8px;
        content: "";
    }

    .bubbledRight a {
        color: lime !important;
    }

.livemain .notification {
    background: -moz-linear-gradient(center bottom, #f2f2f3 0%, #fbfbfc 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#fbfbfc',EndColorStr='#f2f2f3');
    background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #f2f2f3), color-stop(1, #fbfbfc));
    border-bottom: 1px solid #B2B1AA;
    padding-left: 5px;
    height: 20px;    
    color: black;
    line-height: 20px;    
    font-size: 12px !important;
}

.welcomeMsg {
    display: inline-block;
    width: 79%;
}

.endtext {
    color: #111111;    
}

    .endtext a {
        text-decoration: none;
        color: #0066cc;
    }

        .endtext a:hover {
            color: green;
        }

    .endtext span {
        font-size: 11px;
        position: relative;
        top: 5px;
    }

.wrapper {
    background-color: #eee;
    border: 1px solid #c3c3c3;
    border-top: none;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.messageForm {
    position: relative;
    top: -5px;
}

.msg {
    font-size: 12px !important;
    font-style: italic;
    font-weight: normal;
    position: relative;
    top: -4px;
}

.msgComment {
    top: -5px;
    left: 2px;
    display: block;
}

.ml5 {
    margin-left: 0px !important;
    height: 12px;
    display: block;
}

.lh12 {
    line-height: 12px;
}

.lh15 {
    line-height: 25px;
}

.lh7 {
    line-height: 7px;
}

.imgCSupport {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    margin-right: 10px;
    border: 1px solid #ddd;
}

.chatclose {
    float: right;
    cursor: pointer;
    padding-right: 5px;
}

.notification .ntfText {
    float: left;
}

.notification a {
    float: right;
    padding-right: 5px;
    cursor: pointer;    
    color: black;
}

    .notification a:hover {
        color: green !important;
    }

.remove {
    display: none !important;
}

.msgrow-left {
    display: table;
    width: 100%;
    margin: 10px 0;
}

    .msgrow-left .avtar {
        display: table-cell;
        text-align: center;
        font-size: 12px;
        line-height: 12px;
        color: #454545;
    }

.msgrow-right {
    display: table;
    width: 100%;
    margin: 10px 0;
}

    .msgrow-right .avtar {
        display: table-cell;
        text-align: center;
        font-size: 12px;
        line-height: 12px;
        color: #454545;
    }

.left-img img {
    margin-bottom: -10px;
}

.input-msg {
    border-top: 1px solid #c3c3c3;
    overflow: hidden;
    height: 37px;
}

i.icn-remove-chat {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("/efile-ui/img/glyphicons-halflings-white.png");
    background-position: 14px 14px;
    background-repeat: no-repeat;
    background-position: -312px 2px;
}

i.icn-view-chat {
    display: inline-block;
    width: 14px;
    height: 15px;
    margin-top: 5px;
    line-height: 14px;
    vertical-align: text-top;
    background-image: url("/efile-ui/img/glyphicons-halflings-white.png");
    background-position: 14px 14px;
    background-repeat: no-repeat;
    background-position: -289px -94px;
}

i.icn-conversation {
    display: inline-block;
    width: 23px;
    height: 23px;
    margin-top: -1px;
    margin-right: 10px;
    line-height: 23px;
    vertical-align: text-top;
    background-image: url("/efile-ui/img/cico.png");
    margin-left: 5px;
}

.hidden-chat {    
    width: 200px !important;
    border-radius: 3px 3px 0 0;
    bottom: 0;
    right: 0;
    height: 29px !important;
    border-bottom: none;
}

    .hidden-chat .heading {
        cursor: pointer;
    }

.tab.hidden-chat {    
    width: 106px !important;
    border-radius: 3px 3px 0 0;
    bottom: 0;
    right: -37px;
    height: 48px !important;
    border-bottom: none;
}

.tab-heading {
    bottom: 60% !important;
}

.error {
    background-color: #fff5f5 !important;
    border: 1px solid #dd0000 !important;
}

.unread {
    position: relative;
    background: #FF0000;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    display: inline;
    padding-left: 4px;
    padding-right: 5px;
    font-size: 12px;
    font-weight: bold;
    top: -25px;
    left: 25px;
    z-index: 1000000;
}

    .unread:after {
        content: '';
        position: absolute;
        border-style: solid;
        border-width: 5px 4px 0;
        border-color: #FF0000 transparent;
        display: block;
        width: 0;
        margin-left: -4px;
        bottom: -5px;
        left: 50%;
        z-index: 1000000;
    }

.cookie {
    height: 278px;
    padding: 5px;
    color: #646464;
    text-shadow: 1px 1px 0 #ffffff;
    overflow-x: hidden;
    overflow-y: auto;
}


.cinstruction {
    color: #4a4a4a;
    text-shadow: none;
    word-break: break-word;
}

    .cinstruction ol {
        margin: 5px 0 !important;
    }

    .cinstruction a {
        color: #07D !important;
        text-decoration: none !important;
    }

        .cinstruction a:hover {
            color: #2d99f6 !important;
        }

.diverror {
    color: white;
    z-index: 10;
    background-color: black;
    opacity: 0.75;
    position: absolute;
    width: 97.5%;
    padding: 1%;
}

.espnm {
    display: table-cell;
    width: 95%;
}

.espnr {
    display: table-cell;
    width: 5%;
    height: 100%;
    cursor: pointer;
}

.errIcort {
    display: table-cell;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    line-height: 1;
    padding-left: 3px;
}

.errIcolt {
    display: table-cell;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    line-height: 1;
    padding-right: 3px;
}

.loadErr {
    margin: 0px auto;
    font-size: 14px;
    color: #646464;
    text-shadow: 1px 1px 0 #ffffff;
    width: 90%;
}

    .loadErr a {
        text-decoration: none;
        color: #0066cc;
    }

        .loadErr a:hover {
            color: green;
        }

.errCnt {
    width: 100px;
    margin: 0px auto;
    padding-top: 10%;
}

#edch {
    display: inline !important;
}


    .submit a {
        color: #0066cc;
        margin-left: 2%;
        cursor: pointer;
        font-size: 11px;
    }

        .submit a:hover {
            color: green;
        }

.typingmsg {
    text-align: center;
    margin-top: -10px;
    color: #646464;
    font-size: 12px !important;    
}

.ratings {
    display: inline-block !important;
    border: 1px solid #ddd;
    background-color: white;
    padding: 10px 10px;
    border-radius:5px;
}

    .ratings span {
        font-size: 13px !important;
        position: relative;
        top: 2px !important;
    }

.lblthnx {
    line-height: 18px !important;
}

.image-tab {    
    position: fixed;
    right: 0;
    bottom: 65%;
    background-color: #76ba00;
    z-index: 99999999;
    border-color: #69ad20;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 0 10px #999;
    color: white;
    cursor: pointer;
    font-size: 14px;
    width: 150px;
    padding: 3px;
    -ms-transform: rotate(270deg); /* IE 9 */
    -moz-transform: rotate(270deg); /* Firefox */
    -webkit-transform: rotate(270deg); /* Safari and Chrome */
    -o-transform: rotate(270deg);
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
}

@media only screen and (max-width:1024px) {
    .chat.mobile-chat .msgrow-left .avtar.chat.mobile-chat .msgrow-right .avtar {
        width: 5%;
    }

    .chat.mobile-chat.live Input[type="button"] {
        width: 19.4%;
    }

    .chat.mobile-chat .bubbledRight, .chat.mobile-chat .bubbledLeft {
        width: 95%;
    }

    .chat.mobile-chat .intro Input[type="text"], .chat.mobile-chat .intro textarea {        
        overflow: auto;
    }

    .chat.desktop-chat .msgrow-left .avtar.chat.desktop-chat .msgrow-right .avtar {
        width: 5%;
    }

    .chat.desktop-chat .bubbledRight, .chat.desktop-chat .bubbledLeft {
        width: 95%;
    }

    .chat.desktop-chat .intro Input[type="text"], .chat.desktop-chat .intro textarea {
        width: 97.3%;
        overflow: auto;
    }
}


@media only screen and (max-width:768px) {
    .chat.mobile-chat .bubbledRight, .chat.mobile-chat .bubbledLeft {
        width: 92%;
    }

    .chat.mobile-chat .intro Input[type="text"], .chat.mobile-chat .intro textarea {        
        overflow: auto;
    }

    .chat.desktop-chat .bubbledRight, .chat.desktop-chat .bubbledLeft {
        width: 92%;
    }

    .chat.desktop-chat .intro Input[type="text"], .chat.desktop-chat .intro textarea {
        width: 98.3%;
        overflow: auto;
    }
}

@media only screen and (max-width:480px) {
    .chat.mobile-chat .bubbledRight, .chat.mobile-chat .bubbledLeft {
        width: 90%;
    }

    .chat.mobile-chat .intro Input[type="text"], .chat.mobile-chat .intro textarea {        
        overflow: auto;
    }

    .chat.desktop-chat .bubbledRight, .chat.desktop-chat .bubbledLeft {
        width: 90%;
    }

    .chat.desktop-chat .intro Input[type="text"], .chat.desktop-chat .intro textarea {
        width: 96.9%;
        overflow: auto;
    }
}

@media only screen and (max-width:360px) {
    .chat.mobile-chat .bubbledRight, .chat.mobile-chat .bubbledLeft {
        width: 85%;
    }

    .chat.mobile-chat .intro Input[type="text"], .chat.mobile-chat .intro textarea {        
        overflow: auto;
    }

    .chat.desktop-chat {
        width: 300px;
        left: 0px;
        top: 0px;
        height: auto;
    }

        .chat.desktop-chat .bubbledRight, .chat.desktop-chat .bubbledLeft {
            width: 85%;
        }

        .chat.desktop-chat .intro Input[type="text"], .chat.desktop-chat .intro textarea {
            width: 96.3%;
            overflow: auto;
        }
}




#divSupport {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 13px;
    background-color: #fff;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #fafafa;
}

#welMsg {
    width: 190px;
}

#chatQuestion {
    padding-top: 5px;
    height: 80px;
}

.intro.adaptive .form-control {
    font-size: 14px;
    padding: 5px 7px !important;
    background-color: #fff !important;
    border: 1px solid #fff;
    border-radius: 5px;
    color: #000;
}

.intro.adaptive .form-group label {
    font-size: 14px;
    left: 8px;
    top: 7px;
    background-color: transparent !important;
}
.intro.adaptive input.form-control:focus ~ label, .intro.adaptive input.form-control:valid ~ label, .intro.adaptive textarea.form-control:focus ~ label, .intro.adaptive textarea.form-control:valid ~ label {
    background-color: transparent !important; 
    background-image: linear-gradient(to bottom, #eeeeee, #ffffff);
}
