focus_tree = {
	
	id = brazil
	
	country = {
		factor = 0
		modifier = {
			add = 25
			tag = BRA
		}
	}
	
	continuous_focus_position = { x = 1000 y = 1500 }
#Lula main political tree
	focus = {
		id = BRA_lula
		icon = workers_party
		
		x = 2
		y = 0
		
		cost = 5
		
		prerequisite = { }
		mutually_exclusive = { } 
		available = { 
			has_country_leader = { name = "Luiz Inacio Lula De Silva" }
		}
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			country_event = brazil.4
			unlock_decision_category_tooltip = BRA_workers_party_alignment_decision_category
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_nossa_economia
		icon = money

		x = 0
		y = 1
		relative_position_id = BRA_lula
		
		cost = 5
		
		prerequisite = { focus = BRA_lula }
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_ideas = BRA_idea_nossa_economia
			remove_ideas = BRA_idea_crippled_currency
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_the_internal
		icon = neutrality
		
		x = 2
		y = 1
		relative_position_id = BRA_lula
		
		cost = 5
		
		prerequisite = { focus = BRA_lula }
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			if = {
				limit = { has_idea = bureau_05 }
				swap_ideas = { remove_idea = bureau_05 add_idea = bureau_04 }
			}
			if = {
				limit = { has_idea = bureau_04 }
				swap_ideas = { remove_idea = bureau_04 add_idea = bureau_03 }
			}
			if = {
				limit = { has_idea = bureau_03 }
				swap_ideas = { remove_idea = bureau_03 add_idea = bureau_02 }
			}
			if = {
				limit = { has_idea = bureau_02 }
				swap_ideas = { remove_idea = bureau_02 add_idea = bureau_01 }
			}
			if = {
				limit = { has_idea = bureau_01 }
				add_political_power = 150	#if country has desired level it earns political power instead.
			}
			subtract_from_variable = { BRA_brazilian_party_alignment = 10.0 }
			custom_effect_tooltip = BRA_the_internal_tt
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_nosso_povo
		icon = construction

		x = 4
		y = 1
		relative_position_id = BRA_lula
		
		cost = 5
		
		prerequisite = { focus = BRA_lula }
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			add_political_power = 100
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_pay_back_the_imf
		icon = imf

		x = 0
		y = 2
		relative_position_id = BRA_lula
		
		cost = 5
		
		prerequisite = { focus = BRA_nossa_economia }
		mutually_exclusive = { }
		available = {
			has_idea = BRA_idea_imf_debts
		}
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			remove_ideas = BRA_idea_imf_debts
			subtract_from_variable = { debt = 100 }
			add_to_variable = { BRA_brazilian_party_alignment = 5.0 }
			custom_effect_tooltip = BRA_pay_back_the_imf_tt
			relative_change_pos_2 = yes
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_brazilian_exports
		icon = trade

		x = 0
		y = 3
		relative_position_id = BRA_lula
		
		cost = 5
		
		prerequisite = { 
			focus = BRA_pay_back_the_imf 
		}
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			country_event = brazil.5
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_foreign_companies
		icon = union_negotiations

		x = 0
		y = 4
		relative_position_id = BRA_lula
		
		cost = 5
		
		prerequisite = { 
			focus = BRA_brazilian_exports 
		}
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			random_owned_controlled_state = {
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			if = {
				limit = { has_idea = industrial_conglomerates }
				visually_display_opinion_rise_industrial_conglomerates = yes
				set_country_flag = current_industrial_conglomerates
				increase_internal_faction_opinion = yes
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_discuss_the_party
		icon = national_unity

		x = 2
		y = 2
		relative_position_id = BRA_lula
		
		cost = 5
		
		prerequisite = { 
			focus = BRA_the_internal 
		}
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			add_stability = .05
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_finalize_the_agenda
		icon = stolen_papers

		x = 2
		y = 3
		relative_position_id = BRA_lula
		
		cost = 5
		
		prerequisite = { 
			focus = BRA_discuss_the_party 
		}
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			add_stability = .05
			add_political_power = 100
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_root_out_corrpution
		icon = coins

		x = 2
		y = 4
		relative_position_id = BRA_lula
		
		cost = 5
		
		prerequisite = { 
			focus = BRA_finalize_the_agenda 
		}
		mutually_exclusive = { }
		available = {
			OR = {
				has_idea = paralyzing_corruption
				has_idea = crippling_corruption
				has_idea = rampant_corruption
				has_idea = unrestrained_corruption
				has_idea = systematic_corruption
				has_idea = widespread_corruption
				has_idea = medium_corruption
			}
		}
		historical_ai = { }
		select_effect = { }
		bypass = { 
			has_idea = negligible_corruption 
		}
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			if = {
				limit = { has_idea = paralyzing_corruption }
				swap_ideas = { remove_idea = paralyzing_corruption add_idea = crippling_corruption }
			}
			if = {
				limit = { has_idea = crippling_corruption }
				swap_ideas = { remove_idea = crippling_corruption add_idea = rampant_corruption }
			}
			if = {
				limit = { has_idea = rampant_corruption }
				swap_ideas = { remove_idea = rampant_corruption add_idea = unrestrained_corruption }
			}
			if = {
				limit = { has_idea = unrestrained_corruption }
				swap_ideas = { remove_idea = unrestrained_corruption add_idea = systematic_corruption }
			}
			if = {
				limit = { has_idea = systematic_corruption }
				swap_ideas = { remove_idea = systematic_corruption add_idea = widespread_corruption }
			}
			if = {
				limit = { has_idea = widespread_corruption }
				swap_ideas = { remove_idea = widespread_corruption add_idea = medium_corruption }
			}
			if = {
				limit = { has_idea = medium_corruption }
				swap_ideas = { remove_idea = medium_corruption add_idea = modest_corruption }
			}
			if = {
				limit = { has_idea = modest_corruption }
				add_political_power = 150 #if desired corruption level is reached before PP is rewarded instead
			}
			add_to_variable = { BRA_brazilian_party_alignment = 5.0 }
			relative_change_pos_4 = yes
			custom_effect_tooltip = BRA_raise_party_alignment_by_5_tt
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_bolsa_familia
		icon = democracy2

		x = 4
		y = 2
		relative_position_id = BRA_lula
		
		cost = 5
		
		prerequisite = { 
			focus = BRA_nosso_povo
		}
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			if = {
				limit = { has_idea = edu_01 }
				swap_ideas = { remove_idea = edu_01 add_idea = edu_02 }
			}
			if = {
				limit = { has_idea = edu_02 }
				swap_ideas = { remove_idea = edu_02 add_idea = edu_03 }
			}
			if = {
				limit = { has_idea = edu_03 }
				swap_ideas = { remove_idea = edu_03 add_idea = edu_04 }
			}
			if = {
				limit = { has_idea = edu_04 }
				swap_ideas = { remove_idea = edu_04 add_idea = edu_05 }
			}
			if = {
				limit = { has_idea = edu_05 }
				add_political_power = 100 #will raise no matter what until highest education law is reached
			}
			add_to_variable = { BRA_brazilian_party_alignment = 5.0 }
			relative_change_pos_4 = yes
			custom_effect_tooltip = BRA_raise_party_alignment_by_5_tt
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_socialism_in_concept
		icon = communism3

		x = 4
		y = 3
		relative_position_id = BRA_lula
		
		cost = 5
		
		prerequisite = { 
			focus = BRA_bolsa_familia			
		}
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			if = {
				limit = { has_idea = health_01 }
				swap_ideas = { remove_idea = health_01 add_idea = health_02 }
			}
			if = {
				limit = { has_idea = health_02 }
				swap_ideas = { remove_idea = health_02 add_idea = health_03 }
			}
			if = {
				limit = { has_idea = health_03 }
				swap_ideas = { remove_idea = health_03 add_idea = health_04 }
			}
			if = {
				limit = { has_idea = health_03 }
				add_political_power = 75 #healthcare is invested in up to an extent
			}
			subtract_from_variable = { BRA_brazilian_party_alignment = 5.0 }
			custom_effect_tooltip = BRA_lowers_party_alignment_by_5_tt
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_fome_zero
		icon = democracy4

		x = 4
		y = 4
		relative_position_id = BRA_lula
		
		cost = 5
		
		prerequisite = { 
			focus = BRA_socialism_in_concept 
		}
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			if = {
				limit = { has_idea = social_01 }
				swap_ideas = { remove_idea = social_01 add_idea = social_02 }
			}
			if = {
				limit = { has_idea = social_02 }
				swap_ideas = { remove_idea = social_02 add_idea = social_03 }
			}
			if = {
				limit = { has_idea = social_03 }
				swap_ideas = { remove_idea = social_03 add_idea = social_04 }
			}
			if = {
				limit = { has_idea = social_04 }
				swap_ideas = { remove_idea = social_04 add_idea = social_05 }
			}
			if = {
				limit = { has_idea = social_05 }
				swap_ideas = { remove_idea = social_05 add_idea = social_06 }
			}
			if = {
				limit = { has_idea = social_06 }
				add_political_power = 100 #If Welfare State is acheived political power is awarded
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_new_wave_ideas
		icon = tripartite_pact

		x = 2
		y = 5
		relative_position_id = BRA_lula
		
		cost = 10
		
		prerequisite = { 
			focus = BRA_root_out_corrpution
		}
		prerequisite = { 
			focus = BRA_fome_zero
		}
		prerequisite = {
			focus = BRA_foreign_companies
		}
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_ideas = BRA_idea_new_wave_ideas
			add_political_power = -50
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_war_on_the_cartels
		icon = ample_cocaine

		x = 0
		y = 5
		relative_position_id = BRA_lula
		
		cost = 10
		
		prerequisite = { 
			focus = BRA_root_out_corrpution
		}
		prerequisite = {
			focus = BRA_foreign_companies
		}
		mutually_exclusive = { }
		available = { 
			OR = {
				has_idea = cartels_4
				has_idea = cartels_3
				has_idea = cartels_2
				has_idea = cartels_1
			}
		}
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			#unlock_decision_category_tooltip = BRA_war_on_the_cartels_decision_category
			remove_ideas = cartels_3
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_global_diplomacy
		icon = global_community

		x = 4
		y = 5
		relative_position_id = BRA_lula
		
		cost = 5
		
		prerequisite = { 
			focus = BRA_root_out_corrpution
		}
		prerequisite = {
			focus = BRA_fome_zero
		}
		mutually_exclusive = { }
		available = { 
			threat > 0.10
		}
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_political_power = 100
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_align_to_nato
		icon = nato

		x = 1.5
		y = 6
		relative_position_id = BRA_lula
		
		cost = 10
		
		prerequisite = {
			focus = BRA_global_diplomacy
		}
		mutually_exclusive = { }
		available = {

		}
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_opinion_modifier = { target = USA modifier = supports_nato }
			USA = {
				add_opinion_modifier = { target = ROOT modifier = supports_nato }
				add_political_power = 25
			}
			add_opinion_modifier = { target = FRA modifier = supports_nato }
			FRA = {
				add_opinion_modifier = { target = ROOT modifier = supports_nato }
				add_political_power = 25
			}
			add_opinion_modifier = { target = GER modifier = supports_nato }
			GER = {
				add_opinion_modifier = { target = ROOT modifier = supports_nato }
				add_political_power = 25
			}
			add_opinion_modifier = { target = ENG modifier = supports_nato }
			ENG = {
				add_opinion_modifier = { target = ROOT modifier = supports_nato }
				add_political_power = 25
			}
			add_opinion_modifier = { target = CAN modifier = supports_nato }
			CAN = {
				add_opinion_modifier = { target = ROOT modifier = supports_nato }
				add_political_power = 25
			}
			add_political_power = 50
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_non_aligned
		icon = christ_the_redeemer

		x = 3.5
		y = 6
		relative_position_id = BRA_lula
		
		cost = 10
		
		prerequisite = {
			focus = BRA_global_diplomacy
		}
		mutually_exclusive = { }
		available = { 
		
		}
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_political_power = 100
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_eastern_alignment
		icon = GFX_brics

		x = 5.5
		y = 6
		relative_position_id = BRA_lula
		
		cost = 10
		
		prerequisite = {
			focus = BRA_global_diplomacy
		}
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_opinion_modifier = { target = SOV modifier = supports_the_east }
			SOV = {
				add_opinion_modifier = { target = ROOT modifier = supports_the_east }
				add_political_power = 25
			}
			add_opinion_modifier = { target = RAJ modifier = supports_the_east }
			RAJ = {
				add_opinion_modifier = { target = ROOT modifier = supports_the_east }
				add_political_power = 25
			}
			add_opinion_modifier = { target = CHI modifier = supports_the_east }
			CHI = {
				add_opinion_modifier = { target = ROOT modifier = supports_the_east }
				add_political_power = 25
			}
			add_opinion_modifier = { target = SAF modifier = supports_the_east }
			SAF = {
				add_opinion_modifier = { target = ROOT modifier = supports_the_east }
				add_political_power = 25
			}
			add_political_power = 50
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
#industrial

	focus = {
		id = BRA_growth_through_freedom
		icon = economic_prosperity

		x = -4
		y = 2
		relative_position_id = BRA_nossa_economia
		
		cost = 10
		
		prerequisite = { focus = BRA_nossa_economia }
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_ideas = BRA_idea_growth_through_freedom
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_build_fortaleza
		icon = construction

		x = -2
		y = 3
		relative_position_id = BRA_nossa_economia
		
		cost = 10
		
		prerequisite = { focus = BRA_growth_through_freedom }
		mutually_exclusive = { }
		available = { 
			has_full_control_of_state = 889
		}
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			889 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_brazilian_research_and_development
		icon = research

		x = -4
		y = 3
		relative_position_id = BRA_nossa_economia
		
		cost = 10
		
		prerequisite = { focus = BRA_growth_through_freedom }
		mutually_exclusive = { }
		available = {
			OR = {
				has_idea = modest_corruption
				has_idea = slight_corruption
				has_idea = negligible_corruption
			}
		}
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			add_research_slot = 1
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_develop_recife
		icon = industry3

		x = -6
		y = 3
		relative_position_id = BRA_nossa_economia
		
		cost = 10
		
		prerequisite = { focus = BRA_growth_through_freedom }
		mutually_exclusive = { }
		available = { 
			has_full_control_of_state = 888
		}
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			888 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_northeastern_stimulus
		icon = industry2

		x = -8
		y = 4
		relative_position_id = BRA_nossa_economia
		
		cost = 10
		
		prerequisite = { focus = BRA_develop_recife }
		mutually_exclusive = { }
		available = {
			has_full_control_of_state = 890
		}
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			890 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_rio_employment_projects
		icon = industry

		x = -6
		y = 4
		relative_position_id = BRA_nossa_economia
		
		cost = 10
		
		prerequisite = { focus = BRA_develop_recife }
		mutually_exclusive = { }
		available = { 
			has_full_control_of_state = 883
		}
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			883 = {
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_foreign_research_methods
		icon = research2

		x = -4
		y = 4
		relative_position_id = BRA_nossa_economia
		
		cost = 10
		
		prerequisite = { focus = BRA_brazilian_research_and_development }
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			add_ideas = BRA_idea_foreign_research_and_development
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_amazonian_el_dorado
		icon = production

		x = -2
		y = 4
		relative_position_id = BRA_nossa_economia
		
		cost = 2
		
		prerequisite = { focus = BRA_build_fortaleza }
		mutually_exclusive = { }
		available = {
			has_full_control_of_state = 892
		}
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			892 = {
				add_extra_state_shared_building_slots = 4
				add_building_construction = {
					type = industrial_complex
					level = 4
					instant_build = yes
				}
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
#industrial-internal factions

	focus = {
		id = BRA_help_the_farmers
		icon = agriculture

		x = -2
		y = 5
		relative_position_id = BRA_nossa_economia
		
		cost = 10
		
		prerequisite = { focus = BRA_amazonian_el_dorado }
		prerequisite = { focus = BRA_foreign_research_methods }
		mutually_exclusive = { focus = BRA_support_the_unions }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			if = {
				limit = { has_idea = farmers }
				visually_display_opinion_rise_farmers = yes
				set_country_flag = current_farmers
				increase_internal_faction_opinion = yes
			}
			if = {
				limit = { has_idea = labour_unions }
				visually_display_opinion_fall_labour_unions = yes
				set_country_flag = current_labour_unions
				decrease_internal_faction_opinion = yes
			}
		}
		
		ai_will_do = {
			base = 5
			
		}
	}
	
	focus = {
		id = BRA_support_the_unions
		icon = union_negotiations

		x = -4
		y = 5
		relative_position_id = BRA_nossa_economia
		
		cost = 10
		
		prerequisite = { focus = BRA_foreign_research_methods }
		prerequisite = { focus = BRA_amazonian_el_dorado }
		mutually_exclusive = { focus = BRA_help_the_farmers }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			if = {
				limit = { has_idea = labour_unions }
				visually_display_opinion_rise_labour_unions = yes
				set_country_flag = current_labour_unions
				increase_internal_faction_opinion = yes
			}
			if = {
				limit = { has_idea = farmers }
				visually_display_opinion_fall_farmers = yes
				set_country_flag = current_farmers
				decrease_internal_faction_opinion = yes
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_pro_union
		icon = steel_production

		x = -4
		y = 6
		relative_position_id = BRA_nossa_economia
		
		cost = 10
		
		prerequisite = { focus = BRA_support_the_unions }
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_ideas = BRA_idea_pro_unions
		}
		
		ai_will_do = {
			base = 10
		}
	}
	focus = {
		id = BRA_agrarian_economy
		icon = agriculture2

		x = -2
		y = 6
		relative_position_id = BRA_nossa_economia
		
		cost = 10
		
		prerequisite = { focus = BRA_help_the_farmers }
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_ideas = BRA_idea_pro_farmers
		}
		
		ai_will_do = {
			base = 10
		}
	}
#industrial-Neighbors
	focus = {
		id = BRA_neighborly_development
		icon = industry_democratic3

		x = -9
		y = 5
		relative_position_id = BRA_nossa_economia
		
		cost = 10
		
		prerequisite = { focus = BRA_northeastern_stimulus }
		prerequisite = { focus = BRA_rio_employment_projects }
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_ideas = BRA_idea_mercosur_member_state
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_the_guays
		icon = flag_guay

		x = -7
		y = 6
		relative_position_id = BRA_nossa_economia
		
		cost = 10
		
		prerequisite = { focus = BRA_neighborly_development }
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			if = {
				limit = {
					country_exists = PAR
					NOT = { has_war_with = PAR }
				}
				PAR = {
					country_event = brazil.16
				}	
			}
			if = {
				limit = {
					country_exists = URG
					NOT = { has_war_with = URG }
				}
				URG = {
					country_event = brazil.16
				}
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_argentina
		icon = flag_argentina

		x = -9
		y = 6
		relative_position_id = BRA_nossa_economia
		
		cost = 10
		
		prerequisite = { focus = BRA_neighborly_development }
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			if = {
				limit = {
					country_exists = ARG
					NOT = { has_war_with = ARG }
				}
				ARG = {
					country_event = brazil.16
				}
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_bolivia
		icon = flag_bolivia

		x = -11
		y = 6
		relative_position_id = BRA_nossa_economia
		
		cost = 10
		
		prerequisite = { focus = BRA_neighborly_development }
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			if = {
				limit = {
					country_exists = BOL
					NOT = { has_war_with = BOL }
				}
				BOL = {
					country_event = brazil.16
				}
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_western_coastal_countries
		icon = treaty2

		x = -10
		y = 7
		relative_position_id = BRA_nossa_economia
		
		cost = 10
		
		prerequisite = { focus = BRA_bolivia }
		prerequisite = { focus = BRA_argentina }
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			if = {
				limit = {
					country_exists = CHL
					NOT = { has_war_with = CHL }
				}
				CHL = {
					country_event = brazil.16
				}
			}
			if = {
				limit = {
					country_exists = PRU
					NOT = { has_war_with = PRU }
				}
				PRU = {
					country_event = brazil.16
				}
			}
			if = {
				limit = {
					country_exists = ECU
					NOT = { has_war_with = ECU }
				}
				ECU = {
					country_event = brazil.16
				}
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_northerners
		icon = treaty

		x = -8
		y = 7
		relative_position_id = BRA_nossa_economia
		
		cost = 10
		
		prerequisite = { focus = BRA_the_guays }
		prerequisite = { focus = BRA_argentina }
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			if = {
				limit = {
					country_exists = COL
					NOT = { has_war_with = COL }
				}
				COL = {
					country_event = brazil.16
				}
			}
			if = {
				limit = {
					country_exists = VEN
					NOT = { has_war_with = VEN }
				}
				VEN = {
					country_event = brazil.16
				}
			}
			if = {
				limit = {
					country_exists = GUY
					NOT = { has_war_with = GUY }
				}
				GUY = {
					country_event = brazil.16
				}
			}
			if = {
				limit = {
					country_exists = SUR
					NOT = { has_war_with = SUR }
				}
				SUR = {
					country_event = brazil.16
				}
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
#moreforeignpolicy

	focus = {
		id = BRA_the_way_we_judge
		icon = improve_relations_cyan

		x = 2
		y = 7
		relative_position_id = BRA_lula
		
		cost = 10
		
		prerequisite = { focus = BRA_new_wave_ideas }
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			add_political_power = 100
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_isolationism
		icon = align_to_brazil

		x = 0
		y = 8
		relative_position_id = BRA_lula
		
		cost = 10
		
		prerequisite = { focus = BRA_the_way_we_judge }
		mutually_exclusive = { focus = BRA_the_country_of_brotherly_love }
		available = {
			NOT = {
				has_idea = BRA_idea_party_of_progress
				has_idea = BRA_idea_modern_reformist
			}
		}
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			if = {
				limit = { has_idea = intervention_local_security  }
				swap_ideas = { remove_idea = intervention_local_security  add_idea = intervention_isolation  }
			}
			if = {
				limit = { has_idea = intervention_limited_interventionism   }
				swap_ideas = { remove_idea = intervention_local_security  add_idea = intervention_isolation  }
			}
			if = {
				limit = { has_idea = intervention_limited_interventionism   }
				swap_ideas = { remove_idea = intervention_limited_interventionism   add_idea = intervention_isolation  }
			}
			if = {
				limit = { has_idea = intervention_isolation  }
				add_political_power = 100 #If player already has desired law
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_the_country_of_brotherly_love
		icon = race_relations2

		x = 4
		y = 8
		relative_position_id = BRA_lula
		
		cost = 10
		
		prerequisite = { focus = BRA_the_way_we_judge }
		mutually_exclusive = { focus = BRA_isolationism }
		available = { 
			NOT = {
				has_idea = BRA_idea_neo_comunista
				has_idea = BRA_idea_radical_leftist
			}
		}
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_ideas = BRA_idea_diplomatic_powerhouse
		}
		
		ai_will_do = {
			base = 10
			modifier = {
				add = 5
				is_historical_focus_on = Yes
			}
		}
	}
	
	focus = {
		id = BRA_restrict_travelers
		icon = colonial_crackdown

		x = -1
		y = 9
		relative_position_id = BRA_lula
		
		cost = 10
		
		prerequisite = { focus = BRA_isolationism }
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			add_ideas = BRA_idea_restricted_travelers
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_shut_down_the_borders
		icon = aggressive_diplomacy

		x = -1
		y = 10
		relative_position_id = BRA_lula
		
		cost = 10
		
		prerequisite = { focus = BRA_restrict_travelers }
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			swap_ideas = {
				remove_idea = BRA_idea_restricted_travelers
				add_idea = BRA_idea_extensive_border_control
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_brazil_first
		icon = political_pressure

		x = 1
		y = 9
		relative_position_id = BRA_lula
		
		cost = 10
		
		prerequisite = { focus = BRA_isolationism }
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			add_political_power = 100
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_gunboat_diplomacy
		icon = dangerous_deal2

		x = 1
		y = 10
		relative_position_id = BRA_lula
		
		cost = 10
		
		prerequisite = { focus = BRA_brazil_first }
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			893 = { add_claim_by = BRA }
			894 = { add_claim_by = BRA }
			895 = { add_claim_by = BRA }
			896 = { add_claim_by = BRA }
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_brazil_above_all
		icon = anti_democracy3

		x = 0
		y = 11
		relative_position_id = BRA_lula
		
		cost = 10
		
		prerequisite = { focus = BRA_brazil_first }
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_popularity = {
				ideology = communism
				popularity = 0.05
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_the_international_mediator
		icon = democracy

		x = 3
		y = 9
		relative_position_id = BRA_lula
		
		cost = 10
		
		prerequisite = { focus = BRA_the_country_of_brotherly_love }
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			swap_ideas = {
				remove_idea = BRA_idea_diplomatic_powerhouse
				add_idea = BRA_idea_the_international_mediator
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_strength_in_cooperation
		icon = treaty2

		x = 5
		y = 9
		relative_position_id = BRA_lula
		
		cost = 10
		
		prerequisite = { focus = BRA_the_country_of_brotherly_love }
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_political_power = 100
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_visit_every_country
		icon = intelligence_exchange

		x = 3
		y = 10
		relative_position_id = BRA_lula
		
		cost = 10
		
		prerequisite = { focus = BRA_the_international_mediator }
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_stability = 0.10
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_support_the_little_guys
		icon = military_mission

		x = 5
		y = 10
		relative_position_id = BRA_lula
		
		cost = 10
		
		prerequisite = { focus = BRA_strength_in_cooperation }
		mutually_exclusive = { }
		available = { 
			
		}
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			if = {
				limit = {
					country_exists = GUY
					NOT = { has_war_with = BRA }
				}
				GUY = {
					877 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } }
					add_opinion_modifier = { target = BRA modifier = brazilian_investments }
					add_to_variable = { influence_array_val^0 = 5 }
				}
			}
			
			if = {
				limit = {
					country_exists = SUR
					NOT = { has_war_with = BRA }
				}
				SUR = {
					878 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } }
					add_opinion_modifier = { target = BRA modifier = brazilian_investments }
					add_to_variable = { influence_array_val^0 = 5 }
				}
			}
			
			if = {
				limit = {
					country_exists = PAR
					NOT = { has_war_with = BRA }
				}
				PAR = {
					895 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } }
					add_opinion_modifier = { target = BRA modifier = brazilian_investments }
					add_to_variable = { influence_array_val^0 = 5 }
				}
			}
			
			if = {
				limit = {
					country_exists = URG
					NOT = { has_war_with = BRA }
				}
				URG = {
					894 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } }
					add_opinion_modifier = { target = BRA modifier = brazilian_investments }
					add_to_variable = { influence_array_val^0 = 5 }
				}
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_a_global_power
		icon = diplomacy

		x = 4
		y = 11
		relative_position_id = BRA_lula
		
		cost = 10
		
		prerequisite = { focus = BRA_visit_every_country }
		prerequisite = { focus = BRA_support_the_little_guys }
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_ideas = BRA_idea_a_global_power
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
#military
	focus = {
		id = BRA_nosso_exercito
		icon = army_reform

		x = 10
		y = 0
		
		cost = 10
		
		prerequisite = { } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			army_experience = 10
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_marinha_do_brasil
		icon = navy2

		x = 20
		y = 0
		
		cost = 10
		
		prerequisite = { } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			navy_experience = 10
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_imbel
		icon = BRA_imbel_icon

		x = 0
		y = 1
		relative_position_id = BRA_nosso_exercito
		
		cost = 10
		
		prerequisite = { focus = BRA_nosso_exercito } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_ideas = BRA_idea_imbel
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_modern_artillery
		icon = artillery

		x = 0
		y = 2
		relative_position_id = BRA_nosso_exercito
		
		cost = 10
		
		prerequisite = { focus = BRA_imbel } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_ideas = BRA_idea_modern_artillery
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_strength_on_land
		icon = infantry_india

		x = 0
		y = 4
		relative_position_id = BRA_nosso_exercito
		
		cost = 10
		
		prerequisite = { focus = BRA_modern_artillery } 
		mutually_exclusive = { focus = BRA_reform_the_navy }
		available = {
			threat > 0.15
		}
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			add_ideas = BRA_idea_strength_on_land
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_homemade_rifles
		icon = small_arms2

		x = 2
		y = 1
		relative_position_id = BRA_nosso_exercito
		
		cost = 10
		
		prerequisite = { focus = BRA_nosso_exercito } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_ideas = BRA_idea_homemade_rifles
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_western_military_factories
		icon = industry_military

		x = 0
		y = 1
		relative_position_id = BRA_homemade_rifles
		
		cost = 10
		
		prerequisite = { focus = BRA_homemade_rifles } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			886 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_northeastern_military_factories
		icon = industry_military

		x = 0
		y = 2
		relative_position_id = BRA_homemade_rifles
		
		cost = 10
		
		prerequisite = { focus = BRA_western_military_factories } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			889 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			888 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_national_drydocks
		icon = navy

		x = -2
		y = 1
		relative_position_id = BRA_marinha_do_brasil
		
		cost = 10
		
		prerequisite = { focus = BRA_marinha_do_brasil } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			889 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_sao_paulo_naval_industries
		icon = naval_dockyard

		x = 0
		y = 1
		relative_position_id = BRA_national_drydocks
		
		cost = 10
		
		prerequisite = { focus = BRA_national_drydocks } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			882 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_rio_drydocks
		icon = naval_dockyard

		x = 0
		y = 2
		relative_position_id = BRA_national_drydocks
		
		cost = 10
		
		prerequisite = { focus = BRA_sao_paulo_naval_industries } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			883 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}

		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_behind_the_times
		icon = amphibious_assault

		x = 0
		y = 1
		relative_position_id = BRA_marinha_do_brasil
		
		cost = 10
		
		prerequisite = { focus = BRA_marinha_do_brasil } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			navy_experience = 10
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_underwater_flotilla
		icon = submarines

		x = 0
		y = 2
		relative_position_id = BRA_marinha_do_brasil
		
		cost = 10
		
		prerequisite = { focus = BRA_behind_the_times } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_ideas = BRA_idea_underwater_flotilla
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_reform_the_navy
		icon = wolfpacks

		x = 0
		y = 4
		relative_position_id = BRA_marinha_do_brasil
		
		cost = 10
		
		prerequisite = { focus = BRA_underwater_flotilla } 
		mutually_exclusive = { focus = BRA_strength_on_land }
		available = {
			threat > 0.15
		}
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_ideas = BRA_idea_reform_the_navy
		}
		
		ai_will_do = {
			base = 10
		}
	}
#military-army
	focus = {
		id = BRA_ee_11
		icon = motorized

		x = -1
		y = 5
		relative_position_id = BRA_nosso_exercito
		
		cost = 10
		
		prerequisite = { focus = BRA_strength_on_land } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_tech_bonus = {
				name = BRA_ee_11
				bonus = 0.75
				uses = 1
				technology = APC_1
				technology = APC_2
				technology = APC_3
				technology = APC_4
				technology = APC_5
				technology = APC_6
				technology = APC_7
				technology = APC_8
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}

	focus = {
		id = BRA_acquire_new_equipment
		icon = army_logistics

		x = 1
		y = 5
		relative_position_id = BRA_nosso_exercito
		
		cost = 10
		
		prerequisite = { focus = BRA_strength_on_land } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			add_tech_bonus = {
				name = BRA_acquire_new_equipment
				bonus = 0.50
				uses = 1
				technology = command_control_equipment
				technology = command_control_equipment1
				technology = command_control_equipment2
				technology = command_control_equipment3
				technology = command_control_equipment4
				technology = command_control_equipment5
				technology = command_control_equipment6
			}
			add_tech_bonus = {
				name = BRA_acquire_new_equipment
				bonus = 0.50
				uses = 1
				technology = body_armor_1980
				technology = body_armor_2000
				technology = body_armor_2010
				technology = body_armor_2030
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_update_the_ifvs
		icon = apc

		x = -1
		y = 6
		relative_position_id = BRA_nosso_exercito
		
		cost = 10
		
		prerequisite = { focus = BRA_ee_11 } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_tech_bonus = {
				name = BRA_update_the_ifvs
				bonus = 0.75
				uses = 1
				technology = IFV_1 
				technology = IFV_2 
				technology = IFV_3
				technology = IFV_4
				technology = IFV_5 
				technology = IFV_6
				technology = IFV_7
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_decentralized_warfare
		icon = army_doctrine

		x = 1
		y = 6
		relative_position_id = BRA_nosso_exercito
		
		cost = 10
		
		prerequisite = { focus = BRA_acquire_new_equipment } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_tech_bonus = {
				name = BRA_decentralized_warfare
				bonus = 1.0
				uses = 2
				technology = decentralized_warfare
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_modern_armor
		icon = tanks3

		x = -1
		y = 7
		relative_position_id = BRA_nosso_exercito
		
		cost = 10
		
		prerequisite = { focus = BRA_update_the_ifvs } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			add_ideas = BRA_idea_modern_armor
			add_tech_bonus = {
				name = BRA_modern_armor
				bonus = 1.0
				uses = 1
				technology = MBT_1
				technology = MBT_2
				technology = MBT_3
				technology = MBT_4
				technology = MBT_5
				technology = MBT_7
				technology = MBT_8
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_larger_artillery
		icon = artillery2

		x = 1
		y = 7
		relative_position_id = BRA_nosso_exercito
		
		cost = 10
		
		prerequisite = { focus = BRA_decentralized_warfare } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			add_tech_bonus = {
				name = BRA_larger_artillery
				bonus = 0.75
				uses = 2
				technology = artillery_1
				technology = artillery_2
				technology = artillery_3
				technology = artillery_4
				technology = SP_arty_1
				technology = SP_arty_2
				technology = SP_arty_3
				technology = SP_arty_4
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_braco_forte_mao_amiga
		icon = brazilian_armed_forces

		x = 0
		y = 8
		relative_position_id = BRA_nosso_exercito
		
		cost = 10
		
		prerequisite = { focus = BRA_modern_armor } 
		prerequisite = { focus = BRA_larger_artillery } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			add_ideas = BRA_idea_braco_forte_mao_amiga
		}
		
		ai_will_do = {
			base = 10
		}
	}
#military-navy
	focus = {
		id = BRA_french_naval_studies
		icon = french_navy

		x = -1
		y = 5
		relative_position_id = BRA_marinha_do_brasil
		
		cost = 10
		
		prerequisite = { focus = BRA_reform_the_navy } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			if = {
				limit = {
					country_exists = FRA
					NOT = { has_war_with = FRA }
				}
				
				FRA = {
					country_event = brazil.15
				}
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_lets_go_nuclear
		icon = navy3

		x = -1
		y = 6
		relative_position_id = BRA_marinha_do_brasil
		
		cost = 10
		
		prerequisite = { focus = BRA_french_naval_studies } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_tech_bonus = {
				name = BRA_nuclear_battle_cruisers
				bonus = 0.75
				uses = 1
				technology = attack_submarine_1 
				technology = attack_submarine_2
				technology = attack_submarine_3 
				technology = attack_submarine_4 
				technology = attack_submarine_5 
				technology = attack_submarine_6
				technology = attack_submarine_7 
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_assault_carriers
		icon = battleships

		x = -1
		y = 7
		relative_position_id = BRA_marinha_do_brasil
		
		cost = 10
		
		prerequisite = { focus = BRA_lets_go_nuclear } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			add_tech_bonus = {
				name = BRA_assault_carriers
				bonus = 0.50
				uses = 1
				technology = LHA_0
				technology = LHA_1
				technology = LHA_2
				technology = LHA_3
				technology = LHA_4
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_usn_carriers
		icon = carriers

		x = 1
		y = 5
		relative_position_id = BRA_marinha_do_brasil
		
		cost = 10
		
		prerequisite = { focus = BRA_reform_the_navy } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_tech_bonus = {
				name = BRA_usn_carriers
				bonus = 0.50
				uses = 1
				technology = modern_carrier_0
				technology = modern_carrier_1
				technology = modern_carrier_2
				technology = modern_carrier_3
				technology = modern_carrier_4
				technology = modern_carrier_5
				technology = modern_carrier_6
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_juruena_class
		icon = cruisers

		x = 1
		y = 6
		relative_position_id = BRA_marinha_do_brasil
		
		cost = 10
		
		prerequisite = { focus = BRA_usn_carriers } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			add_tech_bonus = {
				name = BRA_destroyers
				bonus = 0.50
				uses = 1
				technology = destroyer_1
				technology = destroyer_2
				technology = missile_destroyer_1
				technology = missile_destroyer_2
				technology = missile_destroyer_3
				technology = missile_destroyer_4
				technology = missile_destroyer_5
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_cgn_1985
		icon = destroyers

		x = 1
		y = 7
		relative_position_id = BRA_marinha_do_brasil
		
		cost = 10
		
		prerequisite = { focus = BRA_juruena_class } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_tech_bonus = {
				name = BRA_assault_carriers
				bonus = 0.75
				uses = 1
				technology = frigate_1
				technology = frigate_2
				technology = missile_frigate_1
				technology = missile_frigate_2
				technology = missile_frigate_3
				technology = missile_frigate_4
				technology = missile_frigate_5
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_protegendo_nossas_riquezas
		icon = brazil_navy

		x = 0
		y = 8
		relative_position_id = BRA_marinha_do_brasil
		
		cost = 10
		
		prerequisite = { focus = BRA_cgn_1985 } 
		prerequisite = { focus = BRA_assault_carriers } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_ideas = BRA_idea_protegendo_nossas_riquezas
		}
		
		ai_will_do = {
			base = 10
		}
	}
#military-air force

	focus = {
		id = BRA_air_force_expansion
		icon = brazil_airforce

		x = 15
		y = 5
		
		cost = 10
		
		prerequisite = { } 
		mutually_exclusive = { }
		available = { 
			OR = {
				has_completed_focus = BRA_strength_on_land
				has_completed_focus = BRA_reform_the_navy
			}
		}
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			if = {
				limit = {
					NOT = {
						any_owned_state = {
							air_base > 1
							air_base < 3
						}
					}
				}
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = air_base
							size > 5
						}
					}
					add_building_construction = {
						type = air_base
						level = 5
						instant_build = yes
					}
				}			
			}

			random_owned_controlled_state = {
				limit = {
					air_base > 1
					air_base < 3
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					air_base > 1
					air_base < 3
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					air_base > 1
					air_base < 3
				}
				add_building_construction = {
					type = air_base
					level = 1
					instant_build = yes
				}
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_invest_in_heli
		icon = close_air_support

		x = -1
		y = 1
		relative_position_id = BRA_air_force_expansion
		
		cost = 10
		
		prerequisite = { focus = BRA_air_force_expansion } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			add_tech_bonus = {
				name = BRA_invest_in_heli
				bonus = 0.50
				uses = 1
				technology = early_helicopter
				technology = attack_helicopter1
				technology = attack_helicopter2
				technology = attack_helicopter3
				technology = attack_helicopter4
				technology = attack_helicopter5
				technology = transport_helicopter1
				technology = transport_helicopter2
				technology = transport_helicopter3
				technology = transport_helicopter4
				technology = transport_helicopter5
			}
		}
	}
	
	focus = {
		id = BRA_carrier_planes
		icon = escort_fighters

		x = 1
		y = 1
		relative_position_id = BRA_air_force_expansion
		
		cost = 10
		
		prerequisite = { focus = BRA_air_force_expansion } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			add_tech_bonus = {
				name = BRA_carrier_planes
				bonus = 0.50
				uses = 1
				technology = CV_MR_Fighter1
				technology = CV_MR_Fighter2
				technology = CV_MR_Fighter3
				technology = CV_MR_Fighter4
				technology = CV_MR_Fighter5
				technology = CV_MR_Fighter6
				technology = CV_MR_Fighter7
				technology = CV_L_Strike_fighter1
				technology = CV_L_Strike_fighter2
				technology = CV_L_Strike_fighter3
				technology = CV_L_Strike_fighter4
				technology = CV_L_Strike_fighter5
			}
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_cas_research
		icon = flying_tigers

		x = -1
		y = 2
		relative_position_id = BRA_air_force_expansion
		
		cost = 10
		
		prerequisite = { focus = BRA_invest_in_heli } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			add_tech_bonus = {
				name = BRA_cas_research
				bonus = 0.50
				uses = 1
				technology = cas1
				technology = cas2
				technology = cas3
				technology = cas4
				technology = cas5
			} 
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_maritime_routine
		icon = naval_bombers

		x = 1
		y = 2
		relative_position_id = BRA_air_force_expansion
		
		cost = 10
		
		prerequisite = { focus = BRA_carrier_planes } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			add_tech_bonus = {
				name = BRA_maritime_routine
				bonus = 0.50
				uses = 1
				technology = naval_plane1
				technology = naval_plane2
				technology = naval_plane3
				technology = naval_plane4
				technology = naval_plane5
				technology = naval_plane6
			}	
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_mr_fighters
		icon = fighters

		x = -1
		y = 3
		relative_position_id = BRA_air_force_expansion
		
		cost = 10
		
		prerequisite = { focus = BRA_cas_research } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			add_tech_bonus = {
				name = BRA_mr_fighters
				bonus = 0.50
				uses = 1
				technology = MR_Fighter1
				technology = MR_Fighter2
				technology = MR_Fighter3
				technology = MR_Fighter4
				technology = MR_Fighter5
				technology = MR_Fighter6
				technology = MR_Fighter7
			} 
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_light_fighters
		icon = fighters2

		x = 1
		y = 3
		relative_position_id = BRA_air_force_expansion
		
		cost = 10
		
		prerequisite = { focus = BRA_maritime_routine } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			add_tech_bonus = {
				name = BRA_light_fighters
				bonus = 0.50
				uses = 1
				technology = L_Strike_fighter1
				technology = L_Strike_fighter2
				technology = L_Strike_fighter3
				technology = L_Strike_fighter4
				technology = L_Strike_fighter5
			} 
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
#cardoso final days

	focus = {
		id = BRA_cardosos_last_years
		icon = psdb_focus

		x = 25
		y = 0
		
		cost = 5
		
		prerequisite = { } 
		mutually_exclusive = { }
		available = { 
			has_country_leader = { name = "Fernando Henrique Cardoso" } 
		}
		historical_ai = { }
		select_effect = { }
		bypass = { 
			NOT = { has_country_leader = { name = "Fernando Henrique Cardoso" } }
		}
		cancel = { 
			NOT = { has_country_leader = { name = "Fernando Henrique Cardoso" } }
		}
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			add_stability = -0.05
			add_political_power = 100
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_amazonian_development_project
		icon = construction2

		x = -2
		y = 1
		relative_position_id = BRA_cardosos_last_years
		
		cost = 10
		
		prerequisite = { focus = BRA_cardosos_last_years } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			country_event = brazil.3
			unlock_decision_category_tooltip = BRA_amazon_resource_development_decision_category
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_project_devastate_the_amazon
		icon = money_on_fire

		x = -2
		y = 2
		relative_position_id = BRA_cardosos_last_years
		
		cost = 10
		
		prerequisite = { focus = BRA_amazonian_development_project } 
		mutually_exclusive = { }
		available = { 
			has_country_flag = amazonian_development_project 
		}
		historical_ai = { }
		select_effect = { }
		bypass = { 
			has_country_flag = denied_amazonian_development_project
		}
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			country_event = brazil.6
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_dismantle_the_agency
		icon = labor_unions

		x = -2
		y = 3
		relative_position_id = BRA_cardosos_last_years
		
		cost = 10
		
		prerequisite = { focus = BRA_project_devastate_the_amazon } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_stability = 0.075
			subtract_from_variable = { treasury = 15.0 }
			relative_change_pos_2 = yes
			custom_effect_tooltip = BRA_dismantle_the_agency_tt
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_march_of_the_excluded
		icon = concessions

		x = 0
		y = 1
		relative_position_id = BRA_cardosos_last_years
		
		cost = 10
		
		prerequisite = { focus = BRA_cardosos_last_years } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			country_event = brazil.14
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	
	focus = {
		id = BRA_native_protests
		icon = native_americans

		x = 0
		y = 2
		relative_position_id = BRA_cardosos_last_years
		
		cost = 10
		
		prerequisite = { focus = BRA_march_of_the_excluded } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			add_stability = -0.02
			if = {
				limit = { has_idea = police_02 }
				swap_ideas = { remove_idea = police_02 add_idea = police_03 }
			}
			add_popularity = {
				ideology = nationalist
				popularity = 0.075
			}	
			recalculate_party = yes
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_angry_natives
		icon = secret_weapons

		x = 0
		y = 3
		relative_position_id = BRA_cardosos_last_years
		
		cost = 10
		
		prerequisite = { focus = BRA_native_protests } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_ideas = BRA_idea_angry_natives
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_reinstating_imf_debts
		icon = imf

		x = 2
		y = 1
		relative_position_id = BRA_cardosos_last_years
		
		cost = 10
		
		prerequisite = { focus = BRA_cardosos_last_years } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_ideas = BRA_idea_imf_debts
			add_to_variable = { debt = 225 }
			add_to_variable = { treasury = 225 }
			custom_effect_tooltip = BRA_reinstating_imf_debts_tt
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_a_modern_recession
		icon = economic_crisis

		x = 2
		y = 2
		relative_position_id = BRA_cardosos_last_years
		
		cost = 10
		
		prerequisite = { focus = BRA_reinstating_imf_debts } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {		
			if = {
				limit = { has_idea = recession }
				swap_ideas = { remove_idea = recession add_idea = stagnation }
			}
			if = {
				limit = { has_idea = stagnation }
				add_political_power = 100 #If Player has already boosted to stagnation
			}
			subtract_from_variable = { treasury = 10 }
			custom_effect_tooltip = BRA_lose_10_billion_tt
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_crippled_currency
		icon = better_money

		x = 2
		y = 3
		relative_position_id = BRA_cardosos_last_years
		
		cost = 10
		
		prerequisite = { focus = BRA_a_modern_recession } 
		mutually_exclusive = { }
		available = { }
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = {
			add_ideas = BRA_idea_crippled_currency
			add_popularity = {
				ideology = democratic
				popularity = -0.05
			}	
			recalculate_party = yes
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	focus = {
		id = BRA_cardoso_is_gone
		icon = forceful_treaty

		x = 0
		y = 4
		relative_position_id = BRA_cardosos_last_years
		
		cost = 10
		
		prerequisite = { focus = BRA_crippled_currency } 
		prerequisite = { focus = BRA_angry_natives }
		prerequisite = { focus = BRA_dismantle_the_agency }
		mutually_exclusive = { }
		available = {
			NOT = { has_country_leader = { name = "Fernando Henrique Cardoso" } }
		}
		historical_ai = { }
		select_effect = { }
		bypass = { }
		cancel = { }
		
		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = no
		
		complete_tooltip = { }
		completion_reward = { 
			add_stability = 0.10
			relative_change_pos_4 = yes
			add_political_power = 50 
		}
		
		ai_will_do = {
			base = 10
		}
	}
}