def get_box_calc_row_type(color_conf_list, text):
    """Determine Box Calc row type from text."""
    for index in range(len(color_conf_list)):
        if text.find(color_conf_list[index].ident_text) != -1:
            return index
    return -1