(b) (1) The motion shall be supported by affidavits, declarations, admissions, answers to interrogatories, depositions, and matters of which judicial notice shall or may be taken. The supporting papers shall include a separate statement setting forth plainly and concisely all material facts which the moving party contends are undisputed. Each of the material facts stated shall be followed by a reference to the supporting evidence. The failure to comply with this requirement of a separate statement may in the court's discretion constitute a sufficient ground for denial of the motion.
(2) Any opposition to the motion shall be served and filed not less than 14 days preceding the noticed or continued date of hearing, unless the court for good cause orders otherwise. The opposition, where appropriate, shall consist of affidavits, declarations, admissions, answers to interrogatories, depositions, and matters of which judicial notice shall or may be taken.
(3) The opposition papers shall include a separate statement that responds to each of the material facts contended by the moving party to be undisputed, indicating whether the opposing party agrees or disagrees that those facts are undisputed. The statement also shall set forth plainly and concisely any other material facts that the opposing party contends are disputed. Each material fact contended by the opposing party to be disputed shall be followed by a reference to the supporting evidence. Failure to comply with this requirement of a separate statement may constitute a sufficient ground, in the court's discretion, for granting the motion.
(4) Any reply to the opposition shall be served and filed by the moving party not less than five days preceding the noticed or continued date of hearing, unless the court for good cause orders otherwise.
(5) Evidentiary objections not made at the hearing shall be deemed waived.
(6) Except for subdivision (c) of Section 1005 relating to the method of service of opposition and reply papers, Sections 1005 and 1013, extending the time within which a right may be exercised or an act may be done, do not apply to this section.
(7) Any incorporation by reference of matter in the court's file shall set forth with specificity the exact matter to which reference is being made and shall not incorporate the entire file.
(c) The motion for summary judgment shall be granted if all the papers submitted show that there is no triable issue as to any material fact and that the moving party is entitled to a judgment as a matter of law. In determining whether the papers show that there is no triable issue as to any material fact the court shall consider all of the evidence set forth in the papers, except that to which objections have been made and sustained by the court, and all inferences reasonably deducible from the evidence, except summary judgment may not be granted by the court based on inferences reasonably deducible from the evidence, if contradicted by other inferences or evidence, which raise a triable issue as to any material fact.
(d) Supporting and opposing affidavits or declarations shall be made by any person on personal knowledge, shall set forth admissible evidence, and shall show affirmatively that the affiant is competent to testify to the matters stated in the affidavits or declarations. Any objections based on the failure to comply with the requirements of this subdivision shall be made at the hearing or shall be deemed waived.
(e) If a party is otherwise entitled to a summary judgment pursuant to this section, summary judgment may not be denied on grounds of credibility or for want of cross-examination of witnesses furnishing affidavits or declarations in support of the summary judgment, except that summary judgment may be denied in the discretion of the court, where the only proof of a material fact offered in support of the summary judgment is an affidavit or declaration made by an individual who was the sole witness to that fact; or where a material fact is an individual's state of mind, or lack thereof, and that fact is sought to be established solely by the individual's affirmation thereof.
(f) (1) A party may move for summary adjudication as to one or more causes of action within an action, one or more affirmative defenses, one or more claims for damages, or one or more issues of duty, if that party contends that the cause of action has no merit or that there is no affirmative defense thereto, or that there is no merit to an affirmative defense as to any cause of action, or both, or that there is no merit to a claim for damages, as specified in Section 3294 of the Civil Code, or that one or more defendants either owed or did not owe a duty to the plaintiff or plaintiffs. A motion for summary adjudication shall be granted only if it completely disposes of a cause of action, an affirmative defense, a claim for damages, or an issue of duty.
(2) A motion for summary adjudication may be made by itself or as an alternative to a motion for summary judgment and shall proceed in all procedural respects as a motion for summary judgment. However, a party may not move for summary judgment based on issues asserted in a prior motion for summary adjudication and denied by the court, unless that party establishes to the satisfaction of the court, newly discovered facts or circumstances or a change of law supporting the issues reasserted in the summary judgment motion.
(g) Upon the denial of a motion for summary judgment, on the ground that there is a triable issue as to one or more material facts, the court shall, by written or oral order, specify one or more material facts raised by the motion as to which the court has determined there exists a triable controversy. This determination shall specifically refer to the evidence proffered in support of and in opposition to the motion which indicates that a triable controversy exists. Upon the grant of a motion for summary judgment, on the ground that there is no triable issue of material fact, the court shall, by written or oral order, specify the reasons for its determination. The order shall specifically refer to the evidence proffered in support of, and if applicable in opposition to, the motion which indicates that no triable issue exists. The court shall also state its reasons for any other determination. The court shall record its determination by court reporter or written order.
(h) If it appears from the affidavits submitted in opposition to a motion for summary judgment or summary adjudication or both that facts essential to justify opposition may exist but cannot, for reasons stated, then be presented, the court shall deny the motion, or order a continuance to permit affidavits to be obtained or discovery to be had or may make any other order as may be just. The application to continue the motion to obtain necessary discovery may also be made by ex parte motion at any time on or before the date the opposition response to the motion is due.
(i) If, after granting a continuance to allow specified additional discovery, the court determines that the party seeking summary judgment has unreasonably failed to allow the discovery to be conducted, the court shall grant a continuance to permit the discovery to go forward or deny the motion for summary judgment or summary adjudication. This section does not affect or limit the ability of any party to compel discovery under the Civil Discovery Act (Title 4 (commencing with Section 2016.010) of Part 4).
(j) If the court determines at any time that any of the affidavits are presented in bad faith or solely for purposes of delay, the court shall order the party presenting the affidavits to pay the other party the amount of the reasonable expenses which the filing of the affidavits caused the other party to incur. Sanctions may not be imposed pursuant to this subdivision, except on notice contained in a party's papers, or on the court's own noticed motion, and after an opportunity to be heard.
(k) Except when a separate judgment may properly be awarded in the action, no final judgment may be entered on a motion for summary judgment prior to the termination of the action, but the final judgment shall, in addition to any matters determined in the action, award judgment as established by the summary proceeding herein provided for.
(l) In actions which arise out of an injury to the person or to property, if a motion for summary judgment was granted on the basis that the defendant