Fix calendar styles and query