@semy = 0.25
@third = @[1/3]
@fifth = @[1/5]
@sixth = @[1/6]

@canton_scale_cross_x = @[ ( 333 / 768 ) + 0.001 ]
@canton_scale_cross_y = @[ ( 205 / 512 ) + 0.001 ]

@canton_scale_sweden_x = @[ ( 255 / 768 ) + 0.001 ]
@canton_scale_sweden_y = @[ ( 204 / 512 ) + 0.001 ]

@uru_canton_height = 0.556
@NZL_coa_offset = @[3/16] 
@sm_fra = 0.16

@pi = 3.1416

@canton_scale_norway_x = @[ ( 192 / coa_width ) + 0.001 ]
@canton_scale_norway_y = @[ ( 192 / coa_height ) + 0.001 ]

### European portraits ###


## Austria ##

Austria_WB_portrait = {
	textured_emblem = {
		texture = "wb_aus_monarch.dds"
		instance = { scale = { 1.5 1.5 } position = { 0.55 0.5 } }
	}
}

Austria_WB_subject_portrait = {
	textured_emblem = {
		texture = "wb_aus_bulli.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.65 0.6 } }
	}
}

Austria_WB_republican_portrait = {
	textured_emblem = {
		texture = "wb_aus_repub.dds"
		instance = { scale = { 1.55 1.55 } position = { 0.54 0.67 } }
	}
}
Austria_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_aus_comm.dds"
		instance = { scale = { 1.6 1.6 } position = { 0.35 0.78 } }
	}
}
Austria_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_aus_fasch.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.5 0.53 } }
	}
}

Austria_WB_bullied_portrait = {
	textured_emblem = {
		texture = "wb_aus_bulli.dds"
		instance = { scale = { 1.55 1.55 } position = { 0.47 0.53 } }
	}
}

Austria_WB_republican_new_portrait = {
	textured_emblem = {
		texture = "wb_aus_hun_repub_austria.dds"
		instance = { scale = { 1.34 1.34 } position = { 0.47 0.59 } }
	}
}
Austria_WB_communist_new_portrait = {
	textured_emblem = {
		texture = "wb_aus_hun_comm_austria.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.48 0.61 } }
	}
}

AUS = {
	pattern = "pattern_solid.tga"
	color1 = "black"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "yellow"
		color2 = "yellow"
	}
	
	sub = {
        parent = "Austria_WB_portrait" 
    }
}
AUS_republic = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}
	
	sub = {
        parent = "Austria_WB_republican_portrait" 
    }
}
AUS_absolute_monarchy = {
	# Habsburg imperial coat of arms, on top of the imperial flag (to make it more distinct vs Russia)

	pattern = "pattern_solid.tga"
	color1 = "black"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "yellow"
		color2 = "yellow"
	}	
    sub = {
        parent = "sub_AUS_crown" 
        instance = { scale = { 0.45 0.45 } offset = { 0.275 0.05 } }
    }
    sub = {
        parent = "sub_AUS_coa" 
        instance = { scale = { 0.9 0.9 } offset = { 0.05 0.1 } }
    }	
	
	sub = {
        parent = "Austria_WB_portrait" 
    }
}
AUS_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "black"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "ce_eagle_double_headed.dds"
		color1 = "black"
		color2 = "yellow"
		color3 = "white"		
		instance = { scale = { 0.85 0.85 } position = { 0.5 0.5 } }
	}	
	
	sub = {
        parent = "Austria_WB_fascist_portrait" 
    }
}
AUS_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	
	colored_emblem = {		
		texture = "ce_cross_cotised.dds"
		color1 = "white"
		color2 = "white"
        instance = { position = { 0.5 0.5 } scale = { 1.0 1.0 } }
	}		
	
	sub = {
        parent = "Austria_WB_portrait" 
    }
}
AUS_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}	
	colored_emblem = {
		texture = "ce_coa_roundel_austria.dds"
		color1 = "azure"
		color2 = "yellow"
		color3 = "red"		
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.45 } }			
	}		
	colored_emblem = {
		texture = "ce_coa_frame_austria.dds"
		color1 = "yellow"
		color2 = "white"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 }  }	
	}
	colored_emblem = {
		texture = "ce_hammer_wheat.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.40 0.40 } position = { 0.5 0.52 } }			
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.35 0.35 } position = { 0.5 0.275 } }			
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.30 0.30 } position = { 0.5 0.275 } }			
	}		
	
	sub = {
        parent = "Austria_WB_communist_portrait" 
    }
}
AUS_fascist = {
	# Flag of Fatherland's Front
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_cross_fatherland_front.dds"
		color1 = "red"
		color2 = "white"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}	
	
	sub = {
        parent = "Austria_WB_fascist_portrait" 
    }
}
AUS_subject = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	
    sub = {
        parent = "sub_AUS_right" 
        instance = { scale = { 0.9 0.9 } offset = { 0 0.05 } }
    }	
	
	sub = {
        parent = "Austria_WB_subject_portrait" 
    }
}

# WB originals 

AUS_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "red"
	color2 = "black"	
	
	sub = {
        parent = "Austria_WB_bullied_portrait" 
    }
}

AUS_flag_hole_republic = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}	
	colored_emblem = {
		texture = "wb_ce_hole_in_the_flag.dds"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 } }	
		color1 = "black"
		color2 = "black"	
		color3 = "highlight"		
	}		
	
	sub = {
        parent = "Austria_WB_republican_portrait" 
    }
}

AUS_flag_hole_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}	
	colored_emblem = {
		texture = "wb_ce_hole_in_the_flag.dds"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 } }	
		color1 = "black"
		color2 = "black"	
		color3 = "highlight"		
	}		
	
	sub = {
        parent = "Austria_WB_portrait" 
    }
}

# Austria-Hungary #

Austria_Hungary_WB_portrait = {
	textured_emblem = {
		texture = "wb_aus_hun_monarch.dds"
		instance = { scale = { 1.64 1.63 } position = { 0.5 0.675 } }
	}
}

Austria_Hungary_WB_republican_portrait = {
	textured_emblem = {
		texture = "wb_aus_hun_repub_hungary.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.65 0.63 } }
	}
	textured_emblem = {
		texture = "wb_aus_hun_repub_austria.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.355 0.62 } }
	}
}
Austria_Hungary_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_aus_hun_comm_hungary.dds"
		instance = { scale = { 1.26 1.26 } position = { 0.77 0.62 } }
	}
	textured_emblem = {
		texture = "wb_aus_hun_comm_austria.dds"
		instance = { scale = { 1.26 1.26 } position = { 0.345 0.64 } }
	}
}
Austria_Hungary_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_aus_hun_fasch_hungary.dds"
		instance = { scale = { 1.22 1.22 } position = { 0.64 0.295 } }
	}
	textured_emblem = {
		texture = "wb_aus_hun_fasch_austria.dds"
		instance = { scale = { 1.22 1.22 } position = { 0.36 0.715 } }
	}
}

AUS_Austria_Hungary = {
	pattern = "pattern_vertical_split_01.tga"
	color1 = "red"
	color2 = "red"
	color3 = "white"
	color4 = "green"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color3
		color2 = color1
	}

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color3
		color2 = color4

		mask = { 2 }
	}
	
	textured_emblem = {
		texture = "wb_austro_hungarian_austria_coa.png"
		instance = { scale = { 0.78 0.78 } position = { 0.25 0.385 } }
	}
	
	textured_emblem = {
		texture = "wb_austro_hungarian_hungary_coa.png"
		instance = { scale = { 0.78 0.78 } position = { 0.75 0.385 } }
	}
	
	sub = {
        parent = "Austria_Hungary_WB_portrait" 
    }
}

AUS_Austria_Hungary_republic = {
	pattern = "pattern_vertical_split_01.tga"
	color1 = "red"
	color2 = "red"
	color3 = "white"
	color4 = "green"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color3
		color2 = color1
	}

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color3
		color2 = color4

		mask = { 2 }
	}
	
	sub = {
        parent = "Austria_Hungary_WB_republican_portrait" 
    }
}

AUS_Austria_Hungary_dictatorship = {
	pattern = "pattern_vertical_split_01.tga"
	color1 = "red"
	color2 = "red"
	color3 = "white"
	color4 = "green"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color3
		color2 = color1
	}
	
	textured_emblem = {
		texture = "wb_austro_hungarian_austria_coa.png"
		instance = { scale = { 0.78 0.78 } position = { 0.325 0.385 } }
	}

	
	sub = {
        parent = "Austria_Hungary_WB_fascist_portrait" 
    }
}

AUS_Austria_Hungary_communist = {
	pattern = "pattern_vertical_split_01.tga"
	color1 = "red"
	color2 = "red"
	color3 = "white"
	color4 = "green"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color3
		color2 = color1
	}

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color3
		color2 = color4

		mask = { 2 }
	}
	
	colored_emblem = {
		texture = "ce_coa_roundel_austria.dds"
		color1 = "white"
		color2 = "yellow"
		color3 = "red"
		instance = { position = { 0.5 0.45 } scale = { 0.7 0.7 }  } 
	}
	
	colored_emblem = {
		texture = "ce_eagle.dds"
		color1 = "black"
		color2 = "yellow"
		instance = { position = { 0.5 0.52 } scale = { 0.54 0.54 }  } 
	}
	
	colored_emblem = {
		texture = "wb_ce_hungarian_escutcheon.dds"
		color1 = "red"
		color2 = "white"
		color3 = "red"
		instance = { position = { 0.5 0.54 } scale = { 0.18 0.18 }  } 
	}
	
	colored_emblem = {
		texture = "wb_ce_hungarian_escutcheon.dds"
		color1 = "red"
		color2 = "white"
		color3 = "green"
		instance = { position = { 0.5 0.54 } scale = { 0.18 0.18 }  } 
		mask = { 2 }
	}
	
	colored_emblem = {
		texture = "wb_ce_hungarian_escutcheon_frame.dds"
		color1 = "yellow"
		color2 = "white"
		color3 = "green"
		instance = { position = { 0.5 0.54 } scale = { 0.18 0.18 }  }
	}
	
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow"
		color2 = "blue"
		color3 = "red"
		instance = { position = { 0.5 0.5 }scale = { 0.8 0.8 } } 
	}
	
	colored_emblem = {
		texture = "ce_star_05_hollow.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { position = { 0.5 0.25 } scale = { 0.45 0.4 }  } 
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_flags_tricolour.dds"
		color1 = "red"
		color2 = "white"
		color3 = "red"
		instance = { position = { 0.5 0.5 }scale = { 0.8 0.8 } } 
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_flags_tricolour.dds"
		color1 = "red"
		color2 = "white"
		color3 = "green"
		instance = { position = { 0.5 0.5 }scale = { 0.8 0.8 } } 
		mask = { 1 }
	}
	
	sub = {
        parent = "Austria_Hungary_WB_communist_portrait" 
    }
}


AUS_Austria_Hungary_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "red"
	color2 = "black"	
	
	sub = {
        parent = "Austria_Hungary_WB_communist_portrait" 
    }
}

# A-H Austria standalone

AUS_Austria_Hungary_standalone = {
	pattern = "pattern_vertical_split_01.tga"
	color1 = "red"
	color2 = "red"
	color3 = "white"
	color4 = "green"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color3
		color2 = color1
	}

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color3
		color2 = color4

		mask = { 2 }
	}
	
	textured_emblem = {
		texture = "wb_austro_hungarian_austria_coa.png"
		instance = { scale = { 0.78 0.78 } position = { 0.25 0.385 } }
	}
	
	textured_emblem = {
		texture = "wb_austro_hungarian_hungary_coa.png"
		instance = { scale = { 0.78 0.78 } position = { 0.75 0.385 } }
	}
	
	sub = {
        parent = "Austria_WB_portrait" 
    }
}

AUS_Austria_Hungary_republic_standalone = {
	pattern = "pattern_vertical_split_01.tga"
	color1 = "red"
	color2 = "red"
	color3 = "white"
	color4 = "green"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color3
		color2 = color1
	}

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color3
		color2 = color4

		mask = { 2 }
	}
	
	sub = {
        parent = "Austria_WB_republican_new_portrait" 
    }
}

AUS_Austria_Hungary_dictatorship_standalone = {
	pattern = "pattern_vertical_split_01.tga"
	color1 = "red"
	color2 = "red"
	color3 = "white"
	color4 = "green"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color3
		color2 = color1
	}
	
	textured_emblem = {
		texture = "wb_austro_hungarian_austria_coa.png"
		instance = { scale = { 0.78 0.78 } position = { 0.325 0.385 } }
	}

	
	sub = {
        parent = "Austria_WB_fascist_portrait" 
    }
}

AUS_Austria_Hungary_communist_standalone = {
	pattern = "pattern_vertical_split_01.tga"
	color1 = "red"
	color2 = "red"
	color3 = "white"
	color4 = "green"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color3
		color2 = color1
	}

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color3
		color2 = color4

		mask = { 2 }
	}
	
	colored_emblem = {
		texture = "ce_coa_roundel_austria.dds"
		color1 = "white"
		color2 = "yellow"
		color3 = "red"
		instance = { position = { 0.5 0.45 } scale = { 0.7 0.7 }  } 
	}
	
	colored_emblem = {
		texture = "ce_eagle.dds"
		color1 = "black"
		color2 = "yellow"
		instance = { position = { 0.5 0.52 } scale = { 0.54 0.54 }  } 
	}
	
	colored_emblem = {
		texture = "wb_ce_hungarian_escutcheon.dds"
		color1 = "red"
		color2 = "white"
		color3 = "red"
		instance = { position = { 0.5 0.54 } scale = { 0.18 0.18 }  } 
	}
	
	colored_emblem = {
		texture = "wb_ce_hungarian_escutcheon.dds"
		color1 = "red"
		color2 = "white"
		color3 = "green"
		instance = { position = { 0.5 0.54 } scale = { 0.18 0.18 }  } 
		mask = { 2 }
	}
	
	colored_emblem = {
		texture = "wb_ce_hungarian_escutcheon_frame.dds"
		color1 = "yellow"
		color2 = "white"
		color3 = "green"
		instance = { position = { 0.5 0.54 } scale = { 0.18 0.18 }  }
	}
	
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow"
		color2 = "blue"
		color3 = "red"
		instance = { position = { 0.5 0.5 }scale = { 0.8 0.8 } } 
	}
	
	colored_emblem = {
		texture = "ce_star_05_hollow.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { position = { 0.5 0.25 } scale = { 0.45 0.4 }  } 
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_flags_tricolour.dds"
		color1 = "red"
		color2 = "white"
		color3 = "red"
		instance = { position = { 0.5 0.5 }scale = { 0.8 0.8 } } 
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_flags_tricolour.dds"
		color1 = "red"
		color2 = "white"
		color3 = "green"
		instance = { position = { 0.5 0.5 }scale = { 0.8 0.8 } } 
		mask = { 1 }
	}
	
	sub = {
        parent = "Austria_WB_communist_new_portrait" 
    }
}


## Bavaria ##

Bavaria_WB_portrait = {
	textured_emblem = {
		texture = "wb_bav_monarch.dds"
		instance = { scale = { -1.37 1.37 } position = { 0.545 0.52 } }
	}
}

Bavaria_WB_republican_portrait = {
	textured_emblem = {
		texture = "wb_bav_repub.dds"
		instance = { scale = { 1.39 1.39 } position = { 0.49 0.647 } }
	}
}
Bavaria_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_bav_comm.dds"
		instance = { scale = { 1.53 1.53 } position = { 0.51 0.657 } }
	}
}
Bavaria_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_bav_fasch.dds"
		instance = { scale = { 1.5 1.5 } position = { 0.462 0.6 } }
	}
}

BAV = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "blue_light"
		color2 = "blue_light"
	}
	
	sub = {
        parent = "Bavaria_WB_portrait" 
    }
}
BAV_republic  = { 
	# Wittelsbach Lozengy flag
	
	pattern = "pattern_lozengy_bend.dds"
	color1 = "blue_light"
	color2 = "white"
	
	sub = {
        parent = "Bavaria_WB_republican_portrait" 
    }
}
BAV_absolute_monarchy = {
	# Wittelsbach arms
	
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "white"

    sub = {
        parent = "sub_BAV_lozengy" 
		instance = { scale = { 0.5 0.5 } }			
    }		
    sub = {
        parent = "sub_BAV_lozengy" 
		instance = { scale = { 0.5 0.5 } offset = { 0.5 0.5 } }			
    }		
	colored_emblem = {
		texture = "ce_lion_rampant_crowned.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.25 } }
		instance = { scale = { 0.5 0.5 } position = { 0.25 0.75 } }		
	}	

	sub = {
        parent = "Bavaria_WB_portrait" 
    }	
}
BAV_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "white"
	
	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "blue_light"
		color2 = "blue_light"
	}	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.25 0.25 } }			
	}	
	textured_emblem = {
		texture = "te_keys_st_peter.dds"
		instance = { scale = { 0.6 0.6 } position = { 0.25 0.24 } }
	}	
	
	sub = {
        parent = "Bavaria_WB_portrait" 
    }
}
BAV_communist = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "blue_light"
		color2 = "blue_light"
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 0.72 0.72 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }
	}		
	
	sub = {
        parent = "Bavaria_WB_communist_portrait" 
    }
}
BAV_subject_PRU = {
	pattern = "pattern_solid.tga"
	color1 = "black"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "blue_light"
	}
	
	sub = {
        parent = "Bavaria_WB_portrait" 
    }
}

# WB originals

BAV_dictatorship  = { 
	# Wittelsbach Lozengy flag
	
	pattern = "pattern_lozengy_bend.dds"
	color1 = "blue_light"
	color2 = "white"
	
	sub = {
        parent = "Bavaria_WB_fascist_portrait" 
    }
}

BAV_anarchist = {
	pattern = "pattern_solid.tga"
	color1 = "red"		
	
	sub = {
        parent = "Bavaria_WB_communist_portrait" 
    }
}

BAV_subject = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "blue_light"
		color2 = "blue_light"
	}
	
	textured_emblem = {
		texture = "wb_bav_monarch.dds"
		instance = { scale = { 1.37 1.37 } position = { 0.615 0.52 } }
	}
}

BAV_communist_revolutionary = {
	pattern = "pattern_solid.tga"
	color1 = "red"		
	
	sub = {
        parent = "Bavaria_WB_communist_portrait" 
    }
}

## Denmark ##

Denmark_WB_portrait = {
	textured_emblem = {
		texture = "wb_den_monarch.dds"
		instance = { scale = { 1.65 1.65 } position = { 0.47 0.635 } }
	}
}

Denmark_WB_republican_portrait = {
	textured_emblem = {
		texture = "wb_den_repub.dds"
		instance = { scale = { 1.7 1.7 } position = { 0.49 0.805 } }
	}
}
Denmark_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_den_comm.dds"
		instance = { scale = { 1.8 1.8 } position = { 0.625 0.88 } }
	}
}
Denmark_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_den_fasch.dds"
		instance = { scale = { 1.6 1.6 } position = { 0.57 0.675 } }
	}
}

DEN = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"

	colored_emblem = {
		texture = "ce_cross_denmark.dds"
		color1 = color2
		color2 = color2
	}
	
	sub = {
        parent = "Denmark_WB_portrait" 
    }
}
DEN_absolute_monarchy = {
	# National Coat of Arms as placeholder
	
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"

	colored_emblem = {
		texture = "ce_cross_denmark.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_royal_mantle.dds"
		instance = { scale = { 0.8 0.8 } position = { @third 0.55 } }
		color1 = "red"
		color2 = "yellow"
		color3 = "white"		
	}	
	colored_emblem = {
		texture = "ce_shield_german_round.dds"
		instance = { scale = { 0.45 0.5 } position = { @third 0.6 } }
		color1 = "yellow_dark"
		color2 = "blue"		
	}	
	colored_emblem = {
		texture = "ce_shield_german_round.dds"
		instance = { scale = { 0.43 0.48 } position = { @third 0.6 } }
		color1 = "yellow"
		color2 = "blue"		
	}
	textured_emblem = {
		texture = "te_crown_cut.dds"
		instance = { scale = { 0.35 0.35 } position = { @third 0.21 } }
	}	
	colored_emblem = {
		texture = "ce_lion_passant_guardant_long.dds"
		color1 = "azure"
		color2 = "red"
		color3 = "white"
		instance = { scale = { 0.24 0.22 } position = { @third 0.5 } }
		instance = { scale = { 0.23 0.22 } position = { @third 0.6 } }
		instance = { scale = { 0.18 0.20 } position = { @third 0.7 } }		
	}	
	
	sub = {
        parent = "Denmark_WB_portrait" 
    }
}
DEN_canton = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	
	sub = {
        parent = "Denmark_WB_portrait" 
    }
}
DEN_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "blue"
	color4 = "yellow"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.5 0.5 } scale = { 1.0 0.16 } }
	}
	colored_emblem = {
		texture = "ce_hammer_and_sickle.dds"
		color1 = color4
		color2 = color4
		instance = { position = { 0.15 0.23 } scale = { 0.4 0.4 } } 
	}	
	
	sub = {
        parent = "Denmark_WB_communist_portrait" 
    }
}
DEN_fascist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"

	colored_emblem = {
		texture = "ce_cross_denmark.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.65 0.65 } position = { 0.33 0.5 } }
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.33 0.5 } }
	}
	colored_emblem = {
		texture = "ce_cross_fatherland_front.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.525 0.525 } position = { 0.33 0.5 } }
	}	
	
	sub = {
        parent = "Denmark_WB_fascist_portrait" 
    }
}

# WB originals

DEN_republic = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"

	colored_emblem = {
		texture = "ce_cross_denmark.dds"
		color1 = color2
		color2 = color2
	}
	
	sub = {
        parent = "Denmark_WB_republican_portrait" 
    }
}

DEN_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"

	colored_emblem = {
		texture = "ce_cross_denmark.dds"
		color1 = color2
		color2 = color2
	}
	
	sub = {
        parent = "Denmark_WB_fascist_portrait" 
    }
}

# Freetown Christiana flag
DEN_anarchist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"

	
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = "yellow"
		color2 = color2
		instance = { position = { 0.5 0.5 } scale = { 0.6 0.6 } }
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = "yellow"
		color2 = color2
		instance = { position = { 0.2 0.5 } scale = { 0.6 0.6 } }
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = "yellow"
		color2 = color2
		instance = { position = { 0.8 0.5 } scale = { 0.6 0.6 } }
	}	
	
	sub = {
        parent = "Denmark_WB_communist_portrait" 
    }
}


## Belgium ##

Belgium_WB_portrait = {
	textured_emblem = {
		texture = "wb_bel_monarch.dds"
		instance = { scale = { 1.5 1.5 } position = { 0.495 0.735 } }
	}
}

Belgium_WB_republican_portrait = {
	textured_emblem = {
		texture = "wb_bel_repub.dds"
		instance = { scale = { 1.47 1.47 } position = { 0.43 0.625 } }
	}
}
Belgium_WB_republican_portrait_empty = {
	textured_emblem = {
		texture = "wb_bel_repub_empty.dds"
		instance = { scale = { 1.47 1.47 } position = { 0.43 0.625 } }
	}
}
Belgium_WB_republican_portrait_flanders_only = {
	textured_emblem = {
		texture = "wb_bel_repub_flanders.dds"
		instance = { scale = { 1.47 1.47 } position = { 0.43 0.625 } }
	}
}
Belgium_WB_republican_portrait_wallonia_only = {
	textured_emblem = {
		texture = "wb_bel_repub_wallonia.dds"
		instance = { scale = { 1.47 1.47 } position = { 0.43 0.625 } }
	}
}

Belgium_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_bel_comm.dds"
		instance = { scale = { 1.28 1.28 } position = { 0.575 0.565 } }
	}
	
	textured_emblem = {
		texture = "wb_bel_comm_flanders.png"
		instance = { scale = { 1.28 1.28 } position = { 0.2 0.29 } }
	}
	
	textured_emblem = {
		texture = "wb_bel_comm_wallonia.png"
		instance = { scale = { 1.28 1.28 } position = { 0.2 0.29 } }
	}
}

Belgium_WB_communist_portrait_wallonia_only = {
	textured_emblem = {
		texture = "wb_bel_comm.dds"
		instance = { scale = { 1.28 1.28 } position = { 0.575 0.565 } }
	}
	
	textured_emblem = {
		texture = "wb_bel_comm_wallonia.png"
		instance = { scale = { 1.28 1.28 } position = { 0.2 0.29 } }
	}
}

Belgium_WB_communist_portrait_flanders_only = {
	textured_emblem = {
		texture = "wb_bel_comm.dds"
		instance = { scale = { 1.28 1.28 } position = { 0.575 0.565 } }
	}

	textured_emblem = {
		texture = "wb_bel_comm_flanders.png"
		instance = { scale = { 1.28 1.28 } position = { 0.2 0.29 } }
	}
}

Belgium_WB_communist_portrait_no_both = {
	textured_emblem = {
		texture = "wb_bel_comm.dds"
		instance = { scale = { 1.28 1.28 } position = { 0.5 0.565 } }
	}
}

Belgium_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_bel_fasch.dds"
		instance = { scale = { 1.42 1.42 } position = { 0.51 0.66 } }
	}
	
	textured_emblem = {
		texture = "wb_bel_fasch_flanders.png"
		instance = { scale = { 1.6 1.6 } position = { 0.865 0.8 } }
	}
	
	textured_emblem = {
		texture = "wb_bel_fasch_wallonia.png"
		instance = { scale = { 1.6 1.6 } position = { 0.135 0.8 } }
	}
}

Belgium_WB_fascist_portrait_wallonia_only = {
	textured_emblem = {
		texture = "wb_bel_fasch.dds"
		instance = { scale = { 1.42 1.42 } position = { 0.51 0.66 } }
	}
	
	textured_emblem = {
		texture = "wb_bel_fasch_wallonia.png"
		instance = { scale = { 1.6 1.6 } position = { 0.135 0.8 } }
	}
}

Belgium_WB_fascist_portrait_flanders_only = {
	textured_emblem = {
		texture = "wb_bel_fasch.dds"
		instance = { scale = { 1.42 1.42 } position = { 0.51 0.66 } }
	}
	
	textured_emblem = {
		texture = "wb_bel_fasch_flanders.png"
		instance = { scale = { 1.6 1.6 } position = { 0.865 0.8 } }
	}
}

Belgium_WB_fascist_portrait_no_both = {
	textured_emblem = {
		texture = "wb_bel_fasch.dds"
		instance = { scale = { 1.42 1.42 } position = { 0.51 0.66 } }
	}
}

BEL = {
	pattern = "pattern_solid.tga"
	color1 = "black"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "red"
	}
	
	sub = {
        parent = "Belgium_WB_portrait" 
    }
	
	textured_emblem = {
		texture = "wb_bel_monarch_wallonia.png"
		instance = { scale = { 1.2 1.2 } position = { 0.15 0.38 } }
	}
	
	textured_emblem = {
		texture = "wb_bel_monarch_flanders.png"
		instance = { scale = { 1.2 1.2 } position = { 0.855 0.395 } }
	}
}
# WB edits
BEL_no_flanders = {
	pattern = "pattern_solid.tga"
	color1 = "black"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "red"
	}
	
	sub = {
        parent = "Belgium_WB_portrait" 
    }
	
	textured_emblem = {
		texture = "wb_bel_monarch_wallonia.png"
		instance = { scale = { 1.2 1.2 } position = { 0.15 0.38 } }
	}
}
BEL_no_wallonia = {
	pattern = "pattern_solid.tga"
	color1 = "black"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "red"
	}
	
	sub = {
        parent = "Belgium_WB_portrait" 
    }
	
	textured_emblem = {
		texture = "wb_bel_monarch_flanders.png"
		instance = { scale = { 1.2 1.2 } position = { 0.855 0.395 } }
	}
}
BEL_no_both = {
	pattern = "pattern_solid.tga"
	color1 = "black"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "red"
	}
	
	sub = {
        parent = "Belgium_WB_portrait" 
    }
}


BEL_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "yellow"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "red"
	}
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.25 } }
	}		
	colored_emblem = {
		texture = "ce_shield_accolade_02.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.56 } }		
	}		
	colored_emblem = {
		texture = "ce_lion_rampant.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.505 0.565 } }
	}
	
	sub = {
        parent = "Belgium_WB_portrait" 
    }
	
	textured_emblem = {
		texture = "wb_bel_monarch_wallonia.png"
		instance = { scale = { 1.2 1.2 } position = { 0.15 0.38 } }
	}
	
	textured_emblem = {
		texture = "wb_bel_monarch_flanders.png"
		instance = { scale = { 1.2 1.2 } position = { 0.855 0.395 } }
	}
}
# WB edits
BEL_absolute_monarchy_no_flanders = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "yellow"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "red"
	}
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.25 } }
	}		
	colored_emblem = {
		texture = "ce_shield_accolade_02.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.56 } }		
	}		
	colored_emblem = {
		texture = "ce_lion_rampant.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.505 0.565 } }
	}
	
	sub = {
        parent = "Belgium_WB_portrait" 
    }
	
	textured_emblem = {
		texture = "wb_bel_monarch_wallonia.png"
		instance = { scale = { 1.2 1.2 } position = { 0.15 0.38 } }
	}
}
BEL_absolute_monarchy_no_wallonia = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "yellow"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "red"
	}
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.25 } }
	}		
	colored_emblem = {
		texture = "ce_shield_accolade_02.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.56 } }		
	}		
	colored_emblem = {
		texture = "ce_lion_rampant.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.505 0.565 } }
	}
	
	sub = {
        parent = "Belgium_WB_portrait" 
    }
	
	textured_emblem = {
		texture = "wb_bel_monarch_flanders.png"
		instance = { scale = { 1.2 1.2 } position = { 0.855 0.395 } }
	}
}
BEL_absolute_monarchy_no_both = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "yellow"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "red"
	}
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.25 } }
	}		
	colored_emblem = {
		texture = "ce_shield_accolade_02.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.56 } }		
	}		
	colored_emblem = {
		texture = "ce_lion_rampant.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.505 0.565 } }
	}
	
	sub = {
        parent = "Belgium_WB_portrait" 
    }
}


BEL_republic = {
	# WB edit - Belgian Revolution flag
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "yellow"
		color2 = "black"
	}
	
	sub = {
        parent = "Belgium_WB_republican_portrait" 
    }
}
# WB edits
BEL_republic_no_flanders = {
	# WB edit - Belgian Revolution flag
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "yellow"
		color2 = "black"
	}
	
	sub = {
        parent = "Belgium_WB_republican_portrait_wallonia_only" 
    }
}
BEL_republic_no_wallonia = {
	# WB edit - Belgian Revolution flag
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "yellow"
		color2 = "black"
	}
	
	sub = {
        parent = "Belgium_WB_republican_portrait_flanders_only" 
    }
}
BEL_republic_no_both = {
	# WB edit - Belgian Revolution flag
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "yellow"
		color2 = "black"
	}
	
	sub = {
        parent = "Belgium_WB_republican_portrait_empty" 
    }
}

BEL_dictatorship = {
	# Loosely based on a naval flag
	
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_saltire_fimbriated_02.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "black"
	}		
	colored_emblem = {
		texture = "ce_shield_accolade_02.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.60 0.60 } position = { 0.5 0.50 } }		
	}		
	colored_emblem = {
		texture = "ce_lion_rampant.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "white"
		instance = { scale = { 0.45 0.45 } position = { 0.505 0.5 } }
	}	
	
	sub = {
        parent = "Belgium_WB_fascist_portrait" 
    }
	
}
# WB edits
BEL_dictatorship_no_flanders = {
	
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_saltire_fimbriated_02.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "black"
	}		
	colored_emblem = {
		texture = "ce_shield_accolade_02.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.60 0.60 } position = { 0.5 0.50 } }		
	}		
	colored_emblem = {
		texture = "ce_lion_rampant.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "white"
		instance = { scale = { 0.45 0.45 } position = { 0.505 0.5 } }
	}	
	
	sub = {
        parent = "Belgium_WB_fascist_portrait_wallonia_only" 
    }

}
BEL_dictatorship_no_wallonia = {
	
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_saltire_fimbriated_02.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "black"
	}		
	colored_emblem = {
		texture = "ce_shield_accolade_02.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.60 0.60 } position = { 0.5 0.50 } }		
	}		
	colored_emblem = {
		texture = "ce_lion_rampant.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "white"
		instance = { scale = { 0.45 0.45 } position = { 0.505 0.5 } }
	}	
	
	sub = {
        parent = "Belgium_WB_fascist_portrait_flanders_only" 
    }
	
}
BEL_dictatorship_no_both = {
	
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_saltire_fimbriated_02.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "black"
	}		
	colored_emblem = {
		texture = "ce_shield_accolade_02.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.60 0.60 } position = { 0.5 0.50 } }		
	}		
	colored_emblem = {
		texture = "ce_lion_rampant.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "white"
		instance = { scale = { 0.45 0.45 } position = { 0.505 0.5 } }
	}	
	
	sub = {
        parent = "Belgium_WB_fascist_portrait_no_both" 
    }
}


BEL_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "black"
	color4 = "yellow"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color3
		color2 = color3
		instance = { position = { @[1/30] 0.5 } scale = { @[1/15] 1.0 } }
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.1 0.5 } scale = { @[1/15] 1.0 } }
	}	
	colored_emblem = {
		texture = "ce_hammer_and_sickle.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.29 0.25 } scale = { 0.4 0.4 } } 
	}
	
	sub = {
        parent = "Belgium_WB_communist_portrait" 
    }
}
# WB edits
BEL_communist_no_flanders = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "black"
	color4 = "yellow"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color3
		color2 = color3
		instance = { position = { @[1/30] 0.5 } scale = { @[1/15] 1.0 } }
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.1 0.5 } scale = { @[1/15] 1.0 } }
	}	
	colored_emblem = {
		texture = "ce_hammer_and_sickle.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.29 0.25 } scale = { 0.4 0.4 } } 
	}
	
	sub = {
        parent = "Belgium_WB_communist_portrait_wallonia_only" 
    }
}
BEL_communist_no_wallonia = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "black"
	color4 = "yellow"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color3
		color2 = color3
		instance = { position = { @[1/30] 0.5 } scale = { @[1/15] 1.0 } }
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.1 0.5 } scale = { @[1/15] 1.0 } }
	}	
	colored_emblem = {
		texture = "ce_hammer_and_sickle.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.29 0.25 } scale = { 0.4 0.4 } } 
	}
	
	sub = {
        parent = "Belgium_WB_communist_portrait_flanders_only" 
    }
}
BEL_communist_no_both = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "black"
	color4 = "yellow"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color3
		color2 = color3
		instance = { position = { @[1/30] 0.5 } scale = { @[1/15] 1.0 } }
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.1 0.5 } scale = { @[1/15] 1.0 } }
	}	
	colored_emblem = {
		texture = "ce_hammer_and_sickle.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.29 0.25 } scale = { 0.4 0.4 } } 
	}
	
	sub = {
        parent = "Belgium_WB_communist_portrait_no_both" 
    }
}


BEL_fascist = {		
	# VNV Flag (RWB version)
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_delta.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 } }
	}	
	
	sub = {
        parent = "Belgium_WB_fascist_portrait" 
    }
	
}
# WB edits
BEL_fascist_no_flanders = {		
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_delta.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 } }
	}	
	
	sub = {
        parent = "Belgium_WB_fascist_portrait_wallonia_only" 
    }
	
}
BEL_fascist_no_wallonia = {		
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_delta.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 } }
	}	
	
	sub = {
        parent = "Belgium_WB_fascist_portrait_flanders_only" 
    }
	
}
BEL_fascist_no_both = {		
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_delta.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 } }
	}	
	
	sub = {
        parent = "Belgium_WB_fascist_portrait_no_both" 
    }
}


BEL_subject = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	colored_emblem = {
		texture = "ce_crown_simple.dds"
		color1 = "yellow"
		color2 = "azure"
		color3 = "white"
		instance = { scale = { 0.35 0.35 } position = { 0.75 0.30 } }	
	}	
	colored_emblem = {
		texture = "ce_shield_accolade_02.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.515 0.475 } position = { 0.75 0.525 } }		
	}	
	colored_emblem = {
		texture = "ce_shield_accolade_02.dds"
		color1 = "black"
		color2 = "yellow"
		instance = { scale = { 0.5 0.46 } position = { 0.75 0.525 } }		
	}		
	colored_emblem = {
		texture = "ce_lion_rampant.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "white"
		instance = { scale = { 0.36 0.36 } position = { 0.75 0.525 } }
	}	
	colored_emblem = {		
		texture = "ce_solid.dds"
		color1 = "yellow"
		color2 = "yellow"
        instance = { position = { 0.25 0.25 } scale = { 0.5 0.5 } }				
	}		
	
	textured_emblem = {
		texture = "wb_bel_monarch.dds"
		instance = { scale = { 1.15 1.15 } position = { 0.7 0.582 } }
	}
}

# WB originals

BEL_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_star_04.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }				
	}
	
	sub = {
        parent = "Belgium_WB_communist_portrait" 
    }
}
BEL_anarchist_no_flanders = {
	pattern = "pattern_per_bend.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_star_04.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }				
	}
	
	sub = {
        parent = "Belgium_WB_communist_portrait_wallonia_only" 
    }
}
BEL_anarchist_no_wallonia = {
	pattern = "pattern_per_bend.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_star_04.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }				
	}
	
	sub = {
        parent = "Belgium_WB_communist_portrait_flanders_only" 
    }
}
BEL_anarchist_no_both = {
	pattern = "pattern_per_bend.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_star_04.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }				
	}
	
	sub = {
        parent = "Belgium_WB_communist_portrait_no_both" 
    }
}

BEL_theocracy = {
	# flag of the Prince-Bishopric of Liege
	
	pattern = "pattern_vertical_split_01.tga"
	color1 = "red"
	color2 = "yellow"
	
	sub = {
        parent = "Belgium_WB_portrait" 
    }
	
	textured_emblem = {
		texture = "wb_bel_monarch_wallonia.png"
		instance = { scale = { 1.2 1.2 } position = { 0.15 0.38 } }
	}
	
	textured_emblem = {
		texture = "wb_bel_monarch_flanders.png"
		instance = { scale = { 1.2 1.2 } position = { 0.855 0.395 } }
	}
}
BEL_theocracy_no_flanders = {
	# flag of the Prince-Bishopric of Liege
	
	pattern = "pattern_vertical_split_01.tga"
	color1 = "red"
	color2 = "yellow"
	
	sub = {
        parent = "Belgium_WB_portrait" 
    }
	
	textured_emblem = {
		texture = "wb_bel_monarch_wallonia.png"
		instance = { scale = { 1.2 1.2 } position = { 0.15 0.38 } }
	}
}
BEL_theocracy_no_wallonia = {
	# flag of the Prince-Bishopric of Liege
	
	pattern = "pattern_vertical_split_01.tga"
	color1 = "red"
	color2 = "yellow"
	
	sub = {
        parent = "Belgium_WB_portrait" 
    }
	
	textured_emblem = {
		texture = "wb_bel_monarch_flanders.png"
		instance = { scale = { 1.2 1.2 } position = { 0.855 0.395 } }
	}
}
BEL_theocracy_no_both = {
	# flag of the Prince-Bishopric of Liege
	
	pattern = "pattern_vertical_split_01.tga"
	color1 = "red"
	color2 = "yellow"
	
	sub = {
        parent = "Belgium_WB_portrait" 
    }
}


## France ##

France_WB_portrait = {
	textured_emblem = {
		texture = "wb_fra_repub.dds"
		instance = { scale = { 1.5 1.5 } position = { 0.5 0.68 } }
	}
}

France_WB_republican_v2_portrait = {
	textured_emblem = {
		texture = "wb_fra_repub_v2.dds"
		instance = { scale = { 1.49 1.49 } position = { 0.57 0.563 } }
	}
}

France_WB_subject_portrait = {
	textured_emblem = {
		texture = "wb_fra_repub.dds"
		instance = { scale = { 1.2 1.2 } position = { 0.72 0.65 } }
	}
}

France_WB_monarchist_portrait = {
	textured_emblem = {
		texture = "wb_fra_monarch.dds"
		instance = { scale = { 1.5 1.5 } position = { 0.45 0.7 } }
	}
}

France_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_fra_comm.dds"
		instance = { scale = { 1.40 1.40 } position = { 0.5 0.58 } }
	}
}

France_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_fra_fasch.dds"
		instance = { scale = { 1.47 1.47 } position = { 0.64 0.61 } }
	}
}

France_WB_orleanist_portrait = {
	textured_emblem = {
		texture = "wb_fra_orleanist.dds"
		instance = { scale = { 1.39 1.39 } position = { 0.515 0.663 } }
	}
}

France_WB_bonapartist_portrait = {
	textured_emblem = {
		texture = "wb_fra_bonapartist.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.51 0.71 } }
	}
}

France_WB_technocracy_portrait = {
	textured_emblem = {
		texture = "wb_fra_technocracy.dds"
		instance = { scale = { 1.36 1.36 } position = { 0.5 0.595 } }
	}
}

FRA = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	
	sub = {
        parent = "France_WB_portrait" 
    }
}
FRA_bourbon = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "yellow_dark"

	colored_emblem = {
		texture = "ce_fleur_quebec.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.10 0.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.30 0.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.50 0.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.70 0.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.90 0.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.00 0.20 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.20 0.20 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.40 0.20 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.60 0.20 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.80 0.20 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 1.00 0.20 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.10 0.40 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.30 0.40 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.50 0.40 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.70 0.40 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.90 0.40 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.00 0.60 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.20 0.60 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.40 0.60 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.60 0.60 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.80 0.60 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 1.00 0.60 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.10 0.80 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.30 0.80 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.50 0.80 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.70 0.80 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.90 0.80 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.00 1.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.20 1.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.40 1.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.60 1.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.80 1.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 1.00 1.00 } scale = { @sm_fra @sm_fra } }
	}
	
	sub = {
        parent = "France_WB_monarchist_portrait" 
    }
}

FRA_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "yellow_dark"

	colored_emblem = {
		texture = "ce_fleur_quebec.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.10 0.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.30 0.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.50 0.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.70 0.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.90 0.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.00 0.20 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.20 0.20 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.40 0.20 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.60 0.20 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.80 0.20 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 1.00 0.20 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.10 0.40 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.30 0.40 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.50 0.40 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.70 0.40 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.90 0.40 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.00 0.60 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.20 0.60 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.40 0.60 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.60 0.60 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.80 0.60 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 1.00 0.60 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.10 0.80 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.30 0.80 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.50 0.80 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.70 0.80 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.90 0.80 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.00 1.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.20 1.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.40 1.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.60 1.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.80 1.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 1.00 1.00 } scale = { @sm_fra @sm_fra } }
	}
	textured_emblem = {
		texture = "te_coa_france_greater.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }
	}		
	
	sub = {
        parent = "France_WB_monarchist_portrait" 
    }
}
FRA_second_empire = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}

	colored_emblem = {
		texture = "ce_bee.dds"
		color1 = yellow_dark
		color2 = yellow_dark
		instance = { position = { 0.07 0.10 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.27 0.10 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.50 0.10 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.73 0.10 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.93 0.10 } scale = { @[sm_fra/2] @[sm_fra/2] } }

		instance = { position = { 0.17 0.20 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.40 0.20 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.60 0.20 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.83 0.20 } scale = { @[sm_fra/2] @[sm_fra/2] } }

		instance = { position = { 0.07 0.30 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.27 0.30 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		#instance = { position = { 0.50 0.30 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.73 0.30 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.93 0.30 } scale = { @[sm_fra/2] @[sm_fra/2] } }

		instance = { position = { 0.17 0.40 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		#instance = { position = { 0.40 0.40 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		#instance = { position = { 0.60 0.40 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.83 0.40 } scale = { @[sm_fra/2] @[sm_fra/2] } }

		instance = { position = { 0.07 0.50 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.27 0.50 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		#instance = { position = { 0.50 0.50 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.73 0.50 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.93 0.50 } scale = { @[sm_fra/2] @[sm_fra/2] } }

		instance = { position = { 0.17 0.60 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		#instance = { position = { 0.40 0.60 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		#instance = { position = { 0.60 0.60 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.83 0.60 } scale = { @[sm_fra/2] @[sm_fra/2] } }

		instance = { position = { 0.07 0.70 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.27 0.70 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		#instance = { position = { 0.50 0.70 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.73 0.70 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.93 0.70 } scale = { @[sm_fra/2] @[sm_fra/2] } }

		instance = { position = { 0.17 0.80 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.40 0.80 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.60 0.80 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.83 0.80 } scale = { @[sm_fra/2] @[sm_fra/2] } }

		instance = { position = { 0.07 0.90 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.27 0.90 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.50 0.90 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.73 0.90 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.93 0.90 } scale = { @[sm_fra/2] @[sm_fra/2] } }
	}

	textured_emblem = {
		texture = "te_coa_napoleon_iii.dds"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }
	}	
	
	sub = {
        parent = "France_WB_bonapartist_portrait" 
    }
}
FRA_subject = {
	# blue ensign with 3 fleur-de-lis
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow"
	
	colored_emblem = {
		texture = "ce_fleur_de_lis.dds"
		color1 = color2
		color2 = color2
		instance = { scale = { 0.33 0.33 } position = { 0.67 0.41 } }
		instance = { scale = { 0.33 0.33 } position = { 0.83 0.41 } }
		instance = { scale = { 0.33 0.33 } position = { 0.75 0.64 } }
	}
	
	sub = {
        parent = "France_WB_subject_portrait" 
    }
}
FRA_theocracy = {
	# Inspired from flag from the Ancien Régime (so it may exist already)
	pattern = "pattern_cross.dds"
	color1 = "blue"
	color2 = "white"
	
	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "red"
		color2 = "red"
	}	
	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}	
	colored_emblem = {
		texture = "ce_fleur_quebec.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { position = { 0.435 0.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.565 0.00 } scale = { @sm_fra @sm_fra } }		
		instance = { position = { 0.50 0.14 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.435 0.27 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.565 0.27 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.10 0.40 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.30 0.40 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.50 0.40 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.70 0.40 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.90 0.40 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.00 0.50 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.20 0.50 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.40 0.50 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.60 0.50 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.80 0.50 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 1.00 0.50 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.10 0.60 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.30 0.60 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.50 0.60 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.70 0.60 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.90 0.60 } scale = { @sm_fra @sm_fra } }	
		instance = { position = { 0.435 0.73 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.565 0.73 } scale = { @sm_fra @sm_fra } }		
		instance = { position = { 0.50 0.86 } scale = { @sm_fra @sm_fra } }	
		instance = { position = { 0.435 1.0 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.565 1.0 } scale = { @sm_fra @sm_fra } }			
		mask = { 2 }
	}
	
	sub = {
        parent = "France_WB_monarchist_portrait" 
    }
}

FRA_dictatorship = {
	# Variant based on tricolor with (lesser) coat of arms of the empire
	
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}	
	colored_emblem = {
		texture = "ce_shield_accolade.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 0.74 0.74 } position = { 0.5 0.47 } }		
	}		
	colored_emblem = {
		texture = "ce_eagle_napoleonian.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "blue"
		instance = { scale = { 0.6 0.6 } position = { 0.495 0.48 } }
	}
	
	sub = {
        parent = "France_WB_fascist_portrait" 
    }
}

FRA_dictatorship_emperor = {
	# Imperial std of Napoleon

	pattern = "pattern_border_double.dds"
	color1 = "white"
	color2 = "red"
	color3 = "blue"

	textured_emblem = {
		texture = "te_crown_imperial_eagles.dds"
		instance = { scale = { 0.25 0.25 } position = { 0.5 0.22 } }
	}			
	colored_emblem = {
		texture = "ce_eagle_napoleonian.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "white"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.58 } }
	}
	
	sub = {
        parent = "France_WB_bonapartist_portrait" 
    }
}

FRA_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "blue"
	color4 = "yellow"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color3
		color2 = color3
		instance = { position = { @[1/30] 0.5 } scale = { @[1/15] 1.0 } }
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.1 0.5 } scale = { @[1/15] 1.0 } }
	}
	colored_emblem = {
		texture = "ce_hammer_sickle_star_cogwheel.dds"
		color1 = color4
		color2 = color4
			instance = { position = { 0.26 0.18 } scale = { 0.30 0.30 } } 
	}		
	
	sub = {
        parent = "France_WB_communist_portrait" 
    }
}
FRA_military = {	
	# Personal flag of Pétain
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.08 0.08 } position = { 0.44 0.78 } }
		instance = { scale = { 0.08 0.08 } position = { 0.56 0.78 } }	
		instance = { scale = { 0.08 0.08 } position = { 0.38 0.85 } }
		instance = { scale = { 0.08 0.08 } position = { 0.62 0.85 } }
		instance = { scale = { 0.08 0.08 } position = { 0.44 0.92 } }
		instance = { scale = { 0.08 0.08 } position = { 0.56 0.92 } }	
		instance = { scale = { 0.08 0.08 } position = { 0.50 0.85 } }		
	}	
	
	# WB edit starts here
	colored_emblem = {
		texture = "wb_ce_petain_axe_gone.dds"
		color1 = rgb { 242 10 173 }
		color2 = "black"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.45 } }
	}

	sub = {
        parent = "France_WB_fascist_portrait" 
    }
}

FRA_fascist = {	
	# Based on PPF flag and emblem
	pattern = "pattern_per_saltire.dds"
	color1 = "red"
	color2 = "blue"

	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = "white"
		color2 = "white"
	}
	colored_emblem = {
		texture = "ce_frame_octagon.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.82 0.82 } position = { 0.5 0.5 } }
	}		
	colored_emblem = {
		texture = "ce_frame_octagon.dds"
		color1 = "white"
		color2 = "red"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_labrys_ppf.dds"
		color1 = "blue"
		color2 = "black"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }
	}	
	
	sub = {
        parent = "France_WB_fascist_portrait" 
    }
}

# WB originals
FRA_wb_commune_flag = {
	pattern = "pattern_per_bend.dds"
	color1 = "red"
	color2 = "red"	
	
	colored_emblem = {
		texture = "ce_letter_v.dds"
		color1 = "white"
		instance = { scale = { 0.3 0.3 } position = { 0.35 0.3 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_i.dds"
		color1 = "white"
		instance = { scale = { 0.3 0.3 } position = { 0.45 0.3 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_v.dds"
		color1 = "white"
		instance = { scale = { 0.3 0.3 } position = { 0.55 0.3 } }
	}
	colored_emblem = {
		texture = "ce_letter_e.dds"
		color1 = "white"
		instance = { scale = { 0.3 0.3 } position = { 0.65 0.3 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_l.dds"
		color1 = "white"
		instance = { scale = { 0.2 0.2 } position = { 0.45 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_a.dds"
		color1 = "white"
		instance = { scale = { 0.2 0.2 } position = { 0.55 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_c.dds"
		color1 = "white"
		instance = { scale = { 0.3 0.3 } position = { 0.18 0.7 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_o.dds"
		color1 = "white"
		instance = { scale = { 0.3 0.3 } position = { 0.28 0.7 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_m.dds"
		color1 = "white"
		instance = { scale = { 0.3 0.3 } position = { 0.39 0.7 } }
	}
	colored_emblem = {
		texture = "ce_letter_m.dds"
		color1 = "white"
		instance = { scale = { 0.3 0.3 } position = { 0.515 0.7 } }
	}
	colored_emblem = {
		texture = "ce_letter_u.dds"
		color1 = "white"
		instance = { scale = { 0.3 0.3 } position = { 0.62 0.7 } }
	}
	colored_emblem = {
		texture = "ce_letter_n.dds"
		color1 = "white"
		instance = { scale = { 0.3 0.3 } position = { 0.72 0.7 } }
	}
	colored_emblem = {
		texture = "ce_letter_e.dds"
		color1 = "white"
		instance = { scale = { 0.3 0.3 } position = { 0.82 0.7 } }
	}
	
	sub = {
        parent = "France_WB_communist_portrait" 
    }
}

FRA_republic = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	
	sub = {
        parent = "France_WB_republican_v2_portrait" 
    }
}

FRA_orleanist = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	
	sub = {
        parent = "France_WB_orleanist_portrait" 
    }
}

FRA_bonapartist = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	
	sub = {
        parent = "France_WB_bonapartist_portrait" 
    }
}

FRA_bonapartist_imperial_standard = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "wb_ce_bee.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "yellow"
		instance = { position = { 0.10 0.00 } scale = { 0.1 0.1 } }
		instance = { position = { 0.30 0.00 } scale = { 0.1 0.1 } }
		instance = { position = { 0.50 0.00 } scale = { 0.1 0.1 } }
		instance = { position = { 0.70 0.00 } scale = { 0.1 0.1 } }
		instance = { position = { 0.90 0.00 } scale = { 0.1 0.1 } }
		instance = { position = { 0.00 0.20 } scale = { 0.1 0.1 } }
		instance = { position = { 0.20 0.20 } scale = { 0.1 0.1 } }
		instance = { position = { 0.40 0.20 } scale = { 0.1 0.1 } }
		instance = { position = { 0.60 0.20 } scale = { 0.1 0.1 } }
		instance = { position = { 0.80 0.20 } scale = { 0.1 0.1 } }
		instance = { position = { 1.00 0.20 } scale = { 0.1 0.1 } }
		instance = { position = { 0.10 0.40 } scale = { 0.1 0.1 } }
		instance = { position = { 0.30 0.40 } scale = { 0.1 0.1 } }
		instance = { position = { 0.50 0.40 } scale = { 0.1 0.1 } }
		instance = { position = { 0.70 0.40 } scale = { 0.1 0.1 } }
		instance = { position = { 0.90 0.40 } scale = { 0.1 0.1 } }
		instance = { position = { 0.00 0.60 } scale = { 0.1 0.1 } }
		instance = { position = { 0.20 0.60 } scale = { 0.1 0.1 } }
		instance = { position = { 0.40 0.60 } scale = { 0.1 0.1 } }
		instance = { position = { 0.60 0.60 } scale = { 0.1 0.1 } }
		instance = { position = { 0.80 0.60 } scale = { 0.1 0.1 } }
		instance = { position = { 1.00 0.60 } scale = { 0.1 0.1 } }
		instance = { position = { 0.10 0.80 } scale = { 0.1 0.1 } }
		instance = { position = { 0.30 0.80 } scale = { 0.1 0.1 } }
		instance = { position = { 0.50 0.80 } scale = { 0.1 0.1 } }
		instance = { position = { 0.70 0.80 } scale = { 0.1 0.1 } }
		instance = { position = { 0.90 0.80 } scale = { 0.1 0.1 } }
		instance = { position = { 0.00 1.00 } scale = { 0.1 0.1 } }
		instance = { position = { 0.20 1.00 } scale = { 0.1 0.1 } }
		instance = { position = { 0.40 1.00 } scale = { 0.1 0.1 } }
		instance = { position = { 0.60 1.00 } scale = { 0.1 0.1 } }
		instance = { position = { 0.80 1.00 } scale = { 0.1 0.1 } }
		instance = { position = { 1.00 1.00 } scale = { 0.1 0.1 } }
	}
	textured_emblem = {
		texture = "wb_fra_bonapartist_coa.dds"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }
	}
	
	sub = {
      parent = "France_WB_bonapartist_portrait" 
    }
}

FRA_bourbon_tricolore = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "wb_ce_accolade_bend.dds"
		color1 = "blue"
		color2 = "blue"
		color3 = "blue"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.56 } }			
	}
	colored_emblem = {
		texture = "ce_fleur_de_lis.dds"
		color1 = "yellow"
		instance = { scale = { 0.25 0.25 } position = { 0.44 0.47 } }
		instance = { scale = { 0.25 0.25 } position = { 0.57 0.47 } }
		instance = { scale = { 0.25 0.25 } position = { 0.5 0.63 } }
	}
	
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.6 0.5 } position = { 0.5 0.24 } }
	}
	
	sub = {
        parent = "France_WB_monarchist_portrait" 
    }
}

FRA_orleanist_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow_dark"

	colored_emblem = {
		texture = "ce_fleur_quebec.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.27 0.4 } scale = { 0.5 0.5 } }
		instance = { position = { 0.73 0.4 } scale = { 0.5 0.5 } }
		instance = { position = { 0.5 0.7 } scale = { 0.5 0.5 } }
	}		
	
	sub = {
        parent = "France_WB_orleanist_portrait" 
    }
}

# France technocracy flags


FRA_technocracy = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	
	sub = {
        parent = "France_WB_technocracy_portrait" 
    }
}

FRA_bourbon_tricolore_technocracy = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "wb_ce_accolade_bend.dds"
		color1 = "blue"
		color2 = "blue"
		color3 = "blue"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.56 } }			
	}
	colored_emblem = {
		texture = "ce_fleur_de_lis.dds"
		color1 = "yellow"
		instance = { scale = { 0.25 0.25 } position = { 0.44 0.47 } }
		instance = { scale = { 0.25 0.25 } position = { 0.57 0.47 } }
		instance = { scale = { 0.25 0.25 } position = { 0.5 0.63 } }
	}
	
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.6 0.5 } position = { 0.5 0.24 } }
	}
	
	sub = {
        parent = "France_WB_technocracy_portrait" 
    }
}

FRA_second_empire_technocracy = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}

	colored_emblem = {
		texture = "ce_bee.dds"
		color1 = yellow_dark
		color2 = yellow_dark
		instance = { position = { 0.07 0.10 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.27 0.10 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.50 0.10 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.73 0.10 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.93 0.10 } scale = { @[sm_fra/2] @[sm_fra/2] } }

		instance = { position = { 0.17 0.20 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.40 0.20 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.60 0.20 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.83 0.20 } scale = { @[sm_fra/2] @[sm_fra/2] } }

		instance = { position = { 0.07 0.30 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.27 0.30 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		#instance = { position = { 0.50 0.30 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.73 0.30 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.93 0.30 } scale = { @[sm_fra/2] @[sm_fra/2] } }

		instance = { position = { 0.17 0.40 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		#instance = { position = { 0.40 0.40 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		#instance = { position = { 0.60 0.40 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.83 0.40 } scale = { @[sm_fra/2] @[sm_fra/2] } }

		instance = { position = { 0.07 0.50 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.27 0.50 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		#instance = { position = { 0.50 0.50 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.73 0.50 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.93 0.50 } scale = { @[sm_fra/2] @[sm_fra/2] } }

		instance = { position = { 0.17 0.60 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		#instance = { position = { 0.40 0.60 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		#instance = { position = { 0.60 0.60 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.83 0.60 } scale = { @[sm_fra/2] @[sm_fra/2] } }

		instance = { position = { 0.07 0.70 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.27 0.70 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		#instance = { position = { 0.50 0.70 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.73 0.70 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.93 0.70 } scale = { @[sm_fra/2] @[sm_fra/2] } }

		instance = { position = { 0.17 0.80 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.40 0.80 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.60 0.80 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.83 0.80 } scale = { @[sm_fra/2] @[sm_fra/2] } }

		instance = { position = { 0.07 0.90 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.27 0.90 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.50 0.90 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.73 0.90 } scale = { @[sm_fra/2] @[sm_fra/2] } }
		instance = { position = { 0.93 0.90 } scale = { @[sm_fra/2] @[sm_fra/2] } }
	}

	textured_emblem = {
		texture = "te_coa_napoleon_iii.dds"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }
	}	
	
	sub = {
        parent = "France_WB_technocracy_portrait" 
    }
}

FRA_communist_technocracy = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "blue"
	color4 = "yellow"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color3
		color2 = color3
		instance = { position = { @[1/30] 0.5 } scale = { @[1/15] 1.0 } }
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.1 0.5 } scale = { @[1/15] 1.0 } }
	}
	colored_emblem = {
		texture = "ce_hammer_sickle_star_cogwheel.dds"
		color1 = color4
		color2 = color4
			instance = { position = { 0.26 0.18 } scale = { 0.30 0.30 } } 
	}		
	
	sub = {
        parent = "France_WB_technocracy_portrait" 
    }
}



## Great Britain / United Kingdom / Waifu Universalis' England / Perfidious Albion ##

England_WB_portrait = {
	textured_emblem = {
		texture = "wb_eng_monarch.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.52 0.53 } }
	}
}

England_WB_with_France_portrait = {

	textured_emblem = {
		texture = "wb_fra_monarch.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.56 0.625 } }
	}

	textured_emblem = {
		texture = "wb_eng_monarch.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.34 0.535 } }
	}
}

England_WB_republican_portrait = {
	textured_emblem = {
		texture = "wb_eng_repub.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.67 0.63 } }
	}
}

England_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_eng_comm.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.55 0.6 } }
	}
}

England_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_eng_fasch.dds"
		instance = { scale = { 1.5 1.5 } position = { 0.5 0.65 } }
	}
}

England_WB_technocracy_portrait = {
	textured_emblem = {
		texture = "wb_eng_technocracy.dds"
		instance = { scale = { 1.36 1.36 } position = { 0.44 0.635 } }
	}
}

England_WB_technocracy_portrait_alt = {
	textured_emblem = {
		texture = "wb_eng_technocracy.dds"
		instance = { scale = { 1.36 1.36 } position = { 0.327 0.635 } }
	}
}


GBR = {
	# 1707-1800 flag without the Irish red diagonals
    sub = {
        parent = "sub_GBR" 
    }
	
	sub = {
        parent = "England_WB_portrait" 
    }
}
GBR_dictatorship = {
	# 1659 ensign
	# Quarterly; England, Scotland, Scotland, England
	pattern = "pattern_checkers_01.tga"
	
	color1 = "white"
	color2 = "blue"
	color3 = "red"
	color4 = "yellow"
	
	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color3
		color2 = color3
		instance = { scale = { 0.5 0.5 } position = { 0.25 0.25 } }
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.75 } }
	}
	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = color1
		color2 = color1
		instance = { scale = { 0.5 0.5 } position = { 0.25 0.75 } }
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.25 } }
	}	
	
	sub = {
        parent = "England_WB_fascist_portrait" 
    }
}
GBR_dictatorship_uk = {		
	# Based on personal standard of Jolly Olly
	# Quarterly; England, Scotland, Ireland, England
	pattern = "pattern_checkers_01.tga"
	
	color1 = "white"
	color2 = "blue"
	color3 = "red"
	color4 = "yellow"
	
	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color3
		color2 = color3
		instance = { scale = { 0.5 0.5 } position = { 0.25 0.25 } }
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.75 } }
	}
	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = color1
		color2 = color1
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.25 } }
	}	
	colored_emblem = {
		texture = "ce_harp_ireland.dds"
		color1 = color4
		color2 = color4
		instance = { scale = { 0.5 0.5 } position = { 0.25 0.75 } }
	}	
	
	sub = {
        parent = "England_WB_fascist_portrait" 
    }
}
GBR_republic = {
	# same as Hungarian tricolor, also symbolised British Republicanism in this era
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "green"
	}
	
	sub = {
        parent = "England_WB_republican_portrait" 
    }
}
GBR_scotland = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_cross_england_fimbriated.dds"
		color1 = "white"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = "white"
		color2 = "red"
	}	
	
	# WB note - Should change this to Scotland's portrait once I make her
	sub = {
        parent = "England_WB_portrait" 
    }
}
GBR_theocracy = {
	# Inspired by the Australian Anglican flag because it still has some blue.
	# Better to save the St George cross for England itself.
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	colored_emblem = {
		texture = "ce_cross_england_fimbriated.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "England_WB_portrait" 
    }
}
GBR_uk = {
	# the modern British flag, with red diagonals
    sub = {
        parent = "sub_GBR_uk" 
    }
	
	sub = {
        parent = "England_WB_portrait" 
    }
}
GBR_coa = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	sub = {
        parent = "sub_ENG_coa" 
        instance = { scale = { 0.5 0.5 } offset = { 0.0 0.0 } } # top left
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.5 } } # bottom right
    } 
	sub = {
        parent = "sub_SCO_coa" 
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.0 } } # top right
        instance = { scale = { 0.5 0.5 } offset = { 0.0 0.5 } } # bottom left
    }
	
	sub = {
        parent = "England_WB_portrait" 
    }
}
GBR_coa_scotland = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	sub = {
        parent = "sub_SCO_coa" 
        instance = { scale = { 0.5 0.5 } offset = { 0.0 0.0 } } # top left
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.5 } } # bottom right
    } 
	sub = {
        parent = "sub_ENG_coa" 
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.0 } } # top right
        instance = { scale = { 0.5 0.5 } offset = { 0.0 0.5 } } # bottom left
    }
	
	# WB note - Should change this to Scotland's portrait once I make her
	sub = {
        parent = "England_WB_portrait" 
    }
}
GBR_coa_france = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	sub = {
        parent = "sub_FRA_coa" 
        instance = { scale = { 0.25 0.25 } offset = { 0.0 0.0 } } # top left
        instance = { scale = { 0.25 0.25 } offset = { 0.25 0.25 } } # bottom right

        instance = { scale = { 0.25 0.25 } offset = { 0.5 0.5 } } # top left
        instance = { scale = { 0.25 0.25 } offset = { 0.75 0.75 } } # bottom right
    } 
	sub = {
        parent = "sub_ENG_coa" 
        instance = { scale = { 0.25 0.25 } offset = { 0.25 0.00 } } # top left
        instance = { scale = { 0.25 0.25 } offset = { 0.00 0.25 } } # bottom right

        instance = { scale = { 0.25 0.25 } offset = { 0.75 0.50 } } # top left
        instance = { scale = { 0.25 0.25 } offset = { 0.50 0.75 } } # bottom right
    } 
	sub = {
        parent = "sub_SCO_coa" 
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.0 } } # top right
        instance = { scale = { 0.5 0.5 } offset = { 0.0 0.5 } } # bottom left
    } 
	
	sub = {
        parent = "England_WB_with_France_portrait" 
    }
}
GBR_uk_coa = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	sub = {
        parent = "sub_ENG_coa" 
        instance = { scale = { 0.5 0.5 } offset = { 0.0 0.0 } } # top left
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.5 } } # bottom right
    } 
	sub = {
        parent = "sub_SCO_coa" 
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.0 } } # top right
    } 
	sub = {
        parent = "sub_IRE_coa" 
        instance = { scale = { 0.5 0.5 } offset = { 0.0 0.5 } } # bottom left
    } 
	
	sub = {
        parent = "England_WB_portrait" 
    }
}
GBR_uk_scotland_coa = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	sub = {
        parent = "sub_SCO_coa" 
        instance = { scale = { 0.5 0.5 } offset = { 0.0 0.0 } } # top left
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.5 } } # bottom right
    } 
	sub = {
        parent = "sub_ENG_coa" 
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.0 } } # top right
    } 
	sub = {
        parent = "sub_IRE_coa" 
        instance = { scale = { 0.5 0.5 } offset = { 0.0 0.5 } } # bottom left
    } 
	
	sub = {
        parent = "England_WB_portrait" 
    }
}
GBR_uk_scotland_coa_france = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	sub = {
        parent = "sub_SCO_coa" 
        instance = { scale = { 0.5 0.5 } offset = { 0.0 0.0 } } # top left
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.5 } } # bottom right
    } 
	sub = {
        parent = "sub_ENG_coa" 
        instance = { scale = { 0.25 0.25 } offset = { 0.75 0.00 } } # top left
        instance = { scale = { 0.25 0.25 } offset = { 0.50 0.25 } } # bottom right
    } 
	sub = {
        parent = "sub_IRE_coa" 
        instance = { scale = { 0.5 0.5 } offset = { 0.0 0.5 } } # bottom left
    } 
	sub = {
        parent = "sub_FRA_coa" 
        instance = { scale = { 0.25 0.25 } offset = { 0.5 0.0 } } # top left
        instance = { scale = { 0.25 0.25 } offset = { 0.75 0.25 } } # bottom right
    } 
	
	sub = {
        parent = "England_WB_with_France_portrait" 
    }
}
GBR_uk_coa_france = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	sub = {
        parent = "sub_FRA_coa" 
        instance = { scale = { 0.25 0.25 } offset = { 0.0 0.0 } } # top left
        instance = { scale = { 0.25 0.25 } offset = { 0.25 0.25 } } # bottom right

        instance = { scale = { 0.25 0.25 } offset = { 0.5 0.5 } } # top left
        instance = { scale = { 0.25 0.25 } offset = { 0.75 0.75 } } # bottom right
    } 
	sub = {
        parent = "sub_ENG_coa" 
        instance = { scale = { 0.25 0.25 } offset = { 0.25 0.00 } } # top left
        instance = { scale = { 0.25 0.25 } offset = { 0.00 0.25 } } # bottom right

        instance = { scale = { 0.25 0.25 } offset = { 0.75 0.50 } } # top left
        instance = { scale = { 0.25 0.25 } offset = { 0.50 0.75 } } # bottom right
    } 
	sub = {
        parent = "sub_SCO_coa" 
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.0 } } # top right
    } 
	sub = {
        parent = "sub_IRE_coa" 
        instance = { scale = { 0.5 0.5 } offset = { 0.0 0.5 } } # bottom left
    } 
	
	sub = {
        parent = "England_WB_with_France_portrait" 
    }
}
GBR_white_ensign  = {
	# white ensign of the Royal Navy
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"

	colored_emblem = {		
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
    sub = {
        parent = "sub_GBR" 
        instance = { scale = { @canton_scale_cross_x @canton_scale_cross_y }  } # top left
    }
	
	sub = {
        parent = "England_WB_fascist_portrait" 
    }
}
GBR_uk_white_ensign  = {
	# white ensign of the Royal Navy
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"

	colored_emblem = {		
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
    sub = {
        parent = "sub_GBR_uk" 
        instance = { scale = { @canton_scale_cross_x @canton_scale_cross_y }  } # top left
    }
	
	sub = {
        parent = "England_WB_fascist_portrait" 
    }
}
GBR_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "blue"
	color4 = "yellow"
	color5 = "green"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.5 0.775 } scale = { 1.0 0.15 } }
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color5
		color2 = color5
		instance = { position = { 0.5 0.925 } scale = { 1.0 0.15 } }
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = color4
		color2 = color4
		instance = { position = { 0.19 0.29 } scale = { 0.5 0.5 } } 
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = color1
		color2 = color1
		instance = { position = { 0.19 0.29 } scale = { 0.4 0.4 } } 
	}	
	colored_emblem = {
		texture = "ce_hammer_and_sickle.dds"
		color1 = color4
		color2 = color4
		instance = { position = { 0.19 0.305 } scale = { 0.2 0.2 } } 
	}
	
	sub = {
        parent = "England_WB_communist_portrait" 
    }
}
GBR_fascist = {	
	# BUF
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_buf_emblem.dds"
		color1 = "white"
		color2 = "red"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "England_WB_fascist_portrait" 
    }
}

# Manchester placeholders
MAC = { # Manchester
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2
		instance = { scale = { 1.0 0.6 } position = { 0.5 0.7 } }
	}
	colored_emblem = {		
		texture = "ce_ship_manchester.dds"
		color1 = "brown"
		color2 = "pearl"
		color3 = "red"
        instance = { position = { 0.5 0.18 } scale = { 0.65 0.65 } }
	}	
	colored_emblem = {		
		texture = "ce_waves.dds"
		color1 = "azure"
		color2 = "blue"
        instance = { position = { 0.5 0.32 } scale = { 1.33 0.75 } }
	}	
	colored_emblem = {
		texture = "ce_bends_chief_manchester.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "white"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }
	}	
	
	sub = {
        parent = "England_WB_portrait" 
    }
}
MAC_communist = { # Manchester
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "red"

	colored_emblem = {		
		texture = "ce_waves_latvia.dds"
		color1 = "red"
		color2 = "light_blue"
	}
	colored_emblem = {		
		texture = "ce_ship_manchester.dds"
		color1 = "brown"
		color2 = "pearl"
		color3 = "red"
        instance = { position = { 0.5 0.5 } scale = { 1.5 1.5 } }
	}
	colored_emblem = {		
		texture = "ce_star_05_safcp.dds"
		color1 = "red"
		color2 = "yellow"
        instance = { position = { 0.525 0.58 } scale = { 0.20 0.20 } } #Bottom middle
        instance = { position = { 0.345 0.59 } scale = { 0.16 0.16 } } #Bottom left
        instance = { position = { 0.72 0.57 } scale = { 0.17 0.17 } } #Bottom right

        instance = { position = { 0.54 0.37 } scale = { 0.13 0.13 } } #Center
        instance = { position = { 0.355 0.415 } scale = { 0.12 0.12 } } #Middle left
        instance = { position = { 0.72 0.38 } scale = { 0.12 0.12 } } #Middle right

        instance = { position = { 0.56 0.245 } scale = { 0.075 0.075 } } #Top middle
        instance = { position = { 0.36 0.295 } scale = { 0.06 0.06 } } #Top left
        
        instance = { position = { 0.15 0.5 } scale = { 0.12 0.12 } } #Fore right
        instance = { position = { 0.823 0.51 } scale = { 0.11 0.11 } } #Aft sail
    }
    colored_emblem = {		
		texture = "ce_waves_latvia.dds"
		color1 = "red"
		color2 = "light_blue"
		instance = { position = { 0.75 0.60 } scale = { 1.5 1.0 } }
	}
	colored_emblem = {		
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { position = { 0.13 0.20 } scale = { 0.40 0.40 } }
	}
	
	sub = {
        parent = "England_WB_communist_portrait" 
    }
}

# WB originals

GBR_anarchist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_letter_a.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }				
	}
	
	colored_emblem = {
		texture = "ce_frame_circle_outline.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }				
	}
	
	sub = {
        parent = "England_WB_communist_portrait" 
    }
}

GBR_ENG_dictatorship_canton = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	
	sub = {
        parent = "England_WB_fascist_portrait" 
    }
}

GBR_white_ensign_overlord_canton  = {

	 sub = {
        parent = "sub_GBR" 
    }
	
	sub = {
        parent = "England_WB_fascist_portrait" 
    }
}
GBR_uk_white_ensign_overlord_canton  = {

	sub = {
        parent = "sub_GBR_uk" 
    }
	
	sub = {
        parent = "England_WB_fascist_portrait" 
    }
}

# UK technocracy flags

GBR_technocracy  = {
	# based off the Royal Society CoA
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"

    sub = {
        parent = "sub_ENG_coa" 
       instance = { scale = { 0.45 0.45 } offset = { 0.0 0.0 } } # top left
    }
	
	sub = {
        parent = "England_WB_technocracy_portrait" 
    }
}

GBR_technocracy_canton  = {
	# three lions
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "blue"
	
	colored_emblem = {
		texture = "ce_leopard_passant_guardant.dds"
		color1 = color2
		color2 = color3
		@eng_leopard_offset = 0.25
		@eng_leopard_scale_x = 1.2
		@eng_leopard_scale_y = 0.7
		instance = { scale = { @eng_leopard_scale_x @eng_leopard_scale_y } position = { 0.5 0.5 } }
		instance = { scale = { @eng_leopard_scale_x @eng_leopard_scale_y } position = { 0.5 @[0.5 + eng_leopard_offset] } }
		instance = { scale = { @eng_leopard_scale_x @eng_leopard_scale_y } position = { 0.5 @[0.5 - eng_leopard_offset] } }
	}
	
	colored_emblem = {
		texture = "ce_frame_square.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 1.5 0.05 } position = { 0.5 0.02 } }
		instance = { scale = { 1.5 0.05 } position = { 0.5 0.98 } }
		instance = { scale = { 0.05 1.0 } position = { 0.98 0.5 } }
		instance = { scale = { 0.05 1.0 } position = { 0.02 0.5 } }
	}
	
	sub = {
        parent = "England_WB_technocracy_portrait" 
    }
}

GBR_monarchy_technocracy_uk = {
	# the modern British flag, with red diagonals
    sub = {
        parent = "sub_GBR_uk" 
    }
	
	sub = {
        parent = "England_WB_technocracy_portrait_alt" 
    }
}

GBR_monarchy_technocracy_no_ireland = {
	# 1707-1800 flag without the Irish red diagonals
    sub = {
        parent = "sub_GBR" 
    }
	
	sub = {
        parent = "England_WB_technocracy_portrait_alt" 
    }
}

GBR_monarchy_technocracy_scotland = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_cross_england_fimbriated.dds"
		color1 = "white"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = "white"
		color2 = "red"
	}	
	
	sub = {
        parent = "England_WB_technocracy_portrait_alt" 
    }
}

GBR_communist_technocracy = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "blue"
	color4 = "yellow"
	color5 = "green"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.5 0.775 } scale = { 1.0 0.15 } }
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color5
		color2 = color5
		instance = { position = { 0.5 0.925 } scale = { 1.0 0.15 } }
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = color4
		color2 = color4
		instance = { position = { 0.19 0.29 } scale = { 0.5 0.5 } } 
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = color1
		color2 = color1
		instance = { position = { 0.19 0.29 } scale = { 0.4 0.4 } } 
	}	
	colored_emblem = {
		texture = "ce_hammer_and_sickle.dds"
		color1 = color4
		color2 = color4
		instance = { position = { 0.19 0.305 } scale = { 0.2 0.2 } } 
	}
	
	sub = {
        parent = "England_WB_technocracy_portrait_alt" 
    }
}


## Greece ##

Greece_WB_portrait = {
	textured_emblem = {
		texture = "wb_gre_monarch.dds"
		instance = { scale = { 1.52 1.52 } position = { 0.48 0.69 } }
	}
}

Greece_republican_WB_portrait = {
	textured_emblem = {
		texture = "wb_gre_repub.dds"
		instance = { scale = { 1.36 1.36 } position = { 0.57 0.635 } }
	}
}

Greece_communist_WB_portrait = {
	textured_emblem = {
		texture = "wb_gre_comm.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.47 0.59 } }
	}
}

Greece_fascist_WB_portrait = {
	textured_emblem = {
		texture = "wb_gre_fasch_flames.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.5 0.75 } }
	}
	textured_emblem = {
		texture = "wb_gre_fasch.dds"
		instance = { scale = { 1.6 1.6 } position = { 0.49 0.71 } }
	}
}

sub_GRE_square = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 76 152 }
	color2 = "white"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2
		instance = { scale = { 0.2 1.0 } }
		instance = { scale = { 1.0 0.2 } }
	}
}

GRE_dictatorship_canton = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2
		instance = { scale = { 0.2 1.0 } }
		instance = { scale = { 1.0 0.2 } }
	}
}

GRE = {
	# WB edit
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 76 152 }
	color2 = "white"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_crown_simple.dds"
		color1 = "yellow"
		color2 = "azure"
		color3 = "white"
		instance = { scale = { 0.4 0.4 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Greece_WB_portrait" 
    }
}
GRE_republic = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "blue"

	colored_emblem = {
		texture = "ce_stripes_9.dds"
		color1 = rgb { 0 76 152 }
		color2 = rgb { 0 76 152 }
	}
	
    sub = {
        parent = "sub_GRE_square" 
		instance = { scale = { @[1/9*5/1.5] @[1/9*5] } }			
    }	
	
	sub = {
        parent = "Greece_republican_WB_portrait" 
    }
}
GRE_absolute_monarchy = {
	# WB edit
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 76 152 }
	color2 = "white"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_crown_simple.dds"
		color1 = "yellow"
		color2 = "azure"
		color3 = "white"
		instance = { scale = { 0.4 0.4 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_frame_square.dds"
		color1 = color3
		color2 = color3
		instance = { scale = { 1.5 0.05 } position = { 0.5 0.02 } }
		instance = { scale = { 1.5 0.05 } position = { 0.5 0.98 } }
		instance = { scale = { 0.05 1.0 } position = { 0.98 0.5 } }
	}
	
	sub = {
        parent = "Greece_WB_portrait" 
    }
}
GRE_fascist = {		
	# EON flag, without the crown in canton
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = "white"
		color2 = "white"
	}
	colored_emblem = {
		texture = "ce_wreath.dds"
		color1 = "yellow_dark"
		color2 = "green"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_labrys.dds"
		color1 = "yellow_dark"
		color2 = "yellow_dark"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.52 } }
	}	
	
	textured_emblem = {
		texture = "wb_gre_fasch.dds"
		instance = { scale = { 1.6 1.6 } position = { 0.49 0.71 } }
	}
}

# WB originals

GRE_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "blue"

	colored_emblem = {
		texture = "ce_stripes_9.dds"
		color1 = color2
		color2 = color2
	}
	
    sub = {
        parent = "GRE_dictatorship_canton" 
		instance = { scale = { @[1/9*5/1.5] @[1/9*5] } }			
    }	
	
	sub = {
        parent = "Greece_fascist_WB_portrait" 
    }
}

GRE_communist = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 76 152 }

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = "white"
		color2 = "white"
	}
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.35 0.35 } position = { 0.5 0.5 } }		
	}
	
	colored_emblem = {
		texture = "ce_frame_circle_outline.dds"
		color1 = color1
		color2 = color1
		instance = { scale = { 0.37 0.37 } position = { 0.5 0.5 } }		
	}
	
	colored_emblem = {
		texture = "wb_ce_triangle.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.25 0.25 } position = { 0.5 0.47 } }		
	}
	
	colored_emblem = {
		texture = "wb_ce_triangle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.15 0.15 } position = { 0.5 0.485 } }		
	}
	
	textured_emblem = {
		texture = "wb_gre_comm.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.53 0.59 } }
	}
}

GRE_anarchist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "wb_ce_triangle.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.45 } }		
	}
	
	colored_emblem = {
		texture = "wb_ce_triangle.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.47 } }		
	}
	
	textured_emblem = {
		texture = "wb_gre_comm.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.46 0.59 } }
	}
}

GRE_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "black"

	colored_emblem = {
		texture = "wb_ce_orthodox_eagle.dds"
		color1 = color2
		color2 = color2
		
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Greece_WB_portrait" 
    }
}

GRE_monarchy_subject = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 76 152 }
	color2 = "white"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_crown_simple.dds"
		color1 = "yellow"
		color2 = "azure"
		color3 = "white"
		instance = { scale = { 0.4 0.4 } position = { 0.5 0.5 } }
	}
	
	textured_emblem = {
		texture = "wb_gre_monarch.dds"
		instance = { scale = { 1.52 1.52 } position = { 0.7 0.69 } }
	}
}

GRE_absolute_monarchy_subject = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 76 152 }
	color2 = "white"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_crown_simple.dds"
		color1 = "yellow"
		color2 = "azure"
		color3 = "white"
		instance = { scale = { 0.4 0.4 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_frame_square.dds"
		color1 = color3
		color2 = color3
		instance = { scale = { 1.5 0.05 } position = { 0.5 0.02 } }
		instance = { scale = { 1.5 0.05 } position = { 0.5 0.98 } }
		instance = { scale = { 0.05 1.0 } position = { 0.98 0.5 } }
	}
	
	textured_emblem = {
		texture = "wb_gre_monarch.dds"
		instance = { scale = { 1.52 1.52 } position = { 0.7 0.69 } }
	}
}

GRE_dictatorship_subject = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "blue"

	colored_emblem = {
		texture = "ce_stripes_9.dds"
		color1 = color2
		color2 = color2
	}
	
    sub = {
        parent = "GRE_dictatorship_canton" 
		instance = { scale = { @[1/9*5/1.5] @[1/9*5] } }			
    }	
	
	textured_emblem = {
		texture = "wb_gre_fasch_flames.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.7 0.75 } }
	}
	textured_emblem = {
		texture = "wb_gre_fasch.dds"
		instance = { scale = { 1.6 1.6 } position = { 0.69 0.71 } }
	}
}


## Hanover ##

Hanover_WB_portrait = {
	textured_emblem = {
		texture = "wb_han_autocratic_worry.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.505 0.675 } }
	}
}

Hanover_WB_portrait_apprehensive = {
	textured_emblem = {
		texture = "wb_han_autocratic_apprehensive.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.505 0.675 } }
	}
}

Hanover_WB_portrait_cry = {
	textured_emblem = {
		texture = "wb_han_autocratic_cri.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.505 0.675 } }
	}
}

Hanover_WB_portrait_apprehensive_uk_subject = {
	textured_emblem = {
		texture = "wb_han_autocratic_apprehensive.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.64 0.675 } }
	}
}

Hanover_WB_portrait_cry_uk_subject = {
	textured_emblem = {
		texture = "wb_han_autocratic_cri.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.64 0.675 } }
	}
}

Hanover_WB_republican_portrait = {
	textured_emblem = {
		texture = "wb_han_repub.dds"
		instance = { scale = { 1.36 1.36 } position = { 0.495 0.61 } }
	}
}

Hanover_WB_republican_portrait_cry = {
	textured_emblem = {
		texture = "wb_han_repub_cri.dds"
		instance = { scale = { 1.36 1.36 } position = { 0.495 0.61 } }
	}
}

Hanover_WB_republican_portrait_happy = {
	textured_emblem = {
		texture = "wb_han_repub_happ.dds"
		instance = { scale = { 1.36 1.36 } position = { 0.495 0.61 } }
	}
}

Hanover_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_han_comm.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.53 0.603 } }
	}
}

Hanover_WB_communist_portrait_cry = {
	textured_emblem = {
		texture = "wb_han_comm_cri.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.53 0.603 } }
	}
}

Hanover_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_han_fascsh.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.497 0.615 } }
	}
}

Hanover_WB_fascist_portrait_cry = {
	textured_emblem = {
		texture = "wb_han_fascsh_cri.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.497 0.615 } }
	}
}

Hanover_WB_fascist_portrait_alt = {
	textured_emblem = {
		texture = "wb_han_autocratic_alt.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.505 0.675 } }
	}
}

Hanover_WB_fascist_portrait_alt_cry = {
	textured_emblem = {
		texture = "wb_han_autocratic_alt_cri.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.505 0.675 } }
	}
}

sub_HAN_uk = {
	# Special subject canton for Hannover
	
	pattern = "pattern_gironny_8.dds"
	color1 = "blue"
	color2 = "blue"
	color3 = "white"
	color4 = "red"
	
	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = color3
		color2 = color3
	}	
	colored_emblem = {
		texture = "ce_saltire_fimbriated.dds"
		color1 = color3
		color2 = color4
		mask = { 2 }
	}
	colored_emblem = {
		texture = "ce_cross_england_fimbriated.dds"
		color1 = color3
		color2 = color4
	}
	
	# WB edit
	colored_emblem = {
		texture = "ce_frame_square.dds"
		color1 = "red"
		color2 = "red"
		instance = { position = { 0.5 0.5 } scale = { 0.67 0.49 } }		
	}	
	colored_emblem = {
		texture = "ce_horse.dds"
		color1 = "white"
		color2 = "white"
		color3 = "white"
		instance = { position = { 0.51 0.51 } scale = { 0.52 0.52 } }
	}	
}

HAN = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	
	# WB edit
	
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	
	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "white"
		color2 = "white"
	}
    sub = {
        parent = "sub_crown" 
        instance = { scale = { 0.5 0.5 } offset = { 0.25 0.03 }  } # top left
		color1 = "yellow"
		color2 = "red"
		color3 = "azure"
		color4 = "white"
		color5 = "red_dark"		
    }	
	colored_emblem = {
		texture = "ce_shield_iberian.dds"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.55 } }	
		color1 = "brown"
		color2 = "white"
	}	
	colored_emblem = {
		texture = "ce_shield_iberian.dds"
		instance = { scale = { 0.64 0.64 } position = { 0.5 0.55 } }	
		color1 = "red"
		color2 = "white"
	}	
	colored_emblem = {
		texture = "ce_horse.dds"
		instance = { scale = { 0.48 0.48 } position = { 0.51 0.555 } }	
		color1 = "white"
		color2 = "white"
		color3 = "grey"
	}
	
	sub = {
        parent = "Hanover_WB_portrait" 
    }
}
HAN_absolute_monarchy = {
	# WB edit
	pattern = "pattern_solid.tga"
	color1 = "red"
		
	colored_emblem = {
		texture = "ce_horse_tribal.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }	
		color1 = "white"
		color2 = "white"
		color3 = "grey"
	}	

	sub = {
        parent = "Hanover_WB_portrait" 
    }	
}
HAN_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_star_frame_hammer_sickle.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.465 0.465 } position = { 0.16 0.24 } }				
	}
	colored_emblem = {
		texture = "ce_star_frame_hammer_sickle.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 0.45 0.45 } position = { 0.16 0.24 } }				
	}	
	colored_emblem = {
		texture = "ce_stripes_02_bottom_lithuania.dds"
		color1 = "yellow"
		color2 = "white"
        instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 }  }
	}	
	
	sub = {
        parent = "Hanover_WB_communist_portrait" 
    }
}
HAN_subject = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_horse.dds"
		color1 = "white"
		color2 = "white"
		color3 = "white"
		instance = { position = { 0.78 0.6 } scale = { 0.70 0.70 } }
	}
	colored_emblem = {		
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
        instance = { position = { 0.25 0.25 } scale = { 0.5 0.5 } }				
	}		
	
	textured_emblem = {
		texture = "wb_han_autocratic_apprehensive.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.73 0.675 } }
	}
}
HAN_subject_GBR = {
	# Subject flag for UK
	
	pattern = "pattern_solid.tga"
	color1 = "red"
	
    sub = {
        parent = "sub_HAN_uk" 
		instance = { scale = { 0.5 0.5 } }			
    }	
	
	sub = {
        parent = "Hanover_WB_portrait_apprehensive_uk_subject" 
    }
}
HAN_republic = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_horse.dds"
		color1 = "white"
		color2 = "white"
		color3 = "white"
		instance = { position = { 0.5 0.5 } scale = { 0.9 0.9 } }
	}
	
	sub = {
        parent = "Hanover_WB_republican_portrait" 
    }
}
HAN_subject_gold = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_horse.dds"
		color1 = "white"
		color2 = "white"
		color3 = "white"
		instance = { position = { 0.78 0.6 } scale = { 0.70 0.70 } }
	}
	colored_emblem = {		
		texture = "ce_solid.dds"
		color1 = "yellow"
		color2 = "yellow"
        instance = { position = { 0.25 0.25 } scale = { 0.5 0.5 } }				
	}		
	
	textured_emblem = {
		texture = "wb_han_autocratic_apprehensive.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.73 0.675 } }
	}
}
HAN_subject_PRU = {
	pattern = "pattern_solid.tga"
	color1 = "black"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "black"
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.5 } }			
	}
	colored_emblem = {
		texture = "ce_shield_iberian.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.51 } }			
	}	
	colored_emblem = {
		texture = "ce_horse.dds"
		color1 = "white"
		color2 = "white"
		color3 = "red"
		instance = { position = { 0.51 0.51 } scale = { 0.5 0.5 } }
	}		
	
	sub = {
        parent = "Hanover_WB_portrait_apprehensive" 
    }
}

# WB originals

HAN_war = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	
	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "white"
		color2 = "white"
	}
    sub = {
        parent = "sub_crown" 
        instance = { scale = { 0.5 0.5 } offset = { 0.25 0.03 }  } # top left
		color1 = "yellow"
		color2 = "red"
		color3 = "azure"
		color4 = "white"
		color5 = "red_dark"		
    }	
	colored_emblem = {
		texture = "ce_shield_iberian.dds"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.55 } }	
		color1 = "brown"
		color2 = "white"
	}	
	colored_emblem = {
		texture = "ce_shield_iberian.dds"
		instance = { scale = { 0.64 0.64 } position = { 0.5 0.55 } }	
		color1 = "red"
		color2 = "white"
	}	
	colored_emblem = {
		texture = "ce_horse.dds"
		instance = { scale = { 0.48 0.48 } position = { 0.51 0.555 } }	
		color1 = "white"
		color2 = "white"
		color3 = "grey"
	}
	
	sub = {
        parent = "Hanover_WB_portrait_cry" 
    }
}
HAN_absolute_monarchy_war = {
	pattern = "pattern_solid.tga"
	color1 = "red"
		
	colored_emblem = {
		texture = "ce_horse_tribal.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }	
		color1 = "white"
		color2 = "white"
		color3 = "grey"
	}	

	sub = {
        parent = "Hanover_WB_portrait_cry" 
    }	
}
HAN_subject_war = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_horse.dds"
		color1 = "white"
		color2 = "white"
		color3 = "white"
		instance = { position = { 0.78 0.6 } scale = { 0.70 0.70 } }
	}
	colored_emblem = {		
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
        instance = { position = { 0.25 0.25 } scale = { 0.5 0.5 } }				
	}		
	
	textured_emblem = {
		texture = "wb_han_autocratic_cri.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.73 0.675 } }
	}
}
HAN_subject_GBR_war = {
	# Subject flag for UK
	
	pattern = "pattern_solid.tga"
	color1 = "red"
	
    sub = {
        parent = "sub_HAN_uk" 
		instance = { scale = { 0.5 0.5 } }			
    }	
	
	sub = {
        parent = "Hanover_WB_portrait_cry_uk_subject" 
    }
}
HAN_subject_gold_war = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_horse.dds"
		color1 = "white"
		color2 = "white"
		color3 = "white"
		instance = { position = { 0.78 0.6 } scale = { 0.70 0.70 } }
	}
	colored_emblem = {		
		texture = "ce_solid.dds"
		color1 = "yellow"
		color2 = "yellow"
        instance = { position = { 0.25 0.25 } scale = { 0.5 0.5 } }				
	}		
	
	textured_emblem = {
		texture = "wb_han_autocratic_cri.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.73 0.675 } }
	}
}
HAN_subject_PRU_war = {
	pattern = "pattern_solid.tga"
	color1 = "black"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "black"
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.5 } }			
	}
	colored_emblem = {
		texture = "ce_shield_iberian.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.51 } }			
	}	
	colored_emblem = {
		texture = "ce_horse.dds"
		color1 = "white"
		color2 = "white"
		color3 = "red"
		instance = { position = { 0.51 0.51 } scale = { 0.5 0.5 } }
	}		
	
	sub = {
        parent = "Hanover_WB_portrait_cry" 
    }
}

HAN_republic_war = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_horse.dds"
		color1 = "white"
		color2 = "white"
		color3 = "white"
		instance = { position = { 0.5 0.5 } scale = { 0.9 0.9 } }
	}
	
	sub = {
        parent = "Hanover_WB_republican_portrait_cry" 
    }
}

HAN_communist_war = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_star_frame_hammer_sickle.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.465 0.465 } position = { 0.16 0.24 } }				
	}
	colored_emblem = {
		texture = "ce_star_frame_hammer_sickle.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 0.45 0.45 } position = { 0.16 0.24 } }				
	}	
	colored_emblem = {
		texture = "ce_stripes_02_bottom_lithuania.dds"
		color1 = "yellow"
		color2 = "white"
        instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 }  }
	}	
	
	sub = {
        parent = "Hanover_WB_communist_portrait_cry" 
    }
}

HAN_dictatorship = {
	pattern = "pattern_border_double.dds"
	color1 = "red"
	color2 = "yellow"
	color3 = "white"
	
	colored_emblem = {
		texture = "wb_ce_pegasus.dds"
		color1 = "white"
		color2 = "white"
		color3 = "white"
		 instance = { scale = { 0.85 0.8 } position = { 0.5 0.5 }  }
	}
	
	sub = {
        parent = "Hanover_WB_fascist_portrait" 
    }
}

HAN_dictatorship_war = {
	pattern = "pattern_border_double.dds"
	color1 = "red"
	color2 = "yellow"
	color3 = "white"
	
	colored_emblem = {
		texture = "wb_ce_pegasus.dds"
		color1 = "white"
		color2 = "white"
		color3 = "white"
		 instance = { scale = { 0.85 0.8 } position = { 0.5 0.5 }  }
	}
	
	sub = {
        parent = "Hanover_WB_fascist_portrait_cry" 
    }
}

HAN_dictatorship_alt = {
	pattern = "pattern_border_double.dds"
	color1 = "red"
	color2 = "yellow"
	color3 = "white"
	
	colored_emblem = {
		texture = "wb_ce_pegasus.dds"
		color1 = "white"
		color2 = "white"
		color3 = "white"
		 instance = { scale = { 0.85 0.8 } position = { 0.5 0.5 }  }
	}
	
	sub = {
        parent = "Hanover_WB_fascist_portrait_alt" 
    }
}

HAN_dictatorship_alt_war = {
	pattern = "pattern_border_double.dds"
	color1 = "red"
	color2 = "yellow"
	color3 = "white"
	
	colored_emblem = {
		texture = "wb_ce_pegasus.dds"
		color1 = "white"
		color2 = "white"
		color3 = "white"
		 instance = { scale = { 0.85 0.8 } position = { 0.5 0.5 }  }
	}
	
	sub = {
        parent = "Hanover_WB_fascist_portrait_alt_cry" 
    }
}

HAN_anarchist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "black"
	color2 = "red"
	
	colored_emblem = {
		texture = "ce_horse_tribal.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }	
		color1 = "white"
		color2 = "white"
		color3 = "grey"
		
		mask = { 1 }
	}	

	colored_emblem = {
		texture = "ce_horse_tribal.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }	
		color1 = "black"
		color2 = "white"
		color3 = "grey"
		
		mask = { 2 }
	}	

	sub = {
        parent = "Hanover_WB_communist_portrait" 
    }	
}

HAN_anarchist_war = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "black"
	color2 = "red"
	
	colored_emblem = {
		texture = "ce_horse_tribal.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }	
		color1 = "white"
		color2 = "white"
		color3 = "grey"
		
		mask = { 1 }
	}	

	colored_emblem = {
		texture = "ce_horse_tribal.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }	
		color1 = "black"
		color2 = "white"
		color3 = "grey"
		
		mask = { 2 }
	}	

	sub = {
        parent = "Hanover_WB_communist_portrait_cry" 
    }	
}


## Hungary ##

Hungary_WB_portrait = {
	textured_emblem = {
		texture = "wb_hun_monarch.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.485 0.565 } }
	}
}

Hungary_republican_WB_portrait = {
	textured_emblem = {
		texture = "wb_aus_hun_repub_hungary.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.5 0.64 } }
	}
}

Hungary_communist_WB_portrait = {
	textured_emblem = {
		texture = "wb_aus_hun_comm_hungary.dds"
		instance = { scale = { 1.2 1.2 } position = { 0.5 0.57 } }
	}
}

Hungary_communist_alt_WB_portrait = {
	textured_emblem = {
		texture = "wb_aus_hun_comm_hungary_alt.dds"
		instance = { scale = { 1.2 1.2 } position = { 0.5 0.57 } }
	}
}

Hungary_fascist_WB_portrait = {
	textured_emblem = {
		texture = "wb_hun_fasch.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.495 0.51 }  }
	}
}

HUN = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "green"
	}
	
	textured_emblem = {
		texture = "wb_hungary_coa.png"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.405 } }
	}
	
	sub = {
        parent = "Hungary_WB_portrait" 
    }
}
HUN_fascist = {		
	# Arrow cross party
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { @third 0.5 } position = { 0.5 0.5 } rotation = 45 }
	}	
	colored_emblem = {
		texture = "ce_arrow_cross.dds"
		color1 = "green"
		color2 = "green"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}	
	sub = {
        parent = "Hungary_fascist_WB_portrait" 
    }
}

## WB originals

HUN_republic = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "green"
	}
	
	sub = {
        parent = "Hungary_republican_WB_portrait" 
    }
}
HUN_dictatorship = {		
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = rgb { 71 112 80 }
	}
	
	textured_emblem = {
		texture = "wb_hungary_coa.png"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.405 } }
	}
	
	sub = {
        parent = "Hungary_fascist_WB_portrait" 
    }
}
HUN_communist = {
	# 1957-1990 flag

	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "green"
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_sun_bg.dds"
		color1 = "blue_light"
		color2 = "yellow"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.46 } }
	}
	
	colored_emblem = {
		texture = "wb_ce_hungarian_escutcheon.dds"
		color1 = "red"
		color2 = "white"
		color3 = "green"
		instance = { scale = { 0.22 0.22 } position = { 0.5 0.53 } }
	}
	
	colored_emblem = {
		texture = "wb_ce_hungarian_escutcheon_frame.dds"
		color1 = "yellow"
		color2 = "white"
		color3 = "green"
		instance = { scale = { 0.22 0.22 } position = { 0.5 0.53 } }
	}
	
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow"
		color2 = "white"
		color3 = "green"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_flags_tricolour.dds"
		color1 = "red"
		color2 = "white"
		color3 = "green"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_frame_star.dds"
		color1 = "red"
		color2 = "yellow"
		instance = { scale = { 0.2 0.2 } position = { 0.5 0.32 } }
	}
	
	sub = {
        parent = "Hungary_communist_WB_portrait" 
    }
}
HUN_communist_autocratic = {
	# 1949-1956 flag
	
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "green"
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_sun_bg.dds"
		color1 = "blue_light"
		color2 = "yellow"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.46 } }
	}
	
	colored_emblem = {
		texture = "ce_hammer_wheat.dds"
		color1 = "yellow"
		color2 = "white"
		instance = { scale = { 0.3 0.3 } position = { 0.5 0.53 } }
	}
	
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow"
		color2 = "white"
		color3 = "green"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_flags_tricolour.dds"
		color1 = "red"
		color2 = "white"
		color3 = "green"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_frame_star.dds"
		color1 = "red"
		color2 = "yellow"
		instance = { scale = { 0.2 0.2 } position = { 0.5 0.32 } }
	}
	
	sub = {
        parent = "Hungary_communist_alt_WB_portrait" 
    }
}
HUN_anarchist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	sub = {
        parent = "Hungary_communist_WB_portrait" 
    }
}

HUN_flag_hole_republic = {

	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "green"
	}
	
	colored_emblem = {
		texture = "wb_ce_hole_in_the_flag.dds"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 } }	
		color1 = "black"
		color2 = "black"	
		color3 = "highlight"		
	}
	
	sub = {
        parent = "Hungary_republican_WB_portrait" 
    }
}

HUN_flag_hole_monarchy = {

	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "green"
	}
	
	colored_emblem = {
		texture = "wb_ce_hole_in_the_flag.dds"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 } }	
		color1 = "black"
		color2 = "black"	
		color3 = "highlight"		
	}
	
	sub = {
        parent = "Hungary_WB_portrait" 
    }
}


## Ionian Islands / Waifu Universalis' Corfu

Corfu_WB_portrait = {
	textured_emblem = {
		texture = "wb_ion_default.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.39 0.64 } }
	}
}

Corfu_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_ion_comm.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.39 0.64 } }
	}
}

Corfu_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_ion_fasch.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.39 0.64 } }
	}
}

ION = { # Ionian Islands
	# Septinsular Republic
	
	pattern = "pattern_border_of_4.dds"
	color1 = "blue"
	color2 = "red"
	
	colored_emblem = {
		texture = "ce_lion_corfu.dds"
		color1 = "yellow"
		color2 = "white"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }	
	}
	
	sub = {
        parent = "Corfu_WB_portrait" 
    }
}
ION_subject = {
	pattern = "pattern_border_of_3.dds"
	color1 = "blue"
	color2 = "red"
	
	colored_emblem = {
		texture = "ce_lion_corfu.dds"
		color1 = "yellow"
		color2 = "pearl"
		instance = { scale = { 0.5 0.5 } position = { 0.68 0.69 } }	
	}
	
	textured_emblem = {
		texture = "wb_ion_default.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.47 0.64 } }
	}
}

# WB originals

ION_subject_GBR = {
	pattern = "pattern_border_of_4.dds"
	color1 = "blue"
	color2 = "red"
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.43 0.41 } offset = { 0.066 0.097 } }			
    }
		
	colored_emblem = {
		texture = "ce_lion_corfu.dds"
		color1 = "yellow"
		color2 = "pearl"
		instance = { scale = { 0.5 0.5 } position = { 0.7 0.69 } }	
	}	
	
	sub = {
        parent = "Corfu_WB_portrait" 
    }
}

ION_republic = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_lion_corfu.dds"
		color1 = "yellow"
		color2 = "white"
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.5 } }	
	}
	
	sub = {
        parent = "Corfu_WB_portrait" 
    }
}

ION_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = "red"
		color2 = "red"
	}
	
	
	
	colored_emblem = {
		texture = "ce_shield_plc.dds"
		color1 = "blue"
		color2 = "yellow"
		instance = { scale = { 0.7 0.65 } position = { 0.5 0.52 } }	
	}
	
	colored_emblem = {
		texture = "ce_crown_simple.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "yellow"
		instance = { scale = { 0.4 0.4 } position = { 0.5 0.26 } }	
	}
	
	colored_emblem = {
		texture = "ce_lion_corfu.dds"
		color1 = "yellow"
		color2 = "white"
		instance = { scale = { 0.23 0.23 } position = { 0.505 0.52 } }	
	}
	
	sub = {
        parent = "Corfu_WB_portrait" 
    }
}

ION_oligarchy = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "wb_ce_6_stripes_with_gaps.dds"
		color1 = "red"
		color2 = "black"
		color3 = "highlight"
		instance = { position = { 0.5 0.5 } scale = { 1.0 1.0 } }
	}
	
	colored_emblem = {
		texture = "wb_ce_venetian_banner.dds"
		color1 = "blue"
		color2 = "yellow"
		color3 = "blue"
	}
	
	colored_emblem = {
		texture = "ce_lion_corfu.dds"
		color1 = "yellow"
		color2 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.285 0.5 } }
	}
	
	sub = {
        parent = "Corfu_WB_portrait" 
    }
}

ION_dictatorship = { 
	pattern = "pattern_border_of_4.dds"
	color1 = "blue"
	color2 = "red"
	
	colored_emblem = {
		texture = "ce_lion_corfu.dds"
		color1 = "yellow"
		color2 = "white"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }	
	}
	
	sub = {
        parent = "Corfu_WB_fascist_portrait" 
    }
}

ION_communist = { 
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "blue"
	}
	
	colored_emblem = {
		texture = "ce_star_05_hollow.dds"
		color1 = "red"
		color2 = "white"
		instance = { scale = { 0.4 0.4 } position = { 0.5 0.5 } }	
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "white"
		instance = { scale = { 0.15 0.15 } position = { 0.1 0.5 } }
		instance = { scale = { 0.15 0.15 } position = { 0.2 0.5 } }
		instance = { scale = { 0.15 0.15 } position = { 0.3 0.5 } }
		
		instance = { scale = { 0.15 0.15 } position = { 0.7 0.5 } }
		instance = { scale = { 0.15 0.15 } position = { 0.8 0.5 } }
		instance = { scale = { 0.15 0.15 } position = { 0.9 0.5 } }
	}
	
	sub = {
        parent = "Corfu_WB_communist_portrait" 
    }
}

ION_anarchist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "red"
	color2 = "black"

	colored_emblem = {
		texture = "ce_lion_corfu.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }	
	}
	
	sub = {
        parent = "Corfu_WB_communist_portrait" 
    }
}

## Lombardia / Waifu Universalis' Milan

Milan_WB_portrait = {
	textured_emblem = {
		texture = "wb_lom_default.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.53 0.57 } }
	}
}

Milan_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_lom_comm.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.53 0.57 } }
	}
}

Milan_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_lom_fasch.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.53 0.57 } }
	}
}

LOM = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = "red"
		color2 = "red"
	}
	
	sub = {
        parent = "Milan_WB_portrait" 
    }
}

# WB originals

LOM_subject = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"

	colored_emblem = {
		texture = "ce_per_cross.dds"
		color1 = "white"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "ce_eagle_crown.dds"
		color1 = "black"
		color2 = "yellow"
		color3 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.25 0.25 } }	
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.75 } }
	}
	
	colored_emblem = {
		texture = "wb_ce_visconti_biscione.dds"
		color1 = "blue_light"
		color2 = "red"
		color3 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.25 0.75 } }	
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.25 } }
	}
	
	textured_emblem = {
		texture = "wb_lom_default.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.73 0.57 } }
	}
}

LOM_subject_republic = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = "red"
		color2 = "red"
	}
	
	textured_emblem = {
		texture = "wb_lom_default.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.73 0.57 } }
	}
}

LOM_lombardy_venetia = {
	pattern = "pattern_border_triangles_morocco.dds"
	color1 = "yellow"
	color2 = "black"

	textured_emblem = {
		texture = "wb_ita_lombardy_CoA.png"
		instance = { scale = { 0.8 0.75 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Milan_WB_portrait" 
    }
}

LOM_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"

	colored_emblem = {
		texture = "ce_per_cross.dds"
		color1 = "white"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "ce_eagle_crown.dds"
		color1 = "black"
		color2 = "yellow"
		color3 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.25 0.25 } }	
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.75 } }
	}
	
	colored_emblem = {
		texture = "wb_ce_visconti_biscione.dds"
		color1 = "blue_light"
		color2 = "red"
		color3 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.25 0.75 } }	
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.25 } }
	}
	
	sub = {
        parent = "Milan_WB_portrait" 
    }
}

LOM_dictatorship = {
	pattern = "pattern_border_triangles_morocco.dds"
	color1 = "green"
	color2 = "black"
	
	colored_emblem = {
		texture = "ce_fasces_horizontal.dds"
		color1 = "brown_light"
		color2 = "grey"
		color3 = "white"
		instance = { scale = { 0.75 0.75 } position = { 0.49 0.74 } }
	}		
	colored_emblem = {
		texture = "ce_eagle_italy_fascist.dds"
		color1 = "black_light"
		color2 = "black_light"
		color3 = "white"
		instance = { scale = { 0.95 0.95 } position = { 0.49 0.5 } }
	}
	
	sub = {
        parent = "Milan_WB_fascist_portrait" 
    }
}

LOM_risorgimento = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}		
	
	colored_emblem = {
		texture = "wb_ce_vincere_morire.png"
		color1 = "black"
		instance = { position = { 0.5 0.5 } scale = { 1.0 1.0 } }		
	}
	
	colored_emblem = {
		texture = "wb_ce_makhnovshchina_skull.dds"
		color1 = "black"
		instance = { position = { 0.5 0.2 } scale = { 0.35 0.35 } }		
	}
	
	sub = {
        parent = "Milan_WB_portrait" 
    }
}

LOM_communist = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.8 1.0 } position = { 0.6 0.5 } }
	}

	colored_emblem = {
		texture = "ce_stripe_center.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.2 0.8 } position = { 0.1 0.5 } }
		instance = { scale = { 0.3 1.0 } position = { 0.1 0.5 } rotation = 90 }
	}
	
	colored_emblem = {
		texture = "ce_stripe_center.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 0.1 1.0 } position = { 0.21 0.5 } rotation = 90 }
	}
	
	colored_emblem = {
		texture = "wb_ce_visconti_biscione.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "red"	
		instance = { scale = { 0.8 0.8 } position = { 0.58 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "red"	
		instance = { scale = { 0.25 0.25 } position = { 0.1 0.49 } }
	}

	
	sub = {
        parent = "Milan_WB_communist_portrait" 
    }
}

LOM_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "red"
	color2 = "black"

	colored_emblem = {
		texture = "wb_ce_visconti_biscione.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "red"	
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.48 } }
	}
	
	sub = {
        parent = "Milan_WB_communist_portrait" 
    }
}

## Lucca

Lucca_WB_autocratic_portrait = {
	textured_emblem = {
		texture = "wb_luc_autocratic.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.53 0.525 } }
	}
}

Lucca_WB_autocratic_alt_portrait = {
	textured_emblem = {
		texture = "wb_luc_autocratic_alt.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.53 0.525 } }
	}
}

Lucca_WB_civil_portrait = {
	textured_emblem = {
		texture = "wb_luc_civil.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.45 0.55 } }
	}
}

Lucca_WB_civil_alt_portrait = {
	textured_emblem = {
		texture = "wb_luc_civil_alt.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.5 0.55 } }
	}
}

LUC = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { position = { 0.125 0.125 } scale = { 0.250 0.250 } }		
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { position = { 0.125 0.187 } scale = { 0.250 0.125 } }		
	}	
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.25 } }	
	}	
	textured_emblem = {
		texture = "te_coa_lucca.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.65 } }	
	}	
	
	sub = {
        parent = "Lucca_WB_autocratic_portrait" 
    }
}
LUC_republic = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "red"
		color2 = "red"
	}
	
	sub = {
        parent = "Lucca_WB_civil_portrait" 
    }
}
LUC_communist = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { @[0.25*1.5] 0.5 } position = { @[0.25*1.5/2] 0.25 } }
	}
	colored_emblem = {
		texture = "ce_hammer_sickle_italy.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.45 0.45 } position = { 0.17 0.24 } } 
	}	
	
	sub = {
        parent = "Lucca_WB_civil_alt_portrait" 
    }
}
LUC_subject_FRA = {	
	pattern = "pattern_border_of_4.dds"
	color1 = "white"
	color2 = "blue"
	color3 = "red"

	colored_emblem = {
		texture = "ce_rhombus.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.875 0.8 } position = { 0.5 0.5 } }		
	}		
	
	sub = {
        parent = "Lucca_WB_autocratic_portrait" 
    }
}

# WB originals

LUC_subject = {
	pattern = "pattern_solid.tga"
	color1 = "white"
		
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.6 0.6 } position = { 0.65 0.25 } }	
	}	
	textured_emblem = {
		texture = "te_coa_lucca.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.65 0.65 } }	
	}	
	
	textured_emblem = {
		texture = "wb_luc_autocratic.dds"
		instance = { scale = { 1.38 1.38 } position = { 0.7 0.55 } }
	}
}

LUC_non_absolute_monarchy = {	
	pattern = "pattern_solid.tga"
	color1 = "white"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { position = { 0.125 0.125 } scale = { 0.250 0.250 } }		
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { position = { 0.125 0.187 } scale = { 0.250 0.125 } }		
	}	
	
	sub = {
        parent = "Lucca_WB_autocratic_portrait" 
    }
}

LUC_merchant_flag = {	
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "red"

	colored_emblem = {
		texture = "ce_stripes_03_middle.dds"
		color1 = color2
		color2 = color2
		instance = { scale = { 1.0 0.5 } position = { 0.5 0.72 } }
		instance = { scale = { 1.0 0.5 } position = { 0.5 0.38 } }		
	}		
	
	sub = {
        parent = "Lucca_WB_autocratic_portrait" 
    }
}

LUC_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}

	
	sub = {
        parent = "Lucca_WB_autocratic_alt_portrait" 
    }
}

LUC_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "red"
		color2 = "red"
	}
	colored_emblem = {
		texture = "wb_ce_st_peter.dds"
		color1 = "peach"
		color2 = "yellow"
		color3 = "light_blue"
		instance = { position = { 0.35 0.5 } scale = { 0.93 0.93 } }		
	}	
	
	textured_emblem = {
		texture = "wb_luc_autocratic.dds"
		instance = { scale = { 1.38 1.38 } position = { 0.7 0.55 } }
	}
}

LUC_risorgimento = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}		
	
	colored_emblem = {
		texture = "wb_ce_italia_libera.dds"
		color1 = "green"
		instance = { position = { 0.5 0.5 } scale = { 0.54 0.54 } }		
	}
	
	textured_emblem = {
		texture = "wb_luc_civil.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.39 0.58 } }
	}
}

LUC_anarchist = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	
	colored_emblem = {
		texture = "ce_bend_dexter_fimbriated.dds"
		color1 = "red"
		color2 = "black"
		instance = { scale = { 1.25 1.25 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "wb_ce_libertas.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } rotation = 3}
	}
	
	sub = {
        parent = "Lucca_WB_civil_alt_portrait" 
    }
}

## Moldavia

Moldavia_WB_autocratic_portrait = {
	textured_emblem = {
		texture = "wb_mol_autocratic.dds"
		instance = { scale = { 1.6 1.6 } position = { 0.61 0.65 } }
	}
}

Moldavia_WB_autocratic_alt_portrait = {
	textured_emblem = {
		texture = "wb_mol_autocratic_alt.dds"
		instance = { scale = { 1.6 1.6 } position = { 0.61 0.65 } }
	}
}

Moldavia_WB_civil_portrait = {
	textured_emblem = {
		texture = "wb_mol_civil.dds"
		instance = { scale = { 1.55 1.55 } position = { 0.56 0.665 } }
	}
}

Moldavia_WB_civil_alt_portrait = {
	# Little miss Bessarabia aka Moldova
	textured_emblem = {
		texture = "wb_mol_civil_alt.dds"
		instance = { scale = { 1.55 1.55 } position = { 0.56 0.665 } }
	}
}

MOL = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.3 0.3 } position = { 0.5 0.20 } }		
	}	
	colored_emblem = {
		texture = "ce_star_08.dds"
		instance = { scale = { 0.15 0.15 } position = { 0.5 0.34 } }			
		color1 = "white"
		color2 = "white"		
	}	
	colored_emblem = {
		texture = "ce_aurochs_head.dds"
		instance = { scale = { 0.55 0.55 } position = { 0.5 0.52 } }
		color1 = "brown_light"
		color2 = "white"
		color3 = "white"
	}	
	colored_emblem = {
		texture = "ce_laurel.dds"
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.57 } }
		color1 = "green"
		color2 = "red"		
	}	
	colored_emblem = {
		texture = "ce_laurel_knot.dds"
		instance = { scale = { 0.25 0.25 } position = { 0.5 0.82 } }
		color1 = "red"
		color2 = "red"		
	}		
	
	sub = {
        parent = "Moldavia_WB_autocratic_portrait" 
    }
}
MOL_subject = {
	pattern = "pattern_solid.tga"
	color1 = "blue"	
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.5 } }		
		color1 = "white"
		color2 = "white"		
	}		
	colored_emblem = {
		texture = "ce_star_05.dds"
		instance = { scale = { 0.15 0.15 } position = { 0.75 0.34 } }		
		color1 = "yellow_dark"
		color2 = "yellow_dark"		
	}		
	colored_emblem = {
		texture = "ce_aurochs_head.dds"
		instance = { scale = { 0.525 0.525 } position = { 0.75 0.51 } }
		color1 = "brown_light"
		color2 = "pearl"
		color3 = "white"		
	}	
	
	textured_emblem = {
		texture = "wb_mol_autocratic.dds"
		instance = { scale = { 1.6 1.6 } position = { 0.75 0.65 } }
	}
}
MOL_subject_TUR = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.3 0.3 } position = { 0.5 0.20 } }		
	}	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.25 0.25 } position = { 0.125 0.125 } }	
		instance = { scale = { 0.25 0.25 } position = { 0.875 0.125 } }	
		instance = { scale = { 0.25 0.25 } position = { 0.125 0.875 } }	
		instance = { scale = { 0.25 0.25 } position = { 0.875 0.875 } }			
	}	
	colored_emblem = {
		texture = "ce_star_08.dds"
		instance = { scale = { 0.15 0.15 } position = { 0.5 0.34 } }
		instance = { scale = { 0.2 0.2 } position = { 0.125 0.125 } }
		instance = { scale = { 0.2 0.2 } position = { 0.125 0.875 } }	
		instance = { scale = { 0.2 0.2 } position = { 0.875 0.125 } }
		instance = { scale = { 0.2 0.2 } position = { 0.875 0.875 } }			
		color1 = "white"
		color2 = "white"		
	}		
	colored_emblem = {
		texture = "ce_aurochs_head.dds"
		instance = { scale = { 0.55 0.55 } position = { 0.5 0.52 } }
		color1 = "brown_light"
		color2 = "white"
		color3 = "white"		
	}
	colored_emblem = {
		texture = "ce_laurel.dds"
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.57 } }
		color1 = "green"
		color2 = "red"		
	}	
	colored_emblem = {
		texture = "ce_laurel_knot.dds"
		instance = { scale = { 0.25 0.25 } position = { 0.5 0.82 } }
		color1 = "red"
		color2 = "red"		
	}	

	sub = {
        parent = "Moldavia_WB_autocratic_portrait" 
    }
}
MOL_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "green"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color3
		color2 = color3
        instance = { scale = { 1.0 0.25 } position = { 0.5 0.5 }  }	
	}
	colored_emblem = {
		texture = "ce_hammer_sickle_star_ussr.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.15 @[0.75/4] } scale = { 0.35 0.35 } }
	}	
	
	sub = {
        parent = "Moldavia_WB_civil_alt_portrait" 
    }
}

# WB originals

ROM_MOL_united_principalities = {	
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "yellow"
		color2 = "blue"
	}
	
	sub = {
        parent = "Moldavia_WB_autocratic_portrait" 
    }
}

MOL_civil_ensign = { # this is supposed to be the Moldavian flag in 1836
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.2 0.2 } }	
	}
	colored_emblem = {
		texture = "ce_star_08.dds"
		instance = { scale = { 0.2 0.2 } position = { 0.09 0.22 } }	
		instance = { scale = { 0.2 0.2 } position = { 0.23 0.22 } }
		instance = { scale = { 0.2 0.2 } position = { 0.36 0.22 } }			
		color1 = "white"
		color2 = "white"		
	}		
	
	colored_emblem = {
		texture = "ce_aurochs_head.dds"
		instance = { scale = { 0.7 0.7 } position = { 0.72 0.52 } }
		color1 = "white"
		color2 = "white"
		color3 = "white"
	}
	
	textured_emblem = {
		texture = "wb_mol_autocratic.dds"
		instance = { scale = { 1.6 1.6 } position = { 0.67 0.65 } }
	}
}

MOL_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		instance = { scale = { 0.25 0.25 } position = { 0.5 0.2 } }			
		color1 = "yellow"
		color2 = "yellow"		
	}	
	colored_emblem = {
		texture = "ce_aurochs_head.dds"
		instance = { scale = { 0.85 0.85 } position = { 0.5 0.52 } }
		color1 = "yellow"
		color2 = "yellow"
		color3 = "yellow"
	}	
	colored_emblem = {
		texture = "ce_crescent_rotated.dds"
		instance = { scale = { 0.25 0.25 } position = { 0.7 0.7 } }			
		color1 = "yellow"
		color2 = "yellow"		
	}
	colored_emblem = {
		texture = "ce_lotus.dds"
		instance = { scale = { 0.25 0.25 } position = { 0.3 0.7 } }			
		color1 = "yellow"
		color2 = "yellow"		
	}
	
	sub = {
        parent = "Moldavia_WB_autocratic_portrait" 
    }
}

MOL_republic = {	
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "blue"
		color2 = "blue"
	}
	
	sub = {
        parent = "Moldavia_WB_civil_portrait" 
    }
}

MOL_republic_nationalism = {	
	# Moldavian Democratic Republic flag
	pattern = "pattern_solid.tga"
	color1 = rgb { 4 62 143 }

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "yellow"
		color2 = red
	}
	
	sub = {
        parent = "Moldavia_WB_civil_portrait" 
    }
}

MOL_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.3 0.3 } position = { 0.5 0.20 } }		
	}	
	colored_emblem = {
		texture = "ce_rhombus.dds"
		color1 = "blue"
	}	
	colored_emblem = {
		texture = "ce_star_06.dds"
		instance = { scale = { 0.15 0.15 } position = { 0.5 0.34 } }
		instance = { scale = { 0.2 0.2 } position = { 0.125 0.15 } }
		instance = { scale = { 0.2 0.2 } position = { 0.125 0.85 } }	
		instance = { scale = { 0.2 0.2 } position = { 0.875 0.15 } }
		instance = { scale = { 0.2 0.2 } position = { 0.875 0.85 } }			
		color1 = "white"
		color2 = "white"		
	}		
	colored_emblem = {
		texture = "ce_aurochs_head.dds"
		instance = { scale = { 0.55 0.55 } position = { 0.5 0.52 } }
		color1 = "brown_light"
		color2 = "white"
		color3 = "white"		
	}
	colored_emblem = {
		texture = "ce_laurel.dds"
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.57 } }
		color1 = "green"
		color2 = "red"		
	}	
	colored_emblem = {
		texture = "ce_laurel_knot.dds"
		instance = { scale = { 0.25 0.25 } position = { 0.5 0.82 } }
		color1 = "red"
		color2 = "red"		
	}	

	sub = {
        parent = "Moldavia_WB_autocratic_alt_portrait" 
    }
}

MOL_anarchist = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		instance = { scale = { 0.25 0.25 } position = { 0.5 0.2 } }			
		color1 = "red"
		color2 = "red"		
	}	
	colored_emblem = {
		texture = "ce_aurochs_head.dds"
		instance = { scale = { 0.85 0.85 } position = { 0.5 0.52 } }
		color1 = "red"
		color2 = "red"
		color3 = "red"
	}	
	
	sub = {
        parent = "Moldavia_WB_civil_alt_portrait" 
    }
}

MOL_republic_bessarabia = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 52 124 }

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "red"
	}
	
	textured_emblem = {
		texture = "wb_moldova_coa.png"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Moldavia_WB_civil_alt_portrait" 
    }	
}


## Modena

Modena_WB_autocratic_portrait = {
	textured_emblem = {
		texture = "wb_mod_autocratic.dds"
		instance = { scale = { 1.22 1.22 } position = { 0.525 0.58 } }
	}
}

Modena_WB_autocratic_alt_portrait = {
	textured_emblem = {
		texture = "wb_mod_autocratic_alt.dds"
		instance = { scale = { 1.22 1.22 } position = { 0.525 0.58 } }
	}
}

Modena_WB_civil_portrait = {
	textured_emblem = {
		texture = "wb_mod_civil.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.5 0.64 } }
	}
}

Modena_WB_civil_alt_portrait = {
	textured_emblem = {
		texture = "wb_mod_civil_alt.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.5 0.64 } }
	}
}

Modena_WB_subject_portrait = {
	textured_emblem = {
		texture = "wb_mod_autocratic.dds"
		instance = { scale = { 1.15 1.15 } position = { 0.79 0.58 } }
	}
}

MOD = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 0.372 1.0 } position = { 0.5 0.5 } }		
	}	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.124 1.0 } position = { 0.5 0.5 } }		
	}	
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.27 } }
	}	
    sub = {
        parent = "sub_MOD_coa" 
        instance = { scale = { @[third*2] @[third*2] } offset = { @[third/2] 0.20 } }
    }		
	
	sub = {
        parent = "Modena_WB_autocratic_portrait" 
    }
}
MOD_republic = { # WB edit
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_bicolor_left.dds"
		color1 = "yellow"
		color2 = "blue"
	}
	
	sub = {
        parent = "Modena_WB_civil_portrait" 
    }
}
MOD_communist = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "blue"
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 0.72 0.72 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }
	}	
	sub = {
        parent = "Modena_WB_civil_alt_portrait" 
    }
}
MOD_subject = {
	pattern = "pattern_border_of_4.dds"
	color1 = "blue"
	color2 = "white"
	
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.33 0.33 } position = { 0.725 0.32 } }
	}	
    sub = {
        parent = "sub_MOD_coa_subject" 
        instance = { scale = { 0.6 0.6 } offset = { 0.275 0.25 } }
    }		
	
	sub = {
        parent = "Modena_WB_subject_portrait" 
    }
}

# WB originals

MOD_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 4 62 143 }
	
	colored_emblem = {
		texture = "ce_fasces_horizontal.dds"
		color1 = "brown"
		color2 = "yellow"
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.85 } }
	}
	
	colored_emblem = {
		texture = "ce_crown_oudh.dds"
		color1 = "yellow"
		color2 = "white"
		instance = { scale = { 0.2 0.2 } position = { 0.512 0.12 } }
	}
	
	colored_emblem = {
		texture = "ce_eagle_napoleonian.dds"
		color1 = "white"
		color2 = "yellow"
		color3 = "yellow"
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.5 } }
	}	
	
	sub = {
        parent = "Modena_WB_autocratic_alt_portrait" 
    }
}

MOD_este_flag = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 4 62 143 }
	
	colored_emblem = {
		texture = "ce_eagle_crown.dds"
		color1 = "white"
		color2 = "yellow"
		instance = { scale = { 1.2 1.2 } }
	}		
	sub = {
        parent = "Modena_WB_autocratic_portrait" 
    }
}

MOD_este_flag_no_portrait = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 4 62 143 }
	
	colored_emblem = {
		texture = "ce_eagle_crown.dds"
		color1 = "white"
		color2 = "yellow"
		instance = { scale = { 1.2 1.2 } }
	}
}
MOD_st_george_cross = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
}

MOD_emilia_flag = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "white"

	sub = {
        parent = "MOD_st_george_cross" 
        instance = { scale = { 0.5 0.5 } offset = { 0.0 0.0 } } # top left
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.5 } } # bottom right
    } 
	
	sub = {
        parent = "MOD_este_flag_no_portrait" 
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.0 } } # top right
		instance = { scale = { 0.5 0.5 } offset = { 0.0 0.5 } } # bottom left
    }

	sub = {
        parent = "Modena_WB_autocratic_portrait" 
    }	
}

MOD_anarchist = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "red"
		color2 = "black"
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 0.72 0.72 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }
	}	
	sub = {
        parent = "Modena_WB_civil_alt_portrait" 
    }
}

## Montenegro

Montenegro_WB_autocratic_portrait = {
	textured_emblem = {
		texture = "wb_mon_autocratic.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.515 0.615 } }
	}
}

Montenegro_WB_autocratic_alt_portrait = {
	textured_emblem = {
		texture = "wb_mon_autocratic_alt.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.515 0.615 } }
	}
}

Montenegro_WB_civil_portrait = {
	textured_emblem = {
		texture = "wb_mon_autocratic.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.515 0.615 } }
	}
}

Montenegro_WB_civil_alt_portrait = {
	textured_emblem = {
		texture = "wb_mon_autocratic.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.515 0.615 } }
	}
}

MON = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "blue"
		color2 = "white"
	}
	colored_emblem = {
		texture = "ce_cross_patty.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.35 0.35 } position = { 0.12 0.17 } }	
	}	
	
	sub = {
        parent = "Montenegro_WB_autocratic_portrait" 
    }
}

MON_dictatorship = {
	# 1860 war flag
	
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { position = { 0.5 0.05 } scale = { 1.0 0.1 } }
		instance = { position = { 0.5 0.95 } scale = { 1.0 0.1 } }		
		instance = { position = { 0.05 0.5 } scale = { 0.1 1.0 } }	
		instance = { position = { 0.95 0.5 } scale = { 0.1 1.0 } }			
	}
	colored_emblem = {
		texture = "ce_cross_patty.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }	
	}	
	colored_emblem = {
		texture = "ce_letter_h.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.12 0.12 } position = { 0.49 0.5 } }	
	}
	colored_emblem = {
		texture = "ce_letter_i.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.12 0.12 } position = { 0.52 0.5 } }	
	}	

	sub = {
        parent = "Montenegro_WB_autocratic_alt_portrait" 
    }	
}

MON_absolute_monarchy = {
	# 1881 variant with crown and cypher
	
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "blue"
		color2 = "white"
	}
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.3 0.3 } position = { 0.5 0.45 } }	
	}	
	colored_emblem = {
		texture = "ce_letter_h.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.2 0.2 } position = { 0.48 0.585 } }	
	}
	colored_emblem = {
		texture = "ce_letter_i.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.2 0.2 } position = { 0.54 0.585 } }	
	}		
	
	sub = {
        parent = "Montenegro_WB_autocratic_portrait" 
    }
}

# WB originals

MON_theocracy = {
	# Apparently the actual Montenegrin civil flag pre-secularisation
	
	pattern = "pattern_border_of_4.dds"
	color1 = "red"
	color2 = "white"

	colored_emblem = {
		texture = "ce_cross_patty.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }	
	}
	
	sub = {
        parent = "Montenegro_WB_autocratic_portrait" 
    }
}

MON_kingdom = {
	# 1905-1918 flag
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "blue"
		color2 = "white"
	}
	textured_emblem = {
		texture = "wb_mon_coa.png"
		instance = { scale = { 0.95 0.95 } position = { 0.5 0.5 } }	
	}			
	
	sub = {
        parent = "Montenegro_WB_autocratic_portrait" 
    }
}

MON_republic = {
	# 1993-2004 flag
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "light_blue"
		color2 = "white"
	}	
	
	sub = {
        parent = "Montenegro_WB_civil_portrait" 
    }
}

MON_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "blue"
		color2 = "white"
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 0.72 0.72 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Montenegro_WB_civil_alt_portrait" 
    }
}


## The Netherlands

Netherlands_WB_portrait = {
	textured_emblem = {
		texture = "wb_net_monarch.dds"
		instance = { scale = { 1.4 1.4 } position = { 0.6 0.58 } }
	}
}

Netherlands_WB_subject_portrait = {
	textured_emblem = {
		texture = "wb_net_monarch.dds"
		instance = { scale = { 1.4 1.4 } position = { 0.75 0.58 } }
	}
}

Netherlands_WB_republican_portrait = {
	textured_emblem = {
		texture = "wb_net_repub.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.52 0.55 } }
	}
}

Netherlands_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_net_comm.dds"
		instance = { scale = { 1.5 1.5 } position = { 0.44 0.72 } }
	}
}

Netherlands_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_net_fasch.dds"
		instance = { scale = { 1.55 1.55 } position = { 0.44 0.63 } }
	}
}

NET = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Netherlands_WB_portrait" 
    }
}
NET_princes_flag = {
	pattern = "pattern_solid.tga"
	color1 = "orange"
	color2 = "white"
	color3 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Netherlands_WB_portrait" 
    }
}
NET_republic = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "blue"
	
	colored_emblem = {
		texture = "ce_lion_rampant_batavian.dds"
		color1 = "yellow"
		color2 = "azure"
		color3 = "white"
		instance = { position = { 0.5 0.5 }scale = { 0.9 0.9 } } 		
	}
	
	sub = {
        parent = "Netherlands_WB_republican_portrait" 
    }
}
NET_dictatorship = {
	# Inspired by a naval flag with arms of the republic in center
	
	pattern = "pattern_gironny_12_tricolor.dds"
	color1 = "orange"
	color2 = "blue"
	color3 = "white"
	
	colored_emblem = {
		texture = "ce_wreath.dds"
		color1 = "green"
		color2 = "green"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.51 } }
	}	
	colored_emblem = {
		texture = "ce_shield_hesse.dds"
		color1 = "brown"
		color2 = "black"
		instance = { scale = { 0.51 0.51 } position = { 0.5 0.50 } }		
	}	
	colored_emblem = {
		texture = "ce_shield_hesse.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.50 0.50 } position = { 0.5 0.50 } }		
	}		
	colored_emblem = {
		texture = "ce_lion_rampant_batavian.dds"
		color1 = "yellow"
		color2 = "azure"
		color3 = "white"
		instance = { scale = { 0.40 0.40 } position = { 0.505 0.51 } }
	}	
	
	sub = {
        parent = "Netherlands_WB_fascist_portrait" 
    }
}
NET_fascist = {	
	# NSB Flag
	pattern = "pattern_solid.tga"
	color1 = "orange"
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_wolfsangel_nsb.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}	
	
	sub = {
        parent = "Netherlands_WB_fascist_portrait" 
    }
}
NET_subject = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "blue"
	color3 = "white"

	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = "red"
		instance = { scale = { 0.15 0.15 } position = { 0.75 0.285 } }	
		instance = { scale = { 0.13 0.13 } position = { 0.71 0.295 } }	
		instance = { scale = { 0.13 0.13 } position = { 0.79 0.295 } }			
	}	
	colored_emblem = {
		texture = "ce_crown_simple.dds"
		color1 = "yellow"
		color2 = "azure"
		color3 = "white"
		instance = { scale = { 0.35 0.35 } position = { 0.75 0.285 } }	
	}	

	colored_emblem = {
		texture = "ce_shield_accolade_02.dds"
		color1 = "yellow_dark"
		color2 = "yellow"
		instance = { scale = { 0.56 0.51 } position = { 0.75 0.525 } }		
	}	
	colored_emblem = {
		texture = "ce_shield_accolade_02.dds"
		color1 = "red"
		color2 = "yellow"
		instance = { scale = { 0.55 0.50 } position = { 0.75 0.525 } }		
	}		
	colored_emblem = {
		texture = "ce_lion_rampant_batavian.dds"
		color1 = "yellow"
		color2 = "azure"
		color3 = "white"
		instance = { scale = { 0.40 0.40 } position = { 0.755 0.53 } }
	}	
	
	sub = {
        parent = "Netherlands_WB_subject_portrait" 
    }
}

#WB originals

NET_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_sun_bg.dds"
		color1 = "blue"
		color2 = "yellow"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_coa_frame_austria.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_flags_tricolour.dds"
		color1 = "red"
		color2 = "white"
		color3 = "blue"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_frame_star.dds"
		color1 = "red"
		color2 = "yellow"
		instance = { scale = { 0.23 0.23 } position = { 0.5 0.2 } }
	}
	
	colored_emblem = {
		texture = "ce_lion_rampant_batavian.dds"
		color1 = "yellow_light"
		color2 = "red"
		color3 = "white"
		instance = { scale = { 0.45 0.45 } position = { 0.505 0.5 } }
	}
	
	sub = {
        parent = "Netherlands_WB_communist_portrait" 
    }
}

NET_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_flag_supporter_tricolor_vertical.dds"
		color1 = "red"
		color2 = "red"
		color3 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.3 0.4 } }
	}
	
	colored_emblem = {
		texture = "ce_flag_supporter_tricolor_vertical.dds"
		color1 = "black"
		color2 = "black"
		color3 = "white"
		instance = { scale = { -0.5 0.5 } position = { 0.7 0.4 } }
	}
	
	colored_emblem = {
		texture = "ce_lion_rampant_batavian.dds"
		color1 = "white"
		color2 = "black"
		color3 = "white"
		instance = { scale = { 0.7 0.7 } position = { 0.505 0.51 } }
	}
	
	sub = {
        parent = "Netherlands_WB_communist_portrait" 
    }
}

NET_batavian_republic = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	colored_emblem = {
		texture = "ce_frame_square.dds"
		color1 = "white"
		color2 = color3
		instance = { scale = { 0.5 0.25 } position = { 0.2 0.17 } }
	}
	
	textured_emblem = {
		texture = "wb_net_dutch_maiden.dds"
		instance = { scale = { -0.4 0.25 } position = { 0.22 0.17 } }
	}
	
	sub = {
        parent = "Netherlands_WB_republican_portrait" 
    }
}

## Norway

Norway_WB_portrait = {
	textured_emblem = {
		texture = "wb_nor_monarch.dds"
		instance = { scale = { 1.4 1.4 } position = { 0.48 0.615 } rotation = 1 }
	}
}

Norway_with_Sweden_WB_portrait = {
	textured_emblem = {
		texture = "wb_nor_union_sad.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.34 0.685 } }
	}
	
	textured_emblem = {
		texture = "wb_swe_union.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.665 0.73 } }
	}
}

Norway_WB_subject_portrait = {
	textured_emblem = {
		texture = "wb_nor_union_sad.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.7 0.65 } }
	}
}

Norway_WB_republican_portrait = {
	textured_emblem = {
		texture = "wb_nor_repub.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.56 0.7 } }
	}
}

Norway_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_nor_comm.dds"
		instance = { scale = { 1.67 1.67 } position = { 0.5 0.775 } }
	}
}

Norway_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_nor_fasch.dds"
		instance = { scale = { 1.55 1.55 } position = { 0.585 0.66 } }
	}
}

NOR = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "blue"

	colored_emblem = {
		texture = "ce_cross_norway.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Norway_WB_portrait" 
    }
}
NOR_canton = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "blue"

	colored_emblem = {
		texture = "ce_cross_england_fimbriated.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Norway_WB_subject_portrait" 
    }
}
NOR_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "blue"
	color4 = "yellow"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color3
		color2 = color3
		instance = { position = { 0.5 0.9 } scale = { 1.0 0.2 } }
	}	
	colored_emblem = {
		texture = "ce_stripe_bottom_nkp.dds"
		color1 = "white"
		color2 = "white"
	}	
	colored_emblem = {
		texture = "ce_hammer_and_sickle.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.16 0.25 } scale = { 0.45 0.45 } } 
	}	
	
	sub = {
        parent = "Norway_WB_communist_portrait" 
    }
}
NOR_fascist = {	
	# NS Flag
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	colored_emblem = {
		texture = "ce_cross_sweden.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }
	}	
	
	sub = {
        parent = "Norway_WB_fascist_portrait" 
    }
}

# WB originals

NOR_republic = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "white"
	color3 = "blue"

	colored_emblem = {
		texture = "ce_per_cross.dds"
		color1 = "red"
		color2 = "yellow"
		instance = { scale = { 1.5	 1.0 } position = { 0.45 0.5 } }
	}
	
	textured_emblem = {
		texture = "wb_nor_norwegian_lion.dds"
		instance = { scale = { 0.4 0.4 } position = { 0.22 0.25 } }
	}
	
	colored_emblem = {
		texture = "ce_cross_patty.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.2 0.2 } position = { 0.6 0.65 } }
	}
	
	colored_emblem = {
		texture = "ce_cross_patty.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.2 0.2 } position = { 0.6 0.85 } }
	}
	
	colored_emblem = {
		texture = "ce_cross_patty.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.2 0.2 } position = { 0.725 0.75 } }
	}
	
	colored_emblem = {
		texture = "ce_cross_patty.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.2 0.2 } position = { 0.85 0.65 } }
	}
	
	colored_emblem = {
		texture = "ce_cross_patty.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.2 0.2 } position = { 0.85 0.85 } }
	}
	
	sub = {
        parent = "Norway_WB_republican_portrait" 
    }
}

NOR_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "blue"

	colored_emblem = {
		texture = "ce_cross_norway.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Norway_WB_fascist_portrait" 
    }
}

NOR_anarchist = {
	pattern = "pattern_per_saltire.dds"
	color1 = "black"
	color2 = "red"
	color3 = "blue"
	color4 = "yellow"

	colored_emblem = {		
		texture = "ce_lion_supporter.dds"
		color1 = "yellow"
		color2 = "yellow"
        instance = { position = { 0.16 0.5 } scale = { -0.55 0.5 } }
	}

	sub = {
        parent = "Norway_WB_communist_portrait" 
    }
}

NOR_subject_denmark = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "blue"
	
	sub = {
        parent = "Norway_WB_subject_portrait" 
    }
}

NOR_santo_domingo = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "blue"
	
	colored_emblem = {
		texture = "ce_per_cross.dds"
		color1 = color3
		color2 = color3
		
		instance = { position = { 0.45 0.5 } scale = { 1.5 1.0 } }
	}

	colored_emblem = {
		texture = "ce_cross_sweden.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Norway_WB_portrait" 
    }
}

NOR_union_no_mark = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "blue"

	colored_emblem = {
		texture = "ce_cross_norway.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Norway_with_Sweden_WB_portrait" 
    }
}

NOR_union_yes_mark = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "blue"

	colored_emblem = {
		texture = "ce_cross_norway.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "sub_SWE_union_mark" 
		 instance = { scale = { @canton_scale_sweden_x @canton_scale_sweden_y }  }
    }
	
	sub = {
        parent = "Norway_with_Sweden_WB_portrait" 
    }
}


## Papal States / Pope-sama

Pope_WB_portrait = {
	textured_emblem = {
		texture = "wb_pap_theocracy.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.42 0.55 } }
	}
}

Pope_WB_subject_portrait = {
	textured_emblem = {
		texture = "wb_pap_theocracy.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.7 0.53 } }
	}
}

Pope_WB_republican_portrait = {
	textured_emblem = {
		texture = "wb_pap_repub.dds"
		instance = { scale = { 1.5 1.5 } position = { 0.53 0.77 } }
	}
}

Pope_WB_monarchist_portrait = {
	textured_emblem = {
		texture = "wb_pap_repub.dds"
		instance = { scale = { 1.5 1.5 } position = { 0.53 0.77 } }
	}
}

Pope_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_pap_comm.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.5 0.69 } }
	}
}

Pope_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_pap_fasch.dds"
		instance = { scale = { 1.3 1.28 } position = { 0.34 0.53 } }
	}
}

Pope_WB_dorime_portrait = {
	textured_emblem = {
		texture = "wb_dorime.dds"
		instance = { scale = { 1.2 1.2 } position = { 0.25 0.67 } }
	}
}

PAP = {
	pattern = "pattern_vertical_split_01.tga"
	color1 = "red"
	color2 = "yellow"
	
	sub = {
        parent = "Pope_WB_monarchist_portrait" 
    }
}
PAP_theocracy = {
	pattern = "pattern_vertical_split_01.tga"
	color1 = "yellow"
	color2 = "white"
	textured_emblem = {
		texture = "te_coa_papal_states_tiara.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.75 0.49 } }
	}		
	
	sub = {
        parent = "Pope_WB_portrait" 
    }
}
PAP_republic = {
	# BWR republican is for Rome/Latium
	pattern = "pattern_solid.tga"
	color1 = "black"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	
	sub = {
        parent = "Pope_WB_republican_portrait" 
    }
}
PAP_communist = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}		
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.56 0.56 } position = { 0.5 0.5 } } 
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.44 0.44 } position = { 0.5 0.5 } } 
	}
	
	sub = {
        parent = "Pope_WB_communist_portrait" 
    }
}
PAP_fascist = {	
	pattern = "pattern_solid.tga"
	color1 = "black"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_chi_rho.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.5 } }
	}	
	
	sub = {
        parent = "Pope_WB_fascist_portrait" 
    }
}

# WB originals

PAP_anarchist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "black"
	color2 = "red"	
	
	colored_emblem = {
		texture = "ce_keys_st_peter_knot.dds"
		color1 = "white"
		color2 = "grey"
		color3 = "yellow"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }		
	}	
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "grey"
		color3 = "yellow"
		instance = { scale = { 0.3 0.3 } position = { 0.5 0.25 } }		
	}
	
	sub = {
        parent = "Pope_WB_dorime_portrait" 
    }
}

PAP_roman_republic_1849 = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}		
	
	colored_emblem = {
		texture = "ce_letter_d.dds"
		color1 = "red"
		instance = { scale = { 0.2 0.2 } position = { 0.43 0.35 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_i.dds"
		color1 = "red"
		instance = { scale = { 0.2 0.2 } position = { 0.5 0.35 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_o.dds"
		color1 = "red"
		instance = { scale = { 0.2 0.2 } position = { 0.57 0.35 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_e.dds"
		color1 = "red"
		instance = { scale = { 0.15 0.15 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_p.dds"
		color1 = "red"
		instance = { scale = { 0.15 0.2 } position = { 0.38 0.65 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_o.dds"
		color1 = "red"
		instance = { scale = { 0.15 0.2 } position = { 0.43 0.65 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_p.dds"
		color1 = "red"
		instance = { scale = { 0.15 0.2 } position = { 0.48 0.65 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_o.dds"
		color1 = "red"
		instance = { scale = { 0.15 0.2 } position = { 0.53 0.65 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_l.dds"
		color1 = "red"
		instance = { scale = { 0.15 0.2 } position = { 0.58 0.65 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_o.dds"
		color1 = "red"
		instance = { scale = { 0.15 0.2 } position = { 0.63 0.65 } }
	}
	
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = "red"
		instance = { scale = { 0.03 0.03 } position = { 0.656 0.69 } }
	}
	
	textured_emblem = {
		texture = "wb_pap_repub.dds"
		instance = { scale = { 1.5 1.5 } position = { 0.65 0.77 } }
	}
}

PAP_theocracy_subject = {
	pattern = "pattern_vertical_split_01.tga"
	color1 = "yellow"
	color2 = "white"
	textured_emblem = {
		texture = "te_coa_papal_states_tiara.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.75 0.49 } }
	}		
	
	textured_emblem = {
		texture = "wb_pap_theocracy.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.74 0.55 } }
	}
}

PAP_monarchy_subject = {
	pattern = "pattern_vertical_split_01.tga"
	color1 = "red"
	color2 = "yellow"
	
	textured_emblem = {
		texture = "wb_pap_repub.dds"
		instance = { scale = { 1.5 1.5 } position = { 0.68 0.77 } }
	}
}


## Parma ##

Parma_WB_autocratic_portrait = {
	textured_emblem = {
		texture = "wb_par_autocratic.dds"
		instance = { scale = { 1.4 1.4 } position = { 0.5 0.66 } }
	}
}
Parma_WB_autocratic_alt_portrait = {
	textured_emblem = {
		texture = "wb_par_autocratic_alt.dds"
		instance = { scale = { 1.4 1.4 } position = { 0.5 0.66 } }
	}
}
Parma_WB_civil_portrait = {
	textured_emblem = {
		texture = "wb_par_civil.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.51 0.6 } }
	}
}
Parma_WB_civil_alt_portrait = {
	textured_emblem = {
		texture = "wb_par_civil_alt.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.51 0.6 } }
	}
}
Parma_WB_subject_portrait = {
	textured_emblem = {
		texture = "wb_par_autocratic.dds"
		instance = { scale = { 1.4 1.4 } position = { 0.72 0.66 } }
	}
}

PAR = {	# WB edit
	pattern = "pattern_solid.tga"
	color1 = "white"
	
	sub = {
        parent = "PAR_gironny" 
		instance = { scale = { 0.5 0.5 } offset = { 0.0 0.0 } } # top left
    }
	
	sub = {
        parent = "Parma_WB_autocratic_portrait" 
    }
}
PAR_absolute_monarchy = {
	# Great arms flag, before 1802 & after 1847
	
	pattern = "pattern_solid.tga"
	color1 = "white"
	
    sub = {
        parent = "sub_PAR_coa" 
		instance = { scale = { 0.85 0.85 } offset = { 0.075 0.075 } }
    }
	
	sub = {
        parent = "Parma_WB_autocratic_portrait" 
    }
}
PAR_absolute_monarchy_subject = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	
    sub = {
        parent = "sub_PAR_coa_subject" 
		instance = { scale = { 0.75 0.75 } offset = { 0.188 0.15 } }
    }
	
	sub = {
        parent = "Parma_WB_subject_portrait" 
    }
}
PAR_republic = {
	# WB edit
	
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "blue_light"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = "yellow" 
	}		
	
	
	sub = {
        parent = "Parma_WB_civil_portrait" 
    }
}
PAR_dictatorship = {
	# Gironny flag
	# WB edit
	
	pattern = "pattern_gironny_12.dds"
	color1 = "blue_light"
	color2 = "yellow"
	
	sub = {
        parent = "Parma_WB_autocratic_alt_portrait" 
    }
}
PAR_communist = {
	pattern = "pattern_vertical_split_01.tga"
	color1 = "red"
	color2 = "white"

	colored_emblem = {
		texture = "ce_hammer_sickle_italy.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.45 0.45 } position = { 0.17 0.24 } } 
	}		
	
	sub = {
        parent = "Parma_WB_civil_alt_portrait" 
    }
}

# WB originals

PAR_charles_iii = {
	pattern = "pattern_gironny_8.dds"
	color1 = "blue_light"
	color2 = "yellow"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { position = { 0.5 0.05 } scale = { 1.0 0.1 } }
		instance = { position = { 0.5 0.95 } scale = { 1.0 0.1 } }		
		instance = { position = { 0.05 0.5 } scale = { 0.1 1.0 } }	
		instance = { position = { 0.95 0.5 } scale = { 0.1 1.0 } }			
	}
	
	sub = {
        parent = "Parma_WB_autocratic_portrait" 
    }
}

PAR_fleur_flag = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "blue_light"
	
	colored_emblem = {
		texture = "ce_fleur_de_lis.dds"
		color1 = hex { 0040a1 }
		color2 = "red"
		instance = { position = { @[1/4] @[1/4] } scale = { 0.4 0.4 } }
		instance = { position = { @[3/4] @[1/4] } scale = { 0.4 0.4 } }
		instance = { position = { 0.5 @[1/4] } scale = { 0.4 0.4 } }
		
		instance = { position = { @[3/8] @[4/8] } scale = { 0.4 0.4 } }
		instance = { position = { @[5/8] @[4/8] } scale = { 0.4 0.4 } }
		
		instance = { position = { 0.5 @[6/8] } scale = { 0.4 0.4 } }
	}
	
	sub = {
        parent = "Parma_WB_autocratic_portrait" 
    }
}

PAR_monarchy_austria = { # original vanilla flag
	pattern = "pattern_vertical_split_01.tga"
	color1 = "red"
	color2 = "white"
	
	sub = {
        parent = "Parma_WB_autocratic_portrait" 
    }
}

PAR_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "blue_light"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = "yellow" 
	}		
	
	colored_emblem = {
		texture = "ce_cross_santiago.dds"
		color1 = "red"
		color2 = "yellow"
		instance = { scale = { 0.4 0.4 } position = { 0.21 0.19 } } 
	}
	
	sub = {
        parent = "Parma_WB_autocratic_portrait" 
    }
}

PAR_republic_subject = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "blue_light"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = "yellow" 
	}		
	
	textured_emblem = {
		texture = "wb_par_civil.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.75 0.6 } }
	}
}

PAR_anarchist = {
	pattern = "pattern_gironny_8.dds"
	color1 = "black"
	color2 = "red"
	
	sub = {
        parent = "Parma_WB_civil_alt_portrait" 
    }
}

PAR_gironny = {
	pattern = "pattern_gironny_8.dds"
	color1 = "blue_light"
	color2 = "yellow"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { position = { 0.5 0.05 } scale = { 1.0 0.15 } }
		instance = { position = { 0.5 0.95 } scale = { 1.0 0.15 } }		
		instance = { position = { 0.05 0.5 } scale = { 0.1 1.0 } }	
		instance = { position = { 0.95 0.5 } scale = { 0.1 1.0 } }			
	}
}

## Portugal / big Brazil's tiny mother ##

Portugal_WB_portrait = {
	textured_emblem = {
		texture = "wb_por_monarch.dds"
		instance = { scale = { 1.2 1.2 } position = { 0.63 0.575 } }
	}
}

Portugal_WB_subject_portrait = {
	textured_emblem = {
		texture = "wb_por_monarch.dds"
		instance = { scale = { 1.2 1.2 } position = { 0.7 0.55 } }
	}
}

Portugal_WB_republican_portrait = {
	textured_emblem = {
		texture = "wb_por_repub.dds"
		instance = { scale = { 1.5 1.5 } position = { 0.64 0.65 } }
	}
}

Portugal_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_por_comm.dds"
		instance = { scale = { 1.55 1.55 } position = { 0.61 0.65 } }
	}
}

Portugal_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_por_fasch.dds"
		instance = { scale = { 1.65 1.65 } position = { 0.6 0.65 } rotation = -5 }
	}

	textured_emblem = {
		texture = "wb_attack_lines_2.dds"
		instance = { scale = { 1.0 1.2 } position = { 0.5 0.4 }  }
	}
}

Portugal_WB_and_daughter_portrait = {

	textured_emblem = {
		texture = "wb_brz_monarch.dds"
		instance = { scale = { 1.6 1.6 } position = { 0.39 0.52 } }
	}
	
	textured_emblem = {
		texture = "wb_por_monarch.dds"
		instance = { scale = { 1.2 1.2 } position = { 0.695 0.7 } }
	}
}

POR = { # Portugal
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 0.5 1.0 } position = { 0.25 0.5 } }			
	}
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.68 0.75 } position = { 0.5 0.28 } }
	}
	textured_emblem = {
		texture = "te_coa_portugal.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.67 } }
	}	
	
	sub = {
        parent = "Portugal_WB_portrait" 
    }
}
POR_republic = {
	# 1910 Republican flag
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "green"
		color2 = "green"
		instance = { scale = { @third 1.0 } position = { @[third/2] 0.5 } }			
	}
	colored_emblem = {
		texture = "ce_armillary_sphere.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.75 0.75 } position = { @third 0.5 } }
	}
	textured_emblem = {
		texture = "te_coa_portuguese_republic.dds"
		instance = { scale = { 0.55 0.55 } position = { @third 0.5 } }
	}	
	
	sub = {
        parent = "Portugal_WB_republican_portrait" 
    }
}
POR_dictatorship = {
	# Design mostly borrowed from republican war flag
	
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "green"
		color2 = "green"
		instance = { scale = { 0.5 1.0 } position = { 0.25 0.5 } }			
	}
	colored_emblem = {
		texture = "ce_wreath.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.85 0.85 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_armillary_sphere.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.60 0.60 } position = { 0.5 0.5 } }
	}
	textured_emblem = {
		texture = "te_coa_portuguese_republic.dds"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.5 } }
	}	
	
	sub = {
        parent = "Portugal_WB_fascist_portrait" 
    }
}
POR_absolute_monarchy = {
	# 1816-26
	pattern = "pattern_solid.tga"
	color1 = "white"
	
	textured_emblem = {
		texture = "te_crown_cut.dds"
		instance = { scale = { 0.5 0.5 } position = { @third 0.235 } }
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 0.5 0.5 } position = { @third 0.58 } }
	}
	colored_emblem = {
		texture = "ce_armillary_sphere.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.7 0.7 } position = { @third 0.58 } }
	}

	textured_emblem = {
		texture = "te_coa_portugal.dds"
		instance = { scale = { 0.7 0.7 } position = { @third 0.58 } }
	}
	
	sub = {
        parent = "Portugal_WB_portrait" 
    }
}
POR_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "green"
	
	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "green"
		color2 = "green"
	}
	colored_emblem = {
		texture = "ce_hammer_and_sickle.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.16 0.29 } scale = { 0.4 0.4 } } 
	}
	colored_emblem = {
		texture = "ce_star_05_hollow.dds"
		color1 = color2
		color2 = color1
		instance = { position = { 0.14 0.11 } scale = { 0.12 0.12 } } 
	}	
	
	sub = {
        parent = "Portugal_WB_communist_portrait" 
    }
}
POR_fascist = {		
	# MNS flag
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_cross_order_christ.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}	
	
	sub = {
        parent = "Portugal_WB_fascist_portrait" 
    }
}
POR_subject = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.35 0.35 } position = { 0.75 0.30 } }
	}
	textured_emblem = {
		texture = "te_coa_portugal.dds"
		instance = { scale = { 0.67 0.67 } position = { 0.75 0.54 } }
	}	
	
	sub = {
        parent = "Portugal_WB_subject_portrait" 
    }
}

# WB originals

POR_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "red"
	color2 = "red"	
	
	colored_emblem = {
		texture = "ce_armillary_sphere.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }				
	}
	
	sub = {
        parent = "Portugal_WB_communist_portrait" 
    }
}

POR_BRZ_united_kingdom = {
	pattern = "pattern_horizontal_split_01.tga"
	color1 = "blue"
	color2 = "green"
	
	
	colored_emblem = {
		texture = "ce_rhombus.dds"
		color1 = "yellow"			
	}
	
	textured_emblem = {
		texture = "te_crown_cut.dds"
		instance = { scale = { 0.4 0.4 } position = { 0.5 0.2 } }
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 0.4 0.4 } position = { 0.5 0.53 } }
	}
	colored_emblem = {
		texture = "ce_armillary_sphere.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.53 } }
	}

	textured_emblem = {
		texture = "te_coa_portugal.dds"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.53 } }
	}
	
	colored_emblem = {
		texture = "ce_laurel.dds"
		instance = { scale = { 0.88 0.88 } position = { 0.5 0.57 } }
		color1 = "green"
		color2 = "red"		
	}	
	colored_emblem = {
		texture = "ce_laurel_knot.dds"
		instance = { scale = { 0.20 0.20 } position = { 0.5 0.85 } }
		color1 = "red"
		color2 = "red"		
	}
	
	sub = {
        parent = "Portugal_WB_and_daughter_portrait" 
    }
}

POR_BRZ_united_kingdom_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	
	textured_emblem = {
		texture = "te_crown_cut.dds"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.235 } }
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.58 } }
	}
	colored_emblem = {
		texture = "ce_armillary_sphere.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.58 } }
	}

	textured_emblem = {
		texture = "te_coa_portugal.dds"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.58 } }
	}
	
	sub = {
        parent = "Portugal_WB_and_daughter_portrait" 
    }
}


## Prussia ##

Prussia_WB_portrait = {
	textured_emblem = {
		texture = "wb_pru_monarch.dds"
		instance = { scale = { 1.7 1.7 } position = { 0.63 0.67 } }
	}
}

Prussia_WB_subject_portrait = {
	textured_emblem = {
		texture = "wb_pru_monarch.dds"
		instance = { scale = { 1.5 1.5 } position = { 0.7 0.6 } }
	}
}

Prussia_WB_republican_portrait = {
	textured_emblem = {
		texture = "wb_pru_repub.dds"
		instance = { scale = { 1.6 1.6 } position = { 0.55 0.67 } }
	}
}

Prussia_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_pru_comm.dds"
		instance = { scale = { 2. 2. } position = { 0.5 0.9 } }
	}
}

Prussia_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_pru_fasch.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.5 0.58 } }
	}
}

Prussia_WB_technocracy_portrait = {
	textured_emblem = {
		texture = "wb_pru_technocracy.dds"
		instance = { scale = { 1.43 1.43 } position = { 0.48 0.62 } }
	}
}


PRU = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_eagle_prussia.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }	
		color1 = "black"
		color2 = "yellow"	
		color3 = "pearl"		
	}		
	textured_emblem = {
		texture = "te_crown_cut.dds"
		instance = { scale = { 0.15 0.20 } position = { 0.52 0.195 } rotation = 12 }
	}		
	
	sub = {
        parent = "Prussia_WB_portrait" 
    }
}
PRU_teutonic_order = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "black"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	
	# WB note - should make a Teuton portrait at some point
	sub = {
        parent = "Prussia_WB_portrait" 
    }
}
PRU_republic = {
	pattern = "pattern_solid.tga"
	color1 = "black"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "black"
	}
	
	sub = {
        parent = "Prussia_WB_republican_portrait" 
    }
}
PRU_absolute_monarchy = {
	# Late 19th c. with stripes and changes to the eagle (scepter-sword, monogram, bone links)
	# Starting flag although PRU is the historical one (more convenient and still fits the gov type)
	
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 1.0 0.18 } position = { 0.5 0.09 } }	
		instance = { scale = { 1.0 0.18 } position = { 0.5 0.91 } }			
	}
	textured_emblem  = {
		texture = "te_eagle_prussia_monogram_crown.dds"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.485 } }	
	}		
	
	sub = {
        parent = "Prussia_WB_portrait" 
    }
}
PRU_communist = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 1.0 0.18 } position = { 0.5 0.09 } }	
		instance = { scale = { 1.0 0.18 } position = { 0.5 0.91 } }			
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "red"
		color2 = "red"
		instance = {  scale = { 0.45 0.45 } position = { 0.5 0.53 } }
	}	
	colored_emblem = {
		texture = "ce_hammer_and_sickle.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.30 0.30 } position = { 0.5 0.53 } }
	}		
	colored_emblem = {
		texture = "ce_coa_frame_austria.dds"
		color1 = "yellow"
		color2 = "white"
		color3 = "black"
		instance = { scale = { 0.60 0.60 } position = { 0.5 0.53 }  }	
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.24 0.24 } position = { 0.5 0.31 } }			
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.18 0.18 } position = { 0.5 0.31 } }			
	}		
	
	sub = {
        parent = "Prussia_WB_communist_portrait" 
    }
}
PRU_fascist = {		
	# Parteiadler with prussian design. The Iron cross replaces the swastika
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 1.0 0.18 } position = { 0.5 0.09 } }	
		instance = { scale = { 1.0 0.18 } position = { 0.5 0.91 } }			
	}
	colored_emblem = {
		texture = "ce_parteiadler.dds"
		color1 = "black"
		color2 = "grey"
		color3 = "white"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.49 } }
	}	
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "grey"
		color2 = "black"
		instance = { scale = { 0.18 0.18 } position = { 0.5 0.645 } }
	}	
	
	sub = {
        parent = "Prussia_WB_fascist_portrait" 
    }
}
PRU_subject = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_eagle_prussia.dds"
		instance = { scale = { 0.9 0.9 } position = { 0.67 0.5 } }	
		color1 = "black"
		color2 = "yellow"	
		color3 = "pearl"		
	}	
	textured_emblem = {
		texture = "te_crown_cut.dds"
		instance = { scale = { 0.14 0.18 } position = { 0.685 0.225 } rotation = 12 }
	}		
	
	sub = {
        parent = "Prussia_WB_subject_portrait" 
    }
}

# WB originals

PRU_anarchist = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 1.0 0.18 } position = { 0.5 0.09 } }	
		instance = { scale = { 1.0 0.18 } position = { 0.5 0.91 } }			
	}
	textured_emblem  = {
		texture = "te_eagle_prussia_monogram_crown.dds"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.485 } }	
	}
	
	sub = {
        parent = "Prussia_WB_communist_portrait" 
    }
}

PRU_technocracy = {
	pattern = "pattern_solid.tga"
	color1 = "black"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "black"
	}
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "wb_ce_hu_berlin.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.53 0.53 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Prussia_WB_technocracy_portrait" 
    }
}

PRU_monarchy_technocracy = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 1.0 0.18 } position = { 0.5 0.09 } }	
		instance = { scale = { 1.0 0.18 } position = { 0.5 0.91 } }			
	}
	textured_emblem  = {
		texture = "te_eagle_prussia_monogram_crown.dds"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.485 } }	
	}		
	
	sub = {
        parent = "Prussia_WB_technocracy_portrait" 
    }
}

PRU_communist_technocracy = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 1.0 0.18 } position = { 0.5 0.09 } }	
		instance = { scale = { 1.0 0.18 } position = { 0.5 0.91 } }			
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "red"
		color2 = "red"
		instance = {  scale = { 0.45 0.45 } position = { 0.5 0.53 } }
	}	
	colored_emblem = {
		texture = "ce_hammer_and_sickle.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.30 0.30 } position = { 0.5 0.53 } }
	}		
	colored_emblem = {
		texture = "ce_coa_frame_austria.dds"
		color1 = "yellow"
		color2 = "white"
		color3 = "black"
		instance = { scale = { 0.60 0.60 } position = { 0.5 0.53 }  }	
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.24 0.24 } position = { 0.5 0.31 } }			
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.18 0.18 } position = { 0.5 0.31 } }			
	}		
	
	sub = {
        parent = "Prussia_WB_technocracy_portrait" 
    }
}

## Russia ##

Russia_WB_portrait = {
	textured_emblem = {
		texture = "wb_rus_monarch.dds"
		instance = { scale = { 1.9 1.9 } position = { 0.45 0.53 } }
	}
}

Russia_WB_republican_portrait = {
	textured_emblem = {
		texture = "wb_rus_repub.dds"
		instance = { scale = { 1.6 1.6 } position = { 0.6 0.75 } }
	}
}

Russia_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_rus_comm.dds"
		instance = { scale = { 1.6 1.6 } position = { 0.73 0.75 } }
	}
}

Russia_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_rus_fasch.dds"
		instance = { scale = { 1.6 1.6 } position = { 0.5 0.5 } }
	}
}


RUS = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "blue"
		color2 = "red"
	}
	
	sub = {
        parent = "Russia_WB_portrait" 
    }
}
RUS_imperial = {
	# 1858-1914
	
	pattern = "pattern_solid.tga"
	color1 = "black"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "yellow"
		color2 = "white"
	}
	
	sub = {
        parent = "Russia_WB_portrait" 
    }
}
RUS_absolute_monarchy = {
	# 19th c. imperial coat of arms
	
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "black"
	
    sub = {
        parent = "sub_RUS_crown" 
        instance = { scale = { 0.4 0.4 } offset = { 0.3 0.05 } }
    }
    sub = {
        parent = "sub_RUS_coa" 
        instance = { scale = { 0.9 0.9 } offset = { 0.05 0.075 } }
    }		
	
	sub = {
        parent = "Russia_WB_portrait" 
    }
}
RUS_republic = {
	# Imperial flag & modern republican flag
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "blue"
		color2 = "red"
	}
	
	sub = {
        parent = "Russia_WB_republican_portrait" 
    }
}
RUS_oligarchy = {	
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "blue"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { @third @[third*2] } position = { @[third/2] @third } }			
	}		
	textured_emblem = {
		texture = "te_eagle_russia_crowned.dds"
		instance = { scale = { 0.6 0.6 } position = { @[third/2] @third } }
	}			
	
	sub = {
        parent = "Russia_WB_republican_portrait" 
    }
}
RUS_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 1.0 0.10 } position = { 0.5 0.5 } }		
		instance = { scale = { 0.066 1.0 } position = { 0.5 0.5 } }			
	}		
	colored_emblem = {
		texture = "ce_saltire_fimbriated.dds"
		color1 = "white"
		color2 = "blue"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }			
	}	
	
	sub = {
        parent = "Russia_WB_fascist_portrait" 
    }
}
RUS_soviet_union = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_hammer_and_sickle.dds"
		color1 = color2
		color2 = color2
        instance = { scale = { @third @third } position = { 0.222 @third }  }
	}
	colored_emblem = {
		texture = "ce_star_05_hollow.dds"
		color1 = color2
		color2 = color1
        instance = { scale = { 0.145 0.145 } position = { 0.222 0.125 }  }
	}
	
	textured_emblem = {
		texture = "wb_rus_comm_ssr.dds"
		instance = { scale = { 1.4 1.4 } position = { 0.55 0.6 } }
	}

	textured_emblem = {
		texture = "wb_rus_comm.dds"
		instance = { scale = { 1.6 1.6 } position = { 0.73 0.75 } }
	}
}
RUS_fascist = {		
	# ROA flag
	pattern = "pattern_solid.tga"
	color1 = "white"
	
	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = "blue"
		color2 = "blue"
	}	
	
	sub = {
        parent = "Russia_WB_fascist_portrait" 
    }
}
RUS_theocracy = {		
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	textured_emblem = {
		texture = "te_st_george_and_the_dragon.dds"
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.51 } }
	}		
	
	sub = {
        parent = "Russia_WB_portrait" 
    }
}

RUS_nihilist = {	
	pattern = "pattern_solid.tga"
	color1 = "black"
	
	sub = {
        parent = "Russia_WB_republican_portrait" 
    }
}

# WB originals

RUS_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "black"
	color2 = "black"	
	
	colored_emblem = {
		texture = "wb_ce_kronstadt rebellion_flag.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 1.0 1.0 } position = { 0.35 0.5 } }
	}
	
	textured_emblem = {
		texture = "wb_rus_fasch.dds"
		instance = { scale = { 1.6 1.6 } position = { 0.65 0.5 } }
	}
}

RUS_wb_soviet_union_just_russia = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_hammer_and_sickle.dds"
		color1 = color2
		color2 = color2
        instance = { scale = { @third @third } position = { 0.222 @third }  }
	}
	colored_emblem = {
		texture = "ce_star_05_hollow.dds"
		color1 = color2
		color2 = color1
        instance = { scale = { 0.145 0.145 } position = { 0.222 0.125 }  }
	}

	sub = {
        parent = "Russia_WB_communist_portrait" 
    }
}

## Sardinia-Piedmont / Waifu Universalis' Italy

Sardinia_Piedmont_WB_portrait = {
	textured_emblem = {
		texture = "wb_sar_monarch.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.505 0.656 } }
	}
}

Sardinia_Piedmont_WB_subject_portrait = {
	textured_emblem = {
		texture = "wb_sar_monarch.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.725 0.656 } }
	}
}

Sardinia_Piedmont_WB_republican_portrait = {
	textured_emblem = {
		texture = "wb_sar_repub.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.46 0.605 } }
	}
}

Sardinia_Piedmont_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_sar_comm.dds"
		instance = { scale = { 1.4 1.4 } position = { 0.58 0.635 } }
	}
}
Sardinia_Piedmont_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_sar_fasch.dds"
		instance = { scale = { 1.75 1.75 } position = { 0.57 0.79 } }
	}
}

SAR = { # WB edit
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { position = { 0.25 0.25 } scale = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_cross_sardinia.dds"
		color1 = "white"
		color2 = "red"
		instance = { position = { 0.25 0.25 } scale = { 0.5 0.5 } }
	}	
	
	sub = {
        parent = "Sardinia_Piedmont_WB_portrait" 
    }
}

SAR_absolute_monarchy = { # WB new
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { position = { 0.25 0.25 } scale = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_cross_sardinia.dds"
		color1 = "white"
		color2 = "red"
		instance = { position = { 0.25 0.25 } scale = { 0.5 0.5 } }
	}
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.17 0.17 } position = { 0.25 0.050 } }
	}	
	
	sub = {
        parent = "Sardinia_Piedmont_WB_portrait" 
    }
}

SAR_republic = { # WB edit
	pattern = "pattern_cross.dds"
	color1 = "red"
	color2 = "white"

	colored_emblem = {
		texture = "ce_border_compony.dds"
		color1 = "blue"
		color2 = "blue"
	}
	
	colored_emblem = {
		texture = "wb_ce_label.dds"
		color1 = "blue"
		color2 = "red"
		instance = { position = { 0.5 0.25 } scale = { 0.7 0.7 } }
	}
	
	sub = {
        parent = "Sardinia_Piedmont_WB_republican_portrait" 
    }
}
SAR_canton = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_cross_sardinia.dds"
		color1 = "white"
		color2 = "red"
		instance = { position = { 0.5 0.5 } scale = { 1.0 1.0 } }
	}
	
	sub = {
        parent = "Sardinia_Piedmont_WB_portrait" 
    }
}
SAR_communist = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { @[0.25*1.5] 0.5 } position = { @[0.25*1.5/2] 0.25 } }
	}
	colored_emblem = {
		texture = "ce_hammer_sickle_italy.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.45 0.45 } position = { 0.17 0.24 } } 
	}	
	
	sub = {
        parent = "Sardinia_Piedmont_WB_communist_portrait" 
    }
}
SAR_subject = {
	# Based on royal standard
	pattern = "pattern_border_of_4.dds"
	color1 = "white"
	color2 = "blue"
		
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.36 0.36 } position = { 0.75 0.300 } }
	}
	colored_emblem = {
		texture = "ce_shield_cross.dds"
		color1 = "black"
		color2 = "black"
		color3 = "black"
		instance = { scale = { 0.46 0.46 } position = { 0.75 0.54 } }
	}		
	colored_emblem = {
		texture = "ce_shield_cross.dds"
		color1 = "red"
		color2 = "white"
		color3 = "white"
		instance = { scale = { 0.45 0.45 } position = { 0.75 0.54 } }
	}	
	
	sub = {
        parent = "Sardinia_Piedmont_WB_subject_portrait" 
    }
}
SAR_subject_GBR = {
	pattern = "pattern_border_of_4.dds"
	color1 = "blue"
	color2 = "red"
		
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.36 0.36 } position = { 0.75 0.300 } }
	}
	colored_emblem = {
		texture = "ce_shield_cross.dds"
		color1 = "red"
		color2 = "white"
		color3 = "white"
		instance = { scale = { 0.45 0.45 } position = { 0.75 0.54 } }
	}	
	
	sub = {
        parent = "Sardinia_Piedmont_WB_subject_portrait" 
    }
}

# WB originals

SAR_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { position = { 0.25 0.25 } scale = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_cross_sardinia.dds"
		color1 = "white"
		color2 = "red"
		instance = { position = { 0.25 0.25 } scale = { 0.5 0.5 } }
	}
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.17 0.17 } position = { 0.25 0.050 } }
	}	
	
	sub = {
        parent = "Sardinia_Piedmont_WB_fascist_portrait" 
    }
}

SAR_anarchist = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_per_saltire_counterchanged.dds"
		color1 = "black"
		color2 = "red"
		instance = { scale = { @[0.25*1.5] 0.5 } position = { @[0.25*1.5/2] 0.25 } rotation = 90 }
	}
	colored_emblem = {
		texture = "ce_per_saltire_counterchanged.dds"
		color1 = "red"
		color2 = "black"
		instance = { scale = { @[0.25*1.5] 0.5 } position = { @[0.25*1.5/2] 0.25 } }
	}	
	
	sub = {
        parent = "Sardinia_Piedmont_WB_communist_portrait" 
    }
}

# Savoy / Sardinia-Piedmont is actually Savoy in Waifu Universalis, and in WB Savoy will only get a portrait if S-P/S-P Italy does not exist

SAV = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	
	sub = {
        parent = "Sardinia_Piedmont_WB_portrait" 
    }
}

# WB originals

SAV_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	
	colored_emblem = {
		texture = "ce_letter_f.dds"
		color1 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.22 0.2 } }
	}
	colored_emblem = {
		texture = "ce_letter_e.dds"
		color1 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.795 0.2 } }
	}
	colored_emblem = {
		texture = "ce_letter_r.dds"
		color1 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.22 0.8 } }
	}
	colored_emblem = {
		texture = "ce_letter_t.dds"
		color1 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.795 0.8 } }
	}
	
	sub = {
        parent = "Sardinia_Piedmont_WB_portrait" 
    }
}

SAV_subject = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	
	sub = {
        parent = "Sardinia_Piedmont_WB_subject_portrait" 
    }
}

SAV_republic = {
	pattern = "pattern_border_of_4.dds"
	color1 = "blue"
	color2 = "red"

	colored_emblem = {
		texture = "ce_frame_square.dds"
		color1 = "red"
		instance = { scale = { 0.55 0.45 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.37 0.45 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Sardinia_Piedmont_WB_republican_portrait" 
    }
}

SAV_dictatorship = {
	pattern = "pattern_border_of_4.dds"
	color1 = "red"
	color2 = "blue"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.865 0.8 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Sardinia_Piedmont_WB_fascist_portrait" 
    }
}

SAV_communist = {
	pattern = "pattern_border_of_4.dds"
	color1 = "blue"
	color2 = "red"

	colored_emblem = {
		texture = "ce_frame_square.dds"
		color1 = "red"
		instance = { scale = { 0.55 0.45 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Sardinia_Piedmont_WB_communist_portrait" 
    }
}

SAV_anarchist = {	
	pattern = "pattern_per_bend_senester.dds"
	color1 = "red"
	color2 = "black"
	
	colored_emblem = {
		texture = "ce_star_05_hollow.dds"
		color1 = "black"
		color2 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.23 0.3 } }
	}
	
	sub = {
        parent = "Sardinia_Piedmont_WB_communist_portrait" 
    }
}

# Portrait-less flag, if Sardinia-Piedmont or S-P unifed Italy exists

SAV_empty = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
}

SAV_absolute_monarchy_empty = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	
	colored_emblem = {
		texture = "ce_letter_f.dds"
		color1 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.22 0.2 } }
	}
	colored_emblem = {
		texture = "ce_letter_e.dds"
		color1 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.795 0.2 } }
	}
	colored_emblem = {
		texture = "ce_letter_r.dds"
		color1 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.22 0.8 } }
	}
	colored_emblem = {
		texture = "ce_letter_t.dds"
		color1 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.795 0.8 } }
	}
}

SAV_republic_empty = {
	pattern = "pattern_border_of_4.dds"
	color1 = "blue"
	color2 = "red"

	colored_emblem = {
		texture = "ce_frame_square.dds"
		color1 = "red"
		instance = { scale = { 0.55 0.45 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.37 0.45 } position = { 0.5 0.5 } }
	}
}

SAV_dictatorship_empty = {
	pattern = "pattern_border_of_4.dds"
	color1 = "red"
	color2 = "blue"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.865 0.8 } position = { 0.5 0.5 } }
	}
}

SAV_communist_empty = {
	pattern = "pattern_border_of_4.dds"
	color1 = "blue"
	color2 = "red"

	colored_emblem = {
		texture = "ce_frame_square.dds"
		color1 = "red"
		instance = { scale = { 0.55 0.45 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.5 } }
	}
}

SAV_anarchist_empty = {	
	pattern = "pattern_per_bend_senester.dds"
	color1 = "red"
	color2 = "black"
	
	colored_emblem = {
		texture = "ce_star_05_hollow.dds"
		color1 = "black"
		color2 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.23 0.3 } }
	}
}

## Serbia

Serbia_WB_portrait = {
	textured_emblem = {
		texture = "wb_ser_monarch.dds"
		instance = { scale = { 1.46 1.46 } position = { 0.54 0.63 } }
	}
}

Serbia_WB_subject_portrait = {
	textured_emblem = {
		texture = "wb_ser_monarch.dds"
		instance = { scale = { 1.16 1.16 } position = { 0.71 0.53 } }
	}
}

Serbia_WB_republican_portrait = {
	textured_emblem = {
		texture = "wb_ser_monarch.dds"
		instance = { scale = { 1.46 1.46 } position = { 0.54 0.63 } }
	}
}

Serbia_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_ser_monarch.dds"
		instance = { scale = { 1.46 1.46 } position = { 0.54 0.63 } }
	}
}

Serbia_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_ser_monarch.dds"
		instance = { scale = { 1.46 1.46 } position = { 0.54 0.63 } }
	}
}

SER = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "blue"
		color2 = "white"
	}
	
	sub = {
        parent = "Serbia_WB_republican_portrait" 
    }
}

SER_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "blue"
		color2 = "white"
	}
	colored_emblem = {
		texture = "ce_shield_iberian_cross_thin.dds"
		color1 = "red"
		color2 = "white"
		instance = { scale = { 0.41 0.41 } position = { 0.5 0.49 } }			
	}	
	colored_emblem = {
		texture = "ce_letter_beta.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { -0.14 0.14 } position = { 0.45 0.41 } }			
		instance = { scale = { 0.14 0.14 } position = { 0.55 0.41 } }		
		instance = { scale = { -0.125 0.125 } position = { 0.453 0.565 } }			
		instance = { scale = { 0.125 0.125 } position = { 0.547 0.565 } }			
	}	
	
	sub = {
        parent = "Serbia_WB_portrait" 
    }
}
SER_subject = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_shield_iberian_cross_thin.dds"
		color1 = "red"
		color2 = "white"
		instance = { scale = { 0.41 0.41 } position = { 0.75 0.55 } }			
	}	
	colored_emblem = {
		texture = "ce_letter_beta.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { -0.14 0.14 } position = { 0.70 0.47 } }			
		instance = { scale = { 0.14 0.14 } position = { 0.80 0.47 } }		
		instance = { scale = { -0.125 0.125 } position = { 0.703 0.625 } }			
		instance = { scale = { 0.125 0.125 } position = { 0.797 0.625 } }			
	}	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.25 0.25 } }
	}	
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.3 0.3 } position = { 0.75 0.34 } }		
	}	
		
	sub = {
        parent = "Serbia_WB_subject_portrait" 
    }
}
SER_subject_TUR = {
	# There are several variants of the Turkish constitution flag (four stars in canton, in gold or crescent+stars - some of them erroneous)
	
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "blue"
		color2 = "white"
	}
	colored_emblem = {
		texture = "ce_shield_iberian_cross_thin.dds"
		color1 = "red"
		color2 = "white"
		instance = { scale = { 0.41 0.41 } position = { 0.5 0.49 } }			
	}	
	colored_emblem = {
		texture = "ce_letter_beta.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { -0.14 0.14 } position = { 0.45 0.41 } }			
		instance = { scale = { 0.14 0.14 } position = { 0.55 0.41 } }		
		instance = { scale = { -0.125 0.125 } position = { 0.453 0.565 } }			
		instance = { scale = { 0.125 0.125 } position = { 0.547 0.565 } }			
	}	
	colored_emblem = {
		texture = "ce_star_06.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.275 0.275 } position = { 0.25 0.17 } }
		instance = { scale = { 0.275 0.275 } position = { 0.5 0.17 } }
		instance = { scale = { 0.275 0.275 } position = { 0.75 0.17 } }		
	}	
	
	sub = {
        parent = "Serbia_WB_portrait" 
    }
}

# WB originals

wb_serbia_coa_sub = {
	colored_emblem = {
		texture = "ce_shield_iberian_cross_thin.dds"
		color1 = "red"
		color2 = "white"
		instance = { scale = { 0.41 0.41 } position = { 0.5 0.49 } }			
	}	
	colored_emblem = {
		texture = "ce_letter_beta.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { -0.14 0.14 } position = { 0.45 0.41 } }			
		instance = { scale = { 0.14 0.14 } position = { 0.55 0.41 } }		
		instance = { scale = { -0.125 0.125 } position = { 0.453 0.565 } }			
		instance = { scale = { 0.125 0.125 } position = { 0.547 0.565 } }			
	}
	
	colored_emblem = {
		texture = "ce_wreath.dds"
		color1 = "green"
		color2 = "white"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_ribbon.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 0.2 0.2 } position = { 0.5 0.75 } }
	}
}

wb_serbia_coa_no_wreath_sub = {
	colored_emblem = {
		texture = "ce_shield_iberian_cross_thin.dds"
		color1 = "red"
		color2 = "white"
		instance = { scale = { 0.41 0.41 } position = { 0.5 0.49 } }			
	}	
	colored_emblem = {
		texture = "ce_letter_beta.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { -0.14 0.14 } position = { 0.45 0.41 } }			
		instance = { scale = { 0.14 0.14 } position = { 0.55 0.41 } }		
		instance = { scale = { -0.125 0.125 } position = { 0.453 0.565 } }			
		instance = { scale = { 0.125 0.125 } position = { 0.547 0.565 } }			
	}
}

SER_principality = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "blue"
		color2 = "white"
	}
	
	textured_emblem = {
		texture = "te_coa_mantle.dds"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.51 } }
	}
	
	textured_emblem = {
		texture = "te_crown_cut.dds"
		instance = { scale = { 0.2 0.2 } position = { 0.5 0.34 } }
	}
	
	sub = {
        parent = "wb_serbia_coa_sub" 
		instance = { scale = { 0.5 0.5 } offset = { 0.25 0.27 } }
		
    }
	
	sub = {
        parent = "Serbia_WB_portrait" 
    }
}

SER_principality_TUR = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "blue"
		color2 = "white"
	}
	
	textured_emblem = {
		texture = "te_coa_mantle.dds"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.51 } }
	}
	
	textured_emblem = {
		texture = "te_crown_cut.dds"
		instance = { scale = { 0.2 0.2 } position = { 0.5 0.34 } }
	}
	
	sub = {
        parent = "wb_serbia_coa_sub" 
		instance = { scale = { 0.5 0.5 } offset = { 0.25 0.27 } }
    }
	
	colored_emblem = {
		texture = "ce_star_08.dds"
		instance = { scale = { 0.13 0.13 } position = { 0.1 0.25 } }	
		instance = { scale = { 0.13 0.13 } position = { 0.24 0.25 } }
		instance = { scale = { 0.13 0.13 } position = { 0.1 0.1 } }		
		instance = { scale = { 0.13 0.13 } position = { 0.24 0.1 } }
		color1 = "white"
		color2 = "white"		
	}
	
	sub = {
        parent = "Serbia_WB_portrait" 
    }
}

SER_subject_AUS = {
	# Sretenje Constitution flag
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "blue"
	}
	
	sub = {
        parent = "wb_serbia_coa_sub" 
		instance = { scale = { 0.55 0.55 } offset = { 0.23 0.23 } }
		
    }
	
	sub = {
        parent = "Serbia_WB_portrait" 
    }
}

SER_kingdom = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "blue"
		color2 = "white"
	}
	
	textured_emblem = {
		texture = "wb_ser_coa.png"
		instance = { scale = { 0.85 0.85 } position = { 0.5 0.47 } }
	}
	
	sub = {
        parent = "Serbia_WB_portrait" 
    }
}

SER_dictatorship = {
	# Based off the flag of the Royal Serbian Army
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "blue"
		color2 = "white"
	}
	
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 1.25 1.25 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = "red"
		color2 = "yellow"
		instance = { scale = { 1.2 1.2 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_eagle_double_headed.dds"
		color1 = "white"
		color2 = "yellow"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }
	}
	
	textured_emblem = {
		texture = "te_crown_cut.dds"
		instance = { scale = { 0.23 0.23 } position = { 0.5 0.23 } }
	}
	
	sub = {
        parent = "wb_serbia_coa_no_wreath_sub" 
		instance = { scale = { 0.6 0.6 } offset = { 0.2 0.2 } }
    }
	
	sub = {
        parent = "Serbia_WB_fascist_portrait" 
    }
}
	
SER_fascist = {
	pattern = "pattern_solid.tga"
	color1 = "black"

	colored_emblem = {
		texture = "wb_ce_makhnovshchina_skull.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.48 } }
	}
	
	sub = {
        parent = "Serbia_WB_fascist_portrait" 
    }
}

SER_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "blue"
		color2 = "white"
	}
	
	colored_emblem = {
		texture = "ce_frame_square.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.08 0.65 } position = { 0.5 0.5 } }
		instance = { scale = { 0.65 0.08 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_beta.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { -0.35 0.35 } position = { 0.35 0.3 } }			
		instance = { scale = { 0.35 0.35 } position = { 0.65 0.3 } }		
		instance = { scale = { -0.35 0.35 } position = { 0.35 0.7 } }			
		instance = { scale = { 0.35 0.35 } position = { 0.65 0.7 } }			
	}
	
	sub = {
        parent = "Serbia_WB_portrait" 
    }
}
	
SER_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "blue"
		color2 = "white"
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 0.72 0.72 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Serbia_WB_communist_portrait" 
    }
}

SER_anarchist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "black"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "red"
		instance = { scale = { 0.72 0.72 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Serbia_WB_communist_portrait" 
    }
}


## Spain / Waifu Universalis' Castile and Aragon
# Technically Spain should really be just Castile since Aragon was absorbed into Castile in the early 18th century. But since the Spains are two in WU and Spains will also be two in WB for consistency.

Spain_WB_portrait = {
	textured_emblem = {
		texture = "wb_spa_monarch.dds"
		instance = { scale = { 1.37 1.37 } position = { 0.5 0.65 } }
	}
}

Spain_WB_subject_portrait = {
	textured_emblem = {
		texture = "wb_spa_monarch.dds"
		instance = { scale = { 1.37 1.37 } position = { 0.51 0.6 } }
	}
}

Spain_WB_republican_portrait = {
	textured_emblem = {
		texture = "wb_spa_republic_aragon.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.39 0.7 } }
	}
	textured_emblem = {
		texture = "wb_spa_republic_castile.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.62 0.68 } }
	}
}

Spain_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_spa_communist_castile.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.39 0.71 } }
	}
	textured_emblem = {
		texture = "wb_spa_communist_aragon.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.58 0.65 } }
	}
}

Spain_WB_fascist_portrait = {

	textured_emblem = {
		texture = "wb_spa_fasch.dds"
		instance = { scale = { 1.6 1.6 } position = { 0.45 0.71 } }
	}
}


SPA = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 1.0 0.25 } position = { 0.5 0.125 } }	
		instance = { scale = { 1.0 0.25 } position = { 0.5 0.875 } }			
	}
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.35 0.35 } position = { 0.33 0.36 } }
	}		
    sub = {
        parent = "sub_SPA_coa" 
        instance = { scale = { 0.5 0.5 } offset = { 0.08 0.32 } }
    }	
	
	sub = {
        parent = "Spain_WB_portrait" 
    }
}
SPA_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"

	colored_emblem = {
		texture = "ce_cross_burgundy.dds"
		color1 = color2
		color2 = color2
	}
	
	sub = {
        parent = "Spain_WB_portrait" 
    }
}
SPA_republic = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "purple"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	textured_emblem = {
		texture = "te_coa_spanish_republic.dds"
		instance = { position = { 0.5 0.51 }scale = { 0.45 0.45 } } 
	}
	
	sub = {
        parent = "Spain_WB_republican_portrait" 
    }
}
SPA_dictatorship = {
	# Just the overall idea for now : Will look much better with the corrected eagle as supporter
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"

	colored_emblem = {
		texture = "ce_cross_burgundy.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = "yellow_dark"
		color2 = "yellow_dark"
		instance = { scale = { 0.28 0.28 } position = { 0.505 0.315 } }
	}		
	colored_emblem = {
		texture = "ce_eagle.dds"
		color1 = "black"
		color2 = "yellow"
		color3 = "white"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }
	}		
	colored_emblem = {
		texture = "ce_wreath.dds"
		color1 = "green"
		color2 = "green"
		instance = { scale = { 0.32 0.32 } position = { 0.5 0.55 } }
	}
	textured_emblem = {
		texture = "te_coa_spanish_republic.dds"
		instance = { scale = { 0.37 0.37 } position = { 0.5 0.50 } } 
	}
	
	sub = {
        parent = "Spain_WB_fascist_portrait" 
    }
}
SPA_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "purple"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color3
		color2 = color3
		instance = { position = { 0.5 0.875 } scale = { 1.0 0.25 } } 		
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.5 0.75 } scale = { 1.0 0.1 } } 		
	}	
	colored_emblem = {
		texture = "ce_hammer_and_sickle_round.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.16 0.24 } scale = { 0.4 0.4 } } 
	}
	
	sub = {
        parent = "Spain_WB_communist_portrait" 
    }
}
SPA_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 1.0 0.25 } position = { 0.5 0.125 } }	
		instance = { scale = { 1.0 0.25 } position = { 0.5 0.875 } }			
	}		
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.28 0.56 } position = { 0.33 0.5 } rotation = 45 }				
	}	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.25 0.5 } position = { 0.33 0.5 } rotation = 45 }				
	}
	
	colored_emblem = {
		texture = "ce_cross_santiago.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.6 0.6 } position = { 0.33 0.52 } }
	}	
	
	sub = {
        parent = "Spain_WB_portrait" 
    }
}
SPA_subject = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 1.0 0.2 } position = { 0.5 0.1 } }	
		instance = { scale = { 1.0 0.2 } position = { 0.5 0.9 } }			
	}
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.35 0.35 } position = { 0.75 0.34 } }
	}	
	colored_emblem = {
		texture = "ce_shield_round_per_pale.dds"
		color1 = "yellow_dark"
		color2 = "yellow"
		instance = { scale = { 0.42 0.42 } position = { 0.75 0.55 } }
	}	
    sub = {
        parent = "sub_SPA_coa" 
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.30 } }
    }	
	
	sub = {
        parent = "Spain_WB_subject_portrait" 
    }
}
SPA_subject_GBR = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.35 0.35 } position = { 0.75 0.34 } }
	}	
	colored_emblem = {
		texture = "ce_shield_round_per_pale.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.425 0.425 } position = { 0.75 0.55 } }
	}	
    sub = {
        parent = "sub_SPA_coa" 
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.30 } }
    }	
	
	sub = {
        parent = "Spain_WB_subject_portrait" 
    }
}

# WB originals

SPA_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "black"
	color2 = "red"	
	
	colored_emblem = {
		texture = "ce_letter_c.dds"
		color1 = "white"
		instance = { scale = { 0.3 0.3 } position = { 0.11 0.8 } }		
	}
	
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = "white"
		instance = { scale = { 0.04 0.04 } position = { 0.166 0.86 } }		
	}
	
	colored_emblem = {
		texture = "ce_letter_n.dds"
		color1 = "white"
		instance = { scale = { 0.3 0.3 } position = { 0.24 0.8 } }		
	}
	
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = "white"
		instance = { scale = { 0.04 0.04 } position = { 0.3 0.86 } }		
	}
	
	colored_emblem = {
		texture = "ce_letter_t.dds"
		color1 = "white"
		instance = { scale = { 0.3 0.3 } position = { 0.35 0.8 } }		
	}
	
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = "white"
		instance = { scale = { 0.04 0.04 } position = { 0.39 0.86 } }		
	}
	
	colored_emblem = {
		texture = "ce_letter_f.dds"
		color1 = "white"
		instance = { scale = { 0.3 0.3 } position = { 0.65 0.15 } }		
	}
	
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = "white"
		instance = { scale = { 0.04 0.04 } position = { 0.7 0.22 } }		
	}
	
	colored_emblem = {
		texture = "ce_letter_a.dds"
		color1 = "white"
		instance = { scale = { 0.3 0.3 } position = { 0.78 0.15 } }		
	}
	
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = "white"
		instance = { scale = { 0.04 0.04 } position = { 0.85 0.22 } }		
	}
	
	colored_emblem = {
		texture = "ce_letter_i.dds"
		color1 = "white"
		instance = { scale = { 0.3 0.3 } position = { 0.9 0.15 } }		
	}
	
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = "white"
		instance = { scale = { 0.04 0.04 } position = { 0.95 0.22 } }		
	}
	
	sub = {
        parent = "Spain_WB_communist_portrait" 
    }
}


## Sweden

Sweden_WB_portrait = {
	textured_emblem = {
		texture = "wb_swe_monarch.dds"
		instance = { scale = { 1.1 1.1 } position = { 0.52 0.53 } }
	}
}
Sweden_WB_war_portrait = {
	textured_emblem = {
		texture = "wb_swe_monarch_war.dds"
		instance = { scale = { 1.1 1.1 } position = { 0.52 0.53 } }
	}
}
Sweden_with_Norway_WB_portrait = {
	textured_emblem = {
		texture = "wb_nor_union_happy.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.34 0.685 } }
	}
	
	textured_emblem = {
		texture = "wb_swe_union.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.665 0.73 } }
	}
}

Sweden_WB_republican_portrait = {
	textured_emblem = {
		texture = "wb_swe_repub.dds"
		instance = { scale = { 1.52 1.52 } position = { 0.485 0.735 } }
	}
}

Sweden_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_swe_comm.dds"
		instance = { scale = { 1.38 1.38 } position = { 0.6 0.66 } }
	}
}

Sweden_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_swe_fasch.dds"
		instance = { scale = { 1.7 1.7 } position = { 0.5 0.655 } }
	}
}

SWE = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 106 167 }
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_cross_sweden.dds"
		color1 = rgb { 254 204 0 }
		color2 = color2
	}
	
	sub = {
        parent = "Sweden_WB_portrait" 
    }
}
SWE_norway = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow"

    sub = {
        parent = "sub_SWE_norway_saltire" 
        instance = { scale = { @canton_scale_sweden_x @canton_scale_sweden_y }  }
    }
	colored_emblem = {
		texture = "ce_cross_sweden.dds"
		color1 = color2
		color2 = color2
	}
	sub = {
        parent = "Sweden_with_Norway_WB_portrait" 
    }
}
SWE_union_mark_canton = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow"

    sub = {
        parent = "sub_SWE_union_mark" 
        instance = { scale = { @canton_scale_sweden_x @canton_scale_sweden_y }  }
    }
	colored_emblem = {
		texture = "ce_cross_sweden.dds"
		color1 = color2
		color2 = color2
	}
	
	sub = {
        parent = "Sweden_with_Norway_WB_portrait" 
    }
}
SWE_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_cross_sweden.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_royal_mantle.dds"
		instance = { scale = { 0.8 0.8 } position = { 0.4 0.55 } }
		color1 = "red"
		color2 = "yellow"
		color3 = "white"		
	}	
    sub = {
        parent = "sub_SWE_coa" 
        instance = { scale = { 0.45 0.45 } offset = { 0.175 0.36 } }		
    }	
	textured_emblem = {
		texture = "te_crown_cut.dds"
		instance = { scale = { 0.35 0.35 } position = { 0.4 0.21 } }
	}	
	
	sub = {
        parent = "Sweden_WB_portrait" 
    }
}
SWE_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "red"

	colored_emblem = {
		texture = "ce_cross_sweden.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_crown_swedish.dds"
		color1 = color1
		color2 = color1
		instance = { scale = { 0.22 0.22 } position = { 0.4 0.5 } }
	}
	
	sub = {
        parent = "Sweden_WB_portrait" 
    }
}
SWE_canton = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
}
SWE_theocracy_canton = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "red"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
}
SWE_coa = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow"
	@swe_theocracy_scale = 0.5
	@swe_theocracy_offset_x = 0.2
	@swe_theocracy_offset_y = 0.2
	colored_emblem = {
		texture = "ce_crown_swedish.dds"
		color1 = color2
		color2 = color2
		instance = { position = { @[ 0.5 - swe_theocracy_offset_x ] @[ 0.5 - swe_theocracy_offset_y ]  } scale = { @swe_theocracy_scale @swe_theocracy_scale } } # left
		instance = { position = { @[ 0.5 + swe_theocracy_offset_x ] @[ 0.5 - swe_theocracy_offset_y ]  } scale = { @swe_theocracy_scale @swe_theocracy_scale } } # right
		instance = { position = { 0.5 @[ 0.5 + swe_theocracy_offset_y ]  } scale = { @swe_theocracy_scale @swe_theocracy_scale } } # bottom
	}
}
SWE_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "blue"
	color4 = "yellow"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color3
		color2 = color3
		instance = { position = { 0.5 0.725 } scale = { 1.0 0.35 } }
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.5 0.725 } scale = { 1.0 0.125 } }
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = color4
		color2 = color4
		instance = { position = { 0.19 0.28 } scale = { 0.37 0.37 } } 
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = color1
		color2 = color1
		instance = { position = { 0.19 0.28 } scale = { 0.4 0.4 } } 
	}	
	colored_emblem = {
		texture = "ce_hammer_and_sickle.dds"
		color1 = color4
		color2 = color4
		instance = { position = { 0.19 0.295 } scale = { 0.2 0.2 } } 
	}	
	
	sub = {
        parent = "Sweden_WB_communist_portrait" 
    }
}
SWE_fascist = {	
	# SNP/NRP mix
	# SNP Hist flag is red with a yellow swastika on a blue roundel
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "blue"
		color2 = "white"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_cross_wheel.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 } }
	}

	sub = {
        parent = "Sweden_WB_fascist_portrait" 
    }	
}

# WB originals

SWE_united_scandinavia = {
	# herring salad
	pattern = "pattern_per_saltire.dds"
	color1 = "red"
	color2 = "blue"
	color3 = "yellow"
	color4 = "white"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color3
		color2 = color3
		
		instance = { scale = { 1 @[1/5] } } 
	}	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color4
		instance = { scale = { @[1/4.5] 1 } } 
		mask = { 1 }
	}	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		instance = { scale = { @[1/8] 1 } } 
		mask = { 1 }
	}
	sub = {
        parent = "Sweden_with_Norway_WB_portrait" 
    }
} 

SWE_republic = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 106 167 }
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_cross_sweden.dds"
		color1 = rgb { 254 204 0 }
		color2 = color2
	}
	
	sub = {
        parent = "Sweden_WB_republican_portrait" 
    }
}

SWE_WB_war_union = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow"
	
	sub = {
        parent = "sub_SWE_norway_saltire" 
        instance = { scale = { @canton_scale_sweden_x @canton_scale_sweden_y }  }
    }

	colored_emblem = {
		texture = "ce_cross_sweden.dds"
		color1 = "yellow"
		color2 = color2
	}
	
	sub = {
        parent = "Sweden_WB_war_portrait" 
    }
}

SWE_WB_war_union_mark = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow"

    sub = {
        parent = "sub_SWE_union_mark" 
        instance = { scale = { @canton_scale_sweden_x @canton_scale_sweden_y }  }
    }
	colored_emblem = {
		texture = "ce_cross_sweden.dds"
		color1 = color2
		color2 = color2
	}
	
	sub = {
        parent = "Sweden_WB_war_portrait" 
    }
}

SWE_WB_war = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 106 167 }
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_cross_sweden.dds"
		color1 = rgb { 254 204 0 }
		color2 = color2
	}
	
	sub = {
        parent = "Sweden_WB_war_portrait" 
    }
}

SWE_WB_Union_Mark = {
	# herring salad
	pattern = "pattern_per_saltire.dds"
	color1 = "red"
	color2 = "blue"
	color3 = "yellow"
	color4 = "white"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color3
		color2 = color3
		
		instance = { scale = { 1 @[1/5] } } 
	}	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color4
		instance = { scale = { @[1/4.5] 1 } } 
		mask = { 1 }
	}	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		instance = { scale = { @[1/8] 1 } } 
		mask = { 1 }
	}
	
	sub = {
        parent = "Sweden_with_Norway_WB_portrait" 
    }
} 

SWE_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_cross_sweden.dds"
		color1 = color2
		color2 = color2
	}
	
	sub = {
        parent = "Sweden_WB_fascist_portrait" 
    }
}

SWE_anarchist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_hammer_ddr.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.55 0.45 } position = { 0.2 0.3 } rotation = -15 }				
	}
	
	sub = {
		parent = "Sweden_WB_communist_portrait" 
	}
}


## Two Sicilies

Two_Sicilies_WB_portrait = {
	textured_emblem = {
		texture = "wb_sic_monarch.dds"
		instance = { scale = { 1.6 1.6 } position = { 0.52 0.765 } }
	}
}

Two_Sicilies_WB_subject_portrait = {
	textured_emblem = {
		texture = "wb_sic_monarch.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.725 0.71 } }
	}
}
Two_Sicilies_WB_republican_portrait = {
	textured_emblem = {
		texture = "wb_sic_repub_left.dds"
		instance = { scale = { 1.75 1.75 } position = { 0.32 0.91 } }
	}
	textured_emblem = {
		texture = "wb_sic_repub_right.dds"
		instance = { scale = { 1.75 1.75 } position = { 0.7 0.91 } }
	}
}
Two_Sicilies_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_sic_comm_Naples.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.31 0.85 } }
	}
	textured_emblem = {
		texture = "wb_sic_comm_Sicily.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.68 0.54 } }
	}
}
Two_Sicilies_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_sic_fasch_left.dds"
		instance = { scale = { 1.4 1.4 } position = { 0.755 0.57 } }
	}
	textured_emblem = {
		texture = "wb_sic_fasch_right.dds"
		instance = { scale = { 1.4 1.4 } position = { 0.325 0.63 } }
	}
}

SIC = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	textured_emblem = {
		texture = "te_necklace_two_sicilies.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.38 0.50 } }
	}	
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.5 0.5 } position = { 0.38 0.22 } }
	}	
	textured_emblem = {
		texture = "te_coa_two_sicilies.dds"
		instance = { scale = { 0.67 0.67 } position = { 0.38 0.50 } }
	}		

	sub = {
        parent = "Two_Sicilies_WB_portrait" 
    }	
}
SIC_subject = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	textured_emblem = {
		texture = "te_necklace_two_sicilies.dds"
		instance = { scale = { 0.75 0.75 } position = { 0.75 0.50 } }
	}	
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.36 0.36 } position = { 0.75 0.28 } }
	}	
	textured_emblem = {
		texture = "te_coa_two_sicilies.dds"
		instance = { scale = { 0.55 0.55 } position = { 0.75 0.50 } }
	}		

	sub = {
        parent = "Two_Sicilies_WB_subject_portrait" 
    }	
}
SIC_republic = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_checkered_orle.dds"
		color1 = "red"
		color2 = "white"
	}	
	
	sub = {
        parent = "Two_Sicilies_WB_republican_portrait" 
    }
}
SIC_dictatorship = {
	pattern = "pattern_checkers_01.tga"
	color1 = "red"
	color2 = "black"
	color3 = "white"
	
	colored_emblem = {
		texture = "ce_rhombus.dds"
		color1 = "white"
		color2 = "white"
	}	
	colored_emblem = {
		texture = "ce_triskelion_sicily.dds"
		color1 = "peach" # or plain gold
		color2 = "yellow"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }		
	}

	sub = {
        parent = "Two_Sicilies_WB_fascist_portrait" 
    }
}
SIC_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_hammer_sickle_italy.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.45 0.45 } position = { 0.16 0.24 } } 
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "blue_light"
		color2 = "blue_light"
		instance = { scale = { 1.0 0.1 } position = { 0.5 0.75 } }
	}	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 1.0 0.1 } position = { 0.5 0.85 } }
	}

	sub = {
        parent = "Two_Sicilies_WB_communist_portrait" 
    }
}

# WB originals

SIC_anarchist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "black"
	color2 = "red"

	colored_emblem = {		
		texture = "ce_circle.dds"
		color1 = "white"
		color2 = "white"
        instance = { position = { 0.5 0.5 } scale = { 1.0 1.0 }  }
	}
	
	colored_emblem = {
		texture = "ce_triskelion_sicily.dds"
		color1 = "grey" #
		color2 = "black"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }		
	}
	
	sub = {
        parent = "Two_Sicilies_WB_communist_portrait" 
    }
}

# WU Sicily

Two_Sicilies_WB_WU_Sicily = {
	textured_emblem = {
		texture = "wb_sic_Sicily.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.57 0.555 } }
	}
}

SIC_WU_Sicily = {
	pattern = "pattern_per_saltire.dds"
	color1 = "yellow"
	color2 = "white"

	colored_emblem = {
		texture = "ce_stripes_07.dds"
		color1 = "red"
		color2 = "black"
		instance = { scale = { 0.8 1.0 } position = { 0.5 0.5 } rotation = 90 }	
		mask = { 1 }
	}	

	colored_emblem = {
		texture = "ce_eagle.dds"
		color1 = "black"
		color2 = "orange"
		instance = { scale = { 0.55 0.55 } position = { 0.83 0.52 } }
		instance = { scale = { -0.55 0.55 } position = { 0.18 0.52 } }	
	}	

	sub = {
        parent = "Two_Sicilies_WB_WU_Sicily" 
    }	
}
SIC_subject_WU_Sicily = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = "white"
		color2 = "yellow"
		instance = { scale = { 0.9 0.9 } position = { 0.7 0.6 } }		
	}

	colored_emblem = {
		texture = "ce_triskelion_sicily.dds"
		color1 = "peach" # or plain gold
		color2 = "yellow"
		instance = { scale = { 0.55 0.55 } position = { 0.7 0.6 } }		
	}		

	textured_emblem = {
		texture = "wb_sic_Sicily.dds"
		instance = { scale = { 1.2 1.2 } position = { 0.77 0.555 } }
	}	
}
SIC_republic_WU_Sicily = {
	pattern = "pattern_per_bend.dds"
	color1 = "red"
	color2 = "yellow"

	
	colored_emblem = {
		texture = "ce_triskelion_sicily.dds"
		color1 = "peach" # or plain gold
		color2 = "yellow"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }		
	}	
	
	sub = {
        parent = "Two_Sicilies_WB_WU_Sicily" 
    }
}
SIC_dictatorship_WU_Sicily = {
	pattern = "pattern_checkers_01.tga"
	color1 = "red"
	color2 = "black"
	color3 = "white"
	
	colored_emblem = {
		texture = "ce_rhombus.dds"
		color1 = "white"
		color2 = "white"
	}	
	colored_emblem = {
		texture = "ce_triskelion_sicily.dds"
		color1 = "peach" # or plain gold
		color2 = "yellow"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }		
	}

	sub = {
        parent = "Two_Sicilies_WB_WU_Sicily" 
    }
}
SIC_communist_WU_Sicily = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_hammer_sickle_italy.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.45 0.45 } position = { 0.16 0.24 } } 
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "yellow"
		color2 = "blue_light"
		instance = { scale = { 1.0 0.1 } position = { 0.5 0.75 } }
	}	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 1.0 0.1 } position = { 0.5 0.85 } }
	}

	textured_emblem = {
		texture = "wb_sic_comm_Sicily.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.57 0.555 } }
	}
}

SIC_anarchist_WU_Sicily = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "black"
	color2 = "red"

	colored_emblem = {		
		texture = "ce_circle.dds"
		color1 = "white"
		color2 = "white"
        instance = { position = { 0.5 0.5 } scale = { 1.0 1.0 }  }
	}
	
	colored_emblem = {
		texture = "ce_triskelion_sicily.dds"
		color1 = "grey" #
		color2 = "black"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }		
	}
	
	textured_emblem = {
		texture = "wb_sic_comm_Sicily.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.57 0.555 } }
	}
}

# WU Naples

Two_Sicilies_WB_WU_Naples = {
	textured_emblem = {
		texture = "wb_sic_Naples.dds"
		instance = { scale = { 1.5 1.5 } position = { 0.5 0.75 } }
	}
}

WB_crown_of_aragon = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "white"

	colored_emblem = {
		texture = "ce_stripes_07.dds"
		color1 = "red"
		color2 = "black"
		instance = { scale = { 0.8 1.0 } position = { 0.5 0.5 } rotation = 90 }	
		mask = { 1 }
	}
}

WB_angevin = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_fleur_quebec.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.10 0.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.30 0.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.50 0.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.70 0.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.90 0.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.00 0.20 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.20 0.20 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.40 0.20 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.60 0.20 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.80 0.20 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 1.00 0.20 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.10 0.40 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.30 0.40 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.50 0.40 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.70 0.40 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.90 0.40 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.00 0.60 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.20 0.60 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.40 0.60 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.60 0.60 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.80 0.60 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 1.00 0.60 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.10 0.80 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.30 0.80 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.50 0.80 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.70 0.80 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.90 0.80 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.00 1.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.20 1.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.40 1.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.60 1.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.80 1.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 1.00 1.00 } scale = { @sm_fra @sm_fra } }
	}
	
	colored_emblem = {
		texture = "wb_ce_label.dds"
		color1 = "red"
		color2 = "black"
		instance = { scale = { 0.3 0.6 } position = { 0.5 0.2 } }		
	}
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.5 1.0 } position = { 0.1 0.5 } }		
	}
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.5 1.0 } position = { 0.9 0.5 } }		
	}
	
	colored_emblem = {
		texture = "ce_stripes_08.dds"
		color1 = "red"
		color2 = "black"
		instance = { scale = { 0.5 1.0 } position = { 0.1 0.37 } }		
	}
	
	colored_emblem = {
		texture = "ce_cross_couped.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.55 0.95 } position = { 0.83 0.5 } }		
	}
	
	colored_emblem = {
		texture = "ce_cross_order_christ.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.6 1.0 } position = { 0.83 0.5 } }		
	}
	
	colored_emblem = {
		texture = "ce_cross_couped.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.15 0.15 } position = { 0.74 0.3 } }
		instance = { scale = { 0.15 0.15 } position = { 0.92 0.3 } }
		instance = { scale = { 0.15 0.15 } position = { 0.74 0.7 } }
		instance = { scale = { 0.15 0.15 } position = { 0.92 0.7 } }
	}
}

SIC_WU_Naples = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "white"

	sub = {
        parent = "WB_crown_of_aragon" 
        instance = { scale = { 0.5 0.5 } offset = { 0.0 0.0 } } # top left
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.5 } } # bottom right
    } 
	
	sub = {
        parent = "WB_angevin" 
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.0 } } # top right
		instance = { scale = { 0.5 0.5 } offset = { 0.0 0.5 } } # bottom left
    }

	sub = {
        parent = "Two_Sicilies_WB_WU_Naples" 
    }	
}
SIC_subject_WU_Naples = {
	pattern = "pattern_solid.tga"
	color1 = "blue"


	colored_emblem = {
		texture = "ce_crown_swedish.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 0.36 0.33 } position = { 0.75 0.32 } }
	}	
	colored_emblem = {
		texture = "ce_shield_heater_large_per_fess.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 0.45 0.45 } position = { 0.75 0.6 } }
	}		

	textured_emblem = {
		texture = "wb_sic_Naples.dds"
		instance = { scale = { 1.5 1.5 } position = { 0.74 0.75 } }
	}	
}
SIC_republic_WU_Naples = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 19 63 211 }

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "red"
	}	
	
	sub = {
        parent = "Two_Sicilies_WB_WU_Naples" 
    }
}
SIC_dictatorship_WU_Naples = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "red"
		color2 = "black"
	}

	sub = {
        parent = "Two_Sicilies_WB_WU_Naples" 
    }
}
SIC_communist_WU_Naples = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_hammer_sickle_italy.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.45 0.45 } position = { 0.16 0.24 } } 
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "blue_light"
		color2 = "blue_light"
		instance = { scale = { 1.0 0.1 } position = { 0.5 0.75 } }
	}	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 1.0 0.1 } position = { 0.5 0.85 } }
	}

	sub = {
        parent = "Two_Sicilies_WB_WU_Naples" 
    }
}

SIC_anarchist_WU_Naples = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "black"
	color2 = "red"
	
	sub = {
        parent = "Two_Sicilies_WB_WU_Naples" 
    }
}


## Trieste

Trieste_WB_portrait = {
	textured_emblem = {
		texture = "wb_tre_default.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.49 0.63 } }
	}
}

Trieste_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_tre_comm.dds"
		instance = { scale = { -1.3 1.3 } position = { 0.57 0.63 } }
	}
}

Trieste_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_tre_fasch.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.49 0.63 } }
	}
}

Trieste_WB_theocratic_portrait = {
	textured_emblem = {
		texture = "wb_tre_theocratic.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.49 0.63 } }
	}
}

TRE = { # Trieste
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	
	colored_emblem = {
		texture = "ce_corseca_trieste.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.5 } }
	}		
	
	sub = {
        parent = "Trieste_WB_portrait" 
    }
}
TRE_subject = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	
	colored_emblem = {
		texture = "ce_corseca_trieste.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.65 0.65 } position = { 0.75 0.5 } }
	}	
	
	textured_emblem = {
		texture = "wb_tre_default.dds"
		instance = { scale = { 1.15 1.15 } position = { 0.75 0.58 } }
	}
}

# WB originals

TRE_austrian_littoral = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "white"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "red"
		color2 = "blue"
	}		
	
	textured_emblem = {
		texture = "wb_tre_austrian_littoral_coa.png"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Trieste_WB_portrait" 
    }
}

TRE_imperial_city = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}	
	
	colored_emblem = {
		texture = "ce_corseca_trieste.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 } }
	}	
	
	sub = {
        parent = "Trieste_WB_portrait" 
    }
}

TRE_monarchy = { # Trieste
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	
	colored_emblem = {
		texture = "ce_bicolor_top.dds"
		color1 = color2
	}
	
	sub = {
        parent = "sub_AUS_crown" 
        instance = { scale = { 0.45 0.45 } offset = { 0.275 0.02 } }
    }
	
	colored_emblem = {
		texture = "ce_eagle_doubleheaded_base.dds"
		color1 = "black_light"
		color2 = "yellow_dark"
		color3 = "white"
		instance = { scale = { 0.9 0.9 } }
	}	
	colored_emblem = {
		texture = "ce_eagle_doubleheaded_austria_claws.dds"
		color1 = "yellow_dark"
		color2 = "white"
		color3 = "red"
		instance = { scale = { 0.9 0.9 } }
	}	
	colored_emblem = {
		texture = "ce_collar_golden_fleece.dds"
		color1 = "yellow"
		color2 = "blue"
		color3 = "yellow"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.52 } }		
	}
	colored_emblem = {
		texture = "ce_shield_german_round_fess.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.35 0.35 } position = { 0.5 0.49 } }		
	}		
	
	colored_emblem = {
		texture = "ce_corseca_trieste.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.3 0.27 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Trieste_WB_portrait" 
    }
}

TRE_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "white"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "red"
		color2 = "blue"
	}		
	
	sub = {
        parent = "Trieste_WB_fascist_portrait" 
    }
}

TRE_communist = {
	pattern = "pattern_border_double.dds"
	color1 = "white"
	color2 = "red"
	color3 = "green"
	
	colored_emblem = {
		texture = "ce_laurel_knot.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.65 0.3 } position = { 0.25 0.4 } }
	}
	
	colored_emblem = {
		texture = "ce_star_05_pinwheeled.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.3 0.3 } position = { 0.25 0.3 } }
	}
	
	colored_emblem = {
		texture = "ce_coa_australia.dds"
		color1 = "red"
		color2 = "red"
		color3 = "red"
		instance = { scale = { 0.4 0.4 } position = { 0.25 0.55 } }
	}		
	
	colored_emblem = {
		texture = "ce_corseca_trieste.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.35 0.35 } position = { 0.25 0.55 } }
	}
	
	sub = {
        parent = "Trieste_WB_communist_portrait" 
    }
}

TRE_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 4 62 143 }
	color2 = "yellow"
	color3 = "red"

	colored_emblem = {
		texture = "ce_eagle.dds"
		color1 = color2
		color2 = "red"
		color3 = "red"
		instance = { scale = { 1.2 1.2 } position = { 0.5 0.5 } }
	}		
	
	colored_emblem = {
		texture = "wb_ce_kleestengel.dds"
		color1 = color3
		instance = { scale = { 1.2 1.2 } position = { 0.5 0.54 } }
	}
	
	sub = {
        parent = "Trieste_WB_theocratic_portrait" 
    }
}

TRE_anarchist = {
	pattern = "pattern_border_double.dds"
	color1 = "black"
	color2 = "black"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_laurel_knot.dds"
		color1 = "red_dark"
		color2 = "red_dark"
		instance = { scale = { 0.65 0.3 } position = { 0.25 0.4 } }
	}
	
	colored_emblem = {
		texture = "ce_star_05_pinwheeled.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.3 0.3 } position = { 0.25 0.3 } }
	}
	
	colored_emblem = {
		texture = "ce_coa_australia.dds"
		color1 = "red"
		color2 = "red"
		color3 = "red"
		instance = { scale = { 0.4 0.4 } position = { 0.25 0.55 } }
	}		
	
	colored_emblem = {
		texture = "ce_corseca_trieste.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.35 0.35 } position = { 0.25 0.55 } }
	}
	
	sub = {
        parent = "Trieste_WB_communist_portrait" 
    }
}

## Tuscany / Waifu Universalis' Florence

Florence_WB_autocratic_portrait = {
	textured_emblem = {
		texture = "wb_tus_autocratic.png"
		instance = { scale = { 1.35 1.35 } position = { 0.61 0.65 } }
	}
}
Florence_WB_autocratic_alt_portrait = {
	textured_emblem = {
		texture = "wb_tus_autocratic_alt.png"
		instance = { scale = { 1.35 1.35 } position = { 0.5 0.65 } }
	}
}
Florence_WB_civil_portrait = {
	textured_emblem = {
		texture = "wb_tus_civil.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.51 0.61 } }
	}
}

Florence_WB_civil_alt_portrait = {
	textured_emblem = {
		texture = "wb_tus_radical_socialism.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.51 0.61 } }
	}
}

Florence_WB_anarchist_portrait = {
	textured_emblem = {
		texture = "wb_tus_anarchist.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.51 0.61 } }
	}
}
Florence_WB_theocratic_portrait = {
	textured_emblem = {
		texture = "wb_tus_theocratic.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.51 0.61 } }
	}
}

TUS = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}
	textured_emblem = {
		texture = "te_coa_tuscany.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.37 0.55 } }
	}	
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.44 0.44 } position = { 0.37 0.18 } }
	}		
	
	sub = {
        parent = "Florence_WB_autocratic_portrait" 
    }
	
}
TUS_subject = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	textured_emblem = {
		texture = "te_coa_tuscany.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.68 0.58 } }
	}	
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.44 0.44 } position = { 0.68 0.21 } }
	}			
	
	sub = {
        parent = "Florence_WB_autocratic_portrait" 
    }
}
TUS_republic = {
	# WB edit - while I could use the modern Tuscan flag, apparently there are some supposed older Tuscan merchant flags from the 19th century that I can use instead
	
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "blue"

	colored_emblem = {
		texture = "ce_stripes_07.dds"
		color1 = color2
		color2 = color1
	}	
	
	sub = {
        parent = "Florence_WB_civil_portrait" 
    }
}
TUS_communist = {
	pattern = "pattern_solid.tga"
	color1 = "blue_light"
	color2 = "white"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "blue_light"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_rhombus.dds"
		color1 = "red"
		color2 = "red"
		instance = { position = { 0 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_hammer_sickle_italy.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.45 0.45 } position = { 0.175 0.5 } } 
	}	
	
	sub = {
        parent = "Florence_WB_civil_alt_portrait" 
    }
}

# WB originals

TUS_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "blue_light"
	color2 = "white"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "blue_light"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }
	}		
	
	sub = {
        parent = "Florence_WB_autocratic_alt_portrait" 
    }
	
}

TUS_florentine_republic = {
	# WB edit
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"

	colored_emblem = {
		texture = "wb_ce_florence_fleur.png"
		color1 = color2
		color2 = "blue_light"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }
	}	
	
	sub = {
        parent = "Florence_WB_autocratic_portrait" 
    }
}

TUS_merchant_ensign = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_cross_england_fimbriated.dds"
		color1 = color2
		color2 = color1
	}	
	
	sub = {
        parent = "Florence_WB_civil_portrait" 
    }
}

TUS_theocracy = {
	# WB edit
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"

	colored_emblem = {
		texture = "wb_ce_maltese_cross.png"
		color1 = color2
		color2 = "blue_light"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}	
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = color2
		color2 = "blue_light"
		instance = { scale = { 0.1 0.1 } position = { 0.4 0.65 } }
		instance = { scale = { 0.1 0.1 } position = { 0.6 0.65 } }
		instance = { scale = { 0.1 0.1 } position = { 0.4 0.35 } }
		instance = { scale = { 0.1 0.1 } position = { 0.6 0.35 } }
		instance = { scale = { 0.1 0.1 } position = { 0.5 0.83 } }
	}
	
	colored_emblem = {
		texture = "ce_sacred_heart.dds"
		color1 = "red"
		color2 = "red_faint"
		color3 = "yellow"
		instance = { scale = { 0.25 0.25 } position = { 0.505 0.15 } }
	}
	
	sub = {
        parent = "Florence_WB_theocratic_portrait" 
    }
}

TUS_anarchist = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "black"	
	
	sub = {
        parent = "Florence_WB_anarchist_portrait" 
    }
}

TUS_subject_FRA = {
	
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = rgb { 0 86 172 }

	colored_emblem = {
		texture = "ce_stripes_05.dds"
		color1 = color2
		color2 = color1
	}	
	
	textured_emblem = {
		texture = "wb_etruria_coa.png"
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Florence_WB_autocratic_portrait" 
    }
}


## Ukraine / Waifu Universalis' Ruthenia ##

UKR = {
	pattern = "pattern_solid.tga"
	color1 = "blue_light"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "yellow"
		color2 = "yellow"
	}
	
	textured_emblem = {
		texture = "wb_ukr_anarchist_1.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.45 0.5 } }
	}
}
UKR_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "blue_light"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color3
		color2 = color3
        instance = { scale = { 1.0 @third } position = { 0.5 @[1-third/2] }  }	
	}
	colored_emblem = {
		texture = "ce_hammer_sickle_star_ussr.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.25 @third } scale = { 0.5 0.5 } }
	}	
	
	textured_emblem = {
		texture = "wb_ukr_anarchist_1.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.45 0.5 } }
	}
}
UKR_fascist = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "black"
		color2 = "black"
	}
	
	textured_emblem = {
		texture = "wb_ukr_anarchist_1.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.45 0.5 } }
	}
}
UKR_free_state = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	
	textured_emblem = {
		texture = "wb_ukr_anarchist_1.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.45 0.5 } }
	}
}

# WB anarchist flags
UKR_anarchist = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	
	textured_emblem = {
		texture = "wb_ukr_anarchist_2.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }
	}

	textured_emblem = {
		texture = "wb_ukr_anarchist_1.dds"
		instance = { scale = { 0.8 0.8 } position = { 0.25 0.60 } }
	}
	
}


## Venice 

Venice_WB_portrait = {
	textured_emblem = {
		texture = "wb_ven_default.png"
		instance = { scale = { 1.25 1.25 } position = { 0.5 0.5 } }
	}
}

Venice_WB_subject_portrait = {
	textured_emblem = {
		texture = "wb_ven_default.png"
		instance = { scale = { -1.2 1.2 } position = { 0.57 0.54 } }
	}
}

Venice_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_ven_comm.png"
		instance = { scale = { 1.25 1.25 } position = { 0.5 0.5 } }
	}
}

Venice_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_ven_fasch.png"
		instance = { scale = { 1.25 1.25 } position = { 0.5 0.5 } }
	}
}

VEN = { # Venice
	pattern = "pattern_border_venice.dds"
	color1 = "red"
	color2 = "yellow"
	color3 = "white"
	
	textured_emblem = {
		texture = "te_lion_san_marco.dds"
		instance = { scale = { 1.2 1.2 } position = { 0.50 0.52 } }
	}		
	
	sub = {
        parent = "Venice_WB_portrait" 
    }
}
VEN_subject = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	
	textured_emblem = {
		texture = "te_lion_san_marco.dds"
		instance = { scale = { 0.8 0.8 } position = { 0.72 0.65 } }	
	}	
	
	sub = {
        parent = "Venice_WB_subject_portrait" 
    }
}

# WB originals

VEN_republic = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "white"
	
	colored_emblem = {
		texture = "wb_ce_6_stripes_with_gaps.dds"
		color1 = "red"
		color2 = "black"
		color3 = "highlight"
		instance = { position = { 0.5 0.5 } scale = { 1.0 1.0 } }
	}
	
	colored_emblem = {
		texture = "wb_ce_venetian_banner.dds"
		color1 = "red"
		color2 = "yellow"
		color3 = "blue"
	}
	
	textured_emblem = {
		texture = "te_lion_san_marco.dds"
		instance = { scale = { 0.67 0.9 } position = { 0.285 0.55 } }
	}		
	
	sub = {
        parent = "Venice_WB_portrait" 
    }
}

VEN_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "white"
	
	colored_emblem = {
		texture = "wb_ce_6_stripes_with_gaps.dds"
		color1 = "red"
		color2 = "black"
		color3 = "highlight"
		instance = { position = { 0.5 0.5 } scale = { 1.0 1.0 } }
	}
	
	colored_emblem = {
		texture = "wb_ce_venetian_banner.dds"
		color1 = "red"
		color2 = "yellow"
		color3 = "red"
	}
	
	textured_emblem = {
		texture = "wb_ita_venice_CoA.png"
		instance = { scale = { 0.75 0.75 } position = { 0.285 0.53 } }
	}		
	
	sub = {
        parent = "Venice_WB_portrait" 
    }
}

VEN_dictatorship = { 
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "white"
	
	colored_emblem = {
		texture = "wb_ce_6_stripes_with_gaps.dds"
		color1 = "red"
		color2 = "black"
		color3 = "highlight"
		instance = { position = { 0.6 0.5 } scale = { 0.8 1.0 } }
	}
	
	colored_emblem = {
		texture = "wb_ce_venetian_banner.dds"
		color1 = "red"
		color2 = "yellow"
		color3 = "blue"
	}
	
	textured_emblem = {
		texture = "te_lion_san_marco.dds"
		instance = { scale = { 0.67 0.9 } position = { 0.285 0.55 } }
	}			
	
	sub = {
        parent = "Venice_WB_fascist_portrait" 
    }
}

VEN_risorgimento = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "blue_light"
		instance = { scale = { 0.34 0.35 } position = { 0.17 0.2 } }
	}
	
	colored_emblem = {
		texture = "ce_border_compony.dds"
		color1 = "red"
		color2 = "white"
		instance = { scale = { 0.34 0.35 } position = { 0.17 0.2 } }
	}

	textured_emblem = {
		texture = "te_lion_san_marco.dds"
		instance = { scale = { 0.45 0.45 } position = { 0.17 0.22 } }
	}
	
	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}		
	
	sub = {
        parent = "Venice_WB_portrait" 
    }
}

VEN_austria_subject = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}		
	
	textured_emblem = {
		texture = "wb_ven_venetian_province_coa.png"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.4 } }
	}
	
	sub = {
        parent = "Venice_WB_portrait" 
    }
}

VEN_communist = { 
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "white"
	
	textured_emblem = {
		texture = "te_lion_san_marco.dds"
		instance = { scale = { 1.1 1.1 } position = { 0.55 0.5 } }
	}		
	
	colored_emblem = {
		texture = "ce_stripe_bottom_raised.dds"
		color1 = "yellow"
		instance = { scale = { 1.0 0.6 } position = { 0.5 0.65 } }	
	}
	
	colored_emblem = {
		texture = "ce_wreath_thin.dds"
		color1 = "yellow"
		instance = { scale = { 0.5 0.45 } position = { 0.15 0.2 } }	
	}
	
	colored_emblem = {
		texture = "ce_hammer_sickle_italy.dds"
		color1 = "yellow"
		instance = { scale = { 0.4 0.4 } position = { 0.15 0.2 } }	
	}
	
	sub = {
        parent = "Venice_WB_communist_portrait" 
    }
}

VEN_anarchist = { 
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "yellow"
	color3 = "white"
	
	colored_emblem = {
		texture = "wb_ce_6_stripes_with_gaps.dds"
		color1 = "red"
		color2 = "black"
		color3 = "highlight"
		instance = { position = { 0.6 0.5 } scale = { 0.8 1.0 } }
	}
	
	colored_emblem = {
		texture = "wb_ce_venetian_banner.dds"
		color1 = "black"
		color2 = "yellow"
		color3 = "blue"
	}
	
	colored_emblem = {
		texture = "ce_per_saltire_counterchanged.dds"
		color1 = "red"
		color2 = "black"
		color3 = "highlight"
		instance = { position = { 0.28 0.5 } scale = { 0.43 0.7 } }
	}
	
	colored_emblem = {
		texture = "ce_per_saltire_counterchanged.dds"
		color1 = "red"
		color2 = "black"
		color3 = "highlight"
		instance = { position = { 0.28 0.5 } scale = { 0.43 0.7 } rotation = 90 }
	}

	
	sub = {
        parent = "Venice_WB_communist_portrait" 
    }
}

# Wallachia / Waifu Universalis' Romania

Wallachia_WB_portrait = {
	textured_emblem = {
		texture = "wb_wal_monarch.dds"
		instance = { scale = { 1.38 1.38 } position = { 0.495 0.61 } }
	}
}

Wallachia_WB_republican_portrait = {
	textured_emblem = {
		texture = "wb_wal_repub.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.47 0.455 } }
	}
}
Wallachia_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_wal_comm.dds"
		instance = { scale = { 1.43 1.43 } position = { 0.52 0.595 } }
	}
}
Wallachia_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_wal_fasch.png"
		instance = { scale = { 1.6 1.6 } position = { 0.5 0.655 } }
	}
}

WAL = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	
	colored_emblem = {
		texture = "ce_eagle_wallachia.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }	
		color1 = "black"
		color2 = "yellow_dark"	
		color3 = "white"		
	}		
	textured_emblem = {
		texture = "te_crown_cut.dds"
		instance = { scale = { 0.15 0.20 } position = { 0.52 0.195 } rotation = 12 }
	}

	sub = {
        parent = "Wallachia_WB_portrait" 
    }	
}
WAL_subject = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.25 0.25 } }	
	}
	colored_emblem = {
		texture = "ce_star_08.dds"
		instance = { scale = { 0.25 0.25 } position = { 0.125 0.15 } }	
		instance = { scale = { 0.25 0.25 } position = { 0.250 0.35 } }
		instance = { scale = { 0.25 0.25 } position = { 0.375 0.15 } }			
		color1 = "white"
		color2 = "white"		
	}		
	colored_emblem = {
		texture = "ce_eagle_wallachia.dds"
		instance = { scale = { 0.9 0.9 } position = { 0.75 0.55 } }	
		color1 = "black"
		color2 = "yellow_dark"	
		color3 = "white"		
	}	
	textured_emblem = {
		texture = "te_crown_cut.dds"
		instance = { scale = { 0.14 0.18 } position = { 0.765 0.275 } rotation = 12 }
	}	
	
	sub = {
        parent = "Wallachia_WB_portrait" 
    }
}

# WB originals

WAL_united_principalities = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Wallachia_WB_portrait" 
    }
}

WAL_republic = { # alledged naval flag according to Illustrirter Hand-Atlas der Geographie und Statistik

	pattern = "pattern_solid.tga"
	color1 = "yellow"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "blue"
		color2 = "blue"
	}
	
	sub = {
        parent = "Wallachia_WB_republican_portrait" 
    }
}

WAL_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	textured_emblem = {
		texture = "te_crown_cut.dds"
		instance = { scale = { 0.3 0.25 } position = { 0.5 0.15 } }
	}

	colored_emblem = {
		texture = "wb_ce_rom_eagle.dds"
		color1 = "black"
		color2 = "white"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.56 } }	
	}
	colored_emblem = {
		texture = "ce_star_06.dds"
		instance = { scale = { 0.1 0.1 } position = { 0.29 0.265 } }	
		instance = { scale = { 0.1 0.1 } position = { 0.2 0.35 } }
		instance = { scale = { 0.1 0.1 } position = { 0.325 0.15 } }	

		instance = { scale = { 0.1 0.1 } position = { 0.69 0.265 } }	
		instance = { scale = { 0.1 0.1 } position = { 0.79 0.35 } }
		instance = { scale = { 0.1 0.1 } position = { 0.635 0.15 } }
		color1 = "yellow"
		color2 = "yellow"		
	}	

	colored_emblem = {
		texture = "ce_star_16.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.25 0.25 } position = { 0.2 0.18 } }	
	}	
	
	colored_emblem = {
		texture = "ce_crescent.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { -0.2 0.2 } position = { 0.78 0.18 } }	
	}
	
	sub = {
        parent = "Wallachia_WB_fascist_portrait" 
    }
}

WAL_communist = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	colored_emblem = {
		texture = "ce_star_08_eureka.dds"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 } }
		color1 = "red"
		color2 = "yellow"
	}
	
	colored_emblem = {
		texture = "ce_hammer_and_sickle_round.dds"
		instance = { scale = { 0.3 0.3 } position = { 0.495 0.51 } }
		color1 = "yellow"
		color2 = "yellow"
	}
	
	colored_emblem = {
		texture = "wb_ce_rom_justice_fraternity.png"
		instance = { scale = { 0.75 0.7 } position = { 0.5 0.87 } }
		color1 = "yellow"
	}
	
	sub = {
        parent = "Wallachia_WB_communist_portrait" 
    }
}

WAL_anarchist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "black"
	color2 = "red"
	
	colored_emblem = {
		texture = "wb_ce_rom_eagle.dds"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }	
		color1 = "white"
		color2 = "yellow_dark"	
		color3 = "white"		
	}		

	textured_emblem = {
		texture = "wb_the_rom.dds"
		instance = { scale = { 0.7 0.7 } position = { 0.75 0.65 } }
	}	
}

WAL_civil_ensign = { # this is supposed to be the Wallachian flag in 1836
	pattern = "pattern_solid.tga"
	color1 = "yellow"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.2 0.2 } }	
	}
	colored_emblem = {
		texture = "ce_star_08.dds"
		instance = { scale = { 0.2 0.2 } position = { 0.09 0.22 } }	
		instance = { scale = { 0.2 0.2 } position = { 0.23 0.22 } }
		instance = { scale = { 0.2 0.2 } position = { 0.36 0.22 } }			
		color1 = "white"
		color2 = "white"		
	}		
	colored_emblem = {
		texture = "ce_eagle_wallachia.dds"
		instance = { scale = { 0.9 0.9 } position = { 0.74 0.54 } }	
		color1 = "black"
		color2 = "yellow_dark"	
		color3 = "white"		
	}	
	textured_emblem = {
		texture = "te_crown_cut.dds"
		instance = { scale = { 0.14 0.18 } position = { 0.755 0.265 } rotation = 12 }
	}	
	
	sub = {
        parent = "Wallachia_WB_portrait" 
    }
}

WAL_monarchy_nationalism = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_eagle_wallachia.dds"
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.53 } }	
		color1 = "yellow"
		color2 = "yellow_dark"	
		color3 = "white"		
	}		
	textured_emblem = {
		texture = "te_crown_cut.dds"
		instance = { scale = { 0.15 0.20 } position = { 0.52 0.26 } rotation = 12 }
	}
	
	colored_emblem = {
		texture = "ce_star_16.dds"
		instance = { scale = { 0.2 0.2 } position = { 0.43 0.17 } }	
		color1 = "yellow"
		color2 = "yellow_dark"	
		color3 = "white"		
	}

	sub = {
        parent = "Wallachia_WB_portrait" 
    }	
}

WAL_republic_nationalism = { # Wallachian Revolution of 1848
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = color2
		color2 = color3
	}
	
	colored_emblem = {
		texture = "wb_ce_rom_justice_fraternity.png"
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.5 } }
		color1 = "black"
	}
	
	sub = {
        parent = "Wallachia_WB_republican_portrait" 
    }
}


# Paris Commune
PRC = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "red"
	
	textured_emblem = {
		texture = "wb_fra_comm.dds"
		instance = { scale = { 1.40 1.40 } position = { 0.425 0.58 } }
	}
}

PRC_monarchy = {
	#Flag of Paris
	
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "red"
	
	colored_emblem = {
		texture = "ce_bicolor_right.dds"
		color1 = "red"
		color2 = "blue"
	}
	
	sub = {
        parent = "France_WB_monarchist_portrait" 
    }
}