/* ----------
				CHAT
			---------- */

.chat-panel {
  position: relative;
  /*display: inline-block;*/
  background-color: #EEEEEE;
  font-size: 0;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.chat-panel .emoji-header {
  background-color: #FFFFFF;
}

.chat-panel .emoji-header button,
.chat-panel .emoji-footer button {
  min-width: 30px;
    height: 40px;
    margin: 4px 2px;
  vertical-align: top;
  -webkit-transition: background-color 100ms;
  -moz-transition: background-color 100ms;
  -o-transition: background-color 100ms;
  transition: background-color 100ms;
}

.chat-panel .emoji-header button:active,
.chat-panel .emoji-footer button:active {
  background-color: #CCCCCC;
}

.chat-panel .emoji-header button img {
  width: 24px;
}

.chat-panel .emoji-panel {
  height: 178px;
  /* overflow-x: auto; */
  -webkit-transform: translate(0, 0);
  -moz-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
}

.chat-panel .emoji-panel > div {
  margin: 6px;
  height: 100%;
  overflow-y: auto;
  display: inline-block;
  white-space: normal;
  vertical-align: top;
}

.chat-panel .emoji-panel .emojicon {
  display: inline-block;
  cursor: pointer;
  transition: all 225ms cubic-bezier(.4, 0, .2, 1);
}

.chat-panel .emoji-panel .emojicon img {
  width: 25px;
  padding: 3px;
  margin: 3px;
  -webkit-transition: transform 100ms cubic-bezier(.4, 0, .2, 1);
  -moz-transition: transform 100ms cubic-bezier(.4, 0, .2, 1);
  -o-transition: transform 100ms cubic-bezier(.4, 0, .2, 1);
  transition: transform 100ms cubic-bezier(.4, 0, .2, 1);
}

.chat-panel .emoji-footer * {
  display: inline-block;
}

.chat-panel .emoji-footer {
  position: relative;
  background-color: #EEEEEE;
  padding: 8px 0;
  z-index: 1;
}

.chat-panel .emoji-footer form .message {
  background-color: #FFFFFF;
  padding: 12px;
  font-size: 17px;
  outline: none;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 5px;
  white-space: pre-wrap;
}

.chat-panel .emoji-footer form .message * {
  vertical-align: middle;
}

.chat-panel .emoji-footer form .message img {
  margin: 0 1px;
  margin-top: -1px;
  height: 20px;
  width: 20px;
}

.chat-panel .emoji-footer button {
  height: 50px;
  text-align: center;
}

.chat-panel .emoji-footer button i {
  font-size: 30px;
  line-height: 50px;
}

.chat-panel .emoji-footer button:first-child i {
  font-size: 50px;
}


/* EMOJI */

img.emoji {
  width: 23px;
}

/* ----------
				FLEX
			---------- */

.hor-flex-parent {
  display: -webkit-box !important;
  display: -webkit-flex !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  width: 100%;
}

.flex-kid {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.flex-outcast {
  -webkit-box-flex: none;
  -webkit-flex: none;
  -ms-flex: none;
  flex: none;
}

.menu-tabs > .menu-item {
  text-align: center;
}