<?xml version="1.0" encoding="UTF-8"?>
<!--
Voluntary LE
************
v.260516

by John Campbell

Locus Edition (LE) Style for Locus LoMaps. Also for old Openandromaps Mapsforge v3.

Licence 
********
This map style is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License: http://creativecommons.org/licenses/by-nc-sa/3.0/
Please have a look at readme.txt for reuse and licenses of resources used in this theme.

Contact: john.perceptive@gmail.com


NOTE: Possible advanced edit: 
- Search and replace all other like id=''both'' [with double quotes: id="both"] <-> id="left" OR id="right" for drive on left OR right to force (some) cycle tracks or lanes on one way streets or dual carriageways to the left or right side of the road. Default is to show lanes or tracks on both sides unless specifically mapped.
-->

<rendertheme xmlns="http://mapsforge.org/renderTheme" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://mapsforge.org/renderTheme ../renderTheme.xsd" locus-extended="1" fill-sea-areas="0" version="1" map-background="#f8f8f8" scale-line-dy-by-zoom="1">

	<stylemenu id="vol-menu" defaultvalue="vol-multi" defaultlang="en">

	<layer id="h_routes" enabled="true">
		<name lang="de" value="🟢 Wanderrouten"/>
		<name lang="en" value="🟢 hiking routes"/>
		<name lang="es" value="🟢 rutas excursiones"/>
		<name lang="fr" value="🟢 itinéraires de randonnée"/>
		<name lang="it" value="🟢 itinerari a piedi"/>
		<cat id="h_routes"/>
		<cat id="h_n_routes"/>
		<cat id="any_routes"/>
	</layer>
	<layer id="h_routes_false" enabled="false">
		<name lang="de" value="🟢 Wanderrouten"/>
		<name lang="en" value="🟢 hiking routes"/>
		<name lang="es" value="🟢 rutas excursiones"/>
		<name lang="fr" value="🟢 itinéraires de randonnée"/>
		<name lang="it" value="🟢 itinerari a piedi"/>
		<cat id="h_routes"/>
		<cat id="h_n_routes"/>
		<cat id="any_routes"/>
	</layer>
	<layer id="h_s_routes" enabled="false">
		<name lang="de" value="💚 Betonte Wanderrouten"/>
		<name lang="en" value="💚 emphasised hiking routes"/>
		<name lang="es" value="💚 rutas excursiones resaltadas"/>
		<name lang="fr" value="💚 itinéraires de randonné soulignés"/>
		<name lang="it" value="💚 percorsi accentato"/>
		<cat id="h_s_routes"/>
		<cat id="h_n_routes"/>
		<cat id="any_routes"/>
	</layer>
	<layer id="h_s_color_routes" enabled="false">
		<name lang="de" value="🌈 Farblich gekennzeichnete Wanderrouten"/>
		<name lang="en" value="🌈 color-coded hiking routes"/>
		<name lang="es" value="🌈 rutas de senderismo codificadas por colores"/>
		<name lang="fr" value="🌈 itinéraires de randonnée à code couleur"/>
		<name lang="it" value="🌈 percorsi escursionistici con codice colore"/>
		<cat id="h_s_color_routes"/>
		<cat id="h_n_routes"/>
		<cat id="any_routes"/>
	</layer>
	<layer id="c_tracks" enabled="false">
		<name lang="de" value="🟦 Radwege, Radschnellwege usw"/>
		<name lang="en" value="🟦 cycle paths, cycle highways etc"/>
		<name lang="es" value="🟦 ciclovías, supercarretera ciclista"/>
		<name lang="fr" value="🟦 pistes cyclables, autoroutes cyclables"/>
		<name lang="it" value="🟦 corsia, piste &amp; superstrade ciclabili"/>
		<cat id="bike"/>
		<cat id="c_tracks"/>
		<cat id="both"/>
	</layer>
	<layer id="c_surfaces" enabled="false">
		<name lang="de" value="🩵 Radwegoberflächen"/>
		<name lang="en" value="🩵 cyclable path surfaces"/>
		<name lang="es" value="🩵 superficies de carriles bici"/>
		<name lang="fr" value="🩵 surfaces de pistes cyclables"/>
		<name lang="it" value="🩵 superfici ciclabili"/>
		<cat id="c_surfaces"/>
		<cat id="both"/>
	</layer>
	<layer id="c_routes" enabled="true">
		<name lang="de" value="🔵 Fahrradrouten"/>
		<name lang="en" value="🔵 cycling routes"/>
		<name lang="es" value="🔵 rutas en bici"/>
		<name lang="fr" value="🔵 itinéraires cyclable"/>
		<name lang="it" value="🔵 percorsi ciclabili"/>
		<cat id="c_routes"/>
		<cat id="c_n_routes"/>
		<cat id="any_routes"/>
		<cat id="bike"/>
		<cat id="both"/>
	</layer>
	<layer id="c_routes_false" enabled="false">
		<name lang="de" value="🔵 Fahrradrouten"/>
		<name lang="en" value="🔵 cycling routes"/>
		<name lang="es" value="🔵 rutas en bici"/>
		<name lang="fr" value="🔵 itinéraires cyclable"/>
		<name lang="it" value="🔵 percorsi ciclabili"/>
		<cat id="c_routes"/>
		<cat id="c_n_routes"/>
		<cat id="any_routes"/>
		<cat id="bike"/>
		<cat id="both"/>
	</layer>
	<layer id="c_s_routes" enabled="false">
		<name lang="de" value="💙 Betonte Fahradrouten"/>
		<name lang="en" value="💙 emphasised cycle routes"/>
		<name lang="es" value="💙 rutas en bici resaltadas"/>
		<name lang="fr" value="💙 itinéraires cyclable soulignés"/>
		<name lang="it" value="💙 percorsi ciclabili accentato"/>
		<cat id="c_s_routes"/>
		<cat id="c_n_routes"/>
		<cat id="any_routes"/>
		<cat id="both"/>
	</layer>
	<layer id="c_s_color_routes" enabled="false">
		<name lang="de" value="🌈 Farblich gekennzeichnete Fahrradrouten"/>
		<name lang="en" value="🌈 color-coded cycle routes"/>
		<name lang="es" value="🌈 rutas en bici codificadas por colores"/>
		<name lang="fr" value="🌈 itinéraires cyclable à code couleur"/>
		<name lang="it" value="🌈 percorsi ciclabili con codice colore"/>
		<cat id="c_s_color_routes"/>
		<cat id="c_n_routes"/>
		<cat id="any_routes"/>
		<cat id="both"/>
	</layer>
	<layer id="mtb_routes" enabled="true">
		<name lang="de" value="🟣 Mountainbike Routen"/>
		<name lang="en" value="🟣 mountain bike routes"/>
		<name lang="es" value="🟣 rutas en BTT"/>
		<name lang="fr" value="🟣 itinéraires VTT"/>
		<name lang="it" value="🟣 percorsi mountain bike"/>
		<cat id="mtb_routes"/>
		<cat id="mtb_n_routes"/>
		<cat id="any_routes"/>
		<!--cat id="bike"/-->
	</layer>
	<layer id="mtb_s_routes" enabled="false">
		<name lang="de" value="💜 Betonte Mountainbike Routen"/>
		<name lang="en" value="💜 emphasised mountain bike routes"/>
		<name lang="es" value="💜 rutas en BTT resaltadas"/>
		<name lang="fr" value="💜 itinéraires VTT soulignés"/>
		<name lang="it" value="💜 percorsi mountain bike accentato"/>
		<cat id="mtb_s_routes"/>
		<cat id="mtb_n_routes"/>
		<cat id="any_routes"/>
	</layer>
	<layer id="mtb_s_color_routes" enabled="false">
		<name lang="de" value="🌈 Farblich gekennzeichnete Mountainbike Routen"/>
		<name lang="en" value="🌈 color-coded mountain bike routes"/>
		<name lang="es" value="🌈 rutas en BTT codificadas por colores"/>
		<name lang="fr" value="🌈 itinéraires VTT à code couleur"/>
		<name lang="it" value="🌈 percorsi mountain bike con codice colore"/>
		<cat id="mtb_s_color_routes"/>
		<cat id="mtb_n_routes"/>
		<cat id="any_routes"/>
	</layer>
	<layer id="ski" enabled="false">
		<name lang="de" value="❄️ Ski &amp; Rodeln"/>
		<name lang="en" value="❄️ ski &amp; sled"/>
		<name lang="es" value="❄️ esqui &amp; tobogán"/>
		<name lang="fr" value="❄️ ski &amp; toboggan"/>
		<name lang="it" value="❄️ sci &amp; toboga"/>
		<cat id="ski"/>
	</layer>
	<layer id="tracks" enabled="true">
		<name lang="de" value="🚜 Spuren"/>
		<name lang="en" value="🚜 tracks "/>
		<name lang="es" value="🚜 pistas"/>
		<name lang="fr" value="🚜 pistes"/>
		<name lang="it" value="🚜 brani"/>
		<cat id="tracks"/>
	</layer>
	<layer id="tracks_false" enabled="false">
		<name lang="de" value="🚜 Spuren"/>
		<name lang="en" value="🚜 tracks "/>
		<name lang="es" value="🚜 pistas"/>
		<name lang="fr" value="🚜 pistes"/>
		<name lang="it" value="🚜 brani"/>
		<cat id="tracks"/>
	</layer>
	<layer id="paths" enabled="true">
		<name lang="de" value="👟 Pfade"/>
		<name lang="en" value="👟 paths"/>
		<name lang="es" value="👟 caminos"/>
		<name lang="fr" value="👟 sentiers"/>
		<name lang="it" value="👟 sentieros"/>
		<cat id="paths"/>
	</layer>
	<layer id="sacpaths" enabled="true">
		<name lang="de" value="🥾 Schwierige Pfade"/>
		<name lang="en" value="🥾 difficult paths"/>
		<name lang="es" value="🥾 caminos difíciles"/>
		<name lang="fr" value="🥾 sentiers difficiles"/>
		<name lang="it" value="🥾 sentieros difficili"/>
		<!--cat id="paths"/-->
		<cat id="sacpaths"/>
	</layer>
	<layer id="paths_false" enabled="false">
		<name lang="de" value="👟 Pfade"/>
		<name lang="en" value="👟 paths"/>
		<name lang="es" value="👟 caminos"/>
		<name lang="fr" value="👟 sentiers"/>
		<name lang="it" value="👟 sentieros"/>
		<cat id="paths"/>
	</layer>
	<layer id="nocity" enabled="true">
		<name lang="de" value="🔎 Detail (niedrige Zoom)"/>
		<name lang="en" value="🔎 detail (low zoom)"/>
		<name lang="es" value="🔎 detalle (zoom bajo)"/>
		<name lang="fr" value="🔎 détail (faible zoom)"/>
		<name lang="it" value="🔎 dettaglio (basso zoom)"/>
		<cat id="nocity"/>
	</layer>
	<layer id="settlements" enabled="true">
		<name lang="de" value="📝 Ortsnamen"/>
		<name lang="en" value="📝 settlement names"/>
		<name lang="es" value="📝 toponimia"/>
		<name lang="fr" value="📝 noms de lieux"/>
		<name lang="it" value="📝 toponimi"/>
		<cat id="settlements"/>
	</layer>
	<layer id="background" enabled="true">
		<name lang="de" value="🌐 Kartenhintergrund"/>
		<name lang="en" value="🌐 map background"/>
		<name lang="es" value="🌐 fondo del mapa"/>
		<name lang="fr" value="🌐 fond de la carte"/>
		<name lang="it" value="🌐 sfondo di mappa"/>
		<cat id="background"/>
	</layer>

	<!-- mapstyles -->
	<layer id="vol-hiking" visible="true">
		<name lang="de" value="🚶 Wandern &amp; Wintersport"/>
		<name lang="en" value="🚶 Hiking &amp; Wintersport"/>
		<name lang="es" value="🚶 Excursionismo &amp; deports de invierno"/>
		<name lang="fr" value="🚶 Randonnées &amp; sports d'hiver"/>
		<name lang="it" value="🚶 Escursioni &amp; sport invernali"/>
		<cat id="hike"/>
		<cat id="hikeonly"/>
		<cat id="nobike"/>
		<cat id="nocity"/>
		<cat id="noroad"/>
		<cat id="noyellow"/>
		<cat id="tracks"/>
		<cat id="paths"/>
		<cat id="settlements"/>
		<cat id="background"/>
		<overlay id="sacpaths"/>
		<overlay id="h_routes"/>
		<overlay id="h_s_color_routes"/>
		<overlay id="ski"/>
	</layer>
	<layer id="vol-cycling" visible="true">
		<name lang="de" value="🚴‍♂️ Radfahren"/>
		<name lang="en" value="🚴‍♂️ Cycling"/>
		<name lang="es" value="🚴‍♂️ Ciclismo"/>
		<name lang="fr" value="🚴‍♂️ Cyclisme"/>
		<name lang="it" value="🚴‍♂️ Ciclismo"/>
		<cat id="bike"/>
		<cat id="bikeonly"/>
		<cat id="nocity"/>
		<cat id="noroad"/>
		<cat id="noyellow"/>
		<cat id="settlements"/>
		<cat id="background"/>
		<cat id="c_tracks"/>
		<cat id="both"/>
		<overlay id="tracks"/>
		<overlay id="paths"/>
		<overlay id="c_surfaces"/>
		<overlay id="c_routes"/>
		<overlay id="c_s_color_routes"/>
		<overlay id="mtb_routes"/>
		<overlay id="mtb_s_color_routes"/>
	</layer>
	<layer id="vol-city" visible="true">
		<name lang="de" value="🏛️ Stadt"/>
		<name lang="en" value="🏛️ City"/>
		<name lang="es" value="🏛️ Ciudad"/>
		<name lang="fr" value="🏛️ Ville"/>
		<name lang="it" value="🏛️ Città"/>
		<cat id="city"/>
		<cat id="noroad"/>
		<cat id="noyellow"/>
		<cat id="nobike"/>
		<cat id="nohikebike"/>
		<cat id="settlements"/>
		<cat id="background"/>
		<overlay id="tracks_false"/>
		<overlay id="paths_false"/>
		<overlay id="h_routes_false"/>
		<overlay id="h_s_routes"/>
		<overlay id="c_tracks"/>
		<overlay id="c_routes_false"/>
		<overlay id="c_s_routes"/>
	</layer>
	<layer id="vol-road" visible="true">
		<name lang="de" value="🚘 Straße"/>
		<name lang="en" value="🚘 Road"/>
		<name lang="es" value="🚘 Carretera"/>
		<name lang="fr" value="🚘 Route"/>
		<name lang="it" value="🚘 Strada"/>
		<cat id="nobike"/>
		<cat id="nohikebike"/>
		<cat id="noyellow"/>
		<cat id="road"/>
		<cat id="settlements"/>
		<cat id="background"/>
		<overlay id="nocity"/>
		<overlay id="tracks_false"/>
		<overlay id="paths_false"/>
		<overlay id="c_tracks"/>
		<overlay id="c_routes_false"/>
		<overlay id="c_s_color_routes"/>
	</layer>
	<layer id="vol-multi" visible="true">
		<name lang="de" value="🧑‍🔧 Allzweck"/>
		<name lang="en" value="🧑‍🔧 Multi"/>
		<name lang="es" value="🧑‍🔧 Multi"/>
		<name lang="fr" value="🧑‍🔧 Multi"/>
		<name lang="it" value="🧑‍🔧 Universale"/>
		<cat id="nohikebike"/>
		<cat id="nobike"/>
		<cat id="noroad"/>
		<cat id="noyellow"/>
		<cat id="settlements"/>
		<cat id="background"/>
		<overlay id="nocity"/>
		<overlay id="tracks"/>
		<overlay id="paths"/>
		<overlay id="sacpaths"/>
		<overlay id="h_routes"/>
		<overlay id="h_s_routes"/>
		<overlay id="c_tracks"/>
		<overlay id="c_routes"/>
		<overlay id="c_s_routes"/>
		<overlay id="mtb_routes"/>
		<overlay id="mtb_s_routes"/>
		<overlay id="ski"/>
	</layer>
	<layer id="vol-transparent" visible="true">
		<name lang="de" value="🪟 Transparent"/>
		<name lang="en" value="🪟 Transparent"/>
		<name lang="es" value="🪟 Transparente"/>
		<name lang="fr" value="🪟 Transparent"/>
		<name lang="it" value="🪟 Trasparente"/>
		<cat id="nohikebike"/>
		<cat id="nobike"/>
		<cat id="noroad"/>
		<cat id="noyellow"/>
		<cat id="nobackground"/>
		<overlay id="nocity"/>
		<overlay id="tracks"/>
		<overlay id="paths"/>
		<overlay id="sacpaths"/>
		<overlay id="h_routes"/>
		<overlay id="h_s_routes"/>
		<overlay id="c_tracks"/>
		<overlay id="c_routes"/>
		<overlay id="c_s_routes"/>
		<overlay id="mtb_routes"/>
		<overlay id="mtb_s_routes"/>
		<overlay id="ski"/>
		<overlay id="settlements"/>
	</layer>
	<layer id="vol-yellow" visible="true">
		<name lang="de" value="🟡 Gelb"/>
		<name lang="en" value="🟡 Yellow"/>
		<name lang="es" value="🟡 Amarillo"/>
		<name lang="fr" value="🟡 Jaune"/>
		<name lang="it" value="🟡 Giallo"/>
		<cat id="noroad"/>
		<cat id="yellow"/>
		<cat id="nobike"/>
		<cat id="nohikebike"/>
		<cat id="nobackground"/>
		<overlay id="nocity"/>
		<overlay id="tracks"/>
		<overlay id="paths"/>
		<overlay id="sacpaths"/>
		<overlay id="h_routes"/>
		<overlay id="h_s_routes"/>
		<overlay id="c_tracks"/>
		<overlay id="c_routes"/>
		<overlay id="c_s_routes"/>
		<overlay id="mtb_routes"/>
		<overlay id="mtb_s_routes"/>
		<overlay id="ski"/>
		<overlay id="settlements"/>
		<overlay id="background"/>
	</layer>
	</stylemenu>

	<!-- render land above water -->
	<rule cat="nobackground" e="way" k="natural" v="sea">
		<area fill="#f8f8f8"/>
	</rule>
	<rule cat="background" e="way" k="natural" v="sea">
		<area fill="#b5d6f1"/>
	</rule>
	<rule cat="background" e="way" k="natural" v="nosea">
		<rule e="way" k="*" v="*" zoom-max="12">
			<area fill="#f8f8f8" stroke="#f8f8f8" stroke-width="2dp"/>
		</rule>
		<rule e="way" k="*" v="*" zoom-min="13">
			<area fill="#f8f8f8" stroke="#f8f8f8" stroke-width="0.125dp"/>
		</rule>
	</rule>

	<!-- landcover -->
	<rule cat="background" e="way" k="*" v="*" closed="yes">
		<rule e="way" k="natural" v="land">
			<area fill="#f8f8f8" stroke="#f8f8f8" stroke-width="0.125dp"/>
		</rule>
		<!-- landuse -->
		<rule e="way" k="aeroway" v="aerodrome|helipad" zoom-min="13">
			<area fill="#d8dcce" stroke="#444444" stroke-width="0.125dp"/>
		</rule>
		<rule e="way" k="landuse" v="residential" zoom-min="12" zoom-max="13">
			<area fill="#E0E0E0"/>
		</rule>
		<rule e="way" k="landuse" v="residential|brownfield|construction" zoom-min="14">
			<area fill="#80D2D2D2"/>
		</rule>
		<rule cat="nocity" e="way" k="landuse" v="landfill" zoom-min="13" zoom-max="14">
			<area fill="#E5DCD3"/>
		</rule>
		<rule e="way" k="landuse" v="commercial|industrial|railway|garages|landfill" zoom-min="15">
			<area fill="#99D6C7B8" stroke="#A8A08C" stroke-width="0.125dp"/>
		</rule>
		<rule e="way" k="landuse" v="farmyard" zoom-min="15">
			<area fill="#bbD5D8C0" stroke="#CAD49A" stroke-width="0.125dp"/>
		</rule>
		<rule e="way" k="landuse" v="retail" zoom-min="15">
			<area fill="#80DFBEEA" stroke="#DC9ED1" stroke-width="0.125dp"/>
		</rule>
		<rule e="way" k="amenity" v="kindergarten|school|college|university" zoom-min="15">
			<area fill="#C6C0DA" stroke="#9586CC" stroke-width="0.125dp"/>
		</rule>
	</rule>

	<!-- Deals with errors in automated mapping -->
	<rule cat="background" e="way" k="waterway" v="riverbank" closed="yes">
		<area fill="#b5d6f1" stroke="#b5d6f1" stroke-width="0.125dp"/>
	</rule>
	<rule cat="background" e="way" k="waterway" v="riverbank" closed="no">
		<line stroke="#b5d6f1" stroke-width="0.4dp"/>
	</rule>

	<rule cat="background" e="way" k="*" v="*">
		<!-- greens -->
		<rule e="way" k="landuse" v="field|farm|farmland" zoom-min="14" cat="nocity">
			<area fill="#70ECF8EC"/>
		</rule>
		<rule e="way" k="landuse|natural" v="meadow|grass|grassland|greenfield" zoom-min="15" cat="nocity">
			<area fill="#bbe9f8d7" stroke="#C6E6B8" stroke-width="0.125dp"/>
		</rule>
		<rule e="way" k="natural" v="beach|sand|desert" zoom-min="11">
			<!-- area fill="#10FFE5AE" /-->
			<rule e="way" k="*" v="*" zoom-max="15">
				<area symbol-height="16dp" src="file:vol_res/patterns/beach.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="16" zoom-max="17">
				<area symbol-height="32dp" src="file:vol_res/patterns/beach.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<area symbol-height="64dp" src="file:vol_res/patterns/beach.svg"/>
			</rule>
		</rule>
		<rule e="way" k="natural" v="glacier">
			<rule e="way" k="*" v="*" zoom-min="12" zoom-max="12" cat="nocity">
				<area symbol-height="16dp" src="file:vol_res/patterns/glacier.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="16" zoom-max="17">
				<area symbol-height="32dp" src="file:vol_res/patterns/glacier.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<area symbol-height="64dp" src="file:vol_res/patterns/glacier.svg"/>
			</rule>
		</rule>	

		<!-- recreation-->
		<rule e="way" k="leisure|sport" v="sports_centre|shooting|stadium" closed="yes">
			<rule e="way" k="building" v="~" zoom-min="13" zoom-max="14" cat="nocity">
				<area fill="#ddc2e3bd"/>
			</rule>
			<rule e="way" k="building" v="~" zoom-min="15">
				<area fill="#ddc2e3bd" stroke="#5fb12d" stroke-width="0.125dp"/>
			</rule>
		</rule>
		<rule e="way" k="landuse" v="allotments">
			<rule e="way" k="*" v="*" zoom-min="14" zoom-max="14" cat="nocity">
				<area symbol-height="2dp" src="file:vol_res/patterns/allotments0.png"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="15" zoom-max="15" cat="nocity">
				<area symbol-height="4dp" src="file:vol_res/patterns/allotments.png" stroke="#A47C41" stroke-width="0.125dp"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="16" zoom-max="17">
				<area symbol-height="8dp" src="file:vol_res/patterns/allotments-large.png" stroke="#A47C41" stroke-width="0.125dp"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<area symbol-height="16dp" src="file:vol_res/patterns/allotments-large.png" stroke="#A47C41" stroke-width="0.125dp"/>
			</rule>
		</rule>
		<rule cat="nocity" e="way" k="leisure" v="common" zoom-min="13">
			<area fill="#bbeef0d9"/>
		</rule>
		<rule e="way" k="landuse|leisure" v="village_green|green|recreation_ground|park" zoom-min="14">
			<area fill="#BB99CC99"/>
		</rule>
		<rule cat="nocity" e="way" k="leisure|tourism" v="golf_course|camp_site|caravan_site" zoom-min="14" zoom-max="15">
			<area fill="#CCD7EFD7"/>
		</rule>
		<rule e="way" k="leisure|tourism" v="garden|golf_course|camp_site|caravan_site" zoom-min="15">
			<area fill="#CCD7EFD7" stroke="#6FC13D" stroke-width="0.125dp"/>
			<rule e="way" k="access" v="private|acc_no|forestry|permit" zoom-min="16">
					<area symbol-height="16dp" src="file:vol_res/patterns/access-private-garden.png"/>
			</rule>
		</rule>
		<rule e="way" k="tourism" v="zoo|picnic_site" zoom-min="15">
			<area fill="#BBA3F1B7" stroke="#6FC13D" stroke-width="0.125dp"/>
		</rule>
	
		<rule e="way" k="natural|landuse" v="forest|wood" closed="yes">
			<!--area fill="#607CB57C"/-->
			<rule e="way" k="wood|leaf_type" v="coniferous|needleleaved" zoom-max="13">
				<area fill="#CADDCA"/>
			</rule>
			<rule e="way" k="wood|leaf_type" v="coniferous|needleleaved" zoom-min="14">
				<area fill="#6074A574"/>
				<rule e="way" k="*" v="*" zoom-min="14" zoom-max="15" cat="nocity">
					<area symbol-height="32dp" src="file:vol_res/patterns/wood-coniferous.svg"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="16" zoom-max="17">
					<area symbol-height="64dp" src="file:vol_res/patterns/wood-coniferous.svg"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="18">
					<area symbol-height="128dp" src="file:vol_res/patterns/wood-coniferous.svg"/>
				</rule>
			</rule>
			<rule e="way" k="wood|leaf_type" v="deciduous|broadleaved" zoom-max="13">
				<area fill="#C6E9C6"/>
			</rule>
			<rule e="way" k="wood|leaf_type" v="deciduous|broadleaved" zoom-min="14">
				<area fill="#6068C568"/>
				<rule e="way" k="*" v="*" zoom-min="14" zoom-max="15" cat="nocity">
					<area symbol-height="32dp" src="file:vol_res/patterns/wood-deciduous.svg"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="16" zoom-max="17">
					<area symbol-height="64dp" src="file:vol_res/patterns/wood-deciduous.svg"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="18">
					<area symbol-height="128dp" src="file:vol_res/patterns/wood-deciduous.svg"/>
				</rule>
			</rule>
			<rule e="way" k="wood|leaf_type" v="~|mixed|leafless" zoom-max="13">
				<area fill="#C8E1C8"/>
			</rule>
			<rule e="way" k="wood|leaf_type" v="~|mixed|leafless" zoom-min="14">
				<area fill="#606Db16D"/>
				<rule e="way" k="*" v="*" zoom-min="14" zoom-max="15" cat="nocity">
					<area symbol-height="32dp" src="file:vol_res/patterns/wood-mixed.svg"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="16" zoom-max="17">
					<area symbol-height="64dp" src="file:vol_res/patterns/wood-mixed.svg"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="18">
					<area symbol-height="128dp" src="file:vol_res/patterns/wood-mixed.svg"/>
				</rule>
			</rule>
		</rule>
		<rule e="way" k="natural" v="heath" zoom-min="13">
			<rule cat="nocity" e="way" k="*" v="*" zoom-max="15">
				<area fill="#60eef0d9"/>
				<rule e="way" k="*" v="*" zoom-min="14">
					<area symbol-height="16dp" src="file:vol_res/patterns/heath.svg"/>
				</rule>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="16" zoom-max="17">
				<area fill="#60eef0d9"/>
				<area symbol-height="32dp" src="file:vol_res/patterns/heath.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<area fill="#60eef0d9"/>
				<area symbol-height="64dp" src="file:vol_res/patterns/heath.svg"/>
			</rule>
		</rule>
		<rule e="way" k="natural" v="scrub" zoom-min="14">
			<rule e="way" k="*" v="*" zoom-max="15" cat="nocity">
				<area symbol-height="16dp" src="file:vol_res/patterns/scrub.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="16" zoom-max="17">
				<area symbol-height="32dp" src="file:vol_res/patterns/scrub.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<area symbol-height="64dp" src="file:vol_res/patterns/scrub.svg"/>
			</rule>
		</rule>
		<rule e="way" k="natural" v="fell|tundra" zoom-min="13">
			<rule e="way" k="natural" v="fell" zoom-max="15" cat="nocity">
				<area fill="#60eaf1ea"/>
			</rule>
			<rule e="way" k="natural" v="fell" zoom-min="16">
				<area fill="#60eaf1ea"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="14" zoom-max="15" cat="nocity">
				<area symbol-height="16dp" src="file:vol_res/patterns/fell.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="16" zoom-max="17">
				<area symbol-height="32dp" src="file:vol_res/patterns/fell.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<area symbol-height="64dp" src="file:vol_res/patterns/fell.svg"/>
			</rule>
		</rule>

		
		<rule e="way" k="landuse" v="orchard">
			<rule cat="nocity" e="way" k="*" v="*" zoom-min="14" zoom-max="15">
				<area symbol-height="16dp" src="file:vol_res/patterns/orchard.svg" stroke="#CBD497" stroke-width="0.125dp"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="16" zoom-max="17">
				<area symbol-height="32dp" src="file:vol_res/patterns/orchard.svg" stroke="#CBD497" stroke-width="0.125dp"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<area symbol-height="64dp" src="file:vol_res/patterns/orchard.svg" stroke="#CBD497" stroke-width="0.125dp"/>
			</rule>
		</rule>
		<rule e="way" k="landuse" v="vineyard">
			<rule cat="nocity" e="way" k="*" v="*" zoom-min="14" zoom-max="15">
				<area symbol-height="16dp" src="file:vol_res/patterns/vineyard.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="16" zoom-max="17">
				<area symbol-height="32dp" src="file:vol_res/patterns/vineyard.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<area symbol-height="64dp" src="file:vol_res/patterns/vineyard.svg"/>
			</rule>
		</rule>
		<rule e="way" k="natural" v="rock|stone|bare_rock|bedrock" zoom-min="14">
			<rule e="way" k="*" v="*" zoom-max="15" cat="nocity">
				<area symbol-height="16dp" src="file:vol_res/patterns/rock.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="16" zoom-max="17">
				<area symbol-height="32dp" src="file:vol_res/patterns/rock.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<area symbol-height="64dp" src="file:vol_res/patterns/rock.svg"/>
			</rule>
		</rule>
		<rule e="way" k="natural" v="scree|shingle" zoom-min="13">
			<rule e="any" k="*" v="*" zoom-max="15" cat="nocity">
				<area symbol-height="16dp" src="file:vol_res/patterns/scree.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="16" zoom-max="17">
				<area symbol-height="32dp" src="file:vol_res/patterns/scree.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<area symbol-height="64dp" src="file:vol_res/patterns/scree.svg"/>
			</rule>
		</rule>
		<rule e="way" k="landuse" v="quarry" zoom-min="13">
			<rule e="way" k="*" v="*" zoom-max="13" cat="nocity">
				<area fill="#E5DCD3"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="14" zoom-max="15" cat="nocity">
				<area fill="#99D6C7B8" stroke="#A8A08C" stroke-width="0.125dp"/>
				<area symbol-height="16dp" src="file:vol_res/patterns/quarry.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="16" zoom-max="17">
				<area fill="#99D6C7B8" stroke="#A8A08C" stroke-width="0.125dp"/>
				<area symbol-height="32dp" src="file:vol_res/patterns/quarry.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<area fill="#99D6C7B8" stroke="#A8A08C" stroke-width="0.125dp"/>
				<area symbol-height="64dp" src="file:vol_res/patterns/quarry.svg"/>
			</rule>
		</rule>
		<rule e="way" k="landuse|amenity" v="cemetery|grave_yard" zoom-min="14">
			<rule e="way" k="*" v="*" zoom-max="14" cat="nocity">
				<area fill="#B8DFCB" stroke="#B0B0B0" stroke-width="0.125dp"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="15" zoom-max="15">
				<area symbol-height="16dp" src="file:vol_res/patterns/cemetery.svg" stroke="#e4e4e4" stroke-width="0.125dp"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="16" zoom-max="17">
				<area symbol-height="32dp" src="file:vol_res/patterns/cemetery.svg" stroke="#e4e4e4" stroke-width="0.125dp"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<area symbol-height="64dp" src="file:vol_res/patterns/cemetery.svg" stroke="#e4e4e4" stroke-width="0.125dp"/>
			</rule>
		</rule>

		<!-- landuse overlays -->
		<rule e="way" k="landuse" v="landfill|construction|brownfield">
			<rule e="any" k="*" v="*" zoom-min="13" zoom-max="15" cat="nocity">
				<area symbol-height="16dp" src="file:vol_res/patterns/fill.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="16" zoom-max="17">
				<area symbol-height="32dp" src="file:vol_res/patterns/fill.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<area symbol-height="64dp" src="file:vol_res/patterns/fill.svg"/>
			</rule>
		</rule>
	</rule>

	<!-- bugfix -->
	<rule cat="background" e="way" k="*" v="*" closed="yes">
		<rule e="way" k="highway" v="raceway" zoom-min="13" zoom-max="14" cat="nocity">
			<line stroke="#A3A3A3" stroke-width="1.3dp"/>
			<line stroke="#C40000" stroke-width="1.3dp" stroke-linecap="butt" stroke-dasharray="5,5"/>
			<area fill="#f8f8f8"/>
		</rule>
	</rule>
	<!-- /bugfix -->

	<rule cat="background" e="way" k="leisure" v="ls_track" closed="yes" zoom-min="15">
		<rule e="way" k="area" v="yes">
			<area fill="#ddbde3cb" stroke="#5fb12d" stroke-width="0.125dp"/>
		</rule>
	</rule>

	<!-- contours -->
	<rule e="way" k="boundary" v="~" zoom-min="8" zoom-max="9" cat="nocity">
		<rule e="way" k="contour_ext" v="elevation_major">
			<line stroke="#b0800000" stroke-width="0.4dp" curve="cubic"/>
		</rule>
	</rule>
	<rule e="way" k="boundary" v="~" zoom-min="10" zoom-max="12" cat="nocity">
		<rule e="way" k="contour_ext" v="elevation_medium">
			<line stroke="#b0800000" stroke-width="0.12dp" curve="cubic"/>
		</rule>
		<rule e="way" k="contour_ext" v="elevation_major">
			<line stroke="#b0800000" stroke-width="0.35dp" curve="cubic"/>
		</rule>
	</rule>
	<!-- contour lines level 13 -->
	<rule e="way" k="boundary" v="~" zoom-min="13" zoom-max="13" cat="nocity">
		<rule e="way" k="contour_ext" v="elevation_medium">  
			<line stroke="#b0800000" stroke-width="0.09dp" curve="cubic"/>
		</rule>
		<rule e="way" k="contour_ext" v="elevation_major">  
			<line stroke="#b0800000" stroke-width="0.22dp" curve="cubic"/>
		</rule>
	</rule>
	<!-- contour lines level 14-->
	<rule e="way" k="boundary" v="~" zoom-min="14" zoom-max="14" cat="nocity">
		<rule e="way" k="contour_ext" v="elevation_medium">  
			<line stroke="#b0800000" stroke-width="0.06dp" curve="cubic"/>
		</rule>
		<rule e="way" k="contour_ext" v="elevation_major">  
			<line stroke="#b0800000" stroke-width="0.15dp" curve="cubic"/>
			<pathText k="ele" font-style="bold" font-size="10dp" fill="#b0800000" stroke="#A0ffffff" stroke-width="2dp" rotate_up="false"/>
		</rule>  
	</rule>
	<!-- contour lines level 15-->
	<rule e="way" k="boundary" v="~" zoom-min="15" zoom-max="15" cat="nocity">
		<rule e="way" k="contour_ext" v="elevation_minor" zoom-max="15">  
			<line stroke="#b0800000" stroke-width="0.05dp" curve="cubic"/>
		</rule>
		<rule e="way" k="contour_ext" v="elevation_medium|elevation_major">  
			<line stroke="#b0800000" stroke-width="0.125dp" curve="cubic"/>
			<pathText k="ele" font-style="bold" font-size="10dp" fill="#b0800000" stroke="#A0ffffff" stroke-width="2dp" rotate_up="false" dy="2dp"/>
		</rule>
	</rule>
	<!-- contour lines level 16 & 17 -->
	<rule e="way" k="boundary" v="~" zoom-min="16" zoom-max="17" cat="nocity">
		<rule e="way" k="contour_ext" v="elevation_minor">  
			<line stroke="#b0800000" stroke-width="0.05dp" curve="cubic"/>
		</rule>
		<rule e="way" k="contour_ext" v="elevation_medium|elevation_major">  
			<line stroke="#b0800000" stroke-width="0.125dp" curve="cubic"/>
			<pathText k="ele" font-style="bold" font-size="10dp" fill="#b0800000" stroke="#A0ffffff" stroke-width="2dp" rotate_up="false" scale-font-size="16,1.1" dy="2.5dp"/>
		</rule>
	</rule>  
	<!-- contour lines level 18 and above -->
	<rule e="way" k="boundary" v="~" zoom-min="18" cat="nocity">
		<rule e="way" k="contour_ext" v="elevation_minor">  
			<line stroke="#b0800000" stroke-width="0.05dp" curve="cubic"/>
		</rule>
		<rule e="way" k="contour_ext" v="elevation_medium|elevation_major">  
			<line stroke="#b0800000" stroke-width="0.125dp" curve="cubic"/>
			<pathText k="ele" font-style="bold" font-size="10dp" fill="#b0800000" stroke="#A0ffffff" stroke-width="3dp" rotate_up="false" scale-font-size="16,1.1" dy="3dp" scale-dy-size="18,1.4"/>
		</rule>
	</rule>

	<!-- embankment and dyke -->
	<!-- Treat dyke as two-sided, like embankment=yes -->
	<rule cat="background" e="way" k="*" v="*">
		<rule cat="nocity" e="way" k="man_made" v="dyke" zoom-min="16">
			<rule e="way" k="embankment|highway" v="~">
				<line stroke="#5fbc7d" stroke-width="3.2dp" stroke-dasharray="0.5,2.5" stroke-linecap="butt"/>
				<line stroke="#5fbc7d" stroke-width="1.25dp" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="1.05dp" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="highway" v="*">
				<line stroke="#5fbc7d" stroke-width="4.2dp" stroke-dasharray="0.5,2.5" stroke-linecap="butt"/>
				<line stroke="#5fbc7d" stroke-width="2.25dp" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="2.05dp" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="highway" v="motorway|trunk|primary">
				<line stroke="#5fbc7d" stroke-width="4.6dp" stroke-dasharray="0.5,2.5" stroke-linecap="butt"/>
				<line stroke="#5fbc7d" stroke-width="2.65dp" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="2.45dp" stroke-linecap="butt"/>
			</rule>
		</rule>
		<rule cat="nocity" e="way" k="embankment" v="emb_yes" zoom-min="16">
			<rule e="way" k="highway" v="~">
				<line stroke="#bc995f" stroke-width="3.2dp" stroke-dasharray="0.5,2.5" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="1.25dp" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="1.05dp" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="waterway" v="canal|river">
				<line stroke="#bc995f" stroke-width="3.7dp" stroke-dasharray="0.5,2.5" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="1.75dp" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="1.55dp" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="highway" v="footway|path|bridleway|cycleway|steps">
				<line stroke="#bc995f" stroke-width="3.2dp" stroke-dasharray="0.5,2.5" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="1.25dp" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="1.05dp" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="highway" v="track|byway|service|residential|living_street|construction|road|ford|pedestrian|unclassified|tertiary_link|secondary_link|primary_link|trunk_link|tertiary|secondary">
				<line stroke="#bc995f" stroke-width="4.2dp" stroke-dasharray="0.5,2.5" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="2.25dp" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="2.05dp" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="highway" v="motorway|trunk|primary">
				<line stroke="#bc995f" stroke-width="4.6dp" stroke-dasharray="0.5,2.5" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="2.65dp" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="2.45dp" stroke-linecap="butt"/>
			</rule>
		</rule>

		<rule cat="nocity" e="way" k="man_made" v="embankment" zoom-min="16" closed="no">
			<rule e="way" k="embankment" v="~">
			<rule e="way" k="railway|waterway" v="*">
				<line stroke="#bc995f" stroke-width="3.2dp" stroke-dasharray="0.5,2.5" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="1.25dp" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="1.05dp" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="waterway" v="canal|river">
				<line stroke="#bc995f" stroke-width="3.7dp" stroke-dasharray="0.5,2.5" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="1.75dp" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="1.55dp" stroke-linecap="butt"/>
			</rule>
			
			<rule e="way" k="highway" v="footway|path|bridleway|cycleway|steps">
				<line stroke="#bc995f" stroke-width="3.2dp" stroke-dasharray="0.5,2.5" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="1.25dp" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="1.05dp" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="highway" v="track|byway|service|residential|living_street|construction|road|ford|pedestrian|unclassified|tertiary_link|secondary_link|primary_link|trunk_link|tertiary|secondary">
				<line stroke="#bc995f" stroke-width="4.2dp" stroke-dasharray="0.5,2.5" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="2.25dp" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="2.05dp" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="highway" v="motorway|trunk|primary">
				<line stroke="#bc995f" stroke-width="4.6dp" stroke-dasharray="0.5,2.5" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="2.65dp" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="2.45dp" stroke-linecap="butt"/>
			</rule>
		</rule>
	</rule>
	</rule>

	<!-- waterways -->
	<!-- waterway bridges -->
	<rule cat="background" e="way" k="bridge" v="yes|aqueduct|movable" zoom-min="14">
		<rule e="way" k="waterway" v="ditch|drain|stream" zoom-min="16">
			<line stroke="#181818" stroke-width="1.95dp" stroke-linecap="butt"/>
			<line stroke="#f8f8f8" stroke-width="1.5dp" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="waterway" v="canal|river">
			<line stroke="#181818" stroke-width="2.45dp" stroke-linecap="butt"/>
			<line stroke="#f8f8f8" stroke-width="2dp" stroke-linecap="butt"/>
		</rule>
	</rule>

	<!-- bodies of water -->
	<rule cat="background" e="way" k="landuse|natural" v="reservoir|basin|water">
		<rule e="way" k="*" v="*" closed="yes" zoom-max="12">
			<area fill="#b5d6f1"/>
		</rule>
		<rule e="way" k="*" v="*" closed="yes" zoom-min="13">
			<area fill="#b5d6f1" stroke="#b5d6f1" stroke-width="0.125dp"/>
		</rule>
		<rule e="way" k="*" v="*" closed="no" zoom-min="13">
			<line stroke="#b5d6f1" stroke-width="0.4dp"/>
		</rule>
		<rule e="way" k="*" v="*" zoom-min="17">
			<caption k="name" font-style="italic" font-family="serif" font-size="11dp" scale-font-size="16,1.1" fill="#3464a5" stroke="#80ffffff" stroke-width="2dp"/>
		</rule>
	</rule>
	
	<rule e="way" k="natural" v="marsh|wetland" closed="yes">
		<rule cat="background" e="way" k="*" v="*">
			<area fill="#60E6FFDB"/> 
		</rule>
		<rule cat="nocity" e="way" k="*" v="*" zoom-max="15">
			<area symbol-height="16dp" src="file:vol_res/patterns/marsh.svg"/>
		</rule>
		<rule e="way" k="*" v="*" zoom-min="16" zoom-max="17">
			<area symbol-height="32dp" src="file:vol_res/patterns/marsh.svg"/>
		</rule>
		<rule e="way" k="*" v="*" zoom-min="18">
			<area symbol-height="64dp" src="file:vol_res/patterns/marsh.svg"/>
		</rule>
		<rule e="way" k="*" v="*" zoom-min="16">
			<caption k="name" font-style="italic" font-family="serif" font-size="11dp" scale-font-size="16,1.1" fill="#559955" stroke="#80ffffff" stroke-width="2.5dp"/>
		</rule>
	</rule>

	<!-- waterways -->
	<!-- underground waterways -->
	<rule cat="background" e="way" k="tunnel" v="yes" zoom-min="14">
		<rule e="way" k="waterway" v="canal">
			<line stroke="#90b5d6f1" stroke-width="1.2dp"/>
			<line stroke="#90ffffff" stroke-width="1.0dp" stroke-dasharray="5,15" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="waterway" v="river">
			<line stroke="#90b5d6f1" stroke-width="1.6dp"/>
			<line stroke="#90ffffff" stroke-width="1.4dp" stroke-dasharray="5,15" stroke-linecap="butt"/>
		</rule>
	</rule>
	<rule cat="background" e="way" k="tunnel" v="~">
		<rule e="way" k="waterway" v="ditch" zoom-min="16">
			<line stroke="#b5d6f1" stroke-width="0.2dp"/>
		</rule>

		<rule e="way" k="waterway" v="canal" zoom-min="10">
			<rule e="way" k="area" v="yes">
				<area fill="#b5d6f1"/>
			</rule>
			<rule e="way" k="area" v="~|no">
				<line stroke="#b5d6f1" stroke-width="1.2dp"/>
			</rule>
		</rule>
		<rule e="way" k="waterway" v="stream|drain" zoom-min="15">
			<line stroke="#b5d6f1" stroke-width="0.7dp"/>
		</rule>
		<rule e="way" k="waterway" v="river" zoom-min="10">
			<line stroke="#b5d6f1" stroke-width="1.6dp"/>
		</rule>
	</rule>
	<rule cat="background" e="way" k="waterway" v="dock" zoom-min="14">
		<area fill="#b5d6f1" stroke="#9b9b79" stroke-width="0.125dp"/>
	</rule>
	<rule cat="background" e="way" k="lock" v="yes" zoom-min="14">
		<rule e="way" k="waterway" v="river">
			<line stroke="#5E8BAD" stroke-width="2.0dp" stroke-linecap="square"/>
			<line stroke="#b5d6f1" stroke-width="1.6dp" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="waterway" v="canal">
			<line stroke="#5E8BAD" stroke-width="1.6dp" stroke-linecap="square"/>
			<line stroke="#b5d6f1" stroke-width="1.2dp" stroke-linecap="butt"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="19">
			<caption k="name" dy="16dp" font-style="bold" font-size="10dp" scale-font-size="16,1.1" scale-dy-size="16,1.15" fill="#4773b3" stroke="#80FFFFFF" stroke-width="2dp"/>
		</rule>
	</rule>
	<rule e="way" k="waterway" v="weir" zoom-min="14">
		<rule e="way" k="*" v="*" zoom-max="16">
			<line stroke="#5E8BAD" stroke-width="0.3dp"/>
		</rule>
		<rule e="way" k="*" v="*" zoom-min="17">
			<line stroke="#5E8BAD" stroke-width="0.7dp"/>
			<line stroke="#dbf1Ff" stroke-width="0.7dp" stroke-dasharray="3,1" stroke-linecap="butt"/> 
		</rule>
	</rule>
	<rule cat="background" e="way" k="waterway" v="dam">
		<rule e="way" k="*" v="*" closed="yes">
			<rule e="way" k="*" v="*" zoom-max="15" cat="nocity">
				<line stroke="#A8A08C" stroke-width="0.6dp"/>
				<area fill="#E3DAD1"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="16">
				<area fill="#E3DAD1" stroke="#A8A08C" stroke-width="0.3dp"/>
			</rule>
		</rule>
		<rule e="way" k="*" v="*" closed="no">
			<line stroke="#A8A08C" stroke-width="0.9dp" stroke-linecap="square"/>
			<line stroke="#E3DAD1" stroke-width="0.3dp" stroke-linecap="square"/>
		</rule>
	</rule>
	<rule e="way" k="tunnel" v="~">
		<rule e="way" k="waterway" v="river" zoom-min="13">
			<pathText k="name" font-style="bold" font-size="10dp" scale-font-size="16,1.1" dy="3dp" scale-dy-size="16,1.1" fill="#3464a5" stroke="#80FFFFFF" stroke-width="2dp"/>
		</rule>
		<rule e="way" k="waterway" v="stream|canal" zoom-min="15">
			<pathText k="name" font-style="bold" font-size="9dp" scale-font-size="16,1.1" dy="3dp" scale-dy-size="16,1.1" fill="#3464a5" stroke="#80FFFFFF" stroke-width="2dp"/>
		</rule>
	</rule>

	<!-- man_made -->
	<rule cat="background" e="way" k="man_made" v="pipeline" zoom-min="15">
		<rule e="way" k="tunnel|location" v="~">
			<line stroke="#5E8BAD" stroke-width="1.0dp" stroke-linecap="butt"/>
			<line stroke="#b5d6f1" stroke-width="0.8dp" stroke-dasharray="10,2" stroke-linecap="butt"/>
			<line stroke="#FFFFFF" stroke-width="0.25dp" stroke-linecap="butt"/>
			<pathText k="name" font-style="bold" font-size="10dp" scale-font-size="16,1.1" dy="3dp" scale-dy-size="16,1.1" fill="#9CA6BA" stroke="#C0FFFFFF" stroke-width="2dp"/>
		</rule>
	</rule>

	<!-- natural ways -->
	<rule e="way" k="natural" v="gorge" closed="no" zoom-min="16">
		<caption k="name" font-style="italic" font-family="serif" font-size="10dp" scale-font-size="15,1.1" fill="#666666" stroke="#C0FFFFFF" stroke-width="2dp"/>
		<!--pathText k="name" font-style="bold_italic" font-family="serif" font-size="10dp" scale-font-size="15,1.1" fill="#666666" stroke="#C0FFFFFF" stroke-width="2dp" dy="10dp" scale-dy-size="16,1.4"/-->

	</rule>
	<rule e="way" k="natural" v="cliff" closed="no" zoom-min="14">
		<rule e="way" k="*" v="*" zoom-min="14" zoom-max="15" cat="nocity">
			<line stroke="#80606060" stroke-width="0.2dp"/>
		</rule>
		<rule e="way" k="*" v="*" zoom-min="16">
			<rule cat="background" e="way" k="*" v="*">
				<line src="file:vol_res/patterns/rock.svg" stroke-width="1.5dp" dy="0.75dp" symbol-height="44dp"/>
			</rule>
			<line stroke="#80606060" dy="0.5dp" stroke-width="1dp" stroke-dasharray="1,3" stroke-linecap="butt"/>
			<line stroke="#80606060" stroke-width="0.125dp"/>
			<pathText k="name" font-style="bold_italic" font-family="serif" font-size="10dp" scale-font-size="15,1.1" fill="#666666" stroke="#80FFFFFF" stroke-width="2dp" dy="10dp" scale-dy-size="16,1.4"/>
		</rule>
	</rule>
	<rule e="way" k="natural" v="cliff" closed="yes" zoom-min="14">
		<rule e="any" k="area" v="yes">
			<rule cat="background" e="way" k="*" v="*" zoom-max="17">
				<area symbol-height="22dp" src="file:vol_res/patterns/rock.svg" stroke="#80666666" stroke-width="0.125dp"/>
			</rule>
			<rule cat="background" e="way" k="*" v="*" zoom-min="18">
				<area symbol-height="44dp" src="file:vol_res/patterns/rock.svg" stroke="#80666666" stroke-width="0.125dp"/>
			</rule>
			<line stroke="#80606060" dy="0.3dp" stroke-width="0.6dp" stroke-dasharray="1,3" stroke-linecap="butt"/>
		</rule>
		<rule e="any" k="area" v="no|~">
			<rule cat="nocity" e="way" k="*" v="*" zoom-max="15">
				<line stroke="#80606060" stroke-width="0.125dp"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="16">
				<rule cat="background" e="way" k="*" v="*">
					<line src="file:vol_res/patterns/rock.svg" stroke-width="1.5dp" dy="-0.75dp" symbol-height="44dp"/>
				</rule>
				<line stroke="#80606060" stroke-width="0.125dp"/>
				<line stroke="#80606060" dy="-0.5dp" stroke-width="1dp" stroke-dasharray="1,3" stroke-linecap="butt"/>
			</rule>
		</rule>
		<caption k="name" font-style="bold_italic" font-family="serif" font-size="10dp" scale-font-size="15,1.1" fill="#666666" stroke="#80FFFFFF" stroke-width="2dp"/>
	</rule>

	<rule e="way" k="natural" v="ridge|arete" zoom-min="16">
		<rule cat="background" e="way" k="*" v="*">
			<line src="file:vol_res/patterns/rock.svg" stroke-width="1.5dp" symbol-height="44dp"/>
		</rule>
		<line stroke="#40606060" stroke-width="1.25dp" stroke-dasharray="1,3" stroke-linecap="butt"/>
		<line stroke="#40606060" stroke-width="0.7dp" stroke-dasharray="1,3" stroke-linecap="butt"/>
		<line stroke="#60666666" stroke-width="0.125dp"/>
		<pathText k="name" font-style="italic" font-family="serif" font-size="10dp" scale-font-size="15,1.1" fill="#666666" stroke="#80FFFFFF" stroke-width="2dp" dy="8dp" scale-dy-size="16,1.4"/>
	</rule> 
 
	<rule e="way" k="natural" v="crevasse" closed="no" zoom-min="14">
		<line stroke="#88F7F7" stroke-width="3dp" stroke-linecap="butt"/>
		<line stroke="#E8FFFF" stroke-width="1.4dp" stroke-linecap="butt"/>
	</rule>
	<rule e="way" k="natural" v="crevasse" closed="yes" zoom-min="14">
		<line stroke="#88F7F7" stroke-width="1.4dp"/>
		<area fill="#2888F7F7"/>
	</rule>
	<rule cat="background" e="way" k="natural" v="crater" closed="yes" zoom-min="12">
		<area fill="#28505050"/>
	</rule>
	<rule e="way" k="natural" v="crater" zoom-min="14">
		<line stroke="#28505050" stroke-width="2.5dp" stroke-linecap="round"/>
		<line stroke="#28606060" stroke-width="1.25dp" stroke-dasharray="1,3" stroke-linecap="butt"/>
		<line stroke="#28606060" stroke-width="0.7dp" stroke-dasharray="1,3" stroke-linecap="butt"/>
	</rule>
		
	<!-- POI areas -->
	<rule cat="background" e="way" k="tunnel" v="~|no">
		<rule e="way" k="amenity" v="biergarten" zoom-min="15">
			<area fill="#D3EBD9" stroke="#734A08" stroke-width="0.125dp"/>
		</rule>
		<rule e="way" k="historic" v="ruins|castle|memorial|monument|archaeological_site" closed="yes" zoom-min="15">
			<rule e="way" k="building" v="~">
				<line stroke="#207b2300" stroke-width="0.2dp" dy="0.1dp" stroke-linecap="butt" />
				<rule e="any" k="*" v="*" zoom-min="18">
					<line stroke="#207b2300" stroke-width="0.5dp" dy="0.25dp" stroke-linecap="butt" />
				</rule>
			</rule>
		</rule>
		<rule e="way" k="tourism" v="attraction|zoo" closed="yes" zoom-min="13">
			<rule e="way" k="*" v="*" zoom-max="15" cat="nocity">
				<area symbol-height="32dp" src="file:vol_res/patterns/attraction_small.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="16" zoom-max="17">
				<area symbol-height="64dp" src="file:vol_res/patterns/attraction_large.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<area symbol-height="128dp" src="file:vol_res/patterns/attraction_large.svg"/>
			</rule>
			<rule e="any" k="leisure" v="~" zoom-min="15">
				<line stroke="#307b2300" stroke-width="1dp" stroke-dasharray="9,3,3,3" stroke-linecap="butt"/>
				<line stroke="#40FFFFFF" stroke-width="1dp" stroke-dasharray="0,9,3,3,3,0" stroke-linecap="butt"/>
				<rule e="any" k="leisure" v="~" zoom-min="18">
					<line stroke="#187b2300" stroke-width="1.75dp" dy="0.375dp" stroke-linecap="butt"/>
				</rule>
			</rule>
		</rule>
		<rule e="way" k="tourism" v="attraction" closed="no" zoom-min="15">
			<rule e="any" k="leisure" v="~" zoom-min="15">
				<line stroke="#307b2300" stroke-width="1dp" stroke-dasharray="9,3,3,3" stroke-linecap="butt"/>
				<line stroke="#40FFFFFF" stroke-width="1dp" stroke-dasharray="0,9,3,3,3,0" stroke-linecap="butt"/>
			</rule>
		</rule>
		<rule e="way" k="amenity" v="parking">
			<area fill="#FFFDDC" stroke="#e9dd72" stroke-width="0.125dp"/>
			<rule e="way" k="access" v="private|acc_no|permit" zoom-min="17">
				<area symbol-height="16dp" src="file:vol_res/patterns/access-private.png"/>
			</rule>
			<rule e="way" k="access" v="destination" zoom-min="17">
				<area symbol-height="16dp" src="file:vol_res/patterns/access-destination.png"/>
			</rule>
		</rule>
		<rule e="way" k="amenity" v="fountain" closed="yes" zoom-min="14">
			<area fill="#b5d6f1" stroke="#734A08" stroke-width="0.125dp"/>
		</rule>

		<!-- leisure -->
		<rule e="way" k="leisure" v="ls_track" closed="no" zoom-min="14">
			<line stroke="#5fb12d" stroke-width="0.95dp"/>
		</rule>
		<rule e="way" k="leisure" v="ls_track" closed="yes" zoom-min="15">
			<rule e="way" k="area" v="no|~">
				<line stroke="#5fb12d" stroke-width="0.95dp"/>
			</rule>
		</rule>
		<rule e="way" k="leisure" v="ls_track" closed="no" zoom-min="14">
			<line stroke="#bde3cb" stroke-width="0.65dp"/>
		</rule>
		<rule e="way" k="leisure" v="ls_track" closed="yes" zoom-min="15">
			<rule e="way" k="area" v="no|~">
				<line stroke="#bde3cb" stroke-width="0.65dp"/>
			</rule>
		</rule>
		<rule e="way" k="leisure" v="playground|dog_park|playing_fields|pitch" closed="yes">
			<rule e="way" k="*" v="*" closed="yes">
				<area fill="#99CC99" stroke="#5fb12d" stroke-width="0.125dp"/>
			</rule>
		</rule>
		<rule e="way" k="leisure|amenity" v="swimming_pool" closed="yes">
			<area fill="#b5d6f1" stroke="#5fb12d" stroke-width="0.125dp"/>
		</rule>
		
		<rule e="way" k="sport" v="swimming" zoom-min="14">
			<rule e="way" k="leisure" v="~">
				<line stroke="#5fb12d" stroke-width="0.125dp"/>
					<rule e="any" k="*" v="*" zoom-max="15">
						<area symbol-height="32dp" src="file:vol_res/patterns/swimming_small.svg" />
					</rule>
					<rule e="any" k="*" v="*" zoom-min="16" zoom-max="17">
						<area symbol-height="64dp" src="file:vol_res/patterns/swimming_large.svg" />
					</rule>
					<rule e="any" k="*" v="*" zoom-min="18">
						<area symbol-height="128dp" src="file:vol_res/patterns/swimming_large.svg" />
					</rule>
				</rule>
			</rule>
			<rule e="way" k="leisure" v="swimming_area" zoom-min="14">
				<line stroke="#5fb12d" stroke-width="0.125dp"/>
			<rule e="any" k="*" v="*" zoom-max="15">
				<area symbol-height="32dp" src="file:vol_res/patterns/swimming_small.svg" />
			</rule>
			<rule e="any" k="*" v="*" zoom-min="16" zoom-max="17">
				<area symbol-height="64dp" src="file:vol_res/patterns/swimming_large.svg" />
			</rule>
			<rule e="any" k="*" v="*" zoom-min="18">
				<area symbol-height="128dp" src="file:vol_res/patterns/swimming_large.svg" />
			</rule>
		</rule>
		<rule e="way" k="leisure" v="water_park" zoom-min="14">
			<line stroke="#5fb12d" stroke-width="0.125dp"/>
		<rule e="any" k="*" v="*" zoom-max="15">
				<area symbol-height="32dp" src="file:vol_res/patterns/water_park_small.svg" />
			</rule>
			<rule e="any" k="*" v="*" zoom-min="16" zoom-max="17">
				<area symbol-height="64dp" src="file:vol_res/patterns/water_park_large.svg" />
			</rule>
			<rule e="any" k="*" v="*" zoom-min="18">
				<area symbol-height="128dp" src="file:vol_res/patterns/water_park_large.svg" />
			</rule>
		</rule>
		<rule e="way" k="leisure" v="beach_resort" zoom-min="14">
			<line stroke="#5fb12d" stroke-width="0.125dp"/>
		<rule e="any" k="*" v="*" zoom-max="15">
				<area symbol-height="32dp" src="file:vol_res/patterns/beach_resort_small.svg" />
			</rule>
			<rule e="any" k="*" v="*" zoom-min="16" zoom-max="17">
				<area symbol-height="64dp" src="file:vol_res/patterns/beach_resort_large.svg" />
			</rule>
			<rule e="any" k="*" v="*" zoom-min="18">
				<area symbol-height="128dp" src="file:vol_res/patterns/beach_resort_large.svg" />
			</rule>
		</rule>
		<rule e="way" k="sport" v="tennis">
			<area fill="#d18a6a" stroke="#5fb12d" stroke-width="0.125dp"/>
		</rule>

		<!-- power station -->
		<rule e="way" k="power" v="station|generator|plant">
			<rule e="way" k="*" v="*" closed="yes">
				<area fill="#e5e5e5" stroke="#a7c8a7" stroke-width="0.125dp"/> 
			</rule>
			<rule e="way" k="*" v="*" closed="no">
				<line stroke="#a7c8a7" stroke-width="0.25dp"/> 
			</rule>
		</rule>
		<!-- platform cores -->
		<rule e="way" k="highway|railway|public_transport" v="platform" zoom-min="14">
			<rule e="way" k="*" v="*" closed="yes">
				<area fill="#C7C7B3" stroke="#8E8E6F" stroke-width="0.1dp"/>
			</rule>
			<rule e="way" k="*" v="*" closed="no">
				<line stroke="#8E8E6F" stroke-width="0.9dp" stroke-linecap="square"/>
				<line stroke="#C7C7B3" stroke-width="0.7dp" stroke-linecap="square"/>
			</rule>
		</rule>
		<!-- man_made features -->
		<rule e="way" k="man_made" v="embankment" zoom-min="15" cat="nocity" closed="no">
			<rule e="way" k="highway|railway|waterway" v="~">
				<line stroke="#bc995f" stroke-width="0.1dp"/>
				<rule e="way" k="*" v="*" zoom-min="16">
					<line dy="0.5dp" stroke="#bc995f" stroke-width="1.0dp" stroke-dasharray="0.5,2.5" stroke-linecap="butt"/>
				</rule>
			</rule>
		</rule>
		<rule e="way" k="man_made" v="embankment" zoom-min="16" cat="nocity" closed="yes"> 
			<rule e="way" k="area" v="no|~">
				<line stroke="#bc995f" stroke-width="0.1dp"/>
				<rule e="way" k="*" v="*" zoom-min="16">
					<line dy="-0.5dp" stroke="#bc995f" stroke-width="1.0dp" stroke-dasharray="0.5,2.5" stroke-linecap="butt"/>
				</rule>
			</rule>
		</rule>
		<rule e="way" k="man_made" v="groyne" zoom-min="15" cat="nocity">
			<rule e="way" k="*" v="*" zoom-max="17">
				<line stroke="#A69D9D" stroke-width="1dp" stroke-dasharray="0.1,8"/>
				<line stroke="#A69D9D" stroke-width="0.5dp"/>
				<line stroke="#E6DFDF" stroke-width="0.8dp" stroke-dasharray="0.1,8"/>
				<line stroke="#E6DFDF" stroke-width="0.3dp"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<line stroke="#A69D9D" stroke-width="0.8dp" stroke-dasharray="0.1,18"/>
				<line stroke="#A69D9D" stroke-width="0.4dp"/>
				<line stroke="#E6DFDF" stroke-width="0.6dp" stroke-dasharray="0.1,18"/>
				<line stroke="#E6DFDF" stroke-width="0.2dp"/>
			</rule>
		</rule>
		<rule e="way" k="man_made" v="pier">
			<rule e="way" k="*" v="*" closed="yes">
				<area fill="#E3DAD1" stroke="#A8A08C" stroke-width="0.1dp"/>
			</rule>
			<rule e="way" k="*" v="*" closed="no">
				<line stroke="#A8A08C" stroke-width="0.8dp" stroke-linecap="square"/>
				<line stroke="#E3DAD1" stroke-width="0.6dp" stroke-linecap="square"/>
			</rule>
		</rule>
	</rule>
	<!-- /POI areas -->
	
	<!-- non-physical boundaries -->
	<!-- map border -->
	<rule e="way" k="boundary" v="map_inner" zoom-max="13">
		<line stroke="#10800000" stroke-width="4dp" stroke-linecap="butt"/>
	</rule>
	<rule e="way" k="admin_level" v="4|5|6" zoom-max="15">
		<line stroke="#60FC81DF" stroke-width="1dp" stroke-dasharray="10,5,5,5,5,5" stroke-linecap="butt"/>
	</rule>				
	<rule e="way" k="admin_level" v="2">
		<rule e="way" k="*" v="*" zoom-max="14">
			<line stroke="#60FC81DF" stroke-width="2dp" stroke-dasharray="15,5,5,5" stroke-linecap="butt"/>
		</rule>	
		<rule e="way" k="*" v="*" zoom-min="15">
			<line stroke="#60FC81DF" stroke-width="0.5dp" stroke-linecap="butt"/>
			<line stroke="#20FC81DF" stroke-width="3dp" stroke-linecap="butt"/>
		</rule>	
	</rule>	

	<!-- military -->
	<rule e="way" k="military" v="airfield|barracks|naval_base" zoom-min="11">
		<rule e="any" k="building" v="~" zoom-max="14" cat="nocity">
			<area fill="#40A4A854"/>
			<area symbol-height="32dp" src="file:vol_res/patterns/military0.svg"/>
		</rule>
		<rule e="any" k="building" v="~" zoom-min="15">
			<area fill="#40A4A854"/>
			<rule e="way" k="*" v="*" zoom-min="15" zoom-max="15" cat="nocity">
				<area symbol-height="64dp" src="file:vol_res/patterns/military_small.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="16">
				<area symbol-height="128dp" src="file:vol_res/patterns/military_large.svg"/>
				<line stroke="#90A4A854" stroke-width="1dp" stroke-dasharray="15,5,5,5" stroke-linecap="butt"/>
			</rule>
		</rule>
	</rule>
	<rule e="way" k="military|building" v="~" zoom-min="11">
		<rule e="way" k="landuse" v="military">
			<rule e="any" k="*" v="*" zoom-max="14" cat="nocity">
				<area fill="#40A4A854"/>
				<area symbol-height="32dp" src="file:vol_res/patterns/military0.svg"/>
			</rule>
			<rule e="any" k="*" v="*" zoom-min="15">
				<area fill="#40A4A854"/>
				<rule e="way" k="*" v="*" zoom-min="15" zoom-max="15" cat="nocity">
					<area symbol-height="64dp" src="file:vol_res/patterns/military_small.svg"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="16">
					<area symbol-height="128dp" src="file:vol_res/patterns/military_large.svg"/>
					<line stroke="#90A4A854" stroke-width="1dp" stroke-dasharray="15,5,5,5" stroke-linecap="butt"/>
				</rule>
			</rule>
		</rule>
	</rule>

	<rule e="way" k="boundary|leisure" v="nature_reserve|national_park|protected_area">
		<rule e="any" k="access" v="~|public|permissive|yes">
			<rule cat="nocity" e="any" k="protect_class" v="1|~" closed="yes" zoom-min="10" zoom-max="13">
				<area fill="#1ef0a000" />
			</rule>
			<rule cat="nocity" e="any" k="protect_class" v="1|~" closed="yes" zoom-min="14" zoom-max="17">
				<area fill="#14f0a000" />
			</rule>
			<rule cat="nocity" e="any" k="protect_class" v="1|~" closed="yes" zoom-min="18" zoom-max="19">
				<area fill="#0af0a000" />
			</rule>
			<rule cat="nocity" e="any" k="protect_class" v="1|~" closed="yes" zoom-min="20">
				<area fill="#05f0a000" />
			</rule>
		</rule>
		<rule e="any" k="protect_class" v="1|~" zoom-min="15">
			<line stroke="#40208020" stroke-width="1dp" stroke-dasharray="9,3,3,3" stroke-linecap="butt"/>
			<line stroke="#40FFFFFF" stroke-width="1dp" stroke-dasharray="0,9,3,3,3,0" stroke-linecap="butt"/>
			<rule e="any" k="*" v="*" zoom-min="18">
				<line stroke="#20208020" stroke-width="1.75dp" dy="0.375dp" stroke-linecap="butt"/>
				<pathText k="name" font-style="bold" font-size="12dp" scale-font-size="16,1.1" fill="#c0208020" stroke="#C0FFFFFF" stroke-width="2dp" dy="5dp" scale-dy-size="16,1.1"/>
			</rule>
		</rule>
		<rule e="way" k="protect_class" v="1|~" zoom-min="17">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="10dp" scale-font-size="15,1.1" fill="#C0208020" stroke="#C0FFFFFF" stroke-width="2dp"/>
		</rule>
	</rule>
	<rule e="way" k="boundary|leisure" v="nature_reserve" zoom-min="12" zoom-max="15" closed="yes" cat="nocity">
		<area symbol-height="32dp" src="file:vol_res/patterns/nature_reserve_small.svg"/>
	</rule>
	<rule e="way" k="boundary|leisure" v="nature_reserve" zoom-min="16" zoom-max="17" closed="yes">
		<area symbol-height="64dp" src="file:vol_res/patterns/nature_reserve_large.svg"/>
	</rule>
	<rule e="way" k="boundary|leisure" v="nature_reserve" zoom-min="18" closed="yes">
		<area symbol-height="128dp" src="file:vol_res/patterns/nature_reserve_large.svg"/>
	</rule>

	<!-- runways casings and areas -->
	<rule cat="background" e="way" k="aeroway" v="taxiway" closed="yes" zoom-min="13">
		<rule e="way" k="area" v="yes">
			<line stroke="#444444" stroke-width="0.4dp"/>
			<area fill="#d3d1c5"/>
		</rule>
<!--bugfix-->
		<rule e="way" k="area" v="no|~" closed="yes" zoom-max="16">
			<line stroke="#d3d1c5" stroke-width="3.6dp"/>
			<area fill="#d8dcce"/>
		</rule>
<!-- /bugfix-->
	</rule>
	<rule cat="background" e="way" k="aeroway" v="apron">
		<rule e="way" k="*" v="*" zoom-min="11" zoom-max="16">
			<area fill="#C7C5AB"/>
		</rule>
		<rule e="way" k="*" v="*" zoom-min="17">
			<area fill="#C7C5AB" stroke="#444444" stroke-width="0.125dp"/>
		</rule>
	</rule>
	<rule cat="background" e="way" k="aeroway" v="terminal">
		<area fill="#888888" stroke="#181818" stroke-width="0.125dp"/>
	</rule>
	<rule cat="background" e="way" k="aeroway" v="taxiway" closed="no" zoom-min="13">
		<line stroke="#444444" stroke-width="1.8dp" stroke-linecap="butt"/>
	</rule>
	<rule cat="background" e="way" k="aeroway" v="taxiway" closed="yes" zoom-min="17">
		<rule e="way" k="area" v="no|~">
			<line stroke="#444444" stroke-width="1.8dp" stroke-linecap="butt"/>
		</rule>
	</rule>
	<rule cat="background" e="way" k="aeroway" v="runway" closed="yes" zoom-min="17">
		<line stroke="#444444" stroke-width="1dp"/>
	</rule> 
	<rule cat="background" e="way" k="aeroway" v="runway" closed="no" zoom-min="17">
		<line stroke="#444444" stroke-width="4dp" stroke-linecap="square"/>
	</rule>

	<!-- building -->
	<rule cat="background" e="way" k="landuse|area|building" v="~" zoom-min="15">
		<rule e="way" k="amenity|tourism|shop|information|military" v="shelter|alpine_hut|wilderness_hut|restaurant|supermarket|mall|convenience|beverages|bakery|doityourself|sports|bicycle|car|toilets|hostel|office|doctors|theatre|bunker|bunker_disused">
			<area fill="#BBBBBB" stroke="#999999" stroke-width="0.125dp"/>
		</rule>
	</rule>
	<rule cat="background" e="way" k="building" v="*" zoom-min="15">
		<rule e="way" k="railway" v="~">
			<area fill="#bbbbbb" stroke="#999999" stroke-width="0.125dp"/>
		</rule>
		<rule e="way" k="railway" v="*">
			<area fill="#70404040" stroke="#999999" stroke-width="0.125dp"/>
		</rule>
		<rule e="way" k="military" v="*">
			<line stroke="#A4A854" stroke-width="0.125dp"/>
		</rule>
		<rule e="way" k="amenity" v="place_of_worship|library|townhall|hospital">
			<area fill="#999999" stroke="#444444" stroke-width="0.125dp"/>
		</rule>
		<rule e="way" k="amenity" v="parking">
			<area fill="#FFFDDC"/>
			<line stroke="#bbbbbb" stroke-width="0.5dp" dy="0.3dp" stroke-linecap="butt" stroke-linejoin="miter" />
			<line stroke="#999999" stroke-width="0.125dp"/>
		</rule>
		<rule e="way" k="historic" v="ruins|castle|memorial|monument">
			<line stroke="#734A08" stroke-width="0.125dp"/>
		</rule>
	</rule>
	<rule cat="background" e="way" k="building" v="kindergarten|school|college|university|government|library|museum|church|hospital" zoom-min="15">
		<area fill="#999999" stroke="#444444" stroke-width="0.125dp"/>
	</rule>
	<rule e="way" k="building" v="temporary|construction">
		<area fill="#80F8F8F8"/>
		<line stroke="#C0F8F8F8" stroke-width="0.125dp" stroke-dasharray="5,5"/>
	</rule>

	<!-- abandoned railway -->
	<rule cat="background" e="way" k="railway" v="abandoned" zoom-min="15">
		<rule e="way" k="tunnel" v="~|no">
			<rule e="way" k="bridge" v="yes|viaduct|movable">
				<line stroke="#181818" stroke-width="1.05dp" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="0.7dp" stroke-linecap="butt"/>
			</rule>
			<line stroke="#80FFFFFF" stroke-width="0.5dp" stroke-dasharray="11.5,0.5" stroke-linecap="butt"/>
			<line stroke="#40808080" stroke-width="0.5dp" stroke-dasharray="11.5,12.5" stroke-linecap="butt"/>
		</rule>
	</rule>

	<!-- barriers -->
	<rule e="any" k="barrier" v="fence" zoom-min="18">
		<line stroke="#80ffffff" stroke-width="0.2dp"/>
		<line stroke="#888888" stroke-width="0.1dp" stroke-dasharray="0.01,1.5,4,1.5" stroke-linecap ="butt"/>
		<line stroke="#888888" stroke-width="0.2dp" stroke-dasharray="0.01,7"/>
	 </rule>
	<rule cat="noroad" e="way" k="barrier" v="hedge" zoom-min="16">
		<line stroke="#80ffffff" stroke-width="0.2dp" stroke-linecap="butt"/>
		<line stroke="#99bb77" stroke-width="0.1dp" stroke-linecap="butt"/>
		<line stroke="#99bb77" stroke-width="0.2dp" scale="all" stroke-dasharray="0.05,1.5" stroke-linecap="round" />
	 </rule>
	<rule e="way" k="barrier|building" v="city_wall" zoom-min="16">
		<line stroke="#60734A08" stroke-width="1.5dp"/>
		<rule e="any" k="*" v="*" zoom-max="18">
			<line stroke="#c0734A08" stroke-width="0.2dp"/>
		</rule> 
		<rule e="any" k="*" v="*" zoom-min="19">
			<line stroke="#734A08" stroke-width="0.4dp"/>
			<line stroke="#EEEEEE" stroke-width="0.2dp" stroke-dasharray="3,0.75" stroke-linecap ="butt"/>
		</rule> 
	</rule> 
	<rule e="way" k="barrier|building" v="wall|retaining_wall">
		<rule e="any" k="*" v="*" zoom-min="16" zoom-max="18">
			<line stroke="#888888" stroke-width="0.2dp" stroke-linecap="butt"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="19">
			<line stroke="#666666" stroke-width="0.45dp" stroke-linecap="butt"/>
			<line stroke="#dddddd" stroke-width="0.25dp" stroke-dasharray="3,0.75" stroke-linecap="butt"/>
			<line stroke="#666666" stroke-width="0.05dp" stroke-linecap="butt"/>
			<rule e="way" k="barrier" v="retaining_wall">
				<line stroke="#80666666" stroke-width="0.8dp" stroke-dasharray="0.5,1.25" stroke-linecap="butt" dy="0.6dp"/>
			</rule>
		</rule>
	</rule>

	<!-- tunnel -->
	<rule e="way" k="tunnel" v="yes">
		<!-- highway tunnels -->
		<rule e="way" k="highway" v="*">
			<!-- highway tunnel -->
			<rule cat="paths" e="way" k="highway" v="footway|path|steps" zoom-min="15">
				<line stroke="#28000000" stroke-width="0.4dp" stroke-dasharray="0,1.5,3,1.5" stroke-linecap="butt"/>
				<line stroke="#80FFFFFF" stroke-width="0.4dp" stroke-dasharray="1.5,3,1.5,0" stroke-linecap="butt"/>
			</rule>
			<rule cat="paths" e="way" k="highway" v="bridleway|cycleway" zoom-min="15">
				<line stroke="#28000000" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
				<line stroke="#80FFFFFF" stroke-width="0.4dp" stroke-dasharray="1.5,9,1.5,0" stroke-linecap="butt"/>
			</rule>
			<rule cat="tracks" e="way" k="highway" v="track|byway" zoom-min="15">
				<line stroke="#40000000" dy="0.55dp" stroke-width="0.2dp" stroke-dasharray="15,5" stroke-linecap="butt"/>
				<line stroke="#80FFFFFF" dy="0.55dp" stroke-width="0.2dp" stroke-dasharray="0,15,5,0" stroke-linecap="butt"/>
				<line stroke="#40000000" dy="-0.55dp" stroke-width="0.2dp" stroke-dasharray="15,5" stroke-linecap="butt"/>
				<line stroke="#80FFFFFF" dy="-0.55dp" stroke-width="0.2dp" stroke-dasharray="0,15,5,0" stroke-linecap="butt"/>
				<line stroke="#40FFFFFF" stroke-width="0.9dp" stroke-linecap="butt"/>
				<rule cat="road" e="way" k="*" v="*">
					<line stroke="#40FFFFFF" stroke-width="0.9dp" stroke-linecap="butt"/>
				</rule>
			</rule>
			<rule e="way" k="highway" v="service|living_street|raceway" zoom-min="15">
				<line stroke="#40000000" dy="0.55dp" stroke-width="0.2dp" stroke-dasharray="15,5" stroke-linecap="butt"/>
				<line stroke="#80FFFFFF" dy="0.55dp" stroke-width="0.2dp" stroke-dasharray="0,15,5,0" stroke-linecap="butt"/>
				<line stroke="#40000000" dy="-0.55dp" stroke-width="0.2dp" stroke-dasharray="15,5" stroke-linecap="butt"/>
				<line stroke="#80FFFFFF" dy="-0.55dp" stroke-width="0.2dp" stroke-dasharray="0,15,5,0" stroke-linecap="butt"/>
				<line stroke="#40FFFFFF" stroke-width="0.9dp" stroke-linecap="butt"/>
				<rule cat="road" e="way" k="*" v="*">
					<line stroke="#40FFFFFF" stroke-width="0.9dp" stroke-linecap="butt"/>
				</rule>
			</rule>
			<rule e="way" k="highway" v="construction|unclassified|residential|road" zoom-min="15">
				<line stroke="#40000000" dy="0.7dp" stroke-width="0.2dp" stroke-dasharray="15,5" stroke-linecap="butt"/>
				<line stroke="#80FFFFFF" dy="0.7dp" stroke-width="0.2dp" stroke-dasharray="0,15,5,0" stroke-linecap="butt"/>
				<line stroke="#40000000" dy="-0.7dp" stroke-width="0.2dp" stroke-dasharray="15,5" stroke-linecap="butt"/>
				<line stroke="#80FFFFFF" dy="-0.7dp" stroke-width="0.2dp" stroke-dasharray="0,15,5,0" stroke-linecap="butt"/>
				<line stroke="#40FFFFFF" stroke-width="1.15dp" stroke-linecap="butt"/>
				<rule cat="road" e="way" k="*" v="*">
					<line stroke="#40FFFFFF" stroke-width="1.15dp" stroke-linecap="butt"/>
				</rule>
			</rule>
			<rule e="way" k="highway" v="pedestrian" zoom-min="15">
				<line stroke="#40000000" dy="0.45dp" stroke-width="0.2dp" stroke-dasharray="15,5" stroke-linecap="butt"/>
				<line stroke="#80FFFFFF" dy="0.45dp" stroke-width="0.2dp" stroke-dasharray="0,15,5,0" stroke-linecap="butt"/>
				<line stroke="#40000000" dy="-0.45dp" stroke-width="0.2dp" stroke-dasharray="15,5" stroke-linecap="butt"/>
				<line stroke="#80FFFFFF" dy="-0.45dp" stroke-width="0.2dp" stroke-dasharray="0,15,5,0" stroke-linecap="butt"/>
				<line stroke="#40FFFFFF" stroke-width="0.95dp" stroke-linecap="butt"/>
				<rule cat="road" e="way" k="*" v="*">
					<line stroke="#40FFFFFF" stroke-width="0.95dp" stroke-linecap="butt"/>
				</rule>
			</rule>
			<rule e="way" k="highway" v="tertiary_link|secondary_link|primary_link" zoom-min="14">
				<line stroke="#40000000" dy="0.625dp" stroke-width="0.25dp" stroke-dasharray="15,5" stroke-linecap="butt"/>
				<line stroke="#80FFFFFF" dy="0.625dp" stroke-width="0.25dp" stroke-dasharray="0,15,5,0" stroke-linecap="butt"/>
				<line stroke="#40000000" dy="-0.625dp" stroke-width="0.25dp" stroke-dasharray="15,5" stroke-linecap="butt"/>
				<line stroke="#80FFFFFF" dy="-0.625dp" stroke-width="0.25dp" stroke-dasharray="0,15,5,0" stroke-linecap="butt"/>
				<line stroke="#40FFFFFF" stroke-width="1dp" stroke-linecap="butt"/>
				<rule cat="road" e="way" k="*" v="*">
					<line stroke="#40FFFFFF" stroke-width="1dp" stroke-linecap="butt"/>
				</rule>
			</rule>
			<rule e="way" k="highway" v="tertiary|trunk_link|motorway_link" zoom-min="14">
				<line stroke="#40000000" dy="0.75dp" stroke-width="0.25dp" stroke-dasharray="15,5" stroke-linecap="butt"/>
				<line stroke="#80FFFFFF" dy="0.75dp" stroke-width="0.25dp" stroke-dasharray="0,15,5,0" stroke-linecap="butt"/>
				<line stroke="#40000000" dy="-0.75dp" stroke-width="0.25dp" stroke-dasharray="15,5" stroke-linecap="butt"/>
				<line stroke="#80FFFFFF" dy="-0.75dp" stroke-width="0.25dp" stroke-dasharray="0,15,5,0" stroke-linecap="butt"/>
				<line stroke="#40FFFFFF" stroke-width="1.25dp" stroke-linecap="butt"/>
				<rule cat="road" e="way" k="*" v="*">
					<line stroke="#40FFFFFF" stroke-width="1.25dp" stroke-linecap="butt"/>
				</rule>
			</rule>
			<rule e="way" k="highway" v="secondary" zoom-min="14">
				<line stroke="#40000000" dy="0.825dp" stroke-width="0.25dp" stroke-dasharray="15,5" stroke-linecap="butt"/>
				<line stroke="#80FFFFFF" dy="0.825dp" stroke-width="0.25dp" stroke-dasharray="0,15,5,0" stroke-linecap="butt"/>
				<line stroke="#40000000" dy="-0.825dp" stroke-width="0.25dp" stroke-dasharray="15,5" stroke-linecap="butt"/>
				<line stroke="#80FFFFFF" dy="-0.825dp" stroke-width="0.25dp" stroke-dasharray="0,15,5,0" stroke-linecap="butt"/>
				<line stroke="#40FFFFFF" stroke-width="1.4dp" stroke-linecap="butt"/>
				<rule cat="road" e="way" k="*" v="*">
					<line stroke="#40FFFFFF" stroke-width="1.4dp" stroke-linecap="butt"/>
				</rule>
			</rule>
			<rule e="way" k="highway" v="primary|trunk">
				<line stroke="#40000000" dy="0.9dp" stroke-width="0.25dp" stroke-dasharray="15,5" stroke-linecap="butt"/>
				<line stroke="#80FFFFFF" dy="0.9dp" stroke-width="0.25dp" stroke-dasharray="0,15,5,0" stroke-linecap="butt"/>
				<line stroke="#40000000" dy="-0.9dp" stroke-width="0.25dp" stroke-dasharray="15,5" stroke-linecap="butt"/>
				<line stroke="#80FFFFFF" dy="-0.9dp" stroke-width="0.25dp" stroke-dasharray="0,15,5,0" stroke-linecap="butt"/>
				<line stroke="#40FFFFFF" stroke-width="1.55dp" stroke-linecap="butt"/>
				<rule cat="road" e="way" k="*" v="*">
					<line stroke="#40FFFFFF" stroke-width="1.55dp" stroke-linecap="butt"/>
				</rule>
			</rule>
			<rule e="way" k="highway" v="motorway">
				<line stroke="#40000000" dy="1dp" stroke-width="0.25dp" stroke-dasharray="15,5" stroke-linecap="butt"/>
				<line stroke="#80FFFFFF" dy="1dp" stroke-width="0.25dp" stroke-dasharray="0,15,5,0" stroke-linecap="butt"/>
				<line stroke="#40000000" dy="-1dp" stroke-width="0.25dp" stroke-dasharray="15,5" stroke-linecap="butt"/>
				<line stroke="#80FFFFFF" dy="-1dp" stroke-width="0.25dp" stroke-dasharray="0,15,5,0" stroke-linecap="butt"/>
				<line stroke="#40FFFFFF" stroke-width="1.75dp" stroke-linecap="butt"/>
				<rule cat="road" e="way" k="*" v="*">
					<line stroke="#40FFFFFF" stroke-width="1.75dp" stroke-linecap="butt"/>
				</rule>
			</rule>
			<rule e="way" k="access" v="private|acc_no|forestry|permit">
				<rule cat="paths" e="way" k="highway" v="path|footway">
					<rule e="way" k="foot" v="ft_no|~" zoom-min="16">
						<line stroke="#66FF3333" stroke-width="0.8dp" stroke-dasharray="0,11,1,0" stroke-linecap="butt"/>
					</rule>
				</rule>
			</rule>
			<rule e="way" k="access" v="permissive|~|yes">
				<rule cat="paths" e="way" k="highway" v="path|footway">
					<rule e="way" k="foot" v="ft_no" zoom-min="16">
						<line stroke="#66FF3333" stroke-width="0.8dp" stroke-dasharray="0,11,1,0" stroke-linecap="butt"/>
					</rule>
				</rule>
			</rule>

			<rule e="way" k="access" v="private|acc_no|forestry|permit">
				<rule cat="paths" e="way" k="highway" v="bridleway">
					<rule e="way" k="foot|bicycle" v="ft_no|bic_no|bic_forestry|~">
						<line stroke="#66FF3333" stroke-width="0.8dp" stroke-dasharray="0,11,1,0" stroke-linecap="butt"/>
					</rule>
				</rule>
				<rule cat="paths" e="way" k="highway" v="cycleway">
					<rule e="way" k="bicycle" v="bic_no|bic_forestry|~">
						<line stroke="#66FF3333" stroke-width="0.8dp" stroke-dasharray="0,11,1,0" stroke-linecap="butt"/>
					</rule>
				</rule>
				<rule cat="tracks" e="way" k="highway" v="track|byway">
					<line stroke="#66FF3333" stroke-width="0.8dp" dy="0.7dp" stroke-dasharray="0,11,1,0" stroke-linecap="butt"/>
					<line stroke="#66FF3333" stroke-width="0.8dp" dy="-0.7dp" stroke-dasharray="0,11,1,0" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="highway" v="motorway|motorway_link|trunk|trunk_link|primary|primary_link|secondary|secondary_link|tertiary|tertiary_link|unclassified|residential|living_street|road|ford|pedestrian|service|steps">
					<line stroke="#66FF3333" stroke-width="0.8dp" dy="0.7dp" stroke-dasharray="0,11,1,0" stroke-linecap="butt"/>
					<line stroke="#66FF3333" stroke-width="0.8dp" dy="-0.7dp" stroke-dasharray="0,11,1,0" stroke-linecap="butt"/>
				</rule>
			</rule>
		</rule>

		<!-- railway tunnel -->
		<rule cat="background" e="way" k="railway" v="abandoned" zoom-min="15">
			<line stroke="#40FFFFFF" stroke-width="0.5dp" stroke-dasharray="24,11.5,12.5,0" stroke-linecap="butt"/>
			<line stroke="#30808080" stroke-width="0.5dp" stroke-dasharray="11.5,36.5" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="railway" v="miniature" zoom-min="15">
			<line stroke="#28000000" stroke-width="0.14dp" stroke-dasharray="12,6" stroke-linecap="butt"/>
			<line stroke="#80FFFFFF" stroke-width="0.14dp" stroke-dasharray="0,12,6,0" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="railway" v="disused" zoom-min="15">
			<line stroke="#40000000" dy="0.33dp" stroke-width="0.075dp" stroke-linecap="butt"/>
			<line stroke="#40000000" dy="-0.33dp" stroke-width="0.075dp" stroke-linecap="butt"/>
			<line stroke="#30000000" stroke-width="0.6dp" stroke-dasharray="0.5,11.5" stroke-linecap="butt"/>
			<line stroke="#30ffffff" stroke-width="0.6dp" stroke-dasharray="0,0.5,11.5,0" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="railway|highway" v="tram|light_rail|bus_guideway" zoom-min="12">
			<line stroke="#408C4600" stroke-width="0.5dp" stroke-linecap="butt"/>
			<line stroke="#60ffffff" stroke-width="0.4dp" stroke-dasharray="9,9" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="railway" v="subway">
			<rule e="way" k="*" v="*" zoom-min="12">
				<line stroke="#40B30000" stroke-width="0.6dp" stroke-linecap="butt"/>
				<line stroke="#60ffffff" stroke-width="0.45dp" stroke-dasharray="9,9" stroke-linecap="butt"/>
			</rule>
		</rule>
		<rule e="way" k="railway" v="narrow_gauge|preserved|funicular" zoom-min="12">
			<line stroke="#40000000" dy="0.28dp" stroke-width="0.075dp" stroke-linecap="butt"/>
			<line stroke="#40000000" dy="-0.28dp" stroke-width="0.075dp" stroke-linecap="butt"/>
			<line stroke="#30000000" stroke-width="0.6dp" stroke-dasharray="6,12" stroke-linecap="butt"/>
			<line stroke="#30ffffff" stroke-width="0.6dp" stroke-dasharray="0,6,12,0" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="railway" v="rail" zoom-min="12">
			<line stroke="#40000000" dy="0.33dp" stroke-width="0.075dp" stroke-linecap="butt"/>
			<line stroke="#40000000" dy="-0.33dp" stroke-width="0.075dp" stroke-linecap="butt"/>
			<line stroke="#30000000" stroke-width="0.6dp" stroke-dasharray="12,12" stroke-linecap="butt"/>
			<line stroke="#30ffffff" stroke-width="0.6dp" stroke-dasharray="0,12,12,0" stroke-linecap="butt"/>
		</rule>
	</rule>

	<!-- turning circle casing -->
	<rule e="node" k="highway" v="turning_circle" zoom-min="17">
		<circle r="1dp" scale-radius="true" fill="#444444"/>
	</rule>
	<rule e="node" k="highway" v="passing_place" zoom-min="17">
		<circle r="1.5dp" scale-radius="true" fill="#444444"/>
	</rule>
	<rule e="node" k="highway" v="mini_roundabout" zoom-min="17">
		<circle r="1.5dp" scale-radius="true" fill="#444444"/>
	</rule>

	<!-- no tunnel -->
	<rule e="any" k="tunnel" v="~|no">
		<!-- emphasised routes for PATHS, and for ROADS & TRACKS WITH NO BRIDGES -->
		<!-- emphasised routes on OAMaps -->
		<!-- no area -->
		<rule e="way" k="area" v="~|no">
			<rule e="way" k="route" v="~" zoom-min="12">
				<rule e="way" k="highway" v="footway|path|bridleway|cycleway|steps|~">
					<rule cat="c_s_routes" e="way" k="network" v="ncn|icn|rcn|lcn|ucn">
						<rule e="way" k="*" v="*" zoom-max="14">
							<line dy="1.05dp" stroke="#C000ffff" stroke-width="1.5dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="*" v="*" zoom-min="15">
							<line stroke="#b000ffff" stroke-width="2dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="lcn|ucn">
						<rule e="way" k="*" v="*" zoom-max="14">
							<line dy="1.05dp" stroke="#ffd8F000" stroke-width="1.5dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="*" v="*" zoom-min="15">
							<line stroke="#ffd8F000" stroke-width="2dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="rcn">
						<rule e="way" k="*" v="*" zoom-max="14">
							<line dy="1.05dp" stroke="#c000ffff" stroke-width="1.5dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="*" v="*" zoom-min="15">
							<line stroke="#c000ffff" stroke-width="2dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="ncn">
						<rule e="way" k="*" v="*" zoom-max="14">
							<line dy="1.05dp" stroke="#99FF1616" stroke-width="1.5dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="*" v="*" zoom-min="15">
							<line stroke="#99FF1616" stroke-width="2dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="icn">
						<rule e="way" k="*" v="*" zoom-max="14">
							<line dy="1.05dp" stroke="#702060FF" stroke-width="1.5dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="*" v="*" zoom-min="15">
							<line stroke="#702060FF" stroke-width="2dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule cat="mtb_s_routes" e="way" k="network|network_mtb" v="mtb|lay_mtb">
						<rule e="way" k="*" v="*" zoom-max="14">
							<line dy="1.05dp" stroke="#808000ff" stroke-width="1.5dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="*" v="*" zoom-min="15">
							<line stroke="#408000FF" stroke-width="2dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule cat="mtb_s_color_routes" e="way" k="network|network_mtb" v="mtb|lay_mtb">
						<rule e="way" k="*" v="*" zoom-max="14">
							<line dy="-1.05dp" stroke="#808000ff" stroke-width="1.5dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="*" v="*" zoom-min="15">
							<line stroke="#408000FF" stroke-width="2dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule cat="h_s_routes" e="way" k="hknetwork" v="nwn|iwn|rwn|lwn|uwn">
						<rule e="way" k="*" v="*" zoom-max="14">
							<line dy="-1.05dp" stroke="#9000BB00" stroke-width="1.5dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="*" v="*" zoom-min="15">
							<line stroke="#9000BB00" stroke-width="2dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							<!-- both hike and mtb -->
							<rule cat="mtb_s_routes" e="way" k="network|network_mtb" v="mtb|lay_mtb">
								<line stroke="#80c040ff" stroke-width="1dp" dy="-0.5dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
							<!-- both hike and bike -->
							<rule cat="c_s_routes" e="way" k="network" v="ncn|icn|rcn|lcn|ucn">
								<line stroke="#b000ffff" stroke-width="1dp" dy="0.5dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
						</rule>
						</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="lwn|uwn">
						<rule e="way" k="*" v="*" zoom-max="14">
							<line dy="-1.05dp" stroke="#ffd8F000" stroke-width="1.5dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="*" v="*" zoom-min="15">
							<line stroke="#ffd8F000" stroke-width="2dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="rwn">
						<rule e="way" k="*" v="*" zoom-max="14">
							<line dy="-1.05dp" stroke="#9000BB00" stroke-width="1.5dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="*" v="*" zoom-min="15">
							<line stroke="#9000BB00" stroke-width="2dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="nwn">
						<rule e="way" k="*" v="*" zoom-max="14">
							<line dy="-1.05dp" stroke="#99FF1616" stroke-width="1.5dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="*" v="*" zoom-min="15">
							<line stroke="#99FF1616" stroke-width="2dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="iwn">
						<rule e="way" k="*" v="*" zoom-max="14">
							<line dy="-1.05dp" stroke="#702060FF" stroke-width="1.5dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="*" v="*" zoom-min="15">
							<line stroke="#702060FF" stroke-width="2dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
						</rule>
					</rule>
				</rule>
				
				<rule e="way" k="highway" v="track|byway|service|residential|living_street|construction|road|ford|pedestrian|unclassified|tertiary_link|secondary_link|primary_link|trunk_link|tertiary|secondary|primary|trunk">
					<rule e="way" k="bridge" v="~|no">
						<rule cat="c_s_routes" e="way" k="network" v="ncn|icn|rcn|lcn|ucn">
							<rule e="way" k="*" v="*" zoom-max="14">
								<line dy="1.5dp" stroke="#C000ffff" stroke-width="1.5dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="*" v="*" zoom-min="15">
								<line stroke="#b000ffff" stroke-width="3.4dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
						</rule>
						<rule cat="c_s_color_routes" e="way" k="network" v="lcn|ucn">
							<rule e="way" k="*" v="*" zoom-max="14">
								<line dy="1.5dp" stroke="#ffd8F000" stroke-width="1.5dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="*" v="*" zoom-min="15">
								<line stroke="#ffd8F000" stroke-width="3.4dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
						</rule>
						<rule cat="c_s_color_routes" e="way" k="network" v="rcn">
							<rule e="way" k="*" v="*" zoom-max="14">
								<line dy="1.5dp" stroke="#C000ffff" stroke-width="1.5dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="*" v="*" zoom-min="15">
								<line stroke="#c000ffff" stroke-width="3.4dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
						</rule>
						<rule cat="c_s_color_routes" e="way" k="network" v="ncn">
							<rule e="way" k="*" v="*" zoom-max="14">
								<line dy="1.5dp" stroke="#99FF1616" stroke-width="1.5dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="*" v="*" zoom-min="15">
								<line stroke="#99FF1616" stroke-width="3.4dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
						</rule>
						<rule cat="c_s_color_routes" e="way" k="network" v="icn">
							<rule e="way" k="*" v="*" zoom-max="14">
								<line dy="1.5dp" stroke="#702060FF" stroke-width="1.5dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="*" v="*" zoom-min="15">
								<line stroke="#702060FF" stroke-width="3.4dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
						</rule>
						<rule cat="mtb_s_routes" e="way" k="network|network_mtb" v="mtb|lay_mtb">
							<rule e="way" k="*" v="*" zoom-max="14">
								<line dy="-1.5dp" stroke="#808000ff" stroke-width="1.5dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="*" v="*" zoom-min="15">
								<line stroke="#408000FF" stroke-width="3.4dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
						</rule>
						<rule cat="mtb_s_color_routes" e="way" k="network|network_mtb" v="mtb|lay_mtb">
							<rule e="way" k="*" v="*" zoom-max="14">
								<line dy="-1.5dp" stroke="#808000ff" stroke-width="1.5dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="*" v="*" zoom-min="15">
								<line stroke="#408000FF" stroke-width="3.4dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
						</rule>
						<rule cat="h_s_routes" e="way" k="hknetwork" v="nwn|iwn|rwn|lwn|uwn">
							<rule e="way" k="*" v="*" zoom-max="14">
								<line dy="-1.5dp" stroke="#9000BB00" stroke-width="1.5dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="*" v="*" zoom-min="15">
								<line stroke="#9000BB00" stroke-width="3.4dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
								<!-- both hike and mtb -->
								<rule cat="mtb_s_routes" e="way" k="network|network_mtb" v="mtb|lay_mtb">
									<line stroke="#80c040FF" stroke-width="1.7dp" dy="-0.85dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
								</rule>
								<!-- both hike and bike -->
								<rule cat="c_s_routes" e="way" k="network" v="ncn|icn|rcn|lcn|ucn">
									<line stroke="#b000ffff" stroke-width="1.7dp" dy="0.85dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
								</rule>
							</rule>
						</rule>
						<rule cat="h_s_color_routes" e="way" k="hknetwork" v="lwn|uwn">
							<rule e="way" k="*" v="*" zoom-max="14">
								<line dy="-1.5dp" stroke="#ffd8F000" stroke-width="1.5dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="*" v="*" zoom-min="15">
								<line stroke="#ffd8F000" stroke-width="3.4dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
						</rule>
						<rule cat="h_s_color_routes" e="way" k="hknetwork" v="rwn">
							<rule e="way" k="*" v="*" zoom-max="14">
								<line dy="-1.5dp" stroke="#9000BB00" stroke-width="1.5dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="*" v="*" zoom-min="15">
								<line stroke="#9000BB00" stroke-width="3.4dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
						</rule>
						<rule cat="h_s_color_routes" e="way" k="hknetwork" v="nwn">
							<rule e="way" k="*" v="*" zoom-max="14">
								<line dy="-1.5dp" stroke="#99FF1616" stroke-width="1.5dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="*" v="*" zoom-min="15">
								<line stroke="#99FF1616" stroke-width="3.4dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
						</rule>
						<rule cat="h_s_color_routes" e="way" k="hknetwork" v="iwn">
							<rule e="way" k="*" v="*" zoom-max="14">
								<line dy="-1.5dp" stroke="#702060FF" stroke-width="1.5dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="*" v="*" zoom-min="15">
								<line stroke="#702060FF" stroke-width="3.4dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
						</rule>
					</rule>
				</rule>
			</rule>
		</rule>
		
		<rule e="way" k="area" v="~|no">
		<!-- emphasised routes on LoMaps -->
			<rule cat="c_s_routes" e="way" k="route" v="bicycle" zoom-min="12">
				<line dy="1.2dp" stroke="#b000ffff" stroke-width="1.3dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
			</rule>
			<rule cat="c_s_color_routes" e="way" k="route" v="bicycle" zoom-min="12">
				<rule e="way" k="network" v="lcn|ucn|~">
					<line dy="1.2dp" stroke="#ffd8F000" stroke-width="1.3dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="network" v="rcn">
					<line dy="1.2dp" stroke="#a000ffff" stroke-width="1.3dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="network" v="ncn">
					<line dy="1.2dp" stroke="#79FF1616" stroke-width="1.3dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="network" v="icn">
					<line dy="1.2dp" stroke="#602060FF" stroke-width="1.3dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
				</rule>
			</rule>
			<rule cat="mtb_s_routes" e="way" k="route" v="mtb" zoom-min="12">
				<line dy="1.2dp" stroke="#608000FF" stroke-width="1.3dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
			</rule>
			<rule cat="mtb_s_color_routes" e="way" k="route" v="mtb" zoom-min="12">
				<line dy="-1.2dp" stroke="#508000FF" stroke-width="1.3dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
			</rule>
			<rule cat="h_s_routes" e="way" k="route" v="hiking|foot" zoom-min="12">
				<line dy="-1.2dp" stroke="#9000BB00" stroke-width="1.3dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
			</rule>
			<rule cat="h_s_color_routes" e="way" k="route" v="hiking|foot" zoom-min="12">
				<rule e="way" k="network" v="lwn|uwn|~">
					<line dy="-1.2dp" stroke="#ffd8F000" stroke-width="1.3dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="network" v="rwn">
					<line dy="-1.2dp" stroke="#7000BB00" stroke-width="1.3dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="network" v="nwn">
					<line dy="-1.2dp" stroke="#79FF1616" stroke-width="1.3dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="network" v="iwn">
					<line dy="-1.2dp" stroke="#602060FF" stroke-width="1.3dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
				</rule>
			</rule>
		</rule>

		<!-- HIGHWAYS -->
		<rule e="way" k="highway" v="*">
			<!-- highway casings -->
			<!-- no bridge -->
			<rule e="way" k="bridge" v="~|no">
				<!-- no area -->
				<rule e="way" k="area" v="~|no">
					<!-- highway casings -->
					<rule e="way" k="*" v="*" zoom-max="14" cat="nocity">
						<rule e="way" k="highway" v="construction" zoom-min="12">
							<line stroke="#888888" stroke-width="1.65dp" stroke-dasharray="0,3,15,0" stroke-linecap="butt"/>
							<line stroke="#e0e0e0" stroke-width="1.15dp" stroke-dasharray="0,3,15,0" stroke-linecap="butt"/>
						</rule>
						<rule cat="paths" e="way" k="highway" v="footway|path|bridleway|cycleway" zoom-min="14">
							<rule e="way" k="access" v="private|destination|acc_no|forestry|permit">
								<rule e="way" k="foot" v="ft_yes|ft_permissive|ft_designated|ft_destination|ft_permit|yes">
									<line stroke="#C0ffffff" stroke-width="0.4dp"/>
								</rule>
							</rule>
							<rule e="way" k="access" v="~|permissive|yes" zoom-min="14">
								<rule e="way" k="sac_scale" v="T1|T2|hiking|mountain_hiking">
									<rule e="way" k="trail_visibility" v="~|excellent|good|intermediate">													<line stroke="#C0FFFFFF" stroke-width="0.4dp"/>
									</rule>
								</rule>
						<rule cat="sacpaths" e="way" k="sac_scale|trail_visibility" v="T3|T4|T5|T6|demanding_mountain_hiking|alpine_hiking|demanding_alpine_hiking|difficult_alpine_hiking|bad|horrible|no">
									<line stroke="#C0FFFFFF" stroke-width="0.4dp"/>
								</rule>
							</rule>
						</rule>
						<rule cat="tracks" e="way" k="highway" v="track|byway" zoom-min="14">
							<line stroke="#935a04" stroke-width="1.4dp" stroke-linecap="butt"/>
							<rule e="way" k="tracktype" v="grade5">
								<line stroke="#C0FFFFFF" stroke-width="1.4dp" stroke-dasharray="1.875,2.25,1.875,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="tracktype" v="grade4">
								<line stroke="#C0FFFFFF" stroke-width="1.4dp" stroke-dasharray="1.5,3,1.5,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="tracktype" v="grade3">
								<line stroke="#C0FFFFFF" stroke-width="1.4dp" stroke-dasharray="1.125,3.75,1.125,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="tracktype" v="grade2">
								<line stroke="#C0FFFFFF" stroke-width="1.4dp" stroke-dasharray="0.75,4.5,0.75,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="tracktype" v="~">				
								<rule e="way" k="surface" v="~">
									<line stroke="#C0FFFFFF" stroke-width="1.4dp" stroke-dasharray="1.25,2,2.5,5,1.25,0" stroke-linecap="butt"/>
								</rule>
								<rule e="way" k="surface" v="raw|winter">
									<line stroke="#C0FFFFFF" stroke-width="1.4dp" stroke-dasharray="1.875,2.25,1.875,0" stroke-linecap="butt"/>
								</rule>
								<rule e="way" k="surface" v="gravel">
									<line stroke="#C0FFFFFF" stroke-width="1.4dp" stroke-dasharray="1.125,3.75,1.125,0" stroke-linecap="butt"/>
								</rule>
								<rule e="way" k="surface" v="compacted|unpaved">
									<line stroke="#C0FFFFFF" stroke-width="1.4dp" stroke-dasharray="1.125,3.75,1.125,0" stroke-linecap="butt"/>
								</rule>
								<rule e="way" k="surface" v="rough_paved">
									<line stroke="#C0FFFFFF" stroke-width="1.4dp" stroke-dasharray="0.75,4.5,0.75,0" stroke-linecap="butt"/>
								</rule>
								<!--rule e="way" k="surface" v="asphalt|smooth_paved|rough_paved|paved">
								</rule-->
							</rule>
						</rule>
					</rule>

					<rule e="way" k="*" v="*" zoom-min="15">
						<rule e="way" k="highway" v="construction">
							<line stroke="#888888" stroke-width="1.65dp" stroke-dasharray="0,3,15,0" stroke-linecap="butt"/>
							<line stroke="#e0e0e0" stroke-width="1.15dp" stroke-dasharray="0,3,15,0" stroke-linecap="butt"/>
						</rule>
						<rule cat="paths" e="way" k="highway" v="footway|path|bridleway|cycleway">
							<rule e="way" k="access" v="private|destination|acc_no|forestry|permit">
								<rule e="way" k="foot" v="~|ft_no|ft_private" zoom-min="16">
									<line stroke="#60ffffff" stroke-width="0.25dp"/>
								</rule>
								<rule e="way" k="foot" v="ft_yes|ft_permissive|ft_designated|ft_destination|ft_permit|yes">
									<line stroke="#C0ffffff" stroke-width="0.4dp"/>
								</rule>
							</rule>
							<rule e="way" k="access" v="~|permissive|yes">
								<rule e="way" k="sac_scale" v="T1|T2|hiking|mountain_hiking">
									<rule e="way" k="trail_visibility" v="~|excellent|good|intermediate">													<line stroke="#C0FFFFFF" stroke-width="0.4dp"/>
									</rule>
								</rule>
						<rule cat="sacpaths" e="way" k="sac_scale|trail_visibility" v="T3|T4|T5|T6|demanding_mountain_hiking|alpine_hiking|demanding_alpine_hiking|difficult_alpine_hiking|bad|horrible|no">
									<line stroke="#C0FFFFFF" stroke-width="0.4dp"/>
								</rule>
							</rule>
						</rule>
						<rule cat="tracks" e="way" k="highway" v="track|byway">
							<line stroke="#935a04" stroke-width="1.4dp" stroke-linecap="butt"/>
							<rule e="way" k="tracktype" v="grade5">
								<line stroke="#C0FFFFFF" stroke-width="1.4dp" stroke-dasharray="1.875,2.25,1.875,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="tracktype" v="grade4">
								<line stroke="#C0FFFFFF" stroke-width="1.4dp" stroke-dasharray="1.5,3,1.5,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="tracktype" v="grade3">
								<line stroke="#C0FFFFFF" stroke-width="1.4dp" stroke-dasharray="1.125,3.75,1.125,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="tracktype" v="grade2">
								<line stroke="#C0FFFFFF" stroke-width="1.4dp" stroke-dasharray="0.75,4.5,0.75,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="tracktype" v="~">				
								<rule e="way" k="surface" v="~">
									<line stroke="#C0FFFFFF" stroke-width="1.4dp" stroke-dasharray="1.25,2,2.5,5,1.25,0" stroke-linecap="butt"/>
								</rule>
								<rule e="way" k="surface" v="raw|winter">
									<line stroke="#C0FFFFFF" stroke-width="1.4dp" stroke-dasharray="1.875,2.25,1.875,0" stroke-linecap="butt"/>
								</rule>
								<rule e="way" k="surface" v="gravel">
									<line stroke="#C0FFFFFF" stroke-width="1.4dp" stroke-dasharray="1.125,3.75,1.125,0" stroke-linecap="butt"/>
								</rule>
								<rule e="way" k="surface" v="compacted|unpaved">
									<line stroke="#C0FFFFFF" stroke-width="1.4dp" stroke-dasharray="1.125,3.75,1.125,0" stroke-linecap="butt"/>
								</rule>
								<rule e="way" k="surface" v="rough_paved">
									<line stroke="#C0FFFFFF" stroke-width="1.4dp" stroke-dasharray="0.75,4.5,0.75,0" stroke-linecap="butt"/>
								</rule>
								<!--rule e="way" k="surface" v="asphalt|smooth_paved|rough_paved|paved">
								</rule-->
							</rule>
						</rule>
					</rule>

					<rule e="way" k="highway" v="service|living_street" zoom-min="14"> 
						<rule e="way" k="*" v="*" zoom-max="14" cat="nocity">
							<line stroke="#444444" stroke-width="1.3dp"/>
						</rule>
						<rule e="way" k="*" v="*" zoom-min="15">
							<line stroke="#444444" stroke-width="1.3dp"/>
							<rule e="way" k="surface" v="raw|winter">
								<line stroke="#C0FFFFFF" stroke-width="1.3dp" stroke-dasharray="1.875,2.25,1.875,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="surface" v="gravel">
								<line stroke="#C0FFFFFF" stroke-width="1.3dp" stroke-dasharray="1.5,3,1.5,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="surface" v="compacted|unpaved">
								<line stroke="#C0FFFFFF" stroke-width="1.3dp" stroke-dasharray="1.125,3.75,1.125,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="surface" v="rough_paved">
								<line stroke="#C0FFFFFF" stroke-width="1.3dp" stroke-dasharray="0.75,4.5,0.75,0" stroke-linecap="butt"/>
							</rule>
						</rule>
					</rule>
					<rule e="way" k="highway" v="pedestrian" zoom-min="14">
						<rule e="way" k="*" v="*" zoom-max="14" cat="nocity">
							<line stroke="#444444" stroke-width="1.25dp"/>
						</rule>
						<rule e="way" k="*" v="*" zoom-min="15">
							<line stroke="#444444" stroke-width="1.25dp"/>
							<rule e="way" k="surface" v="raw|winter">
								<line stroke="#C0FFFFFF" stroke-width="1.25dp" stroke-dasharray="1.875,2.25,1.875,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="surface" v="gravel">
								<line stroke="#C0FFFFFF" stroke-width="1.25dp" stroke-dasharray="1.5,3,1.5,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="surface" v="compacted|unpaved">
								<line stroke="#C0FFFFFF" stroke-width="1.25dp" stroke-dasharray="1.125,3.75,1.125,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="surface" v="rough_paved">
								<line stroke="#C0FFFFFF" stroke-width="1.25dp" stroke-dasharray="0.75,4.5,0.75,0" stroke-linecap="butt"/>
							</rule>
						</rule>
					</rule>
				</rule>

				<!-- PEDESTRIAN AREA
				allows casings of more important ways to edge it but not break up pedestrian area with pedestrian street casings -->
				<!-- area -->
				<rule e="way" k="area" v="yes">
					<rule e="way" k="highway" v="footway|pedestrian|path" zoom-min="15">
						<area fill="#F3DBB7" stroke="#444444" stroke-width="0.15dp"/>
					</rule>
				</rule>
				<rule e="way" k="area:highway" v="pedestrian" zoom-min="15">
					<area fill="#F3Dbb7" stroke="#444444" stroke-width="0.125dp"/>
				</rule>
			
				<!-- no area -->
				<rule e="way" k="area" v="~|no">
					<rule cat="nocity" e="way" k="highway" v="residential|road|ford" zoom-min="12" zoom-max="14">
						<rule cat="background" e="way" k="*" v="*">
							<line stroke="#444444" stroke-width="1.65dp"/>
						</rule>
					</rule>
					<rule cat="nocity" e="way" k="highway" v="unclassified" zoom-min="12" zoom-max="13">
						<line stroke="#444444" stroke-width="1.65dp"/>
					</rule>
					<rule e="way" k="highway" v="unclassified" zoom-min="14" zoom-max="14">
						<line stroke="#444444" stroke-width="1.65dp"/>
					</rule>
					<rule e="way" k="highway" v="residential|road|ford|unclassified" zoom-min="15">
						<line stroke="#444444" stroke-width="1.65dp"/>
						<rule e="way" k="surface" v="raw|winter">
							<line stroke="#C0FFFFFF" stroke-width="1.65dp" stroke-dasharray="1.875,2.25,1.875,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="surface" v="gravel">
							<line stroke="#C0FFFFFF" stroke-width="1.65dp" stroke-dasharray="1.5,3,1.5,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="surface" v="compacted|unpaved">
							<line stroke="#C0FFFFFF" stroke-width="1.65dp" stroke-dasharray="1.125,3.75,1.125,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="surface" v="rough_paved">
							<line stroke="#C0FFFFFF" stroke-width="1.65dp" stroke-dasharray="0.75,4.5,0.75,0" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule e="way" k="highway" v="raceway" zoom-min="17">
						<line stroke="#FFFFFF" stroke-width="1.15dp"/>
						<line stroke="#DD0000" stroke-width="1.15dp" stroke-linecap="butt" stroke-dasharray="6,3"/>
					</rule>
					<rule e="way" k="highway" v="tertiary_link|secondary_link|primary_link" zoom-min="12">
						<line stroke="#444444" stroke-width="1.5dp" stroke-linecap="butt"/>
						<rule e="way" k="surface" v="raw|winter" zoom-min="15">
							<line stroke="#C0FFFFFF" stroke-width="1.5dp" stroke-dasharray="1.875,2.25,1.875,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="surface" v="gravel" zoom-min="15">
							<line stroke="#C0FFFFFF" stroke-width="1.5dp" stroke-dasharray="1.5,3,1.5,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="surface" v="compacted|unpaved" zoom-min="15">
							<line stroke="#C0FFFFFF" stroke-width="1.5dp" stroke-dasharray="1.125,3.75,1.125,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="surface" v="rough_paved" zoom-min="15">
							<line stroke="#C0FFFFFF" stroke-width="1.5dp" stroke-dasharray="0.75,4.5,0.75,0" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule e="way" k="highway" v="tertiary|trunk_link|motorway_link" zoom-min="12">
						<line stroke="#444444" stroke-width="1.75dp" stroke-linecap="butt"/>
						<rule e="way" k="surface" v="raw|winter" zoom-min="15">
							<line stroke="#C0FFFFFF" stroke-width="1.75dp" stroke-dasharray="1.875,2.25,1.875,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="surface" v="gravel" zoom-min="15">
							<line stroke="#C0FFFFFF" stroke-width="1.75dp" stroke-dasharray="1.5,3,1.5,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="surface" v="compacted|unpaved" zoom-min="15">
							<line stroke="#C0FFFFFF" stroke-width="1.75dp" stroke-dasharray="1.125,3.75,1.125,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="surface" v="rough_paved" zoom-min="15">
							<line stroke="#C0FFFFFF" stroke-width="1.75dp" stroke-dasharray="0.75,4.5,0.75,0" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule e="way" k="highway" v="secondary" zoom-min="12">
						<line stroke="#444444" stroke-width="1.9dp" stroke-linecap="butt"/>
						<rule e="way" k="surface" v="raw|winter" zoom-min="15">
							<line stroke="#C0FFFFFF" stroke-width="1.9dp" stroke-dasharray="1.875,2.25,1.875,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="surface" v="gravel" zoom-min="15">
							<line stroke="#C0FFFFFF" stroke-width="1.9dp" stroke-dasharray="1.5,3,1.5,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="surface" v="compacted|unpaved" zoom-min="15">
							<line stroke="#C0FFFFFF" stroke-width="1.9dp" stroke-dasharray="1.125,3.75,1.125,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="surface" v="rough_paved" zoom-min="15">
							<line stroke="#C0FFFFFF" stroke-width="1.9dp" stroke-dasharray="0.75,4.5,0.75,0" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule e="way" k="highway" v="primary|trunk">
						<rule e="way" k="toll" v="tl_yes">
							<rule e="way" k="*" v="*" zoom-max="13" cat="nocity">
								<line stroke="#FF5900" stroke-width="3.3dp" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="*" v="*" zoom-min="14">
								<line stroke="#FF5900" stroke-width="2.3dp" stroke-linecap="butt"/>
								<rule e="way" k="surface" v="raw|winter" zoom-min="15">
									<line stroke="#C0FFFFFF" stroke-width="2.3dp" stroke-dasharray="1.875,2.25,1.875,0" stroke-linecap="butt"/>
								</rule>
								<rule e="way" k="surface" v="gravel" zoom-min="15">
									<line stroke="#C0FFFFFF" stroke-width="2,3dp" stroke-dasharray="1.5,3,1.5,0" stroke-linecap="butt"/>
								</rule>
								<rule e="way" k="surface" v="compacted|unpaved" zoom-min="15">
									<line stroke="#C0FFFFFF" stroke-width="2.3dp" stroke-dasharray="1.125,3.75,1.125,0" stroke-linecap="butt"/>
								</rule>
								<rule e="way" k="surface" v="rough_paved" zoom-min="15">
									<line stroke="#C0FFFFFF" stroke-width="2.3dp" stroke-dasharray="0.75,4.5,0.75,0" stroke-linecap="butt"/>
								</rule>
							</rule>
						</rule>
						<rule e="way" k="toll" v="~" zoom-min="12">
							<line stroke="#444444" stroke-width="2.05dp" stroke-linecap="butt"/>
							<rule e="way" k="surface" v="raw|winter" zoom-min="15">
								<line stroke="#C0FFFFFF" stroke-width="2.05dp" stroke-dasharray="1.875,2.25,1.875,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="surface" v="gravel" zoom-min="15">
								<line stroke="#C0FFFFFF" stroke-width="2.0dp" stroke-dasharray="1.5,3,1.5,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="surface" v="compacted|unpaved" zoom-min="15">
								<line stroke="#C0FFFFFF" stroke-width="2.05dp" stroke-dasharray="1.125,3.75,1.125,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="surface" v="rough_paved" zoom-min="15">
								<line stroke="#C0FFFFFF" stroke-width="2.05dp" stroke-dasharray="0.75,4.5,0.75,0" stroke-linecap="butt"/>
							</rule>
						</rule>
					</rule>
					<rule e="way" k="highway" v="motorway">
						<rule e="way" k="toll" v="tl_yes">
							<rule e="way" k="*" v="*" zoom-max="13" cat="nocity">
								<line stroke="#FF5900" stroke-width="3.6dp" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="*" v="*" zoom-min="14">
								<line stroke="#FF5900" stroke-width="2.6dp" stroke-linecap="butt"/>
								<rule e="way" k="surface" v="raw|winter" zoom-min="15">
									<line stroke="#C0FFFFFF" stroke-width="2.6dp" stroke-dasharray="1.875,2.25,1.875,0" stroke-linecap="butt"/>
								</rule>
								<rule e="way" k="surface" v="gravel" zoom-min="15">
									<line stroke="#C0FFFFFF" stroke-width="2.6dp" stroke-dasharray="1.5,3,1.5,0" stroke-linecap="butt"/>
								</rule>
								<rule e="way" k="surface" v="compacted|unpaved" zoom-min="15">
									<line stroke="#C0FFFFFF" stroke-width="2.6dp" stroke-dasharray="1.125,3.75,1.125,0" stroke-linecap="butt"/>
								</rule>
								<rule e="way" k="surface" v="rough_paved" zoom-min="15">
									<line stroke="#C0FFFFFF" stroke-width="2.6dp" stroke-dasharray="0.75,4.5,0.75,0" stroke-linecap="butt"/>
								</rule>
							</rule>
						</rule>
						<rule e="way" k="toll" v="~" zoom-min="12">
							<line stroke="#444444" stroke-width="2.25dp" stroke-linecap="butt"/>
							<rule e="way" k="surface" v="raw|winter" zoom-min="15">
								<line stroke="#C0FFFFFF" stroke-width="2.25dp" stroke-dasharray="1.875,2.25,1.875,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="surface" v="gravel" zoom-min="15">
								<line stroke="#C0FFFFFF" stroke-width="2.25dp" stroke-dasharray="1.5,3,1.5,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="surface" v="compacted|unpaved" zoom-min="15">
								<line stroke="#C0FFFFFF" stroke-width="2.25dp" stroke-dasharray="1.125,3.75,1.125,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="surface" v="rough_paved" zoom-min="15">
								<line stroke="#C0FFFFFF" stroke-width="2.25dp" stroke-dasharray="0.75,4.5,0.75,0" stroke-linecap="butt"/>
							</rule>
						</rule>
					</rule>
				</rule>
			</rule>

			<!-- HIGHWAY BRIDGES -->
			<rule e="way" k="based_on_rel|area" v="~|area_no|no">
			<rule e="way" k="bridge" v="yes|viaduct|movable" zoom-min="9">
				<!-- highway casings -->
				<rule e="way" k="highway" v="construction" zoom-min="12">
					<line stroke="#181818" stroke-width="2.5dp" stroke-linecap="butt"/>
					<line stroke="#f8f8f8" stroke-width="2.05dp" stroke-linecap="butt"/>
					<line stroke="#888888" stroke-width="1.65dp" stroke-dasharray="0,3,15,0" stroke-linecap="butt"/>
					<line stroke="#e0e0e0" stroke-width="1.15dp" stroke-dasharray="0,3,15,0" stroke-linecap="butt"/>
				</rule>
				<rule cat="paths" e="way" k="highway" v="steps|footway|path|bridleway|cycleway" zoom-min="15">
					<line stroke="#181818" stroke-width="1.05dp" stroke-linecap="butt"/>
					<line stroke="#f8f8f8" stroke-width="0.7dp" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="highway" v="service|living_street" zoom-min="15">
					<line stroke="#181818" stroke-width="2.15dp" stroke-linecap="butt"/>
					<line stroke="#f8f8f8" stroke-width="1.7dp" stroke-linecap="butt"/>
					<line stroke="#444444" stroke-width="1.3dp" stroke-linecap="butt"/>
				</rule>
				<rule cat="tracks" e="way" k="highway" v="track|byway" zoom-min="15">
					<line stroke="#181818" stroke-width="1.4dp" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="highway" v="raceway" zoom-min="17">
					<line stroke="#181818" stroke-width="1.95dp" stroke-linecap="butt"/>
					<line stroke="#f8f8f8" stroke-width="1.5dp" stroke-linecap="butt"/>
					<line stroke="#FFFFFF" stroke-width="1.15dp" stroke-linecap="butt"/>
					<line stroke="#DD0000" stroke-width="1.15dp" stroke-linecap="butt" stroke-dasharray="6,3"/>
				</rule>
				<rule e="way" k="highway" v="pedestrian" zoom-min="15">
					<line stroke="#181818" stroke-width="2.1dp" stroke-linecap="butt"/>
					<line stroke="#f8f8f8" stroke-width="1.65dp" stroke-linecap="butt"/>
					<line stroke="#444444" stroke-width="1.25dp" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="highway" v="unclassified|residential|road|ford" zoom-min="15">
					<line stroke="#181818" stroke-width="2.7dp" stroke-linecap="butt"/>
					<line stroke="#f8f8f8" stroke-width="2.25dp" stroke-linecap="butt"/>
					<rule cat="bike" e="way" k="cycleway|cycleway_track" v="cw_track|cw_track_both|cw_track_right" zoom-min="15">
						<line dy="0.75dp" stroke="#f8f8f8" stroke-width="1.5dp" stroke-linecap="butt"/>
						<line dy="1.51dp" stroke="#181818" stroke-width="0.22dp" stroke-linecap="butt"/>
					</rule>
					<rule cat="bike" e="way" k="cycleway|cycleway_track" v="cw_track|cw_track_both|cw_track_left" zoom-min="15">
						<line dy="-0.75dp" stroke="#f8f8f8" stroke-width="1.5dp" stroke-linecap="butt"/>
						<line dy="-1.51dp" stroke="#181818" stroke-width="0.22dp" stroke-linecap="butt"/>
					</rule>
					<line stroke="#444444" stroke-width="1.65dp" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="highway" v="tertiary_link|secondary_link|primary_link" zoom-min="13">
					<line stroke="#181818" stroke-width="2.55dp" stroke-linecap="butt"/>
					<line stroke="#f8f8f8" stroke-width="2.1dp" stroke-linecap="butt"/>
					<rule cat="bike" e="way" k="cycleway|cycleway_track" v="cw_track|cw_track_both|cw_track_right" zoom-min="15">
						<line dy="0.75dp" stroke="#f8f8f8" stroke-width="1.5dp" stroke-linecap="butt"/>
						<line dy="1.51dp" stroke="#181818" stroke-width="0.22dp" stroke-linecap="butt"/>
					</rule>
					<rule cat="bike" e="way" k="cycleway|cycleway_track" v="cw_track|cw_track_both|cw_track_left" zoom-min="15">
						<line dy="-0.75dp" stroke="#f8f8f8" stroke-width="1.5dp" stroke-linecap="butt"/>
						<line dy="-1.51dp" stroke="#181818" stroke-width="0.22dp" stroke-linecap="butt"/>
					</rule>
					<line stroke="#444444" stroke-width="1.5dp" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="highway" v="tertiary|trunk_link|motorway_link" zoom-min="13">
					<line stroke="#181818" stroke-width="2.8dp" stroke-linecap="butt"/>
					<line stroke="#f8f8f8" stroke-width="2.35dp" stroke-linecap="butt"/>
					<rule cat="bike" e="way" k="cycleway|cycleway_track" v="cw_track|cw_track_both|cw_track_right" zoom-min="15">
						<line dy="0.75dp" stroke="#f8f8f8" stroke-width="1.5dp" stroke-linecap="butt"/>
						<line dy="1.51dp" stroke="#181818" stroke-width="0.22dp" stroke-linecap="butt"/>
					</rule>
					<rule cat="bike" e="way" k="cycleway|cycleway_track" v="cw_track|cw_track_both|cw_track_left" zoom-min="15">
						<line dy="-0.75dp" stroke="#f8f8f8" stroke-width="1.5dp" stroke-linecap="butt"/>
						<line dy="-1.51dp" stroke="#181818" stroke-width="0.22dp" stroke-linecap="butt"/>
					</rule>
					<line stroke="#444444" stroke-width="1.75dp" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="highway" v="secondary" zoom-min="11">
					<line stroke="#181818" stroke-width="2.95dp" stroke-linecap="butt"/>
					<line stroke="#f8f8f8" stroke-width="2.5dp" stroke-linecap="butt"/>
					<rule cat="bike" e="way" k="cycleway|cycleway_track" v="cw_track|cw_track_both|cw_track_right" zoom-min="15">
						<line dy="0.75dp" stroke="#f8f8f8" stroke-width="1.5dp" stroke-linecap="butt"/>
						<line dy="1.51dp" stroke="#181818" stroke-width="0.22dp" stroke-linecap="butt"/>
						</rule>
						<rule cat="bike" e="way" k="cycleway|cycleway_track" v="cw_track|cw_track_both|cw_track_left" zoom-min="15">
							<line dy="-0.75dp" stroke="#f8f8f8" stroke-width="1.5dp" stroke-linecap="butt"/>
							<line dy="-1.51dp" stroke="#181818" stroke-width="0.22dp" stroke-linecap="butt"/>
						</rule>
						<line stroke="#444444" stroke-width="1.9dp" stroke-linecap="butt"/>
					</rule>
					<rule e="way" k="highway" v="primary|trunk">
						<rule e="way" k="toll" v="tl_yes">
							<rule e="way" k="*" v="*" zoom-max="13" cat="nocity">
								<line stroke="#181818" stroke-width="4.35dp" stroke-linecap="butt"/>
								<line stroke="#f8f8f8" stroke-width="3.9dp" stroke-linecap="butt"/>
								<line stroke="#FF5900" stroke-width="3.3dp" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="*" v="*" zoom-min="14">
								<line stroke="#181818" stroke-width="3.35dp" stroke-linecap="butt"/>
								<line stroke="#f8f8f8" stroke-width="2.9dp" stroke-linecap="butt"/>
								<rule cat="bike" e="way" k="cycleway|cycleway_track" v="cw_track|cw_track_both|cw_track_right" zoom-min="15">
									<line dy="0.75dp" stroke="#f8f8f8" stroke-width="1.5dp" stroke-linecap="butt"/>
									<line dy="1.51dp" stroke="#181818" stroke-width="0.22dp" stroke-linecap="butt"/>
								</rule>
								<rule cat="bike" e="way" k="cycleway|cycleway_track" v="cw_track|cw_track_both|cw_track_left" zoom-min="15">
									<line dy="-0.75dp" stroke="#f8f8f8" stroke-width="1.5dp" stroke-linecap="butt"/>
									<line dy="-1.51dp" stroke="#181818" stroke-width="0.22dp" stroke-linecap="butt"/>
								</rule>
								<line stroke="#FF5900" stroke-width="2.3dp" stroke-linecap="butt"/>
							</rule>
						</rule>
						<rule e="way" k="toll" v="~">
							<line stroke="#181818" stroke-width="3.1dp" stroke-linecap="butt"/>
							<line stroke="#f8f8f8" stroke-width="2.65dp" stroke-linecap="butt"/>
							<rule cat="bike" e="way" k="cycleway|cycleway_track" v="cw_track|cw_track_both|cw_track_right" zoom-min="15">
								<line dy="0.75dp" stroke="#f8f8f8" stroke-width="1.5dp" stroke-linecap="butt"/>
								<line dy="1.51dp" stroke="#181818" stroke-width="0.22dp" stroke-linecap="butt"/>
							</rule>
							<rule cat="bike" e="way" k="cycleway|cycleway_track" v="cw_track|cw_track_both|cw_track_left" zoom-min="15">
								<line dy="-0.75dp" stroke="#f8f8f8" stroke-width="1.5dp" stroke-linecap="butt"/>
								<line dy="-1.51dp" stroke="#181818" stroke-width="0.22dp" stroke-linecap="butt"/>
							</rule>
							<line stroke="#444444" stroke-width="2.05dp" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule e="way" k="highway" v="motorway">
						<rule e="way" k="toll" v="tl_yes">
							<rule e="way" k="*" v="*" zoom-max="13" cat="nocity">
								<line stroke="#181818" stroke-width="4.65dp" stroke-linecap="butt"/>
								<line stroke="#f8f8f8" stroke-width="4.2dp" stroke-linecap="butt"/>
								<line stroke="#FF5900" stroke-width="3.6dp" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="*" v="*" zoom-min="14">
								<line stroke="#181818" stroke-width="3.65dp" stroke-linecap="butt"/>
								<line stroke="#f8f8f8" stroke-width="3.2dp" stroke-linecap="butt"/>
								<line stroke="#FF5900" stroke-width="2.6dp" stroke-linecap="butt"/>
							</rule>
						</rule>
						<rule e="way" k="toll" v="~">
							<line stroke="#181818" stroke-width="3.3dp" stroke-linecap="butt"/>
							<line stroke="#f8f8f8" stroke-width="2.85dp" stroke-linecap="butt"/>
							<line stroke="#444444" stroke-width="2.25dp" stroke-linecap="butt"/>
						</rule>
					</rule>
				</rule>
			</rule>
			</rule>
			<!-- /highway -->


			<!-- railway bridge casings -->
			<rule e="way" k="based_on_rel|area" v="~|area_no|no">
			<rule e="way" k="bridge" v="yes|viaduct" zoom-min="14">
				<rule e="way" k="railway|highway" v="tram|light_rail|bus_guideway|miniature">
					<line stroke="#181818" stroke-width="1.3dp" stroke-linecap="butt"/>
					<line stroke="#ffffff" stroke-width="0.85dp" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="railway" v="subway">
					<line stroke="#181818" stroke-width="1.5dp" stroke-linecap="butt"/>
					<line stroke="#ffffff" stroke-width="1.05dp" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="railway" v="narrow_gauge|preserved|funicular">
					<line stroke="#181818" stroke-width="1.6dp" stroke-linecap="butt"/>
					<line stroke="#ffffff" stroke-width="1.15dp" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="railway" v="rail|disused">
					<line stroke="#181818" stroke-width="1.7dp" stroke-linecap="butt"/>
					<line stroke="#ffffff" stroke-width="1.25dp" stroke-linecap="butt"/>
				</rule>
			</rule>
			</rule>
	</rule>
	 
	
	<!-- overlays (underlays) to show CYCLE ROUTES or HIKING NETWORKS if paths, tracks are turned off -->
	<!-- BRIDGES UNDERLAY -->
	<rule e="way" k="based_on_rel|area" v="~|area_no|no">
	<rule cat="any_routes" e="way" k="bridge" v="yes|viaduct|movable" zoom-min="17">
		<rule e="way" k="highway" v="steps|footway|path|bridleway|cycleway">
			<line stroke="#181818" stroke-width="1.05dp" stroke-linecap="butt"/>
			<line stroke="#f8f8f8" stroke-width="0.7dp" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="highway" v="track|byway">
			<line stroke="#181818" stroke-width="1.4dp" stroke-linecap="butt"/>
			<line stroke="#F1E9C3" stroke-width="0.9dp" stroke-linecap="butt"/>
		</rule>
	</rule>
	</rule>

		
	<!-- ROUTES UNDERLAY -->
	<!-- overlays for cycle, mtb and hiking networks -->
	<rule e="way" k="route" v="~">
		<!-- cycle networks --> 
		<rule e="way" k="network" v="icn|ncn|rcn|lcn|ucn" cat="c_n_routes">
			<rule e="way" k="cycleway|cycleway_lane|cycleway_track" v="~">
				<line stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="0,1.55,3,3,3,15,3,3,3,1.45" stroke-linecap="butt"/>
			</rule>
		</rule>
		<rule e="way" k="network|network_mtb" v="mtb|lay_mtb" cat="mtb_n_routes">
			<line stroke="#905ac4" stroke-width="0.4dp" stroke-dasharray="0,1.55,3,3,3,15,3,3,3,1.45" stroke-linecap="butt"/>
		</rule>
		<!-- hiking networks -->
		<rule e="way" k="hknetwork" v="iwn|nwn|rwn|lwn|uwn" cat="h_n_routes">
			<line stroke="#008131" stroke-width="0.4dp" stroke-dasharray="0,1.55,3,3,3,15,3,3,3,1.45" stroke-linecap="butt"/>
			<!-- cycle networks double space --> 
			<rule e="way" k="network" v="icn|ncn|rcn|lcn|ucn" cat="c_n_routes">
				<rule e="way" k="cycleway|cycleway_lane|cycleway_track" v="~">
					<line stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="0,1.55,3,3,3,51,3,3,3,1.45" stroke-linecap="butt"/>
				</rule>
			</rule>
			<rule e="way" k="network|network_mtb" v="mtb|lay_mtb" cat="mtb_n_routes">
				<line stroke="#905ac4" stroke-width="0.4dp" stroke-dasharray="0,1.55,3,3,3,51,3,3,3,1.45" stroke-linecap="butt"/>
			</rule>
		</rule>
	</rule>

	<!-- overlays for cycle, mtb and hiking networks on LoMaps-->
	<rule e="way" k="route" v="hiking|foot|bicycle|mtb" zoom-min="14">
		<!-- cycle networks --> 
		<rule e="way" k="route" v="bicycle" cat="c_n_routes">
			<line stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="0,1.55,3,3,3,15,3,3,3,1.45" stroke-linecap="butt"/>
		</rule>
		<!-- mtb networks --> 
		<rule e="way" k="route" v="mtb" cat="mtb_n_routes">
			<line stroke="#905ac4" stroke-width="0.4dp" stroke-dasharray="0,1.55,3,3,3,15,3,3,3,1.45" stroke-linecap="butt"/>
		</rule>
		<!-- hiking networks -->
		<rule e="way" k="route" v="hiking|foot" cat="h_n_routes">
			<line stroke="#008131" stroke-width="0.4dp" stroke-dasharray="0,1.55,3,3,3,15,3,3,3,1.45" stroke-linecap="butt"/>
		</rule>
		<!-- cycle networks double space --> 
		<rule e="way" k="route" v="bicycle" cat="c_n_routes">
			<line stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="0,1.55,3,3,3,51,3,3,3,1.45" stroke-linecap="butt"/>
		</rule>
		<!-- mtb networks double space --> 
		<rule e="way" k="route" v="mtb" cat="mtb_n_routes">
			<line stroke="#905ac4" stroke-width="0.4dp" stroke-dasharray="0,1.55,3,3,3,51,3,3,3,1.45" stroke-linecap="butt"/>
		</rule>
	</rule>
	

	<!-- turning circle core -->
	<rule e="node" k="highway" v="turning_circle" zoom-min="17">
		<circle r="0.8dp" scale-radius="true" fill="#d6d6d6"/>
	</rule>

	<rule e="node" k="highway" v="passing_place" zoom-min="17">
		<circle r="1.3dp" scale-radius="true" fill="#F1EAD5"/>
	</rule>
	<rule e="node" k="highway" v="mini_roundabout" zoom-min="17">
		<circle r="1.2dp" scale-radius="true" fill="#f8f8f8"/>
	</rule>

	<!-- highway areas -->
	<rule e="way" k="area" v="yes" closed="yes">
		<rule cat="tracks" e="way" k="highway" v="track|byway" zoom-min="15">
			<area fill="#F1E9C3" stroke="#935a04" stroke-width="0.225dp"/>
		</rule>
		<rule e="way" k="highway" v="living_street" zoom-min="15">
			<area fill="#d6d6d6" stroke="#444444" stroke-width="0.2dp"/>
		</rule>
		<rule e="way" k="highway" v="service" zoom-min="15">
			<area fill="#f6f6f6" stroke="#444444" stroke-width="0.2dp"/>
		</rule>
		<rule e="way" k="highway" v="residential|road" zoom-min="15">
			<area fill="#ffffff" stroke="#444444" stroke-width="0.25dp"/>
		</rule>
		<rule cat="noyellow" e="way" k="highway" v="unclassified" zoom-min="13">
			<rule e="way" k="*" v="*" zoom-max="14" cat="nocity">
				<area fill="#fff100" stroke="#444444" stroke-width="0.25dp"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="15">
				<area fill="#fff100" stroke="#444444" stroke-width="0.25dp"/>
			</rule>
		</rule>
		<rule cat="yellow" e="way" k="highway" v="unclassified" zoom-min="13">
			<rule e="way" k="*" v="*" zoom-max="14" cat="nocity">
				<area fill="#FFFF88" stroke="#444444" stroke-width="0.25dp"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="15">
				<area fill="#FFFF88" stroke="#444444" stroke-width="0.25dp"/>
			</rule>
		</rule>
	</rule>
	<rule e="way" k="area" v="yes" closed="no" zoom-min="15"> <!-- Error recovery -->
		<rule e="way" k="highway" v="*">
			<line stroke="#444444" stroke-width="1.65dp"/>
			<line stroke="#ffffff" stroke-width="1.15dp"/>
		</rule> 
	</rule>

	<!-- no tunnel -->
	<!-- emphasised routes on OAMaps -->
	<rule e="way" k="tunnel" v="~|no">
		<!-- emphasised routes on OAMaps -->
		<!-- no area -->
		<rule e="way" k="area" v="~|no">
			<!-- emphasised routes over bridges etc -->
			<rule e="way" k="bridge" v="yes|viaduct|movable">
				<rule e="way" k="route" v="~" zoom-min="12">
					<rule e="way" k="highway" v="track|byway|service|residential|living_street|construction|road|ford|pedestrian|unclassified|tertiary_link|secondary_link|primary_link|trunk_link|tertiary|secondary|primary|trunk">
						<rule cat="c_s_routes" e="way" k="network" v="ncn|icn|rcn|lcn|ucn">
							<rule e="way" k="*" v="*" zoom-max="14">
								<line dy="1.5dp" stroke="#C000ffff" stroke-width="1.5dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="*" v="*" zoom-min="15">
								<line stroke="#b000ffff" stroke-width="3.4dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
						</rule>
						<rule cat="mtb_s_routes" e="way" k="network|network_mtb" v="mtb|lay_mtb">
							<rule e="way" k="*" v="*" zoom-max="14">
								<line dy="-1.5dp" stroke="#808000ff" stroke-width="1.5dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="*" v="*" zoom-min="15">
								<line stroke="#408000FF" stroke-width="3.4dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
						</rule>
						<rule cat="h_s_routes" e="way" k="hknetwork" v="nwn|iwn|rwn|lwn|uwn">
							<rule e="way" k="*" v="*" zoom-max="14">
								<line dy="-1.5dp" stroke="#9000BB00" stroke-width="1.5dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="*" v="*" zoom-min="15">
								<line stroke="#9000BB00" stroke-width="3.4dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
								<!-- both hike and mtb -->
								<rule cat="mtb_s_routes" e="way" k="network|network_mtb" v="mtb|lay_mtb">
									<line stroke="#80c040FF" stroke-width="1.7dp" dy="0.85dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
								</rule>
								<!-- both hike and bike -->
								<rule cat="c_s_routes" e="way" k="network" v="ncn|icn|rcn|lcn|ucn">
									<line stroke="#b000ffff" stroke-width="1.7dp" dy="0.85dp" stroke-linejoin="bevel" stroke-linecap="butt"/>
								</rule>
							</rule>
						</rule>
					</rule>
				</rule>
			</rule>
		</rule>
	</rule>

	<!-- cycleway edges -->
	<rule e="way" k="tunnel" v="~|no">
			<!-- overlays for cycle tracks or lanes on normal roads for OAM maps
			1. show relevant cycle tracks or lanes if cycle routes are "on" -->
			<rule cat="c_n_routes" e="way" k="network" v="icn|ncn|rcn|lcn|ucn" zoom-min="15">
<rule cat="c_n_routes" e="way" k="highway" v="service|residential|living_street|construction|road|ford|pedestrian|unclassified|tertiary_link|secondary_link|primary_link|trunk_link|tertiary|secondary|primary|trunk"> 
			<!-- cycle tracks --> 
			<rule cat="both" e="way" k="cycleway|cycleway_track" v="cw_track|cw_track_both|cw_track_right|cw_track_oneway|cw_track_oneway_rev">
				<line dy="1.1dp" stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
			</rule>
			<rule cat="left" e="way" k="cycleway|cycleway_track" v="cw_track|cw_track_both|cw_track_right|cw_track_oneway_rev">
				<line dy="1.1dp" stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
			</rule>
			<rule cat="right" e="way" k="cycleway|cycleway_track" v="cw_track|cw_track_both|cw_track_right|cw_track_oneway">
				<line dy="1.1dp" stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
			</rule>
			<rule cat="both" e="way" k="cycleway|cycleway_track" v="cw_track|cw_track_both|cw_track_left|cw_track_oneway|cw_track_oneway_rev">
				<line dy="-1.1dp" stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
			</rule>
			<rule cat="left" e="way" k="cycleway|cycleway_track" v="cw_track|cw_track_both|cw_track_left|cw_track_oneway">
				<line dy="-1.1dp" stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
			</rule>
			<rule cat="right" e="way" k="cycleway|cycleway_track" v="cw_track|cw_track_both|cw_track_left|cw_track_oneway_rev">
				<line dy="-1.1dp" stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
			</rule>
			<!-- cycle lanes --> 
			<rule cat="both" e="way" k="cycleway|cycleway_lane" v="cw_lane|cw_lane_both|lane|cw_lane_right|cw_lane_oneway|cw_lane_oneway_rev">
				<line dy="0.95dp" stroke="#0083d7" stroke-width="0.3dp" stroke-dasharray="0,1.5,3,1.5" stroke-linecap="butt"/>
			</rule>
			<rule cat="left" e="way" k="cycleway|cycleway_lane" v="cw_lane|cw_lane_both|lane|cw_lane_right|cw_lane_oneway_rev">
				<line dy="0.95dp" stroke="#0083d7" stroke-width="0.3dp" stroke-dasharray="0,1.5,3,1.5" stroke-linecap="butt"/>
			</rule>
			<rule cat="right" e="way" k="cycleway|cycleway_lane" v="cw_lane|cw_lane_both|lane|cw_lane_right|cw_lane_oneway">
				<line dy="0.95dp" stroke="#0083d7" stroke-width="0.3dp" stroke-dasharray="0,1.5,3,1.5" stroke-linecap="butt"/>
			</rule>
			<rule cat="both" e="way" k="cycleway|cycleway_lane" v="cw_lane|cw_lane_both|lane|cw_lane_left|cw_lane_oneway|cw_lane_oneway_rev">
				<line dy="-0.95dp" stroke="#0083d7" stroke-width="0.3dp" stroke-dasharray="0,1.5,3,1.5" stroke-linecap="butt"/>
			</rule>
			<rule cat="left" e="way" k="cycleway|cycleway_lane" v="cw_lane|cw_lane_both|lane|cw_lane_left|cw_lane_oneway">
				<line dy="-0.95dp" stroke="#0083d7" stroke-width="0.3dp" stroke-dasharray="0,1.5,3,1.5" stroke-linecap="butt"/>
			</rule>
			<rule cat="right" e="way" k="cycleway|cycleway_lane" v="cw_lane|cw_lane_both|lane|cw_lane_left|cw_lane_oneway_rev">
				<line dy="-0.95dp" stroke="#0083d7" stroke-width="0.3dp" stroke-dasharray="0,1.5,3,1.5" stroke-linecap="butt"/>
			</rule>
		</rule>
		</rule>
		<!-- overlays for cycle tracks or lanes on normal roads for OAM maps
		2. cycle tracks and lanes are "on" -->
		<rule cat="c_tracks" e="way" k="highway" v="service|residential|living_street|construction|road|ford|pedestrian|unclassified|tertiary_link|secondary_link|primary_link|trunk_link|tertiary|secondary|primary|trunk" zoom-min="15"> 
			<!-- cycle tracks --> 
			<rule cat="both" e="way" k="cycleway|cycleway_track" v="cw_track|cw_track_both|cw_track_right|cw_track_oneway|cw_track_oneway_rev">
				<line dy="1.1dp" stroke="#80ffffff" stroke-width="0.5dp"/>
				<line dy="1.1dp" stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
			</rule>
			<rule cat="left" e="way" k="cycleway|cycleway_track" v="cw_track|cw_track_both|cw_track_right|cw_track_oneway_rev">
				<line dy="1.1dp" stroke="#80ffffff" stroke-width="0.5dp"/>
				<line dy="1.1dp" stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
			</rule>
			<rule cat="right" e="way" k="cycleway|cycleway_track" v="cw_track|cw_track_both|cw_track_right|cw_track_oneway">
				<line dy="1.1dp" stroke="#80ffffff" stroke-width="0.5dp"/>
				<line dy="1.1dp" stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
			</rule>
			<rule cat="both" e="way" k="cycleway|cycleway_track" v="cw_track|cw_track_both|cw_track_left|cw_track_oneway|cw_track_oneway_rev">
				<line dy="-1.1dp" stroke="#80ffffff" stroke-width="0.5dp"/>
				<line dy="-1.1dp" stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
			</rule>
			<rule cat="left" e="way" k="cycleway|cycleway_track" v="cw_track|cw_track_both|cw_track_left|cw_track_oneway">
				<line dy="-1.1dp" stroke="#80ffffff" stroke-width="0.5dp"/>
				<line dy="-1.1dp" stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
			</rule>
			<rule cat="right" e="way" k="cycleway|cycleway_track" v="cw_track|cw_track_both|cw_track_left|cw_track_oneway_rev">
				<line dy="-1.1dp" stroke="#80ffffff" stroke-width="0.5dp"/>
				<line dy="-1.1dp" stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
			</rule>
			<!-- cycle lanes --> 
			<rule cat="both" e="way" k="cycleway|cycleway_lane" v="cw_lane|cw_lane_both|lane|cw_lane_right|cw_lane_oneway|cw_lane_oneway_rev">
				<line dy="0.95dp" stroke="#40ffffff" stroke-width="0.4dp"/>
				<line dy="0.95dp" stroke="#0083d7" stroke-width="0.3dp" stroke-dasharray="0,1.5,3,1.5" stroke-linecap="butt"/>
			</rule>
			<rule cat="left" e="way" k="cycleway|cycleway_lane" v="cw_lane|cw_lane_both|lane|cw_lane_right|cw_lane_oneway_rev">
				<line dy="0.95dp" stroke="#40ffffff" stroke-width="0.4dp"/>
				<line dy="0.95dp" stroke="#0083d7" stroke-width="0.3dp" stroke-dasharray="0,1.5,3,1.5" stroke-linecap="butt"/>
			</rule>
			<rule cat="right" e="way" k="cycleway|cycleway_lane" v="cw_lane|cw_lane_both|lane|cw_lane_right|cw_lane_oneway">
				<line dy="0.95dp" stroke="#40ffffff" stroke-width="0.4dp"/>
				<line dy="0.95dp" stroke="#0083d7" stroke-width="0.3dp" stroke-dasharray="0,1.5,3,1.5" stroke-linecap="butt"/>
			</rule>
			<rule cat="both" e="way" k="cycleway|cycleway_lane" v="cw_lane|cw_lane_both|lane|cw_lane_left|cw_lane_oneway|cw_lane_oneway_rev">
				<line dy="-0.95dp" stroke="#40ffffff" stroke-width="0.4dp"/>
				<line dy="-0.95dp" stroke="#0083d7" stroke-width="0.3dp" stroke-dasharray="0,1.5,3,1.5" stroke-linecap="butt"/>
			</rule>
			<rule cat="left" e="way" k="cycleway|cycleway_lane" v="cw_lane|cw_lane_both|lane|cw_lane_left|cw_lane_oneway">
				<line dy="-0.95dp" stroke="#40ffffff" stroke-width="0.4dp"/>
				<line dy="-0.95dp" stroke="#0083d7" stroke-width="0.3dp" stroke-dasharray="0,1.5,3,1.5" stroke-linecap="butt"/>
			</rule>
			<rule cat="right" e="way" k="cycleway|cycleway_lane" v="cw_lane|cw_lane_both|lane|cw_lane_left|cw_lane_oneway_rev">
				<line dy="-0.95dp" stroke="#40ffffff" stroke-width="0.4dp"/>
				<line dy="-0.95dp" stroke="#0083d7" stroke-width="0.3dp" stroke-dasharray="0,1.5,3,1.5" stroke-linecap="butt"/>
			</rule>
		</rule>
	</rule>

	<!-- highway cores -->
	<rule e="way" k="highway|route" v="*">
		<!-- no tunnel -->
		<rule e="way" k="tunnel" v="~|no">
			<!-- no area -->
			<rule e="way" k="area" v="~|no">
				<!-- highway cores -->
				<rule e="way" k="*" v="*" zoom-max="14" cat="nocity">
					<!-- steps as core-->
					<rule cat="paths" e="way" k="highway" v="steps" zoom-min="14">
						<line stroke="#9A4A09" stroke-width="0.6dp" stroke-linecap="butt"/>
						<line stroke="#F3DBB7" stroke-width="0.35dp" stroke-dasharray="1,1" stroke-linecap="butt"/>
					</rule>
					<rule cat="paths" e="way" k="highway" v="path|footway" zoom-min="14">
						<rule e="way" k="access|foot" v="private|ft_destination|destination|acc_no|forestry|permit">
							<rule e="way" k="foot" v="ft_yes|ft_permissive|ft_designated|ft_destination|ft_permit|yes">
								<line stroke="#9A4A09" stroke-width="0.4dp" stroke-dasharray="0,1.5,3,1.5" stroke-linecap="butt"/>
							</rule>
						</rule>
						<rule e="way" k="access" v="~|permissive|yes">
								<rule e="way" k="foot" v="~|ft_yes|ft_permissive|ft_designated|ft_destination|ft_permit|yes">
								<rule e="way" k="sac_scale" v="~|T1|T2|hiking|mountain_hiking">
									<rule e="way" k="trail_visibility" v="~|excellent|good|intermediate">													<line stroke="#9A4A09" stroke-width="0.4dp" stroke-dasharray="0,1.5,3,1.5" stroke-linecap="butt"/>
									</rule>
								</rule>
						<rule cat="sacpaths" e="way" k="sac_scale|trail_visibility" v="T3|T4|T5|T6|demanding_mountain_hiking|alpine_hiking|demanding_alpine_hiking|difficult_alpine_hiking|bad|horrible|no">
									<line stroke="#9A4A09" stroke-width="0.4dp" stroke-dasharray="0,2,2,2" stroke-linecap="butt"/>
								</rule>
							</rule>
						</rule>
						<!-- Cycle access on path treated as bridleway (access for bicycles as well as on foot) -->
						<rule e="way" k="bicycle|network" v="bic_yes|bic_permissive|bic_designated|hcw|icn|ncn|rcn|lcn|ucn|mtb|yes">
							<line stroke="#008131" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule cat="paths" e="way" k="highway" v="bridleway" zoom-min="14"> 
						<line stroke="#008131" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
					</rule>
					<rule cat="paths" e="way" k="highway" v="cycleway" zoom-min="13"> 
						<rule e="way" k="foot" v="ft_no|~">
							<line stroke="#80ffffff" stroke-width="0.4dp" stroke-linecap="butt"/>
							<line stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="foot|hknetwork|network" v="ft_yes|ft_permissive|ft_designated|iwn|nwn|rwn|lwn|uwn|yes">
							<line stroke="#80ffffff" stroke-width="0.4dp" stroke-linecap="butt"/>
							<rule cat="nobike" e="way" k="*" v="*">
								<line stroke="#008131" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
							</rule>
							<!-- if bike category, overdraw in blue -->
							<rule cat="bike" e="way" k="*" v="*">
								<line stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
								<!-- unless hike routes shown, when overdraw in green -->
								<rule cat="h_routes" e="way" k="*" v="*">
									<line stroke="#008131" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
								</rule>
							</rule>
						</rule>
					</rule>
					<rule cat="tracks" e="way" k="highway" v="track|byway" zoom-min="14">
						<line stroke="#F1E9C3" stroke-width="0.9dp" stroke-linecap="butt"/>
					</rule>
				</rule>

				<rule e="way" k="*" v="*" zoom-min="15">
					<!-- steps as core -->
					<rule cat="paths" e="way" k="highway" v="steps">
						<line stroke="#9A4A09" stroke-width="0.6dp" stroke-linecap="butt"/>
						<line stroke="#F3DBB7" stroke-width="0.35dp" stroke-dasharray="1,1" stroke-linecap="butt"/>
					</rule>
					<rule cat="paths" e="way" k="highway" v="path|footway">
						<rule e="way" k="access|foot" v="private|ft_destination|destination|acc_no|forestry|permit">
							<rule e="way" k="foot" v="~|ft_no|ft_private" zoom-min="16">
								<line stroke="#809A4A09" stroke-width="0.25dp" stroke-dasharray="0,1.5,3,1.5" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="access|foot" v="ft_yes|yes|ft_permissive|permissive|ft_designated|designated|ft_destination|destination|ft_permit|permit">
								<line stroke="#9A4A09" stroke-width="0.4dp" stroke-dasharray="0,1.5,3,1.5" stroke-linecap="butt"/>
							</rule>
						</rule>
						<rule e="way" k="access" v="~|permissive|yes">
							<rule e="way" k="foot" v="ft_no|ft_private" zoom-min="16">
								<line stroke="#809A4A09" stroke-width="0.25dp" stroke-dasharray="0,1.5,3,1.5" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="foot" v="~|ft_yes|ft_permissive|ft_designated|ft_destination|ft_permit|yes">
								<rule e="way" k="sac_scale" v="~|T1|T2|hiking|mountain_hiking">
									<rule e="way" k="trail_visibility" v="~|excellent|good|intermediate">													<line stroke="#9A4A09" stroke-width="0.4dp" stroke-dasharray="0,1.5,3,1.5" stroke-linecap="butt"/>
									</rule>
								</rule>
						<rule cat="sacpaths" e="way" k="sac_scale|trail_visibility" v="T3|T4|T5|T6|demanding_mountain_hiking|alpine_hiking|demanding_alpine_hiking|difficult_alpine_hiking|bad|horrible|no">
									<line stroke="#9A4A09" stroke-width="0.4dp" stroke-dasharray="0,2,2,2" stroke-linecap="butt"/>
								</rule>
							</rule>
						</rule>
						<!-- Cycle access on path treated as bridleway (access for bicycles as well as on foot) -->
						<rule e="way" k="bicycle|network" v="bic_yes|bic_permissive|bic_designated|hcw|icn|ncn|rcn|lcn|ucn|mtb|yes">
							<line stroke="#008131" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule cat="paths" e="way" k="highway" v="bridleway"> 
						<line stroke="#008131" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
					</rule>
					<rule cat="paths" e="way" k="highway" v="cycleway"> 
						<!--line stroke="#80ffffff" stroke-width="0.4dp" stroke-linecap="butt"/-->
						<rule e="way" k="foot" v="ft_no|~">
							<line stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="foot|hknetwork|network" v="ft_yes|ft_permissive|ft_designated|iwn|nwn|rwn|lwn|uwn|yes">
							<rule cat="nobike" e="way" k="*" v="*">
								<line stroke="#008131" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
							</rule>
							<!-- if bike category, overdraw in blue -->
							<rule cat="bike" e="way" k="*" v="*">
								<line stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
								<!-- unless hike routes shown, when overdraw in green -->
								<rule cat="h_routes" e="way" k="*" v="*">
									<line stroke="#008131" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
								</rule>
							</rule>
						</rule>
					</rule>
					<rule cat="paths" e="way" k="access|foot" v="destination|ft_destination">
						<rule e="way" k="highway" v="path|footway|steps|bridleway|cycleway" zoom-min="16">
							<line stroke="#DD3333FF" stroke-width="0.8dp" stroke-dasharray="0,11.2,0.8,0" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule cat="paths" e="way" k="access" v="private|acc_no|forestry|permit">
						<rule e="way" k="highway" v="path|footway|steps">
							<rule e="way" k="foot" v="ft_no|~" zoom-min="16">
								<line stroke="#DDFF3333" stroke-width="0.8dp" stroke-dasharray="0,11.2,0.8,0" stroke-linecap="butt"/>
							</rule>
						</rule>
						<rule e="way" k="highway" v="bridleway">
							<rule e="way" k="foot|bicycle" v="ft_no|bic_no|bic_forestry|~">
								<line stroke="#DDFF3333" stroke-width="0.8dp" stroke-dasharray="0,11.2,0.8,0" stroke-linecap="butt"/>
							</rule>
						</rule>
						<rule e="way" k="highway" v="cycleway">
							<rule e="way" k="bicycle" v="bic_no|bic_forestry|~">
								<line stroke="#DDFF3333" stroke-width="0.8dp" stroke-dasharray="0,11.2,0.8,0" stroke-linecap="butt"/>
							</rule>
						</rule>
					</rule>

					<rule cat="tracks" e="way" k="highway" v="track|byway">
						<line stroke="#F1E9C3" stroke-width="0.9dp" stroke-linecap="butt"/>
					</rule>
				</rule>
				<!-- Overlays for foot & cycle access on tracks and byways -->
				<!-- PART ONE -->
				<rule cat="tracks" e="way" k="highway" v="track|byway" zoom-min="15">
					<rule cat="paths" e="way" k="foot|hknetwork|network|bicycle" v="ft_yes|ft_permissive|ft_designated|iwn|nwn|rwn|lwn|uwn|bic_yes|bic_permissive|bic_designated|hcw|icn|ncn|rcn|lcn|ucn|mtb|yes">
						<line stroke="#FBF4DE" stroke-width="1dp" stroke-linecap="butt"/>
						<line stroke="#80ffffff" stroke-width="0.4dp" stroke-linecap="butt"/>
					</rule>
				</rule>
				<!-- Overlays for foot & cycle access on tracks and byways -->
<!-- PART TWO -->
				<rule cat="paths" e="way" k="highway" v="track|byway" zoom-min="15">
					<rule e="way" k="foot|hknetwork|network" v="ft_yes|ft_permissive|ft_designated|iwn|nwn|rwn|lwn|uwn|yes">
						<rule e="way" k="bicycle" v="bic_no|bic_forestry|~">
							<line stroke="#9A4A09" stroke-width="0.4dp" stroke-dasharray="0,1.5,3,1.5" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule e="way" k="bicycle|network" v="bic_yes|bic_permissive|bic_designated|hcw|icn|ncn|rcn|lcn|ucn|mtb|yes">
						<rule e="way" k="foot" v="ft_no">
							<line stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="foot" v="ft_yes|ft_permissive|ft_designated|~|yes">
							<line stroke="#008131" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
						</rule>
					</rule>
				</rule>
				
				<rule e="way" k="highway" v="pedestrian" zoom-min="14">
					<rule e="way" k="*" v="*" zoom-max="14" cat="nocity">
						<line stroke="#F3DBB7" stroke-width="0.95dp"/>
					</rule>
					<rule e="way" k="*" v="*" zoom-min="15">
						<line stroke="#F3DBB7" stroke-width="0.95dp"/>
						<line src="file:vol_res/patterns/access-pedestrian.png" symbol-height="16dp" stroke-width="0.95dp" />
						<rule cat="c_tracks" e="way" k="bicycle|network|mtbnetwork" v="bic_yes|yes|bic_permissive|permissive|bic_designated|designated|icn|ncn|rcn|lcn|ocn|mtb|imn|nmn|rmn|lmn|omn">
							<rule e="way" k="cycleway|cycleway_lane|cycleway_track" v="~">
								<line stroke="#0083d7" stroke-width="0.3dp" scale="all" stroke-dasharray="0,0.22,0.16,0.22" stroke-linecap="butt"/>
							</rule>
						</rule>
					</rule>
				</rule>
				
				
				<rule e="way" k="highway" v="service" zoom-min="14">
					<rule e="way" k="*" v="*" zoom-max="14" cat="nocity">
						<line stroke="#eeeeee" stroke-width="0.9dp"/>
					</rule>
					<rule e="way" k="*" v="*" zoom-min="15">
						<line stroke="#eeeeee" stroke-width="0.9dp"/>
					</rule>
				</rule>
				
				<rule e="way" k="highway" v="living_street" zoom-min="14">
					<rule e="way" k="*" v="*" zoom-max="14" cat="nocity">
						<line stroke="#d6d6d6" stroke-width="0.9dp"/>
					</rule>
					<rule e="way" k="*" v="*" zoom-min="15">
						<line stroke="#d6d6d6" stroke-width="0.9dp"/>
					</rule>
				</rule>

				<rule e="way" k="highway" v="raceway">
					<rule e="way" k="*" v="*" zoom-min="13" zoom-max="14" closed="no" cat="nocity">
						<line stroke="#A3A3A3" stroke-width="0.65dp"/>
						<line stroke="#C40000" stroke-width="0.65dp" stroke-linecap="butt" stroke-dasharray="5,5"/>
					</rule>
					<rule e="way" k="*" v="*" zoom-min="15" zoom-max="16">
						<line stroke="#A3A3A3" stroke-width="0.65dp"/>
						<line stroke="#C40000" stroke-width="0.65dp" stroke-linecap="butt" stroke-dasharray="5,5"/>
					</rule>
					<rule e="way" k="*" v="*" zoom-min="17">
						<line stroke="#BDBDBD" stroke-width="0.75dp"/>
					</rule>
				</rule>

				<rule e="way" k="highway" v="residential|road|ford" zoom-min="12" zoom-max="14" cat="nocity">
					<rule cat="background" e="way" k="*" v="*">
						<line stroke="#ffffff" stroke-width="1.15dp"/>
					</rule>
				</rule>
				<rule e="way" k="highway" v="residential|road|ford" zoom-min="15">
					<line stroke="#ffffff" stroke-width="1.15dp"/>
				</rule>
				<rule cat="noyellow" e="way" k="highway" v="unclassified" zoom-min="12">
					<rule cat="nocity" e="way" k="*" v="*" zoom-max="13">
						<line stroke="#fff100" stroke-width="1.15dp"/>
					</rule>
					<rule e="way" k="*" v="*" zoom-min="14">
						<line stroke="#fff100" stroke-width="1.15dp"/>
					</rule>
				</rule>
				<rule cat="yellow" e="way" k="highway" v="unclassified" zoom-min="12">
					<rule cat="nocity" e="way" k="*" v="*" zoom-max="13">
						<line stroke="#FFFF88" stroke-width="1.15dp"/>
					</rule>
					<rule e="way" k="*" v="*" zoom-min="14">
						<line stroke="#FFFF88" stroke-width="1.15dp"/>
					</rule>
				</rule>
				<rule e="way" k="highway" v="tertiary_link" zoom-min="12">
					<rule e="way" k="*" v="*" cat="noyellow">
						<line stroke="#F9B92D" stroke-width="1dp"/>
					</rule>
					<rule e="way" k="*" v="*" cat="yellow">
						<line stroke="#FFEC8B" stroke-width="1dp"/>
					</rule>
				</rule>
				<rule e="way" k="highway" v="secondary_link" zoom-min="11">
					<rule e="way" k="*" v="*" cat="noyellow">
						<line stroke="#D17C37" stroke-width="1dp"/>
					</rule>
					<rule e="way" k="*" v="*" cat="yellow">
						<line stroke="#FFEC8B" stroke-width="1dp"/>
					</rule>
				</rule>
				<rule e="way" k="highway" v="primary_link" zoom-min="9">
					<rule e="way" k="*" v="*" cat="noyellow">
						<line stroke="#E064A2" stroke-width="1dp"/>
					</rule>
					<rule e="way" k="*" v="*" cat="yellow">
						<line stroke="#FFDF33" stroke-width="1dp"/>
					</rule>
				</rule>
				<rule e="way" k="highway" v="trunk_link" zoom-min="8">
					<rule e="way" k="*" v="*">
						<line stroke="#26A958" stroke-width="1.25dp" cat="noyellow"/>
					</rule>
					<rule e="way" k="*" v="*" cat="yellow">
						<line stroke="#FF9500" stroke-width="1.25dp"/>
					</rule>
				</rule>
				<rule e="way" k="highway" v="motorway_link">
					<rule e="way" k="*" v="*" cat="noyellow">
						<line stroke="#0083d7" stroke-width="1.25dp"/>
					</rule>
					<rule e="way" k="*" v="*" cat="yellow">
						<line stroke="#FF7700" stroke-width="1.25dp"/>
					</rule>
				</rule>
				<rule cat="nocity" e="way" k="highway" v="tertiary" zoom-min="11" zoom-max="11">
					<rule cat="noyellow" e="way" k="*" v="*">
						<line stroke="#faca5f" stroke-width="1.5dp"/>
					</rule>
					<rule cat="yellow" e="way" k="*" v="*">
						<line stroke="#F6E375" stroke-width="1.5dp"/>
					</rule>
				</rule>
				<rule e="way" k="highway" v="tertiary" zoom-min="12">
					<rule cat="noyellow" e="way" k="*" v="*">
						<line stroke="#F9B92D" stroke-width="1.25dp"/>
					</rule>
					<rule cat="yellow" e="way" k="*" v="*">
						<line stroke="#FFEC8B" stroke-width="1.25dp"/>
					</rule>
				</rule>
				<rule e="way" k="highway" v="secondary" zoom-min="11">
					<rule e="way" k="*" v="*" cat="noyellow">
						<line stroke="#D17C37" stroke-width="1.4dp"/>
					</rule>
					<rule e="way" k="*" v="*" cat="yellow">
						<line stroke="#FFEC8B" stroke-width="1.4dp"/>
					</rule>
				</rule>
				<rule e="way" k="highway" v="primary" zoom-min="9">
					<rule e="way" k="*" v="*" cat="noyellow">
						<line stroke="#E064A2" stroke-width="1.55dp"/>
					</rule>
					<rule e="way" k="*" v="*" cat="yellow">
						<line stroke="#FFDF33" stroke-width="1.55dp"/>
					</rule>
				</rule>
				<rule e="way" k="highway" v="trunk" zoom-min="8">
					<rule e="way" k="*" v="*" cat="noyellow">
						<line stroke="#26A958" stroke-width="1.55dp"/>
					</rule>
					<rule e="way" k="*" v="*" cat="yellow">
						<line stroke="#FF9500" stroke-width="1.55dp"/>
					</rule>
				</rule>
				
				<!-- overlays for cycle, mtb and hiking networks on normal roads for OAM maps -->
				<rule e="way" k="highway" v="pedestrian|track|byway|residential|service|living_street|construction|road|ford|unclassified|tertiary_link|secondary_link|primary_link|trunk_link|tertiary|secondary|primary|trunk" zoom-min="15">
					<!-- cycle networks --> 
					<rule e="way" k="network" v="icn|ncn|rcn|lcn|ucn" cat="c_routes">
						<line stroke="#40ffffff" stroke-width="0.6dp" stroke-linecap="butt"/>
						<rule e="way" k="cycleway|cycleway_lane|cycleway_track" v="~">
							<rule e="way" k="highway|lm_highway" v="pedestrian">
								<line stroke="#0083d7" stroke-width="0.4dp" scale="all" stroke-dasharray="0,0.22,0.16,0.22" stroke-linecap="butt"/>
							</rule>
							<line stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="0,1.55,3,3,3,15,3,3,3,1.45" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule e="way" k="network|network_mtb" v="mtb|lay_mtb" cat="mtb_routes">
						<line stroke="#40ffffff" stroke-width="0.6dp" stroke-linecap="butt"/>
							<line stroke="#905ac4" stroke-width="0.4dp" stroke-dasharray="0,1.55,3,3,3,15,3,3,3,1.45" stroke-linecap="butt"/>
					</rule>
					<!-- hiking networks -->
					<rule e="way" k="hknetwork" v="iwn|nwn|rwn|lwn|uwn" cat="h_routes">
						<line stroke="#40ffffff" stroke-width="0.6p" stroke-linecap="butt"/>
						<line stroke="#008131" stroke-width="0.4dp" stroke-dasharray="0,1.55,3,3,3,15,3,3,3,1.45" stroke-linecap="butt"/>
						<!-- cycle networks double space --> 
					<rule e="way" k="network" v="icn|ncn|rcn|lcn|ucn" cat="c_routes">
						<rule e="way" k="cycleway|cycleway_lane|cycleway_track" v="~">
							<line stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="0,1.55,3,3,3,51,3,3,3,1.45" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule e="way" k="network|network_mtb" v="mtb|lay_mtb" cat="mtb_routes">
							<line stroke="#905ac4" stroke-width="0.4dp" stroke-dasharray="0,1.55,3,3,3,51,3,3,3,1.45" stroke-linecap="butt"/>
					</rule>
					</rule>
				</rule>
<!-- Overlays for hiking & cycle routes on tracks and byways -->
<!-- PART THREE -->
				<rule cat="paths" e="way" k="highway" v="track|byway" zoom-min="15">
					<rule cat="h_routes" e="way" k="hknetwork" v="iwn|nwn|rwn|lwn|uwn">
						<rule e="way" k="bicycle" v="bic_no|bic_forestry|~">
							<line stroke="#9A4A09" stroke-width="0.4dp" stroke-dasharray="0,1.5,3,1.5" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule cat="c_routes" e="way" k="network" v="icn|ncn|rcn|lcn|ucn|mtb">
						<rule e="way" k="foot" v="ft_no">
							<line stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="foot" v="ft_yes|ft_permissive|ft_designated|~|yes">
							<line stroke="#008131" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
						</rule>
					</rule>
				</rule>
				
				<!-- Overlays for foot & cycle designated or permissive access on service road - should only display for recognised footpath bridleway or cycleway - also if foot or bic=yes -->
				<rule e="way" k="highway" v="service">
				<rule cat="paths" e="way" k="*" v="*" zoom-min="13">
					<rule e="way" k="foot|hknetwork|network" v="ft_yes|ft_permissive|ft_designated|ft_destination|ft_permit|iwn|nwn|rwn|lwn|uwn|yes">
						<rule e="way" k="bicycle" v="bic_no|bic_forestry|~">
							<line stroke="#9A4A09" stroke-width="0.4dp" stroke-dasharray="0,1.5,3,1.5" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="bicycle|network|mtbnetwork" v="bic_yes|bic_permissive|bic_designated|hcw|icn|ncn|rcn|lcn|ucn|mtb|imn|nmn|rmn|lmn|yes">
							<line stroke="#008131" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule e="way" k="bicycle|network|mtbnetwork" v="bic_yes|bic_permissive|bic_designated|hcw|icn|ncn|rcn|lcn|ucn|mtb|imn|nmn|rmn|lmn|yes">
						<rule e="way" k="foot" v="ft_no|~">
							<rule e="way" k="cycleway|cycleway_lane|cycleway_track" v="~">
								<line stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
								</rule>
							</rule>
						</rule>
						<!-- cat c_routes: if cycle route and cycle lane or track, and displayed, and foot access draw light grey line then brown dashes -->
						<!-- cat c_tracks: if cycle lane or track displayed, and foot access, draw light grey line then brown dashes -->
						<rule e="way" k="cycleway|cycleway_lane|cycleway_track" v="*" zoom-min="15">
							<rule cat="c_tracks" e="way" k="foot|hknetwork|network" v="ft_yes|ft_permissive|ft_designated|ft_destination|ft_permit|iwn|nwn|rwn|lwn|uwn|yes">
								<line stroke="#eeeeee" stroke-width="0.45dp"/>
								<line stroke="#9A4A09" stroke-width="0.4dp" stroke-dasharray="0,1.5,3,1.5" stroke-linecap="butt"/>
							</rule>
							<rule cat="c_routes" e="way" k="network" v="icn|ncn|rcn|lcn|ucn|mtb">
								<rule e="way" k="foot|hknetwork|network" v="ft_yes|ft_permissive|ft_designated|ft_destination|ft_permit|iwn|nwn|rwn|lwn|uwn|yes">
								<line stroke="#eeeeee" stroke-width="0.45dp"/>
								<line stroke="#9A4A09" stroke-width="0.4dp" stroke-dasharray="0,1.5,3,1.5" stroke-linecap="butt"/>
							</rule>
						</rule>
					</rule>
					</rule>
				</rule>
			
				<!-- overlays for cycle, mtb and hiking networks on LoMaps-->
				<rule e="way" k="route" v="hiking|foot|bicycle|mtb" zoom-min="15">
					<!-- cycle networks --> 
					<rule e="way" k="route" v="bicycle" cat="c_routes">
						<line stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="0,1.55,3,3,3,15,3,3,3,1.45" stroke-linecap="butt"/>
					</rule>
					<!-- mtb networks --> 
					<rule e="way" k="route" v="mtb" cat="mtb_routes">
						<line stroke="#905ac4" stroke-width="0.4dp" stroke-dasharray="0,1.55,3,3,3,15,3,3,3,1.45" stroke-linecap="butt"/>
					</rule>
					<!-- hiking networks -->
					<rule e="way" k="route" v="hiking|foot" cat="h_routes">
						<line stroke="#008131" stroke-width="0.4dp" stroke-dasharray="0,1.55,3,3,3,15,3,3,3,1.45" stroke-linecap="butt"/> 
					</rule>
					<!-- cycle networks double space --> 
					<rule e="way" k="route" v="bicycle" cat="c_routes">
						<line stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="0,1.55,3,3,3,51,3,3,3,1.45" stroke-linecap="butt"/>
					</rule>
					<!-- mtb networks double space --> 
					<rule e="way" k="route" v="mtb" cat="mtb_routes">
						<line stroke="#905ac4" stroke-width="0.4dp" stroke-dasharray="0,1.55,3,3,3,51,3,3,3,1.45" stroke-linecap="butt"/>
					</rule>
				</rule>

				<rule e="way" k="highway" v="motorway">
					<rule e="way" k="*" v="*" cat="noyellow">
						<line stroke="#0083d7" stroke-width="1.75dp"/>
					</rule>
					<rule e="way" k="*" v="*" cat="yellow">
						<line stroke="#FF7700" stroke-width="1.75dp"/>
					</rule>
				</rule>


				<!-- overlay for half hidden cycle paths, also surfaced paths with cycle access -->
				<rule cat="c_tracks" e="way" k="highway" v="cycleway">
				<!--rule e="way" k="foot" v="~"--> 
					<rule cat="paths" e="way" k="*" v="*"> 
					<line stroke="#80ffffff" stroke-width="0.4dp"/>
					<line stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
				<!--/rule-->
				</rule>
			</rule>
			<rule cat="c_surfaces" e="way" k="highway" v="footway|path|track|service">
			<rule e="way" k="cycleway|cycleway_lane|cycleway_track" v="~">	
					<rule e="way" k="bicycle|network" v="bic_yes|bic_permissive|bic_designated|hcw|icn|ncn|rcn|lcn|ucn|yes">
						<rule e="any" k="surface|tracktype" v="asphalt|smooth_paved|paved|grade1">
							<line stroke="#80ffff" stroke-width="0.4dp"/>
							<line stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
						</rule>
						<rule e="any" k="surface|tracktype" v="rough_paved|compacted|unpaved|grade2">
							<line stroke="#80f8f8" stroke-width="0.4dp"/>
							<line stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="0,3,6,3" stroke-linecap="butt"/>
						</rule>
						<rule e="any" k="surface|tracktype" v="gravel|grade3">
							<line stroke="#80f0f0" stroke-width="0.4dp"/>
							<line stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="0,1.5,3,1.5" stroke-linecap="butt"/>
						</rule>
					</rule>
				</rule>
				</rule>
				<rule cat="c_surfaces" e="way" k="highway" v="bridleway" zoom-min="12"> 
					<rule e="any" k="surface" v="asphalt|smooth_paved|paved">
						<line stroke="#80ffff" stroke-width="0.4dp"/>
						<line stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
					</rule>
					<rule e="any" k="surface|tracktype" v="rough_paved|compacted|unpaved|grade2">
						<line stroke="#80f8f8" stroke-width="0.4dp"/>
						<line stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="0,3,6,3" stroke-linecap="butt"/>
					</rule>
					<rule e="any" k="surface|tracktype" v="gravel|grade3">
						<line stroke="#80f0f0" stroke-width="0.4dp"/>
						<line stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="0,1.5,3,1.5" stroke-linecap="butt"/>
					</rule>
				</rule>
				<!-- if cycle route or cycleway, assume good surface as default -->
				<rule cat="c_surfaces" e="way" k="highway" v="footway|path|track|service">
			<rule e="way" k="cycleway|cycleway_lane|cycleway_track" v="~">
					<rule e="way" k="bicycle|network" v="icn|ncn|rcn|lcn|ucn">
						<rule e="any" k="surface|tracktype" v="~">
							<line stroke="#80ffff" stroke-width="0.4dp"/>
							<line stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
						</rule>
					</rule>
				</rule>
				</rule>
				<rule cat="c_surfaces" e="way" k="highway" v="cycleway"> 
					<rule e="any" k="surface" v="~|asphalt|smooth_paved|paved">
						<line stroke="#80ffff" stroke-width="0.4dp"/>
						<line stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
					</rule>
					<rule e="any" k="surface|tracktype" v="rough_paved|compacted|unpaved|grade2">
						<line stroke="#80f8f8" stroke-width="0.4dp"/>
						<line stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="0,3,6,3" stroke-linecap="butt"/>
					</rule>
					<rule e="any" k="surface|tracktype" v="gravel|grade3">
						<line stroke="#80f0f0" stroke-width="0.4dp"/>
						<line stroke="#0083d7" stroke-width="0.4dp" stroke-dasharray="0,1.5,3,1.5" stroke-linecap="butt"/>
					</rule>
				</rule>

				<!-- highway names -->
				<rule e="way" k="highway" v="pedestrian|service|residential|living_street|construction|road|ford|unclassified|tertiary_link|secondary_link|primary_link|trunk_link|motorway_link|tertiary|secondary|primary|trunk|motorway" zoom-min="17">
					<rule e="way" k="*" v="*" zoom-max="18">
						<pathText k="name" font-style="bold" font-size="6dp" scale-font-size="16,1.15" fill="#000000" stroke="#C0FFFFFF" stroke-width="2dp" dx="6dp" dy="2.5dp"/>
					</rule>
					<rule e="way" k="*" v="*" zoom-min="19" zoom-max="20">
						<pathText k="name" font-style="bold" font-size="8dp" scale-font-size="16,1.15" fill="#000000" stroke="#A0FFFFFF" stroke-width="2dp" dx="12dp" dy="4.2dp"/>
					</rule>
					<rule e="way" k="*" v="*" zoom-min="21">
						<pathText k="name" font-style="bold" font-size="9dp" scale-font-size="16,1.15" fill="#000000" stroke="#80FFFFFF" stroke-width="2dp" dx="18dp" dy="6.5dp"/>
					</rule>
				</rule>

				<rule cat="tracks" e="way" k="highway" v="track|byway" zoom-min="17">
					<rule e="way" k="*" v="*" zoom-max="18">
						<pathText k="name" font-style="bold" font-size="6dp" scale-font-size="16,1.15" fill="#000000" stroke="#C0FFFFFF" stroke-width="2dp" dx="6dp" dy="2.5dp"/>
					</rule>
					<rule e="way" k="*" v="*" zoom-min="19" zoom-max="20">
						<pathText k="name" font-style="bold" font-size="8dp" scale-font-size="16,1.15" fill="#000000" stroke="#A0FFFFFF" stroke-width="2dp" dx="12dp" dy="4.2dp"/>
					</rule>
					<rule e="way" k="*" v="*" zoom-min="21">
						<pathText k="name" font-style="bold" font-size="9dp" scale-font-size="16,1.15" fill="#000000" stroke="#80FFFFFF" stroke-width="2dp" dx="18dp" dy="6.5dp"/>
					</rule>
				</rule>

				<rule cat="paths" e="way" k="highway" v="footway|path|bridleway|cycleway|steps" zoom-min="17">
					<rule e="way" k="*" v="*" zoom-max="18">
						<pathText k="name" font-style="normal" font-size="6dp" scale-font-size="16,1.15" fill="#000000" stroke="#C0FFFFFF" stroke-width="4dp" dx="6dp" dy="2.5dp"/>
					</rule>
					<rule e="way" k="*" v="*" zoom-min="19" zoom-max="20">
						<pathText k="name" font-style="normal" font-size="8dp" scale-font-size="16,1.15" fill="#000000" stroke="#A0FFFFFF" stroke-width="4dp" dx="12dp" dy="4.2dp"/>
					</rule>
					<rule e="way" k="*" v="*" zoom-min="21">
						<pathText k="name" font-style="normal" font-size="9dp" scale-font-size="16,1.15" fill="#000000" stroke="#80FFFFFF" stroke-width="4dp" dx="18dp" dy="6.5dp"/>
					</rule>
				</rule>
			</rule>
		</rule>

		<!-- highway markers -->
		<rule e="way" k="tunnel" v="~|no" zoom-min="15">
			<rule e="way" k="access" v="destination">
				<rule e="way" k="area" v="~|no">
					<!--rule cat="paths" e="way" k="highway" v="path|footway|steps|bridleway|cycleway">
						<line stroke="#DD3333FF" stroke-width=".8dp" stroke-dasharray="0.5,2,0.5,0" stroke-linecap="butt"/>
					</rule-->
					<rule e="way" k="highway" v="motorway|motorway_link|trunk|trunk_link|primary|primary_link|secondary|secondary_link|tertiary|tertiary_link|unclassified|residential|living_street|road|ford|pedestrian|service">
						<line stroke="#DD3333FF" stroke-width=".8dp" dy=".6dp" stroke-dasharray="0,11.2,0.8,0" stroke-linecap="butt"/>
						<line stroke="#DD3333FF" stroke-width=".8dp" dy="-.6dp" stroke-dasharray="0,11.2,0.8,0" stroke-linecap="butt"/>
					</rule>
					<rule cat="tracks" e="way" k="highway" v="track|byway">
						<line stroke="#DD3333FF" stroke-width=".8dp" dy=".6dp" stroke-dasharray="0,11.2,0.8,0" stroke-linecap="butt"/>
						<line stroke="#DD3333FF" stroke-width=".8dp" dy="-.6dp" stroke-dasharray="0,11.2,0.8,0" stroke-linecap="butt"/>
					</rule>
				</rule>
				<rule e="way" k="area" v="yes" zoom-min="17">
					<area symbol-height="16dp" src="file:vol_res/patterns/access-destination.png"/>
				</rule>
			</rule>

			<rule e="way" k="access" v="private|acc_no|forestry|permit">
				<rule e="way" k="area" v="~|no">
					<rule e="way" k="highway" v="motorway|motorway_link|trunk|trunk_link|primary|primary_link|secondary|secondary_link|tertiary|tertiary_link|unclassified|residential|living_street|road|ford|pedestrian|service">
						<line stroke="#DDFF3333" stroke-width=".8dp" dy="0.7dp" stroke-dasharray="0,11,1,0" stroke-linecap="butt"/>
						<line stroke="#DDFF3333" stroke-width=".8dp" dy="-0.7dp" stroke-dasharray="0,11,1,0" stroke-linecap="butt"/>
					</rule>
					<rule cat="tracks" e="way" k="highway" v="track|byway">
						<line stroke="#DDFF3333" stroke-width=".8dp" dy="0.7dp" stroke-dasharray="0,11,1,0" stroke-linecap="butt"/>
						<line stroke="#DDFF3333" stroke-width=".8dp" dy="-0.7dp" stroke-dasharray="0,11,1,0" stroke-linecap="butt"/>
					</rule>
				</rule>
				<rule e="way" k="area" v="yes" zoom-min="17">
					<area symbol-height="16dp" src="file:vol_res/patterns/access-private.png"/>
				</rule>
			</rule>
			<!-- Overlay for foot & cycle access on private highways -->
			<!-- Possibly change to private highways EXCEPT footways, paths, bridleways, cycleways -->
			<rule cat="paths" e="way" k="access" v="private|acc_no|forestry|permit|destination">
				<rule e="way" k="area" v="~|no">
					<rule e="way" k="foot|hknetwork|network" v="ft_yes|ft_permissive|ft_designated|ft_destination|ft_permit|iwn|nwn|rwn|lwn|uwn|yes">
						<rule e="way" k="bicycle" v="bic_no|bic_forestry|~">
							<line stroke="#40ffffff" stroke-width="0.3dp" stroke-linecap="butt"/>
							<line stroke="#9A4A09" stroke-width="0.3dp" stroke-dasharray="0,1.5,3,1.5" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule e="way" k="bicycle|network" v="bic_yes|bic_permissive|bic_designated|hcw|icn|ncn|rcn|lcn|ucn|mtb|yes">
						<rule e="way" k="foot" v="ft_no|~">
							<rule e="way" k="cycleway" v="~">
								<rule e="way" k="cycleway_track" v="~">
									<rule e="way" k="cycleway_lane" v="~">
										<line stroke="#40ffffff" stroke-width="0.3dp" stroke-linecap="butt"/>
										<line stroke="#0083d7" stroke-width="0.3dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
									</rule>
								</rule>
							</rule>
						</rule>
						<rule e="way" k="foot|hknetwork|network" v="ft_yes|ft_permissive|ft_designated|ft_destination|ft_permit|iwn|nwn|rwn|lwn|uwn|yes">
							<line stroke="#40ffffff" stroke-width="0.3dp" stroke-linecap="butt"/>
							<line stroke="#008131" stroke-width="0.3dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
						</rule>
					</rule>
				</rule>
			</rule>
		</rule>

		<rule e="way" k="toll" v="tl_yes" zoom-min="12">
			<rule e="way" k="area" v="~">
			<rule e="way" k="highway" v="*" zoom-max="14" cat="nocity">
				<line stroke="#DD333333" stroke-width="1.3dp" stroke-dasharray="0.1,8.9" stroke-linecap="round"/>
				<line stroke="#FF5900" stroke-width="1.0dp" stroke-dasharray="0.1,8.9" stroke-linecap="round"/>
			</rule>
			<rule e="way" k="highway" v="*" zoom-min="15">
				<line stroke="#DD333333" stroke-width="0.8dp" stroke-dasharray="0.1,8.9" stroke-linecap="round"/>
				<line stroke="#FF5900" stroke-width="0.6dp" stroke-dasharray="0.1,8.9" stroke-linecap="round"/>
			</rule>
		</rule>
		</rule>

		<!-- Oneway markers -->
		<rule e="way" k="area" v="~|no" zoom-min="16">
			<rule e="way" k="oneway" v="yes|1">
				<rule cat="bike" e="way" k="oneway:bicycle" v="ow_bic_no">
					<lineSymbol src="file:vol_res/svg/oneway_cycle.svg" symbol-height="15dp"	scale-icon-size="16,1.25" align-center="true" repeat="true" repeat-gap="45dp"/>
				</rule>
				<lineSymbol src="file:vol_res/svg/oneway.svg" symbol-height="15dp" scale-icon-size="16,1.25" align-center="true" repeat="true" repeat-gap="45dp"/>
			</rule>
			<rule e="way" k="oneway" v="-1">
				<rule cat="bike" e="way" k="oneway:bicycle" v="ow_bic_no">
					<lineSymbol src="file:vol_res/svg/oneway_cycle-1.svg" symbol-height="15dp" scale-icon-size="16,1.25" align-center="true" repeat="true" repeat-gap="45dp"/>
				</rule>
				<lineSymbol src="file:vol_res/svg/oneway-1.svg" symbol-height="15dp" scale-icon-size="16,1.25" align-center="true" repeat="true" repeat-gap="45dp"/>
			</rule>

			<rule cat="bike" e="way" k="oneway" v="no|~">
				<rule e="any" k="cycleway|cycleway_lane|cycleway_track" v="cw_track_right|cw_track_left|cw_lane_right|cw_lane_left">
					<rule e="any" k="oneway:bicycle" v="ow_bic_no">
						<lineSymbol src="file:vol_res/svg/oneway_no_cycle.svg" symbol-height="15dp" scale-icon-size="16,1.25" align-center="true" repeat="true" repeat-gap="45dp"/>
					</rule>
				</rule>
			</rule>
		</rule>
	</rule>
	<rule e="any" k="highway|ford" v="ford|fd_yes" zoom-min="14">
		<line stroke="#AAB3DDFF" stroke-width="1dp" stroke-linecap="butt"/>
		<rule e="any" k="*" v="*" zoom-min="15">
			<symbol src="file:vol_res/svg/ford.svg" symbol-height="16dp" scale-icon-size="16,1.25"/>
		</rule>
		<rule e="node" k="*" v="*" zoom-min="18">
			<caption k="name" dy="20dp" font-style="bold" font-size="12dp" scale-font-size="16,1.1" scale-dy-size="16,1.15" fill="#4773b3" stroke="#C0FFFFFF" stroke-width="2dp"/>
		</rule>
	</rule>

	<!-- mini roundabout centre -->
	<rule e="node" k="highway" v="mini_roundabout" zoom-min="17">
		<circle r="0.4dp" scale-radius="true" fill="#666666" stroke="#ffffff" stroke-width="0.1dp"/>
	</rule>
	
	<!-- railway (no tunnel) -->
	<rule e="way" k="tunnel" v="~|no" zoom-min="12">
		<rule e="way" k="railway|building" v="station|train_station">
			<rule e="any" k="power" v="~">
				<area fill="#604C4C0D" stroke="#444444" stroke-width="0.125dp"/>
			</rule>
		</rule>

		<!-- railway casings and cores -->
		<rule e="way" k="railway" v="miniature" zoom-min="15">
			<line stroke="#181818" stroke-width="0.14dp"/>
			<line stroke="#181818" stroke-width="0.6dp" stroke-dasharray="0.5,11.5" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="railway|highway" v="tram|light_rail|bus_guideway">
			<line stroke="#8C6900" stroke-width="0.5dp" stroke-linecap="butt"/>
			<line stroke="#FFFF73" stroke-width="0.4dp" stroke-dasharray="9,9" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="railway" v="subway">
			<line stroke="#B30000" stroke-width="0.6dp" stroke-linecap="butt"/>
			<line stroke="#FFBFBF" stroke-width="0.45dp" stroke-dasharray="9,9" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="railway" v="disused" zoom-min="15">
			<line stroke="#181818" stroke-width="0.75dp" stroke-linecap="butt"/>
			<line stroke="#e6e6e6" stroke-width="0.6dp" stroke-linecap="butt"/>
			<line stroke="#181818" stroke-width="0.6dp" stroke-dasharray="0.5,11.5" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="railway" v="rail|narrow_gauge|preserved|funicular" zoom-max="15">
			<line stroke="#666666" stroke-width="0.45dp" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="railway" v="narrow_gauge|preserved|funicular" zoom-min="16">
			<line stroke="#181818" stroke-width="0.65dp" stroke-linecap="butt"/>
			<line stroke="#e6e6e6" stroke-width="0.5dp" stroke-linecap="butt"/>
			<line stroke="#181818" stroke-width="0.5dp" stroke-dasharray="6,12" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="railway" v="rail" zoom-min="16">
			<line stroke="#181818" stroke-width="0.75dp" stroke-linecap="butt"/>
			<line stroke="#e6e6e6" stroke-width="0.6dp" stroke-linecap="butt"/>
			<line stroke="#181818" stroke-width="0.6dp" stroke-dasharray="12,12" stroke-linecap="butt"/>
		</rule>
	</rule>

	<!-- aeroway runways cores -->
	<rule e="way" k="aeroway" v="taxiway" closed="no" zoom-min="13">
		<line stroke="#d3d1c5" stroke-width="1.6dp" stroke-linecap="butt"/>
	</rule>
	<rule e="way" k="aeroway" v="taxiway" closed="yes" zoom-min="17">
		<rule e="way" k="area" v="no|~">
			<line stroke="#d3d1c5" stroke-width="1.6dp"/>
		</rule>
	</rule>
	<rule e="way" k="aeroway" v="runway" closed="yes" zoom-min="13">
		<area fill="#B5B19B"/>
	</rule>
	<rule e="way" k="aeroway" v="runway" closed="no" zoom-min="11" zoom-max="15">
		<line stroke="#B5B19B" stroke-width="3.5dp" stroke-linecap="butt"/>
	</rule>
	<rule e="way" k="aeroway" v="runway" closed="no" zoom-min="16">
		<line stroke="#B5B19B" stroke-width="3.5dp" stroke-linecap="square"/>
	</rule>

	<!-- non-physical routes -->
	<rule e="way" k="route" v="ferry">
		<line stroke="#405E8BAD" stroke-width="0.7dp" stroke-linecap="butt"/>
 		<line stroke="#5E8BAD" stroke-width="0.7dp" stroke-dasharray="12,12" stroke-linecap="butt"/>
	</rule>
	
	<!-- pistes -->
	<rule cat="ski" e="way" k="piste:type" v="downhill" closed="no">
		<line stroke="#b0e0FfFF" stroke-width="4dp" />
		<line stroke="#99eeee" stroke-width="0.25dp" dy="1.875dp"/>
		<line stroke="#99eeee" stroke-width="0.25dp" dy="-1.875dp"/>
		<rule e="way" k="piste:difficulty" v="novice">
			<line stroke="#009000" stroke-width="0.25dp" dy="1.875dp"/>
			<line stroke="#009000" stroke-width="0.25dp" dy="-1.875dp"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="easy">
			<line stroke="#0080cc" stroke-width="0.25dp" dy="1.875dp"/>
			<line stroke="#0080cc" stroke-width="0.25dp" dy="-1.875dp"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="intermediate">
			<line stroke="#dd0000" stroke-width="0.25dp" dy="1.875dp"/>
			<line stroke="#dd0000" stroke-width="0.25dp" dy="-1.875dp"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="advanced">
			<line stroke="#000000" stroke-width="0.25dp" dy="1.875dp"/>
			<line stroke="#000000" stroke-width="0.25dp" dy="-1.875dp"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="expert">
			<line stroke="#dd9900" stroke-width="0.25dp" dy="1.875dp"/>
			<line stroke="#dd9900" stroke-width="0.25dp" dy="-1.875dp"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="freeride">
			<line stroke="#dddd00" stroke-width="0.25dp" dy="1.875dp"/>
			<line stroke="#dddd00" stroke-width="0.25dp" dy="-1.875dp"/>
		</rule>
		<!--lineSymbol src="file:vol_res/svg/downhill.svg" symbol-height="16dp" scale-icon-size="16,1.25" repeat="true" repeat-start="10dp" repeat-gap="320dp" rotate="false" align-center="true"/-->
	</rule>
	<rule cat="ski" e="way" k="piste:type" v="downhill" closed="yes">
		<area fill="#b0e0FfFF" />
		<line stroke="#99eeee" stroke-width="0.25dp" dy="0.125dp"/>
		<symbol src="file:vol_res/svg/downhill.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
		<rule e="way" k="piste:difficulty" v="novice">
			<line stroke="#009000" stroke-width="0.25dp" dy="0.125dp"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="easy">
			<line stroke="#0080cc" stroke-width="0.25dp" dy="0.125dp"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="intermediate">
			<line stroke="#dd0000" stroke-width="0.25dp" dy="0.125dp"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="advanced">
			<line stroke="#000000" stroke-width="0.25dp" dy="0.125dp"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="expert">
			<line stroke="#dd9900" stroke-width="0.25dp" dy="0.125dp"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="freeride">
			<line stroke="#dddd00" stroke-width="0.25dp" dy="0.125dp"/>
		</rule>
	</rule>
	
	<!-- pistes2 -->
	<rule cat="ski" e="way" k="piste:type" v="nordic">
		<line stroke="#FFFFFF" stroke-width="0.5dp" stroke-linecap="butt" />
		<line stroke="#99eeee" stroke-width="0.5dp" stroke-dasharray="1.5,3,1.5,0" stroke-linecap="butt"/>
		<!--lineSymbol src="file:vol_res/svg/nordic.svg" symbol-height="18dp" scale-icon-size="16,1.25" repeat="true" repeat-start="10dp" repeat-gap="240dp" align-center="true"/-->
	</rule>
	
	<rule cat="ski" e="way" k="piste:type" v="sled">
		<rule e="any" k="*" v="*" closed="no">
			<line stroke="#FFFFFF" stroke-width="0.5dp" stroke-linecap="butt" />
			<line stroke="#99eeee" stroke-width="0.5dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
			<!--lineSymbol src="file:vol_res/svg/sled.svg" symbol-height="16dp" scale-icon-size="16,1.25" repeat="true" repeat-start="10dp" repeat-gap="320dp" align-center="true"/-->
		</rule>
		<rule e="way" k="*" v="*" closed="yes">
			<area fill="#33e0FfFF" />
			<line stroke="#FFFFFF" stroke-width="0.5dp" stroke-linecap="butt" />
			<line stroke="#99eeee" stroke-width="0.5dp" stroke-dasharray="4.5,3,4.5,0" stroke-linecap="butt"/>
			<symbol src="file:vol_res/svg/sled.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
		</rule>
	</rule>

	<rule cat="ski" e="way" k="piste:type" v="nordic|sled">
		<line stroke="#99eeee" stroke-width="0.15dp" dy="0.325dp"/>
		<line stroke="#99eeee" stroke-width="0.15dp" dy="-0.325dp"/>
		<rule e="way" k="piste:difficulty" v="novice">
			<!-- green -->
			<line stroke="#009000" stroke-width="0.15dp" dy="0.325dp"/>
			<line stroke="#009000" stroke-width="0.15dp" dy="-0.325dp"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="easy">
			<!-- blue -->
			<line stroke="#0080cc" stroke-width="0.15dp" dy="0.325dp"/>
			<line stroke="#0080cc" stroke-width="0.15dp" dy="-0.325dp"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="intermediate">
			<!-- red -->
			<line stroke="#dd0000" stroke-width="0.15dp" dy="0.325dp"/>
			<line stroke="#dd0000" stroke-width="0.15dp" dy="-0.325dp"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="advanced">
			<!-- black -->
			<line stroke="#000000" stroke-width="0.15dp" dy="0.325dp"/>
			<line stroke="#000000" stroke-width="0.15dp" dy="-0.325dp"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="expert">
			<!-- orange -->
			<line stroke="#dd9900" stroke-width="0.15dp" dy="0.325dp"/>
			<line stroke="#dd9900" stroke-width="0.15dp" dy="-0.325dp"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="freeride">
			<!-- yellow -->
			<line stroke="#dddd00" stroke-width="0.15dp" dy="0.325dp"/>
			<line stroke="#dddd00" stroke-width="0.15dp" dy="-0.325dp"/>
		</rule>
	</rule>

	<!-- aerial ways -->
	<rule e="way" k="aerialway" v="*" zoom-min="13">
		<line stroke="#202020" stroke-width="0.2dp"/>
		<rule e="way" k="*" v="*" zoom-min="16">
			<line stroke="#202020" stroke-width="1.5dp" stroke-dasharray="0.6,1,0.6,50" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="aerialway" v="cable_car" zoom-min="16">
			<lineSymbol src="file:vol_res/svg/cable_car.svg" symbol-height="14dp" scale-icon-size="16,1.25" repeat="true" repeat-gap="80dp"/>
		</rule>
		<rule e="way" k="aerialway" v="drag_lift|rope_tow|magic_carpet|zip_line" zoom-min="16">
			<lineSymbol src="file:vol_res/svg/drag_lift.svg" symbol-height="14dp" scale-icon-size="16,1.25" repeat="true" repeat-gap="80dp"/>
		</rule>
		<rule e="way" k="aerialway" v="goods" zoom-min="16">
			<lineSymbol src="file:vol_res/svg/goods_lift.svg" symbol-height="14dp" scale-icon-size="16,1.25" repeat="true" repeat-gap="80dp"/>
		</rule>
		<rule e="way" k="aerialway" v="chair_lift|mixed_lift" zoom-min="16">
			<lineSymbol src="file:vol_res/svg/chair_lift.svg" symbol-height="14dp" scale-icon-size="16,1.25" repeat="true" repeat-gap="80dp"/>
		</rule>
		<rule e="way" k="aerialway" v="gondola" zoom-min="16">
			<lineSymbol src="file:vol_res/svg/gondola.svg" symbol-height="14dp" scale-icon-size="16,1.25" repeat="true" repeat-gap="80dp"/>
		</rule>
		<rule e="way" k="*" v="*" zoom-min="16">
			<pathText k="name" font-style="bold" font-size="10dp" scale-font-size="16,1.1" fill="#606060" stroke="#C0FFFFFF" stroke-width="2dp" dy="-8dp"/>
		</rule>
	</rule>
	<rule e="any" k="aerialway" v="station" zoom-min="16">
		<symbol src="file:vol_res/svg/aerialway_station.svg" symbol-height="8dp" scale-icon-size="16,1.25"/>
		<caption k="name" dy="16dp" font-style="bold" font-size="10dp" scale-font-size="16,1.1" scale-dy-size="16,1.15" stroke="#C0FFFFFF" stroke-width="2dp"/>
	</rule>

	<rule e="way" k="highway|route" v="*">
		<!-- no tunnel -->
		<rule e="way" k="tunnel" v="~|no">
			<!-- Cycling blobs -->
			<rule e="way" k="route" v="~">
				<rule e="way" k="network" v="icn|ncn|rcn" cat="c_routes" zoom-min="14" zoom-max="14">
					<rule cat="nocity" e="way" k="*" v="*">
						<line stroke="#C0ffffff" stroke-width="2dp" stroke-dasharray="0.1,35.9"/>
						<line stroke="#0089e1" stroke-width="1.8dp" stroke-dasharray="0.1,35.9"/>
					</rule>
				</rule>
				<rule e="way" k="network" v="icn|ncn|rcn|lcn" cat="c_routes" zoom-min="15" zoom-max="15">
					<rule cat="nocity" e="way" k="*" v="*">
						<line stroke="#C0ffffff" stroke-width="1.7dp" stroke-dasharray="0.1,35.9"/>
						<line stroke="#0089e1" stroke-width="1.5dp" stroke-dasharray="0.1,35.9"/>
					</rule>
				</rule>
				<rule e="way" k="network" v="icn|ncn|rcn|lcn|ucn" cat="c_routes">
					<rule e="way" k="*" v="*" zoom-min="16" zoom-max="16">
						<line stroke="#C0ffffff" stroke-width="1.5dp" stroke-dasharray="0.1,35.9"/>
						<line stroke="#0089e1" stroke-width="1.3dp" stroke-dasharray="0.1,35.9"/>
					</rule>
					<rule e="way" k="*" v="*" zoom-min="17" zoom-max="17">
						<line stroke="#C0ffffff" stroke-width="1.33dp" stroke-dasharray="0.1,35.9"/>
						<line stroke="#0089e1" stroke-width="1.13dp" stroke-dasharray="0.1,35.9"/>
					</rule>
					<rule e="way" k="*" v="*" zoom-min="18">
						<line stroke="#C0ffffff" stroke-width="1.3dp" stroke-dasharray="0.1,35.9"/>
						<line stroke="#0089e1" stroke-width="1.1dp" stroke-dasharray="0.1,35.9"/>
					</rule>
				</rule>
			</rule>
			
			<!-- Cycling blobs -->
			<!-- LoMaps -->
			<rule e="way" k="route" v="bicycle" cat="c_routes">
				<rule cat="nocity" e="way" k="*" v="*" zoom-min="14" zoom-max="14">
					<line stroke="#C0ffffff" stroke-width="2dp" stroke-dasharray="0.1,23.9"/>
					<line stroke="#0089e1" stroke-width="1.8dp" stroke-dasharray="0.1,23.9"/>
				</rule>
				<rule cat="nocity" e="way" k="*" v="*" zoom-min="15" zoom-max="15">
					<line stroke="#C0ffffff" stroke-width="1.7dp" stroke-dasharray="0.1,35.9"/>
					<line stroke="#0089e1" stroke-width="1.5dp" stroke-dasharray="0.1,35.9"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="16" zoom-max="16">
					<line stroke="#C0ffffff" stroke-width="1.5dp" stroke-dasharray="0.1,35.9"/>
					<line stroke="#0089e1" stroke-width="1.3dp" stroke-dasharray="0.1,35.9"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="17" zoom-max="17">
					<line stroke="#C0ffffff" stroke-width="1.33dp" stroke-dasharray="0.1,35.9"/>
					<line stroke="#0089e1" stroke-width="1.13dp" stroke-dasharray="0.1,35.9"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="18">
					<line stroke="#C0ffffff" stroke-width="1.3dp" stroke-dasharray="0.1,35.9"/>
					<line stroke="#0089e1" stroke-width="1.1dp" stroke-dasharray="0.1,35.9"/>
				</rule>
			</rule>
	
			<!-- MTB blobs -->
			<rule e="way" k="route|network|network_mtb" v="mtb|lay_mtb" cat="mtb_routes">
				<rule cat="nocity" e="way" k="*" v="*" zoom-min="14" zoom-max="14">
					<line stroke="#80ffffff" stroke-width="2dp" stroke-dasharray="0.1,23.9"/>
					<line stroke="#9562C7" stroke-width="1.8dp" stroke-dasharray="0.1,23.9"/>
				</rule>
				<rule cat="nocity" e="way" k="*" v="*" zoom-min="15" zoom-max="15">
					<line stroke="#80ffffff" stroke-width="1.7dp" stroke-dasharray="0.1,35.9"/>
					<line stroke="#9562C7" stroke-width="1.5dp" stroke-dasharray="0.1,35.9"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="16" zoom-max="16">
					<line stroke="#80ffffff" stroke-width="1.5dp" stroke-dasharray="0.1,35.9"/>
					<line stroke="#9562C7" stroke-width="1.3dp" stroke-dasharray="0.1,35.9"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="17" zoom-max="17">
					<line stroke="#80ffffff" stroke-width="1.33dp" stroke-dasharray="0.1,35.9"/>
					<line stroke="#9562C7" stroke-width="1.13dp" stroke-dasharray="0.1,35.9"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="18">
					<line stroke="#80ffffff" stroke-width="1.3dp" stroke-dasharray="0.1,35.9"/>
					<line stroke="#9562C7" stroke-width="1.1dp" stroke-dasharray="0.1,35.9"/>
				</rule>
			</rule>
			
			<!-- Hiking blobs -->
			<rule e="way" k="hknetwork|network|route" v="iwn|nwn|rwn|lwn|uwn|hiking|foot" cat="h_routes">
				<rule cat="nocity" e="way" k="network|hknetwork" v="iwn|nwn|rwn|lwn" zoom-min="14" zoom-max="14">
					<line stroke="#80ffffff" stroke-width="2dp" stroke-dasharray="0.1,23.9"/>
					<line stroke="#00772d" stroke-width="1.8dp" stroke-dasharray="0.1,23.9"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="15" zoom-max="15">
					<line stroke="#80ffffff" stroke-width="1.7dp" stroke-dasharray="0.1,35.9"/>
					<line stroke="#00772d" stroke-width="1.5dp" stroke-dasharray="0.1,35.9"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="16" zoom-max="16">
					<line stroke="#80ffffff" stroke-width="1.4dp" stroke-dasharray="0.1,35.9"/>
					<line stroke="#00772d" stroke-width="1.2dp" stroke-dasharray="0.1,35.9"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="17" zoom-max="17">
					<line stroke="#80ffffff" stroke-width="1.33dp" stroke-dasharray="0.1,35.9"/>
					<line stroke="#00772d" stroke-width="1.13dp" stroke-dasharray="0.1,35.9"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="18">
					<line stroke="#80ffffff" stroke-width="1.3dp" stroke-dasharray="0.1,35.9"/>
					<line stroke="#00772d" stroke-width="1.1dp" stroke-dasharray="0.1,35.9"/>
				</rule>
			</rule>

			<!-- MTB blobs double spaced -->
			<!-- both hike and bike -->
			<rule e="way" k="route|network|network_mtb" v="mtb|lay_mtb" cat="mtb_routes">
				<rule cat="nocity" e="way" k="*" v="*" zoom-min="14" zoom-max="14">
					<line stroke="#9562C7" stroke-width="1.8dp" stroke-dasharray="0.1,59.9"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="15" zoom-max="15">
					<line stroke="#9562C7" stroke-width="1.5dp" stroke-dasharray="0.1,71.9"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="16" zoom-max="16">
					<line stroke="#9562C7" stroke-width="1.2dp" stroke-dasharray="0.1,71.9"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="17" zoom-max="17">
					<line stroke="#9562C7" stroke-width="1.13dp" stroke-dasharray="0.1,71.9"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="18">
					<line stroke="#9562C7" stroke-width="1.1dp" stroke-dasharray="0.1,71.9"/>
				</rule>
			</rule>

			<!-- Cycle blobs double spaced -->
			<!-- OAMaps-->
			<!-- both hike and bike -->
			<rule e="way" k="route" v="~">
				<rule e="way" k="network" v="icn|ncn|rcn" cat="c_routes" zoom-min="14" zoom-max="14">
					<rule cat="nocity" e="way" k="*" v="*">
						<line stroke="#0089e1" stroke-width="1.8dp" stroke-dasharray="0.1,59.9"/>
					</rule>
				</rule>
				<rule e="way" k="network" v="icn|ncn|rcn|lcn|ucn" cat="c_routes">
				<rule e="way" k="*" v="*" zoom-min="15" zoom-max="15">
					<line stroke="#0089e1" stroke-width="1.5dp" stroke-dasharray="0.1,71.9"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="16" zoom-max="16">
					<line stroke="#0089e1" stroke-width="1.2dp" stroke-dasharray="0.1,71.9"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="17" zoom-max="17">
					<line stroke="#0089e1" stroke-width="1.13dp" stroke-dasharray="0.1,71.9"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="18">
					<line stroke="#0089e1" stroke-width="1.1dp" stroke-dasharray="0.1,71.9"/>
				</rule>
			</rule>
			</rule>
			
			<!-- Cycle blobs double spaced -->
			<!--LoMaps-->
			<rule e="way" k="route" v="bicycle" cat="c_routes">
				<rule cat="nocity" e="way" k="*" v="*" zoom-min="14" zoom-max="14">
					<line stroke="#0089e1" stroke-width="1.8dp" stroke-dasharray="0.1,59.9"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="15" zoom-max="15">
					<line stroke="#0089e1" stroke-width="1.5dp" stroke-dasharray="0.1,71.9"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="16" zoom-max="16">
					<line stroke="#0089e1" stroke-width="1.3dp" stroke-dasharray="0.1,71.9"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="17" zoom-max="17">
					<line stroke="#0089e1" stroke-width="1.13dp" stroke-dasharray="0.1,71.9"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="18">
					<line stroke="#0089e1" stroke-width="1.1dp" stroke-dasharray="0.1,71.9"/>
				</rule>
			</rule>
		</rule>

		<!-- highway labels -->
		<!-- Caption for Hiking-Routes -->
		<rule e="way" k="tunnel" v="~|no">
			<!-- OAMaps -->
			<rule cat="h_n_routes" e="way" k="route" v="~">
				<rule cat="hikeonly" e="way" k="highway" v="footway|path|bridleway|cycleway|steps|service|living_street|track|byway|pedestrian|service|residential|living_street|construction|road|ford|unclassified|tertiary|secondary" zoom-min="14" zoom-max="15">
					<rule e="way" k="hknetwork" v="iwn|nwn|rwn|lwn">
						<caption k="ref" font-style="normal" font-size="8.8dp" line="#000000" fill="#008131" scale-font-size="16,1.08" bg-rect-fill="#ffffff" bg-rect-stroke="#008131" bg-rect-over="2.1dp" bg-rect-stroke-width="1.4dp" bg-rect-rounded="2.6dp"/> 
					</rule>
					<rule e="way" k="hknetwork" v="lwn" zoom-min="15">
						<caption k="ref" font-style="normal" font-size="8.8dp" line="#000000" fill="#008131" scale-font-size="16,1.08" bg-rect-fill="#ffffff" bg-rect-stroke="#008131" bg-rect-over="2.1dp" bg-rect-stroke-width="1.4dp" bg-rect-rounded="2.6dp"/> 
					</rule>
				</rule>
				<rule e="way" k="highway" v="footway|path|bridleway|cycleway|steps|service|living_street|track|byway|pedestrian|service|residential|living_street|construction|road|ford|unclassified|tertiary|secondary" zoom-min="16">
					<rule e="way" k="hknetwork" v="iwn|nwn|rwn|lwn|uwn">
						<caption k="ref" font-style="normal" font-size="8.8dp" line="#000000" fill="#008131" scale-font-size="16,1.08" bg-rect-fill="#ffffff" bg-rect-stroke="#008131" bg-rect-over="2.1dp" bg-rect-stroke-width="1.4dp" bg-rect-rounded="2.6dp"/> 
					</rule>
				</rule>
			</rule>
			<!-- LoMaps -->
			<rule cat="h_n_routes" e="way" k="route" v="hiking">
				<rule cat="hikeonly" e="way" k="network" v="iwn|nwn|rwn|lwn" zoom-min="14" zoom-max="15">
					<pathText k="name" dy="-3dp" scale-dy-size="12,1.25" font-style="normal" font-size="4dp" scale-font-size="12,1.25" fill="#008131" stroke="#e0f8f8f8" stroke-width="6dp" rotate_up="true"/>
					<pathText k="ref" dy="-3dp" scale-dy-size="12,1.25" font-style="bold" font-size="4dp" scale-font-size="12,1.25" fill="#008131" stroke="#c0f8f8f8" stroke-width="5dp" rotate_up="true"/>
				</rule>
				<rule e="way" k="route" v="*" zoom-min="16">
					<pathText k="name" dy="-3dp" scale-dy-size="12,1.25" font-style="normal" font-size="3dp" scale-font-size="12,1.25" fill="#008131" stroke="#e0f8f8f8" stroke-width="8dp" rotate_up="true"/>
					<pathText k="ref" dy="-3dp" scale-dy-size="12,1.25" font-style="bold" font-size="3dp" scale-font-size="12,1.25" fill="#008131" stroke="#c0f8f8f8" stroke-width="5dp" rotate_up="true"/>
				</rule>
			</rule>
			<rule cat="h_n_routes" e="way" k="route" v="foot">
				<rule cat="hikeonly" e="way" k="network" v="iwn|nwn|rwn|lwn" zoom-min="14" zoom-max="15">
					<pathText k="name" dy="5dp" scale-dy-size="12,1.25" font-style="normal" font-size="4dp" scale-font-size="12,1.25" fill="#008131" stroke="#e0f8f8f8" stroke-width="6dp" rotate_up="true"/>
					<pathText k="ref" dy="5dp" scale-dy-size="12,1.25" font-style="bold" font-size="4dp" scale-font-size="12,1.25" fill="#008131" stroke="#c0f8f8f8" stroke-width="5dp" rotate_up="true"/>
				</rule>
				<rule e="way" k="route" v="*" zoom-min="16">
					<pathText k="name" dy="5dp" scale-dy-size="12,1.25" font-style="normal" font-size="3dp" scale-font-size="12,1.25" fill="#008131" stroke="#e0f8f8f8" stroke-width="8dp" rotate_up="true"/>
					<pathText k="ref" dy="5dp" scale-dy-size="12,1.25" font-style="bold" font-size="3dp" scale-font-size="12,1.25" fill="#008131" stroke="#c0f8f8f8" stroke-width="5dp" rotate_up="true"/>
				</rule>
			</rule>
			<!-- Caption for Cycle-Routes -->
			<!-- OAMaps -->
			<rule cat="c_n_routes" e="way" k="route" v="~">
				<rule cat="bikeonly" e="way" k="highway" v="footway|path|bridleway|cycleway|steps|service|living_street|track|byway|pedestrian|service|residential|living_street|construction|road|ford|unclassified|tertiary|secondary">
					<rule e="way" k="network" v="icn|ncn" zoom-min="14" zoom-max="15">
						<caption k="ref" font-style="bold" font-size="9.2dp" line="#000000" fill="#ffffff" scale-font-size="16,1.08" bg-rect-fill="#D91171" bg-rect-stroke="#ffffff" bg-rect-over="2.1dp" bg-rect-stroke-width="1.4dp" bg-rect-rounded="2.6dp"/>
					</rule>
					<rule e="way" k="network" v="rcn|lcn" zoom-min="15" zoom-max="15">
						<caption k="ref" font-style="normal" font-size="8.8dp" line="#000000" fill="#4773b3" scale-font-size="16,1.08" bg-rect-fill="#ffffff" bg-rect-stroke="#4773b3" bg-rect-over="2.1dp" bg-rect-stroke-width="1.4dp" bg-rect-rounded="2.6dp"/>
					</rule>
				</rule>
				<rule e="way" k="highway" v="footway|path|bridleway|cycleway|steps|service|living_street|track|byway|pedestrian|service|residential|living_street|construction|road|ford|unclassified|tertiary|secondary" zoom-min="16">
					<rule e="way" k="network" v="icn|ncn">
						<caption k="ref" font-style="bold" font-size="9.2dp" line="#000000" fill="#ffffff" scale-font-size="16,1.08" bg-rect-fill="#D91171" bg-rect-stroke="#ffffff" bg-rect-over="2.1dp" bg-rect-stroke-width="1.4dp" bg-rect-rounded="2.6dp"/>
					</rule>
					<rule e="way" k="network" v="rcn|lcn|ucn">
						<caption k="ref" font-style="normal" font-size="8.8dp" line="#000000" fill="#4773b3" scale-font-size="16,1.08" bg-rect-fill="#ffffff" bg-rect-stroke="#4773b3" bg-rect-over="2.1dp" bg-rect-stroke-width="1.4dp" bg-rect-rounded="2.6dp"/>
					</rule>
				</rule>
			</rule>
			<!-- LoMaps -->
			<rule cat="c_n_routes" e="way" k="route" v="bicycle">
				<rule cat="bikeonly" e="way" k="network" v="icn|ncn" zoom-min="14" zoom-max="15">
					<caption k="ref" font-style="bold" font-size="9.2dp" line="#000000" fill="#ffffff" scale-font-size="16,1.08" bg-rect-fill="#D91171" bg-rect-stroke="#ffffff" bg-rect-over="2.1dp" bg-rect-stroke-width="1.4dp" bg-rect-rounded="2.6dp"/>
				</rule>
				<rule cat="bikeonly" e="way" k="network" v="rcn|lcn|ucn" zoom-min="15" zoom-max="15">
					<caption k="ref" font-style="normal" font-size="8.8dp" line="#000000" fill="#0083d7" scale-font-size="16,1.08" bg-rect-fill="#ffffff" bg-rect-stroke="#0083d7" bg-rect-over="2.1dp" bg-rect-stroke-width="1.4dp" bg-rect-rounded="2.6dp"/>
				</rule>
				<rule e="way" k="network" v="icn|ncn" zoom-min="16">
					<caption k="ref" font-style="bold" font-size="9.2dp" line="#000000" fill="#ffffff" scale-font-size="16,1.08" bg-rect-fill="#D91171" bg-rect-stroke="#ffffff" bg-rect-over="2.1dp" bg-rect-stroke-width="1.4dp" bg-rect-rounded="2.6dp"/>
				</rule>
				<rule e="way" k="network" v="rcn|lcn|ucn" zoom-min="16">
					<caption k="ref" font-style="normal" font-size="8.8dp" line="#000000" fill="#0083d7" scale-font-size="16,1.08" bg-rect-fill="#ffffff" bg-rect-stroke="#0083d7" bg-rect-over="2.1dp" bg-rect-stroke-width="1.4dp" bg-rect-rounded="2.6dp"/>
				</rule>
			</rule>
			<!-- Caption for MTB-Routes -->
			<!-- OAM maps -->
			<rule cat="mtb_n_routes" e="way" k="route" v="~">
				<rule e="way" k="network|network_mtb" v="mtb|lay_mtb">
					<rule cat="bikeonly" e="way" k="highway" v="footway|path|bridleway|cycleway|steps|service|living_street|track|byway|pedestrian|service|residential|living_street|construction|road|ford|unclassified|tertiary|secondary" zoom-min="15" zoom-max="15">
						<caption k="ref" font-style="normal" font-size="8.8dp" line="#000000" fill="#9562C7" scale-font-size="16,1.08" bg-rect-fill="#ffffff" bg-rect-stroke="#9562C7" bg-rect-over="2.1dp" bg-rect-stroke-width="1.4dp" bg-rect-rounded="2.6dp"/>
					</rule>
					<rule e="way" k="highway" v="footway|path|bridleway|cycleway|steps|service|living_street|track|byway|pedestrian|service|residential|living_street|construction|road|ford|unclassified|tertiary|secondary" zoom-min="16">
						<caption k="ref" font-style="normal" font-size="8.8dp" line="#000000" fill="#9562C7" scale-font-size="16,1.08" bg-rect-fill="#ffffff" bg-rect-stroke="#9562C7" bg-rect-over="2.1dp" bg-rect-stroke-width="1.4dp" bg-rect-rounded="2.6dp"/>
					</rule>
				</rule>
			</rule>
			<!-- LoMaps -->
			<rule cat="mtb_n_routes" e="way" k="route" v="mtb">
				<rule cat="bikeonly" e="way" k="*" v="*" zoom-min="14" zoom-max="15">
					<caption k="ref" font-style="normal" font-size="8.8dp" line="#000000" fill="#9562C7" scale-font-size="16,1.08" bg-rect-fill="#ffffff" bg-rect-stroke="#9562C7" bg-rect-over="2.1dp" bg-rect-stroke-width="1.4dp" bg-rect-rounded="2.6dp"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="16">
					<caption k="ref" font-style="normal" font-size="8.8dp" line="#000000" fill="#9562C7" scale-font-size="16,1.08" bg-rect-fill="#ffffff" bg-rect-stroke="#9562C7" bg-rect-over="2.1dp" bg-rect-stroke-width="1.4dp" bg-rect-rounded="2.6dp"/>
				</rule>
			</rule>

			<rule e="way" k="highway" v="tertiary" zoom-min="16">
				<rule e="way" k="hknetwork|network" v="~" zoom-max="16" cat="nocity">
					<rule e="way" k="*" v="*" cat="road">
						<caption k="ref" font-style="normal" font-size="8.5dp" line="#000000" fill="#444444" scale-font-size="13,1.08" bg-rect-fill="#ffffff" bg-rect-stroke="#444444" bg-rect-over="2.3dp" bg-rect-stroke-width="1.2dp" bg-rect-rounded="2.6dp"/>
					</rule>
				</rule>
				<rule e="way" k="hknetwork|network" v="~" zoom-min="17">
					<caption k="ref" font-style="normal" font-size="8.5dp" line="#000000" fill="#444444" scale-font-size="13,1.08" bg-rect-fill="#ffffff" bg-rect-stroke="#444444" bg-rect-over="2.3dp" bg-rect-stroke-width="1.2dp" bg-rect-rounded="2.6dp"/>
				</rule>
			</rule>
			<rule e="way" k="highway" v="secondary" zoom-min="15">
				<rule e="way" k="hknetwork|network" v="~" zoom-max="15" cat="nocity">
					<rule e="way" k="*" v="*" cat="road">
						<caption k="ref" font-style="normal" font-size="8.5dp" line="#000000" fill="#444444" scale-font-size="13,1.08" bg-rect-fill="#ffffff" bg-rect-stroke="#444444" bg-rect-over="2.3dp" bg-rect-stroke-width="1.2dp" bg-rect-rounded="2.6dp"/>
					</rule>
				</rule>
				<rule e="way" k="hknetwork|network" v="~" zoom-min="16">
					<caption k="ref" font-style="normal" font-size="8.5dp" line="#000000" fill="#444444" scale-font-size="13,1.08" bg-rect-fill="#ffffff" bg-rect-stroke="#444444" bg-rect-over="2.3dp" bg-rect-stroke-width="1.2dp" bg-rect-rounded="2.6dp"/>
				</rule>
			</rule>
			<rule e="way" k="highway" v="primary" zoom-min="14">
				<rule e="way" k="hknetwork|network" v="~" zoom-max="14" cat="nocity">
					<rule e="way" k="*" v="*" cat="road">
						<caption k="ref" font-style="bold" font-size="8.7dp" line="#000000" fill="#444444" scale-font-size="12,1.08" bg-rect-fill="#ffffff" bg-rect-stroke="#444444" bg-rect-over="2.3dp" bg-rect-stroke-width="1.25dp" bg-rect-rounded="2.7dp"/>
					</rule>
				</rule>
				<rule e="way" k="hknetwork|network" v="~" zoom-min="15">
					<caption k="ref" font-style="bold" font-size="8.7dp" line="#000000" fill="#444444" scale-font-size="12,1.08" bg-rect-fill="#ffffff" bg-rect-stroke="#444444" bg-rect-over="2.3dp" bg-rect-stroke-width="1.25dp" bg-rect-rounded="2.7dp"/>
				</rule>
			</rule>
			<rule cat="noyellow" e="way" k="highway" v="trunk" zoom-min="13">
				<rule e="way" k="hknetwork|network" v="~" zoom-max="13" cat="nocity">
					<rule e="way" k="*" v="*" cat="road">
						<caption k="ref" font-style="bold" font-size="9.5dp" line="#000000" fill="#FFE600" scale-font-size="12,1.08" bg-rect-fill="#008131" bg-rect-stroke="#ffffff" bg-rect-over="2.5dp" bg-rect-stroke-width="1.3dp" bg-rect-rounded="2.8dp"/>
					</rule>
				</rule>
				<rule e="way" k="hknetwork|network" v="~" zoom-min="14">
					<caption k="ref" font-style="bold" font-size="9.5dp" line="#000000" fill="#FFE600" scale-font-size="12,1.08" bg-rect-fill="#008131" bg-rect-stroke="#ffffff" bg-rect-over="2.5dp" bg-rect-stroke-width="1.3dp" bg-rect-rounded="2.8dp"/>
				</rule>
			</rule>
			<rule cat="yellow" e="way" k="highway" v="trunk" zoom-min="13">
				<rule e="way" k="hknetwork|network" v="~" zoom-max="13" cat="nocity">
					<rule e="way" k="*" v="*" cat="road">
						<caption k="ref" font-style="bold" font-size="9.5dp" line="#000000" fill="#444444" scale-font-size="12,1.08" bg-rect-fill="#ffffff" bg-rect-stroke="#444444" bg-rect-over="2.4dp" bg-rect-stroke-width="1.3dp" bg-rect-rounded="2.8dp"/>
					</rule>
				</rule>
				<rule e="way" k="hknetwork|network" v="~" zoom-min="14">
					<caption k="ref" font-style="bold" font-size="9.5dp" line="#000000" fill="#444444" scale-font-size="12,1.08" bg-rect-fill="#ffffff" bg-rect-stroke="#444444" bg-rect-over="2.4dp" bg-rect-stroke-width="1.3dp" bg-rect-rounded="2.8dp"/>
				</rule>
			</rule> 
			<rule cat="noyellow" e="way" k="highway" v="motorway" zoom-min="12">
				<caption k="ref" font-style="bold" font-size="10dp" line="#000000" fill="#FFFFFF" scale-font-size="12,1.08" bg-rect-fill="#0083d7" bg-rect-stroke="#ffffff" bg-rect-over="2.5dp" bg-rect-stroke-width="1.3dp" bg-rect-rounded="2.8dp"/>
			</rule>
			<rule cat="yellow" e="way" k="highway" v="motorway" zoom-min="12">
				<caption k="ref" font-style="bold" font-size="10dp" line="#000000" fill="#FFFFFF" scale-font-size="12,1.08" bg-rect-fill="#444444" bg-rect-stroke="#ffffff" bg-rect-over="2.5dp" bg-rect-stroke-width="1.3dp" bg-rect-rounded="2.8dp"/>
			</rule>
		</rule>
	</rule>

	<!-- LABELS -->
	<!-- place -->
	<rule cat="settlements" e="any" k="place" v="locality" zoom-min="14">
		<rule e="any" k="mountain_pass|natural|tourism" v="~">
			<caption k="name" font-style="italic" font-family="serif" font-size="10dp" fill="#80000000" scale-font-size="16,1.2" stroke="#80ffffff" stroke-width="2.2dp"/>
		</rule>
	</rule>
	<rule cat="settlements" e="way" k="landuse" v="farmyard" zoom-min="15">
		<caption k="name" font-style="normal" font-size="10dp" scale-font-size="16,1.1" fill="#000000" stroke="#C0FFFFFF" stroke-width="2dp" dy="16dp" scale-dy-size="16,1.15"/>
	</rule>
	<rule cat="settlements" e="node" k="place" v="*">
		<rule e="node" k="place" v="farm" zoom-min="16">
			<caption k="name" font-style="normal" font-size="10dp" scale-font-size="16,1.1" fill="#000000" stroke="#C0FFFFFF" stroke-width="2dp" dy="16dp" scale-dy-size="16,1.15"/>
		</rule>
		<rule e="node" k="place" v="isolated_dwelling" zoom-min="15">
			<caption k="name" font-style="normal" font-size="10dp" scale-font-size="16,1.1" fill="#000000" stroke="#C0FFFFFF" stroke-width="2dp" dy="16dp" scale-dy-size="16,1.15"/>
		</rule>
		<rule cat="nocity" e="node" k="place" v="hamlet" zoom-min="13" zoom-max="14">
			<caption k="name" font-style="normal" font-size="12dp" scale-font-size="14,1.15" fill="#000000" stroke="#C0FFFFFF" stroke-width="2.5dp"/>
		</rule>
	 	<rule e="node" k="place" v="hamlet" zoom-min="15" zoom-max="16">
			<caption k="name" font-style="bold" font-size="11.5dp" scale-font-size="14,1.15" fill="#b0000000" stroke="#a0FFFFFF" stroke-width="2.5dp"/>
		</rule>
	 	<rule e="node" k="place" v="hamlet" zoom-min="17">
			<caption k="name" font-style="bold" font-size="11.5dp" scale-font-size="14,1.15" fill="#80000000" stroke="#C0FFFFFF" stroke-width="2.5dp"/>
		</rule>

		<rule e="node" k="place" v="village" zoom-min="10">
			<rule cat="nocity" e="node" k="popcat" v="pc_5000|pc_10000|pc_20000|pc_30000|pc_50000|pc_100000|pc_200000|pc_500000|pc_1000000" zoom-max="10">
				<caption k="name" font-style="normal" font-size="10dp" scale-font-size="11,1.15" fill="#000000" stroke="#C0FFFFFF" stroke-width="2dp"/>
			</rule>
			<rule cat="nocity" e="node" k="popcat" v="pc_0|pc_1|~" zoom-min="11" zoom-max="11">
				<caption k="name" font-style="normal" font-size="10dp" scale-font-size="11,1.15" fill="#000000" stroke="#C0FFFFFF" stroke-width="2dp"/>
			</rule>
			<rule e="node" k="popcat" v="pc_1000|pc_5000|pc_10000|pc_20000|pc_30000|pc_50000|pc_100000|pc_200000|pc_500000|pc_1000000" zoom-min="11" zoom-max="11">
				<caption k="name" font-style="normal" font-size="10dp" scale-font-size="11,1.15" fill="#000000" stroke="#C0FFFFFF" stroke-width="2dp"/>
			</rule>
			<rule e="node" k="*" v="*" zoom-min="12" zoom-max="12">
				<caption k="name" font-style="normal" font-size="9.5dp" scale-font-size="11,1.15" fill="#b0000000" stroke="#a0FFFFFF" stroke-width="2dp"/>
			</rule>
			<rule e="node" k="*" v="*" zoom-min="13">
				<caption k="name" font-style="bold" font-size="9.5dp" scale-font-size="11,1.15" fill="#80000000" stroke="#80FFFFFF" stroke-width="2dp"/>
			</rule>
		</rule>

		<rule e="node" k="place" v="suburb|neighbourhood|quarter" zoom-min="13">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="11dp" scale-font-size="14,1.2" fill="#80000000" stroke="#80FFFFFF" stroke-width="2.5dp"/>
		</rule>

 		<rule e="node" k="place" v="town" zoom-min="8">
 			<rule cat="nocity" e="node" k="popcat" v="pc_20000|pc_30000|pc_50000|pc_100000|pc_200000|pc_500000|pc_1000000" zoom-max="8">
				<caption k="name" font-style="normal" font-size="9dp" scale-font-size="9,1.15" fill="#000000" stroke="#C0FFFFFF" stroke-width="2.5dp"/>
			</rule>
			<rule cat="nocity" e="node" k="popcat" v="pc_0|pc_1|pc_1000|pc_5000|pc_10000|~" zoom-min="9" zoom-max="9">
				<caption k="name" font-style="normal" font-size="9dp" scale-font-size="9,1.15" fill="#000000" stroke="#C0FFFFFF" stroke-width="2.5dp"/>
			</rule>
			<rule e="node" k="popcat" v="pc_20000|pc_30000|pc_50000|pc_100000|pc_200000|pc_500000|pc_1000000" zoom-min="9" zoom-max="9">
				<caption k="name" font-style="normal" font-size="9dp" scale-font-size="9,1.15" fill="#000000" stroke="#C0FFFFFF" stroke-width="2.5dp"/>
			</rule>
			<rule e="node" k="*" v="*" zoom-min="10" zoom-max="10">
				<caption k="name" font-style="normal" font-size="9dp" scale-font-size="9,1.15" fill="#000000" stroke="#C0FFFFFF" stroke-width="2.5dp"/>
			</rule>
			<rule e="node" k="*" v="*" zoom-min="11" zoom-max="16">
				<caption k="name" font-style="bold" upper-case="true" font-size="8.5dp" scale-font-size="9,1.15" fill="#b0000000" stroke="#a0FFFFFF" stroke-width="2.5dp"/>
			</rule>
			<rule e="node" k="*" v="*" zoom-min="17">
				<caption k="name" font-style="bold" upper-case="true" font-size="8.5dp" scale-font-size="9,1.15" fill="#80000000" stroke="#80FFFFFF" stroke-width="2.5dp"/>
			</rule>
		</rule>

		<rule e="node" k="place" v="city" zoom-min="7">
			<rule e="any" k="capital" v="~">
				<rule e="node" k="*" v="*" zoom-min="7" zoom-max="16">
					<caption k="name" font-style="bold" upper-case="true" font-size="10.5dp" scale-font-size="9,1.15" fill="#b0000000" stroke="#a0FFFFFF" stroke-width="2.5dp"/> 
				</rule>
				<rule e="node" k="*" v="*" zoom-min="17">
					<caption k="name" font-style="bold" upper-case="true" font-size="10.5dp" scale-font-size="9,1.15" fill="#80000000" stroke="#80FFFFFF" stroke-width="2.5dp"/>
				</rule>
			</rule>
			<rule e="any" k="capital" v="4">
				<rule e="node" k="*" v="*" zoom-min="6" zoom-max="16">
					<caption k="name" font-style="bold" upper-case="true" font-size="12dp" scale-font-size="9,1.15" fill="#b0000000" stroke="#a0FFFFFF" stroke-width="2.5dp"/> 
				</rule>
				<rule e="node" k="*" v="*" zoom-min="17">
					<caption k="name" font-style="bold" upper-case="true" font-size="12dp" scale-font-size="9,1.15" fill="#80000000" stroke="#80FFFFFF" stroke-width="2.5dp"/>
				</rule>
			</rule>
			<rule e="any" k="capital" v="2">
				<rule e="node" k="*" v="*" zoom-min="6" zoom-max="16">
					<caption k="name" font-style="bold" upper-case="true" font-size="13.5dp" scale-font-size="9,1.15" fill="#b0000000" stroke="#a0FFFFFF" stroke-width="2.5dp"/> 
				</rule>
				<rule e="node" k="*" v="*" zoom-min="17">
					<caption k="name" font-style="bold" upper-case="true" font-size="13.5dp" scale-font-size="9,1.15" fill="#80000000" stroke="#80FFFFFF" stroke-width="2.5dp"/>
				</rule>
			</rule>
		</rule>

		<rule e="node" k="place" v="state" zoom-max="6">
			<caption k="name" font-style="bold" font-size="12dp" scale-font-size="9,1.15" fill="#b0000000" stroke="#a0FFFFFF" stroke-width="2.5dp"/>
		</rule>
		<rule e="node" k="place" v="country" zoom-max="6">
			<caption k="name" font-style="bold" font-size="14dp" scale-font-size="9,1.15" fill="#b0000000" stroke="#a0FFFFFF" stroke-width="2.5dp"/>
		</rule>
	</rule>

	<!-- poly_labels for islands -->
	 <rule e="node" k="place" v="island|islet|archipelago" zoom-max="19">
		<rule e="any" k="bBoxWeight" v="xxxlarge|xxlarge" zoom-min="8" zoom-max="9">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="11dp" scale-font-size="9,1.2" fill="#A0000000" stroke="#C0FFFFFF" stroke-width="2.5dp"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="xxxlarge|xxlarge" zoom-min="10" zoom-max="10">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="11dp" upper-case="true" scale-font-size="9,1.2" fill="#66000000" stroke="#80ffffff" stroke-width="2.5dp"/>
		</rule>

		<!-- Isle of Man, Anglesey -->
		<rule e="any" k="bBoxWeight" v="xlarge" zoom-min="10" zoom-max="10">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="9.5dp" scale-font-size="9,1.2" fill="#A0000000" stroke="#C0FFFFFF" stroke-width="2dp"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="xlarge" zoom-min="11" zoom-max="12">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="9.5dp" upper-case="true" scale-font-size="9,1.2" fill="#66000000" stroke="#80ffffff" stroke-width="2dp"/>
		</rule>

		<!-- Holy Island (Anglesey) -->
		<rule e="any" k="bBoxWeight" v="large" zoom-min="10" zoom-max="11">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="9dp" scale-font-size="10,1.2" fill="#A0000000" stroke="#C0FFFFFF" stroke-width="2dp"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="large" zoom-min="12" zoom-max="16">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="9dp" upper-case="true" scale-font-size="10,1.2" fill="#66000000" stroke="#80ffffff" stroke-width="2dp"/>
		</rule>

		<!--Ynnys Enlli/Bardsey-->
		<rule e="any" k="bBoxWeight" v="mid" zoom-min="11" zoom-max="13">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="9dp" scale-font-size="12,1.2" fill="#A0000000" stroke="#C0FFFFFF" stroke-width="2dp"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="mid" zoom-min="14" zoom-max="16">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="9dp" upper-case="true" scale-font-size="12,1.2" fill="#66000000" stroke="#80ffffff" stroke-width="2dp"/>
		</rule>

		<rule e="any" k="bBoxWeight" v="small" zoom-min="15" zoom-max="18">
			<caption k="name" font-style="italic" font-family="serif" font-size="9dp" scale-font-size="13,1.2" fill="#A0000000" stroke="#C0FFFFFF" stroke-width="2dp"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="xsmall" zoom-min="16" zoom-max="19">
			<caption k="name" font-style="italic" font-family="serif" font-size="9dp" scale-font-size="14,1.2" fill="#B0000000" stroke="#C0FFFFFF" stroke-width="2dp"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="tiny" zoom-min="16" zoom-max="19">
			<caption k="name" font-style="italic" font-family="serif" font-size="9dp" scale-font-size="15,1.2" fill="#B0000000" stroke="#C0FFFFFF" stroke-width="2.5dp"/>
		</rule>
	</rule>
	<rule e="any" k="bBoxWeight" v="~" zoom-max="19">
		<rule e="any" k="place" v="archipelago" zoom-min="9" zoom-max="12">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="9dp" scale-font-size="9,1.2" fill="#A0000000" stroke="#C0FFFFFF" stroke-width="2dp"/>
		</rule>
		<rule e="any" cat="nocity" k="place" v="island" zoom-min="14" zoom-max="14">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="9dp" scale-font-size="13,1.2" fill="#A0000000" stroke="#C0FFFFFF" stroke-width="2dp"/>
		</rule>
		<rule e="any" k="place" v="island" zoom-min="15" zoom-max="18">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="9dp" scale-font-size="13,1.2" fill="#A0000000" stroke="#C0FFFFFF" stroke-width="2dp"/>
		</rule>
		<rule e="any" cat="nocity" k="place" v="islet" zoom-min="16" zoom-max="19">
			<caption k="name" font-style="italic" font-family="serif" font-size="9dp" scale-font-size="15,1.2" fill="#B0000000" stroke="#C0FFFFFF" stroke-width="2.5dp"/>
		</rule>
	</rule>

<!-- poly labels (2) -->
	 <rule e="node" k="natural|landuse" v="desert|forest|wood|orchard|glacier|mountain_range|mountain_area" zoom-max="16">
		<rule e="any" k="bBoxWeight" v="xxxlarge|xxlarge" zoom-min="11">
			<caption k="name" font-style="italic" font-family="serif" font-size="12dp" scale-font-size="15,1.1" fill="#444444" stroke="#80ffffff" stroke-width="2.5dp"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="xlarge" zoom-min="12">
			<caption k="name" font-style="italic" font-family="serif" font-size="12dp" scale-font-size="15,1.1" fill="#444444" stroke="#80ffffff" stroke-width="2.5dp"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="large" zoom-min="13">
			<caption k="name" font-style="italic" font-family="serif" font-size="12dp" scale-font-size="15,1.1" fill="#444444" stroke="#80ffffff" stroke-width="2.5dp"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="mid" zoom-min="14">
			<caption k="name" font-style="italic" font-family="serif" font-size="12dp" scale-font-size="15,1.1" fill="#444444" stroke="#80ffffff" stroke-width="2.5dp"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="small" zoom-min="16">
			<caption k="name" font-style="italic" font-family="serif" font-size="12dp" scale-font-size="15,1.1" fill="#444444" stroke="#80ffffff" stroke-width="2.5dp"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="xsmall|tiny|~" zoom-min="17">
			<caption k="name" font-style="italic" font-family="serif" font-size="12dp" scale-font-size="15,1.1" fill="#444444" stroke="#80ffffff" stroke-width="2.5dp"/>
		</rule>
	</rule>
	<rule e="node" k="landuse|natural" v="reservoir|basin|water" zoom-max="16">
		<rule e="any" k="amenity" v="~">
			<rule e="any" k="bBoxWeight" v="xxxlarge|xxlarge" zoom-min="11">
				<caption k="name" font-style="italic" font-family="serif" font-size="11dp" scale-font-size="16,1.1" fill="#3464a5" stroke="#80FFFFFF" stroke-width="2.5dp"/>
			</rule>
			<rule e="any" k="bBoxWeight" v="xlarge" zoom-min="12">
				<caption k="name" font-style="italic" font-family="serif" font-size="11dp" scale-font-size="16,1.1" fill="#3464a5" stroke="#80FFFFFF" stroke-width="2.5dp"/>
			</rule>
			<rule e="any" k="bBoxWeight" v="large" zoom-min="13">
				<caption k="name" font-style="italic" font-family="serif" font-size="11dp" scale-font-size="16,1.1" fill="#3464a5" stroke="#80FFFFFF" stroke-width="2.5dp"/>
			</rule>
			<rule e="any" k="bBoxWeight" v="mid" zoom-min="14">
				<caption k="name" font-style="italic" font-family="serif" font-size="11dp" scale-font-size="16,1.1" fill="#3464a5" stroke="#80FFFFFF" stroke-width="2.5dp"/>
			</rule>
			<rule e="any" k="bBoxWeight" v="small" zoom-min="15">
				<caption k="name" font-style="italic" font-family="serif" font-size="11dp" scale-font-size="16,1.1" fill="#3464a5" stroke="#80FFFFFF" stroke-width="2.5dp"/>
			</rule>
			<rule e="any" k="bBoxWeight" v="xsmall|tiny|~" zoom-min="17">
				<caption k="name" font-style="italic" font-family="serif" font-size="11dp" scale-font-size="16,1.1" fill="#3464a5" stroke="#80FFFFFF" stroke-width="2.5dp"/>
			</rule>
		</rule>
	</rule>

	<rule e="node" k="boundary|leisure" v="nature_reserve|protected_area" zoom-max="16">
		<!--rule e="node" k="leisure" v="nature_reserve">
			<symbol src="file:vol_res/svg/nature_reserve.svg" symbol-height="15dp" scale-icon-size="16,1.25"/>
		</rule-->
		<rule e="node" k="protect_class" v="1|~">
			<rule e="any" k="bBoxWeight" v="xxxlarge|xxlarge" zoom-min="12">
				<caption k="name" font-style="bold_italic" font-family="serif" font-size="10dp" scale-font-size="15,1.1" fill="#C0208020" stroke="#80ffffff" stroke-width="2dp"/>
			</rule>
			<rule e="any" k="bBoxWeight" v="xlarge" zoom-min="13">
				<caption k="name" font-style="bold_italic" font-family="serif" font-size="10dp" scale-font-size="15,1.1" fill="#C0208020" stroke="#80ffffff" stroke-width="2dp"/>
			</rule>
			<rule e="any" k="bBoxWeight" v="large" zoom-min="14">
				<caption k="name" font-style="bold_italic" font-family="serif" font-size="10dp" scale-font-size="15,1.1" fill="#C0208020" stroke="#80ffffff" stroke-width="2dp"/>
			</rule>
			<rule e="any" k="bBoxWeight" v="mid" zoom-min="15">
				<caption k="name" font-style="bold_italic" font-family="serif" font-size="10dp" scale-font-size="15,1.1" fill="#C0208020" stroke="#80ffffff" stroke-width="2dp"/>
			</rule>
			<rule e="any" k="bBoxWeight" v="small" zoom-min="17">
				<caption k="name" font-style="bold_italic" font-family="serif" font-size="10dp" scale-font-size="15,1.1" fill="#C0208020" stroke="#80ffffff" stroke-width="2dp"/>
			</rule>
			<rule e="any" k="bBoxWeight" v="xsmall|tiny|~" zoom-min="17">
				<caption k="name" font-style="bold_italic" font-family="serif" font-size="10dp" scale-font-size="15,1.1" fill="#C0208020" stroke="#80ffffff" stroke-width="2dp"/>
			</rule>
		</rule>
	</rule>
	<rule e="node" k="boundary" v="national_park" zoom-max="16">
			<rule e="any" k="bBoxWeight" v="xxxlarge|xxlarge" zoom-min="12">
				<caption k="name" font-style="bold_italic" font-family="serif" font-size="10dp" scale-font-size="15,1.1" fill="#C0208020" stroke="#80ffffff" stroke-width="2dp"/>
			</rule>
			<rule e="any" k="bBoxWeight" v="xlarge" zoom-min="13">
				<caption k="name" font-style="bold_italic" font-family="serif" font-size="10dp" scale-font-size="15,1.1" fill="#C0208020" stroke="#80ffffff" stroke-width="2dp"/>
			</rule>
			<rule e="any" k="bBoxWeight" v="large" zoom-min="14">
				<caption k="name" font-style="bold_italic" font-family="serif" font-size="10dp" scale-font-size="15,1.1" fill="#C0208020" stroke="#80ffffff" stroke-width="2dp"/>
			</rule>
			<rule e="any" k="bBoxWeight" v="mid" zoom-min="15">
				<caption k="name" font-style="bold_italic" font-family="serif" font-size="10dp" scale-font-size="15,1.1" fill="#C0208020" stroke="#80ffffff" stroke-width="2dp"/>
			</rule>
			<rule e="any" k="bBoxWeight" v="small" zoom-min="17">
				<caption k="name" font-style="bold_italic" font-family="serif" font-size="10dp" scale-font-size="15,1.1" fill="#C0208020" stroke="#80ffffff" stroke-width="2dp"/>
			</rule>
			<rule e="any" k="bBoxWeight" v="xsmall|tiny|~" zoom-min="17">
				<caption k="name" font-style="bold_italic" font-family="serif" font-size="10dp" scale-font-size="15,1.1" fill="#C0208020" stroke="#80ffffff" stroke-width="2dp"/>
		</rule>
	</rule>

	<rule e="any" k="natural" v="cape" zoom-min="13">
		<caption k="name" font-style="italic" font-family="serif" font-size="11dp" scale-font-size="15,1.15" fill="#666666" stroke="#C0FFFFFF" stroke-width="2dp"/>
	</rule>
	<rule e="any" k="natural" v="valley|canyon|peninsula" zoom-min="13">
		<rule e="node" k="*" v="*">
			<caption k="name" font-style="italic" font-family="serif" font-size="13dp" scale-font-size="15,1.1" fill="#666666" stroke="#C0FFFFFF" stroke-width="3dp"/>
		</rule>
		<rule e="way" k="*" v="*" zoom-max="15">
			<caption k="name" font-style="italic" font-family="serif" font-size="13dp" scale-font-size="15,1.1" fill="#666666" stroke="#C0FFFFFF" stroke-width="3dp"/>
		</rule>
		<rule e="way" k="*" v="*" zoom-min="16">
			<pathText k="name" font-style="italic" font-family="serif" font-size="13dp" scale-font-size="15,1.1" fill="#666666" stroke="#C0FFFFFF" stroke-width="3dp"/>
		</rule>
	</rule>
	<rule e="any" k="natural" v="fjord" zoom-min="13">
		<rule e="node" k="*" v="*">
			<caption k="name" font-style="italic" font-family="serif" font-size="12dp" scale-font-size="14,1.1" fill="#3464a5" stroke="#80FFFFFF" stroke-width="2dp"/>
		</rule>
		<rule e="way" k="*" v="*" zoom-max="13">
			<caption k="name" font-style="italic" font-family="serif" font-size="12dp" scale-font-size="14,1.1" fill="#3464a5" stroke="#80FFFFFF" stroke-width="2dp"/>
		</rule>
		<rule e="way" k="*" v="*" zoom-min="14">
			<pathText k="name" font-style="italic" font-family="serif" font-size="12dp" scale-font-size="14,1.1" fill="#3464a5" stroke="#80FFFFFF" stroke-width="2dp"/>
		</rule>
	</rule>
	<rule e="node" k="natural" v="bay" zoom-min="14">
		<caption k="name" font-style="italic" font-family="serif" font-size="11dp" scale-font-size="15,1.15" fill="#3464a5" stroke="#80FFFFFF" stroke-width="2dp"/>
	</rule>
	<rule e="way" k="natural" v="bay" zoom-min="17">
		<caption k="name" font-style="italic" font-family="serif" font-size="11dp" scale-font-size="15,1.15" fill="#3464a5" stroke="#80FFFFFF" stroke-width="2dp"/>
	</rule>

	<!-- land cover captions -->
	<rule e="way" k="landuse" v="retail" zoom-min="16">
		<caption k="name" font-style="italic" font-family="serif" font-size="11dp" scale-font-size="16,1.1" fill="#AC3690" stroke="#80ffffff" stroke-width="2.5dp"/>
	</rule>
	<rule e="way" k="natural|landuse" v="land|beach|sand|rock|fell|meadow|grassland|heath|scree|shingle|scrub|landfill|quarry|vineyard|field|farm|farmland" zoom-min="16">
		<caption k="name" font-style="italic" font-family="serif" font-size="11dp" scale-font-size="16,1.1" fill="#444444" stroke="#80ffffff" stroke-width="2.5dp" dy="20dp" scale-dy-size="16,1.15"/>
	</rule>
	<rule e="way" k="*" v="village_green|recreation_ground|grass|military|park|garden|common|green|dog_park|allotments" zoom-min="17">
		<caption k="name" font-style="italic" font-family="serif" font-size="11dp" scale-font-size="16,1.1" fill="#444444" stroke="#80ffffff" stroke-width="2.5dp"/>
	</rule>
	<rule e="way" k="*" v="cemetery|grave_yard" zoom-min="18">
		<caption k="name" font-style="italic" font-family="serif" font-size="10dp" scale-font-size="16,1.1" fill="#444444" stroke="#80ffffff" stroke-width="2.5dp"/>
	</rule>
	<rule e="way" k="*" v="desert|forest|wood|orchard|glacier|mountain_range|mountain_area" zoom-min="17">
		<caption k="name" font-style="italic" font-family="serif" font-size="12dp" scale-font-size="15,1.1" fill="#444444" stroke="#80ffffff" stroke-width="2.5dp"/>
	</rule>

	<rule e="any" k="natural|man_made" v="peak|volcano|cairn">
		<rule e="any" k="*" v="volcano" zoom-min="10">
			<rule cat="nocity" e="any" k="*" v="*" zoom-max="14">
				<rule e="any" k="peak_dist" v="pd_1" zoom-min="10">
					<symbol src="file:vol_res/svg/vulcan.svg" symbol-height="8dp" scale-icon-size="15,1.25"/>
					<caption k="name" dy="-9dp" font-style="bold" font-size="9dp" scale-font-size="15,1.1" scale-dy-size="15,1.2" fill="#A94949" stroke="#80FFFFFF" stroke-width="3dp"/>
				</rule>
				<rule e="any" k="peak_dist" v="pd_2" zoom-min="11">
					<symbol src="file:vol_res/svg/vulcan.svg" symbol-height="8dp" scale-icon-size="15,1.25"/>
					<caption k="name" dy="-9dp" font-style="bold" font-size="9dp" scale-font-size="15,1.1" scale-dy-size="15,1.2" fill="#A94949" stroke="#80FFFFFF" stroke-width="3dp"/>
				</rule>
				<rule e="any" k="peak_dist" v="pd_3" zoom-min="12">
					<symbol src="file:vol_res/svg/vulcan.svg" symbol-height="8dp" scale-icon-size="15,1.25"/>
					<caption k="name" dy="-9dp" font-style="bold" font-size="9dp" scale-font-size="15,1.1" scale-dy-size="15,1.2" fill="#A94949" stroke="#80FFFFFF" stroke-width="3dp"/>
				</rule>
				<rule e="any" k="peak_dist" v="pd_4|~" zoom-min="13">
					<symbol src="file:vol_res/svg/vulcan.svg" symbol-height="8dp" scale-icon-size="15,1.25"/>
					<caption k="name" dy="-9dp" font-style="bold" font-size="9dp" scale-font-size="15,1.1" scale-dy-size="15,1.2" fill="#A94949" stroke="#80FFFFFF" stroke-width="3dp"/>
				</rule>
				<rule e="any" k="peak_dist" v="pd_5" zoom-min="14">
					<symbol src="file:vol_res/svg/vulcan.svg" symbol-height="8dp" scale-icon-size="15,1.25"/>
					<caption k="name" dy="-9dp" font-style="bold" font-size="9dp" scale-font-size="15,1.1" scale-dy-size="15,1.2" fill="#A94949" stroke="#80FFFFFF" stroke-width="3dp"/>
				</rule>
			</rule>
			<rule e="any" k="*" v="*" zoom-min="15">
				<symbol src="file:vol_res/svg/vulcan.svg" symbol-height="8dp" scale-icon-size="15,1.25"/>
				<caption k="name" dy="-9dp" font-style="bold" font-size="9dp" scale-font-size="15,1.1" scale-dy-size="15,1.2" fill="#a94949" stroke="#80FFFFFF" stroke-width="3dp"/>
			</rule>
		</rule>
		<rule e="any" k="*" v="peak" zoom-min="15">
			<rule e="any" k="*" v="survey_point">
				<symbol src="file:vol_res/svg/survey.svg" symbol-height="8dp" 	scale-icon-size="15,1.25"/> 
				<caption k="name" dy="-9dp" font-style="bold" font-size="9dp" scale-font-size="15,1.1" scale-dy-size="15,1.2" fill="#A94949" stroke="#80FFFFFF" stroke-width="3dp"/>
			</rule>
		</rule>
		<rule e="any" k="*" v="peak" zoom-min="10">
			<rule cat="nocity" e="any" k="*" v="*" zoom-max="14">
				<rule e="any" k="peak_dist" v="pd_1" zoom-min="10">
					<symbol src="file:vol_res/svg/peak.svg" symbol-height="8dp" scale-icon-size="15,1.25"/>
					<rule e="any" k="*" v="*" zoom-min="11">
						<caption k="name" dy="-9dp" font-style="bold" font-size="9dp" scale-font-size="15,1.1" scale-dy-size="15,1.2" fill="#A94949" stroke="#80FFFFFF" stroke-width="3dp"/>
					</rule>
				</rule>
				<rule e="any" k="peak_dist" v="pd_2" zoom-min="11">
					<symbol src="file:vol_res/svg/peak.svg" symbol-height="8dp" scale-icon-size="15,1.25"/>
					<caption k="name" dy="-9dp" font-style="bold" font-size="9dp" scale-font-size="15,1.1" scale-dy-size="15,1.2" fill="#A94949" stroke="#80FFFFFF" stroke-width="3dp"/>
				</rule>
				<rule e="any" k="peak_dist" v="pd_3" zoom-min="12">
					<symbol src="file:vol_res/svg/peak.svg" symbol-height="8dp" scale-icon-size="15,1.25"/>
					<caption k="name" dy="-9dp" font-style="bold" font-size="9dp" scale-font-size="15,1.1" scale-dy-size="15,1.2" fill="#A94949" stroke="#80FFFFFF" stroke-width="3dp"/>
				</rule>
				<rule e="any" k="peak_dist" v="pd_4|~" zoom-min="13">
					<symbol src="file:vol_res/svg/peak.svg" symbol-height="8dp" scale-icon-size="15,1.25"/>
					<caption k="name" dy="-9dp" font-style="bold" font-size="9dp" scale-font-size="15,1.1" scale-dy-size="15,1.2" fill="#A94949" stroke="#80FFFFFF" stroke-width="3dp"/>
				</rule>
				<rule e="any" k="peak_dist" v="pd_5" zoom-min="14">
					<symbol src="file:vol_res/svg/peak.svg" symbol-height="8dp" scale-icon-size="15,1.25"/>
					<caption k="name" dy="-9dp" font-style="bold" font-size="9dp" scale-font-size="15,1.1" scale-dy-size="15,1.2" fill="#A94949" stroke="#80FFFFFF" stroke-width="3dp"/>
				</rule>
			</rule>
			<rule e="any" k="*" v="*" zoom-min="15">
				<symbol src="file:vol_res/svg/peak.svg" symbol-height="8dp" scale-icon-size="15,1.25"/>
				<caption k="name" dy="-9dp" font-style="bold" font-size="9dp" scale-font-size="15,1.1" scale-dy-size="15,1.2" fill="#a94949" stroke="#80FFFFFF" stroke-width="3dp"/>
			</rule>
		</rule>
		<rule e="any" k="man_made" v="cairn" zoom-min="15">
			<symbol src="file:vol_res/svg/cairn.svg" symbol-height="8dp" scale-icon-size="16,1.25"/> 
				<rule e="any" k="*" v="*" zoom-min="17">
					<caption k="name" dy="-9dp" font-style="bold" font-size="9dp" scale-font-size="15,1.1" scale-dy-size="15,1.2" fill="#a94949" stroke="#80FFFFFF" stroke-width="3dp"/>
				</rule>
		</rule>
		<rule e="node" k="*" v="*" zoom-min="15">
			<caption k="ele" dy="12dp" font-style="bold" font-size="9dp" scale-font-size="15,1.1" scale-dy-size="15,1.2" fill="#A94949" stroke="#80FFFFFF" stroke-width="3dp"/>
		</rule>
	</rule>
	<!-- Not currently in OAM maps -->
	<!--rule e="node" k="natural" v="cliff" zoom-min="15">
		<symbol src="file:vol_res/svg/rocks.svg" symbol-height="8dp" scale-icon-size="16,1.25"/>
		<rule e="any" k="*" v="*" zoom-min="17">
			<caption k="name" dy="-9dp" font-style="bold" font-size="9dp" scale-font-size="15,1.1" scale-dy-size="15,1.2" fill="#666666" stroke="#80FFFFFF" stroke-width="3dp"/>
			<caption k="ele" dy="12dp" font-style="bold" font-size="9dp" scale-font-size="15,1.1" scale-dy-size="15,1.2" fill="#666666" stroke="#80FFFFFF" stroke-width="3dp"/>
		</rule>
	</rule-->
	<rule e="any" k="natural" v="saddle" zoom-min="15">
		<rule e="any" k="mountain_pass" v="~">
			<rule e="any" k="dir_saddle" v="ds_0">
				<symbol src="file:vol_res/svg/mountain_pass_0.svg" symbol-height="12dp" scale-icon-size="16,1.22"/>
			</rule>
			<rule e="any" k="dir_saddle" v="ds_45|~">
				<symbol src="file:vol_res/svg/mountain_pass_45.svg" symbol-height="12dp" scale-icon-size="16,1.22"/>
			</rule>
			<rule e="any" k="dir_saddle" v="ds_90">
				<symbol src="file:vol_res/svg/mountain_pass_90.svg" symbol-height="12dp" scale-icon-size="16,1.22"/>
			</rule>
			<rule e="any" k="dir_saddle" v="ds_135">
				<symbol src="file:vol_res/svg/mountain_pass_135.svg" symbol-height="12dp" scale-icon-size="16,1.22"/>
			</rule>
			<caption k="name" dy="-11dp" font-style="bold" font-size="9dp" scale-font-size="15,1.1" scale-dy-size="15,1.2" fill="#A94949" stroke="#80FFFFFF" stroke-width="3dp"/>
			<caption k="ele" dy="15dp" font-style="bold" font-size="9dp" scale-font-size="15,1.1" scale-dy-size="15,1.2" fill="#A94949" stroke="#80FFFFFF" stroke-width="3dp"/>
		</rule>
	</rule>

	<!-- mountain_pass saddle -->
	<rule e="node" k="mountain_pass" v="yes" zoom-min="15">
		<rule e="any" k="dir_saddle" v="ds_0">
			<symbol src="file:vol_res/svg/mountain_pass_0.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
		</rule>
		<rule e="any" k="dir_saddle" v="ds_45|~">
			<symbol src="file:vol_res/svg/mountain_pass_45.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
		</rule>
		<rule e="any" k="dir_saddle" v="ds_90">
			<symbol src="file:vol_res/svg/mountain_pass_90.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
		</rule>
		<rule e="any" k="dir_saddle" v="ds_135">
			<symbol src="file:vol_res/svg/mountain_pass_135.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
		</rule>
		<rule e="node" k="*" v="*" zoom-min="14">
			<caption k="name" dy="-11dp" font-style="bold" font-size="9dp" scale-font-size="15,1.1" scale-dy-size="15,1.2" fill="#A94949" stroke="#80FFFFFF" stroke-width="3dp"/>
			<caption k="ele" dy="15dp" font-style="bold" font-size="9dp" scale-font-size="15,1.1" scale-dy-size="15,1.2" fill="#A94949" stroke="#80FFFFFF" stroke-width="3dp"/>
		</rule>
	</rule>

	<!-- natural -->
	<rule e="node" k="natural" v="tree" zoom-min="18">
		<symbol src="file:vol_res/svg/tree.svg" symbol-height="11dp" scale-icon-size="16,1.25"/>
		<caption k="name" dy="16dp" font-style="bold" font-size="12dp" scale-font-size="16,1.1" scale-dy-size="16,1.15" fill="#208020" stroke="#80FFFFFF" stroke-width="2dp"/>
	</rule>
	<rule e="node" k="natural" v="geyser" zoom-min="15">
		<symbol symbol-height="10dp" scale-icon-size="16,1.25" src="file:vol_res/svg/geyser.svg"/>
	</rule>
	<rule e="any" k="waterway|natural" v="waterfall" zoom-min="16">
		<symbol src="file:vol_res/svg/waterfall.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="waterway|natural" v="rapids" zoom-min="16">
		<symbol src="file:vol_res/svg/rapids.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="natural" v="cave_entrance" zoom-min="16">
		<rule e="any" k="shelter_type" v="~">
			<symbol src="file:vol_res/svg/cave_entrance.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
			<caption k="name" dy="16dp" font-style="bold" font-size="10dp" scale-font-size="18,1.1" scale-dy-size="16,1.15" fill="#606060" stroke="#80FFFFFF" stroke-width="2dp"/>
		</rule>
	</rule>
	<rule e="any" k="man_made" v="adit_disused" zoom-min="16">
		<symbol src="file:vol_res/svg/mineshaft_disused.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="man_made" v="adit" zoom-min="16">
		<symbol src="file:vol_res/svg/mineshaft.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="man_made" v="petroleum_well" zoom-min="17">
		<symbol src="file:vol_res/svg/petroleum_well.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="military" v="bunker_disused" zoom-min="17">
		<symbol src="file:vol_res/svg/bunker_disused.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="military" v="bunker" zoom-min="17">
		<symbol src="file:vol_res/svg/bunker.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="natural|man_made|military" v="nat_stone|adit|adit_disused|petroleum_well|bunker|bunker_disused" zoom-min="18">
		<caption k="name" dy="16dp" font-style="bold" font-size="10dp" scale-font-size="16,1.1" scale-dy-size="16,1.15" fill="#606060" stroke="#80FFFFFF" stroke-width="2dp"/>
	</rule>

	<rule e="any" k="tourism|amenity" v="alpine_hut|wilderness_hut|shelter" zoom-min="15">
		<rule cat="hike" e="any" k="tourism|shelter_type" v="alpine_hut|wilderness_hut|basic_hut|lean_to" zoom-max="15">
			<symbol symbol-height="8dp" scale-icon-size="14,1.25" src="file:vol_res/svg/pt_hut.svg"/>
		</rule>
		<rule e="any" k="tourism|shelter_type" v="alpine_hut|wilderness_hut|basic_hut|lean_to" zoom-min="16" zoom-max="16">
			<symbol symbol-height="8dp" scale-icon-size="14,1.25" src="file:vol_res/svg/pt_hut.svg"/>
		</rule>
		<rule e="any" k="tourism" v="alpine_hut" zoom-min="17">
			<rule e="any" k="access|reservation" v="permissive|~">
				<rule e="any" k="winter_room" v="wr_yes">
					<symbol src="file:vol_res/svg/alpine_hut_winter.svg" symbol-height="14dp" scale-icon-size="16,1.25"/> 
				</rule>
				<rule e="any" k="winter_room" v="~">
					<symbol src="file:vol_res/svg/alpine_hut.svg" symbol-height="12dp" scale-icon-size="16,1.25"/> 
				</rule>
			</rule>
			<rule e="any" k="access" v="private|acc_no|no">
				<symbol src="file:vol_res/svg/alpine_hut_private.svg" symbol-height="14dp" scale-icon-size="16,1.25"/> 
			</rule>
			<rule e="any" k="reservation" v="members_only">
				<symbol src="file:vol_res/svg/alpine_hut_private.svg" symbol-height="14dp" scale-icon-size="16,1.25"/> 
			</rule>
		</rule>
		<!-- Note some structures are mapped as wilderness hut with shelter type of basic_hut (eg no fireplace). This rendering allows display of shelter type for non-private wilderness huts -->
		<rule e="any" k="tourism" v="wilderness_hut" zoom-min="17">
			<rule e="any" k="access" v="private|acc_no|no">
				<symbol src="file:vol_res/svg/wilderness_hut_private.svg" symbol-height="14dp" scale-icon-size="16,1.25"/> 
			</rule>
			<rule e="any" k="reservation" v="members_only">
				<symbol src="file:vol_res/svg/wilderness_hut_private.svg" symbol-height="14dp" scale-icon-size="16,1.25"/> 
			</rule>
		</rule>
		<rule e="any" k="amenity" v="shelter" zoom-min="17">
			<rule e="any" k="shelter_type" v="basic_hut">
				<symbol src="file:vol_res/svg/shelter_basic.svg" symbol-height="14dp" scale-icon-size="16,1.25"/>
			</rule>
			<rule e="any" k="shelter_type" v="lean_to" zoom-min="17">
				<symbol src="file:vol_res/svg/shelter_leanto.svg" symbol-height="14dp" scale-icon-size="16,1.25"/>
			</rule>
		</rule>
		<rule e="any" k="tourism" v="wilderness_hut" zoom-min="17">
			<rule e="any" k="access|reservation" v="permissive|~">
				<symbol src="file:vol_res/svg/wilderness_hut.svg" symbol-height="12dp" scale-icon-size="16,1.25"/> 
			</rule>
		</rule>
		<rule e="any" k="tourism|shelter_type" v="alpine_hut|wilderness_hut|basic_hut|lean_to" zoom-min="18">
			<caption k="name" dy="20dp" font-style="bold" font-size="10dp" scale-font-size="16,1.1" scale-dy-size="16,1.15" fill="#4773b3" stroke="#80FFFFFF" stroke-width="2dp"/>
		</rule>
	</rule>

	<rule e="any" k="amenity" v="shelter" zoom-min="15">
		<rule cat="hike" e="any" k="shelter_type" v="picnic_shelter|rock_shelter|weather_shelter|~" zoom-max="15">
			<symbol symbol-height="6dp" scale-icon-size="14,1.25" src="file:vol_res/svg/pt_shelter.svg"/>
		</rule>
		<rule e="any" k="shelter_type" v="picnic_shelter|rock_shelter|weather_shelter|~" zoom-min="16" zoom-max="16">
			<symbol symbol-height="8dp" scale-icon-size="14,1.25" src="file:vol_res/svg/pt_shelter.svg"/>
		</rule>
		<rule e="any" k="shelter_type" v="picnic_shelter" zoom-min="17">
			<symbol src="file:vol_res/svg/shelter_picnic.svg" symbol-height="14dp" scale-icon-size="16,1.25"/>
		</rule>
		<rule e="any" k="shelter_type" v="rock_shelter" zoom-min="17">
			<symbol src="file:vol_res/svg/shelter_rock.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
		</rule>
		<rule e="any" k="shelter_type" v="weather_shelter|~" zoom-min="17">
			<symbol src="file:vol_res/svg/shelter.svg" symbol-height="14dp" scale-icon-size="16,1.25"/>
		</rule>
	</rule>

	<rule e="any" k="railway" v="station" zoom-min="14">
		<rule e="any" k="station|power" v="~">
			<rule e="any" k="*" v="*" zoom-max="16">
				<symbol src="file:vol_res/svg/trainstation_small.svg" symbol-height="6dp" scale-icon-size="14,1.25"/>
				<rule e="any" k="*" v="*" zoom-min="16">
					<caption k="name" dy="16dp" font-style="bold" font-size="10dp" scale-font-size="16,1.1" scale-dy-size="16,1.15" fill="#CA1212" stroke="#C0FFFFFF" stroke-width="2dp"/>
				</rule>
			</rule>
			<rule e="any" k="*" v="*" zoom-min="17">
				<symbol src="file:vol_res/svg/trainstation.svg" symbol-height="16dp" scale-icon-size="17,1.25"/>
				<caption k="name" dy="16dp" font-style="bold" font-size="10dp" scale-font-size="16,1.1" scale-dy-size="16,1.15" fill="#4773b3" stroke="#C0FFFFFF" stroke-width="2dp"/>
			</rule>
		</rule>
	</rule>
	<rule e="any" k="railway" v="halt" zoom-min="16">
		<rule e="any" k="station" v="~">
			<symbol src="file:vol_res/svg/trainstation_small.svg" symbol-height="5dp" scale-icon-size="14,1.25"/>
			<caption k="name" dy="16dp" font-style="bold" font-size="10dp" scale-font-size="18,1.1" scale-dy-size="16,1.15" fill="#CA1212" stroke="#C0FFFFFF" stroke-width="2dp"/>
		</rule>
	</rule>
	<rule e="any" k="station" v="subway" zoom-min="16">
		<rule e="any" k="*" v="*" zoom-max="17">
			<symbol src="file:vol_res/svg/trainstation_small.svg" symbol-height="5dp" scale-icon-size="14,1.2"/>
			<caption k="name" dy="16dp" font-style="bold" font-size="10dp" scale-font-size="18,1.1" scale-dy-size="18,1.2" fill="#CA1212" stroke="#C0FFFFFF" stroke-width="2dp"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="18">
			<symbol src="file:vol_res/svg/subway.svg" symbol-height="14dp" scale-icon-size="17,1.25"/>
			<caption k="name" dy="16dp" font-style="bold" font-size="10dp" scale-font-size="18,1.1" scale-dy-size="16,1.15" fill="#4773b3" stroke="#C0FFFFFF" stroke-width="2dp"/>
		</rule>
	</rule>
	<rule e="any" k="station" v="light_rail" zoom-min="16">
		<symbol src="file:vol_res/svg/tramstop_small.svg" symbol-height="5dp" scale-icon-size="14,1.25"/>
		<caption k="name" dy="16dp" font-style="bold" font-size="10dp" scale-font-size="18,1.1" scale-dy-size="16,1.15" fill="#8C6900" stroke="#C0FFFFFF" stroke-width="2dp"/>
	</rule>
	<rule e="any" k="railway" v="tram_stop" zoom-min="16">
		<symbol src="file:vol_res/svg/tramstop_small.svg" symbol-height="4dp" scale-icon-size="14,1.25"/>
		<caption k="name" dy="16dp" font-style="bold" font-size="10dp" scale-font-size="18,1.1" scale-dy-size="16,1.15" fill="#8C6900" stroke="#C0FFFFFF" stroke-width="2dp"/>
	</rule>
	<rule e="any" k="amenity" v="bus_station" zoom-min="16">
		<symbol src="file:vol_res/svg/bus_sta.svg" symbol-height="16dp" scale-icon-size="17,1.25"/>
		<rule e="node" k="*" v="*" zoom-min="17">
			<caption k="name" dy="16dp" font-style="bold" font-size="10dp" scale-font-size="18,1.1" scale-dy-size="16,1.15" fill="#4773b3" stroke="#C0FFFFFF" stroke-width="2dp"/>
		</rule>
	</rule>
	<rule e="node" k="highway" v="bus_stop" zoom-min="16">
		<rule cat="paths" e="any" k="*" v="*" zoom-max="17">
			<symbol symbol-height="6dp" scale-icon-size="14,1.25" src="file:vol_res/svg/bus.svg"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="18">
			<symbol src="file:vol_res/svg/bus.svg" symbol-height="8.5dp" scale-icon-size="16,1.25"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="20">
			<caption k="name" dy="16dp" font-style="normal" font-size="9dp" scale-font-size="18,1.1" scale-dy-size="16,1.15" fill="#4773b3" stroke="#80FFFFFF" stroke-width="3dp"/>
		</rule>
	</rule>
	<rule e="any" k="amenity" v="ferry_terminal" zoom-min="14">
		<rule e="any" k="*" v="*" zoom-max="17">
			<symbol symbol-height="9dp" scale-icon-size="14,1.25" src="file:vol_res/svg/pt_ferry.svg"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="18">
			<symbol src="file:vol_res/svg/ferry_terminal.svg" symbol-height="15dp" scale-icon-size="16,1.25"/>
			<caption k="name" dy="20dp" font-style="bold" font-size="10dp" scale-font-size="16,1.1" scale-dy-size="16,1.15" fill="#4773b3" stroke="#80FFFFFF" stroke-width="2dp"/>
		</rule>
	</rule>
	<rule e="any" k="shop" v="supermarket" zoom-min="16">
		<symbol src="file:vol_res/svg/supermarket.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="shop" v="mall" zoom-min="16">
		<symbol src="file:vol_res/svg/shop_mall.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="shop" v="convenience" zoom-min="18">
		<symbol src="file:vol_res/svg/shop_convenience.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="shop" v="bakery" zoom-min="18">
		<symbol src="file:vol_res/svg/shop_bakery.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="amenity" v="fuel" zoom-min="15">
		<rule e="any" k="*" v="*" zoom-max="16" cat="nohikebike">
			<symbol src="file:vol_res/svg/fuel.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="17">
			<symbol src="file:vol_res/svg/fuel.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
		</rule>
	</rule>
	<rule e="any" k="amenity" v="charging_station" zoom-min="15">
		<rule e="any" k="*" v="*" zoom-max="16" cat="nohikebike">
			<symbol src="file:vol_res/svg/charging_station.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="17">
			<symbol src="file:vol_res/svg/charging_station.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
		</rule>
	</rule>
	<rule e="any" k="amenity|waterway" v="drinking_water|water_point" zoom-min="16">
		<rule e="any" k="*" v="*" zoom-max="17" cat="nocity">
			<symbol src="file:vol_res/svg/drinking_water.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="18">
			<symbol src="file:vol_res/svg/drinking_water.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
		</rule>
	</rule>
	<rule e="any" k="amenity" v="fountain" zoom-min="17">
		<rule e="any" k="drinking_water" v="yes">
			<symbol src="file:vol_res/svg/drinking_water.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
		</rule>
		<rule e="any" k="*" v="*">
			<symbol src="file:vol_res/svg/fountain.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
		</rule>
	</rule>
	<rule e="any" k="natural|man_made" v="spring|water_well" zoom-min="16">
		<rule e="any" k="drinking_water" v="yes">
			<symbol src="file:vol_res/svg/drinking_water.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
		</rule>
		<rule e="node" k="*" v="*">
			<symbol src="file:vol_res/svg/spring.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
		</rule>
	</rule>
	<rule e="any" k="amenity" v="toilets" zoom-min="16">
		<symbol src="file:vol_res/svg/toilets.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="node" k="leisure" v="water_park" zoom-min="17">
		<symbol src="file:vol_res/svg/water_park.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="node" k="leisure|sport" v="swimming|swimming_area" zoom-min="17">
		<symbol src="file:vol_res/svg/swimming.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="node" k="leisure" v="beach_resort" zoom-min="17">
		<symbol src="file:vol_res/svg/beach_resort.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="tourism|leisure" v="picnic_site|picnic_table" zoom-min="16">
		<symbol src="file:vol_res/svg/picnic.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="amenity" v="bench" zoom-min="17">
		<symbol src="file:vol_res/svg/bench.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="amenity" v="parking" zoom-min="17">
		<rule e="any" k="building" v="~">
			<rule e="any" k="parking" v="surface|underground|multi-storey|~">
				<rule e="any" k="access" v="private|acc_no|no|permit">
					<rule cat="road" e="any" k="*" v="*" zoom-max="17">
						<symbol src="file:vol_res/svg/parking_private.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
					</rule>
					<rule cat="nohikebike" e="any" k="*" v="*" zoom-min="18" zoom-max="19">
						<symbol src="file:vol_res/svg/parking_private.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
					</rule>
					<rule e="any" k="*" v="*" zoom-min="20">
						<symbol src="file:vol_res/svg/parking_private.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
					</rule>
				</rule>
				<rule e="any" k="access" v="~|public|permissive|destination"> 
					<rule cat="road" e="any" k="*" v="*" zoom-max="17">
						<symbol src="file:vol_res/svg/parking.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
					</rule>
					<rule cat="nohikebike" e="any" k="*" v="*" zoom-min="18" zoom-max="18">
						<symbol src="file:vol_res/svg/parking.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
					</rule>
					<rule e="any" k="*" v="*" zoom-min="19">
						<symbol src="file:vol_res/svg/parking.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
					</rule>
				</rule>
			</rule>
		</rule>
			
		<rule e="any" k="building" v="*">
			<rule e="any" k="access" v="private|acc_no|permit">
				<rule e="way" k="*" v="*" zoom-min="17">
					<area symbol-height="16dp" src="file:vol_res/patterns/access-private.png"/>
				</rule>
				<rule cat="road" e="any" k="*" v="*" zoom-max="18">
					<symbol src="file:vol_res/svg/covered_parking_private.svg" symbol-height="12.5dp" scale-icon-size="16,1.25"/>
				</rule>
				<rule cat="nohikebike" e="any" k="*" v="*" zoom-min="19" zoom-max="19">
					<symbol src="file:vol_res/svg/covered_parking_private.svg" symbol-height="12.5dp" scale-icon-size="16,1.25"/>
				</rule>
				<rule e="any" k="*" v="*" zoom-min="20">
					<symbol src="file:vol_res/svg/covered_parking_private.svg" symbol-height="12.5dp" scale-icon-size="16,1.25"/>
				</rule>
			</rule>
			<rule e="any" k="access" v="~|public|permissive|destination"> 
				<rule cat="road" e="any" k="*" v="*" zoom-max="17">
					<symbol src="file:vol_res/svg/covered_parking.svg" symbol-height="12.5dp" scale-icon-size="16,1.25"/>
				</rule>
				<rule cat="nohikebike" e="any" k="*" v="*" zoom-min="18" zoom-max="18">
					<symbol src="file:vol_res/svg/covered_parking.svg" symbol-height="12.5dp" scale-icon-size="16,1.25"/>
				</rule>
				<rule e="any" k="*" v="*" zoom-min="19">
					<symbol src="file:vol_res/svg/covered_parking.svg" symbol-height="12.5dp" scale-icon-size="16,1.25"/>
				</rule>
			</rule>
		</rule>
	</rule>
	<rule e="any" k="amenity" v="restaurant" zoom-min="18">
		<symbol src="file:vol_res/svg/restaurant.svg" symbol-height="9dp" scale-icon-size="16,1.25"/>
		<rule e="node" k="*" v="*" zoom-min="19">
			<caption k="name" dy="16dp" font-style="bold" font-size="10dp" scale-font-size="18,1.1" scale-dy-size="16,1.15" fill="#734A08" stroke="#80FFFFFF" stroke-width="2dp"/>
		</rule>
	</rule>
	<rule e="any" k="tourism" v="camp_site" zoom-min="15">
		<symbol src="file:vol_res/svg/camp_site.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="tourism" v="caravan_site" zoom-min="15">
		<symbol src="file:vol_res/svg/caravan_site.svg" symbol-height="14dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="tourism" v="caravan_site|camp_site" zoom-min="16">
		<caption k="name" dy="18dp" font-style="bold" font-size="10dp" scale-font-size="16,1.1" scale-dy-size="16,1.15" fill="#4773b3" stroke="#80FFFFFF" stroke-width="2dp"/>
	</rule>
	<rule e="any" k="tourism" v="hostel" zoom-min="17">
		<symbol src="file:vol_res/svg/hostel.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="tourism|building" v="hotel" zoom-min="17">
		<symbol src="file:vol_res/svg/hotel.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="tourism" v="chalet" zoom-min="17">
		<symbol src="file:vol_res/svg/chalet.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="tourism" v="apartment" zoom-min="17">
		<symbol src="file:vol_res/svg/apartment.svg" symbol-height="11dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="node" k="tourism" v="viewpoint" zoom-min="16">
		<symbol src="file:vol_res/svg/viewpoint.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
		<rule e="node" k="natural" v="~" zoom-min="17">
			<caption k="name" dy="16dp" font-style="bold" font-size="10dp" scale-font-size="16,1.1" scale-dy-size="16,1.15" fill="#734A08" stroke="#C0ffffff" stroke-width="2dp"/>
		</rule>
	</rule>
	<rule e="any" k="tourism" v="zoo" zoom-min="15">
		<symbol src="file:vol_res/svg/zoo.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="tourism" v="attraction" zoom-min="15">
		<rule e="any" k="*" v="*" zoom-max="16">
			<symbol src="file:vol_res/svg/star.svg" symbol-height="12dp"/>
		</rule>
		<rule e="node" k="*" v="*" zoom-min="17">
			<symbol src="file:vol_res/svg/star.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
		</rule>
		<rule e="way" k="building" v="*" zoom-min="17">
			<symbol src="file:vol_res/svg/star.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
		</rule>
		<rule e="any" k="historic|amenity|natural|man_made" v="~" zoom-min="16">
			<caption k="name" dy="20dp" font-style="bold" font-size="10dp" scale-font-size="16,1.1" scale-dy-size="16,1.15" fill="#734A08" stroke="#C0ffffff" stroke-width="2dp"/>
		</rule>
	</rule>
	<!-- information -->
	<rule e="any" k="information" v="office" zoom-min="17">
		<symbol src="file:vol_res/svg/information_office.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="information" v="board" zoom-min="17" cat="nocity">
		<symbol src="file:vol_res/svg/information_board.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="information" v="terminal" zoom-min="19" cat="nocity">
		<symbol src="file:vol_res/svg/information_terminal.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<!--rule cat="nocity" e="any" k="tourism" v="information" zoom-min="17">
		<rule e="any" k="information" v="~">
			<symbol src="file:vol_res/svg/information.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
		</rule>
	</rule-->
	<rule e="any" k="information" v="guidepost" zoom-min="17" cat="nocity">
		<symbol src="file:vol_res/svg/guidepost.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
		<rule e="node" k="*" v="*" zoom-min="17">
			<caption k="name" dy="16dp" font-style="bold" font-size="10dp" scale-font-size="16,1.1" scale-dy-size="16,1.15" fill="#734A08" stroke="#80FFFFFF" stroke-width="2dp"/>
		</rule>
	</rule>
	<rule e="any" k="information" v="map" zoom-min="17" cat="nocity">
		<symbol src="file:vol_res/svg/information_map.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<!--rule e="any" k="tourism" v="information" zoom-min="17">
		<rule e="any" k="information" v="~">
			<symbol src="file:vol_res/svg/information.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
		</rule>
	</rule-->
	<rule e="any" k="tourism|building" v="museum" zoom-min="16">
		<symbol src="file:vol_res/svg/museum.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
		<rule e="any" k="*" v="*" zoom-min="18">
			<caption k="name" dy="16dp" font-style="bold" font-size="10dp" scale-font-size="16,1.1" scale-dy-size="16,1.15" fill="#734A08" stroke="#80FFFFFF" stroke-width="2dp"/>
		</rule>
	</rule>
	<!-- man_made & power -->
	<rule e="any" k="waterway" v="weir" zoom-min="16">
		<symbol src="file:vol_res/svg/weir.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="tower:type|tower" v="communication" zoom-min="16">
		<symbol src="file:vol_res/svg/tower_communications.svg" symbol-height="14dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="man_made|tower:type|tower" v="surveillance|observation" zoom-min="18">
		<symbol src="file:vol_res/svg/tower_lookout.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="man_made" v="windmill" zoom-min="15">
		<symbol src="file:vol_res/svg/windmill.svg" symbol-height="13dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="man_made" v="watermill" zoom-min="15">
		<symbol src="file:vol_res/svg/watermill.svg" symbol-height="13dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="man_made" v="lighthouse" zoom-min="15">
		<symbol src="file:vol_res/svg/lighthouse.svg" symbol-height="14dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="landuse" v="farmyard" zoom-min="16">
		<symbol src="file:vol_res/svg/farmyard.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="generator:source" v="wind" zoom-min="14">
		<symbol src="file:vol_res/svg/power_wind.svg" symbol-height="19dp" scale-icon-size="16,1.3"/>
	</rule>
	<rule e="any" k="generator:source" v="hydro|tidal|wave" zoom-min="15">
		<symbol src="file:vol_res/svg/power_water.svg" symbol-height="19dp" scale-icon-size="16,1.3"/>
	</rule>
	<rule e="way" k="generator:source" v="solar" zoom-min="16">
		<rule e="way" k="building" v="*" zoom-min="20">
			<symbol src="file:vol_res/svg/power_solar.svg" symbol-height="14dp" scale-icon-size="16,1.3"/>
		</rule>
		<rule e="way" k="building" v="~">
			<rule e="way" k="power" v="plant">
				<symbol src="file:vol_res/svg/power_solar.svg" symbol-height="14dp" scale-icon-size="16,1.3"/>
			</rule>
		</rule>
	</rule>
	<rule e="node" k="generator:source" v="solar" zoom-min="20">
		<rule e="way" k="power" v="plant">
				<symbol src="file:vol_res/svg/power_solar.svg" symbol-height="14dp" scale-icon-size="16,1.3"/>
		</rule>
	</rule>
	<rule e="any" k="generator:source" v="gas|oil|diesel|gasoline|biomass|biofuel|waste|geothermal" zoom-min="15">
		<symbol src="file:vol_res/svg/power_gas.svg" symbol-height="16dp" scale-icon-size="16,1.3"/>
	</rule>
	<rule e="any" k="generator:source" v="coal" zoom-min="15">
		<symbol src="file:vol_res/svg/power_coal.svg" symbol-height="16dp" scale-icon-size="16,1.3"/>
	</rule>
	<rule e="any" k="generator:source" v="nuclear" zoom-min="15">
		<symbol src="file:vol_res/svg/power_nuclear.svg" symbol-height="16dp" scale-icon-size="16,1.3"/>
	</rule>
	<rule e="any" k="man_made" v="tower" zoom-min="16">
		<symbol src="file:vol_res/svg/tower_lookout.svg" symbol-height="14dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="man_made" v="water_tower" zoom-min="16">
		<symbol src="file:vol_res/svg/tower_water.svg" symbol-height="14dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="power" v="tower" zoom-min="16">
		<symbol src="file:vol_res/svg/power_tower.svg" symbol-height="18dp" scale-icon-size="16,1.25"/>
	</rule>

	<!-- historic -->
	<rule e="any" k="historic|building" v="castle" zoom-min="15">
		<symbol src="file:vol_res/svg/castle.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="historic" v="ruins" zoom-min="16">
		<symbol src="file:vol_res/svg/ruins.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="historic" v="archaeological_site" zoom-min="16">
		<symbol src="file:vol_res/svg/archaeological_site.svg" symbol-height="11dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="historic" v="monument" zoom-min="16">
		<symbol src="file:vol_res/svg/monument.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="historic" v="memorial" zoom-min="17">
		<rule e="any" k="memorial" v="stolperstein">
			<symbol src="file:vol_res/svg/memorial_stolperstein.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
		</rule>
		<rule e="any" k="memorial" v="plaque">
			<symbol src="file:vol_res/svg/memorial_plaque.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
		</rule>
		<rule e="any" k="memorial" v="statue">
			<symbol src="file:vol_res/svg/memorial_statue.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
		</rule>
		<rule e="any" k="memorial" v="stone">
			<symbol src="file:vol_res/svg/memorial_stone.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
		</rule>
		<rule e="any" k="memorial" v="war_memorial">
			<symbol src="file:vol_res/svg/memorial_war.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
		</rule>
		<rule e="any" k="memorial" v="~">
			<symbol src="file:vol_res/svg/memorial.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
		</rule>
	</rule>
	<rule e="any" k="tourism" v="artwork" zoom-min="17">
		<symbol src="file:vol_res/svg/artwork.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="historic" v="wayside_shrine" zoom-min="16">
		<symbol src="file:vol_res/svg/wayside_shrine.svg" symbol-height="11dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="historic" v="wayside_cross" zoom-min="17">
		<symbol src="file:vol_res/svg/wayside_cross.svg" symbol-height="11dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="historic" v="monument|memorial" zoom-min="18">
		<caption k="name" dy="16dp" font-style="bold" font-size="10dp" scale-font-size="18,1.1" scale-dy-size="16,1.15" fill="#734A08" stroke="#80FFFFFF" stroke-width="2dp"/>
	</rule>
	<rule e="any" k="historic|building" v="ruins|castle|archaeological_site" zoom-min="17">
		<rule e="way" k="*" v="*" zoom-max="17" cat="nocity">
			<caption k="name" dy="20dp" font-style="bold" font-size="10dp" scale-font-size="16,1.1" scale-dy-size="16,1.15" fill="#734A08" stroke="#80FFFFFF" stroke-width="2dp"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="18">
			<caption k="name" dy="20dp" font-style="bold" font-size="10dp" scale-font-size="16,1.1" scale-dy-size="16,1.15" fill="#734A08" stroke="#80FFFFFF" stroke-width="2dp"/>
		</rule>
	</rule>

	<!-- place of worship -->
	<rule e="any" k="amenity" v="place_of_worship" zoom-min="16">
		<rule cat="nocity" e="any" k="*" v="*" zoom-max="16">
			<rule e="any" k="religion" v="christian">
				<symbol src="file:vol_res/svg/worship_church.svg" symbol-height="11dp" scale-icon-size="16,1.25"/>
			</rule>
			<rule e="any" k="religion" v="buddhist">
				<symbol src="file:vol_res/svg/worship_buddhist.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
			</rule>
			<rule e="any" k="religion" v="hindu">
				<symbol src="file:vol_res/svg/worship_hindu.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
			</rule>
			<rule e="any" k="religion" v="jewish">
				<symbol src="file:vol_res/svg/worship_jewish.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
			</rule>
			<rule e="any" k="religion" v="muslim|moslem">
				<symbol src="file:vol_res/svg/worship_moslem.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
			</rule>
			<rule e="any" k="religion" v="shinto">
				<symbol src="file:vol_res/svg/worship_shinto.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
			</rule>
			<rule e="any" k="religion" v="~">
				<symbol src="file:vol_res/svg/worship_unknown.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
			</rule>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="17">
			<rule e="any" k="religion" v="christian">
				<symbol src="file:vol_res/svg/worship_church.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
			</rule>
			<rule e="any" k="religion" v="buddhist">
				<symbol src="file:vol_res/svg/worship_buddhist.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
			</rule>
			<rule e="any" k="religion" v="hindu">
				<symbol src="file:vol_res/svg/worship_hindu.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
			</rule>
			<rule e="any" k="religion" v="jewish">
				<symbol src="file:vol_res/svg/worship_jewish.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
			</rule>
			<rule e="any" k="religion" v="muslim|moslem">
				<symbol src="file:vol_res/svg/worship_moslem.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
			</rule>
			<rule e="any" k="religion" v="shinto">
				<symbol src="file:vol_res/svg/worship_shinto.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
			</rule>
			<rule e="any" k="religion" v="~">
				<symbol src="file:vol_res/svg/worship_unknown.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
			</rule>
		</rule>
	</rule>

	<!-- emergency -->
	<rule e="any" k="amenity" v="hospital" zoom-min="16">
		<symbol src="file:vol_res/svg/hospital.svg" symbol-height="10dp" scale-icon-size="16,1.25" priority="100"/>
	</rule>
	<rule e="any" k="emergency" v="defibrillator" zoom-min="16">
		<symbol src="file:vol_res/svg/defibrillator.svg" symbol-height="10dp" scale-icon-size="16,1.25" priority="99"/>
	</rule>
	<rule e="any" k="amenity|shop" v="pharmacy|chemist" zoom-min="17">
		<symbol src="file:vol_res/svg/pharmacy.svg" symbol-height="10dp" scale-icon-size="16,1.25" priority="98"/>
	</rule>
	<rule e="any" k="amenity" v="doctors" zoom-min="17">
		<symbol src="file:vol_res/svg/doctors.svg" symbol-height="10dp" scale-icon-size="16,1.25" priority="97"/>
	</rule>
	<rule e="any" k="highway" v="emergency_access_point" zoom-min="20">
		<symbol src="file:vol_res/svg/emergency_access_point.svg" symbol-height="12dp" scale-icon-size="16,1.25" priority="97"/>
		<rule e="any" k="*" v="*" zoom-min="21">
			<caption k="addr:housenumber" dy="-13" font-style="bold" font-size="10" fill="#CA1212" stroke="#C0FFFFFF" stroke-width="2" />
		</rule>
	</rule>

	<!-- amenity -->
	<rule e="any" k="amenity" v="fast_food" zoom-min="18">
		<symbol src="file:vol_res/svg/fast_food.svg" symbol-height="11dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="amenity" v="biergarten" zoom-min="18">
		<symbol src="file:vol_res/svg/biergarten.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="amenity" v="cafe" zoom-min="18">
		<symbol src="file:vol_res/svg/cafe.svg" symbol-height="9dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="amenity" v="bar" zoom-min="18">
		<symbol src="file:vol_res/svg/bar.svg" symbol-height="9dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="amenity" v="pub" zoom-min="18">
		<symbol src="file:vol_res/svg/pub.svg" symbol-height="9dp" scale-icon-size="16,1.25"/>
	</rule>

	<!-- shops -->
	<rule e="any" k="amenity" v="marketplace" zoom-min="16">
		<symbol src="file:vol_res/svg/marketplace.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="amenity" v="atm" zoom-min="17">
		<symbol src="file:vol_res/svg/atm.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="amenity" v="bank" zoom-min="17">
		<symbol src="file:vol_res/svg/bank.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="amenity" v="post_box" zoom-min="18">
		<symbol src="file:vol_res/svg/post_box.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="amenity" v="post_office" zoom-min="17">
		<symbol src="file:vol_res/svg/post_office.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="amenity" v="telephone" zoom-min="17">
		<symbol src="file:vol_res/svg/telephone.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="node" k="emergency" v="phone" zoom-min="16">
		<symbol src="file:vol_res/svg/telephone-emergency.svg" symbol-height="10dp" scale-icon-size="16,1.25" priority="100"/>
	</rule>
	<rule e="any" k="amenity" v="police" zoom-min="16">
		<symbol src="file:vol_res/svg/police.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="amenity" v="fire_station" zoom-min="17">
		<symbol src="file:vol_res/svg/fire_station.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="amenity|building" v="embassy" zoom-min="17">
		<symbol src="file:vol_res/svg/embassy.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="amenity" v="recycling" zoom-min="16">
		<symbol src="file:vol_res/svg/recycling.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="amenity" v="cinema" zoom-min="17">
		<symbol src="file:vol_res/svg/cinema.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="amenity" v="bicycle_rental" zoom-min="16">
		<rule cat="bike" e="any" k="*" v="*" zoom-max="17">
			<symbol src="file:vol_res/svg/bicycle_rental.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="18">
			<symbol src="file:vol_res/svg/bicycle_rental.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
		</rule>
	</rule>
	<rule e="any" k="amenity" v="townhall" zoom-min="15">
		<symbol src="file:vol_res/svg/townhall.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="amenity|building" v="library" zoom-min="17">
		<symbol src="file:vol_res/svg/library.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="amenity" v="kindergarten" zoom-min="17">
		<symbol src="file:vol_res/svg/kindergarten.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="node" k="amenity|building" v="school" zoom-min="17">
		<symbol src="file:vol_res/svg/school.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="way" k="amenity" v="school" zoom-min="15">
		<symbol src="file:vol_res/svg/school.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="amenity" v="theatre" zoom-min="17">
		<symbol src="file:vol_res/svg/theatre.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="node" k="amenity|building" v="college" zoom-min="17">
		<symbol src="file:vol_res/svg/college.svg" symbol-height="10dp" scale-icon-size="16,1.25" priority="10"/>
	</rule>
	<rule e="way" k="amenity" v="college" zoom-min="15">
		<symbol src="file:vol_res/svg/college.svg" symbol-height="10dp" scale-icon-size="16,1.25" priority="9"/>
	</rule>
	<rule e="node" k="amenity|building" v="university" zoom-min="17">
		<symbol src="file:vol_res/svg/university.svg" symbol-height="10dp" priority="9" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="way" k="amenity" v="university" zoom-min="15">
		<symbol src="file:vol_res/svg/university.svg" symbol-height="10dp" priority="9" scale-icon-size="16,1.25"/>
	</rule>
	<!-- highway -->
	<!-- hiking nodes -->
	<rule e="node" k="hike_node" v="*" zoom-min="16" cat="h_n_routes">
		<caption k="addr:housenumber" dy="4dp" font-style="normal" font-size="6dp" fill="#008131" line="#ffffff" scale-font-size="13,1.15" bg-rect-fill="#ffffff" bg-rect-stroke="#008131" bg-rect-over="3dp" bg-rect-stroke-width="1dp" bg-rect-rounded="12dp"/>
	</rule>
	<!-- cycling nodes -->
	<rule e="node" k="cycle_node" v="*" zoom-min="16" cat="c_n_routes">
		<caption k="name" dy="4dp" font-style="normal" font-size="6dp" fill="#0083d7" line="#ffffff" scale-font-size="13,1.15" bg-rect-fill="#ffffff" bg-rect-stroke="#0083d7" bg-rect-over="3dp" bg-rect-stroke-width="1dp" bg-rect-rounded="12dp"/>
	</rule>

	<rule cat="road" e="node" k="addr:housenumber" v="*">
		<rule cat="nocity" e="node" k="highway" v="motorway_junction" zoom-min="10" zoom-max="12">
			<circle r="3dp" scale-radius="true" stroke="#444444" stroke-width="1dp" fill="#ffffff"/>
			<caption k="addr:housenumber" dy="-4dp" font-style="bold" font-size="6dp" scale-font-size="10,1.2" fill="#666666" stroke="#c0FFFFFF" stroke-width="2dp"/>
		</rule>
		<rule cat="nocity" e="node" k="highway" v="motorway_junction" zoom-min="13" zoom-max="15">
			<caption k="addr:housenumber" dy="4dp" font-style="bold" font-size="7dp" fill="#ffffff" line="#000000" scale-font-size="13,1.15" bg-rect-fill="#777777" bg-rect-stroke="#ffffff" bg-rect-over="2.1dp" bg-rect-stroke-width="1dp" bg-rect-rounded="2.6dp"/>
			<rule e="node" k="*" v="*" zoom-min="14">
				<caption k="name" dy="-7dp" font-style="bold" font-size="9dp" scale-font-size="14,1.1" scale-dy-size="14,1.2" fill="#666666" stroke="#C0FFFFFF" stroke-width="2dp"/>
			</rule>
		</rule>
		<rule e="node" k="highway" v="motorway_junction" zoom-min="16" zoom-max="18">
			<caption k="addr:housenumber" dy="5dp" font-style="bold" font-size="8dp" fill="#ffffff" line="#000000" scale-font-size="14,1.15" bg-rect-fill="#777777" bg-rect-stroke="#ffffff" bg-rect-over="2dp" bg-rect-stroke-width="1dp" bg-rect-rounded="2.6dp"/>
			<caption k="name" dy="-10dp" font-style="bold" font-size="9dp" scale-font-size="14,1.1" scale-dy-size="16,1.2" fill="#666666" stroke="#C0FFFFFF" stroke-width="2dp"/>
		</rule>
		<rule e="node" k="highway" v="motorway_junction" zoom-min="19">
			<caption k="addr:housenumber" dy="6dp" font-style="bold" font-size="7.5dp" fill="#ffffff" line="#000000" scale-font-size="14,1.15" bg-rect-fill="#777777" bg-rect-stroke="#ffffff" bg-rect-over="2dp" bg-rect-stroke-width="1dp" bg-rect-rounded="2.6dp"/>
			<caption k="name" dy="-15dp" font-style="bold" font-size="9dp" scale-font-size="14,1.1" scale-dy-size="19,1.2" fill="#666666" stroke="#C0FFFFFF" stroke-width="2dp"/>
		</rule>
	</rule>

	<rule e="any" k="bridge" v="movable" zoom-min="16">
		<symbol src="file:vol_res/svg/bridge_movable.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="highway" v="traffic_signals" zoom-min="17">
		<symbol src="file:vol_res/svg/traffic_signal.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
	</rule>

	<!-- sport -->
	<rule e="any" k="sport|climbing" v="climbing|cl_yes" zoom-min="16">
		<symbol src="file:vol_res/svg/climbing.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="sport" v="soccer" zoom-min="16">
		<symbol src="file:vol_res/svg/football.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="sport" v="tennis" zoom-min="17">
		<symbol src="file:vol_res/svg/tennis.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="sport|leisure" v="golf|golf_course" zoom-min="14">
		<rule cat="nocity" e="any" k="*" v="*" zoom-max="15">
			<symbol src="file:vol_res/svg/golf.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="16">
			<symbol src="file:vol_res/svg/golf.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
		</rule>
	</rule>
	<rule e="any" k="sport" v="shooting" zoom-min="16">
		<symbol src="file:vol_res/svg/shooting.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="leisure" v="stadium" zoom-min="16">
		<symbol src="file:vol_res/svg/stadium.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="leisure" v="sports_centre" zoom-min="16">
		<symbol src="file:vol_res/svg/leisure_centre.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="leisure" v="ls_track" zoom-min="16">
		<symbol src="file:vol_res/svg/track.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>

	<!-- shop -->
	<rule e="any" k="shop" v="sports" zoom-min="18">
		<symbol src="file:vol_res/svg/shop_sports.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="shop" v="doityourself" zoom-min="18">
		<symbol src="file:vol_res/svg/shop_diy.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="shop" v="bicycle|bicycle_tube" zoom-min="16">
		<rule cat="bike" e="any" k="*" v="*" zoom-max="17">
			<symbol src="file:vol_res/svg/shop_bicycle.svg" symbol-height="15dp" scale-icon-size="16,1.25"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="18">
			<symbol src="file:vol_res/svg/shop_bicycle.svg" symbol-height="15dp" scale-icon-size="16,1.25"/>
		</rule>
	</rule>
	<rule e="any" k="shop" v="organic|greengrocer" zoom-min="18">
		<symbol src="file:vol_res/svg/shop_organic.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="shop" v="farm" zoom-min="18">
		<symbol src="file:vol_res/svg/shop_farm.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="shop" v="butcher" zoom-min="18">
		<symbol src="file:vol_res/svg/shop_butcher.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="shop" v="laundry" zoom-min="18">
		<symbol src="file:vol_res/svg/shop_laundrette.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="shop" v="beverages" zoom-min="18">
		<symbol src="file:vol_res/svg/shop_drink.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="shop" v="books" zoom-min="18">
		<symbol src="file:vol_res/svg/shop_book.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="shop" v="car" zoom-min="17">
		<symbol src="file:vol_res/svg/shop_car.svg" symbol-height="14dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="shop" v="florist" zoom-min="18">
		<symbol src="file:vol_res/svg/shop_florist.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="shop" v="clothes|tailor" zoom-min="18">
		<symbol src="file:vol_res/svg/shop_clothes.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>		
	<rule e="any" k="shop" v="hairdresser" zoom-min="18">
		<symbol src="file:vol_res/svg/shop_hairdresser.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="shop" v="travel_agency" zoom-min="18">
		<symbol src="file:vol_res/svg/travel_agency.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
	</rule>

		<!-- aeroway symbols and captions -->
	<rule e="any" k="aeroway" v="helipad" zoom-min="16">
		<symbol src="file:vol_res/svg/helipad.svg" symbol-height="14dp" scale-icon-size="16,1.25"/>
		<caption k="name" font-style="bold" font-size="10dp" scale-font-size="16,1.1" scale-dy-size="16,1.1" fill="#4773b3" stroke="#80FFFFFF" stroke-width="2dp" dy="16dp"/>
	</rule>
	<rule e="node" k="aeroway" v="aerodrome|airport" zoom-min="14">
		<symbol src="file:vol_res/svg/airport.svg" symbol-height="14dp" scale-icon-size="16,1.25"/>
		<rule e="node" k="*" v="*" zoom-min="16">
			<caption k="name" font-style="bold" font-size="10dp" scale-font-size="16,1.1" scale-dy-size="16,1.2" fill="#4773b3" stroke="#80FFFFFF" stroke-width="2dp" dy="20dp"/>
		</rule>
	</rule>
	<rule e="way" k="aeroway" v="aerodrome|airport" zoom-min="16">
		<symbol src="file:vol_res/svg/airport.svg" symbol-height="14dp" scale-icon-size="16,1.25"/>
		<caption k="name" font-style="italic" font-family="serif" font-size="12dp" scale-font-size="16,1.1" scale-dy-size="16,1.2" fill="#4773b3" stroke="#80FFFFFF" stroke-width="2dp" dy="20dp"/>
	</rule>
	<rule e="any" k="aeroway" v="gate" zoom-min="17">
		<symbol src="file:vol_res/svg/aeroway_gate.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
		<caption k="name" font-style="bold" font-size="10dp" scale-font-size="16,1.1" scale-dy-size="16,1.1" fill="#4773b3" stroke="#80FFFFFF" stroke-width="2dp" dy="16dp"/>
		<caption k="ref" font-style="bold" font-size="10dp" scale-font-size="16,1.1" scale-dy-size="16,1.1" fill="#4773b3" stroke="#80FFFFFF" stroke-width="2dp" dy="-16dp"/>
	</rule>
	<!-- railway -->
	<rule cat="paths" e="any" k="railway" v="crossing" zoom-min="16">
		<symbol src="file:vol_res/svg/railway-crossing.svg" symbol-height="12dp" scale-icon-size="16,1.3"/>
	</rule>
	<rule e="any" k="railway" v="level_crossing" zoom-min="16">
		<symbol src="file:vol_res/svg/railway-crossing.svg" symbol-height="16dp" scale-icon-size="16,1.3"/>
	</rule>

	<!-- barriers -->
	<rule e="any" k="barrier" v="border_control" zoom-min="14">
		<symbol src="file:vol_res/svg/border_control.svg" symbol-height="10dp" scale-icon-size="16,1.25" priority="101" display="always"/>
	</rule>
	<rule e="any" k="military|police" v="checkpoint" zoom-min="15">
		<symbol src="file:vol_res/svg/border_control.svg" symbol-height="10dp" scale-icon-size="16,1.25" priority="101" display="always"/>
	</rule>
	<rule e="any" k="barrier" v="block" zoom-min="18">
	 	<symbol src="file:vol_res/svg/blocks.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="barrier" v="bollard" zoom-min="18">
		 <symbol src="file:vol_res/svg/bollard.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="barrier" v="log" zoom-min="18">
		 <symbol src="file:vol_res/svg/log.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="barrier" v="cattle_grid" zoom-min="18">
		<symbol src="file:vol_res/svg/cattle_grid.svg" symbol-height="18dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule e="any" k="barrier" v="cycle_barrier" zoom-min="17">
		<symbol src="file:vol_res/svg/cycle_barrier.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
	</rule>

	<rule e="any" k="barrier" v="gate" zoom-min="17">
		<rule e="any" k="access" v="private|acc_no|forestry|permit" zoom-min="18">
			<symbol src="file:vol_res/svg/gate_private.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
		</rule>
		<rule e="any" k="access" v="destination|~">
			<rule cat="bike" e="any" k="bicycle" v="bic_no|bic_forestry">
				<symbol src="file:vol_res/svg/gate_nobike.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
			</rule>
			<rule cat="bike" e="any" k="bicycle" v="bic_yes|bic_permissive|bic_designated|~|yes">
				<symbol src="file:vol_res/svg/gate.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
			</rule>
			<rule e="any" k="*" v="*|~">
				<symbol src="file:vol_res/svg/gate.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
			</rule>
		</rule>
	</rule>
	<rule e="any" k="barrier" v="lift_gate|chain" zoom-min="17">
		<symbol src="file:vol_res/svg/lift_gate.svg" symbol-height="13dp" scale-icon-size="16,1.25"/>
	</rule>

	<rule cat="paths" e="any" k="barrier" v="kissing_gate" zoom-min="17">
		<symbol src="file:vol_res/svg/kissing_gate.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule cat="paths" e="any" k="barrier" v="turnstile" zoom-min="17">
		<symbol src="file:vol_res/svg/turnstile.svg" symbol-height="13dp" scale-icon-size="16,1.25"/>
	</rule>
	<rule cat="paths" e="any" k="barrier" v="stile" zoom-min="17">
		<symbol src="file:vol_res/svg/stile.svg" symbol-height="10dp" scale-icon-size="16,1.25"/>
	</rule>
	
	<!-- leisure -->
	<rule e="any" k="leisure" v="playground" zoom-min="17">
		<rule e="any" k="access" v="~|destination">
			<symbol src="file:vol_res/svg/playground.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
		</rule>
		<rule e="any" k="access" v="private|acc_no" zoom-min="18">
			<symbol src="file:vol_res/svg/playground_private.svg" symbol-height="12dp" scale-icon-size="16,1.25"/>
		</rule>
	</rule>
	<rule e="any" k="leisure" v="slipway" zoom-min="17">
		<symbol src="file:vol_res/svg/slipway.svg" symbol-height="16dp" scale-icon-size="16,1.25"/>
	</rule>

	<!-- captions for POIs -->
	<rule e="node" k="waterway|natural" v="geyser|waterfall|rapids" zoom-min="17">
		<caption k="name" dy="20dp" font-style="bold" font-size="10dp" scale-font-size="16,1.1" scale-dy-size="16,1.15" fill="#3464a5" stroke="#C0FFFFFF" stroke-width="2dp"/>
	</rule>
	<rule e="any" k="amenity|waterway|natural|man_made" v="drinking_water|water_point|spring|water_well" zoom-min="18">
		<rule e="any" k="drinking_water" v="yes">
			<caption k="name" dy="16dp" font-style="bold" font-size="10dp" scale-font-size="18,1.1" scale-dy-size="16,1.15" fill="#734A08" stroke="#C0FFFFFF" stroke-width="2dp"/>
		</rule>
		<rule e="any" k="drinking_water" v="no|~">
			<caption k="name" dy="16dp" font-style="bold" font-size="10dp" scale-font-size="16,1.1" scale-dy-size="16,1.15" fill="#3464a5" stroke="#C0FFFFFF" stroke-width="2dp"/>
		</rule>
	</rule>
	<rule e="any" k="amenity|tourism|man_made|leisure|waterway" v="fuel|hostel|hotel|chalet|apartment|bicycle_rental|fountain|lighthouse|slipway|weir" zoom-min="20">
		<caption k="name" dy="20dp" font-style="bold" font-size="10dp" scale-font-size="18,1.1" scale-dy-size="16,1.15" fill="#4773b3" stroke="#C0FFFFFF" stroke-width="2dp"/>
	</rule>
	<rule e="any" k="amenity" v="hospital" zoom-min="18">
		<caption k="name" dy="16dp" font-style="bold" font-size="10dp" scale-font-size="18,1.1" scale-dy-size="16,1.15" fill="#CA1212" stroke="#C0FFFFFF" stroke-width="2dp"/>
	</rule>
	<rule e="any" k="amenity|shop|highway" v="doctors|pharmacy|chemist|emergency_access_point" zoom-min="18">
		<caption k="name" dy="16dp" font-style="bold" font-size="10dp" scale-font-size="18,1.1" scale-dy-size="16,1.15" fill="#CA1212" stroke="#C0FFFFFF" stroke-width="2dp"/>
	</rule>
	<rule e="any" k="tourism|amenity|information|man_made|leisure|highway|historic" v="artwork|boundary_stone|drinking_water|picnic_site|toilets|bench|office|board|terminal|zoo|memorial|wayside_cross|wayside_shrine|post_office|police|fire_station|cinema|library|theatre|windmill|watermill|playground|fast_food|biergarten|cafe|pub|bar|raceway|recycling" zoom-min="20">
		<caption k="name" dy="20dp" font-style="bold" font-size="10dp" scale-font-size="18,1.1" scale-dy-size="16,1.15" fill="#734A08" stroke="#C0FFFFFF" stroke-width="2dp"/>
	</rule>
	<rule e="any" k="amenity" v="shelter" zoom-min="19">
		<rule e="any" k="tourism" v="~">
			<rule e="any" k="shelter_type" v="picnic_shelter|rock_shelter|weather_shelter|~">
				<caption k="name" dy="20dp" font-style="bold" font-size="10dp" scale-font-size="18,1.1" scale-dy-size="16,1.15" fill="#734A08" stroke="#C0FFFFFF" stroke-width="2dp"/>
			</rule>
		</rule>
	</rule>
	<rule e="any" k="amenity|tower|building" v="atm|bank|communication|observation|embassy" zoom-min="19">
		<caption k="name" dy="22dp" font-style="bold" font-size="9dp" scale-font-size="18,1.1" scale-dy-size="16,1.15" fill="#606060" stroke="#C0ffffff" stroke-width="2dp"/>
	</rule>
	<rule e="any" k="power" v="station|generator|plant" zoom-min="19">
		<caption k="name" dy="22dp" font-style="bold" font-size="9dp" scale-font-size="18,1.1" scale-dy-size="16,1.15" fill="#7F7F02" stroke="#C0ffffff" stroke-width="2dp"/>
	</rule>
	<rule e="any" k="religion|amenity" v="christian|jewish|muslim|hindu|buddhist|place_of_worship|townhall" zoom-min="19">
		<caption k="name" dy="17dp" font-style="bold" font-size="9dp" scale-font-size="18,1.1" scale-dy-size="16,1.15" fill="#404040" stroke="#C0ffffff" stroke-width="2dp"/>
	</rule>
	<rule e="any" k="sport|climbing|leisure|amenity" v="swimming|water_park|swimming_area|beach_resort|climbing|cl_yes|soccer|tennis|golf|golf_course|sports_centre|shooting|stadium|ls_track" zoom-min="19">
		<caption k="name" dy="16dp" font-style="bold" font-size="10dp" scale-font-size="18,1.1" scale-dy-size="16,1.15" fill="#208020" stroke="#C0ffffff" stroke-width="2dp"/>
	</rule>
	<rule cat="ski" e="any" k="piste:type" v="downhill|nordic|sled" zoom-min="17">
		<caption k="name" dy="16dp" font-style="bold" font-size="10dp" scale-font-size="18,1.1" scale-dy-size="16,1.15" fill="#208020" stroke="#C0ffffff" stroke-width="2dp"/>
	</rule>
	<rule e="any" k="amenity" v="kindergarten|school|university|college" zoom-min="18">
		<caption k="name" dy="16dp" font-style="bold" font-size="10dp" scale-font-size="18,1.1" scale-dy-size="16,1.15" fill="#6B4CDA" stroke="#C0ffffff" stroke-width="2dp"/>
	</rule>
	<rule e="any" k="shop|amenity" v="mall|supermarket|marketplace" zoom-min="18">
		<caption k="name" dy="16dp" font-style="bold" font-size="10dp" scale-font-size="18,1.1" scale-dy-size="16,1.15" fill="#AC3690" stroke="#C0ffffff" stroke-width="2dp"/>
	</rule>
	<rule e="any" k="shop" v="*" zoom-min="20">
		<caption k="name" dy="16dp" font-style="bold" font-size="10dp" scale-font-size="18,1.1" scale-dy-size="16,1.15" fill="#AC3690" stroke="#C0ffffff" stroke-width="2dp"/>
	</rule>

	<!-- other building captions -->
	<rule e="any" k="building" v="*" zoom-min="20">
		<rule e="any" k="tourism|amenity|information|man_made|leisure|historic|highway|power|religion|tower|sport|leisure|amenity|shop|shelter_type" v="~">
		<caption k="name" font-style="normal" font-size="10dp" scale-font-size="18,1.1" scale-dy-size="16,1.15" fill="#303030" stroke="#C0ffffff" stroke-width="2dp" dy="16dp"/>
		</rule>
	</rule>
	<rule e="any" k="highway|peak_dist|hike_node|information" v="~">
		<rule e="any" k="addr:housenumber" v="*" zoom-min="20">
			<caption k="addr:housenumber" font-style="normal" font-size="8dp" scale-font-size="18,1.25" scale-dy-size="18,1.1" fill="#606060" stroke="#80ffffff" stroke-width="3dp" dy="-12dp"/>
		</rule>
	</rule>

	<!-- power lines -->
	<rule cat="nocity" e="way" k="power" v="*">
		<rule e="way" k="power" v="line" zoom-min="15">
			<line stroke="#7F7F02" stroke-width="0.7dp" stroke-dasharray="0.1,40" stroke-linecap="square"/>
			<line stroke="#807F7F02" stroke-width="0.25dp" stroke-dasharray="0.1,5,30,5" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="power" v="minor_line" zoom-min="16">
			<line stroke="#7F7F02" stroke-width="0.5dp" stroke-dasharray="0.1,30"/>
			<line stroke="#807F7F02" stroke-width="0.2dp" stroke-dasharray="0.1,4,3,3,10,3,3,4" stroke-linecap="butt"/>
		</rule>
	</rule>	
</rendertheme>
