* {
  font-family: Arial, Helvetica, sans-serif;
}
/* MESSAGES */

#chat-pages-container {
  position: relative;
  overflow: hidden;
}

#chat-pages-container {
  position: relative;
  overflow: hidden;
}

#chat-pages-container, .chat-page {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.chat-page {
  text-align: center;
  position: absolute;
  -webkit-transition: transform .5s ease;
  -moz-transition: transform .5s ease;
  -o-transition: transform .5s ease;
  transition: transform .5s ease;
}

.chat-page>.chat-session-list-page-wrapper {
  display: inline-block;
  width: 100%;
  max-width: 1000px;
  text-align: left;
  height: 100%;
  position: relative;
  left: 0;
  top: 0;
}

.header-menu {
  display: table;
  table-layout: fixed;
  width: 100%;
}

.chat-page .header-menu>div {
  text-align: center;
  width: 33.333%;
  padding: 0;
}

.header-menu>.left {
  text-align: right;
  padding-right: 10%;
  width: 50%;
}

.header-menu>div {
  display: table-cell;
  vertical-align: middle;
  word-wrap: break-word;
}

.header-menu>div>a {
  font-weight: bold;
  font-size: 18px;
  line-height: 22px;
  color: #BABCB7;
  padding: 20px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  max-width: 100%;
  word-wrap: break-word;
}

.header-menu>div>a.active, .header-menu>div>a:hover {
  color: #667174;
  text-decoration: none;
}

.mobile-header {
  height: 60px;
  line-height: 21px;
  font-weight: bold;
  color: #667174;
  background: #E7EBEA;
  font-size: 18px;
  position: relative;
  padding: 19px 18px;
  display: none;
}

.chat-page .chat-session-list-container {
  position: absolute;
  width: 100%;
  top: 60px;
  bottom: 0;
  padding: 0 20px 20px;
  overflow: auto;
}

.chat-page>.chat-session-list-page-wrapper {
  display: inline-block;
  width: 100%;
  max-width: 1000px;
  text-align: left;
  height: 100%;
  position: relative;
  left: 0;
  top: 0;
}

.chat-page .chat-session-list-container>.item-container {
  position: relative;
  margin-bottom: 4px;
  background-color: #fff;
}

.chat-page .chat-session-list-container>.item-container>div {
  display: table;
  width: 100%;
  table-layout: fixed;
  position: relative;
  height: 60px;
  z-index: 1;
  cursor: pointer;
}

.chat-page .chat-session-list-container>.item-container>div>.name {
  display: table-cell;
  vertical-align: middle;
  position: relative;
  width: 240px;
}

.chat-page .chat-session-list-container>.item-container>div>.name>.avatar {
  width: 60px;
  height: 60px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: absolute;
  left: 0;
  top: 0;
}

.chat-page .chat-session-list-container>.item-container>div>.name>.caption {
  font-size: 20px;
  color: #40484A;
  padding: 0 10px 0 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-page .chat-session-list-container>.item-container>div>.msg {
  display: table-cell;
  vertical-align: middle;
  font-size: 16px;
  color: #40484A;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-page .chat-session-list-container>.item-container>div>.time {
  display: table-cell;
  vertical-align: middle;
  text-align: right;
  font-size: 16px;
  color: #BABCB7;
  padding: 0 20px;
  white-space: nowrap;
  width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media only screen and (max-width: 767px) {
  .header-menu {
    display: none;
  }

  .mobile-header {
    display: block;
  }

  .chat-page .chat-session-list-container {
    padding: 0 0 20px;
  }
}
#sidebar #sidebar-menu .chat.active::before {
    background-position: -160px 0;
}
#session-list-container {
  text-align: center;
}

.menu-item {
    cursor: pointer;
    max-width: 700px;
    display: inline-block;
    width: 100%;
    margin-bottom: 4px;
    color: #BABCB7;
    position: relative;
    -webkit-box-shadow: 0 4px 13px -5px #40484A;
    box-shadow: 0 4px 13px -5px #40484A;
}
.menu-item::before {
  box-shadow: 0 10px 36px 0 #40484A;
    left: 10px;
    right: 10px;
    bottom: 6px;
    height: 10px;
    -webkit-border-radius: 10%;
    border-radius: 10%;
}
.menu-item:hover {
  color: #40484A;
}

.menu-item>span {
    display: inline-block;
    width: 100%;
    font-size: 16px;
    line-height: 20px;
    padding: 20px;
    position: relative;
    z-index: 1;
    background: #fff;
    text-align: center;
    font-weight: bolder;
}


/*====================TOS MULTILANGUAGE start======================*/
.tos-multilanguage {
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  margin: 0 auto;
  position: relative;
  z-index: 9;
  padding-bottom: 10px;
}

.tos-multilanguage__text {
  color: #667174;
  font-size: 14px;
  margin-right: 8px;
}

.tos-multilanguage__lang--drop {
  position: relative;
}

.tos-multilanguage__lang--drop__toggle {
  display: flex;
  align-items: center;
  border-radius: 3px;
  border: 1px solid #b5b5b5;
  min-width: 70px;
  width: auto;
  height: 23px;
  background-color: #ffffff;
  color: #000000;
  font-weight: 700;
  font-size: 16px;
  padding: 0 24px 0 5px;
  cursor: pointer;
  text-decoration: none;
}

.tos-multilanguage__lang--drop__toggle span {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 13px;
  line-height: 13px;
}

.tos-multilanguage__lang--drop__toggle img {
  display: inline-block;
  height: 20px;
  margin-right: 4px;
}

.tos-multilanguage__lang--drop__toggle .arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  transform: all .1s;
}

.tos-multilanguage__lang--drop__toggle.active .arrow {
  transform: translateY(-50%) rotate(-180deg);
  transition: all .3s;
}

.tos-multilanguage__lang--drop ul {
  position: absolute;
  background: #f5f7f6;
  width: 100%;
  display: none;
  padding: 0;
  margin: 0;
}

.tos-multilanguage__lang--drop ul.active {
  display: block;
}

.tos-multilanguage__lang--drop ul li {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: row;
  color: #000000;
  font-size: 14px;
  font-weight: 700;
  padding: 0 5px;
  cursor: pointer;
  transition: background-color .2s;
}

.tos-multilanguage__lang--drop ul li:hover, .tos-multilanguage__lang--drop ul li.active {
  background-color: #b5b5b5;
}

.tos-multilanguage__lang--drop ul li img {
  display: inline-block;
  height: 24px;
  margin-right: 4px;
}

.tos-multilanguage__lang--drop ul li span {
  font-size: 13px;
}

#session-list-container > div.tos-multilanguage {
  max-width: 700px;
}

@media only screen and (max-width: 47.93em) {
  .tos-multilanguage {
    padding: 0 20px 10px 0;
  }
}

/*=====================TOS MULTILANGUAGE end=======================*/
