.col-md-2, .col-md-10{  padding:0;}
.panel{     margin-bottom: 0px; position: fixed; top: 38px;}
.chat-window { bottom: 0; float: left; height: 100%; margin-right: 0px; position: fixed;  right: 0; 
  background: #f1f0f0; z-index: 999999;-webkit-transform: translate3d(0%,0,0);}
.chat-window > div > .panel{ border-radius: 5px 5px 0 0;}
.icon_minim{  padding: 0px 0px;}
.msg_container_base{  background: #e5e5e5; margin: 0; padding: 0 10px 10px; overflow-x: hidden; height:580px;}
.top-bar {
     background: #68287c;
     color: white;
     padding: 10px;
     position: fixed;
     overflow: hidden;
     z-index: 999;
    min-width: 396px;
}
.msg_receive{
    padding-left:0;
    margin-left:0;
}
.msg_sent{
    padding-bottom:20px !important;
    margin-right:0;
}
.messages {
  background: white;
  padding: 10px;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  max-width: 100%;
}
.messages > p {
    font-size: 13px;
    margin: 0 0 0.2rem 0;
  }
.messages > time {
    font-size: 11px;
    color: #545454 !important;
}
.msg_container {
    padding: 5px 14px 5px 14px;
    overflow: hidden;
    /*display: flex;*/
}

.avatar {
    position: relative;
}
.base_receive > .avatar:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border: 5px solid #FFF;
    border-left-color: rgba(0, 0, 0, 0);
    border-bottom-color: rgba(0, 0, 0, 0);
}

.base_sent {
  justify-content: flex-end;
  align-items: flex-end;
}
.base_sent > .avatar:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border: 5px solid white;
    border-right-color: transparent;
    border-top-color: transparent;
    box-shadow: 1px 1px 2px rgba(black, 0.2); // not quite perfect but close
}

.msg_sent > time{
    float: right;
}



.msg_container_base::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}

.msg_container_base::-webkit-scrollbar
{
    width: 12px;
    background-color: #F5F5F5;
}

.msg_container_base::-webkit-scrollbar-thumb
{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #555;
}

.btn-group.dropup{
    position:fixed;
    left:0px;
    bottom:0;
}
.chat-window .glyphicon {top: 0px;color: white;font-weight: bold;}
.chat-window .chat-icon{top: 4px;}
.chat-window .btn-primary { /* color: #fff; */ background-color: #68287c; border-color: #310440;}
.chat-window .panel-default>.panel-heading { color: #333; background-color: #68287c;  border-color: #ddd;}
.chat-window .panel-title{ color:#fff;}
.without-login{
      background: #fff;
    padding:  20px 20px 40px 20px ;
    margin: 10px 0px 0px -1px;
    position: fixed;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    bottom: 0;
  min-width: 377px;

    }
.without-login label{font-family: Arial, Helvetica, sans-serif;font-size: 14px;font-weight: normal;color: #000;}

.chat-window input::-webkit-input-placeholder {color:#000 !important;}
.chat-window input:-moz-placeholder { color:#000 !important;}
.chat-window input::-moz-placeholder { color:#000 !important;}
.chat-window input:-ms-input-placeholder { color:#000 !important;}
.input-group { width: 100%;}











.attacment{width: 100%;margin: 10px 0px 0px 0px;border: 1px solid #dcdcdc;position: relative;padding: 7px 10px 0px 10px;display: inline-block;text-align: left;}
.attacment ul{margin: 0;padding: 0;display: inline-block;text-align: center;}
.attacment ul li{margin: 0;padding: 0;display: inline-block; position: relative; z-index: 99;float: left;}
.attacment ul li a{padding: 0;float: left;margin: 0px 7px 0px 8px;color: #585858;font-size: 17px;cursor: pointer;}
.chat_input{ height: 40px;}
.chat-window .panel-title {color: #fff;font-size: 12px !important;}
.close_end{float: right;font-size: 17px;margin: 0px 0px 0px 11px;}
.save_history {float: right;font-size: 17px;}
.chat-window .chat-icon {top: 0px !important;}
.chat-team {
 width: 100%;
  padding: 20px 12px 26px;
  background-color: #fff;
  overflow: hidden;
  box-shadow: 0 0 3px rgba(0,0,0,.2);
  margin-bottom: 10px !important;
  margin-top: 15px;
  text-align: center;
  }
.chat-team h1{ margin: 0; font-family: arial !important; font-size: 17px !important; text-align: center; color: #333 !important;}
.chat-team p { margin: 3px 0px 0px 0px; font-family: arial !important; font-size: 12px !important; text-align: center; color: #888 !important;}
.chat-team figure{width: 17%;display: inline-block;border-radius: 50%;margin: 20px 10px;font-size: 12px;color: #888 !important;text-align: center;}
.chat-team figure img{width: 100%;height: auto;border-radius: 50%;margin-bottom: 5px;}
.chat-team h2{    margin: 0px 0px 0px 0px;
    font-family: arial !important;
    font-size: 13px !important;
    color: #68287c!important;
    text-align: center;
    display: inline-block;
    line-height: 1.42857143;}
.conv-with{
    font-size: 14px;
    text-align: center;
    display: inline-block;
    border: 1px solid #cecece;
    margin: 10px 0px 0px 0px;
    background: #ececec;
    color: #525252 !important;
    width: 100%;
    background-color: #f7f7f7;
    overflow: hidden;
    box-shadow: 0 0 3px rgba(0,0,0,.2);
    padding: 8px 10px;
}
.panel-footer {
    position:fixed;
    bottom: 0;
    float: left;
width: 394px;
    padding: 16px 15px;
    }
.pm{ margin-left: -30px; margin-right: -30px;}


.top-bar a{ color: #FFF;}


.attacment ul li:first-child  {
 background: url(../img/attach-icon.png);
 background-repeat:no-repeat;
 width: 16px;
 float: left;
 margin: 3px 0px 0px 0px;
 cursor: pointer;
 position: relative;
 z-index: 9;
}

.attacment input[type="file"] { filter: alpha(opacity=0); opacity: 0;}
.help-block{ color: red !important;font-size: 12px;margin-top: 2px;}
.file-btn-nw{float: left;cursor: pointer;}

#show_message_here{
    margin: 0px 0px 20px 0px;
    font-family: arial !important;
    font-size: 13px !important;
    color: #68287c!important;
    text-align: center;
    display: inline-block;
    line-height: 1.42857143;
    border: 1px solid #ccc !important;
    padding: 10px 10px 10px 10px;
    background: #fff;
        width: 339px;
    }

.without-login textarea{  height: 90px;}
.without-login textarea::-webkit-input-placeholder { color: #000 !important;} 
.without-login textarea:-moz-placeholder { color: #000 !important;} 
.without-login textarea::-moz-placeholder { color: #000 !important; } 
.without-login textarea:-ms-input-placeholder { color: #000 !important; }
.without-login label.error {color: #f00 !important;font-weight: normal;font-size: 12px !important; margin-bottom: 0; margin-left: 3px; }


.without-login { [;position:relative;;]; }
.msg_container_base { [;height:340px; overflow: visible !important;;]; }
.panel { [;position:relative;;]; }
.top-bar{ [;min-width: 395px; margin-left: 15px;;]; }

#show_message_here { [;padding: 5px 5px 5px 5px;;]; }

.panel-footer { [;bottom: 30px; position:relative;;]; }

.msg_container_base {height: 350px;}

.chat_input  { [;height: 30px;;]; }



.without-login textarea{ [;height: 60px;;]; }


#captcha_no{ float: right;  width: 77%;}
.captcha-img{  float: left;  margin: 4px 15px 20px 0px;}









@media only screen and (max-width:1400px){
.msg_container_base { height: 485px;padding: 0 15px 10px;}
.without-login { width: 306px;min-width: 306px;}
.input-group .form-control { width: 81%;}
.attacment { width: 81%;}
.hide_panel_this textarea { width: 73% !important;}
.agent_pass_id { width: 63% !important;}
.panel-footer { width: 408px;}
.top-bar { min-width: 338px;}
#show_message_here { width: 263px !important;}
}








