guiTypes = {
	containerWindowType = {
		name = "state_economic_ui_view"
		position = { x = 35 y = 200 }

		iconType = {
			name ="productivity_icon"
			spriteType = "GFX_mapmode_buttons_deselected_small_productivity_map_mode"
			position = { x = -15 y = 24 }
			scale = 1.2
		}

		iconType = {
			name = "productivity_background"
			spriteType = "GFX_generic_box_wider"
			position = { x = 29 y = 25 }
			Orientation = "UPPER_LEFT"
		}

		instantTextBoxType = {
			name = "state_productivity_amount"
			position = { x = 19 y = 28 }
			font = "hoi_18mbs"
			format = center
			maxWidth = 100
			maxHeight = 24
			fixedsize = yes
			text = "NUM_STATE_PRODUCTIVITY"
			pdx_tooltip = "NUM_STATE_PRODUCTIVITY_DESC"
			pdx_tooltip_delayed = "NUM_STATE_PRODUCTIVITY_DELAYED_DESC"
		}

		iconType = {
			name ="energy_icon"
			spriteType = "GFX_mapmode_buttons_deselected_small_renewable_energy_hotspot_map_mode"
			position = { x = 308 y = 407 }
		}

		instantTextBoxType = {
			name = "state_renewable_text"
			position = { x = 336 y = 408 }
			font = "hoi_18mbs"
			format = left
			maxWidth = 50
			maxHeight = 24
			fixedsize = yes
			text = "[disp_renew_hotspot]"
			pdx_tooltip = "renewable_capacity_factor_dyn_mod_TT"
		}
	}
	
	containerWindowType = {
		name = "open_energy_gui"
		position = { x = 560 y = 10	 }
		buttonType = {
			name = "open_energy_window"
			spriteType = "GFX_energy_button"
			position = { x = 0 y = 0 }
			pdx_tooltip = "OPEN_ENERGY_BUTTON"
			pdx_tooltip_delayed = "OPEN_ENERGY_BUTTON_TT"
			shortcut = "ctrl+e"
		}
	}

	containerWindowType = {
		name = "energy_scripted_gui"
		position = { x = 675 y = 0 }
		size = { width = 557 height = 409 }
		background = {
			name = "Background"
			spriteType ="GFX_energy_ui"
		}

		instantTextBoxType = {
			name = "header_text_title"
			position = { x = 230 y = 28 }
			font = "hoi_36header"
			text = "HEADER_TEXT_TITLE"
			maxWidth = 100
			maxHeight = 20
			format = center
		}

		# Energy Producing Building Grid
		containerWindowType = {
			name = "total_energy_production_buildings_grid"
			position = { x = 63 y = 95 }

			# Fossil Fuel Power Plant
			iconType = {
				name = "total_ffp_bg"
				spriteType = "GFX_generic_box_smallest"
				position = { x = 30	y = 2 }
			}
			instantTextBoxType = {
				name = "total_ffp_amount"
				position = { x = 38 y = 6 }
				font = "hoi_18mbs"
				text = "total_ffp_amount_number"
				format = centre
				maxWidth = 55
				maxHeight = 24
				fixedsize = yes
				pdx_tooltip = "total_ffp_amount_tt"
				pdx_tooltip_delayed = "total_ffp_amount_tt_delayed"
			}
			iconType = {
				name = "total_ffp"
				position = { x = 5 y = 0 }
				spriteType = "GFX_buildings_strip"
				frame = 34
				scale = 0.63
			}

			# Nuclear Reactor
			iconType = {
				name = "total_nuclear_reactor_bg"
				spriteType = "GFX_generic_box_smallest"
				position = { x = 140	y = 2 }
			}
			instantTextBoxType = {
				name = "total_nuclear_reactor_amount"
				position = { x = 148 y = 6 }
				font = "hoi_18mbs"
				text = "total_nuclear_reactor_amount"
				format = centre
				maxWidth = 55
				maxHeight = 24
				fixedsize = yes
				pdx_tooltip = "total_nuclear_reactor_amount_tt"
				pdx_tooltip_delayed = "total_nuclear_reactor_amount_tt_delayed"
			}
			iconType = {
				name = "total_nuclear_reactor"
				position = { x = 115 y = 0 }
				spriteType = "GFX_buildings_strip"
				frame = 27
				scale = 0.63
			}

			# Renewable Energy Infrastructure
			iconType = {
				name = "total_renewable_energy_bg"
				spriteType = "GFX_generic_box_smallest"
				position = { x = 250	y = 2 }
			}
			instantTextBoxType = {
				name = "total_renewable_energy_amount"
				position = { x = 258 y = 6 }
				font = "hoi_18mbs"
				text = "[?renewable_energy_infra]"
				format = centre
				maxWidth = 55
				maxHeight = 24
				fixedsize = yes
				pdx_tooltip = "total_renewable_energy_amount_tt"
				pdx_tooltip_delayed = "total_renewable_energy_amount_tt_delayed"
			}
			iconType = {
				name = "total_renewable_energy"
				spriteType = "GFX_buildings_strip"
				frame = 10
				scale = 0.63
				position = { x = 225 y = 0 }
			}

			# Fuel Silo
			iconType = {
				name = "total_fuel_silo_bg"
				spriteType = "GFX_generic_box_smallest"
				position = { x = 360 y = 2 }
			}
			instantTextBoxType = {
				name = "total_fuel_silo_amount"
				position = { x = 368 y = 6 }
				font = "hoi_18mbs"
				text = "[?fuel_silos]"
				format = centre
				maxWidth = 55
				maxHeight = 24
				fixedsize = yes
				pdx_tooltip = "total_fuel_silo_amount_tt"
				pdx_tooltip_delayed = "total_fuel_silo_amount_tt_delayed"
			}
			iconType = {
				name = "total_fuel_silo"
				spriteType = "GFX_buildings_strip"
				frame = 14
				scale = 0.63
				position = { x = 335 y = 0 }
			}
		}

		# Generation
		containerWindowType = {
			name = "energy_generation_values"
			position = { x = 22 y = 130 }

			instantTextBoxType = {
				name = "energy_generation_total"
				position = { x = 0 y = 0 }
				font = "hoi_24header"
				text = "TOTAL_GENERATION_ENERGY"
				maxWidth = 375
				maxHeight = 20
				format = left
				pdx_tooltip = "ENERGY_GENERATION_TOTAL_TT"
				pdx_tooltip_delayed = "ENERGY_GENERATION_TOTAL_DELAYED_TT"
			}
		}

		# Consumption
		containerWindowType = {
			name = "energy_consumption_values"
			position = { x = 22 y = 150 }

			instantTextBoxType = {
				name = "energy_consumption_total"
				position = { x = 0 y = 0 }
				font = "hoi_24header"
				text = "TOTAL_CONSUMPTION_ENERGY"
				maxWidth = 375
				maxHeight = 20
				format = left
				pdx_tooltip = "TOTAL_CONSUMPTION_ENERGY_TT"
				pdx_tooltip_delayed = "TOTAL_CONSUMPTION_ENERGY_DELAYED_TT"
			}
		}

		# Total
		containerWindowType = {
			name = "misc_values"
			position = { x = 22 y = 170 }

			instantTextBoxType = {
				name = "energy_fulfillment_total"
				position = { x = 0 y = 10 }
				font = "hoi_24header"
				text = "MISSING_FULFILLMENT_VALUE"
				maxWidth = 375
				maxHeight = 20
				format = left
				pdx_tooltip = "MISSING_FULFILLMENT_VALUE_TT"
			}

			instantTextBoxType = {
				name = "net_energy_balance"
				position = { x = 0 y = 30 }
				font = "hoi_24header"
				text = "NET_ENERGY_BALANCE"
				maxWidth = 375
				maxHeight = 20
				format = left
				pdx_tooltip = "NET_ENERGY_BALANCE_TT"
			}

			instantTextBoxType = {
				name = "total_energy_misc_value_headers"
				position = { x = 0 y = 55 }
				font = "hoi_24header"
				text = "TOTAL_ENERGY_MISC_VALUE_HEADER"
				maxWidth = 375
				maxHeight = 20
				format = left
			}

			instantTextBoxType = {
				name = "total_hourly_fuel_consumption_values"
				position = { x = 0 y = 80 }
				font = "hoi_18mbs"
				text = "TOTAL_HOURLY_FUEL_CONSUMPTION_VALUES"
				maxWidth = 475
				maxHeight = 20
				format = left
				pdx_tooltip = "TOTAL_HOURLY_FUEL_CONSUMPTION_VALUES_TT"
			}

			instantTextBoxType = {
				name = "total_hourly_population_fuel_consumption_values"
				position = { x = 0 y = 100 }
				font = "hoi_18mbs"
				text = "TOTAL_HOURLY_POPULATION_FUEL_CONSUMPTION_VALUES"
				maxWidth = 375
				maxHeight = 20
				format = left
				pdx_tooltip = "TOTAL_HOURLY_POPULATION_FUEL_CONSUMPTION_VALUES_TT"
			}

			instantTextBoxType = {
				name = "total_weekly_nuclear_material_production_values"
				position = { x = 0 y = 120 }
				font = "hoi_18mbs"
				text = "TOTAL_WEEKLY_NUCLEAR_MATERIAL_PRODUCTION"
				maxWidth = 375
				maxHeight = 40
				format = left
				pdx_tooltip = "TOTAL_WEEKLY_NUCLEAR_MATERIAL_PRODUCTION_TT"
			}

			instantTextBoxType = {
				name = "stored_energy"
				position = { x = 0 y = 140 }
				font = "hoi_18mbs"
				text = "TOTAL_STORED_ENERGY"
				maxWidth = 510
				maxHeight = 40
				format = left
				pdx_tooltip = "TOTAL_STORED_ENERGY_TT"
			}
		}

		# Energy Screen Buttons
		containerWindowType = {
			name = "energy_screen_buttons"
			position = { x = 12 y = 350 }

			buttonType = {
				name = "close_energy_screen_button"
				position = { x = 495 y = -340 }
				quadTextureSprite ="GFX_closebutton"
				buttonFont = "Main_14_black"
				shortcut = "ESCAPE"
				Orientation = "UPPER_RIGHT"
				clicksound = click_close
				pdx_tooltip = "CLOSE"
			}

			containerWindowType = {
				name = "refresh_energy_screen_bg"
				position = { x = 0 y = -17 }

				buttonType = {
					name = "refresh_energy_screen_bg"
					spriteType = "GFX_generic_button_wide"
					position = { x=0 y=0 }
					pdx_tooltip = "REFRESH_TAX_RATES_TOOLTIP"
				}

				instantTextBoxType = {
					name ="refresh_energy_screen_text"
					position = { x= 30 y = 0 }
					font = "hoi_18mbs"
					text = "REFRESH_TAX_RATE"
					format = centre
					maxWidth = 100
					maxHeight = 24
					fixedsize = yes

					pdx_tooltip = "REFRESH_TAX_RATES_TOOLTIP"
				}
			}

			buttonType = {
				name = "heavy_power_restrictions_button"
				position = {x=0 y=0}
				spriteType = "GFX_double_negative_power"
				orientation = "UPPER_RIGHT"
				clicksound = click_default
				pdx_tooltip = heavy_power_restrictions_button_tt
				pdx_tooltip_delayed = heavy_power_restrictions_button_delayed_tt
			}
			buttonType = {
				name = "some_power_restrictions_button"
				position = {x=44 y=0}
				spriteType = "GFX_negative_power"
				orientation = "UPPER_RIGHT"
				clicksound = click_default
				pdx_tooltip = some_power_restrictions_button_tt
				pdx_tooltip_delayed = some_power_restrictions_button_delayed_tt
			}
			buttonType = {
				name = "no_power_rules_button"
				position = {x=88 y=0}
				spriteType = "GFX_neutral_power"
				orientation = "UPPER_RIGHT"
				clicksound = click_default
				pdx_tooltip = no_power_restrictions_button_tt
				pdx_tooltip_delayed = no_power_restrictions_button_delayed_tt
			}
			buttonType = {
				name = "some_additional_consumption_button"
				position = { x = 132 y = 0 }
				spriteType = "GFX_positive_power"
				orientation = "UPPER_RIGHT"
				clicksound = click_default
				pdx_tooltip = some_additional_consumption_button_tt
				pdx_tooltip_delayed = some_additional_consumption_button_delayed_tt
			}
			buttonType = {
				name = "heavy_additional_consumption_button"
				position = { x = 176 y = 0 }
				spriteType = "GFX_double_positive_power"
				orientation = "UPPER_RIGHT"
				clicksound = click_default
				pdx_tooltip = heavy_additional_consumption_button_tt
				pdx_tooltip_delayed = heavy_additional_consumption_button_delayed_tt
			}
			buttonType = {
				position = { x = 220 y = 15 }
				name = "enable_nuclear_reactor_fuel_production"
				quadTextureSprite ="GFX_sort_button_83x29"
				buttonText = "[enabled_nuclear_reactor_fuel_production_button]"
				buttonFont = "hoi_16mbs"
				pdx_tooltip = "enable_nuclear_reactor_fuel_production_tt"
				pdx_tooltip_delayed = "enable_nuclear_reactor_fuel_production_delayed_tt"
				clicksound = click_checkbox
			}

			instantTextboxType = {
				name = "uranium_enrichment"
				position = { x = 220 y = -5 }
				font = "hoi_16mbs"
				borderSize = {x = 0 y = 0}
				text = "URANIUM_ENRICHMENT"
				maxWidth = 180
				maxHeight = 20
				format = centre
			}

			iconType = {
				name = "nuclear_energy_button"
				quadTextureSprite = "GFX_nuclear_energy"
				position = { x = 360 y = 12 }
				scale = 0.5
			}

			iconType = {
				name = "ongoing_energy_anim"
				spriteType = "GFX_ongoing_contruction_anim"
				position = { x = 305 y = 23 }
			}

			instantTextboxType = {
				name = "nuclear_energy_prod"
				position = { x = 312 y = 25 }
				font = "hoi_16mbs"
				borderSize = {x = 0 y = 0}
				text = "NUCLEAR_ENERGY_PROD"
				maxWidth = 80
				maxHeight = 20
				format = left
			}

			instantTextboxType = {
				name = "automation_energy_consumption_policy_label"
				position = { x = 396 y = -17 }
				font = "hoi_16mbs"
				text = "ENERGY_POLICY_AUTOMATION_SHORT"
				maxWidth = 36
				maxHeight = 20
				fixedsize = yes
				format = center
				pdx_tooltip = "ENERGY_POLICY_AUTOMATION_TT"
			}

			buttonType = {
				name = "automation_energy_consumption_policy_checkbox"
				position = { x = 402 y = 0 }
				spriteType = "GFX_generic_checkbox_open"
				clicksound = click_checkbox
				pdx_tooltip = "ENERGY_POLICY_AUTOMATION_TT"
			}

			buttonType = {
				name = "build_battery_park_button"
				position = { x = 436 y = 0 }
				spriteType = "GFX_battery_park_build"
				orientation = "UPPER_RIGHT"
				clicksound = click_default
				pdx_tooltip = build_battery_park_button_tt
				pdx_tooltip_delayed = build_battery_park_button_delayed_tt
			}
			buttonType = {
				name = "buy_fuel_for_money_button"
				position = { x = 480 y = 0 }
				spriteType = "GFX_fuel_from_market"
				orientation = "UPPER_RIGHT"
				clicksound = click_default
				pdx_tooltip = buy_fuel_for_money_button_tt
				pdx_tooltip_delayed = buy_fuel_for_money_button_delayed_tt
			}

			# Toggle Power Production
			instantTextboxType = {
				name = "toggle_power_production_type"
				position = { x = 315 y = -220 }
				font = "hoi_24header"
				borderSize = {x = 0 y = 0}
				text = "TOGGLE_POWER_PRODUCTION"
				maxWidth = 220
				maxHeight = 20
				format = centre
			}
			buttonType = {
				name = "toggle_fossil_fuel_power_plant_generation"
				position = { x = 375 y = -200 }
				spriteType = "GFX_double_positive_power"
				buttonFont = "hoi_16mbs"
				pdx_tooltip = "toggle_fossil_fuel_power_plant_generation_tt"
				pdx_tooltip_delayed = "toggle_fossil_fuel_power_plant_generation_delayed_tt"
				clicksound = click_checkbox
			}
			buttonType = {
				name = "toggle_nuclear_power_plant_generation"
				position = { x = 425 y = -200 }
				spriteType = "GFX_double_positive_power"
				buttonFont = "hoi_16mbs"
				pdx_tooltip = "toggle_nuclear_power_plant_generation_tt"
				pdx_tooltip_delayed = "toggle_nuclear_power_plant_generation_delayed_tt"
				clicksound = click_checkbox
			}

		}
	}
	# new #
	containerWindowType = {
		name = "energy_view"
		size = { width = 450 height = 100% }
		position = { x = 700 y = 3 }

		clipping = no

		background = {
			name = "Background"
			quadTextureSprite = "GFX_MD_tiled_window1_close"
			position = { x = 0 y = 0 }
		}

		instantTextBoxType = {
			name = "energy_view_title"
			position = { x = 0 y = 10 }
			font = "hoi_36header"
			text = "ENERGY_VIEW_TITLE"
			format = center
			maxWidth = 450
			maxHeight = 18
			fixedsize = yes
		}

		containerWindowType = {
			name = "buildings"
			position = { x = 10 y = 50 }
			size = { width = 430 height = 40 }
			margin = { left = 2 top = 5 }
			clipping = no

			background = {
				name = "Background"
				quadTextureSprite = "GFX_mini_bg"
			}

			containerWindowType = {
				name = "coal_power_plant"
				position = { x=0 y=0 }
				size = { width = 100 height = 200 }

				iconType = {
					name ="total_naval_factories_bg"
					spriteType = "GFX_generic_box_smallest"
					position = { x = 30 y = 2 }
				}
				instantTextBoxType = {
					name = "total_naval_factories_amount"
					position = { x = 38 y = 6 }
					font = "hoi_18mbs"
					text = "[?num_of_naval_factories]"
					format = centre
					maxWidth = 55
					maxHeight = 24
					fixedsize = yes
					pdx_tooltip = "total_naval_yard_amount_tt"
					pdx_tooltip_delayed = "total_naval_yard_amount_tt_delayed"
				}
				iconType = {
					name = "total_naval_factories"
					spriteType = "GFX_buildings_strip"
					frame = 34
					scale = 0.65
					position = { x = 2 y = 0 }
				}
			}

			containerWindowType = {
				name = "nuclear_power_plant"
				position = { x=107 y=0 }
				size = { width = 100 height = 200 }

				iconType = {
					name ="total_naval_factories_bg"
					spriteType = "GFX_generic_box_smallest"
					position = { x = 30 y = 2 }
				}
				instantTextBoxType = {
					name = "total_naval_factories_amount"
					position = { x = 38 y = 6 }
					font = "hoi_18mbs"
					text = "[?num_of_naval_factories]"
					format = centre
					maxWidth = 55
					maxHeight = 24
					fixedsize = yes
					pdx_tooltip = "total_naval_yard_amount_tt"
					pdx_tooltip_delayed = "total_naval_yard_amount_tt_delayed"
				}
				iconType = {
					name = "total_naval_factories"
					spriteType = "GFX_buildings_strip"
					frame = 27
					scale = 0.65
					position = { x = 2 y = 0 }
				}
			}

			containerWindowType = {
				name = "renewable_energy_plant"
				position = { x=213 y=0 }
				size = { width = 100 height = 200 }

				iconType = {
					name ="total_naval_factories_bg"
					spriteType = "GFX_generic_box_smallest"
					position = { x = 30 y = 2 }
				}
				instantTextBoxType = {
					name = "total_naval_factories_amount"
					position = { x = 38 y = 6 }
					font = "hoi_18mbs"
					text = "[?num_of_naval_factories]"
					format = centre
					maxWidth = 55
					maxHeight = 24
					fixedsize = yes
					pdx_tooltip = "total_naval_yard_amount_tt"
					pdx_tooltip_delayed = "total_naval_yard_amount_tt_delayed"
				}
				iconType = {
					name = "total_naval_factories"
					spriteType = "GFX_buildings_strip"
					frame = 10
					scale = 0.65
					position = { x = 2 y = 0 }
				}
			}

			containerWindowType = {
				name = "strategic_resources_reserve"
				position = { x=320 y=0 }
				size = { width = 100 height = 200 }

				iconType = {
					name ="total_naval_factories_bg"
					spriteType = "GFX_generic_box_smallest"
					position = { x = 30 y = 2 }
				}
				instantTextBoxType = {
					name = "total_naval_factories_amount"
					position = { x = 38 y = 6 }
					font = "hoi_18mbs"
					text = "[?num_of_naval_factories]"
					format = centre
					maxWidth = 55
					maxHeight = 24
					fixedsize = yes
					pdx_tooltip = "total_naval_yard_amount_tt"
					pdx_tooltip_delayed = "total_naval_yard_amount_tt_delayed"
				}
				iconType = {
					name = "total_naval_factories"
					spriteType = "GFX_buildings_strip"
					frame = 14
					scale = 0.65
					position = { x = 2 y = 0 }
				}
			}
		}

		containerWindowType = {
			name = "total_energy_production"
			position = { x = 10 y = 100 }
			size = { width = 214 height = 90 }
			# margin = { left = 2 top = 5 }
			clipping = no

			background = {
				name = "Background"
				quadTextureSprite = "GFX_mini_bg"
			}

			iconType = {
				name ="energy_icon"
				spriteType = "GFX_energy_icon_green"
				position = { x = -5 y = -2 }
				scale = 2.4
			}

			instantTextBoxType = {
				name = "total_energy_production_title"
				position = { x = 71 y = 6 }
				font = "hoi_20b"
				text = "TOTAL_ENERGY_PRODUCTION_TITLE"
				format = left
				maxWidth = 120
				maxHeight = 24
				fixedsize = yes
			}

			instantTextBoxType = {
				name = "total_energy_production_value"
				position = { x = 70 y = 22 }
				font = "hoi_30header"
				text = "[?10|+] GW"
				format = left
				maxWidth = 120
				maxHeight = 24
				fixedsize = yes
			}

			instantTextBoxType = {
				name = "total_energy_production_difference_value"
				position = { x = 72 y = 46 }
				font = "hoi_20bs"
				text = "[?10.5|=+] GW"
				format = left
				maxWidth = 120
				maxHeight = 24
				fixedsize = yes
			}

			# instantTextBoxType = {
			# 	name = "total_energy_production_difference"
			# 	position = { x = 72 y = 62 }
			# 	font = "hoi_16mbs"
			# 	text = "TOTAL_ENERGY_PRODUCTION_DIFFERENCE"
			# 	format = left
			# 	maxWidth = 120
			# 	maxHeight = 24
			# 	fixedsize = yes
			# }
		}

		containerWindowType = {
			name = "total_energy_consumption"
			position = { x = 226 y = 100 }
			size = { width = 214 height = 90 }
			# margin = { left = 2 top = 5 }
			clipping = no

			background = {
				name = "Background"
				quadTextureSprite = "GFX_mini_bg"
			}
		}

		containerWindowType = {
			name = "energy_balance"
			position = { x = 10 y = 193 }
			size = { width = 214 height = 70 }
			# margin = { left = 2 top = 5 }
			clipping = no

			background = {
				name = "Background"
				quadTextureSprite = "GFX_mini_bg"
			}
		}

		containerWindowType = {
			name = "energy_fullfilment"
			position = { x = 226 y = 193 }
			size = { width = 214 height = 70 }
			# margin = { left = 2 top = 5 }
			clipping = no

			background = {
				name = "Background"
				quadTextureSprite = "GFX_mini_bg"
			}
		}

		containerWindowType = {
			name = "electricity_pp_table"
			position = { x = 10 y = 267 }
			size = { width = 430 height = 200 }
			# margin = { left = 2 top = 5 }
			clipping = no

			background = {
				name = "Background"
				quadTextureSprite = "GFX_mini_bg"
			}

			containerWindowType = {
				name = "top_bar"
				position = { x = 1 y = 0 }
				size = { width = 429 height = 40 }
				# margin = { left = 2 top = 5 }
				clipping = no

				background = {
					name = "Background"
					quadTextureSprite = "GFX_MD_tiled_window1"
				}

				iconType = {
					name ="energy_icon"
					spriteType = "GFX_energy_icon_green"
					position = { x = 4 y = 8 }
					scale = 0.8
				}

				instantTextBoxType = {
					name = "power_sources_column_header"
					position = { x = 26 y = 12 }
					font = "hoi_16mbs"
					text = "POWER_SOURCES_COLUMN_HEADER"
					format = left
					maxWidth = 100
					maxHeight = 24
					fixedsize = yes
				}

				# instantTextBoxType = {
				# 	name = "amount_column_header"
				# 	position = { x = 75 y = 12 }
				# 	font = "hoi_16mbs"
				# 	text = "AMOUNT_COLUMN_HEADER"
				# 	format = center
				# 	maxWidth = 100
				# 	maxHeight = 24
				# 	fixedsize = yes
				# }

				instantTextBoxType = {
					name = "generated_column_header"
					position = { x = 110 y = 12 }
					font = "hoi_16mbs"
					text = "GENERATED_COLUMN_HEADER"
					format = center
					maxWidth = 100
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "consumed_column_header"
					position = { x = 200 y = 12 }
					font = "hoi_16mbs"
					text = "CONSUMED_COLUMN_HEADER"
					format = center
					maxWidth = 100
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "balance_column_header"
					position = { x = 280 y = 12 }
					font = "hoi_16mbs"
					text = "BALANCE_COLUMN_HEADER"
					format = center
					maxWidth = 100
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "disable_column_header"
					position = { x = 340 y = 12 }
					font = "hoi_16mbs"
					text = "DISABLE_COLUMN_HEADER"
					format = right
					maxWidth = 80
					maxHeight = 24
					fixedsize = yes
				}
			}

			containerWindowType = {
				name = "fossil_fuel_pp_row"
				position = { x = 0 y = 40 }

				iconType = {
					name ="icon"
					spriteType = "GFX_buildings_without_bg_strip"
					frame = 34
					scale = 0.6
					position = { x = 3 y = -1 }
				}

				instantTextBoxType = {
					name = "name"
					position = { x = 30 y = 5 }
					font = "hoi_16mbs"
					text = "FOSSIL_FUEL_POWER_PLANT"
					format = left
					maxWidth = 100
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "generated"
					position = { x = 127 y = 5 }
					font = "hoi_16mbs"
					text = "[?fossil_pp_energy_generation|=+] GW"
					format = center
					maxWidth = 70
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "consumed"
					position = { x = 222 y = 5 }
					font = "hoi_16mbs"
					text = "[?fossil_fuel_power_plant_consumed|=+] GW"
					format = center
					maxWidth = 60
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "balance"
					position = { x = 304 y = 5 }
					font = "hoi_16mbs"
					text = "[?fossil_fuel_power_plant_balance|=+] GW"
					format = center
					maxWidth = 60
					maxHeight = 24
					fixedsize = yes
				}

				buttonType = {
					name = "disable_fossil_fuel_power_plant_btn"
					position = { x = 398 y = 12 }
					quadTextureSprite ="GFX_generic_checkbox"
					Orientation = upper_right
					clicksound = click_checkbox
					centerposition = yes
					scale = 0.7
					frame = 2
				}
			}

			containerWindowType = {
				name = "hydroelectric_pp_row"
				position = { x = 0 y = 62 }

				iconType = {
					name ="icon"
					spriteType = "GFX_buildings_without_bg_strip"
					frame = 26
					scale = 0.6
					position = { x = 3 y = -1 }
				}

				instantTextBoxType = {
					name = "name"
					position = { x = 30 y = 5 }
					font = "hoi_16mbs"
					text = "HYDROELECTRIC_POWER_PLANT"
					format = left
					maxWidth = 100
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "generated"
					position = { x = 127 y = 5 }
					font = "hoi_16mbs"
					text = "[?hydroelectric_energy_generation|=+] GW"
					format = center
					maxWidth = 70
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "consumed"
					position = { x = 222 y = 5 }
					font = "hoi_16mbs"
					text = "[?fossil_fuel_power_plant_consumed|=+] GW"
					format = center
					maxWidth = 60
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "balance"
					position = { x = 304 y = 5 }
					font = "hoi_16mbs"
					text = "[?fossil_fuel_power_plant_balance|=+] GW"
					format = center
					maxWidth = 60
					maxHeight = 24
					fixedsize = yes
				}

				buttonType = {
					name = "disable_fossil_fuel_power_plant_btn"
					position = { x = 398 y = 12 }
					quadTextureSprite ="GFX_generic_checkbox"
					Orientation = upper_right
					clicksound = click_checkbox
					centerposition = yes
					scale = 0.7
					frame = 2
				}
			}

			containerWindowType = {
				name = "geothermal_pp_row"
				position = { x = 0 y = 84 }

				iconType = {
					name ="icon"
					spriteType = "GFX_buildings_without_bg_strip"
					frame = 25
					scale = 0.6
					position = { x = 3 y = -1 }
				}

				instantTextBoxType = {
					name = "name"
					position = { x = 30 y = 5 }
					font = "hoi_16mbs"
					text = "GEOTHERMAL_POWER_PLANT"
					format = left
					maxWidth = 100
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "generated"
					position = { x = 127 y = 5 }
					font = "hoi_16mbs"
					text = "[?geothermal_energy_generation|=+] GW"
					format = center
					maxWidth = 70
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "consumed"
					position = { x = 222 y = 5 }
					font = "hoi_16mbs"
					text = "[?fossil_fuel_power_plant_consumed|=+] GW"
					format = center
					maxWidth = 60
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "balance"
					position = { x = 304 y = 5 }
					font = "hoi_16mbs"
					text = "[?fossil_fuel_power_plant_balance|=+] GW"
					format = center
					maxWidth = 60
					maxHeight = 24
					fixedsize = yes
				}

				buttonType = {
					name = "disable_fossil_fuel_power_plant_btn"
					position = { x = 398 y = 12 }
					quadTextureSprite ="GFX_generic_checkbox"
					Orientation = upper_right
					clicksound = click_checkbox
					centerposition = yes
					scale = 0.7
					frame = 2
				}
			}

			containerWindowType = {
				name = "nuclear_pp_row"
				position = { x = 0 y = 106 }

				iconType = {
					name ="icon"
					spriteType = "GFX_buildings_without_bg_strip"
					frame = 27
					scale = 0.6
					position = { x = 3 y = -1 }
				}

				instantTextBoxType = {
					name = "name"
					position = { x = 30 y = 5 }
					font = "hoi_16mbs"
					text = "NUCLEAR_POWER_PLANT"
					format = left
					maxWidth = 100
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "generated"
					position = { x = 127 y = 5 }
					font = "hoi_16mbs"
					text = "[?nuclear_energy_generation|=+] GW"
					format = center
					maxWidth = 70
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "consumed"
					position = { x = 222 y = 5 }
					font = "hoi_16mbs"
					text = "[?fossil_fuel_power_plant_consumed|=+] GW"
					format = center
					maxWidth = 60
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "balance"
					position = { x = 304 y = 5 }
					font = "hoi_16mbs"
					text = "[?fossil_fuel_power_plant_balance|=+] GW"
					format = center
					maxWidth = 60
					maxHeight = 24
					fixedsize = yes
				}

				buttonType = {
					name = "disable_fossil_fuel_power_plant_btn"
					position = { x = 398 y = 12 }
					quadTextureSprite ="GFX_generic_checkbox"
					Orientation = upper_right
					clicksound = click_checkbox
					centerposition = yes
					scale = 0.7
					frame = 2
				}
			}

			containerWindowType = {
				name = "renewable_pp_row"
				position = { x = 0 y = 128 }

				iconType = {
					name ="icon"
					spriteType = "GFX_buildings_without_bg_strip"
					frame = 10
					scale = 0.6
					position = { x = 3 y = -1 }
				}

				instantTextBoxType = {
					name = "name"
					position = { x = 30 y = 5 }
					font = "hoi_16mbs"
					text = "RENEWABLE_POWER_PLANT"
					format = left
					maxWidth = 100
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "generated"
					position = { x = 127 y = 5 }
					font = "hoi_16mbs"
					text = "[?renewable_energy_display_var|=+] GW"
					format = center
					maxWidth = 70
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "consumed"
					position = { x = 222 y = 5 }
					font = "hoi_16mbs"
					text = "[?fossil_fuel_power_plant_consumed|=+] GW"
					format = center
					maxWidth = 60
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "balance"
					position = { x = 304 y = 5 }
					font = "hoi_16mbs"
					text = "[?fossil_fuel_power_plant_balance|=+] GW"
					format = center
					maxWidth = 60
					maxHeight = 24
					fixedsize = yes
				}

				buttonType = {
					name = "disable_fossil_fuel_power_plant_btn"
					position = { x = 398 y = 12 }
					quadTextureSprite ="GFX_generic_checkbox"
					Orientation = upper_right
					clicksound = click_checkbox
					centerposition = yes
					scale = 0.7
					frame = 2
				}
			}

			containerWindowType = {
				name = "energy_storage_row"
				position = { x = 0 y = 148 }

				iconType = {
					name ="icon"
					spriteType = "GFX_buildings_without_bg_strip"
					frame = 14
					scale = 0.6
					position = { x = 3 y = -1 }
				}

				instantTextBoxType = {
					name = "name"
					position = { x = 30 y = 5 }
					font = "hoi_16mbs"
					text = "ENERGY_STORAGE"
					format = left
					maxWidth = 100
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "generated"
					position = { x = 127 y = 5 }
					font = "hoi_16mbs"
					text = "[?energy_withdrawal_from_storage|=+] GW"
					format = center
					maxWidth = 70
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "consumed"
					position = { x = 222 y = 5 }
					font = "hoi_16mbs"
					text = "[?fossil_fuel_power_plant_consumed|=+] GW"
					format = center
					maxWidth = 60
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "balance"
					position = { x = 304 y = 5 }
					font = "hoi_16mbs"
					text = "[?fossil_fuel_power_plant_balance|=+] GW"
					format = center
					maxWidth = 60
					maxHeight = 24
					fixedsize = yes
				}

				buttonType = {
					name = "disable_fossil_fuel_power_plant_btn"
					position = { x = 398 y = 12 }
					quadTextureSprite ="GFX_generic_checkbox"
					Orientation = upper_right
					clicksound = click_checkbox
					centerposition = yes
					scale = 0.7
					frame = 2
				}
			}

			containerWindowType = {
				name = "other_sources_row"
				position = { x = 0 y = 170 }

				iconType = {
					name ="icon"
					spriteType = "GFX_modifiers_energy"
					scale = 0.85
					position = { x = 3 y = -2 }
				}

				instantTextBoxType = {
					name = "name"
					position = { x = 30 y = 5 }
					font = "hoi_16mbs"
					text = "OTHER_SOURCES"
					format = left
					maxWidth = 100
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "generated"
					position = { x = 127 y = 5 }
					font = "hoi_16mbs"
					text = "[?other_energy_generation|=+] GW"
					format = center
					maxWidth = 70
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "consumed"
					position = { x = 222 y = 5 }
					font = "hoi_16mbs"
					text = "[?fossil_fuel_power_plant_consumed|=+] GW"
					format = center
					maxWidth = 60
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "balance"
					position = { x = 304 y = 5 }
					font = "hoi_16mbs"
					text = "[?fossil_fuel_power_plant_balance|=+] GW"
					format = center
					maxWidth = 60
					maxHeight = 24
					fixedsize = yes
				}

				buttonType = {
					name = "disable_fossil_fuel_power_plant_btn"
					position = { x = 398 y = 12 }
					quadTextureSprite ="GFX_generic_checkbox"
					Orientation = upper_right
					clicksound = click_checkbox
					centerposition = yes
					scale = 0.7
					frame = 2
				}
			}
		}

		containerWindowType = {
			name = "electricity_consumption_table"
			position = { x = 10 y = 477 }
			size = { width = 300 height = 250 }
			# margin = { left = 2 top = 5 }
			clipping = no

			background = {
				name = "Background"
				quadTextureSprite = "GFX_mini_bg"
			}

			containerWindowType = {
				name = "top_bar"
				position = { x = 1 y = 0 }
				size = { width = 299 height = 40 }
				# margin = { left = 2 top = 5 }
				clipping = no

				background = {
					name = "Background"
					quadTextureSprite = "GFX_MD_tiled_window1"
				}

				iconType = {
					name ="energy_icon"
					spriteType = "GFX_energy_icon_red"
					position = { x = 4 y = 8 }
					scale = 0.8
				}

				instantTextBoxType = {
					name = "power_sources_column_header"
					position = { x = 26 y = 12 }
					font = "hoi_16mbs"
					text = "CONSUMPTION_NAME_COLUMN_HEADER"
					format = left
					maxWidth = 100
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "consumed_column_header"
					position = { x = 120 y = 12 }
					font = "hoi_16mbs"
					text = "CONSUMPTION_COLUMN_HEADER"
					format = center
					maxWidth = 100
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "balance_column_header"
					position = { x = 185 y = 12 }
					font = "hoi_16mbs"
					text = "BALANCE_COLUMN_HEADER"
					format = right
					maxWidth = 100
					maxHeight = 24
					fixedsize = yes
				}
			}

			containerWindowType = {
				name = "population_row"
				position = { x = 0 y = 40 }

				iconType = {
					name ="icon"
					spriteType = "GFX_energy_icon_red"
					scale = 0.9
					position = { x = 3 y = -1 }
				}

				instantTextBoxType = {
					name = "name"
					position = { x = 30 y = 5 }
					font = "hoi_16mbs"
					text = "POPULATION_CONSUMPTION"
					format = left
					maxWidth = 110
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "consumption"
					position = { x = 137 y = 5 }
					font = "hoi_16mbs"
					text = "[?-10|=+] GW"
					format = center
					maxWidth = 70
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "balance"
					position = { x = 235 y = 5 }
					font = "hoi_16mbs"
					text = "[?1|%0+]"
					format = center
					maxWidth = 60
					maxHeight = 24
					fixedsize = yes
				}
			}

			containerWindowType = {
				name = "civ_factories_row"
				position = { x = 0 y = 60 }

				iconType = {
					name ="icon"
					spriteType = "GFX_energy_icon_red"
					scale = 0.9
					position = { x = 3 y = -1 }
				}

				instantTextBoxType = {
					name = "name"
					position = { x = 30 y = 5 }
					font = "hoi_16mbs"
					text = "CIV_FACTORIES_CONSUMPTION"
					format = left
					maxWidth = 110
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "consumption"
					position = { x = 137 y = 5 }
					font = "hoi_16mbs"
					text = "[?-10|=+] GW"
					format = center
					maxWidth = 70
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "balance"
					position = { x = 235 y = 5 }
					font = "hoi_16mbs"
					text = "[?1|%0+]"
					format = center
					maxWidth = 60
					maxHeight = 24
					fixedsize = yes
				}
			}

			containerWindowType = {
				name = "offices_factories_row"
				position = { x = 0 y = 80 }

				iconType = {
					name ="icon"
					spriteType = "GFX_energy_icon_red"
					scale = 0.9
					position = { x = 3 y = -1 }
				}

				instantTextBoxType = {
					name = "name"
					position = { x = 30 y = 5 }
					font = "hoi_16mbs"
					text = "OFFICES_CONSUMPTION"
					format = left
					maxWidth = 110
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "consumption"
					position = { x = 137 y = 5 }
					font = "hoi_16mbs"
					text = "[?-10|=+] GW"
					format = center
					maxWidth = 70
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "balance"
					position = { x = 235 y = 5 }
					font = "hoi_16mbs"
					text = "[?1|%0+]"
					format = center
					maxWidth = 60
					maxHeight = 24
					fixedsize = yes
				}
			}

			containerWindowType = {
				name = "mil_factories_row"
				position = { x = 0 y = 100 }

				iconType = {
					name ="icon"
					spriteType = "GFX_energy_icon_red"
					scale = 0.9
					position = { x = 3 y = -1 }
				}

				instantTextBoxType = {
					name = "name"
					position = { x = 30 y = 5 }
					font = "hoi_16mbs"
					text = "MIL_FACTORIES_CONSUMPTION"
					format = left
					maxWidth = 110
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "consumption"
					position = { x = 137 y = 5 }
					font = "hoi_16mbs"
					text = "[?-10|=+] GW"
					format = center
					maxWidth = 70
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "balance"
					position = { x = 235 y = 5 }
					font = "hoi_16mbs"
					text = "[?1|%0+]"
					format = center
					maxWidth = 60
					maxHeight = 24
					fixedsize = yes
				}
			}

			containerWindowType = {
				name = "dockyards_factories_row"
				position = { x = 0 y = 120 }

				iconType = {
					name ="icon"
					spriteType = "GFX_energy_icon_red"
					scale = 0.9
					position = { x = 3 y = -1 }
				}

				instantTextBoxType = {
					name = "name"
					position = { x = 30 y = 5 }
					font = "hoi_16mbs"
					text = "DOCKYARDS_CONSUMPTION"
					format = left
					maxWidth = 110
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "consumption"
					position = { x = 137 y = 5 }
					font = "hoi_16mbs"
					text = "[?-10|=+] GW"
					format = center
					maxWidth = 70
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "balance"
					position = { x = 235 y = 5 }
					font = "hoi_16mbs"
					text = "[?1|%0+]"
					format = center
					maxWidth = 60
					maxHeight = 24
					fixedsize = yes
				}
			}

			containerWindowType = {
				name = "agriculture_row"
				position = { x = 0 y = 140 }

				iconType = {
					name ="icon"
					spriteType = "GFX_energy_icon_red"
					scale = 0.9
					position = { x = 3 y = -1 }
				}

				instantTextBoxType = {
					name = "name"
					position = { x = 30 y = 5 }
					font = "hoi_16mbs"
					text = "AGRICULTURE_CONSUMPTION"
					format = left
					maxWidth = 110
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "consumption"
					position = { x = 137 y = 5 }
					font = "hoi_16mbs"
					text = "[?-10|=+] GW"
					format = center
					maxWidth = 70
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "balance"
					position = { x = 235 y = 5 }
					font = "hoi_16mbs"
					text = "[?1|%0+]"
					format = center
					maxWidth = 60
					maxHeight = 24
					fixedsize = yes
				}
			}

			containerWindowType = {
				name = "microchips_row"
				position = { x = 0 y = 160 }

				iconType = {
					name ="icon"
					spriteType = "GFX_energy_icon_red"
					scale = 0.9
					position = { x = 3 y = -1 }
				}

				instantTextBoxType = {
					name = "name"
					position = { x = 30 y = 5 }
					font = "hoi_16mbs"
					text = "MICROCHIPS_CONSUMPTION"
					format = left
					maxWidth = 110
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "consumption"
					position = { x = 137 y = 5 }
					font = "hoi_16mbs"
					text = "[?-10|=+] GW"
					format = center
					maxWidth = 70
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "balance"
					position = { x = 235 y = 5 }
					font = "hoi_16mbs"
					text = "[?1|%0+]"
					format = center
					maxWidth = 60
					maxHeight = 24
					fixedsize = yes
				}
			}

			containerWindowType = {
				name = "composites_row"
				position = { x = 0 y = 180 }

				iconType = {
					name ="icon"
					spriteType = "GFX_energy_icon_red"
					scale = 0.9
					position = { x = 3 y = -1 }
				}

				instantTextBoxType = {
					name = "name"
					position = { x = 30 y = 5 }
					font = "hoi_16mbs"
					text = "COMPOSITES_CONSUMPTION"
					format = left
					maxWidth = 110
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "consumption"
					position = { x = 137 y = 5 }
					font = "hoi_16mbs"
					text = "[?-10|=+] GW"
					format = center
					maxWidth = 70
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "balance"
					position = { x = 235 y = 5 }
					font = "hoi_16mbs"
					text = "[?1|%0+]"
					format = center
					maxWidth = 60
					maxHeight = 24
					fixedsize = yes
				}
			}

			containerWindowType = {
				name = "refineries_row"
				position = { x = 0 y = 200 }

				iconType = {
					name ="icon"
					spriteType = "GFX_energy_icon_red"
					scale = 0.9
					position = { x = 3 y = -1 }
				}

				instantTextBoxType = {
					name = "name"
					position = { x = 30 y = 5 }
					font = "hoi_16mbs"
					text = "REFINERIES_CONSUMPTION"
					format = left
					maxWidth = 110
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "consumption"
					position = { x = 137 y = 5 }
					font = "hoi_16mbs"
					text = "[?-10|=+] GW"
					format = center
					maxWidth = 70
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "balance"
					position = { x = 235 y = 5 }
					font = "hoi_16mbs"
					text = "[?1|%0+]"
					format = center
					maxWidth = 60
					maxHeight = 24
					fixedsize = yes
				}
			}

			containerWindowType = {
				name = "other_row"
				position = { x = 0 y = 220 }

				iconType = {
					name ="icon"
					spriteType = "GFX_energy_icon_red"
					scale = 0.9
					position = { x = 3 y = -1 }
				}

				instantTextBoxType = {
					name = "name"
					position = { x = 30 y = 5 }
					font = "hoi_16mbs"
					text = "OTHER_SOURCES"
					format = left
					maxWidth = 110
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "consumption"
					position = { x = 137 y = 5 }
					font = "hoi_16mbs"
					text = "[?-10|=+] GW"
					format = center
					maxWidth = 70
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "balance"
					position = { x = 235 y = 5 }
					font = "hoi_16mbs"
					text = "[?1|%0+]"
					format = center
					maxWidth = 60
					maxHeight = 24
					fixedsize = yes
				}
			}
		}

		containerWindowType = {
			name = "tba_box"
			position = { x = 315 y = 477 }
			size = { width = 125 height = 250 }
			clipping = no

			background = {
				name = "Background"
				quadTextureSprite = "GFX_mini_bg"
			}

		}

		containerWindowType = {
			name = "fuel_consumption"
			position = { x = 10 y = 730 }
			size = { width = 214 height = 160 }
			# margin = { left = 2 top = 5 }
			clipping = no

			background = {
				name = "Background"
				quadTextureSprite = "GFX_mini_bg"
			}

			containerWindowType = {
				name = "top_bar"
				position = { x = 1 y = 1 }
				size = { width = 212 height = 40 }
				clipping = no

				background = {
					name = "Background"
					quadTextureSprite = "GFX_MD_tiled_window1"
				}

				instantTextBoxType = {
					name = "fuel_consumption_title"
					position = { x = 10 y = 10 }
					font = "hoi_18mbs"
					text = "FUEL_CONSUMPTION_TITLE"
					format = Center
					maxWidth = 190
					maxHeight = 24
					fixedsize = yes
				}
			}

			containerWindowType = {
				name = "total_row"
				position = { x = 0 y = 45 }

				iconType = {
					name ="icon"
					spriteType = "GFX_fuel_state"
					frame = 1
					scale = 0.9
					position = { x = 5 y = 2 }
				}

				instantTextBoxType = {
					name = "name"
					position = { x = 30 y = 5 }
					font = "hoi_16mbs"
					text = "TOTAL_CONSUMPTION"
					format = left
					maxWidth = 140
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "value"
					position = { x = 154 y = 5 }
					font = "hoi_16mbs"
					text = "[?-62545|*0=+]"
					format = right
					maxWidth = 50
					maxHeight = 24
					fixedsize = yes
				}
			}

			containerWindowType = {
				name = "population_row"
				position = { x = 0 y = 68 }

				iconType = {
					name ="icon"
					spriteType = "GFX_resources_strip"
					frame = 1
					scale = 0.8
					position = { x = 7 y = 2 }
				}

				instantTextBoxType = {
					name = "name"
					position = { x = 30 y = 5 }
					font = "hoi_16mbs"
					text = "POPULATION_CONSUMPTION"
					format = left
					maxWidth = 140
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "value"
					position = { x = 154 y = 5 }
					font = "hoi_16mbs"
					text = "[?-42545|*0=+]"
					format = right
					maxWidth = 50
					maxHeight = 24
					fixedsize = yes
				}
			}

			containerWindowType = {
				name = "fossil_fuel_pp_row"
				position = { x = 0 y = 91 }

				iconType = {
					name ="icon"
					spriteType = "GFX_resources_strip"
					frame = 1
					scale = 0.8
					position = { x = 7 y = 2 }
				}

				instantTextBoxType = {
					name = "name"
					position = { x = 30 y = 5 }
					font = "hoi_16mbs"
					text = "FOSSIL_FUEL_POWER_PLANT_FULL_NAME"
					format = left
					maxWidth = 140
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "value"
					position = { x = 154 y = 5 }
					font = "hoi_16mbs"
					text = "[?-22545|*0=+]"
					format = right
					maxWidth = 50
					maxHeight = 24
					fixedsize = yes
				}
			}

			containerWindowType = {
				name = "nuclear_fuel_row"
				position = { x = 0 y = 128 }

				iconType = {
					name ="icon"
					spriteType = "GFX_buildings_without_bg_strip"
					frame = 13
					scale = 0.6
					position = { x = 3 y = 0 }
				}

				instantTextBoxType = {
					name = "name"
					position = { x = 30 y = 5 }
					font = "hoi_16mbs"
					text = "NUCLEAR_FUEL"
					format = left
					maxWidth = 140
					maxHeight = 24
					fixedsize = yes
				}

				instantTextBoxType = {
					name = "value"
					position = { x = 104 y = 5 }
					font = "hoi_16mbs"
					text = "[?545|Y0] kg ([?-225|0=+] kg)"
					format = right
					maxWidth = 100
					maxHeight = 24
					fixedsize = yes
				}
			}
		}

		containerWindowType = {
			name = "energy_storage"
			position = { x = 226 y = 730 }
			size = { width = 214 height = 160 }
			# margin = { left = 2 top = 5 }
			clipping = no

			background = {
				name = "Background"
				quadTextureSprite = "GFX_mini_bg"
			}

			containerWindowType = {
				name = "top_bar"
				position = { x = 1 y = 1 }
				size = { width = 212 height = 40 }
				# margin = { left = 2 top = 5 }
				clipping = no

				background = {
					name = "Background"
					quadTextureSprite = "GFX_MD_tiled_window1"
				}

				instantTextBoxType = {
					name = "energy_storage_title"
					position = { x = 10 y = 10 }
					font = "hoi_18mbs"
					text = "ENERGY_STORAGE_TITLE"
					format = Center
					maxWidth = 190
					maxHeight = 24
					fixedsize = yes
				}
			}

			instantTextBoxType = {
				name = "energy_storage_value_title"
				position = { x = 10 y = 43 }
				font = "hoi_20bs"
				text = "ENERGY_STORAGE_VALUE_TITLE"
				format = left
				maxWidth = 150
				maxHeight = 24
				fixedsize = yes
			}

			instantTextBoxType = {
				name = "energy_storage_value"
				position = { x = 9 y = 63 }
				font = "hoi_20bs"
				text = "[?10.52|2Y]/[?13.52|2Y] GWh"
				format = left
				maxWidth = 150
				maxHeight = 24
				fixedsize = yes
			}

			instantTextBoxType = {
				name = "energy_storage_amount_title"
				position = { x = 10 y = 105 }
				font = "hoi_20bs"
				text = "ENERGY_STORAGE_AMOUNT_TITLE"
				format = left
				maxWidth = 150
				maxHeight = 24
				fixedsize = yes
			}

			instantTextBoxType = {
				name = "energy_storage_amount"
				position = { x = 11 y = 125 }
				font = "hoi_20bs"
				text = "[?4|Y0]"
				format = left
				maxWidth = 100
				maxHeight = 24
				fixedsize = yes
			}

			instantTextBoxType = {
				name = "energy_storage_procentage"
				position = { x = 148 y = 51 }
				font = "hoi_30header"
				text = "[?0.74|%0+]"
				format = right
				maxWidth = 60
				maxHeight = 24
				fixedsize = yes
			}

			buttonType = {
				name = "build_battery_park_button"
				position = { x = 163 y = 103 }
				spriteType = "GFX_battery_park_build"
				clicksound = click_default
				pdx_tooltip = build_battery_park_button_tt
				pdx_tooltip_delayed = build_battery_park_button_delayed_tt
			}
		}

		containerWindowType = {
			name = "energy_consumption_rules"
			position = { x = 10 y = 892 }
			size = { width = 430 height = 70 }
			margin = { left = 80 top = 2 }
			clipping = no

			background = {
				name = "Background"
				quadTextureSprite = "GFX_mini_bg"
			}

			buttonType = {
				name = "heavy_power_restrictions_button"
				position = {x=10 y=10}
				spriteType = "GFX_double_negative_power"
				clicksound = click_default
				pdx_tooltip = heavy_power_restrictions_button_tt
				pdx_tooltip_delayed = heavy_power_restrictions_button_delayed_tt
			}
			buttonType = {
				name = "some_power_restrictions_button"
				position = {x=60 y=10}
				spriteType = "GFX_negative_power"
				clicksound = click_default
				pdx_tooltip = some_power_restrictions_button_tt
				pdx_tooltip_delayed = some_power_restrictions_button_delayed_tt
			}
			buttonType = {
				name = "no_power_rules_button"
				position = {x=110 y=10}
				spriteType = "GFX_neutral_power"
				clicksound = click_default
				pdx_tooltip = no_power_restrictions_button_tt
				pdx_tooltip_delayed = no_power_restrictions_button_delayed_tt
			}
			buttonType = {
				name = "some_additional_consumption_button"
				position = { x = 160 y = 10 }
				spriteType = "GFX_positive_power"
				clicksound = click_default
				pdx_tooltip = some_additional_consumption_button_tt
				pdx_tooltip_delayed = some_additional_consumption_button_delayed_tt
			}
			buttonType = {
				name = "heavy_additional_consumption_button"
				position = { x = 210 y = 10 }
				spriteType = "GFX_double_positive_power"
				clicksound = click_default
				pdx_tooltip = heavy_additional_consumption_button_tt
				pdx_tooltip_delayed = heavy_additional_consumption_button_delayed_tt
			}
		}

		ButtonType = {
			name = "politics_refresh_button"
			spriteType = "GFX_refresh_button"
			position = { x = 12 y = 10 }
			pdx_tooltip = "REFRESH_POLITICSYVIEW_TOOLTIP"
		}

		ButtonType = {
			name = "close"
			position = { x = -40 y = 9 }
			quadTextureSprite ="GFX_production_line_arrow_left"
			buttonFont = "Main_14_black"
			Orientation = "UPPER_RIGHT"
			pdx_tooltip = "POLITICS_EXPANDED_CLOSE_TT"
		}
	}
}
