subparagraph (C)). . (2) Paragraph (4) of section 145(d) is amended— (A) by striking of section 47(c)(1)(C) each place it appears and inserting of section 47(c)(1)(B) , and (B) by striking section 47(c)(1)(C)(i) and inserting section 47(c)(1)(B)(i) . (c) Effective date (1) In general Except as provided in paragraph (2), the amendments made by this section shall apply to amounts paid or incurred after December 31, 2017. (2) Transition rule In the case of qualified rehabilitation expenditures with respect to any building— (A) owned or leased by the taxpayer during the entirety of the period after December 31, 2017, and (B) with respect to which the 24-month period selected by the taxpayer under section 47(c)(1)(B) of the Internal Revenue Code of 1986 (as amended by subsection (b)) begins not later than 180 days after the date of the enactment of this Act, the amendments made by this section shall apply to such expenditures paid or incurred after the end of the taxable year in which the 24-month period referred to in subparagraph (B) ends. 13403. Repeal of deduction for certain unused business credits (a) In general Part VI of subchapter B of chapter 1 is amended by striking section 196 (and by striking the item relating to such section in the table of sections for such part). (b) Effective date The amendments made by this section shall apply to taxable years beginning after December 31, 2017. 13404. Employer credit for paid family and medical leave (a) In general (1) Allowance of credit Subpart D of part IV of subchapter A of chapter 1 is amended by adding at the end the following new section: 45S. Employer credit for paid family and medical leave (a) Establishment of credit (1) In general For purposes of section 38, in the case of an eligible employer, the paid family and medical leave credit is an amount equal to the applicable percentage of the amount of wages paid to qualifying employees during any period in which such employees are on family and medical leave. (2) Applicable percentage For purposes of