The liens provided for in this chapter shall be on equal footing with those liens within the same class of liens, without reference to the date of the filing of the lien claim or claims and are preferred to any lien, mortgage or other encumbrance, which may have attached subsequent to the time when the building, improvement or structure was commenced, work done, equipment, materials or fixtures were rented or leased, or materials or professional services were commenced to be furnished; also to any lien, mortgage, or other encumbrance of which the lienholder had no notice, and which was unrecorded at the time the building, improvement or structure was commenced, work done, equipment, materials or fixtures were rented or leased, or materials or professional services were commenced to be furnished.
Idaho Code § 45-506