
.chat_box {
    width: 250px;
    background-color: #fff;
    position: fixed;
    top: 100px;
    right: 15px;
    height: auto !important;
    font-family: pfagorasansproLight;
}
.bigchat_container{
    width: 1240px;
    margin: 0 auto;
}

.chat_box_big {
    width: 965px;
    margin: 50px 0;
    background-color: #fff;
    position: relative;
    height: auto !important;
    font-family: pfagorasansproLight;
}
.chat_box_smal_flow {
    width: 300px;
    background-color: #fff;
    position: fixed;
    height: auto !important;
    font-family: pfagorasansproLight;
    z-index: 10000;
    /*box-shadow: 0px 1px 1px 0px rgba(78, 147, 177, 1);*/
    border: 1px solid rgba(41, 42, 47, 0.26);
    border-radius: 2px;
    height: 413px !important;
}

.chat_box_smal_flow .dashboard_link_box {
    cursor: pointer;
}

.chat_box_smal_flow .red-btn {
    margin-top: -5px;
    float: right;
    border-bottom: none;
}

.chat_header {
    background-color: #F8C631 !important;
    color: #fff;
    border-bottom: 3px solid #D7AB2A;
}

.chat_list {
    background-color: #53a7c7;
}

.chat_title {
    width: 42px;
    height: 42px;
    top: -20px;
    left: 50%;
    background-color: #fff;
    margin-left: -21px;
    border-radius: 50%;
    border: 5px solid #5fcbf4;
    color: #5fcbf4;
    text-align: center;
    cursor: move;
}

.chat_title i {
    line-height: 32px;
    font-size: 24px;
}

.chat_link_box {
    height: 32px;
    line-height: 18px;
    font-size: 14px;
    padding: 6px 12px;
}

.chat_link_box a {
    display: inline-block;
    line-height: 18px;
    color: #fff;
}

.chat_list_item a {
    color: #fff;
}

.chat_list_item {
    position: relative;
    font-size: 20px;
    line-height: 18px;
    padding: 11px;
    background: url(../img/chat_list_item_bg.png) 0 50% no-repeat;
    font-family: pfagorasansproBold;
}

.chat_list_item:first-child {
    background: none;
}

.chat_list_item.active {
    background: #f8c631;
}

.chat_list_item.active:before {
    content: "";
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border: 5px solid transparent;
    border-top: 6px solid #f8c631;
}

.chat_name {
    background-color: #dbdbdb;
    position: relative;
    min-height: 40px;
}

.chat_name_item {
    font-size: 16px;
    line-height: 18px;
    padding: 10px;
    color: #2d2f34;
    background: url(../img/chat_name_item_bg.png) right 50% no-repeat;
    cursor: pointer;
}

.chat_name_item.active {
    color: #fff;
    background: #5cc3ea;
}

.chat_name_item i {
    font-size: 18px;
    color: #fff;
    margin-left: 5px;
}

.chat_name_plus {
    border: none;
    background-color: #5fcbf4;
    color: #fff;
    height: 30px !important;
    margin: 5px !important;
    /*padding: 10px;*/
}

.chat_list_item .fa {
    margin-right: 5px;
}


.chat_name_apply {
    border: none;
    background-color: #58c3a6;
    color: #fff;
}

.chat_name_decline {
    border: none;
    background-color: #f45f6f;
    color: #fff;
}

.chat_icon {
    display: inline-block;
    height: 18px;
    width: 18px;
    margin-right: 5px;
    background: url(../img/chat_icon.png) 0 -1px no-repeat;
}

.slide_link {
    background-position: -25px -1px;
}

.people_link {
    background-position: -71px -1px;
}

.sys_icon {
    background-position: -47px -1px;
}

#chat .message_chat:before {
    top: -15px;
}

.UIIP-chat-list-chats{
    float: left;
    width: 30%;
    height: 600px;
    /*height: 100%;*/
    overflow: scroll;
    background: rgb(249, 253, 255);
}

.UIIP-chat-list-chat-item{
    width: 100%;
    min-height: 80px;
    max-height: 100px;
    opacity: 0.95;
    overflow: hidden;
    border-bottom: 1px solid gray;
    position: relative;
}

.UIIP-chat-unread-messages-count{
    width: 25px;
    height: 25px;
    position: absolute;
    background: red;
    border-radius: 50%;
    left: 35px;
    top: 35px;
    color: black;
    text-align: center;
    font-size: 20px;
    border: 1px solid #808080;
}

.UIIP-chat-list-chat-item.active{
    background: #C7EDFC;
}

.UIIP-chat-list-chat-item .container{
    margin: 10px;
}

.UIIP-chat-list-chat-item:hover{
   opacity: 0.8;
   cursor: pointer;
}


.UIIP-chat-list-chat-item-image{
    float: left;
    margin-top: 5px;
    margin-left: -3px;
    margin-right: 5px;
}

.UIIP-chat-list-chat-item-image img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.UIIP-chat-list-chat-item-announce{
    float: left;
    width: 200px;
    min-height: 50px;
    max-height: 100px;
    /*border-top: 1px solid #808080;*/
    /*border-bottom: 1px solid #808080;*/
}

.UIIP-chat-list-chat-item-announce >p {
    margin-left: 2px;
    margin-top: 2px;
}

.UIIP-chat-list-chat-item-announce p:first-child {
    font-family: pfagorasansproBold;
    text-overflow: clip;
    width: 90%;
    overflow: hidden;
    height: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.UIIP-chat-list-chat-item-announce p:nth-child(3) {
    font-size: 12px;
    text-overflow: clip;
    width: 90%;
    overflow: hidden;
    font-family: pfagorasansproBold;
    color: gray;
}

.UIIP-chat-list-chat-item-announce p:nth-child(3) i {
    font-size: 14px;
      position: relative;
      top: 1px;
      left: 1px;
}

.UIIP-chat-list-chat-item-announce p:nth-child(2) {
  font-size: 15px;
  text-overflow: clip;
  width: 90%;
  overflow: hidden;
  height: 36px;
}

.uuip-messages-chat {
    padding: 10px 18px 10px 10px;
    float: left;
    width: 70%;
    background: #ffffff;
    /*height: 100%;*/
    height: 600px;
    overflow-y: scroll;
    max-width: 100%;
    overflow-x: hidden;
}

.uuip-messages-chat.full{
    width: 100% !important;
}

.chat-flow-window-header-name{
    font-size: 20px;
    line-height: 32px;
    margin-left: 5px;
    cursor: pointer;
    max-width: 180px ;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: clip;
    text-decoration: underline;
}

.chat-flow-window-header-name:hover, .chat-flow-window-header-name:active {
    text-decoration: none;
}

.chat_user_message_area {
    padding: 12px 22px 22px;
    background-color: #e2e2e2;
}

#chatMessage {
    width: 100%;
    border: none;
    border-top: 2px solid #d3d3d3;
    height: 74px;
    background-color: #f6f6f6;
    resize: vertical;
    color: #000;
    outline: none;
}

.btn_type1 {
    font: 18px pfagorasansproLight;
    height: 32px;
    width: 101px;
    padding-top: 5px;
    margin-top: 6px;
}

.chat_item {
    margin-bottom: 10px;
}

.chat_item a {
    font: 16px Ubuntu;
    line-height: 24px;
}

.chat_item a.first {
    color: #2d2f34;
}

.chat_item a.second {
    color: #fd4d30;
}
/*
.chat_item:nth-child(even) .message_chat:before {
    left: calc(100% - 15px);
}*/

.mCSB_scrollTools {
    width: 8px;
    right: 5px !important;
}

.mCSB_scrollTools .mCSB_draggerRail {
    background: none;
}

.mCSB_scrollTools .mCSB_dragger {
    border-radius: 3px;
}

.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar:hover,
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    background-color: #d5d5d5 !important;
    margin: 0;
    width: 100%;
}

.uuip-messages-chat .message_chat:before {
    top: -15px;
}

.chat_name_new_input{
  height: 30px !important;  
  margin: 5px !important;
  border: 1px solid #999999 !important;
  box-shadow: 0 1px 1px #DDD;
  position: relative !important;
  width: 350px;
  color: #333 !important;
  padding-left: 31px !important;
  text-align: left;
  border-radius: 2px !important;
}

.chat-name-new-users-dropdown{
    position: absolute;
    top: 45px;
    left: 10px;
    z-index: 200;
    background: #808080;
}

.chat-name-new-users-dropdown ul{
    list-style: none;
    display: inline-block;
    width: 350px;
    text-align: left;
    text-align: left;
    max-height: 300px;
    overflow-y: scroll;
}

.chat-name-new-users-dropdown ul li{
    display: block;
    padding: 15px 20px;
    background-color: #F8F8F8;
    color: #fff;
    margin-bottom: 3px;
    position: relative;
    transition: 0.3s;
    background: #55b1d5;
    margin: 0;
}

.chat-name-new-users-dropdown ul li:hover {
  color: #55b1d5;
  background: #fff;
}

.chat-name-new-users-dropdown ul li a{
    position: absolute;
    left: 160px;
    font-size: 12px;
    line-height: 16px;
    color: #969d9d;
}

.chat-name-new-users-dropdown ul li:hover{
    background-color:#d8f2f1;
    cursor: pointer;
}

.input_chat_search {
  position: relative;
  left: 27px;
  color: gray;
  z-index: 100;
  text-shadow: none;
  color: #999999;
  margin-top: 2px;
}

.system-chat-message{
    /*border-bottom: solid deepskyblue;*/
    margin: 10px 0;
}
.system-chat-message span{

}

.flow-chat-user-message-area{

}

.flow-chat-user-message-area-text{
    width: 100%;
    border: none;
    border-top: 1px solid rgba(78, 147, 177, 1);
    border-bottom: 1px solid rgba(78, 147, 177, 1);
    height: 74px;
    background-color: #f6f6f6;
    resize: vertical;
    color: #000;
    outline: none;
    border-radius: 0;
    margin: 0px 0px 0px 0px;
}

.chat-flow-header-user-avatar{
    margin-top: 5px;
    margin-left: 5px;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    background-size: cover !important;
    border: 2px solid white;
}

.chat-flow-volume-control {
    width: 20px;
}

.notifications-read-all-link:hover{
    text-decoration: underline;
}

/*CLAN CHATS */
.clan_chat{
    background: white;
    padding: 10px 10px;
    border-radius: 3px;
/*    margin-bottom: 50px;
    margin-top: 60px;
    height: 710px;
    position: absolute;
    display: block;
    right: 50px;
    top: 950px;
    border: 1px solid gray;*/
}

.chat-scroll-new::-webkit-scrollbar
{
width: 3px;
max-width: 3px;
height: auto;
max-height: 8px;
}
.chat-scroll-new::-webkit-scrollbar-thumb
{
background: #f0f0f0;
border-radius: 5px;
max-width: 3px;
}
.chat-scroll-new::-webkit-scrollbar-track {
background: #5FCBF1;
  border-radius:5px;
}

.bigchat_tour .nav-tabs>li>a {
    border-radius: 1px;
    font: 16px pfagorasansproBold;
    color: orange;
}