def get_style(document, elem):
    """Get the style for this node element.

    :Args:
      - document (:class:`ooxml.doc.Document`): Document object
      - elem (:class:`ooxml.doc.Element`): Node element

    :Returns:
      Returns :class:`ooxml.doc.Style` object or None if it is not found.
    """
    try:
        return document.styles.get_by_id(elem.style_id)
    except AttributeError:
        return None
