.iChat {
    padding: 3px;
background-color: #353d48 !important;
}

.mchat-body {
    background-color: #353d48 !important;
}

.iChat .message {
    font-size: 11px;

    line-height: 1.27;
    word-wrap: break-word;
}

.iChat .message {
    border: 1px solid #dadada;
    background-color:#FFFFFF;
    margin-left: 3px;
    margin-right: 3px;
    margin-bottom: 1px;
    margin-top: 2px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    padding: 3px;
}

.iChat .message:hover {
    border: 1px solid #cccccc;
}

.iChat .clr { clear: both; }

.iChat .message div {
    margin: 0;
    padding: 0;
}

.iChat .message .info {
    display: block;
    margin-top: 2px;
    color: #969696;
    background-color: rgb(240, 247, 252);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.iChat .button {
	background: #5da547;
    border:0;
    color: #fff;
	height: 45px;
    line-height: 45px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    text-align: center;
    width: 100%;
    font-size: 12px;
    text-transform: uppercase;
	margin-bottom: 2px !important;
	font-weight: bold;
	cursor: pointer;
}
.iChat .button:hover { background-position: 0 10px; }

.iChat .message .text {
    margin-left: 5px;
    font-size: 12px;
}

.iChat .message a {
    color: #176093;
}

.iChat .message .action {opacity: 0.3;cursor:pointer;}
.iChat .message .action:hover {opacity: 1;}

.iChat .message hr { border: 0 none; border-top: 1px solid #dbe8ed; height: 1px; }

.iChat .message .avatar img {
    margin-right: 5px;
    float: left;
    height: 32px;
    width: 32px;
    background-color: #FCFCFF;
    border: 1px solid #A5CAE4;
    border-radius: 4px 4px 4px 4px;
    padding: 2px;
}

.iChat .copyright {
    font-size: 9px; 
    padding-right: 5px;
    float: right;
    color: #969696;
}

.iChat .copyright a {
    font-size: 10px;
    color: #176093;
}

.iChat_input { width: 99px; padding: 1px; }

.iChat_bbeditor { background: #626E7E;display: none; }
.iChat_bbeditor span, .iChat_bbeditor span img, .iChat_bbeditor .bbspacer, .iChat_bbeditor .bbselect { float: left; }
.iChat_bbeditor .bbselect { height: 21px; padding: 4px 3px 0 3px; }
.iChat_bbeditor .bbselect select { font-size: 11px; }
.iChat_bbeditor span { cursor: pointer;  }
.iChat_bbeditor span:hover {  }

.iChat_editor { width: 100% !important;  background-color: #626E7E;border-radius: 4px 4px 4px 4px; position: relative;overflow: hidden;  }
.iChat_editor .iChat_bbeditor { border-width: 0 0 1px 0; }


#mchatMsgF {
width:100%;
height: 60px;
display:block;
background:#626e7e;
border: 0;
padding: 5px;
position: relative;
-moz-box-sizing: border-box; /* Для Firefox */      box-sizing: border-box; /* Ширина блока с полями */
border-radius: 4px 4px 4px 4px;
}
#mchatMsgF:focus {
    outline: -webkit-focus-ring-color auto 0px;
}
.bbspacer {
    display: none;
}