guiTypes = {
	# 2 width (medium, 561px)
	containerWindowType = { ##BPV##
		name = "bpv_city_width_3"
		size = { width = @[570 + main_district_size_dx] height = @main_district_scroll_x }
		containerWindowType = {
			name = "planet_district_entry_width_2_bg"
			size = { width = @[570 + main_district_size_dx] height = @[main_district_scroll_x - 1] }
			position = { x = 4 y = 0 }
			background = {
				name = "bg"
				spriteType = "GFX_darker_green_frame_area"
				alwaysTransparent = yes
				alpha = 0.6
			}
		}
		buttonType = {
			name = "selection_highlight"
			spriteType = "GFX_glow_tile_orange_no_padding"
			size = { x = @[570 + main_district_size_dx] y = @main_district_scroll_x }
			alwaysTransparent = yes
		}
		buttonType = {
			name = "district_button"
			size = { x = @[570 + main_district_size_dx] y = @main_district_scroll_x }
			quadTextureSprite = "GFX_district_hover"
			clicksound = "menu_slide_open"
		}
		instantTextBoxType = {
			name = "name"
			font = "font_text_14"
			text = "District Name"
			position = { x = 10 y = 5 }
			maxWidth = 230
			maxHeight = 20
			fixedSize = yes
			truncate = yes
			format = left
			vertical_alignment = center
			alwaysTransparent = yes
		}
		instantTextBoxType = {
			name = "triggered_name"
			font = "font_text_14"
			text = "Triggered Name"
			position = { x = @[240 + main_district_size_dx / 2] y = 5 }
			maxWidth = 230
			maxHeight = 20
			fixedSize = yes
			truncate = yes
			format = left
			vertical_alignment = center
			text_color_code = "Y"
			alwaysTransparent = yes
		}
		buttonType = {
			name = "build_district"
			position = { x = -104 y = -6 }
			orientation = upper_right
			spriteType = "GFX_button_animated_75_24"
			buttonFont = "font_text_14"
			buttonText = "BUILD_DISTRICT_BUTTON"
			borderSize = { x = 8 y = 0 }
			oversound = "mouse_over"
			pdx_tooltip = "BUILD_DISTRICT"
			clicksound = "ui_queuing_district"
		}
		buttonType = {
			name = "district_icon_frame"
			quadTextureSprite = "GFX_tiles_frame_extra_light"
			position = { x = 12 y = 36 }
			size = { x = 79 y = 79 }
			alwaysTransparent = yes
		}
		iconType = {
			name = "district_icon"
			spriteType = "GFX_district_unknown"
			position = { x = 13 y = 37 }
			alwaysTransparent = yes
		}
		iconType = {
			name = "district_overlay_icon"
			spriteType = "GFX_resource_energy_large"
			position = { x = 62 y = 37 }
			alwaysTransparent = yes
		}
		iconType = {
			name = "progressbar"
			spriteType = "GFX_district_progressbar"
			position = { x = 12 y = 107 }
			alwaysTransparent = yes
		}
		instantTextBoxType = {
			name = "not_surveyed"
			font = "font_header_20"
			text = "UNKNOWN_SHORT"
			position = { x = 8 y = 135 }
			maxWidth = 79
			maxHeight = 20
			fixedSize = yes
			format = center
			vertical_alignment = center
			alwaysTransparent = yes
		}
		containerWindowType = {
			name = "district_box"
			size = { width = -5 height = 28 }
			position = { x = 18 y = 160 }
			gridBoxType = {
				name = "district_box_grid"
				position = { x = 0 y = 0 }
				size = { width = -10 height = 45 }
				format = "UPPER_LEFT"
				slotSize = { width = 24 height = 10 }
				max_slots_horizontal = 3
				#max_slots_vertical = 3
				add_horizontal = yes
			}
		}
		# Passed 15 Cubes, Number Box is shown. Replaces the bottom 6 cubes.
		containerWindowType = { ##BPV##
			name = "planet_district_cap_container"
			size = { width = 46 height = 28 }
			position = { x = 28 y = 124 }
			iconType = {
				name = "cap_background"
				spriteType = "GFX_district_any_big"
				position = { x = 0 y = 0 }
				scale = 1
			}
			instantTextBoxType = {
				name = "num_districts_text"
				font = "font_text_14"
				text = "10"
				position = { x = 0 y = 0 }
				maxWidth = 46
				maxHeight = 28
				fixedSize = yes
				format = center
				vertical_alignment = center
			}
		}
		# Primary Zone
		containerWindowType = {
			name = "zone"
			position = { x = 95 y = 35 }
			size = { width = @primary_zone_size_x height = @primary_zone_size_y }
			background = {
				name = "zone"
				spriteType = "GFX_invisible"
				alwaysTransparent = yes
			}
			buttonType = {
				name = "zone_info_button"
				position = { x = 0 y = 0 }
				size = { x = @primary_zone_size_x y = @primary_zone_size_y }
				quadTextureSprite = "GFX_district_hover"
				clicksound = "menu_slide_open"
			}
			buttonType = {
				centerPosition = no
				name = "selection_highlight"
				spriteType = "GFX_glow_tile_orange_no_padding"
				position = { x = 0 y = 0 }
				size = { x = @primary_zone_size_x y = @primary_zone_size_y }
				alwaysTransparent = yes
			}
			# Buildings
			gridBoxType = {
				name = "buildings_box"
				position = { x = 5 y = 0 }
				size = { width = 205 height = -10 }
				format = "UPPER_LEFT"
				slotSize = { width = 52 height = 53 }
				add_horizontal = yes
				max_slots_horizontal = @primary_zone_slot_h
				#max_slots_vertical = 999
			}
			iconType = {
				name = "progressbar"
				spriteType = "GFX_zone_smaller_progressbar"
				position = { x = 5 y = 48 }
				alwaysTransparent = yes
			}
			buttonType = {
				name = "zone_button"
				spriteType = "GFX_new_zone"
				position = { x = 20 y = 0 }
				orientation = center_left
				centerPosition = yes
				clicksound = "menu_slide_open"
			}
			instantTextBoxType = {
				name = "zone_available"
				font = "font_text_14"
				text = "zone_available"
				position = { x = 40 y = 5 }
				maxWidth = 119
				maxHeight = 93
				fixedSize = yes
				format = center
				vertical_alignment = center
				alwaysTransparent = yes
			}
			instantTextBoxType = {
				name = "zone_unavailable"
				font = "font_text_14"
				text = ""
				position = { x = 5 y = 5 }
				maxWidth = 154
				maxHeight = 93
				fixedSize = yes
				format = center
				vertical_alignment = center
				alwaysTransparent = yes
			}
		}
		# Secondary Zones
		gridBoxType = {
			name = "zones_grid_box"
			position = { x = @secondary_zone_x y = 35 }
			size = { width = @secondary_zone_size_x height = -10 }
			format = "UPPER_LEFT"
			slotSize = { width = @secondary_zone_size_x height = @[53 * ROW_FACTOR] }
			add_horizontal = yes
			max_slots_horizontal = 1
			#max_slots_vertical = 999
		}
	}
}