guiTypes = {
    containerWindowType = {
		name = "investments_show_Investment_window"
		position = { x = 8 y = -8 }

		buttonType = {
			name = "investments_up_arrow"
			position = { x = 5 y = 3 }
			spriteType = "GFX_investments_up_arrow"

			pdx_tooltip = "investments_up_arrow_tt"
		}

        buttonType = {
			name = "investments_down_arrow"
			position = { x = 5 y = 3 }
			spriteType = "GFX_investments_down_arrow"

			pdx_tooltip = "investments_down_arrow_tt"
		}
	}

    containerWindowType = {
		name = "investments_int_investments_container"
		position = { x = 10 y =-35 }

		buttonType ={
			name ="investments_int_investments_bg"
			spriteType = "GFX_generic_box_narrow"
			position = { x=0 y=0 }
		}

		iconType = {
			name ="investments_int_investments_icon"
			spriteType = "GFX_int_investments"
			position = { x= -1 y = 0 }
		}

		instantTextBoxType = {
			name ="investments_int_investments_text"
			position = { x= 26 y = 4 }
			font = "hoi_18mbs"
			text = "[?ROOT.int_investments]"
			format = center
			maxWidth = 35
			maxHeight = 24
			fixedsize = yes

			pdx_tooltip = "investments_INT_INVESTMENTS_TOOLTIP"
		}
	}

	containerWindowType = {
		name = "investments_treasury_container"
		position = { x = 74 y =-35 }

		buttonType ={
			name ="investments_treasury_bg"
			spriteType = "GFX_generic_box_wider"
			position = { x=0 y=0 }
		}

		iconType = {
			name ="investments_treasury_icon"
			spriteType = "GFX_treasury"
			position = { x=-2 y = 0 }
		}

		instantTextBoxType = {
			name ="investments_treasury_text"
			position = { x= 20 y = 4 }
			font = "hoi_18mbs"
			text = "[?ROOT.treasury]"
			format = center
			maxWidth = 55
			maxHeight = 24
			fixedsize = yes

			pdx_tooltip = "investments_TREASURY_TOOLTIP"
			pdx_tooltip_delayed = "investments_TREASURY_TOOLTIP_DELAYED"
		}
	}

    containerWindowType = {
		name = "MD_state_investment"
		position = { x = -1 y = -50 }
		show_position = { x = -1 y = -137 }
		show_animation_type = decelerated
		hide_animation_type = accelerated
		animation_time = 300

        iconType = {
            name = "Background"
            spriteType = "GFX_state_investments_bg"
            position = { x = 2 y = 0 }
        }

        instantTextboxType = {
			name = "title"
			position = { x = 15 y = 12 }
			font = "hoi_18mbs"
			borderSize = { x = 0 y = 0 }
			text = "INVESTMENTS_TITLE"
			maxWidth = 200
			maxHeight = 40
			format = LEFT
			fixedsize=yes
		}

        ButtonType = {
            name = "close"
            spriteType = "GFX_investments_arrow_left"
            position = { x = 200 y = 12 }
        }

        containerWindowType = {
            name = "buildings_container"
            position = { x = 14 y = 40 }
            
            containerWindowType = {
                name = "civ"
                position = { x = 0 y = 3 }

                ButtonType = {
                    name = "select_civ_button"
                    spriteType = "GFX_buildings_strip"
                    frame = 1
                    scale = 0.72
                    position = { x = 0 y = 0 }
                    pdx_tooltip = "investments_construction_CIC"
                    pdx_tooltip_delayed = "investments_construction_CIC_delayed"
                }

                iconType = {
                    name = "select_civ_overlay_glow"
                    spriteType = "GFX_building_icon_glow"
                    position = { x = 0 y = -1 }
                }
            }

            containerWindowType = {
                name = "mil"
                position = { x = 38 y = 3 }

                ButtonType = {
                    name = "select_mil_button"
                    spriteType = "GFX_buildings_strip"
                    frame = 2
                    scale = 0.72
                    position = { x = 0 y = 0 }
                    pdx_tooltip = "investments_construction_MIC"
                    pdx_tooltip_delayed = "investments_construction_MIC_delayed"
                }

                iconType = {
                    name = "select_mil_overlay_glow"
                    spriteType = "GFX_building_icon_glow"
                    position = { x = 0 y = -1 }
                }
            }

            containerWindowType = {
                name = "dockyard"
                position = { x = 76 y = 3 }

                ButtonType = {
                    name = "select_dockyard_button"
                    spriteType = "GFX_buildings_strip"
                    frame = 4
                    scale = 0.72
                    position = { x = 0 y = 0 }
                    pdx_tooltip = "investments_construction_NIC"
                    pdx_tooltip_delayed = "investments_construction_NIC_delayed"
                }

                iconType = {
                    name = "select_dockyard_overlay_glow"
                    spriteType = "GFX_building_icon_glow"
                    position = { x = 0 y = -1 }
                }
            }

            containerWindowType = {
                name = "agriculture"
                position = { x = 114 y = 3 }

                ButtonType = {
                    name = "select_agriculture_button"
                    spriteType = "GFX_buildings_strip"
                    frame = 33
                    scale = 0.72
                    position = { x = 0 y = 0 }
                    pdx_tooltip = "investments_construction_agriculture_district"
                    pdx_tooltip_delayed = "investments_construction_agriculture_district_delayed"
                }

                iconType = {
                    name = "select_agriculture_overlay_glow"
                    spriteType = "GFX_building_icon_glow"
                    position = { x = 0 y = -1 }
                }
            }

            containerWindowType = {
                name = "office"
                position = { x = 152 y = 3 }

                ButtonType = {
                    name = "select_office_button"
                    spriteType = "GFX_buildings_strip"
                    frame = 35
                    scale = 0.72
                    position = { x = 0 y = 0 }
                    pdx_tooltip = "investments_construction_offices"
                    pdx_tooltip_delayed = "investments_construction_offices_delayed"
                }

                iconType = {
                    name = "select_office_overlay_glow"
                    spriteType = "GFX_building_icon_glow"
                    position = { x = 0 y = -1 }
                }
            }

            containerWindowType = {
                name = "infrastructure"
                position = { x = 190 y = 3 }

                ButtonType = {
                    name = "select_infrastructure_button"
                    spriteType = "GFX_buildings_strip"
                    frame = 3
                    scale = 0.72
                    position = { x = 0 y = 0 }
                    pdx_tooltip = "investments_construction_INF"
                    pdx_tooltip_delayed = "investments_construction_INF_delayed"
                }

                iconType = {
                    name = "select_infrastructure_overlay_glow"
                    spriteType = "GFX_building_icon_glow"
                    position = { x = 0 y = -1 }
                }
            }

            containerWindowType = {
                name = "internet"
                position = { x = 228 y = 3 }

                ButtonType = {
                    name = "select_internet_button"
                    spriteType = "GFX_buildings_strip"
                    frame = 32
                    scale = 0.72
                    position = { x = 0 y = 0 }
                    pdx_tooltip = "investments_construction_internet_station"
                    pdx_tooltip_delayed = "investments_construction_internet_station_delayed"
                }

                iconType = {
                    name = "select_internet_overlay_glow"
                    spriteType = "GFX_building_icon_glow"
                    position = { x = 0 y = -1 }
                }
            }

            containerWindowType = {
                name = "fossil_fuel_power_plant"
                position = { x = 0 y = 42 }

                ButtonType = {
                    name = "select_fossil_fuel_power_plant_button"
                    spriteType = "GFX_buildings_strip"
                    frame = 34
                    scale = 0.72
                    position = { x = 0 y = 0 }
                    pdx_tooltip = "investments_construction_POWER_PLANT"
                    pdx_tooltip_delayed = "investments_construction_POWER_PLANT_delayed"
                }

                iconType = {
                    name = "select_fossil_fuel_power_plant_overlay_glow"
                    spriteType = "GFX_building_icon_glow"
                    position = { x = 0 y = -1 }
                }
            }

            containerWindowType = {
                name = "renewable_power_plant"
                position = { x = 38 y = 42 }

                ButtonType = {
                    name = "select_renewable_power_plant_button"
                    spriteType = "GFX_buildings_strip"
                    frame = 10
                    scale = 0.72
                    position = { x = 0 y = 0 }
                    pdx_tooltip = "investments_construction_REF"
                    pdx_tooltip_delayed = "investments_construction_REF_delayed"
                }

                iconType = {
                    name = "select_renewable_power_plant_overlay_glow"
                    spriteType = "GFX_building_icon_glow"
                    position = { x = 0 y = -1 }
                }
            }

            containerWindowType = {
                name = "nuclear_power_plant"
                position = { x = 76 y = 42 }

                ButtonType = {
                    name = "select_nuclear_power_plant_button"
                    spriteType = "GFX_buildings_strip"
                    frame = 27
                    scale = 0.72
                    position = { x = 0 y = 0 }
                    pdx_tooltip = "investments_construction_NUCLEAR_REACTOR"
                    pdx_tooltip_delayed = "investments_construction_NUCLEAR_REACTOR_delayed"
                }

                iconType = {
                    name = "select_nuclear_power_plant_overlay_glow"
                    spriteType = "GFX_building_icon_glow"
                    position = { x = 0 y = -1 }
                }
            }

            containerWindowType = {
                name = "strategic_resource_reserve"
                position = { x = 114 y = 42 }

                ButtonType = {
                    name = "select_strategic_resource_reserve_button"
                    spriteType = "GFX_buildings_strip"
                    frame = 14
                    scale = 0.72
                    position = { x = 0 y = 0 }
                    pdx_tooltip = "investments_construction_fuel_silo"
                    pdx_tooltip_delayed = "investments_construction_fuel_silo_delayed"
                }

                iconType = {
                    name = "select_strategic_resource_reserve_overlay_glow"
                    spriteType = "GFX_building_icon_glow"
                    position = { x = 0 y = -1 }
                }
            }

            containerWindowType = {
                name = "airbase"
                position = { x = 152 y = 42 }

                ButtonType = {
                    name = "select_airbase_button"
                    spriteType = "GFX_buildings_strip"
                    frame = 5
                    scale = 0.72
                    position = { x = 0 y = 0 }
                    pdx_tooltip = "investments_construction_AIR"
                    pdx_tooltip_delayed = "investments_construction_AIR_delayed"
                }

                iconType = {
                    name = "select_airbase_overlay_glow"
                    spriteType = "GFX_building_icon_glow"
                    position = { x = 0 y = -1 }
                }
            }

            containerWindowType = {
                name = "antyair"
                position = { x = 190 y = 42 }

                ButtonType = {
                    name = "select_antyair_button"
                    spriteType = "GFX_buildings_strip"
                    frame = 9
                    scale = 0.72
                    position = { x = 0 y = 0 }
                    pdx_tooltip = "investments_construction_AA"
                    pdx_tooltip_delayed = "investments_construction_AA_delayed"
                }

                iconType = {
                    name = "select_antyair_overlay_glow"
                    spriteType = "GFX_building_icon_glow"
                    position = { x = 0 y = -1 }
                }
            }

            containerWindowType = {
                name = "radar"
                position = { x = 228 y = 42 }

                ButtonType = {
                    name = "select_radar_button"
                    spriteType = "GFX_buildings_strip"
                    frame = 11
                    scale = 0.72
                    position = { x = 0 y = 0 }
                    pdx_tooltip = "investments_construction_RAD"
                    pdx_tooltip_delayed = "investments_construction_RAD_delayed"
                }

                iconType = {
                    name = "select_radar_overlay_glow"
                    spriteType = "GFX_building_icon_glow"
                    position = { x = 0 y = -1 }
                }
            }
        }

        containerWindowType = {
            name = "info_container"
            position = { x = 276 y = 13 }

            containerWindowType = {
                name = "time_container"
                position = { x = 0 y = 0 }

                iconType = {
                    name ="Background"
                    spriteType = "GFX_investments_box_2"
                    position = { x = 0 y = 0 }
                    pdx_tooltip = "investments_clock_tt"
			        pdx_tooltip_delayed = "investments_clock_tt_delayed"
                }

                iconType = {
                    name = "Icon"
                    spriteType = "GFX_investments_clock"
                    position = { x = 3 y = 6 }
                    alwaystransparent = yes
                }

                instantTextBoxType = {
                    name = "tax_rate"
                    position = { x = 25 y = 10 }
                    font = "hoi_18mbs"
                    text = "investments_time_text_tt"
                    format = center
                    maxWidth = 60
                    maxHeight = 24
                    fixedsize = yes
                    alwaystransparent = yes
                }
            }

            containerWindowType = {
                name = "price_container"
                position = { x = 85 y = 0 }

                iconType = {
                    name ="Background"
                    spriteType = "GFX_investments_box_2"
                    position = { x = 0 y = 0 }
                    pdx_tooltip = "investments_build_cost_tt"
                }

                iconType = {
                    name = "Icon"
                    spriteType = "GFX_investments_dolar"
                    position = { x = 3 y = 6 }
                    alwaystransparent = yes
                }

                instantTextBoxType = {
                    name = "tax_rate"
                    position = { x = 22 y = 10 }
                    font = "hoi_18mbs"
                    text = "investments_build_cost_text_tt"
                    format = center
                    maxWidth = 60
                    maxHeight = 24
                    fixedsize = yes
                    alwaystransparent = yes
                }
            }

            containerWindowType = {
                name = "invest_container"
                position = { x = 0 y = 36 }
                size = { width = 175 height = 70 }

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

                containerWindowType = {
                    name = "amount_container"
                    position = { x = 15 y = 8 }

                    iconType = {
                        name ="Box"
                        spriteType = "GFX_generic_box_smallest"
                        position = { x = 0 y = 0 }
                        pdx_tooltip = "investments_building_amount_increase_button_tt"
                    }

                    ButtonType = {
                        name = "decrease_amount"
                        spriteType = "GFX_investments_arrow_left"
                        position = { x = 4 y = 3 }
                    }

                    ButtonType = {
                        name = "increase_amount"
                        spriteType = "GFX_investments_arrow_right"
                        position = { x = 48 y = 3 }
                    }

                    instantTextBoxType = {
                        name = "amout"
                        position = { x = 10 y = 3 }
                        font = "hoi_18mbs"
                        text = "[investments_get_build_amount]"
                        format = center
                        maxWidth = 50
                        maxHeight = 24
                        fixedsize = yes
                        alwaystransparent = yes
                    }
                }

                containerWindowType = {
                    name = "projects_amount_container"
                    position = { x = 90 y = 8 }

                    iconType = {
                        name ="Box"
                        spriteType = "GFX_generic_box_smallest"
                        position = { x = 0 y = 0 }
                    }

                    instantTextBoxType = {
                        name = "amout"
                        position = { x = 10 y = 3 }
                        font = "hoi_18mbs"
                        text = "[?ROOT.active_projects]/15"
                        format = center
                        maxWidth = 50
                        maxHeight = 24
                        fixedsize = yes
                        alwaystransparent = yes
                    }
                }

                ButtonType = {
                    name = "invest_button"
                    quadTextureSprite = "GFX_party_filter_button"
                    text = "[investments_get_build_button_text]"
                    frame = 2
                    buttonFont = "hoi_20b"
                    clicksound = click_default
                    position = { x = 14 y = 36 }
                    pdx_tooltip = "investments_build_button_tt"
                    pdx_tooltip_delayed = "investments_build_button_tt_delayed"
                }

                iconType = {
                    name = "investments_influence_icon"
                    spriteType = "GFX_influence_action_button"
                    position = { x = 148 y = 8 }
                    pdx_tooltip = "investments_gain_tooltip"
                }
            }
        }
    }
}