/***************
COMET Customization
***************/
#cometchat__widget {
    width: auto !important;
    height: auto !important;
    /*
    max-width: 100vw;
    max-height: 100vh;
    */
    /*
    overflow: hidden;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 1000;
    */
}
/*
#cometchat_group_5, #cometchat_group_5_popup, #cometchat_grouplist_5 {display: none !important;}
.cometchat_tabopen_bottom {
    float: right !important;
}
*/

/***************
Public Wall
***************/
nav.chat-container {
    position: fixed;
    top: 80px;
    right: auto;
    bottom: 100px;
    left: -310px;
    width: 300px;
    height: auto;
    z-index: 70;
    -webkit-transition: all 0.15s ease-out 0s;
    -moz-transition: all 0.15s ease-out 0s;
    transition: all 0.15s ease-out 0s;
    /*background-color: rgba(0, 0, 0, .5);*/
    border-radius: 0 8px 8px 0;
}

.btn-toggle-chat {
    top: 5px;
    right: -60px;
    color: rgba(0, 0, 0, 1);
    position: absolute;
    z-index: 2;
    -webkit-transition: all 0.15s ease-out 0s;
    -moz-transition: all 0.15s ease-out 0s;
    transition: all 0.15s ease-out 0s;
}

#toggle-chat {
    display: none;
}

#toggle-chat:checked + nav.chat-container {
    left: 10px;
}

#toggle-chat:checked + nav.chat-container .ico-chat {
    background-image: url('/img/ico-public-chat-close.png');
}

.ico-chat {
    background-image: url('/img/ico-public-chat.png');
    width: 60px !important;
    height: 41px !important;
}

.ico {
    margin: 3px;
    width: 28px;
    height: 28px;
    background-size: contain;
    cursor: pointer;
    -webkit-filter: drop-shadow(0px 0px 2px rgba(0,0,0,.7));
    filter: drop-shadow(0px 0px 2px rgba(0,0,0,.7));
}


#chat-window {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 5px 0 45px 0;

}

#messages {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    margin: 0;
    padding: 0;
}

li.time {
    list-style-type: none;
    padding: 0;
    text-align: center;
    font-weight: normal;
    color: #bbb;
    font-size: 0.75rem;
    margin: 4px 0;
}

.message{
    list-style-type: none;
    padding-bottom: 3px;
}

.stamp {
    display: block;
    text-align: center;
}

.msg-span{
    display: inline-block;
    /*padding:10px;*/
    padding:5px;
    background-color: #fff;
    color: black;
    /*margin: 0 10px 0 10px;*/
    margin: 0 4px 0 4px;
    text-align: left;
    /*font-size: 0.875rem;*/
    font-size: 0.75rem;
    line-height: 1rem;
    border-radius: 6px
}

.msg-span b {
    line-height: 1.5rem;
    font-size: 1.5rem;
}

.name{
    display: block;
    font-style: normal;
    font-weight: bold;
    font-size: 0.75rem;
    line-height: 1rem;
}

.my{
    text-align: right;
    padding-bottom: 3px;
}

.my span{
    background-color: rgb(230, 230, 230);
}

.my i{
    display:none;
}

#ui-window {
    position: absolute;
    /*background-color: #fff;*/
    box-sizing: border-box;
    left: 0;
    bottom: 15px;
    width: 100%;
    padding: 0 10px;
}

#form-window {
    /*background-color: #fff;*/
    width: 100%;
}

#form-window hr {
    border: 0;
    height: 1px;
    background: #b4b4b4;
}

#message-form{
    display: flex;
    flex-flow: row wrap;
    margin: 0;
    padding: 0;
}

.input-box {
    flex: 1 0 auto;
    margin: 0 8px 0 0;
    box-sizing: border-box;
    /*font-size: 0.875rem;*/
    font-size: 0.75rem;
    line-height: 1rem;
    /*height: 2.5rem;*/
    height: 2rem;
    /*padding: 0.625rem 0.75rem;*/
    border-radius: 10px;
    display: flex;
    flex-flow: column nowrap;
    border: 1px solid rgb(179, 191, 200);
    background-color: rgb(255, 255, 255);
}

#msg-btn{
    flex: 0 0 auto;
    box-sizing: border-box;
    display: inline-flex;
    vertical-align: middle;
    letter-spacing: 0.1px;
    align-items: center;
    min-width: 3rem;
    min-height: 1.5rem;
    margin: 0;
    padding: 0 0.375rem;
}

#msg-btn span {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

#msg-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

#msg-btn:hover{
    cursor: pointer;
}

/*
#name-alert {
    text-align: center;
    font-weight: bold;
    color: #c00;
    line-height: 0.85rem;
    font-size: 0.85rem;
    margin: 18px 0;
}
*/

/*
.hidden {
    display: none !important;
}
*/

.style-2::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

.style-2::-webkit-scrollbar
{
    width: 8px;
    /*background-color: #F5F5F5;*/
}

.style-2::-webkit-scrollbar-thumb
{
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #ab5f9f;
}

/*
#public-chat > * {
    font-family: 'Arimo', Helvetica, Arial, sans-serif !important;
}
*/