.sgeChat * {
    margin: 0;
    padding: 0;

    -moz-box-sizing: border-box;
    -opera-sizing: border-box;
    -webkit-box-sizing: border-box;
    -khtml-box-sizing: border-box;
    box-sizing: border-box;

}

.sgeChat ::-webkit-scrollbar {
    width: 6px
}

.sgeChat ::-webkit-scrollbar-track {
    background-color: rgba(224, 224, 224, 0.10)
}

.sgeChat ::-webkit-scrollbar-thumb {
    background-color: rgba(122, 122, 122, 0.50)
}

.sgeChat ::-webkit-input-placeholder {
    color: #999
}

.sgeChat :-moz-placeholder,.shc ::-moz-placeholder {
    color: #999
}

.sgeChat :-ms-input-placeholder {
    color: #999
}



/* Icon */
@font-face {
    font-family: 'Glyphicons Halflings';

    src: url('../fonts/glyphicons-halflings-regular.eot');
    src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}
.glyphicon {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.glyphicon-ok:before {
    content: "\e013";
}
.glyphicon-trash:before {
    content: "\e020";
}

.glyphicon-pencil:before {
    content: "\270f";
}

.glyphicon-comment:before {
    content: "\e111";
}

.glyphicon-map-marker:before {
    content: "\e062";
}

.glyphicon-list-alt:before {
    content: "\e032";
}

.glyphicon-repeat:before {
    content: "\e030";
}

.glyphicon-comment:before {
    content: "\e111";
}

.glyphicon-globe:before {
    content: "\e135";
}

.glyphicon-lock:before {
    content: "\e033";
}

.glyphicon-remove:before {
    content: "\e014";
}

.glyphicon-ban-circle:before {
    content: "\e090";
}

.glyphicon-smile {
    background: url('../images/smile-24x24.png') 0px 0px no-repeat;
    width: 24px;
    height: 24px;
    transition: 0.2s linear;
    -moz-transition: 0.2s linear;
    -webkit-transition: 0.2s linear;
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);


}

.glyphicon-smile:hover {
    background: url('../images/smile-24x24.png') 0px -24px no-repeat;
    -webkit-transform: rotate(-360deg);
    -o-transform: rotate(-360deg);
    transform: rotate(-360deg);
}


/* btns-group */

.btns-group,
.btns-group-vertical {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}
.btns-group > .btns,
.btns-group-vertical > .btns {
    position: relative;
    float: left;
}
.btns-group > .btns:hover,
.btns-group-vertical > .btns:hover,
.btns-group > .btn:focus,
.btns-group-vertical > .btns:focus,
.btns-group > .btn:active,
.btns-group-vertical > .btns:active,
.btns-group > .btn.active,
.btns-group-vertical > .btns.active {
    z-index: 2;
}
.btns-group > .btns:focus,
.btns-group-vertical > .btns:focus {
    outline: none;
}
.btns-group .btns + .btns,
.btns-group .btns + .btns-group,
.btns-group .btns-group + .btns,
.btns-group .btns-group + .btns-group {
    margin-left: -1px;
}

/* Chat start */

.pull-right {
    float: right !important;
}
.pull-left {
    float: left !important;
}

.sgeChat{
    background-color: #f4f4f4;
    border: 1px solid;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,.45);
}

.sgeChat .head {
    background-color: #000;
    padding: 5px;
    color: #fff;
    margin: 0 -1px;
    height: 36px;
}

/* btn bootstrap*/
.sgeChat .head .btnH {
    display: inline-block;
    background: #e0e0e0;
    color: #000;
    border: 0;
    padding: 3px 5px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

.sgeChat .head .btnH:hover{
    background: #b9b9b9;
}

.sgeChat .head .btnH span {
    margin-right: 5px;
}

.sgeChat .head .rooms .btnH,
.sgeChat .head .bans .btnH{
    margin: 5px;
    background-color: #333;
    color: #fff;
}

.sgeChat .head .rooms .btnH:hover {
    background: #b9b9b9;
    color: #000;
}

.sgeChat ul{
    list-style-type: none;
}
.sgeChat ul.sgeMessages {
    height: 360px;
    list-style-type: none;
    overflow-x: hidden;
    overflow-y: auto;

}

/*btn bootstrap*/

.sgeChat .btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.sgeChat .btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.sgeChat .sgeChat ul.sgeMessages .btn-default{
    width: 100%;
    margin-bottom: 10px;
}

.sgeChat .btn-default:hover,
.sgeChat .btn-default:focus,
.sgeChat .btn-default:active,
.sgeChat .btn-default.active
{
    color: #333;
    background-color: #ebebeb;
    border-color: #adadad;
}

.sgeChat ul.sgeMessages li {
    display: inline-block;
    margin: 8px 14px 4px 10px;
    padding: 4px 5px 10px;
    max-width: 95%;
    word-wrap:break-word;
    position: relative;
}

.sgeChat ul.sgeMessages li .glyphicon-ban-circle:hover {
    color: red;
    cursor: pointer;
}

.sgeChat ul.sgeMessages li .edit {
    display: none;
}

.sgeChat ul.sgeMessages li.editing {
    border-bottom: none;
    margin-top: -1px;
    padding: 0;
}

.sgeChat ul.sgeMessages li.editing:last-child {
    margin-bottom: -1px;
}

.sgeChat ul.sgeMessages li.editing .edit {
    display: block;

    background-color: #fff;
    margin-left: 35px;
    padding: 5px 5px 25px;
    border-radius: 5px;
    box-shadow: 0 1px 2px rgba(0,0,0,.15);
    /*min-width: 82px;*/
}

.sgeChat ul.sgeMessages li.editing .sge-text {
    display: none;
}

.sgeChat ul.sgeMessages .sge-info img {
    height: 40px;
    width: 40px;
    background-color: #FCFCFF;
    border: 1px solid #e5e5e5;
    padding: 2px;
    position: absolute;
    margin-left: -42px;
}

.sgeChat ul.sgeMessages .sge-info {
    margin: 2px 0 5px 32px;
    color: #969696;
    padding: 0 0 0 5px;
    line-height: 16px;
}

.sgeChat ul.sgeMessages .sge-info time{
    font-size: 10px;
}

.sgeChat ul.sgeMessages .sge-info a {
    text-decoration: none;
    transition: color 0.2s linear;
    -moz-transition: color 0.2s linear;
    -webkit-transition: color 0.2s linear;
    color: #000000;
}
.sgeChat ul.sgeMessages .sge-text {
    background-color: #fff;
    margin-left: 35px;
    padding: 5px 5px 25px;
    border-radius: 5px;
    box-shadow: 0 1px 2px rgba(0,0,0,.15);
    min-width: 82px;
}

.sgeChat ul.sgeMessages .sge-notice {
    background-color: #fff;
    margin-left: 35px;
    padding: 15px 10px 15px;
    border-radius: 5px;
    box-shadow: 0 1px 2px rgba(0,0,0,.15);
    min-width: 82px;
}

.sgeChat ul.sgeMessages .btns-group{
    margin: -20px 5px 0 0;

}

.sgeChat ul.sgeMessages li button{
    background-color: transparent;
    border: none;
    margin: 0 7px;
    color: #e7e7e7;
    transition: color 0.2s linear;
    -moz-transition: color 0.2s linear;
    -webkit-transition: color 0.2s linear;
}

.sgeChat ul.sgeMessages li button:hover{
    color: #000;
}


.sgeChat ul.sgeMessages li button.quotes span{
    margin: 0 -5px;
}

.sgeChat .sgeInputMessages{
    position: relative;
}

.sgeChat .sgeInputMessages #sgeInputMessages{
    width: 100%;
    height: 60px;
    padding: 10px 35px 10px;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 22px;
    outline: none;
}

.sgeChat .sgeInputMessages textarea[disabled] {
    cursor: not-allowed;
    background-color: #ffd5d1;
    opacity: 1;
    text-align: center;
}


.sgeChat .sgeInputMessages button{
    position: absolute;
    border: none;
    background-color: transparent;
    margin: -45px 25px 0 5px;
}

.sgeChat .sgeInputMessages button#add {
    right: -2px;

}

.sgeChat .sgeInputMessages button span{
    font-size: 18px;
}

.sgeChat .sgeInputMessages button span {
    color: #c7c7c7;
}

.sgeChat .sgeInputMessages button:hover > span {
    color: #000;
    cursor: pointer;
}

.sgeChat .sgeInputMessages .smile{
    width: 290px;
    height: 170px;
    position: absolute;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.32);
    border-radius: 5px;
    background: #FFFFFF;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    opacity: 1;
    margin: -210px 2% 0;
    display: none;
    overflow-x: hidden;
    overflow-y: auto;
}

.sgeChat .head .rooms, .sgeChat .head .bans {
    width: 290px;
    height: 170px;
    position: absolute;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.32);
    border-radius: 5px;
    background: #FFFFFF;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    opacity: 1;
    margin: 40px 2% 0;
    display: none;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 115;
}

.sgeChat .sgeInputMessages .smile ul {
    list-style-type: none;
    margin: 6px;
}

.sgeChat .sgeInputMessages .smile ul li{
    background: none !important;
    border: 0 !important;
    padding: 5px !important;
    display: inline !important;
    margin-top: 2px !important;
    margin-bottom: 2px !important;
}

.sgeChat img.smileImg {
    max-width: 50px;
    max-height: 50px;
    margin-left: 2px;
    margin-right: 2px;
}

.sgeChat  .rooms ul li {
    background: none !important;
    border: 0 !important;
    padding: 0 !important;
}

.sge_copyright{
    text-align: center;
}

.sge_copyright_text {
    color: #000;
}





