html {
  height: 100%;
  overflow: -moz-scrollbars-none; }

body {
  background: #eceaef;
  font-family: 'Lato', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
  margin: 0;
  min-height: 100%;
  padding: 0; }
  body * {
    -webkit-box-sizing: border-box;
            box-sizing: border-box; }

#main-container {
  display: flex;
  flex-direction: column; }
  #main-container #sidebar-and-main {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    flex-wrap: nowrap; }
  #main-container #right {
    flex-grow: 10;
    display: flex;
    flex-direction: column; }
  #main-container #header {
    background: #564562;
    color: white; }
    #main-container #header ul {
      padding: 0;
      list-style: none;
      display: flex; }
      #main-container #header ul.horizontal-scroll {
        -webkit-overflow-scrolling: touch;
        height: 60px;
        overflow-x: auto;
        padding: 0 20px;
        width: calc(100vw - 60px);
        -webkit-transition: all 0.5s ease;
        transition: all 0.5s ease; }
        #main-container #header ul.horizontal-scroll:after {
          content: "_";
          visibility: hidden;
          opacity: 0;
          font-size: 1px; }
        #main-container #header ul.horizontal-scroll::-webkit-scrollbar {
          display: none; }
      #main-container #header ul li {
        color: rgba(255, 255, 255, 0.75);
        margin-right: 15px;
        padding: 4px 15px 7px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.75);
        font-size: 15px;
        white-space: nowrap;
        -ms-grid-row-align: center;
            align-self: center; }
    #main-container #header #navbar, #main-container #header #navbar2 {
      height: 60px;
      display: flex;
      align-items: center; }
    #main-container #header #navbar {
      justify-content: space-between;
      padding: 0 20px; }
      #main-container #header #navbar .left {
        color: #52D8F4; }
    #main-container #header #navbar2 {
      background: #7e6192; }
  #main-container #chat-area {
    flex-grow: 10;
    display: flex;
    flex-direction: row;
    justify-content: space-between; }
    #main-container #chat-area #chat-main {
      flex: 1;
      min-height: 100%;
      position: relative; }
      #main-container #chat-area #chat-main #conversation {
        padding: 20px;
        overflow-y: auto;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0; }
        #main-container #chat-area #chat-main #conversation::-webkit-scrollbar {
          display: none; }
      #main-container #chat-area #chat-main .right {
        text-align: right; }
    #main-container #chat-area #chat-sidebar {
      width: 30%;
      min-width: 270px;
      background: #dfdce4;
      border-left: 1px solid #bb93cb;
      display: flex;
      flex-direction: column;
      justify-content: space-between; }
      @media (max-width: 700px) {
        #main-container #chat-area #chat-sidebar {
          display: none; } }
      #main-container #chat-area #chat-sidebar #chat-sidebar-header {
        background: rgba(187, 147, 203, 0.25);
        text-align: center;
        padding: 20px;
        font-weight: 600; }
      #main-container #chat-area #chat-sidebar #chat-sidebar-body {
        padding: 20px;
        flex: 10; }
      #main-container #chat-area #chat-sidebar #chat-sidebar-footer {
        text-align: center;
        padding: 20px; }
  #main-container #send-row {
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    border-top: 1px solid #bb93cb;
    padding: 20px; }

#sidebar-wrapper {
  background: #493364;
  width: 60px;
  text-align: center;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease; }

@media (max-width: 700px) {
  #conversation {
    padding-bottom: 80px !important; }
  #send-row {
    position: fixed;
    bottom: 0;
    width: calc(100vw - 60px);
    left: 60px;
    background: #eceaef; } }

#main-container.open-sidebar #sidebar-wrapper {
  width: 220px; }

#main-container.open-sidebar #header ul.horizontal-scroll {
  width: calc(100vw - 220px); }

@media (max-width: 700px) {
  #main-container.open-sidebar #send-row {
    left: 220px;
    width: calc(100vw - 220px); } }
