.message_content {
  border: 1px solid silver;
  border-radius: 5px;
  box-shadow: var(--box-shadow-down);
}

#messages {
  font-family: 'Acme';


  .message {
    border-top: 1px solid var(--border);
    padding: 10px;
    min-height: 25px;
    overflow: hidden;

    &:hover {
      background-color: #ddd;
    }

    a {
      text-decoration: underline;

      &:hover {
        color: dodgerblue;
      }
    }

    .username {
      font-family: 'Acme';
      font-size: 1.3em;
      position: relative;
      color: #333;
      padding: 4px 5px;
      float: left;
      margin-right: 10px;
    }

    .created_at {
      float: right;
      font-size: .9em;
      color: #555;
      margin: 0 0 5px 5px;
    }

    .content {
      line-height: 120%;
      position: relative;
      top: -2px;
      font-size: 1em;
      word-wrap: break-word;
    }
  }
}

#messages {
  .new_message {
    display: flex;
    flex-wrap: wrap;
  }

  #message_content {
    margin: 10px 5px;
    flex-grow: 1;
  }

  .message_bottom {
    margin: 10px 5px;

    .direct {
      padding: 0 10px
    }
  }
}

.profile_messages, #nav_direct_messages {
  .friend {
    .created_at {
      float: right;
      color: #888;
      font-size: .8em;
    }

    .username {
      font-size: 1.2em;
    }

    .content {
      margin: 7px 0 0 65px;
      color: #444;
      font-size: .8em;
      word-wrap: break-word;
    }
  }

  .list_item_wrap {
    .new {
      background: lightcyan;
      box-shadow: 0 2px 6px rgba(0, 0 ,0 ,.8);
      border-radius: 0;
    }
  }
}

.full_conversation {
  .include {
    position: absolute;
    top: 0;
    right: 20px;
    font-size: 0.8em;
    color: steelblue;
    text-decoration: underline;

    &:hover {
      color: #333;
    }
  }
  .convo_new_message {
    margin: 20px;

    .message_content {
      max-width: 440px;
      height: 70px;
      margin: 10px 0;
      padding: 10px;
    }
  }
  .conversation {
    margin: 10px;
    border-top: 1px solid silver;
  }

  .convo_list_item {
    padding: 8px;
    border-bottom: 1px solid silver;
    border-top: 1px solid #fff;
    min-height: 50px;
    position: relative;

    .online {
      position: absolute;
      top: 0;
      left: 0;
    }

    .avatar {
      float: left;
      margin-right:10px;
      margin-bottom: 4px;
    }

    .username {
      color: #111;
      display: inline-block;
    }

    .game {
      padding-left: 10px;
      font-size: .8em;
      color: steelblue;
    }

    .time {
      float: right;
      color: #888;
      font-size: .8em;
    }

    .content {
      color: #444;
      font-size: .8em;
      line-height: 120%;
      word-wrap: break-word;

      p {
        margin: 5px 0 0 65px;
      }

      a {
        text-decoration: underline;

        &:hover {
          color: dodgerblue;
        }
      }
    }
  }
}
