﻿.chatlist {
    z-index:9999998;
    position:absolute;
    top:65px;
    right:560px;
}
.chatlistbyspec {
    z-index:9999998;
    position:fixed;
    top:40%;
    left:35%;
}
.chatdetail {
    z-index:9999999;
    
}
.chat-section{
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
}
.panel {
    background-color: #fff;
    border: 1px solid #a3cfe5;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.panel-heading{
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
}
.panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 12px;
    color: #333;
    white-space:nowrap;
    overflow:hidden;
}
.panel-footer {
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}
.input-group {
    position: relative;
    display: table;
    border-collapse: separate;
}
.top-bar {
    color: white;
    padding: 10px;
    position: relative;
    overflow: hidden;
    min-width:380px;
    background-color: #a3cfe5;
}
.cursor-move {
    cursor:move;
}
.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Chrome/Safari/Opera */
    -khtml-user-select: none; /* Konqueror */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently*/
}
.message-summary{
    z-index:1000px;
    top:60;
    position:fixed;
    float:right;
    margin-left:10px;
    min-width:400px;
}
.img-circle {
    border-radius: 50%;
}
.pull-left {
    float: left !important;
    position:relative;
}
.chat-window{
    bottom:0;
    position: fixed;
    float:right;
    margin-left:10px;
    /*left:1127px;*/
    right:50px;
    min-width:460px;
    width:500px;
    z-index:9990009;
}
.chat-window > div > .panel{
    border-radius: 5px 5px 0 0;
}
.icon_minim{
    padding:2px 10px;
}
.msg_container_base{
  background: #fff;
  margin: 0;
  padding: 0;
  max-height:300px;
  overflow-x:hidden;
}
.msg_system{
    padding-left:0;
    margin-left:0;
    background-color: #fff !important;
}
.messagesheader{
    display:block;
    clear:both;
    width:418px;
    max-width:416px;
}
.msg_receive{
    padding-left:0;
    margin-left:0;
    background-color: #f0f4f8 !important;
}
.msg_sent{
    margin-right:0;
    background-color: #c7edfc !important;
}
.msg_time_sent {
    font-size: 12px;
    color: #aaa;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align:right;
}
.msg_time_receive {
    font-size: 12px;
    color: #aaa;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align:left;
}
.messages_system {
  background: white;
  padding: 10px;
  max-width:100%;
}
.messages_system > p {
    font-size: 13px;
    color:#666;
    margin: 0 0 0.2rem 0;
  }
.messages_system > time {
    font-size: 11px;
    color: #ccc;
}
.messages {
  padding: 8px;
  border-radius: 6px;
  /*box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);*/
  width:400px;
  max-width:400px;
}
.messages > p {
    font-size: 13px;
    margin: 0.1rem 0 0.1rem 0;
  }

.msg_container {
    padding: 5px 10px;
    overflow: hidden;
    display: flex;
}

.avatar {
    position: relative;
}
.base_system{
    
}
.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_breakline
{
    border-bottom:1px solid #bbb;
}
.msg_breaklinetext
{
    text-align:center;
    z-index:1;
    margin-top:-12px;
}
.msg_breaklinetext span
{
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 13px;
    color: #aaa;
    background-color:#fff;
    padding:10px;
}
.msg_nochattext
{
    text-align:center;
    z-index:1;
}
.msg_nochattext span
{
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 13px;
    color: #aaa;
    background-color:#fff;
}
.messagenumber {
    color:#fff;
    background-color:red;
    z-index:5;
    margin-left:-18px;
    margin-top:-8px;
    position:absolute;
    padding:3px;
    border-radius: 12px;
    font-family:Arial;
    font-size:12px;
    line-height:12px;
    min-width:12px;
    text-align:center;
    font-weight:bold;
}
.messagenumberdashboard {
    color:#fff;
    background-color:red;
    z-index:5;
    margin-top:-8px;
    position:absolute;
    padding:3px;
    border-radius: 12px;
    font-family:Arial;
    font-size:12px;
    line-height:12px;
    min-width:12px;
    text-align:center;
    font-weight:bold;
}
.numberunread {
    color:#fff;
    background-color:red;
    z-index:5;
    margin-left:0px;
    margin-top:0px;
    position: absolute;
    padding:3px;
    border-radius: 12px;
    font-family:Arial;
    font-size:12px;
    line-height:12px;
    min-width:12px;
    text-align:center;
    font-weight:bold;
}

.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);
}

.btn-group.dropup{
    position:fixed;
    left:0px;
    bottom:0;
}



.chat {
    list-style: none;
    margin: 0;
    padding: 0;
}
.chat li
{
    margin-bottom: 10px;
    padding: 5px;
    border-bottom: 1px dotted #B3A9A9;
    cursor:pointer;
}
.chat li:hover{
    background-color:#f0f0f0;
}
.chat li.left .chat-body
{
    margin-left: 60px;
}

.chat li.right .chat-body
{
    margin-right: 60px;
}


.chat li .chat-body p
{
    margin: 0;
    color: #777777;
}

.panel .slidedown .glyphicon, .chat .glyphicon
{
    margin-right: 5px;
}

.panel-body
{
    overflow-y: scroll;
    height: 400px;
}

::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}

::-webkit-scrollbar
{
    width: 12px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb
{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
}


@font-face {
  font-family: 'Glyphicons Halflings';

  src: url('/fonts/glyphicons-halflings-regular.eot');
  src: url('/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('/fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('/fonts/glyphicons-halflings-regular.woff') format('woff'), url('/fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}
.glyphicon {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.glyphicon-comment::before {
    content: "\e111";
}
.glyphicon-minus::before {
    content: "\2212";
}
.glyphicon-unchecked:before{
    content: "\e011";
}
.icon_minim {
    padding: 2px 10px;
}
.glyphicon-remove::before {
    content: "\e014";
}
.glyphicon-edit::before {
    content: "\e065";
}

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}



.input-group-btn {
    position: relative;
    font-size: 0;
    white-space: nowrap;
}
.input-group-addon, .input-group-btn {
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
}

.btn {
    display: inline-block;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
        border-top-color: transparent;
        border-right-color: transparent;
        border-bottom-color: transparent;
        border-left-color: transparent;
    border-radius: 4px;
}
.btn-group-sm > .btn, .btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}
.btn-primary {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

.input-group .form-control {
    position: relative;
    z-index: 2;
    float: left;
    width: 100%;
    margin-bottom: 0;
}
.input-sm {
    height: 30px !important;
    padding: 0 5px 0 5px !important;
    font-size: 12px;
    line-height: 1.2;
    border-radius: 3px;
        border-top-right-radius: 3px;
        border-bottom-right-radius: 3px;
}
.input-group .form-control, .input-group-addon, .input-group-btn {
    display: table-cell;
}
.input-group .form-control {
    position: relative;
    z-index: 2;
    float: left;
    width: 100%;
    margin-bottom: 0;
}

.input-group .form-control:first-child, .input-group-addon:first-child, .input-group-btn:first-child > .btn, .input-group-btn:first-child > .btn-group > .btn, .input-group-btn:first-child > .dropdown-toggle, .input-group-btn:last-child > .btn-group:not(:last-child) > .btn, .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.input-group .form-control:last-child, .input-group-addon:last-child, .input-group-btn:first-child > .btn-group:not(:first-child) > .btn, .input-group-btn:first-child > .btn:not(:first-child), .input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group > .btn, .input-group-btn:last-child > .dropdown-toggle {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.input-group-btn > .btn {
    position: relative;
}
.chat_input
{
    position: relative;
    z-index: 2;
    float: left;
    margin-bottom: 0;
    display: table-cell;
    padding: 3px !important;
    font-size: 16px;
    line-height: 20px;
    border-radius: 3px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    height: auto;
    min-height:22px;
    max-height:100px;
    overflow-y:auto;
    overflow-wrap:break-word;
}
 .chat_input:empty:before{
    content: attr(data-placeholder);
    color:#bbb;
}
.chat_input:focus:before{
    content:none;
}
.selectsource{
    min-width:180px;
    max-width:300px;
    padding:5px;
    height:auto !important;
}
.chatlist_link{
    text-decoration:none !important;
}
.chatlist_link strong{
    text-decoration:none !important;
    color:#333 !important;
}
.chatlist_link small{
    color:#777 !important;
}
.chat_input_lines
{
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    display: table-cell;
    padding: 3px !important;
    font-size: 16px;
    line-height: 20px;
    border-radius: 3px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    width:400px; 
    height:180px;
    min-width:400px;
    min-height:180px;
    max-width:400px;
    max-height:180px;
    overflow-y:auto;
    overflow-wrap:break-word;
}
.chat_input_lines:empty:before{
    content: attr(data-placeholder);
    color:#bbb;
}
.chat_input_lines:focus:before{
    content:none;
}

/* Make the button flash - Stops after a time */
.OutlinePulse, .OutlinePulse:link, .OutlinePulse:visited
{
    -webkit-animation: pusate 1s 10 alternate; /* animation name, duration, overall time, plays back & forth */
    -animation: pusate 1s 10 alternate;
}
.OutlinePulse:hover, .OutlinePulse:active 												{}

/* Open/close Link */
.IconOpenClose							{margin:2px;}
.LinkOpenClose							{font-weight:bold; font-size:14px;}
.LinkOpenCloseSM 						{font-weight:normal; font-size:12px;}

.BlackLink, .BlackLink:link, .BlackLink:visited {
    display: inline-block;
    color: #000;
    background-color: transparent;
    text-decoration: none;
    margin: 0;
    vertical-align: middle !important;
    line-height: normal;
}

.BlackLink:hover, .BlackLink:active {
    color: #666;
}

.ButtonToggle, .ButtonToggle:link, .ButtonToggle:visited {
    color: #000000;
    border: solid 1px #000000;
    background-color: #ffffff;
    padding: 3px 5px;
    text-decoration: none;
}

.ButtonToggle:hover, .ButtonToggle:active {
    color: #ffffff;
    border: solid 1px #f63;
    background-color: #f08c3d;
    padding: 3px 5px;
}

.LinkButtonToggle, .LinkButtonToggle:link, .LinkButtonToggle:visited {
    color: #000000 !important;
    padding: 3px 5px;
    text-decoration: none;
}

.LinkButtonToggle:hover, .LinkButtonToggle:active {
    color: #ffffff;
    padding: 3px 5px;
}

.LinkButtonToggle i, .LinkButtonToggle:link i, .LinkButtonToggle:visited i {
    color: #000000 !important;
}

/* Outline Button - White */
.OutlineButton, .OutlineButton:link, .OutlineButton:visited 		{color:#000; background-color:#fff; border:1px solid #888; font-size: 11px; display: inline-block; line-height:none; text-align: center; padding: 5px 16px 5px 16px; text-decoration: none; margin: 5px 4px 5px 4px; border-radius: 4px; font-family:Arial, Helvetica, sans-serif;}
.OutlineButton:hover, .OutlineButton:active 	 {background-color:#f08c3d; color: #fff;}
.OutlineButton img {width:16px; height:16px; margin-bottom:-3px;}

.ActionButtons {text-align:center;}

.ColorBlue {color:#0099cb;}
.ColorBlack{color:#000000;}
.ColorOrange{color:#ff9a33;}
.ColorGreen{color:#68b269;}
.ColorWhite {color:#ffffff;}
.ColorGrey {color:#aaaaaa;}

@-webkit-keyframes pusate {
    from {color:#36C; border:1px solid #888;}
    to {border:1px solid #36C; background-color:#8dc9e8;}
}
@keyframes pusate {
    from {color:#36C; border:1px solid #888;}
    to {border:1px solid #36C; background-color:#8dc9e8;}
}

/* Icon Pulse - Stops after a time - Black to Blue */
.IconPulse
{
    -webkit-animation: iconpusate 1s 20 alternate; /* animation name, duration, overall time, plays back & forth */ /* ## Note: to make continuous flashing replace the '10' with 'infinite' ## */
    -animation: iconpusate 1s 20 alternate;
}
.icon-background1
{
    color:#eee !important;
    /*background-color: #ddd;*/
}
.icon-user
{
}
@-webkit-keyframes iconpusate {
    from {color:#000;}
    to {color:#f63;}
}
@keyframes iconpusate {
    from {color:#000;}
    to {color:#f63;}
}