﻿.mainchat{ z-index: 99; position: fixed;   bottom: 0;right: 2px;padding:0px;  background: #ffba00; }
.mainchat .chat{width: 260px; color: #fff; line-height: 0;float: left; cursor: pointer; font-size: 12pt; font-weight: bold;  padding:20px 0 20px  10px;overflow: hidden;  background:url("../images/top-arrow.png") no-repeat scroll 220px 0px rgba(0, 0, 0, 0)}
.chat1{padding: 10px 0;  position: relative;}
.chat2{padding: 10px 0px; position: relative;}

.cha_nows {font-family: "Source Sans Pro",sans-serif;
}
.mainchat.active .cha_nows {}
.chatin
{
    max-height: 320px;
    min-height: 200px;
    overflow: hidden;
    width: 440px;
}
.chatin:hover
{
    overflow: auto;
}
.chatin2
{
    max-height: 320px;
    min-height: 200px;
    overflow: auto;
    width: 438px; /*padding: 0 15px;*/
    background: #eeecec;
}
.attach
{
    position: absolute;
    right: 15px;
    top: 15px;
}
.mainchat .showcontent{  background: #00adef;  -webkit-border-radius: 10px; -moz-border-radius: 10px;  line-height: 1.7em;}
.mainchat .active{background: url("../images/down-arrow.png") no-repeat scroll 420px 0 #ffba00;padding: 20px 0 20px 22px; width: 458px;}
.mainchat .active .save{ display: inline-block;}
.mainchat .red{ color: #ff0000;}
.mainchat .tbl{margin: 10px 0 0;}
.mainchat .tbl td{height: 25px;}
.mainchat .tbl td input[type=text], .mainchat .tbl td select{ border: 1px solid #ccc; -webkit-border-radius: 3px; -moz-border-radius: 3px;  border-radius: 3px;  font: normal 10pt "Trebuchet MS" , Arial, Helvetica, sans-serif; width: 200px;}
.mainchat .tbl td input[type=button]
{
    background: #ff0000;
    border: 0px;
    color: #fff;
    height: 25px;
    width: 100px;
    border-radius: 3px;
    text-align: center;
    cursor: pointer;
}
        
.mainchat .tbl1 td input[type=text], .mainchat .tbl1 td select
{
    border: 1px solid #ccc;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font: normal 10pt "Trebuchet MS" , Arial, Helvetica, sans-serif;
    width: 150px;
}
.mainchat .tbl1 td input[type=button]
{
    background: #ff0000;
    border: 0px;
    color: #fff;
    height: 25px;
    width: 60px;
    border-radius: 3px;
    text-align: center;
    cursor: pointer;
}
.mainchat .tbl1 td textarea
{
    min-width:300px; max-width:300px;
    min-height:50px; max-height:50px;
    margin: 0; padding:0;
    border: 1px solid #ccc;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.photo
{
    width: 40px;
    border: 1px solid #eee;
    padding: 3px;
    background: #fff;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}
        
.smallphoto
{
    width: 35px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    float: left;
}
.nrm
{
    font-weight: normal;
    font-size: 9pt;
    color: #666;
    float: left;
    margin-left: 10px;
    width: 340px;
    position: relative;
}
        
.txt
{
    font-weight: normal;
    font-size: 9pt;
    color: green;
    float: left;
    margin-left: 10px;
    padding-left: 15px;
    background: url(../../../images/3.png) no-repeat center left;
}

.txt1
{
    font-weight: normal;
    font-size: 9pt;
    color: #cccccc;
    float: left;
    margin-left: 10px;
    padding-left: 15px;
    background: url(../../../images/3.png) no-repeat center left;
}
.time
{
    position: absolute;
    right: -10px;
    top: 0;
    font-size: 7pt;
    color: #aaa;
}
.time1
{
    position: absolute;
    right: 10px;
    bottom: -5px;
    font-size: 7pt;
    color: #aaa;
}

.rgt
{
    float: left;
    width: 250px;
    height: 60px;
    margin:11px 0 0 6px;
}
.bld
{
    font-weight: bold;
    font-size: 12pt;
}
.chatingmain
{
    padding: 10px 15px 10px 10px;
    background-color: #fff;
    float: left;
    border-bottom: 1px dashed #ddd;
}
.chatingmain:hover
{
    background: #eeecec;
    cursor: pointer;
}
.chating
{
    padding: 3px 15px 10px;
    background-color: #fff;
    margin: 5px 25px 5px 15px;
    float: left;
    position: relative;
    min-width: 80px;
    max-width: 350px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 2px 5px #ccc;
    -moz-box-shadow: 0 2px 5px #ccc;
    box-shadow: 0 2px 5px #ccc;
}
        
.chating1
{
    background: #fffacd;
    padding: 3px 15px 10px;
    margin: 5px 15px 5px 0;
    float: right;
    position: relative;
    min-width: 80px;
    max-width: 350px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 2px 5px #ccc;
    -moz-box-shadow: 0 2px 5px #ccc;
    box-shadow: 0 2px 5px #ccc;
}
        
        
.leftarrow
{
    height: 0; width: 0;
    position: absolute;
    left: 0; top: 10px;
    z-index:9999;
    border: 8px solid transparent;
    border-right-color: #fff;
}
.rightarrow
{
    height: 0; width: 0;
    position: absolute;
    right: 0; bottom: 10px;
    z-index:9999;
    border: 8px solid transparent;
    border-left-color: #fffacd;
}
.backarrow
{
    height: 0;
    width: 0;
    position: absolute;
    left: 0;
    top: 25px;
    cursor: pointer;
    border: 8px solid transparent;
    border-right-color: #ccc;
}
#txtMessage
{
    max-width: 430px;
    min-width: 430px;
    max-height: 50px;
    min-height: 50px;
    border: 0;
    background:#fff;
}
.save
{
    font-weight: normal;
    width: 160px;
    text-align: center;
    display: none;
}
.position
{
    position: relative;
}
.search
{
    width: 20px;
    position: absolute;
    right: 10px;
    top: 50px;
    z-index: 9999;
    cursor: pointer;
}
.searchdv
{
    position: absolute;
    right: 10px;
    top: 79px;
    z-index: 9999;
    padding:15px;
        background: #eeecec;
    -webkit-box-shadow: 0 2px 5px #ccc;
    -moz-box-shadow: 0 2px 5px #ccc;
    box-shadow: 0 2px 5px #ccc;
    border: 1px solid #ccc;
    border-top: 0;
}
.searcharrow
{
    height: 0;
    width: 0;
    position: absolute;
    right: 0px;
    top: -20px;
    cursor: pointer;
    border: 10px solid transparent;
    border-bottom-color: #eeecec;
}
.clr
{
    clear: both;
}