/* 
    Created on : Oct 1, 2017, 5:45:52 PM
    Author     : Tahir Nazir
*/

.img-circle {
    border-radius: 50%;
}


img {
    vertical-align: middle;
}

img {
    border: 0;
}

.pull-right {
    float: right!important;
}

.clearfix:before, .clearfix:after {
    display: table;
    content: " ";
}

.pull-left {
    float: left!important;
}



.input-group {
    position: relative;
    display: table;
    border-collapse: separate;
}

.input-group-btn {
    position: relative;
    white-space: nowrap;
}

.smart_chat_window {
        display: none;
        width: 380px;
        box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
        border-radius: 5px;
}


#wpas_smart_chat {
    position: fixed;
    z-index: 115;
}


#wpas_smart_chat.location-lower_right {
        bottom: 15px;
        right: 15px;
}

#wpas_smart_chat.location-lower_left {
        bottom: 15px;
        left: 15px;
}

#wpas_smart_chat.location-top_right {
        top : 15px;
        right: 15px;
}

#wpas_smart_chat.location-top_left {
        top : 15px;
        left: 15px;
}


#wpas_smart_chat .wpas_smart_chat_button {
        
    width: 50px;
    height: 50px;
    border-radius: 12px;
    pointer-events: auto;
    cursor: pointer;
    visibility: visible;    
        background: #649a63;
    color: #FFF;
    padding: 6px 17px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
        
}


.sc_header {
        padding: 10px 15px;
        border-bottom: 1px solid transparent;
        background-color: #e4392b;
        box-shadow: 0 1px rgba(0, 0, 0, 0.2);
        box-sizing: content-box;
        color: #fff;
        font-weight: 500;
        font-size: 18px;
        height: 31px;
        left: 0;
        letter-spacing: 0.5px;
        padding: 13px 8px 0 15px;
        
        right: 0;
        top: 0;
        z-index: 1;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
}
        

.ti-close {
        float: right;
        cursor: pointer;
}


.sc_messages {
        background: #FFF;
        overflow-y: scroll;
        height: 250px;
        font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
        font-size: 14px;
        line-height: 1.428571429;
        color: #333;
}


.sc_messages {
        padding: 15px;
}

.sc_footer {
        position: relative;
        height: 40px;
        padding: 10px 15px;
        
        border-top: 1px solid #ddd;
        border-bottom-right-radius: 5px;
        border-bottom-left-radius: 5px;
        
        background: #FFF;
}

.sc_textbox {
        bottom: 0;
        left: 5px;
        right: 50px;
        
        position: absolute;
        top: 0;
        
        z-index: 20;
}


.sc_textbox input {
        border: 0 !important;
        height: 100%;
        background: #FFF !important;
}

.sc_send_btn {
        bottom: 0;
        right: 5px;
        z-index: 20;
        width: 50px;
        position: absolute;
        top: 0;
        cursor: pointer;
        background: url(../../images/send.png) no-repeat center center;
}


@media (max-width: 520px) {
        .smart_chat_window {
                width: 100%;
        }
}


@media (min-width: 1200px) {

        #wpas_smart_chat {
            max-width: 1170px;
        }
}

@media (min-width: 992px) {

        #wpas_smart_chat {
                max-width: 970px;
        }
        
}

@media (min-width: 768px) {
        #wpas_smart_chat {
                max-width: 420px;
        }
}

#wpas_smart_chat {
        margin-right: auto;
        margin-left: auto;
}







.chat
{
    list-style: none;
    margin: 0;
    padding: 0;
}

.chat li {
    margin-bottom: 10px;
    padding-bottom: 5px;
}



.chat li.bot {
        float: left;
        margin-left: 8px;
}

.chat li.clearfix {
        clear: both;
        
}

.chat li.bot .message-content {
        background-color: #eceff1;
}

.chat li.customer {
        float: right;
        margin-right: 8px;
}


.chat li .info {
    color: #9e9e9e;
    font-size: 11px;
    margin-top: 3px;
}




.chat li.bot, .chat li.customer {
        max-width: 85%;
        position: relative;
}


.chat li.bot .message-content, .chat li.customer .message-content {
        border-radius: 2px;
        box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
        padding: 8px;
        word-break: break-word;
        
}

.chat li.bot .message-content p, .chat li.customer .message-content p {
        margin: 0;
}



.sc_messages {
    overflow-y: scroll;
    height: 500px;
}


.sc_messages::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}

.sc_messages::-webkit-scrollbar {
    width: 12px;
    background-color: #F5F5F5;
}

.sc_messages::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #555;
}


.reply_link {
        overflow: hidden;
        height: 24px;
        line-height: 24px;
}


#wpas-sc-new-ticket {
        padding: 20px;
        font-family: Arial, sans-serif;
}

#wpas-sc-new-ticket h3 {
        margin-bottom: 26px;
        
}

#wpas-sc-new-ticket .notify {
        display: none;
}

#wpas-sc-new-ticket .wpas-form-group>label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    margin-right: 15px;
    font-weight: 700;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.spinner {
        background: url(../../images/loading.gif) no-repeat;
        background-size: 16px 16px;
        display: inline-block;
        width: 16px;
        height: 16px;
        margin-left: 20px;
}