.w3module
{

    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}


.w3m_cgs_STarT
{
    position: fixed;
    right: 24px;
    bottom: 24rem;
    background: url('support-agent.png') !important;
    width: 60px;
    height: 60px;
    background-position: center !important;
    background-size: 38px !important;
    padding: 8px;
    border: solid 1px #CCC !important;
    border-radius: 32px;
    background-repeat: no-repeat !important;
    cursor: pointer;
    background-color: #FFF !important;
    margin-right: 24px;
}

#w3m_cgs #ChaTBox
{
    display: none;
    position: fixed;
    right: 8px;
    bottom: 8px; 
    border: solid 1px #DDD;
    box-shadow: 0 0 16px 1px #EEE;
    border-radius: 12px 8px 4px 8px;
    width: calc(100% - 32px);
    max-width: 320px;
    height: 620px;
    background: #FFF;
    z-index: 9999;

}
#w3m_cgs #ChaTBox a
{
    font-weight: bold;
    color: blue;
}

#w3m_cgs #ChaTBox #hea
{
    padding: 12px;
    line-height: 18px;
    color: #000;
}

#w3m_cgs #ChaTBox #hea .close
{
    float: left;
    background: url('close.png');
    width: 22px;
    height: 18px;
    background-position: center;
    background-size: 32px;
    cursor: pointer;
}

#w3m_cgs #ChaTBox #bod
{
    height: calc(100% - 118px);
    padding: 8px;
    overflow-y: scroll;
    box-shadow: 0 0 12px #DDD inset;
}

#w3m_cgs #ChaTBox #bod .msg
{
    color: #000;
    line-height: 22px;
}
#w3m_cgs #ChaTBox #bod .msg p
{
    margin: 12px;
    padding: 12px;
}

#w3m_cgs #ChaTBox #bod .in p
{
    background: #FFF;
    border-radius: 8px 12px 8px 4px;
}

#w3m_cgs #ChaTBox #bod .ou p
{
    background: #ADFF2F;
    border-radius: 12px 8px 4px 8px;

}


#w3m_cgs #ChaTBox #foo
{
    background: #FFF;
}

#w3m_cgs #ChaTBox #foo form textarea
{
    resize: none;
    width: calc(100% - 62px);
    line-height: 22px;
    height: 46px;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
}  


#w3m_cgs #ChaTBox #foo form textarea:focus {
    outline: none;
}

#w3m_cgs #ChaTBox #foo form input[type='submit']
{
    float: right;
    background: url('send.png');
    width: 32px;
    height: 32px;
    background-position: center;
    background-size: 32px;
    cursor: pointer;
    border: none;
    margin: 4px;
}


