.ui-dialog-titlebar.ui-corner-all {
    -moz-border-radius-bottomleft: 0px;
    -webkit-border-bottom-left-radius: 0px;
    -khtml-border-bottom-left-radius: 0px;
    border-bottom-left-radius: 0px;
    
    -moz-border-radius-bottomright: 0px;
    -webkit-border-bottom-right-radius: 0px;
    -khtml-border-bottom-right-radius: 0px;
    border-bottom-right-radius: 0px;
}
.ui-dialog .ui-dialog-titlebar {
    padding: 0.4em 0.7em;
}
.ui-dialog-titlebar.ui-widget-header {
    border: 0;
    font-weight: normal;
}
.ui-dialog {
    padding: 0;
}

#online-support-wnd .os-footer {
    -moz-border-radius-bottomleft: 7px;
    -webkit-border-bottom-left-radius: 7px;
    -khtml-border-bottom-left-radius: 7px;
    border-bottom-left-radius: 7px;
    
    -moz-border-radius-bottomright: 7px;
    -webkit-border-bottom-right-radius: 7px;
    -khtml-border-bottom-right-radius: 7px;
    border-bottom-right-radius: 7px;
}

#online-support-wnd {
    display: none;
}

#online-support-wnd,
#online-support-wnd *
{
    padding: 0;
    margin: 0;
    border: 0;
}

#online-support-wnd .os-chat-cont {
    padding: 7px 0 7px 7px;
}
#online-support-wnd .os-chat-cont>div {
    overflow-x: hidden;
    overflow-y: scroll;
    font-family: Tahoma;
    font-size: 11px;
    height: 329px;
    width: 453px;
}
#os-chat {
    width: 437px;
}
#online-support-wnd .os-footer {
    padding: 8px 8px 8px 45px;
    background-color: #e9e9e9;
    border-top: 1px solid #C2C2C2;
    position: relative;
}
#online-support-wnd .os-edit-cont {
    position: relative;
    width: 404px;
    height: 46px;
    -moz-border-radius-topleft: 5px;
    -webkit-border-top-left-radius: 5px;
    -khtml-border-top-left-radius: 5px;
    border-top-left-radius: 5px;
    -moz-border-radius-topright: 5px;
    -webkit-border-top-right-radius: 5px;
    -khtml-border-top-right-radius: 5px;
    border-top-right-radius: 5px;
    -moz-border-radius-bottomleft: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -khtml-border-bottom-left-radius: 5px;
    border-bottom-left-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -khtml-border-bottom-right-radius: 5px;
    border-bottom-right-radius: 5px;
    background-color: white;
    border: 1px solid #C2C2C2;
}
#online-support-wnd .os-edit-img {
    position: absolute;
    top: 17px;
    left: 16px;
    width: 21px;
    height: 15px;
    background: url(/images/jqmwnd_elements.png) no-repeat -16px 0px;
}
#online-support-wnd .os-edit-enter-img {
    position: absolute;
    top: 10px;
    right: 7px;
/*    width: 14px;
    height: 11px;
    background: transparent url(/images/jqmwnd_elements.png) no-repeat 0px 0px; */
    width: 32px;
    height: 22px;
    background: transparent url(/images/jqmwnd_send_button.png) no-repeat 0px 0px;     
    cursor: pointer;
}
#edit_for_send {
    background-color: transparent;
    position: relative;
    top: 3px;
    left: 3px;
    width: 380px;
    height: 40px;
    resize: none;
    overflow: auto;
    outline: none;
}

#os-chat .osc-item {
    padding: 2px;
}
#os-chat .osc-item td {
    vertical-align:top;
}

#os-chat .osc-selfDate,
#os-chat .osc-operDate,
#os-chat .osc-goodDate,
#os-chat .osc-badDate {
    padding-right: 10px;
}

#os-chat .osc-selfDate {
    color: #b2b2b2;
}

#os-chat .osc-operDate {
    color: #77b337;
}

#os-chat .osc-goodDate {
    color: #77b337;
}

#os-chat .osc-badDate {
    color: #d02442;
}

#os-chat .osc-msg {
    color: #555458;
}

#os-chat .osc-goodMsg {
    color: #77b337;
}

#os-chat .osc-badMsg {
    color: #d02442;
}

#os-chat .osc-msg div,
#os-chat .osc-goodMsg div,
#os-chat .osc-badMsg div {
    width: 370px;
    word-wrap: break-word;
}

#os-chat .osc-separator {
    margin-left: 4px;
    margin-right: 4px;
    border-top: 1px dotted #d1d2d2;
}


.ols-wnd-70-proc #online-support-wnd .os-chat-cont>div {
    width: 315px; /*453*/
    height: 197px; /*329*/
}
.ols-wnd-70-proc #os-chat {
    width: 299px; /*437*/
}
.ols-wnd-70-proc #online-support-wnd .os-edit-cont {
    width: 266px; /*404*/
}
.ols-wnd-70-proc #edit_for_send {
    width: 242px; /*380*/
}
.ols-wnd-70-proc #os-chat .osc-msg div,
.ols-wnd-70-proc #os-chat .osc-goodMsg div,
.ols-wnd-70-proc #os-chat .osc-badMsg div {
    width: 232px; /*370*/
}

.ols-wnd-80-proc #online-support-wnd .os-chat-cont>div {
    width: 361px; /*453*/
    height: 241px; /*329*/
}
.ols-wnd-80-proc #os-chat {
    width: 345px; /*437*/
}
.ols-wnd-80-proc #online-support-wnd .os-edit-cont {
    width: 312px; /*404*/
}
.ols-wnd-80-proc #edit_for_send {
    width: 288px; /*380*/
}
.ols-wnd-80-proc #os-chat .osc-msg div,
.ols-wnd-80-proc #os-chat .osc-goodMsg div,
.ols-wnd-80-proc #os-chat .osc-badMsg div {
    width: 278px; /*370*/
}

.ols-wnd-90-proc #online-support-wnd .os-chat-cont>div {
    width: 407px; /*453*/
    height: 285px; /*329*/
}
.ols-wnd-90-proc #os-chat {
    width: 391px; /*437*/
}
.ols-wnd-90-proc #online-support-wnd .os-edit-cont {
    width: 358px; /*404*/
}
.ols-wnd-90-proc #edit_for_send {
    width: 334px; /*380*/
}
.ols-wnd-90-proc #os-chat .osc-msg div,
.ols-wnd-90-proc #os-chat .osc-goodMsg div,
.ols-wnd-90-proc #os-chat .osc-badMsg div {
    width: 324px; /*370*/
}