﻿b
{
    font-weight:bold;
}

i
{
    font-style:italic;
}

body {
  padding: 50px;
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
}

a {
  color: #00B7FF;
}

#chatviewer-loadingarea
{
    position: absolute;
    background-color: #ffffff;
}

#chatviewer-loadingarea img
{
    position: relative;
    top: 4px;
    background-repeat: no-repeat;
}

#chatviewer-loadingarea img.loading
{
    background-image: url("../images/Loading2.gif");
    width: 16px; 
    height: 16px;
}

#chatviewer-loadingarea img.error
{
    background-image: url("../images/error24.png");
    width: 24px; 
    height: 24px;
}

#chatviewer-serverstatus
{
    text-align: center;
}

#chatviewer-serverstatus img
{
    background-repeat: no-repeat;
}

#chatviewer-serverstatus img.disconnected
{
    background-image: url("../images/Warning.png");
    width: 16px; 
    height: 16px;
}

#chatviewer-serverstatus span
{
    margin-left: 10px;
}


#chatviewer, #chatviewer-managertab
{
    font-size:14px;
    /*white-space:pre-wrap;
    word-break:break-all;*/
    word-wrap:break-word;
    box-sizing:border-box;
}

#chatviewer-toolbar, #chatviewer-toolbar-managertab
{
    padding:0 0 8px 0;
    border:0;
    text-align:center;
}

.chatviewer-columntitle
{
    margin-bottom:16px;
    font-size:16px;
    padding:3px 0 6px;
    text-align:center;
    border-bottom:1px solid #ccc;
    box-sizing:border-box;
}

#chatviewer-usercolumn
{
    float:left;
    width:35%;
    padding:10px 10px 0;
    box-sizing:border-box;
}

#chatviewer-userlist span.username
{
    padding-left: 4px;
}

#chatviewer-userlist
{
    border:0;
    height: 400px;
    overflow: auto;
}

.chatviewer-messagecolumn, #chatviewer-messagecolumn
{
    float:left;
    width:65%;
    padding:10px;
    text-align:left;
    box-sizing:border-box;
}

#chatviewer-toolbar button
{
    height: 25px;
    width: 80px;
}

#chatviewer-chattypecontainer
{
    position: absolute;
    bottom: 6.0em;
    left: 1.4em;
}

#chatviewer-usercontainer
{
    line-height: 20px;
    text-align: left;
}

#chatviewer-messagesubmitbutton
{
    height: 28px;
    width: 60px;
    position: absolute;
    right: 1.2em;
    bottom: 7.4em;
}

#chatviewer-messagelist, #chatviewer-messagelist-managertab
{
    height: 400px;
    overflow: auto;
    margin-bottom: 10px;
    margin-top: 10px;
    padding: 2px;
}

#chatviewer-contentarea
{
    min-width: 600px;
    min-height: 400px;
}

.chatviewer-messagecontainer
{
    margin-right: 4px;
    margin-bottom: 4px;
    margin-left: 4px;
}

.chatviewer-messageheader
{
    padding:5px 9px;
    font-weight:bold;
    color:#fff;
    box-sizing:border-box;
}
.chatviewer-messageheader-privatemessage
{
    outline:1px dashed #fff;
    outline-offset:-2px;
}

.chatviewer-messagedate
{
    font-size:11px;
    font-style:italic;
    color:#fff;
}

.chatviewer-message
{
    padding:8px 14px 10px 20px;
    background-color: #fff;
}

.chatviewer-messageheader-special
{
    float:right;
    font-weight:bold;
    font-style:italic;
    color:#fff;
}

/* Manager Action related */

#chatviewer-managerActionHeader
{
    margin-bottom:10px;
    padding:5px 0 8px 0;
    color:#fff;
    text-align:center;
    font-weight:bold;
    background-color:#ED143D;
}

#chatviewer-messagebar
{
    display:inline;
    margin-top:10px;
    width: 66%;
    height: 2.6em;
    padding-left:185px;
    margin-left: 8px;
}

#chatviewer-messagebar-mode
{
    display:none;
    /* See OVERRIDES Section below */
    /*display:inline;
    position:relative;
    top:-24px;
    margin-left:5px;
    padding:5px 8px;
    width:70px;
    color:#fff;
    font-weight:bold;
    background-color:#B8C1CA;
    border-radius:4px;
    box-sizing:border-box;*/
}

#chatviewer-messagebar-send
{
    position:relative;
    top:-29px;
    float:right;
    font-weight:bold;
}

/* USER TYPE COLORS */
.chatviewer-color-agent
{
    background-color:#5F9EA0;
}

.chatviewer-color-customer
{
    background-color:#6495ED;
}

.chatviewer-color-manager
{
    background-color:#A52A2A;
}

.chatviewer-color-admin
{
    background-color:#00B82E;
}

.chatviewer-textcolor-agent
{
    color:#5F9EA0;
}

.chatviewer-textcolor-customer
{
    color:#6495ED;
}

.chatviewer-textcolor-manager
{
    color:#A52A2A;
}

.chatviewer-textcolor-admin
{
    color:#00B82E;
}

/* BORDERS */
.chatviewer-border-privatemessage
{
    border-style:dashed !important;
    border-top:0 !important;
    word-wrap: break-word;
}


.chatviewer-border-agent
{
    border:1px solid #5F9EA0;
    word-wrap: break-word;
}

.chatviewer-border-customer
{
    border:1px solid #6495ED;
    word-wrap: break-word;
}

.chatviewer-border-manager
{
    border:1px solid #A52A2A;
    word-wrap: break-word;
}

.chatviewer-border-admin
{
    border:1px solid #00B82E;
    word-wrap: break-word;
}

/* ICONS */
.chatviewer-headericon
{
    width:32px;
    height:32px;
    color:#fff;
    font-size:32px;
    margin-right:9px;
    float:left;
}

/* OTHERS/OVERRIDES */
.chatviewer-message a
{
    font-weight:bold;
    color:crimson;
}

#chatviewer ul
{
    list-style: none;
}

/* OVERRIDES */

.k-state-active, .k-state-active:hover
{
    background-color: #0062AD;
    color: #ffffff;
}

.k-sprite
{
    font-size:14px;
    margin-right:3px;
}

#chatviewer-messagecolumn .k-dropdown.k-header
{
    position:relative;
    top:-29px;
    margin-left:5px;
    padding:1px 0 1px 4px;
    width:65px;
    color:#fff;
    font-weight:bold;
    background-color:#B8C1CA;
    border-radius:4px;
    box-sizing:border-box;
}
#chatviewer-messagecolumn .k-dropdown-wrap
{
    background:none !important;
    border:0 !important;
    padding: 0 !important;
}
#chatviewer-messagecolumn .k-dropdown-wrap .k-input
{
    color:#fff;
    font-weight:bold;
}
#chatviewer-messagecolumn .k-dropdown-wrap .k-icon.k-i-arrow-s
{
    position: relative;
    top: 9px;
    width: 0px;
    height: 0px;
    background: none;
    border-top: 5px solid white;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}
