
.panel {
    margin-bottom: 0;
    height: calc(100vh - 2px);
    max-height: 100vh;
    position: relative;
}

.panel-body {
    overflow: auto;
    overflow-x: hidden;
    position: absolute;
    top: 50px;
    bottom: 50px;
    left: 0;
    right: 0;
}

.panel-footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
}
.emojionearea, .emojionearea-editor{
    font-size: 1.2em;
}
.panel-heading, .list-group-item{
    height: 50px;
}
.panel-heading img, .panel-body img{
    width: 30px; 
    height: 30px;
    margin-right: 10px
}
#channelItem{
    height: 60px;
}
#channelItem img{
    width: 40px; 
    height: 40px;
}
.NameIdentification{
    font-size: 1.2em;
    position: absolute;
    top: 5px;
}
.list-group-item{
    position: relative;
    border-width: 0 0 1px 0;
}
.list-group-item:hover {
    background-color: #EEE;
    cursor: pointer; 
}
.messageNameId{
    font-weight: bold;
}

.isChat .messageNameId{
    display: none;
}
.messageFooter{
    text-align: right;
    font-size: 0.8em;
    color: #AAA;
    white-space: nowrap;
}
.them-bubble {
    position: relative;
    background: #FFF;
    border-radius: .4em;
    float: left;
    clear: both;
}

.them-bubble:after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-right-color: #FFF;
    border-left: 0;
    margin-top: -6px;
    margin-left: -6px;
}

.me-bubble {
    position: relative;
    background: #dcf8c6;
    border-radius: .4em;
    float: right;
    clear: both;
}

.me-bubble:after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-left-color: #dcf8c6;
    border-right: 0;
    margin-top: -6px;
    margin-right: -6px;
}

.bubble{
    overflow: hidden;
}
.bubble a{
    word-break: break-all;
}

.bubble img{
    width: auto;
    height: auto;
    max-width: 200px;
    max-height: 200px;
}

hgroup{
    margin: 5px 0;
    padding: 5px 10px;
    max-width: 80%;
    min-width: 20px;
}
.badge{
    background-color: #09d261;
}

::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 4px;
    background-color: rgba(100,100,100,0.01);
}

::-webkit-scrollbar
{
    width: 8px;
    background-color: rgba(100,100,100,0.01);
    overflow: hidden;
}

::-webkit-scrollbar-thumb
{
    border-radius: 4px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: rgba(100,100,100,0.05);
}

.btn-circle {
    text-align: center;
    width: 50px;
    height: 50px;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.33;
    border-radius: 25px;
}
#divOpenChat{
    position: fixed;
    bottom: 0;
}
#divChatRow{
    width: 100%;
    position: absolute;
    bottom: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}
#divChatRow #divRooms > div{
    border-top-width: 0;
    border-bottom-width: 0;
    border-left-width: 0;
}
#divChatRow #chatPanel{
    border-top-width: 0;
    border-bottom-width: 0;
    border-right-width: 0;
}
#divRooms{
    transition: all 0.3s;
    overflow-x: visible;
}
#roomButton{
    position: absolute;
    right: -20px;
    top: 60px;
    padding: 2px;
    z-index: 3;
    display: none;
}
.offline{
  color: #AAA;
}
.offline img{
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}

.banned{
    opacity: 0.5;
    filter: alpha(opacity=50); /* For IE8 and earlier */
}

.removeBan{
    display: none;
}
.ban, .removeBan, .banFromSite, .removeMessage{
    opacity: 0;
    filter: alpha(opacity=0); /* For IE8 and earlier */
}
.bubble:hover .ban, .bubble:hover .removeBan , .bubble:hover .banFromSite, .bubble:hover .removeMessage{
    opacity: 1;
    filter: alpha(opacity=100); /* For IE8 and earlier */
}
.banned .ban{
    display: none;
}
.banned .removeBan{
    display: inline-block;
}
.top0Radius{
    border-top-width: 0; 
    border-top-left-radius: 0; 
    border-top-right-radius: 0;
}

.emojionearea, .emojionearea.focused {
    border-width: 0;
    background-color: transparent;
    -moz-box-shadow:none;
    -webkit-box-shadow:none;
    box-shadow:none;
}

.btn-outline{
    background-color: transparent;
}

@media screen and (max-width: 430px) {
    #divRooms{
        position: absolute;
        width: 75px;
        height: 100%;
        z-index: 10;
        left: -75px;
    }
    #divRooms.divRoomsShow{
        left: 0;
    }
    #divRooms:hover:not(.divRoomsShow) { 
        left: -70px !important;
    }
    #roomButton{
        display: inline-block;
    }
    #divChat{
        width: 100%;
    }
}