guiTypes = {
	@dynamic_extra_panel_left = 0.8
	@dynamic_extra_panel_right = 0.8
	@log_info_width = 398
	@log_info_margin_left = 30
	@view_w = 1008
	@view_w_focus = 1182
	@view_h = 690
	@view_h_background = 600

	# Used to determine extra scale for the active situation stage icon (Example: x = 25 -> scale * 1.25)
	positionType = {
		name = "situation_log_situation_stage_icon_active_extra_scale_percent"
		position = { x = 40 y = 0 } # Y value not used
	}

	# Used to position the name textbox of situation list entries
	positionType = {
		name = "situation_log_situation_entry_name_position"
		position = { x = 62 y = 6 }
	}

	# Used to position the project picture in situations entries
	positionType = {
		name = "situation_log_situation_project_picture_position"
		position = { x = 32 y = 46 }
	}

	# Used to position the project picture frame in situations entries
	positionType = {
		name = "situation_log_situation_picture_frame_position"
		position = { x = 26 y = 42 }
	}

	# Used to position the title of situations entries
	positionType = {
		name = "situation_log_situation_title_position"
		position = { x = 30 y = 10 }
	}

	# Used to position the description in the situation variant of the situation log
	positionType = {
		name = "situation_log_situation_description_position"
		position = { x = 30 y = 188 }
 	}

 	# Used to position the TTS button in the situation variant of the situation log
	positionType = {
		name = "situation_log_situation_tts_button_position"
		position = { x = 406 y = 262 }
 	}

	# Used to set max width/height of the description in the situation variant of the situation log
	positionType = {
		name = "situation_log_situation_description_size"
	 	position = { x = 398 y = 100 }
 	}

	# Used to position the goto button in the situation variant of the situation log
	positionType = {
		name = "situation_log_situation_goto_button_position"
		position = { x = -330 y = 9 }
 	}

	# Used to position the track button in the situation variant of the situation log
	positionType = {
		name = "situation_log_situation_track_button_position"
		position = { x = -290 y = 9 }
 	}

	# Used as a default size for the situation_log container
	positionType = {
		name = "situation_log_size_default"
		position = { x = @view_w y = @view_h  }
 	}

	# Used as a default size for the galaxy_view_background_box container
	positionType = {
		name = "situation_log_galaxy_view_background_box_size_default"
		position = { x = @view_w y = @view_h_background }
 	}

	# Used as a override size for the situation_log container when focus tab is being viewed
	positionType = {
		name = "situation_log_size_focus"
		position = { x = @view_w_focus y = @view_h }
 	}

	# Used as a override size for the galaxy_view_background_box container when focus tab is being viewed
	positionType = {
		name = "situation_log_galaxy_view_background_box_size_focus"
		position = { x = @view_w_focus y = @view_h_background }
 	}

	containerWindowType = {
		name = "situation_log"
		hide_position = { x = -970 y = 40 }
		show_position = { x = 35 y = 40 }
		size = { width = @view_w height = @view_h } #set to situation_log_size_default or situation_log_size_focus depending on which tab is being displayed.
		dynamic_extra_height = @dynamic_extra_panel_left
		animation_type = decelerated
		animation_time = 200

		containerWindowType = {
			name = "galaxy_view_background_box"
			position = { x = 0 y = 0 }
			size = { width = @view_w height = @view_h_background } #set to situation_log_galaxy_view_background_box_size_default or situation_log_galaxy_view_background_box_size_focus depending on which tab is being displayed.
			dynamic_extra_height = @dynamic_extra_panel_left

			background = {
				name = "galaxy_view_background"
				spriteType = "GFX_tile_large_bg"
			}
		}

		iconType = {
			name = "hex_bg"
			position = { x = 5 y = -12 }
			spriteType = "GFX_hex_bg"
			alwaysTransparent = yes
		}

		iconType = {
			name = "empire_header_line"
			position = { x = 18 y = 26 }
			quadTextureSprite = "GFX_line_long"
		}

		instantTextBoxType={
			name = "header"
			position = { x = 35 y = 5 }
			font = "malgun_goth_24"
			text = "SITUATION_LOG_HEADER"
			maxWidth = 808
			maxHeight = 40
			fixedSize = yes
			format = left
			alwaysTransparent = no
		}

		buttonType = {
			name = "track_all"
			orientation = upper_right
			position = { x = -80 y = 16 }
			spriteType = "GFX_button_track_all_projects"
		}

		buttonType = {
			name = "close"
			quadTextureSprite = "GFX_close"
			position = { x = -44 y = 16 }
			orientation = upper_right
			shortcut = "ESCAPE"
			clicksound = "back_click"
			actionshortcut = "cancel"
		}

		########################
		# general situation log window
		containerWindowType = {
			name = "log_window"
			size = { width = 100% height = 100% }
			position = { x = 0 y = 5 }

			containerWindowType = {
				name = "currently_selected"
				size = { width = 693 height = 540 }
				dynamic_extra_height = @dynamic_extra_panel_right
				position = { x = 310 y = 45 }

				background = {
					name = "situation_log_selected_background"
					quadTextureSprite = "GFX_planet_bg_tile_frame"
					alwaysTransparent = yes
				}

				instantTextBoxType = {
					name = "title"
					font = "malgun_goth_24"
					text = "TITLE"
					position = { x = 140 y = 10 } # Set to "situation_log_situation_title_position" for situations
					maxWidth = 340
					maxHeight = 30
					fixedSize = yes
					format = left
					vertical_alignment = center
				}

				iconType = {
					name = "project_picture"
					quadTextureSprite = "GFX_evt_landing_ship"
					position = { x = 140 y = 46 } # Set to "situation_log_situation_project_picture_position" for situations
					scale = 0.90
				}

				iconType = {
					name = "picture_frame"
					quadTextureSprite = "GFX_event_frame"
					position = { x = 136 y = 42 } # Set to "situation_log_situation_picture_frame_position" for situations
					scale = 0.90
				}

				containerWindowType = {
					name = "description_bg_container"
					position = { x = 140 y = 190 }
					size = { width = 410 height = 200 } # Height automatically adapts to the text content size of the "description" element

					background = {
						name = "bg"
						spriteType = "GFX_tiles_dark_area_cut_8"
					}
				}

				instantTextBoxType = { # Not a part of "description_bg_container" as that background shouldn't always show when the text shows
					name = "description"
					position = { x = 150 y = 200 } # Set to "situation_log_situation_description_position" for situations
					font = "cg_16b"
					text = "DESCRIPTION"
					maxWidth = 384 # Set to X value of "situation_log_situation_description_size" for situations
					maxHeight = 184 # Set to Y value of "situation_log_situation_description_size" for situations
					dynamic_extra_height = @dynamic_extra_panel_right
					format = left
					text_color_code = "E"
					scrollbartype = "standardtext_slider_small"
				}

				buttonType = {
					name = "tts_button"
					position = { x = 520 y = 192 }
					spriteType = "GFX_button_tts_start"
					buttonFont = "cg_16b"
					shortCut = "t"
				}

				buttonType = {
					name = "track"
					orientation = "UPPER_RIGHT"
					position = { x = -180 y = 9 }
					spriteType = "GFX_button_track_project"
					format = center
					actionshortcut = "track_on_map"
				}

				buttonType = {
					name = "goto_target"
					orientation = upper_right
					position = { x = -220 y = 9 }
					spriteType = "GFX_fleetview_focus"
					shortcut = "q"
				}

				containerWindowType = {
					name = "wrapper"
					position = { x = 140 y = 400 } # Y position set in code to be below the description text container
					size = { width = 410 height = 200 } # Height set in code to match the remaining vertical space after positioning

					smoothListBoxType = {
						name = "counters"
						position = { x = 0 y = 0 }
						size = { x = 410 y = 200 } # Height set in code to match the remaining vertical space after wrapper positioning
						scrollbarType = "standardlistbox_slider"
					}
				}

				containerWindowType = {
					name = "can_research_info"
					position = { x = 140 y = 400 }
					size = { width = 410 height = 120 }
					clipping = no

					instantTextBoxType = {
						name = "requirements"
						position = { x = 0 y = 0 }
						font = "cg_16b"
						maxWidth = 300
						maxHeight = 80
						fixedSize = yes
						format = left
					}

					instantTextBoxType={
						name = "times_out_in"
						orientation = "LOWER_LEFT"
						position = { x = 0 y = -35 }
						font = "cg_16b"
						maxWidth = 200
						maxHeight = 20
						fixedSize = yes
						format = left
						text_color_code = "R"
					}

					instantTextBoxType={
						name = "time_left"
						position = { x = 0 y = 106 }
						font = "cg_16b"
						maxWidth = 200
						maxHeight = 20
						fixedSize = yes
						format = left
					}

					iconType = {
						name = "cost_icon"
						orientation = "UPPER_RIGHT"
						position = { x = -8 y = 68 }
						spriteType = "GFX_resource_physics"
						centerPosition = yes
					}

					instantTextBoxType={
						name = "cost_value"
						orientation = "UPPER_RIGHT"
						position = { x = -130 y = 60 }
						font = "cg_16b"
						maxWidth = 106
						maxHeight = 20
						fixedSize = yes
						format = right
					}

					iconType = {
						name = "energy_cost_icon"
						orientation = "UPPER_RIGHT"
						position = { x = -8 y = 48 }
						spriteType = "GFX_resource_energy"
						centerPosition = yes
					}

					instantTextBoxType={
						name = "energy_cost_value"
						orientation = "UPPER_RIGHT"
						position = { x = -154 y = 40 }
						font = "cg_16b"
						maxWidth = 130
						maxHeight = 20
						fixedSize = yes
						format = right
					}

					buttonType = {
						name = "research"
						orientation = "LOWER_RIGHT"
						position = { x = -154 y = -46 }
						quadTextureSprite = "GFX_standard_button_142_34_button"
						font = "cg_16b"
						text = "RESEARCH"
						format = center
						shortcut = "RETURN"
						#actionshortcut = "accept" #Causes conflict with the "cancel" button. Handled in view code instead.
					}

					#Shares position with "research" button, they replace each other.
					buttonType = {
						name = "cancel"
						orientation = "LOWER_RIGHT"
						position = { x = -154 y = -46 }
						quadTextureSprite = "GFX_standard_button_142_34_button"
						font = "cg_16b"
						text = "CANCEL"
						format = center
						shortcut = "RETURN"
						#actionshortcut = "accept" #Causes conflict with the "research" button. Handled in view code instead.
					}
				}

				containerWindowType = {
					name = "archaeological_site_info"
					position = { x = 140 y = 400 }
					size = { width = 410 height = 120 }

					instantTextBoxType={
						name = "requirements"
						position = { x = 0 y = 0 }
						font = "cg_16b"
						maxWidth = 410
						maxHeight = 80
						fixedSize = yes
						format = left
					}

					iconType = {
						name = "progress_bar"
						orientation = "LOWER_LEFT"
						position = { x = 0 y = -12 }
						spriteType = "GFX_situation_log_progressbar_research"
					}

					iconType = {
						name = "time_icon"
						spriteType = "GFX_resource_time"
						position = { x = 240 y = -27 }
						orientation = "LOWER_LEFT"
						centerPosition = yes
					}

					instantTextBoxType={
						name = "time_left"
						position = { x = 0 y = -36 }
						orientation = "LOWER_LEFT"
						font = "cg_16b"
						maxWidth = 250
						maxHeight = 20
						fixedSize = yes
						format = left
					}

					### Opens Archaeology UI
					buttonType = {
						name = "view_site"
						orientation = "LOWER_RIGHT"
						position = { x = -154 y = -46 }
						quadTextureSprite = "GFX_standard_button_142_34_button"
						font = "cg_16b"
						text = "VIEW_SITE"
						format = center
						shortcut = "RETURN"
					}
				}

				### "Situations" Info
				# This item is dynamically handled in code.
				# All windows with the same name as this one in vanilla will share functionality.
				# All elements can be removed to ignore them in the UI.
				containerWindowType = {
					name = "situations_progress_subview"
					position = { x = 20 y = 297 }
					size = { width = 419 height = 100 }
					clipping = no

					background = {
						name = "background"
						quadTextureSprite = "GFX_tiles_dark_area_cut_8"
					}

					iconType = {
						name = "middle_indicator"
						position = { x = 209 y = 41 }
						spriteType = "GFX_situation_middle_indicator"
					}

					# If the progress bars are not contained in this element, short progress bars will be used
					containerWindowType = {
						name = "situations_progress_bar_container"
						position = { x = 42 y = 0 }
						size = { width = 335 height = 14 } # Used to position the progress pin

						iconType = {
							name = "progress_bar_monodirectional"
							position = { x = 0 y = 40 }
							spriteType = "GFX_situation_event_progressbar_monodirectional_neutral" # Set in code
						}

						iconType = {
							name = "progress_bar_bidirectional_left"
							position = { x = 0 y = 40 }
							spriteType = "GFX_situation_event_progressbar_bidirectional_neutral_left" # Set in code
						}

						iconType = {
							name = "progress_bar_bidirectional_right"
							position = { x = 168 y = 40 }
							spriteType = "GFX_situation_event_progressbar_bidirectional_neutral_right" # Set in code
						}
					}

					# Removing this element will remove stage indicators
					containerWindowType = { # Gets populated with "situation_stage_entry" elements
						name = "stage_icon_container"
						position = { x = 21 y = 30 } # Used as offset for stage icon placement
						size = { width = 335 height = 22 } # Used to position the stage indicators
					}

					iconType = {
						name = "start_indicator"
						position = { x = 0 y = 41 } # X coordinate set in code
						spriteType = "GFX_situation_start_indicator"
					}

					iconType = {
						name = "outcome_right"
						orientation = upper_right
						position = { x = -26 y = 48 }
						spriteType = "GFX_invisible"
						centerPosition = yes
					}

					iconType = {
						name = "outcome_right_frame"
						orientation = upper_right
						position = { x = -26 y = 48 }
						spriteType = "GFX_invisible"
						centerPosition = yes
					}

					iconType = {
						name = "outcome_left"
						position = { x = 26 y = 48 }
						spriteType = "GFX_invisible"
						centerPosition = yes
					}

					iconType = {
						name = "outcome_left_frame"
						position = { x = 26 y = 48 }
						spriteType = "GFX_invisible"
						centerPosition = yes
					}

					# If the pin and change text is contained in this window, they will follow the progress bar
					containerWindowType = {
						name = "progress_bar_pin_container"
						position = { x = 190 y = 5 } # Conditionally moved in code to follow the progress bar
						size = { width = 72 height = 30 }
						clipping = no

						iconType = {
							name = "pin_bg"
							position = { x = 0 y = 8 }
							quadTextureSprite = "GFX_situation_progress_pin"
							alwaysTransparent = yes
						}

						iconType = {
							name = "pin_icon"
							position = { x = 54 y = 20 }
							spriteType = "GFX_situation_progress_directions" #Mirrored in code as needed
							centerPosition = yes
						}

						# Shows all numbers as positive. "pin_icon" indicates if it's negative or positive
						instantTextBoxType = {
							name = "monthly_change"
							position = { x = 0 y = 12 }
							font = "cg_16b"
							maxWidth = 40
							maxHeight = 30
							format = right
						}
					}
				}

				containerWindowType = {
					name = "situations_approach_container"
					size = { width = 100% height = 125 }
					position = { x = @log_info_margin_left y = 400 }
					clipping = no

					instantTextBoxType = {
						name = "title"
						position = { x = 0 y = 3 }
						font = "cg_16b"
						text = "SITUATION_LOG_SITUATION_APPROACH_HEADER"
					}

					containerWindowType = {
						name = "situations_approach_grid_container"
						position = { x = 0 y = 28 }
						size = { width = @log_info_width height = 100 }
						verticalScrollbar = "right_vertical_slider"

						background = {
							name = "situations_approach_grid_container_bg"
							spriteType = "GFX_invisible"
						}

						gridBoxType = {
							name = "situations_approach_grid" # grid slots called situation_approach_entry
							position = { x = 0 y = 0 }
							size = { width = 100% height = 100 }
							slotSize = { width = 101 height = 100 }
							max_slots_horizontal = 4
							max_slots_vertical = 1
							format = "UPPER_LEFT"
							add_horizontal = yes
						}
					}
				}
			}

			### "Situations" Effects
			containerWindowType = {
				name = "situations_details_container"
				position = { x = 762 y = 58 }
				size = { width = 240 height = 535 }

				@detail_container_width = 220
				@effects_container_height = 200

				containerWindowType = {
					name = "target_container"
					position = { x = 0 y = 8 }
					size = { width = @detail_container_width height = 60 }

					background = {
						name = "bg"
						quadTextureSprite = "GFX_tiles_dark_area_cut_8"
					}

					iconType = {
						name = "target_icon"
						spriteType = "GFX_situation_target_default"
						position = { x = 28 y = 30 }
						centerPosition = yes
					}

					buttonType = {
						name = "target_country_button"
						quadTextureSprite = "GFX_empire_flag_48"
						position = { x = 0 y = 6 }
					}

					instantTextBoxType={
						name = "target_name"
						position = { x = 52 y = 10 }
						font = "cg_16b"
						maxWidth = 165
						maxHeight = 40
						fixedSize = yes
						format = left
						vertical_alignment = center
						text_color_code = "E"
					}
				}

				containerWindowType = {
					name = "empire_effects"
					position = { x = 0 y = 76 }
					size = { width = @detail_container_width height = 200 }

					background = {
						name = "bg"
						quadTextureSprite = "GFX_tiles_dark_area_cut_8"
					}

					instantTextBoxType={
						name = "situation_effects_title"
						position = { x = 10 y = 10 }
						font = "cg_16b"
						maxWidth = 200
						maxHeight = 20
						fixedSize = yes
						format = left
					}

					instantTextBoxType={
						name = "situation_effects"
						position = { x = 11 y = 46 }
						font = "cg_16b"
						maxWidth = 197
						maxHeight = 145
						format = left
						scrollbartype = "standardtext_slider"
					}

					iconType = {
						name = "divider"
						position = { x = 6 y = 26 }
						quadTextureSprite = "GFX_effects_divider"
					}
				}

				containerWindowType = {
					name = "finisher_effects"
					position = { x = 0 y = 284 }
					size = { width = @detail_container_width height = 224 }

					background = {
						name = "bg"
						quadTextureSprite = "GFX_tiles_dark_area_cut_8"
					}

					instantTextBoxType = {
						name = "situation_finisher_effects_title"
						position = { x = 10 y = 10 }
						font = "cg_16b"
						maxWidth = 140
						maxHeight = 20
						fixedSize = yes
						format = left
					}

					instantTextBoxType = {
						name = "situation_finisher_timebox"
						position = { x = 140 y = 10 }
						font = "cg_16b"
						fixedSize = yes
						format = right
						maxWidth = 60
						maxHeight = 20
					}

					instantTextBoxType = {
						name = "situation_finisher_effects_text"
						position = { x = 11 y = 46 }
						font = "cg_16b"
						maxWidth = 197
						maxHeight = 170
						format = left
						scrollbartype = "standardtext_slider"
					}

					iconType = {
						name = "divider"
						position = { x = 6 y = 26 }
						quadTextureSprite = "GFX_effects_divider"
					}
				}
			}

			########################
			# general situation log entries

			containerWindowType = {
				name = "entries"
				position = { x = 6 y = 45 }
				size = { width = 308 height = 540 }
				dynamic_extra_height = @dynamic_extra_panel_left

				background = {
					name = "situation_log_entries_background_2"
					quadTextureSprite = "GFX_planet_bg_tile_frame"
					alwaysTransparent = yes
				}

				instantTextBoxType={
					name = "no_entries_tip"
					font = "cg_16b"
					text = "SITUATION_LOG_NO_ENTRIES_TIP"
					position = { x = 0 y = 50 }
					orientation = upper_left
					maxWidth = 300
					maxHeight = 40
					fixedSize = yes
					format = centre
				}

				smoothListBoxType = {
					name = "entries"
					position = { x = 5 y = 10 }
					size = { x = 285 y = 520 }
					dynamic_extra_height = @dynamic_extra_panel_left
					scrollbarType = "standardlistbox_slider"
				}
			}
		}

		########################
		# focus_window - Timeline
		containerWindowType = {
			name = "focus_window"
			size = { width = 100% height = 100% }
			position = { x = 6 y = 50 }

			##############
			# Empire Focus
			containerWindowType = {
				name = "focus"
				size = { width = 100% height = 271 }
				orientation = lower_left
				position = { x = -11 y = -421 }

				instantTextBoxType = {
					name = "focus_empire_textbox"
					font = "malgun_goth_24"
					text = "FOCUS_EMPIRE"
					position = { x = 23 y = 15 }
					maxWidth = 440
					maxHeight = 20
					fixedSize = yes
				}

				buttonType = {
					name = "focus_completed_button"
					font = "cg_16b"
					text = "FOCUS_COMPLETED_BUTTON"
					spriteType = "GFX_button_157_34"
					orientation = upper_right
					position = { x = -336 y = 0 }
					pdx_tooltip = "FOCUS_COMPLETED_BUTTON_TOOLTIP"
				}

				buttonType = {
					name = "focus_progression_button"
					font = "cg_16b"
					text = "FOCUS_PROGRESSION_BUTTON"
					spriteType = "GFX_button_157_34"
					orientation = upper_right
					position = { x = -174 y = 0 }
					pdx_tooltip = "FOCUS_PROGRESSION_BUTTON_TOOLTIP"
				}

				containerWindowType = {
					name = "focus_priority_container"
					size = { width = 350 height = 232 }
					orientation = lower_left
					position = { x = 10 y = -232 }
					background = {
						name = "background"
						quadTextureSprite = "GFX_planet_bg_tile_frame"
					}

					smoothListboxType = {
						name = "focus_priority_listbox"
						position = { x = 15 y = 15 }
						backGround = ""
						size = { x = 340 y = 232 }
						borderSize = { x = 8 y = 8 }
						spacing = 11
						#dynamic_extra_height = @dynamic_extra
						scrollbarType = "standardlistbox_slider"
						borderSize = { x = 0 y = 0 }
					}
				}

				containerWindowType = {
					name = "focus_cards_container"
					size = { width = 822 height = 232 }
					orientation = lower_right
					position = { x = -822 y = -232 }

					background = {
						name = "background"
						quadTextureSprite = "GFX_planet_bg_tile_frame"
					}

					gridBoxType = {
						name = "focus_cards_grid_box"
						position = { x = 0 y = 0 }
						slotSize = { width = 160 height = 216 }
						max_slots_horizontal = 5
						format = "UPPER_LEFT"
						padding = { left = 11 top = 11 }
					}
				}
			}

			#################
			# Empire Timeline
			containerWindowType = {
				name = "timeline"
				size = { width = 100% height = 271 }
				orientation = upper_left
				position = { x = -11 y = 0 }

				containerWindowType = {
					name = "timeline_container"
					size = { width = 100%% height = 260 }
					orientation = upper_left
					position = { x = 11 y = 11 }

					background = {
						name = "background"
						quadTextureSprite = "GFX_planet_bg_tile_frame"
					}

					iconType = {
						name = "timeline_background"
						position = { x = 5 y = 5 }
						spriteType = "GFX_timelines_background_core"
						alwaystransparent = yes
					}

					buttonType = {
						# timeline_horizontal_dotted_line is referenced by code, do not rename
						name = "timeline_horizontal_dotted_line"
						size = { x = 1145 y = 2 }
						position = { x = 10 y = 130 }

						quadTextureSprite = "GFX_pink_background"
						alwaysTransparent = yes
					}

					buttonType = {
						name = "timeline_zoom_in_button"
						spriteType = "GFX_timelines_zoom_in_button"
						orientation = upper_right
						position = { x = -50 y = 15 }
						pdx_tooltip = "TIMELINE_ZOOM_IN_BUTTON_TOOLTIP"
					}

					buttonType = {
						name = "timeline_zoom_out_button"
						spriteType = "GFX_timelines_zoom_out_button"
						orientation = upper_right
						position = { x = -90 y = 15 }
						pdx_tooltip = "TIMELINE_ZOOM_OUT_BUTTON_TOOLTIP"
					}

					gridBoxType = {
						name = "timeline_grid_box"
						is_dynamic = yes
						size = { width = -100 height = 232 }
						position = { x = 20 y = 80 }
						max_slots_horizontal = 5
						format = "UPPER_LEFT"
						padding = { left = 0 top = 0 }
					}
					
					gridBoxType = {
						name = "timeline_navigation_grid" # grid slots called timeline_navigation_entry
						orientation = center
						position = { x = -50% y = 60 }
						size = { width = 100% height = 100 }
						slotSize = { width = 32 height = 34 }
						format = "CENTERED_UP"				
					}
					
					buttonType = {
						name = "timeline_back_button"
						spriteType = "GFX_timelines_back_button"
						orientation = center_down
						position = { x = -141 y = -41 } #further back to compensate for the width of the button
						pdx_tooltip = "TIMELINE_BACK_BUTTON_TOOLTIP"
					}

					buttonType = {
						name = "timeline_forward_button"
						spriteType = "GFX_timelines_forward_button"
						orientation = center_down
						position = { x = 115 y = -41 }
						pdx_tooltip = "TIMELINE_FORWARD_BUTTON_TOOLTIP"
					}					
				}
			}
		}

		########################
		# the anomaly tab
		containerWindowType = {
			name = "anomalies"
			size = { width = 100% height = 100% }
			position = { x = 0 y = 5 }

			containerWindowType = {
				name = "entries"
				position = { x = 6 y = 45 }
				size = { width = 308 height = 540 }
				dynamic_extra_height = @dynamic_extra_panel_left

				background = {
					name = "situation_log_entries_background_2"
					quadTextureSprite = "GFX_planet_bg_tile_frame"
					alwaysTransparent = yes
				}

				smoothListBoxType = {
					name = "list"
					position = { x = 5 y = 10 }
					size = { x = 285 y = 490 }
					scrollbarType = "standardlistbox_slider"
				}
			}

			containerWindowType = {
				name = "currently_selected_frame"
				size = { width = 693 height = 540 }
				position = { x = 310 y = 45 }
				dynamic_extra_height = @dynamic_extra_panel_right

				background = {
					name = "background"
					quadTextureSprite = "GFX_planet_bg_tile_frame"
				}
			}

			containerWindowType = {
				name = "currently_selected"
				size = { width = 693 height = 520 }
				dynamic_extra_height = @dynamic_extra_panel_right
				position = { x = 310 y = 45 }

				instantTextBoxType = {
					name = "header"
					position = { x = 140 y = 13 }
					font = "malgun_goth_24"
					maxWidth = 300
					maxHeight = 30
					fixedSize = yes
					format = left
				}

				containerWindowType = {
					name = "portrait_window"
					position = { x= -225 y = 10 }
					size = { width = 448 height = 148 }
					moveable = no
					clipping = yes
					orientation = center_up

					buttonType = {
						name = "portrait"
						spriteType = "GFX_portrait_planet"
						position = { x = -10 y = -105 }
						alwaystransparent = yes
					}
					iconType = {
						name = "stripes_1"
						spriteType = "GFX_event_stripes_1"
						position = { x= 0 y = 0 }
						orientation = "UPPER_LEFT"
						alwaystransparent = yes
					}
				}

				containerWindowType = {
					name = "picture_window"
					position = { x = 136 y = 42 }
					size = { width = 693 height = 148 }

					iconType = {
						name = "picture"
						position = { x = 4 y = 4 }
						quadTextureSprite = "GFX_evt_landing_ship"
						scale = 0.9
					}

					iconType = {
						name = "picture_frame"
						position = { x = 0 y = 0 }
						quadTextureSprite = "GFX_event_frame"
						scale = 0.9
					}
				}

				containerWindowType = {
					name = "anomaly_window"
					position = { x = 140 y = 190 }
					size = { width = 410 height = 340 }
					dynamic_extra_height = @dynamic_extra_panel_right
					clipping = no

					containerWindowType = {
						name = "description_bg_container"
						position = { x = 0 y = 0 }
						size = { width = 410 height = 120 }

						background = {
							name = "bg"
							spriteType = "GFX_tiles_dark_area_cut_8"
						}
					}

					instantTextBoxType = {
						name = "desc"
						position = { x = 14 y = 10 }
						font = "cg_16b"
						maxWidth = 384
						maxHeight = 90
						dynamic_extra_height = @dynamic_extra_panel_right
						text_color_code = "E"
						scrollbartype = "standardtext_slider_small"
					}

					buttonType = {
						name = "tts_button"
						position = { x = 380 y = 90 }
						spriteType = "GFX_button_tts_start"
						buttonFont = "cg_16b"
						shortCut = "t"
					}

					buttonType = {
						name = "level_background"
						spriteType = "GFX_value_slot"
						position = { x = 283 y = 145 }
					}

					buttonType = {
						name = "level_duration_background"
						spriteType = "GFX_value_slot"
						position = { x = 283 y = 195 }
					}

					instantTextBoxType = {
						name = "level"
						font = "cg_16b"
						text = "5"
						position = { x = -120 y = 152 }
						maxWidth = 130
						maxHeight = 20
						fixedSize = yes
						Orientation = "UPPER_RIGHT"
						format = left
						text_color_code = "Y"
						alwaystransparent = yes
					}

					instantTextBoxType = {
						name = "level_duration"
						font = "cg_16b"
						text = "5"
						position = { x = -120 y = 200 }
						maxWidth = 120
						maxHeight = 20
						fixedSize = yes
						Orientation = "UPPER_RIGHT"
						format = left
						text_color_code = "Y"
						alwaystransparent = yes
					}

					instantTextBoxType = {
						name = "level_label"
						Orientation = "UPPER_RIGHT"
						position = { x = -127 y = 128 }
						font = "cg_16b"
						text = "ANOMALY_LEVEL"
						maxWidth = 140
						maxHeight = 20
						fixedSize = yes
						alwaystransparent = yes
					}

					instantTextBoxType = {
						name = "level_duration_label"
						Orientation = "UPPER_RIGHT"
						position = { x = -127 y = 176 }
						font = "cg_16b"
						text = "ANOMALY_TIME"
						maxWidth = 140
						maxHeight = 20
						fixedSize = yes
						alwaystransparent = yes
					}

					iconType = {
						name = "level_icon"
						position = { x = 254 y = 145 }
						spriteType = "GFX_discovery_level_icon"
						alwaystransparent = yes
					}

					iconType = {
						name = "level_duration_icon"
						position = { x = 254 y = 197 }
						spriteType = "GFX_mod_ship_anomaly_research_speed"
						alwaystransparent = yes
					}

					containerWindowType = {
						name = "leader_window"
						position = { x = 0 y = 130 }
						size = { width = 400 height = 200 }

						containerWindowType = {
							name = "portrait_window"
							position = { x = 0 y = 0 }
							size = { width = 400 height = 200 }
							clipping = yes
						}
					}

					containerWindowType = {
						name = "no_leader_window"
						position = { x = 0 y = 130 }
						size = { width = 260 height = 120 }

						containerWindowType = {
							name = "leader_frame_box"
							position = { x = -5 y = -5 }
							size = { width = 87 height = 101 }

								background = {
									name = "leader_frame"
									spriteType = "GFX_tiles_frame_light"
								}
						}

						instantTextBoxType = {
							name = "no_leader"
							font = "cg_16b"
							text = "AV_NO_SCIENTIST"
							position = { x = 92 y = 12 }
							maxWidth = 160
							maxHeight = 20
							fixedSize = yes
							text_color_code = "H"
						}

						instantTextBoxType = {
							name = "desc"
							font = "cg_16b"
							text = "AV_NO_SCIENTIST_DESC"
							position = { x = 92 y = 36 }
							maxWidth = 160
							maxHeight = 100
							fixedSize = yes
						}
					}

					containerWindowType = {
						name = "progress_window"
						position = { x = 0 y = 294 }
						size = { width = 490 height = 40 }

						instantTextBoxType = {
							name = "progress_label"
							font = "cg_16b"
							text = "ANOMALY_RESEARCH_PROGRESS"
							position = { x = 0 y = 0 }
							maxWidth = 180
							maxHeight = 20
							fixedSize = yes
							Orientation = "UPPER_LEFT"
							text_color_code = "H"
						}

						instantTextBoxType = {
							name = "progress_value"
							font = "cg_16b"
							text = "0%"
							position = { x = 190 y = 0 }
							maxWidth = 60
							maxHeight = 20
							fixedSize = yes
							text_color_code = "H"
							format = right
						}

						iconType = {
							name = "progress_bar"
							spriteType = "GFX_situation_log_progressbar_research"
							position = { x = 0 y = 24 }
						}
					}
				}

				# select_leader_window
				containerWindowType = {
					name = "select_leader_window"
					position = { x = 135 y = 190 }
					size = { width = 690 height = 250 }
					clipping = yes

					background = {
						name = "picture_background"
						spriteType = "GFX_subwindow_tile_plain_solid"
						alwaystransparent = yes
					}

					smoothListBoxType = {
						name = "list"
						position = { x = 11 y = 14 }
						size = { x = 660 y = 224 }
						scrollbartype = "standardlistbox_slider"
						spacing = 5
					}
				}

				# goto/move camera button (anomaly tab)
				buttonType = {
					name = "goto"
					orientation = "UPPER_RIGHT"
					position = { x = -180 y = 9 }
					spriteType = "GFX_fleetview_focus"
					pdx_tooltip = "GOTO_HOMEPLANET"
					shortcut = "q"
				}

				# change scientist button (anomaly tab)
				buttonType = {
					name = "scientist"
					orientation = "LOWER_RIGHT"
					position = { x = -297 y = -86 }
					quadTextureSprite = "GFX_standard_button_142_34_button"
					font = "cg_16b"
					text = "ANOMALY_CHANGE_SCIENTIST"
					multiline = yes
					shortcut = "g"
				}

				# research button (anomaly tab)
				buttonType = {
					name = "research"
					orientation = "LOWER_RIGHT"
					position = { x = -297 y = -46 }
					quadTextureSprite = "GFX_standard_button_142_34_button"
					font = "cg_16b"
					text = "RESEARCH"
					multiline = yes
					shortcut = "RETURN"
				}
			}

			containerWindowType = {
				name = "empty_tip"

				instantTextBoxType = {
					name = "list_tip"
					font = "cg_16b"
					text = "SITUATION_LOG_NO_ENTRIES_TIP"
					position = { x = 6 y = 95 }	# parent position = { x = 6 y = 45 }
					orientation = upper_left
					maxWidth = 300
					maxHeight = 40
					fixedSize = yes
					format = centre
				}

				containerWindowType = {
					name = "picture_window"
					position = { x = 446 y = 87 }
					size = { width = 693 height = 148 }

					iconType = {
						name = "picture"
						position = { x = 5 y = 4 }
						quadTextureSprite = "GFX_evt_landing_ship"
						scale = 0.9
					}

					iconType = {
						name = "picture_frame"
						position = { x = 0 y = 0 }
						quadTextureSprite = "GFX_event_frame"
						scale = 0.9
					}
				}
			}
		}

		########################
		# victories_window
		containerWindowType = {
			name = "victories_window"
			size = { width = 100% height = 100% }
			position = { x = 0 y = 5 }

			containerWindowType = {
				name = "entries"
				position = { x = 6 y = 45 }
				size = { width = 308 height = 540 }
				dynamic_extra_height = @dynamic_extra_panel_left

				background = {
					name = "situation_log_entries_background_2"
					quadTextureSprite = "GFX_planet_bg_tile_frame"
					alwaysTransparent = yes
				}

				smoothListBoxType = {
					name = "list"
					position = { x = 5 y = 10 }
					size = { x = 285 y = 520 }
					dynamic_extra_height = @dynamic_extra_panel_left
					scrollbarType = "standardlistbox_slider"
				}
			}
			containerWindowType = {
				name = "currently_selected"
				size = { width = 693 height = 540 }
				dynamic_extra_height = @dynamic_extra_panel_right
				position = { x = 310 y = 45 }

				background = {
					name = "situation_log_selected_background"
					quadTextureSprite = "GFX_planet_bg_tile_frame"
				}

				iconType = {
					name = "project_picture"
					quadTextureSprite = "GFX_evt_landing_ship"
					position = { x = 343 y = 114 }
					centerPosition = yes
					scale = 0.9
				}

				iconType = {
					name = "picture_frame"
					quadTextureSprite = "GFX_event_frame"
					position = { x = 343 y = 114 }
					centerPosition = yes
					scale = 0.9
				}

				instantTextBoxType={
					name = "title"
					font = "malgun_goth_24"
					text = "TITLE"
					position = { x = 0 y = 12 }
					maxWidth = 690
					maxHeight = 30
					fixedSize = yes
					format = center
				}

				instantTextBoxType = {
					name = "description"
					position = { x = 0 y = 200 }
					font = "cg_16b"
					text = "DESCRIPTION"
					maxWidth = 693
					maxHeight = 230
					dynamic_extra_height = @dynamic_extra_panel_right
					format = center
					text_color_code = "E"
					scrollbartype = "standardtext_slider"
				}

				instantTextBoxType = {
					name = "progress_desc"
					font = "cg_16b"
					text = "There are 132 independent left to conquer"
					orientation = "LOWER_LEFT"
					position = { x = 0 y = -35 }
					maxWidth = 693
					maxHeight = 40
					fixedSize = yes
					format = centre
				}


			}
		}

		########################
		# THE TABS
		########################

		@tab_position = -92

		buttonType = {
			name = "tab_log"
			quadTextureSprite = "GFX_tab_1_inactive"
			position = { x= -20 y = @tab_position }
			font = "cg_16b"
			buttonText = "SITUATION_LOG_HEADER"
			buttonFont = "cg_16b"
			shortcut = "z"
			clicksound = "tab_click"
			Orientation = "LOWER_LEFT"
			oversound = no_sound
		}

		buttonType = {
			name = "tab_log_active"
			quadTextureSprite = "GFX_tab_1_active"
			position = { x= -20 y = @tab_position }
			font = "cg_16b"
			buttonText = "SITUATION_LOG_HEADER"
			buttonFont = "cg_16b"
			clicksound = "tab_click"
			shortcut = "z"
			Orientation = "LOWER_LEFT"
			oversound = no_sound
		}

		buttonType = {
			name = "tab_focus"
			quadTextureSprite = "GFX_tab_2_inactive"
			position = { x= 109 y = @tab_position }
			font = "cg_16b"
			buttonText = "TIMELINE"
			buttonFont = "cg_16b"
			shortcut = "x"
			clicksound = "tab_click"
			Orientation = "LOWER_LEFT"
			oversound = no_sound
		}

		buttonType = {
			name = "tab_focus_active"
			quadTextureSprite = "GFX_tab_2_active"
			position = { x= 109 y =@tab_position }
			font = "cg_16b"
			buttonText = "TIMELINE"
			buttonFont = "cg_16b"
			clicksound = "tab_click"
			shortcut = "x"
			Orientation = "LOWER_LEFT"
			oversound = no_sound
		}

		buttonType = {
			name = "tab_anomalies"
			quadTextureSprite = "GFX_tab_2_inactive"
			position = { x= 238 y = @tab_position }
			font = "cg_16b"
			buttonText = "ANOMALIES"
			buttonFont = "cg_16b"
			shortcut = "c"
			clicksound = "tab_click"
			Orientation = "LOWER_LEFT"
			oversound = no_sound
		}

		buttonType = {
			name = "tab_anomalies_active"
			quadTextureSprite = "GFX_tab_2_active"
			position = { x= 238 y =@tab_position }
			font = "cg_16b"
			buttonText = "ANOMALIES"
			buttonFont = "cg_16b"
			clicksound = "tab_click"
			shortcut = "c"
			Orientation = "LOWER_LEFT"
			oversound = no_sound
		}

		buttonType = {
			name = "tab_victories"
			quadTextureSprite = "GFX_tab_2_inactive"
			position = { x= 367 y = @tab_position }
			font = "cg_16b"
			buttonText = "VICTORIES"
			buttonFont = "cg_16b"
			shortcut = "v"
			clicksound = "tab_click"
			Orientation = "LOWER_LEFT"
			oversound = no_sound
		}

		buttonType = {
			name = "tab_victories_active"
			quadTextureSprite = "GFX_tab_2_active"
			position = { x= 367 y = @tab_position }
			font = "cg_16b"
			buttonText = "VICTORIES"
			buttonFont = "cg_16b"
			clicksound = "tab_click"
			shortcut = "v"
			Orientation = "LOWER_LEFT"
			oversound = no_sound
		}
	}

	### SITUATION LOG ENTRY
	containerWindowType = {
		name = "situation_log_entry"
		size = { width = 300 height = 48 }

		buttonType = {
			name = "button"
			quadTextureSprite = "GFX_long_button"
			size = { x = 272 y = 40 }
			position = { x = 9 y = 0 }
			clicksound = outliner_click_tab
			oversound = no_sound
		}

		iconType = {
			name = "progressbar"
			spriteType = "GFX_situation_log_progressbar"
			frame = 0
			position = { x = 14 y = 6 }
			alwaysTransparent = yes
		}

		iconType = {
			name = "selected"
			spriteType = "GFX_long_button_selected"
			position = { x = 13 y = 5 }
			alwaysTransparent = yes
		}

		iconType = {
			name = "cost_icon"
			spriteType = "GFX_resource_physics"
			position = { x = 263 y = 8 }
			alwaysTransparent = yes
		}

		iconType = {
			name = "entry_icon_background"
			spriteType = "GFX_invisible"
			position = { x = 36 y = 25 }
			alwaysTransparent = yes
			centerPosition = yes
		}

		iconType = {
			name = "entry_icon"
			spriteType = "GFX_alert"
			position = { x = 36 y = 25 }
			alwaysTransparent = yes
			centerPosition = yes
		}

		instantTextBoxType = {
			name = "name"
			font = "cg_16b"
			text = "TITLE"
			position = { x = 62 y = 15 } # Set to "situation_log_situation_entry_name_position" for situation entries
			maxWidth = 195
			maxHeight = 20
			fixedSize = yes
			format = left
			vertical_alignment = center
			alwaysTransparent = yes
		}

		iconType = {
			name = "expand_button"
			quadTextureSprite = "GFX_entry_expand"
			position = { x = 255 y = 14 }
			alwaysTransparent = yes
		}

		iconType = {
			name = "completed"
			spriteType = "GFX_situation_log_tick"
			orientation = LOWER_RIGHT
			position = { x = -44 y = -30 }
			alwaysTransparent = yes
			scale = 0.8
		}

		iconType = {
			name = "tracked"
			spriteType = "GFX_dot_orange_icon"
			position = { x = 12 y = 4 }
			tooltip = "SITUATION_LOG_TRACKED_TOOLTIP"
		}

		smoothListBoxType = {
			name = "subentries"
			size = { x = 300 y = 3000 }
			position = { x = 0 y = 40 }
		}

		# Dynamic element - See item with same name in situation_log.gui for documentation
		containerWindowType = {
			name = "situations_progress_subview"
			position = { x = 20 y = 5 }
			size = { width = 248 height = 100% }

			iconType = {
				name = "middle_indicator"
				position = { x = 112 y = 21 }
				spriteType = "GFX_situation_middle_indicator"
				alwaystransparent = yes
			}

			containerWindowType = {
				name = "situations_progress_bar_container_short" # The "_short" postfix makes the progress bar use short gfx variants
				position = { x = 42 y = 20 }
				size = { width = 140 height = 13 } # Used to position elements along the progress bar

				iconType = {
					name = "progress_bar_monodirectional"
					position = { x = 0  y = 0 }
					spriteType = "GFX_situation_event_progressbar_monodirectional_neutral_short" # Set in code
					alwaystransparent = yes
				}

				iconType = {
					name = "progress_bar_bidirectional_left"
					position = { x = 0 y = 0 }
					spriteType = "GFX_situation_event_progressbar_bidirectional_neutral_short_left" # Set in code
					alwaystransparent = yes
				}

				iconType = {
					name = "progress_bar_bidirectional_right"
					position = { x = 71 y = 0 }
					spriteType = "GFX_situation_event_progressbar_bidirectional_neutral_short_right" # Set in code
					alwaystransparent = yes
				}
			}

			iconType = {
				name = "start_indicator"
				position = { x = 42 y = 21 }
				spriteType = "GFX_situation_start_indicator"
				alwaystransparent = yes
			}

			iconType = {
				name = "pin_icon"
				position = { x = 205 y = 28 }
				spriteType = "GFX_situation_progress_directions" # Mirrored in code as needed
				centerPosition = yes
				alwaystransparent = yes
			}

			# Shows all numbers as positive. "pin_icon" indicates if it's negative or positive
			instantTextBoxType = {
				name = "monthly_change"
				position = { x = 225 y = 20 }
				font = "cg_16b"
				maxWidth = 35
				maxHeight = 15
				format = left
				vertical_alignment = center
				fixedsize = yes
				alwaystransparent = yes
			}
		}
	}

	### SUB ENTRY
	containerWindowType = {
		name = "situation_log_subentry"
		size = { width = 280 height = 48 }

		iconType = {
			name = "first_branch"
			spriteType = "GFX_situation_log_branches"
			position = { x = 16 y = 6 }
			frame = 6
			alwaysTransparent = yes
		}

		iconType = {
			name = "second_branch"
			spriteType = "GFX_situation_log_branches"
			position = { x = 24 y = 6 }
			frame = 6
			alwaysTransparent = yes
		}

		buttonType = {
			name = "button"
			quadTextureSprite = "GFX_short_button"
			size = { x = 226 y = 40 }
			position = { x = 30 y = 8 }
		}

		iconType = {
			name = "progressbar"
			spriteType = "GFX_situation_log_progressbar_subentry"
			frame = 0
			position = { x = 35 y = 14 }
			alwaysTransparent = yes
		}

		iconType = {
			name = "selected"
			spriteType = "GFX_short_button_selected"
			position = { x = 34 y = 13 }
			alwaysTransparent = yes
		}

		iconType = {
			name = "cost_icon"
			spriteType = "GFX_resource_physics"
			position = { x = 263 y = 16 }
			alwaysTransparent = yes
		}

		iconType = {
			name = "entry_icon"
			spriteType = "GFX_alert"
			position = { x = 39 y = 13 }
			alwaysTransparent = yes
		}

		instantTextBoxType={
			name = "name"
			font = "cg_16b"
			text = "TITLE"
			position = { x = -67 y = -10 }
			maxWidth = 190
			maxHeight = 40
			fixedSize = yes
			format = center
			orientation = center
			vertical_alignment = center
			alwaysTransparent = yes
		}

		iconType = {
			name = "completed"
			spriteType = "GFX_situation_log_tick"
			orientation = LOWER_RIGHT
			position = { x = -24 y = -21 }
			alwaysTransparent = yes
			scale = 0.8
		}

		iconType = {
			name = "or"
			spriteType = "GFX_situation_or_button"
			position = { x = 153 y = -2 }
		}

		iconType = {
			name = "tracked"
			spriteType = "GFX_dot_orange_icon"
			position = { x = 33 y = 12 }
			tooltip = "SITUATION_LOG_TRACKED_TOOLTIP"
		}
	}

	### "Situations" Approach Button Entry
	containerWindowType = {
		name = "situation_approach_entry" # lives in situation_approach_grid
		position = { x = 0 y = 0 }
		size = { width = 100 height = 100 }
		clipping = no

		buttonType = {
			name = "approach_button"
			spriteType = "GFX_situation_approach_button"
			position = { x = -3 y = -3 }
		}

		iconType = {
			name = "selected"
			position = { x = -3 y = -3 }
			spriteType = "GFX_situation_approach_button_selected"
		}

		iconType = {
			name = "approach_icon_bg"
			position = { x = 47 y = 30 }
			spriteType = "GFX_invisible" # Set in situation script
			scale = 0.8
			centerPosition = yes
			alwaysTransparent = yes
		}

		iconType = {
			name = "approach_icon"
			position = { x = 47 y = 30 }
			spriteType = "GFX_invisible" # Set in situation script
			scale = 0.8
			centerPosition = yes
			alwaysTransparent = yes
		}

		instantTextBoxType = {
			name = "approach_text"
			position = { x = 5 y = 45 }
			font = "cg_16b"
			format = center
			multiline = yes
			maxWidth = 83
			maxHeight = 50
			fixedSize = yes
			vertical_alignment = center
			alwaysTransparent = yes
			text_color_code = "E"
		}
	}

	### Situations Stage Entry
	containerWindowType = { # Created dynamically in code
		name = "situation_stage_entry"
		# Position set in code
		size = { width = 0 height = 32 } # Width set in code

		buttonType = { # This is actually an icon, but icons can't scale so we're using a button
			name = "stage_range"
			position = { x = 0 y = -3 }
			size = { x = 0 y = 5 } # Width set in code
			quadTextureSprite = "GFX_situation_tile_range" # Postfixed with "_highlighted" to find highlight state gfx
			alwaysTransparent = yes
		}

		iconType = {
			name = "stage_icon_background"
			position = { x = 0 y = 15 } # X coordinate set in code
			spriteType = "GFX_invisible"
			scale = 0.65
			centerPosition = yes
		}

		iconType = {
			name = "stage_icon"
			position = { x = 0 y = 15 } # X coordinate set in code
			spriteType = "GFX_invisible"
			scale = 0.75
			centerPosition = yes
		}
	}

	###
	containerWindowType = {
		name = "situation_log_event_chain_counter"
		size = { width = 410 height = 32 }

		background = {
			name = "bg"
			quadTextureSprite = "GFX_tiles_light_area_cut_8"
		}

		instantTextBoxType={
			name = "name"
			font = "cg_16b"
			text = ""
			position = { x = 10 y = 7 }
			maxWidth = 280
			maxHeight = 20
			fixedSize = yes
			format = left
		}

		instantTextBoxType={
			name = "value"
			font = "cg_16b"
			text = "0/0"
			position = { x = 320 y = 7 }
			maxWidth = 70
			maxHeight = 20
			fixedSize = yes
			format = right
		}
	}

	### situation_log_anomaly_item
	containerWindowType = {
		name = "situation_log_anomaly_item"
		size = { width = 300 height = 48 }

		buttonType = {
			name = "button"
			quadTextureSprite = "GFX_long_button"
			size = { x = 272 y = 40 }
			position = { x = 9 y = 0 }
			clicksound = "select_click"
		}

		iconType = {
			name = "progressbar"
			spriteType = "GFX_situation_log_progressbar"
			frame = 0
			position = { x = 14 y = 6 }
			alwaysTransparent = yes
		}

		iconType = {
			name = "selected"
			spriteType = "GFX_long_button_selected"
			position = { x = 13 y = 5 }
			alwaysTransparent = yes
		}

		iconType = {
			name = "icon"
			spriteType = "GFX_situation_log_anomaly_levels"
			position = { x = 17 y = 6 }
			alwaysTransparent = yes
		}

		instantTextBoxType={
			name = "name"
			font = "cg_16b"
			position = { x = 62 y = 15 }
			maxWidth = 220
			maxHeight = 20
			fixedSize = yes
			format = left
			vertical_alignment = center
			alwaysTransparent = yes
		}
	}

	# Timeline Navigation Entry
	containerWindowType = {
		name = "timeline_navigation_entry" # lives in timeline_navigation_grid
		clipping = no
		position = { x = 0 y = 25 }

		iconType = {
			name = "active_icon"
			spriteType = "GFX_timelines_navigation_active_icon"
		}

		iconType = {
			name = "inactive_icon"
			spriteType = "GFX_timelines_navigation_inactive_icon"
		}

		instantTextBoxType = {
			name = "page_num"
			font = "cg_16b"
			text = "X"
			maxWidth = 32
			maxHeight = 34
			fixedSize = yes
			format = center
			vertical_alignment = center
			alwaysTransparent = yes
		}
	}

	### VICTORY CONDITION EMPIRE ITEM
	containerWindowType = {
		name = "victory_empire_item"
		size = { width = 300 height = 48 }

		buttonType = {
			name = "button"
			quadTextureSprite = "GFX_long_button"
			size = { x = 272 y = 40 }
			position = { x = 9 y = 0 }
			clicksound = outliner_click_tab
			oversound = no_sound
		}

		buttonType = {
			name = "empire_flag"
			quadTextureSprite = "GFX_empire_flag_32"
			position = { x = 18 y = 10 }
		}

		iconType = {
			name = "selected"
			spriteType = "GFX_long_button_selected"
			position = { x = 13 y = 5 }
			alwaysTransparent = yes
		}

		instantTextBoxType={
			name = "name"
			font = "cg_16b"
			text = "TITLE"
			position = { x = 55 y = 10 }
			maxWidth = 220
			maxHeight = 10
			fixedSize = yes
			format = left
			alwaysTransparent = yes
		}

		instantTextBoxType={
			name = "score"
			font = "cg_16b"
			text = "250"
			position = { x = 55 y = 25 }
			maxWidth = 260
			maxHeight = 40
			fixedSize = yes
			format = left
			alwaysTransparent = yes
		}
	}

	### FOCUS CARD ITEM
	containerWindowType = {
		name = "focus_card_item"
		size = { width = 160 height = 210 }
		clipping = yes

		iconType = {
			name = "portrait_background_icon"
			spriteType = "GFX_focus_card_background_core_tier_1"
		}

		iconType = {
			name = "tier_icon"
			spriteType = "GFX_focus_card_tier"
			position = { x = 5 y = 5 }
		}

		buttonType = {
			name = "dismissal_button"
			spriteType = "GFX_focus_button_dismiss"
			orientation = upper_right
			position = { x = -30 y = 8 }
			size = { x = 20 y = 20 }
		}

		instantTextBoxType = {
			name = "name"
			font = "cg_16b"
			text = "FOCUS_CARD_NAME"
			orientation = upper_left
			position = { x = 17 y = 60 }
			maxWidth = 130
			multiline = yes
		}

		instantTextBoxType = {
			name = "description"
			font = "cg_16b"
			text = "FOCUS_CARD_DESCRIPTION"
			text_color_code = "t"
			orientation = upper_left
			position = { x = 17 y = 96 }
			maxWidth = 130
			multiline = yes
		}

		containerWindowType = {
			name = "reward_background"
			orientation = upper_left
			position = { x = 5 y = 176 }

			background = {
				name = "focus_reward_background"
				spriteType = "GFX_focus_reward_background"
				alwaystransparent = yes
			}
		}

		instantTextBoxType = {
			name = "reward_title"
			font = "cg_16b"
			text = "FOCUS_CARD_REWARD"
			position = { x = 13  y = 181 }
			maxWidth = 140
			multiline = yes
			alwaystransparent = yes
		}

		containerWindowType = {
			name = "progress_container"
			position = { x = 17 y = 134 }
			size = { width = 130 height = 50 }

			instantTextBoxType = {
				name = "progress_textbox_label"
				font = "cg_16b"
				text = "FOCUS_CARD_PROGRESS_LABEL"
				position = { x = 0 y = 1 }
				maxWidth = 70
				multiline = no
				alwaystransparent = yes
			}

			instantTextBoxType = {
				name = "progress_textbox_numbers"
				font = "cg_16b"
				text = "FOCUS_CARD_PROGRESS"
				orientation = "UPPER_RIGHT"
				format = right
				position = { x = -75 y = 1 }
				maxWidth = 70
				multiline = no
				alwaystransparent = yes
			}

			iconType = {
				name = "progress_bar"
				position = { x = -1 y = 20 }
				spriteType = "GFX_focus_card_progressbar"
				alwaystransparent = yes
			}
		}

		containerWindowType = {
			name = "reward_container"
			orientation = upper_right
			position = { x = 0 y = 158 }
			size = { width = 81 height = 40 }

			gridBoxType = {
				name = "reward_grid_box"
				position = { x = -13 y = 3 }
				slotSize = { width = 27 height = 40 }
				max_slots_horizontal = 3
				format = "UPPER_RIGHT"
				padding = { left = 0 top = 0 }
			}
		}

		buttonType = {
			name = "highlight"
			spriteType = "GFX_focus_card_background_highlight"
			position = { x = 5 y = 5 }
			size = { x = 150 y = 200 }
			alwaystransparent = yes
		}
	}

	### FOCUS CARD REWARD ITEM
	containerWindowType = {
		name = "focus_card_reward_item"
		size = { width = 27 height = 40 }
		clipping = yes

		iconType = {
			name = "icon"
			spriteType = "GFX_focus_priority_icon_conquest"
			position = { x = -3 y = -4 }
			scale = 0.78
		}

		instantTextBoxType = {
			name = "amount"
			font = "cg_16b"
			orientation = upper_left
			format = center
			position = { x = 1 y = 24 }
			maxWidth = 27
		}
	}
}
