h_gokturk_khaganate = {
	color = { 15 15 15 }

	capital = c_karabalgasun # Ötüken (eastern) Suyab (western)
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no
	
	can_create = {
		rule_title_creation_imperial_power_projection_title_creation_trigger = yes
	}

}

h_mongols = {
	color = { 10 10 10 }
	
	capital = c_karakorum # Karakorum
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no
	
	can_create = {
		rule_title_creation_imperial_power_projection_title_creation_trigger = yes
	}

}

h_hunnic_empire = {
	color = { 1 1 1 }
	
	capital = c_visegrad # WIP: Move to Budin (Etzelburg)or Segedin
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no
	
	can_create = {
		rule_title_creation_imperial_power_projection_title_creation_trigger = yes
	}

}

e_titular_latin_empire = { # Title for Latin Emerors post 1261 so they can have an empire title
	color = { 150 105 56 }
	
	capital = c_byzantion
	destroy_if_invalid_heir = yes
	definite_form = yes
	can_be_named_after_dynasty = no
	
}

e_western_roman_empire = {
	color = { 168 10 0 }
	
	capital = c_ravenna
	destroy_if_invalid_heir = yes
	definite_form = yes
	can_be_named_after_dynasty = no

}


e_bulgaria = {
	color = { 113 88 101 }
	
	capital = c_turnovo
	destroy_if_invalid_heir = yes
	definite_form = yes
	can_be_named_after_dynasty = no

}

# Kingdom of Albania

k_albania_sicily = {
	color = { 137 27 99 }
	
	capital = c_dyrrachion #
	destroy_if_invalid_heir = yes
	definite_form = yes
	can_be_named_after_dynasty = no

}

# Cumans that came to Latin Empire

k_cumans_latin_empire = {
	color = { 10 10 10 }
	
	capital = c_brysis # Located near Constantinople
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no

}

# After Jonas died, Saronius went to Nikaean Empire and Cumans were settled along the Meander, east of Philadelphia, Phrygia, and in other locations 
# in Asia Minor close to Constantinople

d_cumans_latin_empire_nikaea = {
	color = { 10 10 10 }
	
	capital = c_hadrianeia # Multiple locations, some along Meander, but to east of Philadelphia, some to Phrygia
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no

}

# Cumans of Bortz who fled to Wallachia

d_cumans_wallachia = {
	color = { 22 22 22 }
	
	capital = c_braila # Somewhere west of Siret
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no

}

# Cumans of Köten after they settled to Hungary

d_kunsaghungary = {
	color = { 24 24 24 }
	
	capital = c_csongrad #
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no

}

k_ostrogoths = {
	color = { 20 30 190 }
	
	
	capital = c_ravenna
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no
}

d_thracian_goths = {
	color = { 180 25 100 }
	
	capital = c_burgas
	can_be_named_after_dynasty = no
}

d_khurramite_revolt = {
	color = { 190 22 103 }
	
	capital = c_hamadan
	can_be_named_after_dynasty = no
}

d_nasr_khurramite = {
	color = { 194 22 104 }
	
	capital = c_hamadan
	can_be_named_after_dynasty = no
}

d_persian_tourma = {
	color = { 194 26 102 }
	
	capital = c_sinope
	can_be_named_after_dynasty = no
}

#k_rugii_kingdom = {
#	color = { 232 120 90 }
#	
#	capital = #
#	destroy_if_invalid_heir = yes
#	no_automatic_claims = yes
#	always_follows_primary_heir = yes
#	de_jure_drift_disabled = no
#	can_be_named_after_dynasty = no
#}

k_gepid_kingdom = {
	color = { 222 130 40 }
	
	capital = c_szerem
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no
}

k_vandals = {
	color = { 163 94 22 }
	
	capital = c_coruna #
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no
}

k_vandals_and_alans = {
	color = { 160 90 20 }
	
	capital = c_tunis # Carthage
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no
}

k_angili_kingdom = {
	color = { 237 234 78 }
	
	capital = c_slesvig #
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no
}

k_suebi_kingdom = {
	color = { 235 204 74 }
	
	capital = c_porto #  Braga
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no
}

k_lombard_kingdom = {
	color = { 22 30 190 }

	capital = c_pavia
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no
}

k_hamawi_kingdom = {
	color = { 25 33 190 }
	
	capital = c_zutphen
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no
}

k_warini_kingdom = {
	color = { 29 45 190 }
	
	
	capital = c_mecklenburg # Possibly around Mecklenburg
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no
}

k_ghassanid_phylarchate = {
	color = { 49 49 197 }
	
	capital = c_hauran # Jabiyah and Bosra were their capitals
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no
}

d_kavkhan = {
	color = { 113 88 130 }
	
	capital = c_dorostorum
	landless = yes 
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no
}

k_kuber_bulgars = {
	color = { 122 88 101 }
	
	capital = c_ohrid
	landless = yes 
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no
}

d_kuber_bulgars = {
	color = { 120 88 101 }
	
	capital = c_ohrid
	landless = yes 
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no
}

k_alcek_bulgars = {
	color = { 126 88 101 }
	
	capital = c_apulia
	landless = yes 
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no
}


d_alcek_bulgars = {
	color = { 125 88 101 }
	
	capital = c_apulia
	landless = yes 
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no
}

d_sermesianoi = {
	color = { 125 88 110 }
	
	capital = c_veria
	landless = yes 
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no
}

k_soissonsregnumromanorum = {
	color = { 27 39 195 }

	capital = c_valois # Soissons possibly falls within the in game barony of b_crepy or b_coucy, both in c_valois
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no
}

d_paulician_principality_tephrike = {
	color = { 125 93 110 }
	
	capital = c_satala
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no
}

#### ADDITIONAL EUROPEAN TITLES #### 

d_rugen = {
			color = { 163 162 145 }

			capital = c_rugen # Rugen
			
			cultural_names = {
				name_list_polabian = cn_rana
				name_list_polish = cn_rana
				name_list_pommeranian = cn_rana
			}
}

d_troppau = {
			color = { 190 90 38 }

			capital = c_opava # Opava
}

d_leczycka = { #Łęczyca
			color = { 210 50 10 }

			capital = c_leczycka # Łęczyca
}



#### ADDITIONAL LATIN AND BYZANTINE TITLES ####

### LATIN EMPIRE ###

k_principality_achaia = {
	color = { 185 55 200 }
	
	capital = c_achaia # Andravida
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no

}

d_triarchy_negroponte = {
	color = { 195 40 135 }
	
	capital = c_euboea # Euboea
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no

}

d_nikaea = {
	color = { 136 37 120 }
	
	capital = c_nikaea # Nikaea
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no

}

d_nikomedia = {
	color = { 145 56 151 }
	
	capital = c_bithynia # Nikomedia is in Bithynia county in game
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no

}

### BYZANTINE EMPIRE ###

# Seperate duchy tier for Constantinople because it shouldn't be part of Thrace

d_constantinople = {
	color = { 180 30 100 }
	
	capital = c_byzantion

			cultural_names = {
						name_list_turkish = cn_konstantiniyye
					}

	can_be_named_after_dynasty = no
}


k_catepanate_italy = {
	color = { 117 93 114 }
	
	capital = c_bari
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no
}

# Seperate kingdom title for Thrace so they are not entirely part of Thessalonika

k_thrace = {
	color = { 184 34 104 }
	
	capital = c_byzantion
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no
}


### KINGDOMS IN FORMER BYZANTINE LANDS ###
# Kingdom tier, not necessarily named as kingdom in history

k_cilician_armenia = {
	color = { 223 117 26 }
	
	capital = c_cilicia
	destroy_if_invalid_heir = yes
	no_automatic_claims = yes
	always_follows_primary_heir = yes
	de_jure_drift_disabled = no
	can_be_named_after_dynasty = no
}

### THEMATA ###

# Additional Byzantine themata for improved historical accuracy

## BEFORE 930 ##

d_macedonia = {
	color = { 185 35 110 }
	
	capital = c_adrianopolis
	can_be_named_after_dynasty = no
}

d_koloneia = {
	color = { 136 116 40 }
	
	capital = c_colonea
	can_be_named_after_dynasty = no
}


d_cherson = {
	color = { 124 52 63 }
	
	capital = c_kerch # Chersonesus
	can_be_named_after_dynasty = no
}

## LATE 10TH/11TH CENTURY ##

# Sources: Les thèmes byzantins à l’époque des Comnènes et des Anges (1081-1204), wikipedia

d_smolenon = { # Theme of Smolenon, 1079-1200
	color = { 75 100 110 }
	
	capital = c_rhodopes
	can_be_named_after_dynasty = no
}

d_anchialos  = { # Theme of Anchialos
	color = { 60 100 100 }
	
	capital = c_burgas # Anchialos, modern day Pomorie, located in Burgaz
	can_be_named_after_dynasty = no
}

d_strumica  = { # Theme of Strumica/Stromnitsa 
	color = { 140 95 130 }
	
	capital = c_strumica #
	can_be_named_after_dynasty = no
}

d_zagoria_or_melenikon  = { # Theme of Zagoria or Theme of Melenikon
	color = { 110 100 130 }
	
	capital = c_pirin # Melnik
	can_be_named_after_dynasty = no
}

d_triaditsa_and_velevosdou  = { # Theme of Triaditsa and Velevousdou
	color = { 45 40 75 }
	
	capital = c_sredets # Triaditsa is present day Sofia
	can_be_named_after_dynasty = no
}

d_abydos = {
	color = { 175 20 100 }
	
	capital = c_abydos
	can_be_named_after_dynasty = no
}

## 12TH/13TH CENTURY ##

# Sources: Les thèmes byzantins à l’époque des Comnènes et des Anges (1081-1204), wikipedia


d_greater_lazia = { # Theme of Greater Lazia
	color = { 70 55 55 }
	
	capital = c_acampse
	can_be_named_after_dynasty = no
}

# After Northern part of Theme of Bulgaria is lost in 1194, southern part is dissolved into seperate themes by 1198 with seven themata mentioned
# Skopia, Malechova-Morabistos, Ochrid, Prilep, Pelagonia with Bitoli, Prespa and Velbuzdi 


d_thrace_and_macedonia = { # Thrace and Macedonia unified as a single theme 1154/81
	color = { 90 85 120 }
	
	capital = c_adrianopolis
	can_be_named_after_dynasty = no
}

d_thrace_and_macedonia = { # Thrace and Macedonia unified as a single theme 1154/81
	color = { 90 85 120 }
	
	capital = c_adrianopolis
	can_be_named_after_dynasty = no
}

d_adrianople_and_didymoteichon = { # Attested 1198
	color = { 90 85 120 }
	
	capital = c_adrianopolis
	can_be_named_after_dynasty = no
}

d_brysis = { # Attested 1204
	color = { 170 55 90 }
	
	capital = c_brysis
	can_be_named_after_dynasty = no
}

# Ioannina created c. 1205

d_ioannina_epirus = {
	color = { 140 70 75 }
	
	capital = c_epeiros
	can_be_named_after_dynasty = no
}

# Principality of Arbanon from c. 1190

d_arbanon_epirus = {
	color = { 140 65 85 }
	
	capital = c_arbanon
	can_be_named_after_dynasty = no
}

# Theme of Neokastra was created 1162/73 from northern Thracesian theme as part of Manuel Komnenos' reorganization of the Asiatic frontier.  
# Its existence continued under the Nicaean Empire.

d_neokastra = {
	color = { 121 50 204 }
	
	capital = c_aeolis
	can_be_named_after_dynasty = no
}

# Theme of Mylasa and Melanoudion, first attested 1127/8, probably created after 1110 by by Alexios I Komnenos or by his son and successor
# John II Komnenos. Originally named simply the Theme of Mylasa, renamed after its seat moved from Mylasa to the town of Melanoudion south of Miletus
# sometime in ca. 1150–1175

d_mylasa_and_melanoudion = {
	color = { 173 53 123 }
	
	capital = c_chonae
	can_be_named_after_dynasty = no
}

# Philadelphia was briefly made a seperate theme after it was recaptured in First Crusade, Reincorporated into the Thracesian Theme in the end of
# 12th century and became its administrative center

d_philadelphia = {
	color = { 167 74 151 }
	
	capital = c_lydia
	can_be_named_after_dynasty = no
}

# Achyraous Attested only in 2 Latin sources: the 1198 chrysobull of Alexios III (Provincia Acherau); and the Treaty of 1204 (Provintia Achirai).
# Comprised the northern part of the Thracesian Theme.

#d_achyraous = {
#	color = { 192 29 101 }
#	
#	capital = # Achyraous
#	can_be_named_after_dynasty = no
#}



# Maiandros was a minor theme of the Nicaean period, which eventually became part of the southern Thracesian theme

#d_maiandros = { # 
#	color = { 192 29 101 }
#	
#	capital = # Antioch on the Maeander
#	can_be_named_after_dynasty = no
#}

# Malagina, seperated from Theme of the Optimaton

#d_malagina = { # Malagina, Melangina
#	color = { 192 29 101 }
#	
#	capital = # Malagina castle
#	can_be_named_after_dynasty = no
#}



## 930-1080 ##

d_avlon_epirus = { # Exists by 1210, maybe also created alongside Dryinopolis and Koloneia?
	color = { 125 15 135 }
	
	capital = c_avlonas
	can_be_named_after_dynasty = no
}

# Boleron became a distinct administrative unit in early 11th century, attested as a seperate theme in 1047 with at least two known banda, 
# Mosynopolis and Peritheorion in 1083 but most often it is found as part of a composite province along with the older themes of Thessalonica and 
# Strymon In ca. 1246, John III Vatatzes reconstituted Boleron as the separate province of Boleron-Mosynopolis

d_boleron = {
	color = { 39 53 135 }
	
	capital = c_mosynopolis
	can_be_named_after_dynasty = no
}

d_seleukia = { # Theme Seleukeias
	color = { 220 67 5 }
	
	capital = c_seleucia
	can_be_named_after_dynasty = no
	
	cultural_names = {
		name_list_greek = cn_seleukia
		name_list_turkish = cn_silifke
		}	
}

#d_boleron_mosynopois = {
#	color = { 39 53 135 }
#	
#	capital = c_mosynopolis
#	can_be_named_after_dynasty = no
#}

#d_dryinopolis_epirus = {
#	color = { 192 29 101 }
#	
#	capital = 
#	can_be_named_after_dynasty = no
#}

#d_glavinitza_epirus = {
#	color = { 192 29 101 }
#	
#	capital = 
#	can_be_named_after_dynasty = no
#}

#d_koloneia_epirus = {
#	color = { 192 29 101 }
#	
#	capital = 
#	can_be_named_after_dynasty = no
#}


#d_vagenentia_epirus = {
#	color = { 192 29 101 }
#	
#	capital = 
#	can_be_named_after_dynasty = no
#}




#d_derzene = { # Phasiane (Derzene) Phasianēs/Derzēnēs
#	color = { 193 30 102 }
#	
#	capital = 
#	can_be_named_after_dynasty = no
#}

#d_mesopotamia = {
#	color = { 193 30 102 }
#	
#	capital = 
#	can_be_named_after_dynasty = no
#}

## LATINS ##

#d_podesta_of_constantinople = { # Podestà of Constantinople
#	color = { 193 30 102 }
#	
#	capital = 
#	can_be_named_after_dynasty = no
#}

## MONGOLS ##

#k_kuk_orda = { # Kük Orda
#	color = { 193 30 102 }
#	
#	capital = 
#	can_be_named_after_dynasty = no
#}

#k_ak_orda = { # Ak Orda
#	color = { 193 30 102 }
#	
#	capital = 
#	can_be_named_after_dynasty = no
#}