guiTypes = {
	containerWindowType = {
		name = "government_view"
		position = { x=5 y=5 }
		size = { width = 563 height = 685 }
		moveable = no
		orientation = upper_left

		show_position = { x = 30 y = 34 }
        hide_position = { x = -570 y = 34 }
        animation_time = 200
        animation_type = decelerated

		iconType = {
			name = "main_screen_bg"
			spriteType = "GFX_main_screen_bg_short"
			position = { x = 5 y = 6 }
		}

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

		iconType = {
			name = "empire_header_line"
			quadTextureSprite = "GFX_line_long"
			position = { x = 11 y = 27 }
		}

		buttonType = {
			name = "close"
			quadTextureSprite = "GFX_close_button"
			position = { x= -41 y = 22  }
			orientation = "UPPER_RIGHT"
			shortcut = "ESCAPE"
			pdx_tooltip = "CLOSE_TITLE"
			clicksound = "back_click"
			actionShortcut = "cancel"
		}

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

		@tabheight = 604

		buttonType = {
			name = "tab_government"
			quadTextureSprite = "GFX_tab_1_inactive"
			position = { x= -15 y = @tabheight }
			font = "cg_16b"
			buttonText = "EMPIRE"
			buttonFont = "cg_16b"
			shortcut = "z"
			clicksound = "tab_click"
			pdx_tooltip = "EMPIRE_TOOLTIP"
			oversound = no_sound
		}
		buttonType = {
			name = "tab_government_active"
			quadTextureSprite = "GFX_tab_1_active"
			position = { x= -15 y = @tabheight }
			font = "cg_16b"
			buttonText = "EMPIRE"
			buttonFont = "cg_16b"
			clicksound = "tab_click"
			oversound = no_sound
			shortcut = "z"
			pdx_tooltip = "EMPIRE_TOOLTIP"
		}

		buttonType = {
			name = "tab_budget"
			quadTextureSprite = "GFX_tab_2_inactive"
			position = { x= 114 y = @tabheight }
			font = "cg_16b"
			buttonText = "BUDGET"
			buttonFont = "cg_16b"
			shortcut = "x"
			clicksound = "tab_click"
			oversound = no_sound
			pdx_tooltip = "BUDGET_TOOLTIP"
		}
		buttonType = {
			name = "tab_budget_active"
			quadTextureSprite = "GFX_tab_2_active"
			position = { x= 114 y = @tabheight }
			font = "cg_16b"
			buttonText = "BUDGET"
			buttonFont = "cg_16b"
			clicksound = "tab_click"
			oversound = no_sound
			shortcut = "x"
			pdx_tooltip = "BUDGET_TOOLTIP"
		}

		buttonType = {
			name = "tab_demographics"
			quadTextureSprite = "GFX_tab_2_inactive"
			position = { x= 114 y = @tabheight }
			font = "cg_16b"
			buttonText = "DEMOGRAPHICS"
			buttonFont = "cg_16b"
			shortcut = "c"
			clicksound = "tab_click"
			oversound = no_sound
			pdx_tooltip = "DEMOGRAPHICS_TOOLTIP"
		}
		buttonType = {
			name = "tab_demographics_active"
			quadTextureSprite = "GFX_tab_2_active"
			position = { x= 114 y = @tabheight }
			font = "cg_16b"
			buttonText = "DEMOGRAPHICS"
			buttonFont = "cg_16b"
			clicksound = "tab_click"
			oversound = no_sound
			shortcut = "c"
			pdx_tooltip = "DEMOGRAPHICS_TOOLTIP"
		}

		buttonType = {
			name = "tab_advisor"
			quadTextureSprite = "GFX_tab_2_inactive"
			position = { x= 250 y = @tabheight }
			font = "cg_16b"
			buttonText = "GOVERNMENT_ADVISOR_TAB"
			buttonFont = "cg_16b"
			shortcut = "v"
			clicksound = "tab_click"
			oversound = no_sound
			pdx_tooltip = "GOVERNMENT_ADVISOR_TAB_TOOLTIP"

		}
		buttonType = {
			name = "tab_advisor_active"
			quadTextureSprite = "GFX_tab_2_active"
			position = { x= 250 y = @tabheight }
			font = "cg_16b"
			buttonText = "GOVERNMENT_ADVISOR_TAB"
			buttonFont = "cg_16b"
			clicksound = "tab_click"
			oversound = no_sound
			shortcut = "v"
			pdx_tooltip = "GOVERNMENT_ADVISOR_TAB_TOOLTIP"
		}

		instantTextBoxType={
			name = "heading"
			font = "malgun_goth_24"
			text = "GOVERNMENT_VIEW"
			position = { x = 38 y = 10 }
			maxWidth = 400
			maxHeight = 20
			fixedSize = yes
			format = left
			alwaystransparent = yes
		}

		buttonType = {
			name = "empire_rename_button"
			spriteType = "GFX_invisible"
			position = { x = 35 y = 10 }
			size = { x = 300 y = 25 }
			orientation = left
		}

		###############################
		# government_window
		###############################

		containerWindowType = {
			name = "government_window"
			position = { x=11 y=45 }
			size = { width = 550 height = 560 }
			moveable = no
			dontRender = ""

			# The Info sub window
			containerWindowType = {
				name = "info_window"
				position = { x=0 y=0 }
				size = { width = 563 height = 598 }
				moveable = no
				dontRender = ""

			containerWindowType = {
				name = "portrait_window"
				position = { x = 2 y = 26 }
				size = { width = 546 height = 195 }
				moveable = no
				clipping = yes

				iconType = {
					name = "portrait_background"
					position = { x = 4 y = 2 }
					quadTextureSprite = "GFX_portrait_gamesetup_mask"
					scale = 0.566
				}

				iconType = {
					name = "black_frame"
					spriteType = "GFX_diplomacy_portrait_shadow_frame"
					position = { x = 0 y = 0}
					alwaysTransparent = yes
					scale = 0.566
				}

				containerWindowType = {
					name = "ruler_container"
					position = { x = 0 y = 0 }
					size = { width = 480 height = 175 }
					moveable = no
					clipping = no
				}

				iconType = {
					name = "city_frame"
					spriteType = "GFX_diplomacy_portrait_frame"
					position = { x = 0 y = 0}
					alwaysTransparent = yes
					scale = 0.566
				}
			}

			buttonType = {
				name = "government_reform"
				quadTextureSprite = "GFX_standard_button_142_34_button"
				buttonFont = "cg_16b"
				text = "MOD_GOVERNMENT_TITLE"
				position = { x = 118 y = 501  }
				orientation = "UPPER_LEFT"
				clicksound = confirm_click
			}

			instantTextBoxType = {
				name = "government_title"
				position = { x = 45 y = 232 }
				font = "malgun_goth_24"
				text = "GOVERNMENT_LABEL"
				maxWidth = 230
				maxHeight = 22
				fixedSize = yes
				format = left
			}

			containerWindowType = {
				name = "civics_window"
				position = { x = 145 y = 265 }
				size = { width = 134 height = 80 }
				moveable = no

				containerWindowType = {
					name = "election_bg"
					size = { width = 130 height = 60 }
					position = { x = 0 y = 0 }

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

				instantTextBoxType = {
					name = "civics_label"
					position = { x = 10 y = 5 }
					font = "cg_16b"
					text = "CIVICS_LABEL"
					maxWidth = 150
					maxHeight = 22
					fixedSize = yes
					format = left
				}

				overlappingElementsBoxType = {
					name = "civics"
					position = { x = 10 y = 25 }
					size = { x = 120 y = 32 }
					spacing = 2
					format = left
					orientation = "UPPER_LEFT"
				}
			}

			containerWindowType = {
				name = "imperium_window"
				position = { x = 5 y = 265 }
				size = { width = 134 height = 60 }
				moveable = no

				containerWindowType = {
					name = "election_bg"
					size = { width = 130 height = 60 }
					position = { x = 0 y = 0 }

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

				instantTextBoxType = {
					name = "ethics_label"
					position = { x = 10 y = 5 }
					font = "cg_16b"
					text = "ETHICS_LABEL"
					maxWidth = 150
					maxHeight = 22
					fixedSize = yes
					format = left
				}

				overlappingElementsBoxType = {
					name = "ethics"
					position = { x = 10 y = 25 }
					size = { x = 120 y = 32 }
					spacing = 2
					format = left
					orientation = "UPPER_LEFT"
				}
			}

			containerWindowType = {
				name = "origin_window"
				position = { x = 5 y = 458 }
				size = { width = 270 height = 45 }
				moveable = no

				containerWindowType = {
					name = "origin_bg"
					size = { width = 100% height = 100% }
					position = { x = 0 y = 0 }

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

				iconType = {
					name = "origin_icon"
					quadTextureSprite = "GFX_government_civic"
					position = { x = 10 y = 8 }
					orientation = "UPPER_LEFT"
				}

				instantTextBoxType = {
					name = "origin_name"
					position = { x = 48 y = 14 }
					font = "cg_16b"
					text = "ORIGIN"
					maxWidth = 200
					maxHeight = 22
					fixedSize = yes
					format = left
				}
			}

			containerWindowType = {
				name = "diplo_weight_window"
				size = { width = 110 height = 40 }
				position = { x = 5 y = 510 }

				background = {
					name = "leader_frame"
					spriteType = "GFX_tiles_dark_area_cut_8"
					alwaysTransparent = yes
				}

				iconType = {
					name = "diplo_weight_icon"
					quadTextureSprite = "GFX_diplomatic_weight_large"
					scale = .85
					position = { x = 10 y = 8 }
					orientation = "UPPER_LEFT"
				}

				instantTextBoxType = {
					name = "diplomacy_weight"
					position = { x = 40 y = 12 }
					font = "cg_16b"
					text = "12%"
					maxWidth = 80
					maxHeight = 22
					fixedSize = yes
					format = left
				}
			}

			containerWindowType = {
				name = "government_spec_window"
				size = { width = 270 height = 120 }
				position = { x = 5 y = 332 }

				background = {
					name = "leader_frame"
					spriteType = "GFX_tiles_dark_area_cut_8"
					alwaysTransparent = yes
				}

				instantTextBoxType = {
					name = "authority_label"
					position = { x = 6 y = -50 }
					textureFile = ""
					font = "cg_16b"
					borderSize = {x = 0 y = 0}
					text = "GOVERNMENT_AUTHORITY"
					maxWidth = 190
					maxHeight = 22
					fixedSize = yes
					format = left
				}

				containerWindowType = {
					name = "election_window"
					size = { width = 250 height = 50 }
					position = { x = 45 y = 10 }

					instantTextBoxType = {
						name = "next_election_label"
						position = { x = -35 y = -1 }
						textureFile = ""
						font = "cg_16b"
						borderSize = {x = 0 y = 0}
						text = "NEXT_ELECTION_LABEL"
						maxWidth = 190
						maxHeight = 22
						fixedSize = yes
						format = left
					}

					instantTextBoxType = {
						name = "next_election"
						position = { x = -35 y = 14 }
						textureFile = ""
						font = "cg_16b"
						borderSize = {x = 0 y = 0}
						text = "NEVER"
						maxWidth = 178
						maxHeight = 22
						#fixedSize = yes
						format = left
					}

					buttonType = {
						name = "emergency_election_button"
						quadTextureSprite = "GFX_government_emergency_selection"
						position = { x = 183 y = -3 }
						oversound = mouse_over
						clicksound = confirm_click
					}
				}

				containerWindowType = {
					name = "heir_window"
					size = { width = 270 height = 100 }
					position = { x = 6 y = 0 }
					clipping = no

					containerWindowType = {
						name = "heir_container"
						position = { x = 0 y = 0 }
						size = { width = 480 height = 175 }
						moveable = no
						clipping = no
					}

					instantTextBoxType = {
						name = "heir_label"
						position = { x = 38 y = 15 }
						font = "cg_16b"
						text = "HEIR"
						maxWidth = 80
						maxHeight = 22
						fixedSize = yes
						format = left
						text_color_code = "H"
					}
				}


				# Government
				iconType = {
					name = "government_authority"
					quadTextureSprite = "GFX_government_authority"
					position = { x = 0 y = -101 }
					scale = .65
					orientation = "UPPER_LEFT"
				}
			}

			buttonType = {
				name = "modifiers_button"
				quadTextureSprite = "GFX_button_116_24"
				buttonFont = "cg_16b"
				text = "TEMP_MODIFIERS"
				position = { x = 280 y = 225  }
				orientation = "UPPER_LEFT"
				clicksound = confirm_click
			}

			buttonType = {
				name = "relations_button"
				quadTextureSprite = "GFX_button_116_24"
				buttonFont = "cg_16b"
				text = "RELATIONS"
				position = { x = 402 y = 225  }
				orientation = "UPPER_LEFT"
				clicksound = confirm_click
			}

			containerWindowType = {
				name = "modifiers_window"
				position = { x=288 y=268 }
				size = { width = 240 height = 305 }
				moveable = no

				containerWindowType = {
					name = "empire_background2"
					size = { width = 257 height = 282 }
					position = { x = 0 y = 0 }

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

				smoothListboxType = {
					name = "modifiers_list"
					position = { x = -10 y = 5 }
					size = { x=248 y=272 }
					scrollbartype = "standardlistbox_slider"
					orientation = "UPPER_LEFT"
				}

				instantTextBoxType = {
					name = "empty_mods"
					position = { x = 10 y = 20 }
					font = "cg_16b"
					text = "EMPTY_MODS"
					maxWidth = 233
					maxHeight = 40
					fixedSize = yes
					format = center
				}
			}

			##################################
			# DIPLOMACY STATUS WINDOW
			##################################
			containerWindowType = {
				name = "diplomacy_status_window"
				position = { x=288 y=268 }
				size = { width = 257 height = 270  }
				margin = { top = 5 bottom = 5 }

				background = {
					name ="detailed_window_bg"
					spriteType = "GFX_tiles_dark_area_cut_8"
					alwaysTransparent = yes
				}

				smoothListboxType = {
					id = "diplomacy_status_list"
					name = "diplomacy_status_list"
					position = { x = 0 y = 0 }
					backGround = ""
					size = { x = 240 y = 260 }
					scrollbarType = "standardlistbox_slider"
					borderSize = { x = 0 y = 0 }
				}
			}
		}

		###############################
		# budget
		###############################
		containerWindowType = {
			name = "budget"
			position = { x=0 y=0 }
			size = { width = 563 height = 598 }
			#moveable = no
			dontRender = ""
			#horizontalBorder = ""

			@b_summary_y = 245

			buttonType = {
				name = "black_box_income"
				quadTextureSprite = "GFX_tiles_frame_light"
				position = { x = 0 y = 40 }
				size = { x = 275 y = 235 }
				no_clicksound = yes
			}

			buttonType = {
				name = "black_box_expences"
				quadTextureSprite = "GFX_tiles_frame_light"
				position = { x = 275 y = 40 }
				size = { x = 275 y = 235 }
				no_clicksound = yes
			}

			################
			# INCOME COLUMN
			################

			@income_label_x = 30

			# The Income sub window
			containerWindowType = {
				name = "income_window"
				position = { x=5 y=0 }
				size = { width = 285 height = 300 }
				#moveable = no
				dontRender = ""
				#horizontalBorder = ""

				instantTextBoxType = {
					name = "income_label"
					position = { x = 10 y = 15 }
					textureFile = ""
					font = "malgun_goth_24"
					borderSize = {x = 0 y = 0}
					text = "INCOME"
					maxWidth = 281
					maxHeight = 20
					fixedSize = yes
				}

				instantTextBoxType = {
					name = "total_income_label"
					position = { x = 10 y = @b_summary_y }
					textureFile = ""
					font = "cg_16b"
					borderSize = {x = 0 y = 0}
					text = "MONTHLY_INCOME_COLON"
					maxWidth = 200
					maxHeight = 20
					fixedSize = yes
					format = left
					#text_color_code = "S"
				}

				instantTextBoxType = {
					name = "total_income_value"
					position = { x = 150 y = @b_summary_y }
					textureFile = ""
					font = "cg_16b"
					borderSize = {x = 0 y = 0}
					text = ""
					maxWidth = 100
					maxHeight = 20
					fixedSize = yes
					format = right
				}
			}

			smoothListboxType = {
				name = "incomes"
				position = { x = 5 y = 55 }
				size = { x=260 y=320 }
				scrollbartype = "standardlistbox_slider"
				orientation = "UPPER_LEFT"
				alwaysTransparent = yes
			}

			################
			# EXPENSE COLUMN
			################

			@expense_nr_x = 145
			@expense_label_x = 10

			# The Expense sub window
			containerWindowType = {
				name = "expenses_window"
				position = { x=285 y=0 }
				size = { width = 260 height = 300 }
				#moveable = no
				dontRender = ""
				#horizontalBorder = ""

				instantTextBoxType = {
					name = "expense_label"
					position = { x = 10 y = 15 }
					textureFile = ""
					font = "malgun_goth_24"
					borderSize = {x = 0 y = 0}
					text = "EXPENSES"
					maxWidth = 281
					maxHeight = 20
					fixedSize = yes
				}

				instantTextBoxType = {
					name = "total_expenses_label"
					position = { x = @expense_label_x y = @b_summary_y }
					textureFile = ""
					font = "cg_16b"
					borderSize = {x = 0 y = 0}
					text = "MONTHLY_EXPENSES_COLON"
					maxWidth = 200
					maxHeight = 20
					fixedSize = yes
					format = left
					#text_color_code = "S"
				}

				instantTextBoxType = {
					name = "total_expenses_value"
					position = { x = @expense_nr_x y = @b_summary_y }
					textureFile = ""
					font = "cg_16b"
					borderSize = {x = 0 y = 0}
					text = ""
					maxWidth = 100
					maxHeight = 20
					fixedSize = yes
					format = right
				}
			}

			smoothListboxType = {
				name = "expenses"
				position = { x = 285 y = 55 }
				size = { x=260 y=320 }
				scrollbartype = "standardlistbox_slider"
				orientation = "UPPER_LEFT"
				alwaysTransparent = yes
			}

			buttonType = {
				name = "black_box_balance"
				quadTextureSprite = "GFX_tiles_frame_light"
				position = { x = 275 y = 270 }
				size = { x = 275 y = 50 }
				alwaysTransparent = yes
			}

			#The balance window
			containerWindowType = {
				name = "balance_window"
				position = { x=285 y=282 }
				size = { width = 260 height = 45 }
				#moveable = no
				dontRender = ""
				#horizontalBorder = ""

				instantTextBoxType = {
					name = "balance_label"
					position = { x = 10 y = 0 }
					textureFile = ""
					font = "malgun_goth_24"
					borderSize = {x = 0 y = 0}
					text = "BALANCE_COLON"
					maxWidth = 200
					maxHeight = 20
					fixedSize = yes
					format = left
					#text_color_code = "S"
				}

				instantTextBoxType = {
					name = "balance_value"
					position = { x = 148 y = 0 }
					textureFile = ""
					font = "malgun_goth_24"
					borderSize = {x = 0 y = 0}
					text = ""
					maxWidth = 100
					maxHeight = 20
					fixedSize = yes
					format = right
				}
			}

			instantTextBoxType = {
				name = "effects_label"
				position = { x = 20 y = 336 }
				textureFile = ""
				font = "malgun_goth_24"
				borderSize = {x = 0 y = 0}
				text = "BUDGET_EFFECTS"
				maxWidth = 510
				maxHeight = 20
				fixedSize = yes
				format = centre
				#text_color_code = "S"
			}

			buttonType = {
				name = "black_box_effects"
				quadTextureSprite = "GFX_tiles_frame_light"
				position = { x = 0 y = 360 }
				size = { x = 550 y = 190 }
				alwaysTransparent = yes
			}

			containerWindowType = {
				name = "effects_window"
				position = { x=15 y=382 }
				size = { width = 520 height = 160 }
				verticalScrollbar = "right_vertical_slider"

				background = {
					name = "background"
					quadTextureSprite = "gfx_transparency"
					alwaystransparent = yes
				}

				gridBoxType = {
					position = { x = 0 y = 0 }
					name = "grid"
					slotSize = { width = 270 height = 40 }
					max_slots_horizontal = 2
					format = "UPPER_LEFT"
				}
			}
		}

		###############################
		# demographics_window
		###############################

		containerWindowType = {
			name = "demographics_window"
			position = { x=0 y=0 }
			size = { width = 563 height = 598 }

			instantTextBoxType={
				name = "population_label"
				font = "malgun_goth_24"
				text = "POPULATION"
				position = { x = 0 y = 15}
				maxWidth = 550
				maxHeight = 20
				fixedSize = yes
				format = center
			}

			containerWindowType = {
				name = "population_window"
				position = { x=0 y=40 }
				size = { width = 550 height = 210 }

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

				instantTextBoxType={
					name = "species_name"
					font = "cg_16b"
					text = "PLANETTYPE"
					position = { x = 350 y = 20}
					maxWidth = 140
					maxHeight = 20
					fixedSize = yes
					format = left
					text_color_code = "E"
				}

				instantTextBoxType={
					name = "founder_species_class"
					font = "cg_16b"
					text = "SPECIES"
					position = { x = 350 y = 40}
					maxWidth = 140
					maxHeight = 20
					fixedSize = yes
					format = left
				}

				instantTextBoxType={
					name = "ideal_planet_class"
					font = "cg_16b"
					text = "IDEAL_PLANET_CLASS"
					position = { x = 350 y = 60}
					maxWidth = 140
					maxHeight = 20
					fixedSize = yes
					format = left
					text_color_code = "H"
				}

				instantTextBoxType={
					name = "pops"
					font = "cg_16b"
					text = "POPS_IN_WORLD"
					position = { x = 350 y = 80}
					maxWidth = 200
					maxHeight = 20
					fixedSize = yes
					format = left
				}

				iconType = {
					name = "species_leader_image"
					quadTextureSprite = "GFX_portrait_character"
					position = { x = 220 y = 6 }
					scale = 0.24
				}

				containerWindowType = {
					name = "setting_bg_box"
					position = { x = 250 y = 106 }
					size = { width = 270 height = 43 }

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

				OverlappingElementsBoxType = {
					name = "traits"
					position = { x = 255 y = 110}
					size = { x = 250 y = 33 }
					format = left
					orientation = "UPPER_LEFT"
				}

				smoothListboxType = {
					name = "species_list"
					position = { x = 20 y = 20 }
					size = { x=50 y=50 }
					scrollbartype = "standardlistbox_slider"
					orientation = "UPPER_LEFT"
				}
			}

			containerWindowType = {
				name = "species_piechart"
				position = { x = 120 y = 50 }
				size = { width =0 height = 160 }
				moveable = no

				iconType = {
					name ="species_piechart"
					spriteType = "GFX_species_piechart_default"
					position = { x= 70 y = 15 }
				}

				iconType = {
					name ="species_piechart_overlay"
					spriteType = "GFX_pie_chart_overlay"
					position = { x= 18 y = 13 }
				}

				iconType = {
					name = "species_piechart_hover"
					spriteType = "GFX_species_piechart_hover_colored"
					position = { x = 70 y = 12 }
				}

				smoothListboxType = 	{
					name ="species_list"
					position = { x = -102 y = 0 }
					size = { x=100 y = 185 }
					scrollbartype = "standardlistbox_slider"
					orientation = "UPPER_LEFT"
				}
			}

			instantTextBoxType={
				name = "pop_effects_label"
				font = "malgun_goth_24"
				text = "POP_EFFECTS"
				position = { x = 0 y = 260}
				maxWidth = 550
				maxHeight = 20
				fixedSize = yes
				format = center
			}

			instantTextBoxType={
				name = "pop_effects_desc"
				font = "cg_16b"
				text = "POP_EFFECTS_DESC"
				position = { x = 10 y = 292}
				maxWidth = 530
				maxHeight = 60
				fixedSize = yes
				format = center
				text_color_code = "E"
			}

			containerWindowType = {
				name = "pop_effects_bg_window"
				position = { x=0 y=340 }
				size = { width = 550 height = 170 }

				background = {
					name = "empire_background"
					spriteType = "GFX_tiles_frame_light"
					alwaystransparent = yes
				}
			}

			containerWindowType = {
				name = "effects_window"
				position = { x=15 y=353 }
				size = { width = 544 height = 160 }
				verticalScrollbar = "right_vertical_slider"

				background = {
					name = "background"
					quadTextureSprite = "gfx_transparency"
					alwaystransparent = yes
				}

				gridBoxType = {
					position = { x = 10 y = 0 }
					name = "grid"
					slotSize = { width = 272 height = 30 }
					max_slots_horizontal = 2
					format = "UPPER_LEFT"
				}
			}
		}

		###############################
		# advisor_window
		###############################

		containerWindowType = {
			name = "advisor_window"
			size = { width = 100% height = 100% }
			position = { x = 0 y = 0 }

			instantTextBoxType = {
				name = "header"
				font = "malgun_goth_24"
				text = "EMPIRE_ADVISOR"
				position = { x = 0 y = 15 }
				maxWidth = 550
				maxHeight = 20
				fixedSize = yes
				format = center
			}

			containerWindowType = {
				name = "voice_modes"
				position = { x = 5 y = 45 }
				size = { width = 280 height = 176 }

				containerWindowType = {
					name = "automatic"
					position = { x = 0 y = 0 }
					size = { width = 280 height = 88 }

					background = {
						name = "background"
						spriteType = "GFX_button_situation_log_advisor_voice_mode"
						clicksound = "interface"
					}
					containerWindowType = {
						name = "selected"
						position = { x = 4 y = 5 }
						size = { width = 272 height = 78 }
						background = {
							name = "background"
							spriteType = "GFX_button_situation_log_advisor_voice_mode_selected"
							alwaysTransparent = yes
						}
					}

					instantTextBoxType = {
						name = "label"
						font = "malgun_goth_24"
						position = { x = 11 y = 12 }
						maxWidth = 258
						maxHeight = 30
						fixedsize = yes
						text = "SETTINGS_VOICE_TYPE_auto_advisor_voice_type"
						format = center
						alwaysTransparent = yes
					}
					instantTextBoxType = {
						name = "desc"
						font = "cg_16b"
						text_color_code = "L"
						position = { x = 15 y = 39 }
						maxWidth = 250
						maxHeight = 50
						fixedsize = yes
						text = "SETTINGS_VOICE_TYPE_auto_advisor_voice_type_DESC"
						format = center
						alwaysTransparent = yes
					}
				}
				containerWindowType = {
					name = "specified"
					position = { x = 0 y = 88 }
					size = { width = 280 height = 88 }

					background = {
						name = "background"
						spriteType = "GFX_button_situation_log_advisor_voice_mode"
						clicksound = "interface"
					}
					containerWindowType = {
						name = "selected"
						position = { x = 4 y = 5 }
						size = { width = 272 height = 78 }
						background = {
							name = "background"
							spriteType = "GFX_button_situation_log_advisor_voice_mode_selected"
							alwaysTransparent = yes
						}
					}

					instantTextBoxType = {
						name = "label"
						font = "malgun_goth_24"
						position = { x = 11 y = 12 }
						maxWidth = 258
						maxHeight = 30
						fixedsize = yes
						text = "SETTINGS_VOICE_TYPE_specified_advisor_voice_type"
						format = center
						alwaysTransparent = yes
					}
					instantTextBoxType = {
						name = "desc"
						font = "cg_16b"
						text_color_code = "L"
						position = { x = 15 y = 39 }
						maxWidth = 250
						maxHeight = 50
						fixedsize = yes
						text = "SETTINGS_VOICE_TYPE_specified_advisor_voice_type_DESC"
						format = center
						alwaysTransparent = yes
					}
				}
			}

			containerWindowType = {
				name = "voice_types"
				position = { x = 290 y = 50 }
				size = { width = 262 height = 490 }
				verticalScrollBar = "right_vertical_slider"
				margin = { top = 2 bottom = 2 }

				backGround = {
					name = "bg"
					position = { x = 0 y = 0 }
					spriteType = "GFX_tiles_dark_area_cut_8"
				}

				gridBoxType = {
					name = "gridbox"
					position = { x = 0 y = 0 }
					size = { width = 250 height = 490 }
					slotSize = { width = 250 height = 38 }
					max_slots_horizontal = 1
					format = "UPPER_LEFT"
				}
			}
		}
	}
}
	###############################
	# Empire Faction Entry
	###############################

	containerWindowType = {
		name = "faction_entry"
		position = { x=0 y=0 }
		size = { width = 400 height = 40 }
		moveable = no

		instantTextBoxType={
			name = "species_name"
			font = "cg_16b"
			position = { x = 0 y = 0 }
			fixedSize = yes
			format = center
			maxWidth = 270
			maxHeight = 40
			alwaysTransparent = yes
		}

		OverlappingElementsBoxType = {
			name = "pops"
			position = { x = 100 y = 48 }
			size = { x = 200 y = 32 }
			format = left
			orientation = "UPPER_LEFT"
		}

		buttonType = {
			name = "handle"
			quadTextureSprite = "GFX_button_animated_110_34"
			position = { x = 350 y = 0  }
			orientation = "UPPER_LEFT"
			buttonFont = "cg_16b"
			text = "HANDLE"
			font = "cg_16b"
		}
	}

	# TIMED MODIFIER ENTRY
	containerWindowType = {
		name = "timed_modifier_entry"
		position = { x=0 y=0 }
		size = { width = 60 height = 35 }
		moveable = no
		orientation = upper_left

		iconType = {
			name = "icon"
			spriteType = "GFX_modifier_unknown"
			position = { x = 22 y = 7 }
			orientation = "UPPER_LEFT"
		}

		instantTextBoxType={
			name = "modifier"
			font = "cg_16b"
			position = { x = 59 y = -2 }
			maxWidth = 190
			maxHeight = 40
			fixedSize = yes
			format = left
			vertical_alignment = center
			text = "ACTIVE_GREEN"
		}

	}

	# GOVERNMENT TYPE ENTRY
	containerWindowType = {
		name = "government_list_entry"
		position = { x=0 y=0 }
		size = { width = 288 height = 22 }
		moveable = no

	#	iconType = {
	#		name = "background"
	#		spriteType = "GFX_empire_entry_bg"
	#		position = { x = 0 y = 0  }
	#		orientation = "UPPER_LEFT"
	#	}

		instantTextBoxType={
			name = "government_label"
			font = "cg_16b"
			position = { x = 0 y = 0 }
			maxWidth = 288
			maxHeight = 22
			fixedSize = yes
			format = centre
			#alwaysTransparent = yes
		}
	}


	containerWindowType = {
		name = "species_piechart_entry"
		position = { x=0 y=-0 }
		size = { width =104 height=30 }
		moveable = no

		iconType = {
			name ="species_plupp"
			spriteType = "GFX_species_plupp"
			position = { x= 10 y = 10 }
			alwaysTransparent = yes
		}

		instantTextBoxType = {
			name = "name"
			position = { x = 20 y = 5 }
			font = "cg_16b"
			text = "SPECIES"
			maxWidth = 105
			maxHeight = 16
			fixedsize = yes
			orientation = right
			alwaysTransparent = yes
		}

		buttonType = {
			name = "piechart_button"
			quadTextureSprite = "GFX_button_light"
			position = { x=0 y=0 }
			size = { x=100 y=28 }
			clicksound = "menu_slide_open"
		}
	}

	containerWindowType = {
		name = "government_view_budget_entry"
		size = { width = 220 height = 20 }

		instantTextBoxType = {
			name = "name"
			position = { x = 10 y = 0 }
			font = "cg_16b"
			text = "SPECIES"
			maxWidth = 200
			maxHeight = 16
			fixedsize = yes
		}

		instantTextBoxType = {
			name = "value"
			position = { x = 10 y = 0 }
			font = "cg_16b"
			text = "SPECIES"
			maxWidth = 235
			maxHeight = 16
			fixedsize = yes
			format = right
		}
	}

	containerWindowType = {
		name = "government_view_budget_effect_entry"
		size = { width = 175 height = 40 }

		iconType = {
			name = "icon"
			spriteType = "GFX_modifier_unknown"
			position = { x = 0 y = 0 }
			orientation = "UPPER_LEFT"
		}

		instantTextBoxType={
			name = "name"
			font = "cg_16b"
			position = { x = 39 y = -3 }
			maxWidth = 155
			maxHeight = 30
			#fixedSize = yes
			format = left
			text = ""
			#fixedsize = yes
			appendtext = ":"
			vertical_alignment = center
		}

		instantTextBoxType={
			name = "value"
			font = "cg_16b"
			position = { x = 5 y = 3 }
			maxWidth = 50
			maxHeight = 20
			fixedSize = yes
			format = right
			text = ""
			fixedsize = yes
			Orientation = "UPPER_RIGHT"
			text_color_code = "G"
		}
	}

	containerWindowType = {
		name = "government_view_pop_effect_entry"
		size = { width = 175 height = 40 }

		iconType = {
			name = "icon"
			spriteType = "GFX_modifier_unknown"
			position = { x = 0 y = 0 }
			orientation = "UPPER_LEFT"
		}

		instantTextBoxType={
			name = "name"
			font = "cg_16b"
			position = { x = 32 y = -2 }
			maxWidth = 165
			maxHeight = 30
			#fixedSize = yes
			format = left
			text = ""
			appendtext = ":"
			vertical_alignment = center
		}

		instantTextBoxType={
			name = "value"
			font = "cg_16b"
			position = { x = 10 y = 3 }
			maxWidth = 50
			maxHeight = 20
			fixedSize = yes
			format = right
			text = ""
			fixedsize = yes
			Orientation = "UPPER_RIGHT"
			text_color_code = "G"
		}
	}
}
