<?xml version="1.0" encoding="UTF-8"?>
<!--
Voluntary Mapsforge for Locus/MF5
*********************************
v.260516

by John Campbell

MF5 Mapsforge Theme for MAPSFORGE V4+ OAM maps on Locus and others originally based on Openandromaps HC http://www.openandromaps.org/kartenlegende/andromaps_hc

Arrangement and order based on Elevate by Tobias Kuehn 
Contact: http://www.eartrumpet.net/contact/

This theme is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License: http://creativecommons.org/licenses/by-nc-sa/3.0/

symbols and patterns:
- most symbols: http://www.sjjb.co.uk/mapicons - CC-0 license
- other patterns and symbols are original or adaptions of other symbols, by Tobias Kuehn - CC BY NC SA 3.0 license
- some other symbols are adaptations of original symbols from: http://mapicons.nicolasmollet.com - CC BY SA 3.0 license
- cable_car, chair_lift, gondola are modifications by Tobias Kuehn of original symbols from: http://wiki.openstreetmap.org/wiki/Template:Aerialway/doc - CC BY SA 2.0 license
- some symbols (nature reserve, velocity, downhill ski, Nordic ski) are public domain from Noun Project
 - person by Jens Tärning from the Noun Project
 - Sledding by Alban Champliau from the Noun Project
- others from OSM cartograph

Contact: john.perceptive@gmail.com

HOUSEKEEPING NOTES: 
1. MF5- is legacy version for older apps that do not render path text on curves. Consequently pathtext and caption (for highways) differ in detail.
 a) See section headed "road refs collected". Up to zoom-max=14 use (currently commented) captions, not pathtext. From zoom-min=15 use pathtext without repeat-gap or repeat-start. 
 b) Search for "pathText repeat-gap" and remove all repeat-gaps and repeat-start for pathtext but NOT for symbols (currently aerial ways and one way arrows).
2. Legacy MF4 (no longer fully maintained) is suitable for older map apps that do not scale dotted or dashed lines.
-->

<rendertheme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://mapsforge.org/renderTheme" xsi:schemaLocation="http://mapsforge.org/renderTheme https://raw.githubusercontent.com/mapsforge/mapsforge/master/resources/renderTheme.xsd" version="5" map-background="#F8F8F8" map-background-outside="#EEEEEE">

	<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"/>
	</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"/>
	</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"/>
	</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"/>
	</layer>
	<layer id="waymarks" enabled="false">
		<name lang="de" value="↔️ Wegzeichen" />
		<name lang="en" value="↔️ waymarks" />
		<name lang="es" value="↔️ balizas" />
		<name lang="fr" value="↔️ balisage" />
		<name lang="it" value="↔️ segnavia" />
		<cat id="waymarks" />
	</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="c_tracks_paths"/>
		<cat id="c_s_hwy"/>
		<cat id="c_n_hwy"/>
		<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 cyclables"/>
		<name lang="it" value="🔵 percorsi ciclabili"/>
		<cat id="c_routes"/>
		<cat id="c_hwy"/>
		<cat id="c_n_routes"/>
		<cat id="c_n_hwy"/>
		<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_hwy"/>
		<cat id="c_n_routes"/>
		<cat id="c_n_hwy"/>
		<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="c_s_hwy"/>
		<cat id="c_n_hwy"/>
		<cat id="both"/>
	</layer>
	<layer id="c_s_cwy" enabled="false">
		<name lang="de" value="🩷 Betonte Fahrradwege"/>
		<name lang="en" value="🩷 emphasised cycleways"/>
		<name lang="es" value="🩷 ciclovías resaltadas"/>
		<name lang="fr" value="🩷 pistes cyclables soulignés"/>
		<name lang="it" value="🩷 percorso per biciclette accentato"/>
		<cat id="c_s_cwy"/>
	</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="c_s_hwy"/>
		<cat id="c_n_hwy"/>
		<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="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"/>
	</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"/>
	</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"/>
		<cat id="c_tracks_paths"/>
	</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"/>
		<cat id="c_tracks_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="vis_paths" enabled="false">
		<name lang="de" value="💡Klarere Fußwege"/>
		<name lang="en" value="💡clearer paths"/>
		<name lang="es" value="💡senderos más claros"/>
		<name lang="fr" value="💡sentiers plus dégagés"/>
		<name lang="it" value="💡percorsi più chiari"/>
		<cat id="vis_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="c_tracks_paths"/>
		<cat id="settlements"/>
		<cat id="background"/>
		<overlay id="sacpaths"/>
		<overlay id="vis_paths"/>
		<overlay id="h_routes"/>
		<overlay id="h_s_routes"/>
		<overlay id="h_s_color_routes"/>
		<overlay id="waymarks"/>
		<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="c_tracks_paths"/>
		<cat id="c_s_hwy"/>
		<cat id="c_n_hwy"/>
		<cat id="both"/>
		<overlay id="tracks"/>
		<overlay id="paths"/>
		<overlay id="c_surfaces"/>
		<overlay id="c_routes"/>
		<overlay id="c_s_routes"/>
		<overlay id="c_s_color_routes"/>
		<overlay id="c_s_cwy"/>
		<overlay id="mtb_routes"/>
		<overlay id="mtb_s_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_surfaces"/>
		<overlay id="c_tracks"/>
		<overlay id="c_routes_false"/>
		<overlay id="c_s_routes"/>
		<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"/>
		<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"/>
		<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="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="10">
			<area fill="#f8f8f8" stroke="#f8f8f8" stroke-width="2"/>
		</rule>
		<rule e="way" k="*" v="*" zoom-min="11">
			<area fill="#f8f8f8" stroke="#f8f8f8" stroke-width="0.125"/>
		</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.125"/>
		</rule>
		<!-- landuse -->
		<rule e="way" k="aeroway" v="aerodrome|helipad" zoom-min="11">
			<area fill="#d8dcce" stroke="#444444" stroke-width="0.125"/>
		</rule>
		<rule e="way" k="landuse" v="residential" zoom-min="10" zoom-max="11">
			<area fill="#E0E0E0"/>
		</rule>
		<rule e="way" k="landuse" v="residential|brownfield|construction" zoom-min="12">
			<area fill="#80D2D2D2"/>
		</rule>
		<rule cat="nocity" e="way" k="landuse" v="landfill" zoom-min="11" zoom-max="12">
			<area fill="#E5DCD3"/>
		</rule>
		<rule e="way" k="landuse|man_made" v="commercial|industrial|railway|garages|landfill|wastewater_plant|water_works|reservoir_covered" zoom-min="13">
			<area fill="#99D6C7B8" stroke="#A8A08C" stroke-width="0.125"/>
		</rule>
		<rule e="way" k="landuse" v="farmyard" zoom-min="13">
			<area fill="#bbD5D8C0" stroke="#CAD49A" stroke-width="0.125"/>
		</rule>
		<rule e="way" k="landuse" v="retail" zoom-min="13">
			<area fill="#80DFBEEA" stroke="#DC9ED1" stroke-width="0.125"/>
		</rule>
		<rule e="way" k="amenity" v="kindergarten|school|college|university" zoom-min="13">
			<area fill="#C6C0DA" stroke="#9586CC" stroke-width="0.125"/>
		</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.125"/>
	</rule>
	<rule cat="background" e="way" k="waterway" v="riverbank" closed="no">
		<line stroke="#b5d6f1" stroke-width="0.4" curve="cubic"/>
	</rule>

	<rule cat="background" e="way" k="*" v="*">
		<!-- greens -->
		<rule e="way" k="landuse" v="field|farm|farmland" zoom-min="12" closed="yes">
			<area fill="#70ECF8EC"/>
		</rule>
		<rule e="way" k="landuse|natural" v="meadow|grass|grassland|greenfield" zoom-min="13" closed="yes">
			<area fill="#bbe9f8d7" stroke="#C6E6B8" stroke-width="0.125"/>
		</rule>
		<rule e="way" k="natural" v="beach|sand|desert" closed="yes" zoom-min="10">
			<rule e="way" k="*" v="*" zoom-max="13">
				<area symbol-height="16" src="file:vol_res/patterns/beach.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="14" zoom-max="17">
				<area symbol-height="32" src="file:vol_res/patterns/beach.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<area symbol-height="64" src="file:vol_res/patterns/beach.svg"/>
			</rule>
		</rule>
		<rule e="way" k="natural" v="glacier" closed="yes">
			<rule e="way" k="*" v="*" zoom-max="13">
				<area fill="#e2e2F9"/>
				<area symbol-height="16" src="file:vol_res/patterns/glacier.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="14" zoom-max="17">
				<area fill="#40a0a0F0" stroke="#d0d0e8" stroke-width="0.8"/>
				<area symbol-height="32" src="file:vol_res/patterns/glacier.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<area fill="#40a0a0F0" stroke="#d0d0e8" stroke-width="0.8"/>
				<area symbol-height="64" src="file:vol_res/patterns/glacier.svg"/>
			</rule>
		</rule>	
		<!-- recreation-->
		<rule e="way" k="leisure|sport" v="sports_centre|shooting|stadium" closed="yes">
			<rule cat="nocity" e="way" k="building" v="~" zoom-min="11" zoom-max="12">
				<area fill="#ddc2e3bd"/>
			</rule>
			<rule e="way" k="building" v="~" zoom-min="13">
				<area fill="#ddc2e3bd" stroke="#5fb12d" stroke-width="0.125"/>
			</rule>
		</rule>
		<rule e="way" k="landuse" v="allotments">
			<rule e="way" k="*" v="*" zoom-min="12" zoom-max="12" cat="nocity">
				<area symbol-height="2" src="file:vol_res/patterns/allotments0.png"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="13" zoom-max="13" cat="nocity">
				<area symbol-height="4" src="file:vol_res/patterns/allotments.png" stroke="#A47C41" stroke-width="0.125"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="14" zoom-max="17">
				<area symbol-height="8" src="file:vol_res/patterns/allotments-large.png" stroke="#A47C41" stroke-width="0.125"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<area symbol-height="16" src="file:vol_res/patterns/allotments-large.png" stroke="#A47C41" stroke-width="0.125"/>
			</rule>
		</rule>
		<rule cat="nocity" e="way" k="leisure" v="common" zoom-min="11" closed="yes">
			<area fill="#bbeef0d9"/>
		</rule>
		<rule e="way" k="landuse|leisure" v="village_green|green|recreation_ground|park" zoom-min="12" closed="yes">
			<area fill="#BB99CC99"/>
		</rule>
		<rule cat="nocity" e="way" k="leisure|tourism" v="golf_course|camp_site|caravan_site" zoom-min="12" zoom-max="13" closed="yes">
			<area fill="#CCD7EFD7"/>
		</rule>
		<rule e="way" k="leisure|tourism" v="garden|golf_course|camp_site|caravan_site" zoom-min="13" closed="yes">
			<area fill="#CCD7EFD7" stroke="#C7DFC7" stroke-width="0.125"/>
			<rule e="way" k="access" v="private|acc_no|forestry|permit" zoom-min="14">
				<rule e="way" k="*" v="*" zoom-max="17">
					<area symbol-height="8" src="file:vol_res/patterns/access-private-garden.png"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="18">
					<area symbol-height="16" src="file:vol_res/patterns/access-private-garden.png"/>
				</rule>
			</rule>
		</rule>
		<rule e="way" k="tourism" v="zoo|picnic_site" closed="yes" zoom-min="13">
			<area fill="#BBA3F1B7" stroke="#6FC13D" stroke-width="0.125"/>
		</rule>
		
		<rule e="way" k="natural|landuse" v="forest|wood" closed="yes">
			<rule e="way" k="*" v="*" zoom-min="8" zoom-max="11">
				<area fill="#C8E1C8"/>
			</rule>
			<rule e="way" k="wood|leaf_type" v="coniferous|needleleaved" zoom-min="12">
				<rule cat="nocity" e="way" k="*" v="*" zoom-max="13">
					<area fill="#CADDCA"/>
					<area symbol-height="32" src="file:vol_res/patterns/wood-coniferous.svg"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="14" zoom-max="17">
					<area fill="#6074A574"/>
					<area symbol-height="64" src="file:vol_res/patterns/wood-coniferous.svg"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="18">
					<area fill="#6074A574"/>
					<area symbol-height="128" src="file:vol_res/patterns/wood-coniferous.svg"/>
				</rule>
			</rule>
			<rule e="way" k="wood|leaf_type" v="deciduous|broadleaved">
				<rule cat="nocity" e="way" k="*" v="*" zoom-min="12" zoom-max="13">
					<area fill="#C6E9C6"/>
					<area symbol-height="32" src="file:vol_res/patterns/wood-deciduous.svg"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="14" zoom-max="17">
					<area fill="#6068C568"/>
					<area symbol-height="64" src="file:vol_res/patterns/wood-deciduous.svg"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="18">
					<area fill="#6068C568"/>
					<area symbol-height="128" src="file:vol_res/patterns/wood-deciduous.svg"/>
				</rule>
			</rule>
			<rule e="way" k="wood|leaf_type" v="~|mixed|leafless">
				<rule cat="nocity" e="way" k="*" v="*" zoom-min="12" zoom-max="13">
					<area fill="#C8E1C8"/>
					<area symbol-height="32" src="file:vol_res/patterns/wood-mixed.svg"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="14" zoom-max="17">
					<area fill="#606Db16D"/>
					<area symbol-height="64" src="file:vol_res/patterns/wood-mixed.svg"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="18">
					<area fill="#606Db16D"/>
					<area symbol-height="128" src="file:vol_res/patterns/wood-mixed.svg"/>
				</rule>
			</rule>
		</rule>
		<rule e="way" k="natural" v="heath" closed="yes" zoom-min="11">
			<rule cat="nocity" e="any" k="*" v="*" zoom-max="13">
				<area fill="#60eef0d9"/>
				<rule e="any" k="*" v="*" zoom-min="12">
					<area symbol-height="16" src="file:vol_res/patterns/heath.svg"/>
				</rule>
			</rule>
			<rule e="any" k="*" v="*" zoom-min="14" zoom-max="17">
				<area fill="#60eef0d9"/>
				<area symbol-height="32" src="file:vol_res/patterns/heath.svg"/>
			</rule>
			<rule e="any" k="*" v="*" zoom-min="18">
				<area fill="#60eef0d9"/>
				<area symbol-height="64" src="file:vol_res/patterns/heath.svg"/>
			</rule>
		</rule>
		<rule e="way" k="natural" v="scrub" closed="yes" zoom-min="12">
			<rule cat="nocity" e="any" k="*" v="*" zoom-max="13">
				<area symbol-height="16" src="file:vol_res/patterns/scrub.svg"/>	
			</rule>
			<rule e="any" k="*" v="*" zoom-min="14" zoom-max="17">
				<area symbol-height="32" src="file:vol_res/patterns/scrub.svg"/>
			</rule>
			<rule e="any" k="*" v="*" zoom-min="18">
				<area symbol-height="64" src="file:vol_res/patterns/scrub.svg"/>
			</rule>
		</rule>
		
		<rule e="way" k="natural" v="fell" closed="yes" zoom-min="11">
			<rule cat="nocity" e="any" k="natural" v="fell" zoom-max="12">
				<area fill="#60eaf1ea"/>
			</rule>
			<rule e="any" k="natural" v="fell" zoom-min="13">
				<area fill="#60eaf1ea"/>
			</rule>
			<rule cat="nocity" e="any" k="*" v="*" zoom-min="12" zoom-max="13">
				<area symbol-height="16" src="file:vol_res/patterns/fell.svg"/>
			</rule>
			<rule e="any" k="*" v="*" zoom-min="14" zoom-max="17">
				<area symbol-height="32" src="file:vol_res/patterns/fell.svg"/>
			</rule>
			<rule e="any" k="*" v="*" zoom-min="18">
				<area symbol-height="64" src="file:vol_res/patterns/fell.svg"/>
			</rule>
		</rule>
		<rule e="way" k="landuse" v="orchard" zoom-min="12">
			<rule cat="nocity" e="way" k="*" v="*" zoom-max="13">
				<area symbol-height="16" src="file:vol_res/patterns/orchard.svg" stroke="#CBD497" stroke-width="0.125"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="14" zoom-max="17">
				<area symbol-height="32" src="file:vol_res/patterns/orchard.svg" stroke="#CBD497" stroke-width="0.125"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<area symbol-height="64" src="file:vol_res/patterns/orchard.svg" stroke="#CBD497" stroke-width="0.125"/>
			</rule>
		</rule>
		<rule e="way" k="landuse" v="vineyard" zoom-min="12">
			<rule cat="nocity" e="way" k="*" v="*" zoom-max="13">
				<area symbol-height="16" src="file:vol_res/patterns/vineyard.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="14" zoom-max="17">
				<area symbol-height="32" src="file:vol_res/patterns/vineyard.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<area symbol-height="64" src="file:vol_res/patterns/vineyard.svg"/>
			</rule>
		</rule>
		<rule e="way" k="natural" v="rock" closed="yes" zoom-min="12">
			<rule cat="nocity" e="way" k="*" v="*" zoom-max="13">
				<area symbol-height="16" src="file:vol_res/patterns/rock.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="14" zoom-max="17">
				<area symbol-height="32" src="file:vol_res/patterns/rock.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<area symbol-height="64" src="file:vol_res/patterns/rock.svg"/>
			</rule>
		</rule>
		<rule e="way" k="natural" v="scree|shingle" zoom-min="10" closed="yes">
			<rule cat="nocity" e="any" k="*" v="*" zoom-max="11">
				<area fill="#E0E0E0"/>
			</rule>
			<rule cat="nocity" e="any" k="*" v="*" zoom-min="12" zoom-max="13">
				<area symbol-height="16" src="file:vol_res/patterns/scree.svg"/>	
			</rule>
			<rule e="any" k="*" v="*" zoom-min="14" zoom-max="17">
				<area symbol-height="32" src="file:vol_res/patterns/scree.svg"/>	
			</rule>
			<rule e="any" k="*" v="*" zoom-min="18">
				<area symbol-height="64" src="file:vol_res/patterns/scree.svg"/>	
			</rule>
		</rule>
		<rule e="way" k="landuse" v="quarry" closed="yes" zoom-min="11">
			<rule cat="nocity" e="way" k="*" v="*" zoom-max="11">
				<area fill="#E5DCD3"/>
			</rule>
			<rule cat="nocity" e="way" k="*" v="*" zoom-min="12" zoom-max="13">
				<area fill="#99D6C7B8" stroke="#A8A08C" stroke-width="0.125"/>
				<area symbol-height="16" src="file:vol_res/patterns/quarry.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="14" zoom-max="17">
				<area fill="#99D6C7B8" stroke="#A8A08C" stroke-width="0.125"/>
				<area symbol-height="32" src="file:vol_res/patterns/quarry.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<area fill="#99D6C7B8" stroke="#A8A08C" stroke-width="0.125"/>
				<area symbol-height="64" src="file:vol_res/patterns/quarry.svg"/>
			</rule>
		</rule>
		<rule e="way" k="landuse|amenity" v="cemetery|grave_yard" zoom-min="12">
			<rule e="way" k="*" v="*" zoom-max="13" cat="nocity">
				<area fill="#B8DFCB" stroke="#B0B0B0" stroke-width="0.125"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="14" zoom-max="15">
				<area symbol-height="16" src="file:vol_res/patterns/cemetery.svg" stroke="#e4e4e4" stroke-width="0.125"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="16" zoom-max="17">
				<area symbol-height="32" src="file:vol_res/patterns/cemetery.svg" stroke="#e4e4e4" stroke-width="0.125"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<area symbol-height="64" src="file:vol_res/patterns/cemetery.svg" stroke="#e4e4e4" stroke-width="0.125"/>
			</rule>
		</rule>
		<!-- landuse overlays -->
		<rule e="way" k="landuse" v="landfill|construction|brownfield">
			<rule e="any" k="*" v="*" zoom-min="11" zoom-max="13" cat="nocity">
				<area symbol-height="16" src="file:vol_res/patterns/fill.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="14" zoom-max="17">
				<area symbol-height="32" src="file:vol_res/patterns/fill.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<area symbol-height="64" 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="11" zoom-max="13" cat="nocity">
			<line stroke="#A3A3A3" stroke-width="1.3"/>
			<line stroke="#C40000" stroke-width="1.3" stroke-linecap="butt" scale="all" stroke-dasharray="1,1"/>
			<area fill="#f8f8f8"/>
		</rule>
	</rule>
	<!-- /bugfix -->

	<rule cat="background" e="way" k="leisure" v="ls_track" closed="yes" zoom-min="13">
		<rule e="way" k="based_on_rel|area" v="mp|yes">
			<area fill="#ddbde3cb" stroke="#5fb12d" stroke-width="0.125"/>
		</rule>
	</rule>

	<rule e="way" k="boundary" v="~" zoom-min="6" cat="nocity">
		<!-- contour lines level 6 & 7 -->
		<rule e="way" k="contour_ext" v="*" zoom-max="7">
			<rule e="way" k="contour_ext" v="elevation_major">
				<line stroke="#B0A94949" stroke-width="0.4" curve="cubic"/>
			</rule>
		</rule>
		<!-- contour lines level 8, 9 & 10 -->
		<rule e="way" k="contour_ext" v="*" zoom-min="8" zoom-max="10">
			<rule e="way" k="contour_ext" v="elevation_medium">
				<line stroke="#B0A94949" stroke-width="0.12" curve="cubic"/>
			</rule>
			<rule e="way" k="contour_ext" v="elevation_major">
				<line stroke="#B0A94949" stroke-width="0.3" curve="cubic"/>
			</rule>
		</rule>
		<!-- contour lines level 11 -->
		<rule e="way" k="contour_ext" v="*" zoom-min="11" zoom-max="11">
			<rule e="way" k="contour_ext" v="elevation_medium"> 
				<line stroke="#B0A94949" stroke-width="0.12" curve="cubic"/>
			</rule>
			<rule e="way" k="contour_ext" v="elevation_major"> 
				<line stroke="#B0A94949" stroke-width="0.3" curve="cubic"/>
			</rule>
		</rule>
		<!-- contour lines level 12-->
		<rule e="way" k="contour_ext" v="*" zoom-min="12" zoom-max="12">
			<rule e="way" k="contour_ext" v="elevation_medium"> 
				<line stroke="#B0A94949" stroke-width="0.09" curve="cubic"/>
			</rule>
			<rule e="way" k="contour_ext" v="elevation_major"> 
				<line stroke="#B0A94949" stroke-width="0.22" curve="cubic"/>
			</rule> 
		</rule>
		<!-- contour lines level 13-->
		<rule e="way" k="contour_ext" v="*" zoom-min="13" zoom-max="13">
			<rule e="way" k="contour_ext" v="elevation_minor"> 
				<line stroke="#B0A94949" stroke-width="0.08" curve="cubic"/>
			</rule>
			<rule e="way" k="contour_ext" v="elevation_medium|elevation_major"> 
				<line stroke="#B0A94949" stroke-width="0.2" curve="cubic"/>
				<rule e="way" k="*" v="*" cat="background">
					<pathText repeat-gap="100" k="ele" font-style="normal" font-size="8" fill="#B0A94949" stroke="#a0ffffff" stroke-width="1.5" text-orientation="left"/>
				</rule>
			</rule>
		</rule>
		<!-- contour lines level 14 & 15 -->
		<rule e="way" k="contour_ext" v="*" zoom-min="14" zoom-max="15">
			<rule e="way" k="contour_ext" v="elevation_minor"> 
				<line stroke="#B0A94949" stroke-width="0.06" curve="cubic"/>
			</rule>
			<rule e="way" k="contour_ext" v="elevation_medium|elevation_major"> 
				<line stroke="#B0A94949" stroke-width="0.15" curve="cubic"/>
				<rule e="way" k="*" v="*" cat="background">
					<pathText repeat-gap="200" k="ele" font-style="bold" font-size="9" fill="#B0A94949" stroke="#a0ffffff" stroke-width="2" text-orientation="left"/>
				</rule>
			</rule>
		</rule> 
		<!-- contour lines level 16 and above -->
		<rule cat="noroad" e="way" k="contour_ext" v="*" zoom-min="16">
			<rule e="way" k="contour_ext" v="elevation_minor"> 
				<line stroke="#B0A94949" stroke-width="0.05" curve="cubic"/>
			</rule>
			<rule e="way" k="contour_ext" v="elevation_medium|elevation_major"> 
				<line stroke="#B0A94949" stroke-width="0.12" curve="cubic"/>
				<pathText repeat-gap="200" k="ele" font-style="bold" font-size="12" fill="#B0A94949" stroke="#a0ffffff" stroke-width="2" text-orientation="left"/>
			</rule>
		</rule>
	</rule>
<rule cat="background" e="way" k="os_open_data" v="crags" closed="yes" zoom-min="13" zoom-max="16">
  <area fill="#66000000" />
</rule>
<rule cat="background" e="way" k="os_open_data" v="crags" closed="yes" zoom-min="17">
  <area stroke-width="0.1" stroke="#80606060" fill="#60606060" />
</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="14">
			<rule e="way" k="embankment" v="~">
				<rule e="way" k="highway" v="~">
					<line stroke="#5fbc7d" stroke-width="3.2" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt"/>
					<line stroke="#5fbc7d" stroke-width="1.25" stroke-linecap="butt"/>
					<line stroke="#f8f8f8" stroke-width="1.05" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="highway" v="*">
					<line stroke="#5fbc7d" stroke-width="4.2" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt"/>
					<line stroke="#5fbc7d" stroke-width="2.25" stroke-linecap="butt"/>
					<line stroke="#f8f8f8" stroke-width="2.05" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="highway" v="motorway|trunk|primary">
					<line stroke="#5fbc7d" stroke-width="4.6" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt"/>
					<line stroke="#5fbc7d" stroke-width="2.65" stroke-linecap="butt"/>
					<line stroke="#f8f8f8" stroke-width="2.45" stroke-linecap="butt"/>
				</rule>
			</rule>
		</rule>
	
		<rule cat="nocity" e="way" k="embankment" v="emb_yes" zoom-min="14">
			<rule e="way" k="highway|waterway" v="~">
				<line stroke="#bc995f" stroke-width="3.2" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="1.25" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="1.05" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="waterway" v="canal|river">
				<line stroke="#bc995f" stroke-width="3.7" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt" curve="cubic"/>
				<line stroke="#bc995f" stroke-width="1.75" stroke-linecap="butt" curve="cubic"/>
				<line stroke="#f8f8f8" stroke-width="1.55" stroke-linecap="butt" curve="cubic"/>
			</rule>
			<rule e="way" k="highway" v="footway|path|bridleway|cycleway|steps">
				<line stroke="#bc995f" stroke-width="3.2" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="1.25" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="1.05" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="highway" v="track|byway|service|busway|residential|living_street|construction|road|ford|pedestrian|unclassified|tertiary_link|secondary_link|primary_link|trunk_link|tertiary|secondary">
				<line stroke="#bc995f" stroke-width="4.2" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="2.25" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="2.05" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="highway" v="motorway|trunk|primary">
				<line stroke="#bc995f" stroke-width="4.6" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="2.65" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="2.45" stroke-linecap="butt"/>
			</rule>
		</rule>

		<rule cat="nocity" e="way" k="man_made" v="embankment" zoom-min="14" closed="no">
			<rule e="way" k="embankment" v="~">
				<rule e="way" k="railway" v="*">
					<line stroke="#bc995f" stroke-width="3.2" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt"/>
					<line stroke="#bc995f" stroke-width="1.25" stroke-linecap="butt"/>
					<line stroke="#f8f8f8" stroke-width="1.05" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="waterway" v="canal|river">
					<line stroke="#bc995f" stroke-width="3.7" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt"/>
					<line stroke="#bc995f" stroke-width="1.75" stroke-linecap="butt"/>
					<line stroke="#f8f8f8" stroke-width="1.55" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="highway" v="footway|path|bridleway|cycleway|steps">
					<line stroke="#bc995f" stroke-width="3.2" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt"/>
					<line stroke="#bc995f" stroke-width="1.25" stroke-linecap="butt"/>
					<line stroke="#f8f8f8" stroke-width="1.05" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="highway" v="track|byway|service|busway|residential|living_street|construction|road|ford|pedestrian|unclassified|tertiary_link|secondary_link|primary_link|trunk_link|tertiary|secondary">
					<line stroke="#bc995f" stroke-width="4.2" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt"/>
					<line stroke="#bc995f" stroke-width="2.25" stroke-linecap="butt"/>
					<line stroke="#f8f8f8" stroke-width="2.05" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="highway" v="motorway|trunk|primary">
					<line stroke="#bc995f" stroke-width="4.6" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt"/>
					<line stroke="#bc995f" stroke-width="2.65" stroke-linecap="butt"/>
					<line stroke="#f8f8f8" stroke-width="2.45" stroke-linecap="butt"/>
				</rule>
			</rule>
		</rule>
	</rule>
	
	<rule cat="nocity" e="way" k="cutting" v="cut_yes" zoom-min="14">
			<rule e="way" k="highway|waterway" v="~">
				<line stroke="#f8f8f8" stroke-width="0.8" dy="1.1" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="0.8" dy="-1.1" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="0.1" dy="1.55" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="0.1" dy="-1.55" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="0.8" dy="1.1" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="0.8" dy="-1.1" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt"/>
				<rule e="way" k="waterway" v="canal|river">
					<line stroke="#f8f8f8" stroke-width="0.8" dy="1.35" stroke-linecap="butt" curve="cubic"/>
				<line stroke="#f8f8f8" stroke-width="0.8" dy="-1.35" stroke-linecap="butt" curve="cubic"/>
				<line stroke="#bc995f" stroke-width="0.1" dy="1.8" stroke-linecap="butt" curve="cubic"/>
				<line stroke="#bc995f" stroke-width="0.1" dy="-1.8" stroke-linecap="butt" curve="cubic"/>
				<line stroke="#bc995f" stroke-width="0.8" dy="1.35" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt" curve="cubic"/>
				<line stroke="#bc995f" stroke-width="0.8" dy="-1.35" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt" curve="cubic"/>
				</rule>
			</rule>
			<rule e="way" k="highway" v="footway|path|bridleway|cycleway|steps">
				<line stroke="#f8f8f8" stroke-width="0.8" dy="1.1" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="0.8" dy="-1.1" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="0.1" dy="1.55" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="0.1" dy="-1.55" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="0.8" dy="1.1" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="0.8" dy="-1.1" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="highway" v="track|byway|service|busway|residential|living_street|construction|road|ford|pedestrian|unclassified|tertiary_link|secondary_link|primary_link|trunk_link|tertiary|secondary">
				<line stroke="#f8f8f8" stroke-width="0.8" dy="1.5" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="0.8" dy="-1.5" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="0.1" dy="1.95" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="0.1" dy="-1.95" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="0.8" dy="1.5" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="0.8" dy="-1.5" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="highway" v="motorway|trunk|primary">
				<line stroke="#f8f8f8" stroke-width="0.8" dy="1.7" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="0.8" dy="-1.7" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="0.1" dy="2.15" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="0.1" dy="-2.15" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="0.8" dy="1.7" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt"/>
				<line stroke="#bc995f" stroke-width="0.8" dy="-1.7" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt"/>
			</rule>
		</rule>

	<!-- waterways -->
	<!-- waterway bridges -->
	<rule cat="background" e="way" k="bridge" v="yes|aqueduct|movable" zoom-min="12">
		<rule e="way" k="waterway" v="ditch" zoom-min="15">
			<line stroke="#181818" stroke-width="0.6" stroke-linecap="butt" curve="cubic"/>
			<line stroke="#f8f8f8" stroke-width="0.3" stroke-linecap="butt" curve="cubic"/>
		</rule>
		<rule e="way" k="waterway" v="drain|stream" zoom-min="14">
			<line stroke="#181818" stroke-width="1.4" stroke-linecap="butt" curve="cubic"/>
			<line stroke="#f8f8f8" stroke-width="1" stroke-linecap="butt" curve="cubic"/>
		</rule>
		<rule e="way" k="waterway" v="canal">
			<line stroke="#181818" stroke-width="2.05" stroke-linecap="butt" curve="cubic"/>
			<line stroke="#f8f8f8" stroke-width="1.6" stroke-linecap="butt" curve="cubic"/>
		</rule>
		<rule e="way" k="waterway" v="river">
			<line stroke="#181818" stroke-width="2.45" stroke-linecap="butt" curve="cubic"/>
			<line stroke="#f8f8f8" stroke-width="2" stroke-linecap="butt" curve="cubic"/>
		</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="10">
			<area fill="#b5d6f1"/>
		</rule>
		<rule e="way" k="*" v="*" closed="yes" zoom-min="11">
			<area fill="#b5d6f1" stroke="#b5d6f1" stroke-width="0.125"/>
		</rule>
		<rule e="way" k="*" v="*" closed="no" zoom-min="11">
			<line stroke="#b5d6f1" stroke-width="0.4"/>
		</rule>
		<rule e="way" k="amenity" v="~" zoom-min="16">
			<caption k="name" font-style="italic" font-family="serif" font-size="12" fill="#3464a5" stroke="#C0ffffff" stroke-width="3"/>
		</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="13">
			<area symbol-height="16" src="file:vol_res/patterns/marsh.svg"/>
		</rule>
		<rule e="way" k="*" v="*" zoom-min="14" zoom-max="17">
			<area symbol-height="32" src="file:vol_res/patterns/marsh.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
			<area symbol-height="64" src="file:vol_res/patterns/marsh.svg"/>
			</rule>
		<rule e="way" k="*" v="*" zoom-min="15">
			<caption k="name" font-style="italic" font-family="serif" font-size="12" fill="#559955" stroke="#C0ffffff" stroke-width="3"/>
		</rule>
	</rule>

	<!-- waterways -->
	<!-- underground waterways -->
	<rule cat="background" e="way" k="tunnel" v="yes" zoom-min="12">
		<rule e="way" k="waterway" v="canal">
			<line stroke="#90b5d6f1" stroke-width="1.2" curve="cubic"/>
			<line stroke="#90ffffff" stroke-width="1" scale="all" stroke-dasharray="1,3" stroke-linecap="butt" curve="cubic"/>
		</rule>
		<rule e="way" k="waterway" v="river">
			<line stroke="#90b5d6f1" stroke-width="1.6" curve="cubic"/>
			<line stroke="#90ffffff" stroke-width="1.4" scale="all" stroke-dasharray="1,3" stroke-linecap="butt" curve="cubic"/>
		</rule>
	</rule>

	<rule cat="background" e="way" k="tunnel" v="~">
		<rule e="way" k="waterway" v="ditch" zoom-min="14">
			<line stroke="#b5d6f1" stroke-width="0.2" curve="cubic"/>
		</rule>
		<rule e="way" k="waterway" v="stream|drain" zoom-min="13">
			<line stroke="#b5d6f1" stroke-width="0.7" curve="cubic"/>
		</rule>
		<rule e="way" k="waterway" v="canal" zoom-min="9">
			<rule e="way" k="based_on_rel|area" v="mp|yes">
				<area fill="#b5d6f1"/>
			</rule>
			<rule e="way" k="based_on_rel|area" v="~|area_no">
				<line stroke="#b5d6f1" stroke-width="1.2" curve="cubic"/>
			</rule>
		</rule>
		<rule e="way" k="waterway" v="river" zoom-min="9">
			<line stroke="#b5d6f1" stroke-width="1.6" curve="cubic"/>
		</rule>
	</rule>
	<!-- / no tunnel -->

	<rule cat="background" e="way" k="waterway" v="dock" zoom-min="12">
		<area fill="#b5d6f1" stroke="#9b9b79" stroke-width="0.083"/>
	</rule>
	<rule cat="background" e="way" k="lock" v="yes" zoom-min="12">
		<rule e="way" k="waterway" v="river">
			<line stroke="#5E8BAD" stroke-width="2" stroke-linecap="square"/>
			<line stroke="#b5d6f1" stroke-width="1.6" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="waterway" v="canal">
			<line stroke="#5E8BAD" stroke-width="1.6" stroke-linecap="square"/>
			<line stroke="#b5d6f1" stroke-width="1.2" stroke-linecap="butt"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="17">
			<caption k="name" dy="18" font-style="bold" font-size="10" fill="#4773b3" stroke="#C0FFFFFF" stroke-width="2"/>
		</rule>
	</rule>
	<rule e="way" k="waterway" v="weir" zoom-min="12">
		<rule e="way" k="*" v="*" zoom-max="14">
			<line stroke="#5E8BAD" stroke-width="0.3"/>
		</rule>
		<rule e="way" k="*" v="*" zoom-min="15">
			<line stroke="#5E8BAD" stroke-width="0.7"/>
			<line stroke="#dbf1Ff" stroke-width="0.7" scale="all" stroke-dasharray="0.6,0.2" 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="13" cat="nocity">
				<line stroke="#A8A08C" stroke-width="0.6"/>
				<area fill="#E3DAD1"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="14">
				<area fill="#E3DAD1" stroke="#A8A08C" stroke-width="0.3"/>
			</rule>
		</rule>
		<rule e="way" k="*" v="*" closed="no">
			<line stroke="#A8A08C" stroke-width="0.9" stroke-linecap="square"/>
			<line stroke="#E3DAD1" stroke-width="0.3" stroke-linecap="square"/>
		</rule>
	</rule>
	<rule e="way" k="tunnel" v="~">
		<rule e="way" k="waterway" v="river" zoom-min="15">
			<pathText repeat-gap="400" repeat-start="25" k="name" font-style="bold" font-size="12" fill="#3464a5" stroke="#C0FFFFFF" stroke-width="2"/>
		</rule>
		<rule e="way" k="waterway" v="stream|canal" zoom-min="16">
			<pathText repeat-gap="400" repeat-start="25" k="name" font-style="bold" font-size="10" fill="#3464a5" stroke="#C0FFFFFF" stroke-width="2"/>
		</rule>
	</rule>
	<!-- / no tunnel -->

	<!-- man_made -->
	<rule cat="background" e="way" k="barrier" v="ditch" zoom-min="14">
		<line stroke="#bc995f" dy="0.26" stroke-width="0.36" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt" />
		<line stroke="#bc995f" dy="-0.26" stroke-width="0.36" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt" />
		<line stroke="#bc995f" dy="0.45" stroke-width="0.05" stroke-linecap="butt" />
		<line stroke="#bc995f" dy="-0.45" stroke-width="0.05" stroke-linecap="butt" />
	</rule>
	<rule cat="background" e="way" k="man_made" v="pipeline" zoom-min="16">
		<rule e="way" k="tunnel|location" v="overground|overhead|no|~">
			<line stroke="#5E8BAD" stroke-width="1" stroke-linecap="butt" />
			<line stroke="#b5d6f1" stroke-width="0.8" scale="all" stroke-dasharray="2,0.4" stroke-linecap="butt"/>
			<line stroke="#ffffff" stroke-width="0.25" stroke-linecap="butt"/>
			<pathText repeat-gap="200" repeat-start="25" k="name" font-style="bold" font-size="12" fill="#9CA6BA" stroke="#C0FFFFFF" stroke-width="2"/>
		</rule>
	</rule>

	<!-- natural ways -->
	<rule e="way" k="natural" v="gorge" closed="no" zoom-min="14">
			<pathText k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#666666" stroke="#80FFFFFF" stroke-width="3" dy="-0.8"/>
	</rule>

	<rule e="way" k="natural" v="cliff" closed="no" zoom-min="12">
		<rule e="way" k="*" v="*" zoom-max="13" cat="nocity">
			<line stroke="#80606060" stroke-width="0.2"/>
		</rule>
		<rule e="way" k="*" v="*" zoom-min="14">
			<rule cat="background" e="way" k="*" v="*">
				<line src="file:vol_res/patterns/rock.svg" stroke-width="1.5" dy="0.75"/>
			</rule>
			<line stroke="#80606060" stroke-width="1" scale="all" stroke-dasharray="0.1,0.3" stroke-linecap="butt" dy="0.5"/>
			<line stroke="#80606060" stroke-width="0.125"/>
			<pathText k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#666666" stroke="#80FFFFFF" stroke-width="3" dy="-0.8"/>
		</rule>
	</rule>
	<rule e="way" k="natural" v="cliff" closed="yes" zoom-min="12">
		<rule e="any" k="based_on_rel|area" v="mp|yes">
			<rule cat="background" e="way" k="*" v="*" zoom-max="17">
				<area symbol-height="22" src="file:vol_res/patterns/rock.svg" stroke="#80606060" stroke-width="0.125"/>
			</rule>
			<rule cat="background" e="way" k="*" v="*" zoom-min="18">
				<area symbol-height="44" src="file:vol_res/patterns/rock.svg" stroke="#80606060" stroke-width="0.125"/>
			</rule>
			<line stroke="#60606060" dy="0.3" stroke-width="0.6" scale="all" stroke-dasharray="0.1,0.3" stroke-linecap="butt"/>
		</rule>
		<rule e="any" k="based_on_rel|area" v="~|area_no">
			<rule cat="nocity" e="way" k="*" v="*" zoom-max="13">
				<line stroke="#80606060" stroke-width="0.125"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="14">
				<rule cat="background" e="way" k="*" v="*">
					<line src="file:vol_res/patterns/rock.svg" stroke-width="1.5" dy="0.75"/>
				</rule>
				<line stroke="#80606060" stroke-width="0.125"/>
				<line stroke="#80606060" stroke-width="1" scale="all" stroke-dasharray="0.1,0.3" stroke-linecap="butt" dy="0.5"/>
			</rule>
		</rule>
		<caption k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#666666" stroke="#80FFFFFF" stroke-width="3"/>
	</rule>
	<rule e="way" k="natural" v="earth_bank" closed="no" zoom-min="12">
		<rule e="way" k="*" v="*" zoom-max="13" cat="nocity">
			<line stroke="#5fbc7d" stroke-width="0.1"/>
		</rule>
		<rule e="way" k="*" v="*" zoom-min="14">
			<line stroke="#5fbc7d" stroke-width="0.1"/>
			<line stroke="#5fbc7d" stroke-width="1" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt" dy="0.55"/>
			<pathText k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#666666" stroke="#80FFFFFF" stroke-width="3" dy="-0.8"/>
		</rule>
	</rule>
	
	<rule cat="background" e="way" k="natural" v="gully" closed="no" zoom-min="14">
		<line stroke="#5fbc7d" dy="0.26" stroke-width="0.36" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt" />
		<line stroke="#5fbc7d" dy="-0.26" stroke-width="0.36" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt" />
		<line stroke="#5fbc7d" dy="0.45" stroke-width="0.05" stroke-linecap="butt" />
		<line stroke="#5fbc7d" dy="-0.45" stroke-width="0.05" stroke-linecap="butt" />
		<pathText k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#666666" stroke="#80FFFFFF" stroke-width="3" dy="-0.8"/>
	</rule>
	
<rule e="way" k="natural" v="ridge|arete" zoom-min="14">
		<rule cat="background" e="way" k="*" v="*">
			<line src="file:vol_res/patterns/rock.svg" stroke-width="1.5"/>
		</rule>
		<line stroke="#40606060" stroke-width="1.25" scale="all" stroke-dasharray="0.1,0.3" stroke-linecap="butt"/>
		<line stroke="#40606060" stroke-width="0.7" scale="all" stroke-dasharray="0.1,0.3" stroke-linecap="butt"/>
		<line stroke="#60666666" stroke-width="0.125"/>
		<pathText k="name" font-style="italic" font-family="serif" font-size="12" fill="#666666" stroke="#80FFFFFF" stroke-width="3" dy="0.8"/>
	</rule>

	<rule e="way" k="natural" v="crevasse" closed="no" zoom-min="12">
		<line stroke="#88F7F7" stroke-width="3" stroke-linecap="butt"/>
		<line stroke="#E8FFFF" stroke-width="1.4" stroke-linecap="butt"/>
	</rule>
	<rule e="way" k="natural" v="crevasse" closed="yes" zoom-min="12">
		<line stroke="#88F7F7" stroke-width="1.4"/>
		<area fill="#2888F7F7"/>
	</rule>
	<rule cat="background" e="way" k="natural" v="crater" closed="yes" zoom-min="10">
		<area fill="#28505050"/>
	</rule>
	<rule e="way" k="natural" v="crater" zoom-min="12">
		<line stroke="#28505050" stroke-width="2.5" stroke-linecap="round"/>
		<line stroke="#28606060" stroke-width="1.25" scale="all" stroke-dasharray="0.1,0.3" stroke-linecap="butt"/>
		<line stroke="#28606060" stroke-width="0.7" scale="all" stroke-dasharray="0.1,0.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="13">
			<area fill="#D3EBD9" stroke="#734A08" stroke-width="0.125"/>
		</rule>
		<rule e="way" k="historic" v="ruins|castle|memorial|monument|archaeological_site" closed="yes" zoom-min="14">
			<rule e="way" k="building" v="~">
				<line stroke="#207b2300" stroke-width="0.2" dy="0.1" stroke-linecap="butt" stroke-linejoin="miter"/>
				<rule e="any" k="*" v="*" zoom-min="16">
					<line stroke="#207b2300" stroke-width="0.5" dy="0.25" stroke-linecap="butt" stroke-linejoin="miter"/>
				</rule>
			</rule>
		</rule>
		
		<rule e="way" k="amenity" v="parking">
			<area fill="#FFFDDC" stroke="#e9dd72" stroke-width="0.125"/>
			<rule e="way" k="access" v="private|acc_no|permit">
				<rule e="way" k="*" v="*" zoom-max="17">
					<area symbol-height="8" src="file:vol_res/patterns/access-private.png"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="18">
					<area symbol-height="16" src="file:vol_res/patterns/access-private.png"/>
				</rule>
			</rule>
			<rule e="way" k="access" v="destination">
				<rule e="way" k="*" v="*" zoom-max="17">
					<area symbol-height="8" src="file:vol_res/patterns/access-destination.png"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="18">
					<area symbol-height="16" src="file:vol_res/patterns/access-destination.png"/>
				</rule>
			</rule>
		</rule>
		<rule e="way" k="amenity" v="fountain" closed="yes" zoom-min="12">
			<area fill="#b5d6f1" stroke="#734A08" stroke-width="0.125"/>
		</rule>

		<!-- leisure -->
		<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.125"/>
				<rule e="way" k="access" v="private|acc_no|forestry|permit" zoom-min="14">
					<rule e="way" k="*" v="*" zoom-max="17">
					<area symbol-height="8" src="file:vol_res/patterns/access-private-garden.png"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="18">
					<area symbol-height="16" src="file:vol_res/patterns/access-private-garden.png"/>
				</rule>
				</rule>
			</rule>
		</rule>
		<rule e="way" k="leisure" v="ls_track" closed="no" zoom-min="12">
			<line stroke="#5fb12d" stroke-width="0.95"/>
			<line stroke="#bde3cb" stroke-width="0.65"/>
		</rule>
		<rule e="way" k="leisure" v="ls_track" closed="yes" zoom-min="13">
			<rule e="way" k="based_on_rel|area" v="~|area_no">
				<line stroke="#5fb12d" stroke-width="0.95"/>
				<line stroke="#bde3cb" stroke-width="0.65"/>
			</rule>
		</rule>
		<rule e="way" k="leisure|amenity" v="swimming_pool" closed="yes">
			<area fill="#b5d6f1" stroke="#5fb12d" stroke-width="0.125"/>
		</rule>
		<rule e="way" k="sport" v="swimming" zoom-min="14">
			<rule e="way" k="leisure" v="~">
				<line stroke="#5fb12d" stroke-width="0.125"/>
				<rule e="any" k="*" v="*" zoom-max="17">
					<area symbol-height="64" src="file:vol_res/patterns/swimming_small.svg" />
				</rule>
				<rule e="any" k="*" v="*" zoom-min="18">
					<area symbol-height="128" 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.125"/>
			<rule e="any" k="*" v="*" zoom-max="17">
				<area symbol-height="64" src="file:vol_res/patterns/swimming_small.svg" />
			</rule>
			<rule e="any" k="*" v="*" zoom-min="18">
				<area symbol-height="128" 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.125"/>
		<rule e="any" k="*" v="*" zoom-max="17">
				<area symbol-height="64" src="file:vol_res/patterns/water_park_small.svg" />
			</rule>
			<rule e="any" k="*" v="*" zoom-min="18">
				<area symbol-height="128" 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.125"/>
			<rule e="any" k="*" v="*" zoom-max="17">
				<area symbol-height="64" src="file:vol_res/patterns/beach_resort_small.svg" />
			</rule>
			<rule e="any" k="*" v="*" zoom-min="18">
				<area symbol-height="128" 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.125"/>
		</rule>
		<rule e="way" k="tourism" v="attraction|zoo" closed="yes" zoom-min="11">
			<rule cat="nocity" e="way" k="*" v="*" zoom-max="13">
				<area symbol-height="32" src="file:vol_res/patterns/attraction_small.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="14" zoom-max="17">
				<area symbol-height="64" src="file:vol_res/patterns/attraction_large.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<area symbol-height="128" src="file:vol_res/patterns/attraction_large.svg"/>
			</rule>
			<rule e="any" k="leisure" v="~" zoom-min="15">
				<line stroke="#307b2300" stroke-width="1" scale="all" stroke-dasharray="3,1,1,1" stroke-linecap="butt"/>
				<line stroke="#40FFFFFF" stroke-width="1" scale="all" stroke-dasharray="0,3,1,1,1,0" stroke-linecap="butt"/>
				<rule e="way" k="leisure" v="~" zoom-min="16" zoom-max="16">
					<line stroke="#187b2300" stroke-width="1.6" dy="0.3" stroke-linecap="butt"/>
				</rule>
				<rule e="any" k="leisure" v="~" zoom-min="17">
					<line stroke="#187b2300" stroke-width="1.75" dy="0.375" stroke-linecap="butt"/>
				</rule>
			</rule>
		</rule>
		<rule e="way" k="tourism" v="attraction" closed="no" zoom-min="15">
			<rule e="any" k="leisure" v="~">
				<line stroke="#307b2300" stroke-width="1" scale="all" stroke-dasharray="3,1,1,1" stroke-linecap="butt"/>
				<line stroke="#40FFFFFF" stroke-width="1" scale="all" stroke-dasharray="0,3,1,1,1,0" stroke-linecap="butt"/>
			</rule>
		</rule>

		<!-- power station -->
		<rule e="way" k="power" v="station|generator|plant">
			<rule e="way" k="*" v="*" closed="yes">
				<area fill="#307F7F02" stroke="#7F7F02" stroke-width="0.125"/>
			</rule>
			<rule e="way" k="*" v="*" closed="no">
				<line stroke="#7F7F02" stroke-width="0.25"/>
			</rule>
		</rule>
		<!-- platform cores -->
		<rule e="way" k="highway|railway|public_transport" v="platform">
			<rule e="way" k="*" v="*" closed="yes">
				<area fill="#C7C7B3" stroke="#8E8E6F" stroke-width="0.1"/>
			</rule>
			<rule e="way" k="*" v="*" closed="no">
				<line stroke="#8E8E6F" stroke-width="0.9" stroke-linecap="square"/>
				<line stroke="#C7C7B3" stroke-width="0.7" stroke-linecap="square"/>
			</rule>
		</rule>

		<!-- man_made features -->
		<rule e="way" k="man_made" v="embankment" zoom-min="13" cat="nocity" closed="no">
			<rule e="way" k="highway|railway|waterway" v="~">
				<line stroke="#bc995f" stroke-width="0.1"/>
				<rule e="way" k="*" v="*" zoom-min="14">
					<line dy="0.55" stroke="#bc995f" stroke-width="1" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt"/>
				</rule>
			</rule>
		</rule>
		<rule e="way" k="man_made" v="embankment" zoom-min="14" cat="nocity" closed="yes">
			<rule e="way" k="based_on_rel|area" v="~|area_no">
				<line stroke="#bc995f" stroke-width="0.1"/>
				<rule e="way" k="*" v="*" zoom-min="14">
					<line dy="-0.55" stroke="#bc995f" stroke-width="1" scale="all" stroke-dasharray="0.05,0.3" stroke-linecap="butt"/>
				</rule>
			</rule>
		</rule>

		<rule e="way" k="man_made" v="groyne" zoom-min="13" cat="nocity">
			<line stroke="#A69D9D" stroke-width="1" scale="all" stroke-dasharray="0.02,3.6"/>
			<line stroke="#A69D9D" stroke-width="0.5"/>
			<line stroke="#E6DFDF" stroke-width="0.8" scale="all" stroke-dasharray="0.02,3.6"/>
			<line stroke="#E6DFDF" stroke-width="0.3"/>
		</rule>

		<rule e="way" k="man_made" v="pier">
			<rule e="way" k="*" v="*" closed="yes">
				<area fill="#E3DAD1" stroke="#A8A08C" stroke-width="0.1"/>
			</rule>
			<rule e="way" k="*" v="*" closed="no">
				<line stroke="#A8A08C" stroke-width="0.8" stroke-linecap="square"/>
				<line stroke="#E3DAD1" stroke-width="0.6" stroke-linecap="square"/>
			</rule>
		</rule>

		<rule e="way" k="man_made" v="breakwater">
			<rule e="way" k="*" v="*" closed="yes">
				<area fill="#E6DFDF" stroke="#A69D9D" stroke-width="0.1"/>
			</rule>
			<rule e="way" k="*" v="*" closed="no">
				<line stroke="#A69D9D" stroke-width="0.8" stroke-linecap="square"/>
				<line stroke="#E6DFDF" stroke-width="0.6" stroke-linecap="square"/>
			</rule>
		</rule>
	</rule>
	<!-- /POI areas -->

	<!-- non-physical boundaries -->
	<!-- map border -->
	<rule e="way" k="boundary" v="map_inner" zoom-max="11">
		<line stroke="#10800000" stroke-width="4" stroke-linecap="butt"/>
	</rule>
	
	<!-- administrative boundaries -->
	<rule e="way" k="admin_level" v="4|5|6">
		<rule e="way" k="*" v="*" zoom-max="13">
			<line stroke="#28909060" stroke-width="8" />
			<line stroke="#3000ff00" stroke-width="1.5"/>
		</rule>	
		<rule e="way" k="*" v="*" zoom-min="14">
			<line stroke="#28909060" stroke-width="4" />
			<line stroke="#20FFFFff" stroke-width="0.75" />
			<line stroke="#00cc00" stroke-width="0.75" scale="all" stroke-dasharray="0.4,0.4" stroke-linecap="butt" />
		</rule>	
	</rule>	
	<rule e="way" k="admin_level" v="3">
		<rule e="way" k="*" v="*" zoom-max="13">
			<line stroke="#40909060" stroke-width="10" />
			<line stroke="#30ffa000" stroke-width="1.5"/>
		</rule>	
		<rule e="way" k="*" v="*" zoom-min="14">
			<line stroke="#40909060" stroke-width="5" />
			<line stroke="#20FFFFff" stroke-width="1" />
			<line stroke="#ffa000" stroke-width="1" scale="all" stroke-dasharray="0.4,0.4" stroke-linecap="butt" />
		</rule>	
	</rule>	
	<rule e="way" k="admin_level" v="2">
		<rule e="way" k="*" v="*" zoom-max="13">
			<line stroke="#40909060" stroke-width="12"/>
			<line stroke="#30ee4444" stroke-width="1.5"/>
		</rule>	
		<rule e="way" k="*" v="*" zoom-min="14">
			<line stroke="#40909060" stroke-width="6" />
			<line stroke="#20FFFFff" stroke-width="1" />
			<line stroke="#ee4444" stroke-width="1" scale="all" stroke-dasharray="0.4,0.4" stroke-linecap="butt" />
		</rule>	
	</rule>	
	
	<!-- military -->
	<rule e="way" k="military" v="airfield|barracks|naval_base" zoom-min="9">
		<rule e="any" k="building" v="~" zoom-max="12" cat="nocity">
			<area fill="#40A4A854"/>
			<area symbol-height="32" src="file:vol_res/patterns/military0.svg"/>
		</rule>
		<rule e="any" k="building" v="~" zoom-min="13">
				<area fill="#40A4A854"/>
			<rule e="way" k="*" v="*" zoom-min="13" zoom-max="13" cat="nocity">
				<area symbol-height="64" src="file:vol_res/patterns/military_small.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="14">
				<area symbol-height="128" src="file:vol_res/patterns/military_large.svg"/>
				<rule e="way" k="*" v="*" zoom-min="15">
					<line stroke="#90A4A854" stroke-width="1" scale="all" stroke-dasharray="3,1,1,1" stroke-linecap="butt"/>
				</rule>
			</rule>
		</rule>
	</rule>
	<rule e="way" k="military|building" v="~" zoom-min="9">
		<rule e="way" k="landuse" v="military">
			<rule e="any" k="*" v="*" zoom-max="12" cat="nocity">
				<area fill="#40A4A854"/>
				<area symbol-height="32" src="file:vol_res/patterns/military0.svg"/>
			</rule>
			<rule e="any" k="*" v="*" zoom-min="13">
				<area fill="#40A4A854"/>
				<rule e="way" k="*" v="*" zoom-max="13" cat="nocity">
					<area symbol-height="64" src="file:vol_res/patterns/military_small.svg"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="14">
					<area symbol-height="128" src="file:vol_res/patterns/military_large.svg"/>
					<rule e="way" k="*" v="*" zoom-min="15">
						<line stroke="#90A4A854" stroke-width="1" scale="all" stroke-dasharray="3,1,1,1" stroke-linecap="butt"/>
					</rule>
				</rule>
			</rule>
		</rule>
	</rule>

	<rule cat="background" e="way" k="boundary|leisure" v="nature_reserve|national_park|protected_area">
		<!-- open access -->
		<rule e="any" k="access" v="~|public|permissive">
			<rule cat="nocity" e="any" k="protect_class" v="pr_2|pr_3|pr_4|pr_5|~" closed="yes" zoom-min="8" zoom-max="11">
				<area fill="#14f0a000" />
			</rule>
			<rule cat="nocity" e="any" k="protect_class" v="pr_2|pr_3|pr_4|pr_5|pr_7|~" closed="yes" zoom-min="12" zoom-max="15">
				<area fill="#0ff0a000"/>
			</rule>
			<rule cat="nocity" e="any" k="protect_class" v="pr_2|pr_3|pr_4|pr_5|pr_7|~" closed="yes" zoom-min="16" zoom-max="17">
				<area fill="#0af0a000" />
			</rule>
			<rule cat="nocity" e="any" k="protect_class" v="pr_2|pr_3|pr_4|pr_5|pr_7|~" closed="yes" zoom-min="18">
				<area fill="#05f0a000" />
			</rule>

			<rule e="any" k="protect_class" v="pr_2|pr_3|pr_4|pr_5|pr_7|~" closed="yes" zoom-min="15">
				<line stroke="#40208020" stroke-width="1" scale="all" stroke-dasharray="3,1,1,1" stroke-linecap="butt"/>
				<line stroke="#40FFFFFF" stroke-width="1" scale="all" stroke-dasharray="0,3,1,1,1,0" stroke-linecap="butt"/>
				<rule e="way" k="*" v="*" zoom-min="16" zoom-max="16">
					<line stroke="#20208020" stroke-width="1.6" dy="0.3" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="17">
					<line stroke="#20208020" stroke-width="1.75" dy="0.375" stroke-linecap="butt"/>
				</rule>
			</rule>
			<rule e="way" k="protect_class" v="pr_2|pr_3|pr_4|pr_5|pr_7|~" zoom-min="16" closed="yes">
				<caption k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#C0208020" stroke="#80ffffff" stroke-width="3" priority="5"/>
			</rule>
		</rule>
	
		<!-- restricted access -->
		<rule e="any" k="access|access:conditional|access:offroad" v="private|acc_no|discouraged|acc_con_no|acc_off_no">
			<rule cat="nocity" e="any" k="protect_class" v="pr_2|pr_3|pr_4|pr_5|~" closed="yes" zoom-min="8" zoom-max="11">
				<area fill="#1ef02000" />
			</rule>
			<rule cat="nocity" e="any" k="protect_class" v="pr_2|pr_3|pr_4|pr_5|pr_7|pr_14|~" closed="yes" zoom-min="12" zoom-max="15">
				<area fill="#14f02000" />
			</rule>
			<rule cat="nocity" e="any" k="protect_class" v="pr_2|pr_3|pr_4|pr_5|pr_7|pr_14|~" closed="yes" zoom-min="16" zoom-max="17">
				<area fill="#0cf02000" />
			</rule>
			<rule cat="nocity" e="any" k="protect_class" v="pr_2|pr_3|pr_4|pr_5|pr_7|pr_14|~" closed="yes" zoom-min="18">
				<area fill="#06f02000" />
			</rule>
			
			<rule e="any" k="protect_class" v="pr_2|pr_3|pr_4|pr_5|pr_7|pr_14|~" closed="yes" zoom-min="15">
				<line stroke="#60b02020" stroke-width="1" scale="all" stroke-dasharray="3,1,1,1" stroke-linecap="butt"/>
				<line stroke="#40FFFFFF" stroke-width="1" scale="all" stroke-dasharray="0,3,1,1,1,0" stroke-linecap="butt"/>
				<rule e="way" k="*" v="*" zoom-min="16" zoom-max="16">
					<line stroke="#20b02020" stroke-width="1.6" dy="0.3" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="17">
					<line stroke="#20b02020" stroke-width="1.75" dy="0.375" stroke-linecap="butt"/>
				</rule>
			</rule>
			<rule e="way" k="protect_class" v="pr_2|pr_3|pr_4|pr_5|pr_7|pr_14|~" zoom-min="16" closed="yes">
				<caption k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#c0b02020" stroke="#80ffffff" stroke-width="3" priority="5"/>
			</rule>
		</rule>
	</rule>
	
	<rule cat="background" e="way" k="protect_class|boundary" v="pr_1|aboriginal_lands" closed="yes" zoom-min="8">
		<rule cat="nocity" e="any" k="*" v="*" zoom-max="11">
			<area fill="#1ef02000" />
		</rule>
		<rule cat="nocity" e="any" k="*" v="*" zoom-min="12" zoom-max="15">
			<area fill="#14f02000" />
		</rule>
		<rule cat="nocity" e="any" k="*" v="*" closed="yes" zoom-min="16" zoom-max="17">
			<area fill="#0cf02000" />
		</rule>
		<rule cat="nocity" e="any" k="*" v="*" closed="yes" zoom-min="18">
			<area fill="#06f02000" />
		</rule>
		
		<rule e="any" k="*" v="*" zoom-min="15">
			<line stroke="#60b02020" stroke-width="1" scale="all" stroke-dasharray="3,1,1,1" stroke-linecap="butt"/>
			<line stroke="#40FFFFFF" stroke-width="1" scale="all" stroke-dasharray="0,3,1,1,1,0" stroke-linecap="butt"/>
			<rule e="any" k="*" v="*" zoom-min="16">
				<line stroke="#20b02020" stroke-width="1.75" dy="0.375" stroke-linecap="butt"/>
			</rule>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="16" closed="yes">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#c0b02020" stroke="#80ffffff" stroke-width="3" priority="5"/>
		</rule>
	</rule>

	<!-- nature reserve -->
	<rule e="way" k="leisure" v="nature_reserve" zoom-min="10" zoom-max="13" cat="nocity" closed="yes">
		<area symbol-height="32" src="file:vol_res/patterns/nature_reserve_small.svg"/>
	</rule>
	<rule e="way" k="leisure" v="nature_reserve" zoom-min="14" zoom-max="17" closed="yes">
		<area symbol-height="64" src="file:vol_res/patterns/nature_reserve_large.svg"/>
	</rule>
	<rule e="way" k="leisure" v="nature_reserve" zoom-min="18" closed="yes">
		<area symbol-height="128" src="file:vol_res/patterns/nature_reserve_large.svg"/>
	</rule>

	<!-- aboriginal_lands -->
	<rule e="way" k="boundary" v="aboriginal_lands" zoom-min="10" zoom-max="13" cat="nocity" closed="yes">
		<area symbol-height="32" src="file:vol_res/patterns/aboriginal_small.svg"/>
	</rule>
	<rule e="way" k="boundary" v="aboriginal_lands" zoom-min="14" zoom-max="17" closed="yes">
		<area symbol-height="64" src="file:vol_res/patterns/aboriginal_large.svg"/>
	</rule>
	<rule e="way" k="boundary" v="aboriginal_lands" zoom-min="18" closed="yes">
		<area symbol-height="128" src="file:vol_res/patterns/aboriginal_large.svg"/>
	</rule>

	<!-- runways casings and areas -->
	<rule cat="background" e="way" k="aeroway" v="taxiway" closed="yes" zoom-min="11">
		<rule e="way" k="based_on_rel|area" v="mp|yes">
			<line stroke="#444444" stroke-width="0.4"/>
			<area fill="#d3d1c5"/>
		</rule>
<!--bugfix-->
		<rule e="way" k="based_on_rel|area" v="~|area_no" closed="yes" zoom-min="11" zoom-max="14">
			<line stroke="#d3d1c5" stroke-width="3.6"/>
			<area fill="#d8dcce"/>
		</rule>
<!-- /bugfix-->
	</rule>
	<rule cat="background" e="way" k="aeroway" v="apron">
		<rule e="way" k="*" v="*" zoom-min="9" zoom-max="14">
			<area fill="#C7C5AB"/>
		</rule>
		<rule e="way" k="*" v="*" zoom-min="15">
			<area fill="#C7C5AB" stroke="#444444" stroke-width="0.125"/>
		</rule>
	</rule>
	<rule cat="background" e="way" k="aeroway" v="terminal">
		<area fill="#888888" stroke="#181818" stroke-width="0.125"/>
	</rule>
	<rule cat="background" e="way" k="aeroway" v="taxiway" closed="no" zoom-min="11">
		<line stroke="#444444" stroke-width="1.8" stroke-linecap="butt"/>
	</rule>
	<rule cat="background" e="way" k="aeroway" v="taxiway" closed="yes" zoom-min="15">
		<rule e="way" k="based_on_rel|area" v="~|area_no">
			<line stroke="#444444" stroke-width="1.8"/>
		</rule>
	</rule>
	<rule cat="background" e="way" k="aeroway" v="runway" closed="yes" zoom-min="15">
		<line stroke="#444444" stroke-width="1"/>
	</rule> 
	<rule cat="background" e="way" k="aeroway" v="runway" closed="no" zoom-min="15">
		<line stroke="#444444" stroke-width="4" stroke-linecap="square"/>
	</rule>

	<!-- buildings -->
	<rule cat="background" e="way" k="landuse|area|building" v="~" zoom-min="13">
		<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.125"/>
		</rule>
	</rule>
	<rule cat="background" e="way" k="building" v="*" zoom-min="13">
		<rule e="way" k="railway" v="~">
			<area fill="#BBBBBB" stroke="#999999" stroke-width="0.125"/>
		</rule>
		<rule e="way" k="railway" v="*">
			<area fill="#70404040" stroke="#999999" stroke-width="0.125"/>
		</rule>
		<rule e="way" k="building" v="greenhouse">
			<rule cat="nocity" e="way" k="*" v="*" zoom-max="13">
				<area symbol-height="8" src="file:vol_res/patterns/greenhouse.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="14" zoom-max="17">
				<area symbol-height="16" src="file:vol_res/patterns/greenhouse.svg"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<area symbol-height="32" src="file:vol_res/patterns/greenhouse.svg"/>
			</rule>
			<line stroke="#bbbbbb" stroke-width="0.25" dy="0.175" stroke-linecap="butt" stroke-linejoin="miter" />
			<line stroke="#999999" stroke-width="0.125"/>
		</rule>
		<rule e="way" k="military" v="*">
			<line stroke="#A4A854" stroke-width="0.125"/>
		</rule>
		<rule e="way" k="amenity" v="place_of_worship|library|townhall|hospital">
			<area fill="#999999" stroke="#444444" stroke-width="0.125"/>
		</rule>
		<rule e="way" k="amenity" v="parking">
			<area fill="#FFFDDC"/>
			<line stroke="#bbbbbb" stroke-width="0.5" dy="0.3" stroke-linecap="butt" stroke-linejoin="miter" />
			<line stroke="#999999" stroke-width="0.125"/>
		</rule>
		<rule e="way" k="historic" v="ruins|castle|memorial|monument">
			<line stroke="#734A08" stroke-width="0.125"/>
		</rule>
	</rule>
	<rule cat="background" e="way" k="building" v="kindergarten|school|college|university|government|library|museum|church|hospital" zoom-min="13">
		<area fill="#999999" stroke="#444444" stroke-width="0.125"/>
	</rule>
	<rule e="way" k="building" v="temporary|construction" zoom-min="13">
		<area fill="#80F8F8F8"/>
		<line stroke="#c8c8c8" stroke-width="0.125" scale="all" stroke-dasharray="0.25,0.25" stroke-linecap="butt"/>
	</rule>
	
	<!-- abandoned railway -->
	<rule cat="background" e="way" k="railway" v="abandoned" zoom-min="13">
		<rule e="way" k="tunnel" v="~|no">
			<rule e="way" k="bridge" v="yes|viaduct|movable">
				<line stroke="#181818" stroke-width="1.05" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="0.7" stroke-linecap="butt"/>
			</rule>
			<line stroke="#80FFFFFF" stroke-width="0.5" scale="all" stroke-dasharray="2.3,0.1" stroke-linecap="butt"/>
			<line stroke="#40808080" stroke-width="0.5" scale="all" stroke-dasharray="2.3,2.5" stroke-linecap="butt"/>
		</rule>
	</rule>

	<!-- BARRIERS ETC -->
	<rule cat="noroad" e="way" k="barrier" v="fence" zoom-min="15">
		<line stroke="#80ffffff" stroke-width="0.2" stroke-linecap="butt"/>
			<line stroke="#999999" stroke-width="0.1" scale="all" stroke-dasharray="0.01,0.25,0.5,0.25" stroke-linecap="butt"/>
			<line stroke="#999999" stroke-width="0.2" scale="all" stroke-dasharray="0.01,1"/>
	 </rule>
	<rule cat="noroad" e="way" k="barrier" v="hedge" zoom-min="15">
		<line stroke="#60ffffff" stroke-width="0.3" stroke-linecap="butt"/>
		<line stroke="#CC99bb77" stroke-width="0.15" stroke-linecap="butt"/>
		<line stroke="#CC99bb77" stroke-width="0.3" scale="all" stroke-dasharray="0.1,0.5" stroke-linecap="round" />
	 </rule>
	<rule cat="noroad" e="way" k="natural" v="tree_row" zoom-min="15">
		<line stroke="#60ffffff" stroke-width="1.5" scale="all" stroke-dasharray="0.05,2.95" stroke-linecap="round" />
		<line stroke="#CC99bb77" stroke-width="0.6" scale="all" stroke-dasharray="0.05,1.45" stroke-linecap="round" />
		<line stroke="#CC99bb77" stroke-width="1.2" scale="all" stroke-dasharray="0.05,2.95" stroke-linecap="round" />
	 </rule>
	<rule e="way" k="barrier|building" v="city_wall" zoom-min="15">
		<line stroke="#60734A08" stroke-width="1.5"/>
		<line stroke="#734A08" stroke-width="0.2"/>
	</rule> 
	<rule e="way" k="barrier|building" v="wall">
		<rule e="any" k="*" v="*" zoom-min="14" zoom-max="16">
			<line stroke="#888888" stroke-width="0.2" stroke-linecap="butt"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="17">
			<line stroke="#666666" stroke-width="0.45" stroke-linecap="butt"/>
			<line stroke="#dddddd" stroke-width="0.25" scale="all" stroke-dasharray="0.3,0.075" stroke-linecap="butt"/>
			<line stroke="#666666" stroke-width="0.05" stroke-linecap="butt"/>
		</rule>
	</rule>
	<rule e="way" k="barrier" v="retaining_wall">
		<rule e="any" k="*" v="*" zoom-min="15" zoom-max="17">
			<line stroke="#AAAAAA" stroke-width="0.2" stroke-linecap="butt"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="18">
			<line stroke="#AAAAAA" stroke-width="0.45" stroke-linecap="butt"/>
			<line stroke="#EEEEEE" stroke-width="0.25" scale="all" stroke-dasharray="0.3,0.075" stroke-linecap="butt"/>
			<line stroke="#AAAAAA" stroke-width="0.05" stroke-linecap="butt"/>
			<line stroke="#80606060" stroke-width="0.8" scale="all" stroke-dasharray="0.05,0.125" stroke-linecap="butt" dy="0.4"/>
		</rule>
	</rule>

	<hillshading zoom-min="9" zoom-max="17" />

	<!-- tunnel -->
	<rule e="way" k="tunnel" v="yes">
		<!-- highway & railway tunnels -->
		<rule e="way" k="based_on_rel|area" v="~|area_no">
		<!-- highway tunnel -->
		<rule cat="paths" e="way" k="highway" v="footway|path|steps" zoom-min="13">
			<line stroke="#28000000" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,0.6,0.3" stroke-linecap="butt"/>
			<line stroke="#80FFFFFF" stroke-width="0.5" scale="all" stroke-dasharray="0.3,0.6,0.3,0" stroke-linecap="butt"/>
		</rule>
		<rule cat="paths" e="way" k="highway" v="bridleway|cycleway" zoom-min="13">
			<line stroke="#28000000" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
			<line stroke="#80FFFFFF" stroke-width="0.5" scale="all" stroke-dasharray="0.3,1.8,0.3,0" stroke-linecap="butt"/>
		</rule>
		<rule cat="tracks" e="way" k="highway" v="track|byway" zoom-min="13">
			<line stroke="#40000000" dy="0.6" stroke-width="0.2" scale="all" stroke-dasharray="0.3,0.1" stroke-linecap="butt"/>
			<line stroke="#80FFFFFF" dy="0.6" stroke-width="0.2" scale="all" stroke-dasharray="0,0.3,0.1,0" stroke-linecap="butt"/>
			<line stroke="#40000000" dy="-0.6" stroke-width="0.2" scale="all" stroke-dasharray="0.3,0.1" stroke-linecap="butt"/>
			<line stroke="#80FFFFFF" dy="-0.6" stroke-width="0.2" scale="all" stroke-dasharray="0,0.3,0.1,0" stroke-linecap="butt"/>
			<line stroke="#40FFFFFF" stroke-width="1" stroke-linecap="butt"/>
			<rule cat="road" e="way" k="*" v="*">
				<line stroke="#40FFFFFF" stroke-width="1" stroke-linecap="butt"/>
			</rule>
		</rule>
		<rule e="way" k="highway" v="service|busway|raceway" zoom-min="13">
			<rule e="any" k="service" v="~|alley">
				<line stroke="#40000000" dy="0.6" stroke-width="0.2" scale="all" stroke-dasharray="0.3,0.1" stroke-linecap="butt"/>
				<line stroke="#80FFFFFF" dy="0.6" stroke-width="0.2" scale="all" stroke-dasharray="0,0.3,0.1,0" stroke-linecap="butt"/>
				<line stroke="#40000000" dy="-0.6" stroke-width="0.2" scale="all" stroke-dasharray="0.3,0.1" stroke-linecap="butt"/>
				<line stroke="#80FFFFFF" dy="-0.6" stroke-width="0.2" scale="all" stroke-dasharray="0,0.3,0.1,0" stroke-linecap="butt"/>
				<line stroke="#40FFFFFF" stroke-width="1" stroke-linecap="butt"/>
				<rule cat="road" e="way" k="*" v="*">
					<line stroke="#40FFFFFF" stroke-width="1" stroke-linecap="butt"/>
				</rule>
			</rule>
		</rule>
		<rule e="way" k="highway" v="service" zoom-min="15">
			<rule e="any" k="service" v="driveway|emergency_access|drive-through|parking_aisle">
				<line stroke="#40000000" dy="0.45" stroke-width="0.2" scale="all" stroke-dasharray="0.3,0.1" stroke-linecap="butt"/>
				<line stroke="#80FFFFFF" dy="0.45" stroke-width="0.2" scale="all" stroke-dasharray="0,0.3,0.1,0" stroke-linecap="butt"/>
				<line stroke="#40000000" dy="-0.45" stroke-width="0.2" scale="all" stroke-dasharray="0.3,0.1" stroke-linecap="butt"/>
				<line stroke="#80FFFFFF" dy="-0.45" stroke-width="0.2" scale="all" stroke-dasharray="0,0.3,0.1,0" stroke-linecap="butt"/>
				<line stroke="#40FFFFFF" stroke-width="1" stroke-linecap="butt"/>
				<rule cat="road" e="way" k="*" v="*">
					<line stroke="#40FFFFFF" stroke-width="0.7" stroke-linecap="butt"/>
				</rule>
			</rule>
		</rule>
		<rule e="way" k="highway" v="construction|living_street|unclassified|residential|road" zoom-min="13">
			<line stroke="#40000000" dy="0.7" stroke-width="0.2" scale="all" stroke-dasharray="0.3,0.1" stroke-linecap="butt"/>
			<line stroke="#80FFFFFF" dy="0.7" stroke-width="0.2" scale="all" stroke-dasharray="0,0.3,0.1,0" stroke-linecap="butt"/>
			<line stroke="#40000000" dy="-0.7" stroke-width="0.2" scale="all" stroke-dasharray="0.3,0.1" stroke-linecap="butt"/>
			<line stroke="#80FFFFFF" dy="-0.7" stroke-width="0.2" scale="all" stroke-dasharray="0,0.3,0.1,0" stroke-linecap="butt"/>
			<line stroke="#40FFFFFF" stroke-width="1.15" stroke-linecap="butt"/>
			<rule cat="road" e="way" k="*" v="*">
				<line stroke="#40FFFFFF" stroke-width="1.15" stroke-linecap="butt"/>
			</rule>
		</rule>
		<rule e="way" k="highway" v="pedestrian" zoom-min="13">
			<line stroke="#40000000" dy="0.45" stroke-width="0.2" scale="all" stroke-dasharray="0.3,0.1" stroke-linecap="butt"/>
			<line stroke="#80FFFFFF" dy="0.45" stroke-width="0.2" scale="all" stroke-dasharray="0,0.3,0.1,0" stroke-linecap="butt"/>
			<line stroke="#40000000" dy="-0.45" stroke-width="0.2" scale="all" stroke-dasharray="0.3,0.1" stroke-linecap="butt"/>
			<line stroke="#80FFFFFF" dy="-0.45" stroke-width="0.2" scale="all" stroke-dasharray="0,0.3,0.1,0" stroke-linecap="butt"/>
			<line stroke="#40FFFFFF" stroke-width="0.95" stroke-linecap="butt"/>
			<rule cat="road" e="way" k="*" v="*">
				<line stroke="#40FFFFFF" stroke-width="0.95" stroke-linecap="butt"/>
			</rule>
		</rule>
		<rule e="way" k="highway" v="tertiary_link|secondary_link|primary_link" zoom-min="12">
			<line stroke="#40000000" dy="0.625" stroke-width="0.25" scale="all" stroke-dasharray="0.3,0.1" stroke-linecap="butt"/>
			<line stroke="#80FFFFFF" dy="0.625" stroke-width="0.25" scale="all" stroke-dasharray="0,0.3,0.1,0" stroke-linecap="butt"/>
			<line stroke="#40000000" dy="-0.625" stroke-width="0.25" scale="all" stroke-dasharray="0.3,0.1" stroke-linecap="butt"/>
			<line stroke="#80FFFFFF" dy="-0.625" stroke-width="0.25" scale="all" stroke-dasharray="0,0.3,0.1,0" stroke-linecap="butt"/>
			<line stroke="#40FFFFFF" stroke-width="1" stroke-linecap="butt"/>
			<rule cat="road" e="way" k="*" v="*">
				<line stroke="#40FFFFFF" stroke-width="1" stroke-linecap="butt"/>
			</rule>
		</rule>
		<rule e="way" k="highway" v="tertiary|trunk_link|motorway_link" zoom-min="12">
			<line stroke="#40000000" dy="0.75" stroke-width="0.25" scale="all" stroke-dasharray="0.3,0.1" stroke-linecap="butt"/>
			<line stroke="#80FFFFFF" dy="0.75" stroke-width="0.25" scale="all" stroke-dasharray="0,0.3,0.1,0" stroke-linecap="butt"/>
			<line stroke="#40000000" dy="-0.75" stroke-width="0.25" scale="all" stroke-dasharray="0.3,0.1" stroke-linecap="butt"/>
			<line stroke="#80FFFFFF" dy="-0.75" stroke-width="0.25" scale="all" stroke-dasharray="0,0.3,0.1,0" stroke-linecap="butt"/>
			<line stroke="#40FFFFFF" stroke-width="1.25" stroke-linecap="butt"/>
			<rule cat="road" e="way" k="*" v="*">
				<line stroke="#40FFFFFF" stroke-width="1.25" stroke-linecap="butt"/>
			</rule>
		</rule>
		<rule e="way" k="highway" v="secondary" zoom-min="10">
			<line stroke="#40000000" dy="0.825" stroke-width="0.25" scale="all" stroke-dasharray="0.3,0.1" stroke-linecap="butt"/>
			<line stroke="#80FFFFFF" dy="0.825" stroke-width="0.25" scale="all" stroke-dasharray="0,0.3,0.1,0" stroke-linecap="butt"/>
			<line stroke="#40000000" dy="-0.825" stroke-width="0.25" scale="all" stroke-dasharray="0.3,0.1" stroke-linecap="butt"/>
			<line stroke="#80FFFFFF" dy="-0.825" stroke-width="0.25" scale="all" stroke-dasharray="0,0.3,0.1,0" stroke-linecap="butt"/>
			<line stroke="#40FFFFFF" stroke-width="1.4" stroke-linecap="butt"/>
			<rule cat="road" e="way" k="*" v="*">
				<line stroke="#40FFFFFF" stroke-width="1.4" stroke-linecap="butt"/>
			</rule>
		</rule>
		<rule e="way" k="highway" v="primary|trunk" zoom-min="7">
			<line stroke="#40000000" dy="0.9" stroke-width="0.25" scale="all" stroke-dasharray="0.3,0.1" stroke-linecap="butt"/>
			<line stroke="#80FFFFFF" dy="0.9" stroke-width="0.25" scale="all" stroke-dasharray="0,0.3,0.1,0" stroke-linecap="butt"/>
			<line stroke="#40000000" dy="-0.9" stroke-width="0.25" scale="all" stroke-dasharray="0.3,0.1" stroke-linecap="butt"/>
			<line stroke="#80FFFFFF" dy="-0.9" stroke-width="0.25" scale="all" stroke-dasharray="0,0.3,0.1,0" stroke-linecap="butt"/>
			<line stroke="#40FFFFFF" stroke-width="1.55" stroke-linecap="butt"/>
			<rule cat="road" e="way" k="*" v="*">
				<line stroke="#40FFFFFF" stroke-width="1.55" stroke-linecap="butt"/>
			</rule>
		</rule>
		<rule e="way" k="highway" v="motorway">
			<line stroke="#40000000" dy="1" stroke-width="0.25" scale="all" stroke-dasharray="0.3,0.1" stroke-linecap="butt"/>
			<line stroke="#80FFFFFF" dy="1" stroke-width="0.25" scale="all" stroke-dasharray="0,0.3,0.1,0" stroke-linecap="butt"/>
			<line stroke="#40000000" dy="-1" stroke-width="0.25" scale="all" stroke-dasharray="0.3,0.1" stroke-linecap="butt"/>
			<line stroke="#80FFFFFF" dy="-1" stroke-width="0.25" scale="all" stroke-dasharray="0,0.3,0.1,0" stroke-linecap="butt"/>
			<line stroke="#40FFFFFF" stroke-width="1.75" stroke-linecap="butt"/>
			<rule cat="road" e="way" k="*" v="*">
				<line stroke="#40FFFFFF" stroke-width="1.75" stroke-linecap="butt"/>
			</rule>
		</rule>
		<rule e="way" k="access" v="private|acc_no|forestry|permit">
			<rule e="way" k="highway" v="path|footway" zoom-min="14">
				<rule e="way" k="foot" v="ft_no|ft_private|~">
					<line stroke="#66FF3333" stroke-width="0.8" scale="all" stroke-dasharray="0,1.6,0.2,0" stroke-linecap="butt"/>
				</rule>
			</rule>
		</rule>
		<rule e="way" k="access" v="permissive|~">
			<rule e="way" k="highway" v="path|footway" zoom-min="14">
				<rule e="way" k="foot" v="ft_no|ft_private">
					<line stroke="#66FF3333" stroke-width="0.8" scale="all" stroke-dasharray="0,1.6,0.2,0" stroke-linecap="butt"/>
				</rule>
			</rule>
		</rule>
		<rule e="way" k="access" v="private|acc_no|forestry|permit">
			<rule e="way" k="highway" v="bridleway">
				<rule e="way" k="foot|bicycle" v="ft_no|ft_private|bic_no|bic_private|bic_forestry|~">
					<line stroke="#66FF3333" stroke-width="0.8" scale="all" stroke-dasharray="0,1.6,0.2,0" stroke-linecap="butt"/>
				</rule>
			</rule>
			<rule e="way" k="highway" v="cycleway">
				<rule e="way" k="bicycle" v="bic_no|bic_private|bic_forestry|~">
					<line stroke="#66FF3333" stroke-width="0.8" scale="all" stroke-dasharray="0,1.6,0.2,0" stroke-linecap="butt"/>
				</rule>
			</rule>
			<rule cat="tracks" e="way" k="highway" v="track|byway">
				<line stroke="#66FF3333" stroke-width="0.8" dy="0.7" scale="all" stroke-dasharray="0,1.6,0.2,0" stroke-linecap="butt"/>
				<line stroke="#66FF3333" stroke-width="0.8" dy="-0.7" scale="all" stroke-dasharray="0,1.6,0.2,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|busway|steps">
				<rule e="any" k="service" v="~|alley">
					<line stroke="#66FF3333" stroke-width="0.8" dy="0.7" scale="all" stroke-dasharray="0,1.6,0.2,0" stroke-linecap="butt"/>
					<line stroke="#66FF3333" stroke-width="0.8" dy="-0.7" scale="all" stroke-dasharray="0,1.6,0.2,0" stroke-linecap="butt"/>
				</rule>
			</rule>
			<rule e="way" k="highway" v="service" zoom-min="15">
				<rule e="any" k="service" v="driveway|emergency_access|drive-through|parking_aisle">
					<line stroke="#66FF3333" stroke-width="0.8" dy="0.7" scale="all" stroke-dasharray="0,1.6,0.2,0" stroke-linecap="butt"/>
					<line stroke="#66FF3333" stroke-width="0.8" dy="-0.7" scale="all" stroke-dasharray="0,1.6,0.2,0" stroke-linecap="butt"/>
				</rule>
			</rule>
		</rule>
		<!--/rule-->

		<!-- railway tunnel -->
		<rule cat="background" e="way" k="railway" v="abandoned" zoom-min="13">
			<line stroke="#40FFFFFF" stroke-width="0.5" scale="all" stroke-dasharray="4.8,2.3,2.5,0" stroke-linecap="butt"/>
			<line stroke="#30808080" stroke-width="0.5" scale="all" stroke-dasharray="2.3,7.3" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="railway" v="miniature" zoom-min="13">
			<line stroke="#28000000" stroke-width="0.14" scale="all" stroke-dasharray="2.4,1.2" stroke-linecap="butt"/>
			<line stroke="#80FFFFFF" stroke-width="0.14" scale="all" stroke-dasharray="0,2.4,1.2,0" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="railway" v="disused" zoom-min="13">
			<line stroke="#40000000" dy="0.33" stroke-width="0.075" stroke-linecap="butt"/>
			<line stroke="#40000000" dy="-0.33" stroke-width="0.075" stroke-linecap="butt"/>
			<line stroke="#30000000" stroke-width="0.6" scale="all" stroke-dasharray="0.1,2.3" stroke-linecap="butt"/>
			<line stroke="#30FFFFFF" stroke-width="0.6" scale="all" stroke-dasharray="0,0.1,2.3,0" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="railway|highway" v="tram|light_rail|bus_guideway" zoom-min="10">
			<line stroke="#408C4600" stroke-width="0.5" stroke-linecap="butt"/>
			<line stroke="#60ffffff" stroke-width="0.4" scale="all" stroke-dasharray="1.8,1.8" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="railway" v="subway" zoom-min="10">
			<line stroke="#40B30000" stroke-width="0.6" stroke-linecap="butt"/>
			<line stroke="#60ffffff" stroke-width="0.45" scale="all" stroke-dasharray="1.8,1.8" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="railway" v="narrow_gauge|preserved|funicular" zoom-min="10">
			<line stroke="#40000000" dy="0.28" stroke-width="0.075" stroke-linecap="butt"/>
			<line stroke="#40000000" dy="-0.28" stroke-width="0.075" stroke-linecap="butt"/>
			<line stroke="#30000000" stroke-width="0.6" scale="all" stroke-dasharray="1.2,2.4" stroke-linecap="butt"/>
			<line stroke="#30FFFFFF" stroke-width="0.6" scale="all" stroke-dasharray="0,1.2,2.4,0" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="railway" v="rail" zoom-min="10">
			<line stroke="#40000000" dy="0.33" stroke-width="0.075" stroke-linecap="butt"/>
			<line stroke="#40000000" dy="-0.33" stroke-width="0.075" stroke-linecap="butt"/>
			<line stroke="#30000000" stroke-width="0.6" scale="all" stroke-dasharray="2.4,2.4" stroke-linecap="butt"/>
			<line stroke="#30FFFFFF" stroke-width="0.6" scale="all" stroke-dasharray="0,2.4,2.4,0" stroke-linecap="butt"/>
		</rule>
	</rule>
	</rule>

	<!-- no tunnel -->
	<rule e="way" k="tunnel" v="~|no">
		<!-- no area -->
		<rule e="way" k="based_on_rel|area" v="~|area_no">

			<!-- PATH VISIBILITY -->
			<rule cat="paths" e="way" k="highway" v="footway|path|bridleway|cycleway|steps" zoom-min="12">
				<rule e="way" k="*" v="*" zoom-max="12" cat="nocity">
					<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">
							<line stroke="#C0ffffff" stroke-width="1" stroke-linecap="butt"/>
							<rule cat="vis_paths" e="way" k="*" v="*">
								<line stroke="#C0ffffff" stroke-width="4" stroke-linecap="butt"/>
							</rule>
						</rule>
					</rule>
					<rule e="way" k="access" v="permissive|~">
						<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="1" stroke-linecap="butt"/>
								<rule cat="vis_paths" e="way" k="*" v="*">
								<line stroke="#C0ffffff" stroke-width="4" stroke-linecap="butt"/>
								</rule>
							</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.8" stroke-linecap="butt"/>
							<rule cat="vis_paths" e="way" k="*" v="*">
								<line stroke="#C0ffffff" stroke-width="3" stroke-linecap="butt"/>
							</rule>
						</rule>
					</rule>
				</rule>		

				<rule e="way" k="*" v="*" zoom-min="13">
					<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">
							<line stroke="#C0ffffff" stroke-width="1" stroke-linecap="butt"/>
							<rule cat="vis_paths" e="way" k="*" v="*" zoom-max="14">
								<line stroke="#C0ffffff" stroke-width="3" stroke-linecap="butt"/>
							</rule>
							<rule cat="vis_paths" e="way" k="*" v="*" zoom-min="15">
								<line stroke="#C0ffffff" stroke-width="2" stroke-linecap="butt"/>
							</rule>
						</rule>
					</rule>
					<rule e="way" k="access" v="permissive|~">
						<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="1" stroke-linecap="butt"/>
								<rule cat="vis_paths" e="way" k="*" v="*" zoom-max="14">
									<line stroke="#C0ffffff" stroke-width="3" stroke-linecap="butt"/>
								</rule>
								<rule cat="vis_paths" e="way" k="*" v="*" zoom-min="15">
									<line stroke="#C0ffffff" stroke-width="2" stroke-linecap="butt"/>
								</rule>
							</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.8" stroke-linecap="butt"/>
							<rule cat="vis_paths" e="way" k="*" v="*" zoom-max="14">
								<line stroke="#C0ffffff" stroke-width="2.4" stroke-linecap="butt"/>
							</rule>
							<rule cat="vis_paths" e="way" k="*" v="*" zoom-min="15">
								<line stroke="#C0ffffff" stroke-width="1.6" stroke-linecap="butt"/>
							</rule>
						</rule>
					</rule>
				</rule>
			</rule>

			<!-- emphasised routes for PATHS, ROADS & TRACKS -->
			<rule e="way" k="highway" v="footway|path|bridleway|cycleway|steps|~" zoom-min="10">
				<rule e="way" k="*" v="*" zoom-max="11">
					<rule cat="c_s_routes" e="way" k="network" v="ncn|icn|rcn">
						<line dy="-1.05" stroke="#e010ccff" stroke-width="1.5"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="rcn">
						<line dy="-1.05" stroke="#e010ccff" stroke-width="1.5"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="ncn">
						<line dy="-1.05" stroke="#EEDD2222" stroke-width="1.5"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="icn">
						<line dy="-1.05" stroke="#EE2060ff" stroke-width="1.5"/>
					</rule>
					<rule cat="c_s_hwy" e="way" k="cycle_highway" v="ich|nch|rch|lch">
					<line stroke="#71ffe0" stroke-width="1.5" dy="-1.05"/>
				</rule>		
					<rule cat="mtb_s_routes" e="way" k="network|mtbnetwork" v="mtb|imn|nmn|rmn">
						<rule cat="nobike" e="way" k="*" v="*">
							<line dy="-1.05" stroke="#EEAD6EDE" stroke-width="1.5"/>
						</rule>
						<rule cat="bikeonly" e="way" k="*" v="*">
							<line dy="1.05" stroke="#EEAD6EDE" stroke-width="1.5"/>
						</rule>
					</rule>
					<rule cat="mtb_s_color_routes" e="way" k="mtbnetwork" v="imn|nmn|rmn">
						<line dy="1.05" stroke="#eeDD00CB" stroke-width="1.5"/>
					</rule>			
					<rule cat="h_s_routes" e="way" k="hknetwork" v="nwn|iwn">
						<line dy="1.05" stroke="#ee33dd00" stroke-width="1.5"/>
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="nwn">
						<line dy="1.05" stroke="#EEDD2222" stroke-width="1.5"/>
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="iwn">
						<line dy="1.05" stroke="#EE2060ff" stroke-width="1.5"/>
					</rule>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="12" zoom-max="12">
					<rule cat="c_s_routes" e="way" k="network" v="ncn|icn|rcn|lcn|ocn">
						<line dy="-1.05" stroke="#e010ccff" stroke-width="1.5"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="lcn|ocn">
						<line dy="-1.05" stroke="#FFD0FF00" stroke-width="1.5" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="rcn">
						<line dy="-1.05" stroke="#e010ccff" stroke-width="1.5"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="ncn">
						<line dy="-1.05" stroke="#EEDD2222" stroke-width="1.5"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="icn">
						<line dy="-1.05" stroke="#EE2060ff" stroke-width="1.5"/>
					</rule>
					<rule cat="c_s_hwy" e="way" k="cycle_highway" v="ich|nch|rch|lch">
						<line stroke="#71ffe0" stroke-width="1.5" dy="-1.05"/>
					</rule>		
					<rule cat="mtb_s_routes" e="way" k="network|mtbnetwork" v="mtb|imn|nmn|rmn|lmn|omn">
						<rule cat="nobike" e="way" k="*" v="*">
							<line dy="-1.05" stroke="#EEAD6EDE" stroke-width="1.5"/>
						</rule>
						<rule cat="bikeonly" e="way" k="*" v="*">
							<line dy="1.05" stroke="#EEAD6EDE" stroke-width="1.5"/>
						</rule>
					</rule>
					<rule cat="mtb_s_color_routes" e="way" k="mtbnetwork" v="lmn|omn">
						<line dy="1.05" stroke="#EEAD6EDE" stroke-width="1.5"/>
					</rule>
					<rule cat="mtb_s_color_routes" e="way" k="mtbnetwork" v="imn|nmn|rmn">
						<line dy="1.05" stroke="#eeDD00CB" stroke-width="1.5"/>
					</rule>
					<rule cat="h_s_routes" e="way" k="hknetwork" v="nwn|iwn|rwn|lwn|own">
						<line dy="1.05" stroke="#ee33dd00" stroke-width="1.5"/>
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="lwn|own">
						<line dy="1.05" stroke="#FFD0FF00" stroke-width="1.5"/>
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="rwn">
						<line dy="1.05" stroke="#ee33dd00" stroke-width="1.5"/>
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="nwn">
						<line dy="1.05" stroke="#EEDD2222" stroke-width="1.5"/>
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="iwn">
						<line dy="1.05" stroke="#EE2060ff" stroke-width="1.5"/>
					</rule>
				</rule>
				<rule e="way" k="bridge" v="no|~" zoom-min="13">	
					<!-- both bike and mtb done by two passes-->
					<rule cat="mtb_s_routes" e="way" k="network|mtbnetwork" v="mtb|imn|nmn|rmn|lmn|omn">
						<line stroke="#EEAD6EDE" stroke-width="1" dy="-0.5"/>
					</rule>
					<rule cat="mtb_s_color_routes" e="way" k="mtbnetwork" v="lmn|omn">
						<line stroke="#EEAD6EDE" stroke-width="1" dy="-0.5"/>
					</rule>
					<rule cat="mtb_s_color_routes" e="way" k="mtbnetwork" v="imn|nmn|rmn">
						<line stroke="#eeDD00CB" stroke-width="1" dy="-0.5"/>
					</rule>
					<rule cat="c_s_routes" e="way" k="network" v="ncn|icn|rcn|lcn|ocn">
						<line stroke="#e010ccff" stroke-width="2"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="lcn|ocn">
						<line stroke="#FFD0FF00" stroke-width="2"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="rcn">
						<line stroke="#e010ccff" stroke-width="2"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="ncn">
						<line stroke="#EEDD2222" stroke-width="2"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="icn">
						<line stroke="#EE2060ff" stroke-width="2"/>
					</rule>
					<rule cat="c_s_cwy" e="way" k="highway" v="cycleway">
						<line stroke="#ffb3df" stroke-width="2" />
					</rule>
					<rule cat="c_s_hwy" e="way" k="cycle_highway" v="ich|nch|rch|lch">
						<line stroke="#71ffe0" stroke-width="2"/>
					</rule>
					<!-- both bike and mtb done by two passes-->
					<rule cat="mtb_s_routes" e="way" k="network|mtbnetwork" v="mtb|imn|nmn|rmn|lmn|omn">
						<line stroke="#EEAD6EDE" stroke-width="1" dy="0.5"/>
					</rule>
					<rule cat="mtb_s_color_routes" e="way" k="mtbnetwork" v="lmn|omn">
						<line stroke="#EEAD6EDE" stroke-width="1" dy="0.5"/>
					</rule>
					<rule cat="mtb_s_color_routes" e="way" k="mtbnetwork" v="imn|nmn|rmn">
						<line stroke="#eeDD00CB" stroke-width="1" dy="0.5"/>
					</rule>				
					<rule cat="h_s_routes" e="way" k="hknetwork" v="nwn|iwn|rwn|lwn|own">
						<line stroke="#ee33dd00" stroke-width="2"/>
						<!-- both hike and mtb -->
						<rule cat="mtb_s_routes" e="way" k="network|mtbnetwork" v="mtb|imn|nmn|rmn|lmn|omn">
							<line stroke="#EEAD6EDE" stroke-width="1" dy="-0.5"/>
						</rule>
						<!-- both hike and bike -->
						<rule cat="c_s_routes" e="way" k="network" v="ncn|icn|rcn|lcn|ocn">
							<line stroke="#e010ccff" stroke-width="1" dy="-0.5"/>
						</rule>
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="lwn|own">
						<line stroke="#FFD0FF00" stroke-width="2"/>
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="rwn">
						<line stroke="#ee33dd00" stroke-width="2"/>
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="nwn">
						<line stroke="#EEDD2222" stroke-width="2"/>
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="iwn">
						<line stroke="#EE2060ff" stroke-width="2"/>
					</rule>
				</rule>	
				<rule e="way" k="bridge" v="yes|viaduct|movable" zoom-min="13">	
					<!-- both bike and mtb done by two passes-->
					<rule cat="mtb_s_routes" e="way" k="network|mtbnetwork" v="mtb|imn|nmn|rmn|lmn|omn">
						<line stroke="#EEAD6EDE" stroke-width="1" dy="-0.5" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
					<rule cat="mtb_s_color_routes" e="way" k="mtbnetwork" v="lmn|omn">
						<line stroke="#EEAD6EDE" stroke-width="1" dy="-0.5" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
					<rule cat="mtb_s_color_routes" e="way" k="mtbnetwork" v="imn|nmn|rmn">
						<line stroke="#eeDD00CB" stroke-width="1" dy="-0.5" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
					<rule cat="c_s_routes" e="way" k="network" v="ncn|icn|rcn|lcn|ocn">
						<line stroke="#e010ccff" stroke-width="2" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="lcn|ocn">
						<line stroke="#FFD0FF00" stroke-width="2" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="rcn">
						<line stroke="#e010ccff" stroke-width="2" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="ncn">
						<line stroke="#EEDD2222" stroke-width="2" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="icn">
						<line stroke="#EE2060ff" stroke-width="2" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
					<rule cat="c_s_cwy" e="way" k="highway" v="cycleway">
						<line stroke="#ffb3df" stroke-width="2" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
					<rule cat="c_s_hwy" e="way" k="cycle_highway" v="ich|nch|rch|lch">
						<line stroke="#71ffe0" stroke-width="2" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
					<!-- both bike and mtb done by two passes-->
					<rule cat="mtb_s_routes" e="way" k="network|mtbnetwork" v="mtb|imn|nmn|rmn|lmn|omn">
						<line stroke="#EEAD6EDE" stroke-width="1" dy="0.5" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
					<rule cat="mtb_s_color_routes" e="way" k="mtbnetwork" v="lmn|omn">
						<line stroke="#EEAD6EDE" stroke-width="1" dy="0.5" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
					<rule cat="mtb_s_color_routes" e="way" k="mtbnetwork" v="imn|nmn|rmn">
						<line stroke="#eeDD00CB" stroke-width="1" dy="0.5" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>				
					<rule cat="h_s_routes" e="way" k="hknetwork" v="nwn|iwn|rwn|lwn|own">
						<line stroke="#ee33dd00" stroke-width="2" stroke-linejoin="bevel" stroke-linecap="butt"/>
						<!-- both hike and mtb -->
						<rule cat="mtb_s_routes" e="way" k="network|mtbnetwork" v="mtb|imn|nmn|rmn|lmn|omn">
							<line stroke="#EEAD6EDE" stroke-width="1" dy="-0.5" 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|ocn">
							<line stroke="#e010ccff" stroke-width="1" dy="-0.5" stroke-linejoin="bevel" stroke-linecap="butt"/>
							<!-- bike & mtb -->
							<rule cat="mtb_s_routes" e="way" k="network|mtbnetwork" v="mtb|imn|nmn|rmn|lmn|omn">
								<line stroke="#EEAD6EDE" stroke-width="0.5" dy="-0.75"/>
							</rule>
						</rule>
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="lwn|own">
						<line stroke="#FFD0FF00" stroke-width="2" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="rwn">
						<line stroke="#ee33dd00" stroke-width="2" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="nwn">
						<line stroke="#EEDD2222" stroke-width="2" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="iwn">
						<line stroke="#EE2060ff" stroke-width="2" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
				</rule>
			</rule>
			
			<rule e="way" k="highway" v="track|byway|service|busway|residential|living_street|construction|road|ford|pedestrian|unclassified|tertiary_link|secondary_link|primary_link|trunk_link|tertiary|secondary|primary|trunk" zoom-min="10">
				<rule e="way" k="*" v="*" zoom-max="11">
					<rule cat="c_s_routes" e="way" k="network" v="ncn|icn|rcn">
						<line dy="-1.5" stroke="#e010ccff" stroke-width="1.5"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="rcn">
						<line dy="-1.5" stroke="#e010ccff" stroke-width="1.5"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="ncn">
						<line dy="-1.5" stroke="#EEDD2222" stroke-width="1.5"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="icn">
						<line dy="-1.5" stroke="#EE2060ff" stroke-width="1.5"/>
					</rule>
					<rule cat="c_s_hwy" e="way" k="cycle_highway" v="ich|nch|rch|lch">
					<line stroke="#71ffe0" stroke-width="1.5" dy="-1.5"/>
				</rule>
					<rule cat="mtb_s_routes" e="way" k="network|mtbnetwork" v="mtb|imn|nmn|rmn">
						<rule cat="nobike" e="way" k="*" v="*">
							<line dy="-1.5" stroke="#EEAD6EDE" stroke-width="1.5"/>
						</rule>
						<rule cat="bikeonly" e="way" k="*" v="*">
							<line dy="1.5" stroke="#EEAD6EDE" stroke-width="1.5"/>
						</rule>
					</rule>
					<rule cat="mtb_s_color_routes" e="way" k="mtbnetwork" v="imn|nmn|rmn">
						<line dy="1.5" stroke="#eeDD00CB" stroke-width="1.5" />
					</rule>
					<rule cat="h_s_routes" e="way" k="hknetwork" v="nwn|iwn">
						<line dy="1.5" stroke="#ee33dd00" stroke-width="1.5"/>
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="nwn">
						<line dy="1.5" stroke="#EEDD2222" stroke-width="1.5"/>
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="iwn">
						<line dy="1.5" stroke="#EE2060ff" stroke-width="1.5"/>
					</rule>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="12" zoom-max="12">
					<rule cat="c_s_routes" e="way" k="network" v="ncn|icn|rcn|lcn|ocn">
						<line dy="-1.5" stroke="#e010ccff" stroke-width="1.5"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="lcn|ocn">
						<line dy="-1.5" stroke="#FFD0FF00" stroke-width="1.5"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="rcn">
						<line dy="-1.5" stroke="#e010ccff" stroke-width="1.5"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="ncn">
						<line dy="-1.5" stroke="#EEDD2222" stroke-width="1.5"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="icn">
						<line dy="-1.5" stroke="#EE2060ff" stroke-width="1.5"/>
					</rule>
					<rule cat="c_s_hwy" e="way" k="cycle_highway" v="ich|nch|rch|lch">
						<line stroke="#71ffe0" stroke-width="1.5" dy="-1.5"/>
					</rule>
					<rule cat="mtb_s_routes" e="way" k="network|mtbnetwork" v="mtb|imn|nmn|rmn|lmn|omn">
						<rule cat="nobike" e="way" k="*" v="*">
							<line dy="-1.5" stroke="#EEAD6EDE" stroke-width="1.5"/>
						</rule>
						<rule cat="bikeonly" e="way" k="*" v="*">
							<line dy="1.5" stroke="#EEAD6EDE" stroke-width="1.5"/>
						</rule>
					</rule>
					<rule cat="mtb_s_color_routes" e="way" k="mtbnetwork" v="lmn|omn">
						<line dy="1.5" stroke="#EEAD6EDE" stroke-width="1.5"/>
					</rule>
					<rule cat="mtb_s_color_routes" e="way" k="mtbnetwork" v="imn|nmn|rmn">
						<line dy="1.5" stroke="#eeDD00CB" stroke-width="1.5"/>
					</rule>
					<rule cat="h_s_routes" e="way" k="hknetwork" v="nwn|iwn|rwn|lwn|own">
						<line dy="1.5" stroke="#ee33dd00" stroke-width="1.5" />
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="lwn|own">
						<line dy="1.5" stroke="#FFD0FF00" stroke-width="1.5"/>
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="rwn">
						<line dy="1.5" stroke="#ee33dd00" stroke-width="1.5" />
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="nwn">
						<line dy="1.5" stroke="#EEDD2222" stroke-width="1.5"/>
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="iwn">
						<line dy="1.5" stroke="#EE2060ff" stroke-width="1.5"/>
					</rule>
				</rule>

				<rule e="way" k="bridge" v="no|~" zoom-min="13">
					<!-- both bike and mtb done by two passes-->
					<rule cat="mtb_s_routes" e="way" k="network|mtbnetwork" v="mtb|imn|nmn|rmn|lmn|omn">
						<line stroke="#EEAD6EDE" stroke-width="1.7" dy="-0.85" />
					</rule>
					<rule cat="mtb_s_color_routes" e="way" k="mtbnetwork" v="lmn|omn">
						<line stroke="#EEAD6EDE" stroke-width="1.7" dy="-0.85"/>
					</rule>
					<rule cat="mtb_s_color_routes" e="way" k="mtbnetwork" v="imn|nmn|rmn">
						<line stroke="#eeDD00CB" stroke-width="1.7" dy="-0.85"/>
					</rule>
					<rule cat="c_s_routes" e="way" k="network" v="ncn|icn|rcn|lcn|ocn">
						<line stroke="#e010ccff" stroke-width="3.4"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="lcn|ocn">
						<line stroke="#FFD0FF00" stroke-width="3.4"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="rcn">
						<line stroke="#e010ccff" stroke-width="3.4"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="ncn">
						<line stroke="#EEDD2222" stroke-width="3.4"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="icn">
						<line stroke="#EE2060ff" stroke-width="3.4"/>
					</rule>
					<rule cat="c_s_hwy" e="way" k="cycle_highway" v="ich|nch|rch|lch">
						<line stroke="#71ffe0" stroke-width="3.4"/>
					</rule>
					<!-- both bike and mtb done by two passes-->
					<rule cat="mtb_s_routes" e="way" k="network|mtbnetwork" v="mtb|imn|nmn|rmn|lmn|omn">
						<line stroke="#EEAD6EDE" stroke-width="1.7" dy="0.85"/>
					</rule>
					<rule cat="mtb_s_color_routes" e="way" k="mtbnetwork" v="lmn|omn">
						<line stroke="#EEAD6EDE" stroke-width="1.7" dy="0.85"/>
					</rule>
					<rule cat="mtb_s_color_routes" e="way" k="mtbnetwork" v="imn|nmn|rmn">
						<line stroke="#eeDD00CB" stroke-width="1.7" dy="0.85"/>
					</rule>
							
					<rule cat="h_s_routes" e="way" k="hknetwork" v="nwn|iwn|rwn|lwn|own">
						<line stroke="#ee33dd00" stroke-width="3.4"/>
						<!-- both hike and mtb -->
						<rule cat="mtb_s_routes" e="way" k="network|mtbnetwork" v="mtb|imn|nmn|rmn|lmn|omn">
							<line stroke="#EEAD6EDE" stroke-width="1.7" dy="-0.85"/>
						</rule>
						<!-- both hike and bike -->
						<rule cat="c_s_routes" e="way" k="network" v="ncn|icn|rcn|lcn|ocn">
							<line stroke="#e010ccff" stroke-width="1.7" dy="-0.85"/>
							<!-- bike & mtb -->
							<rule cat="mtb_s_routes" e="way" k="network|mtbnetwork" v="mtb|imn|nmn|rmn|lmn|omn">
								<line stroke="#EEAD6EDE" stroke-width="0.85" dy="-2.1"/>
							</rule>
						</rule>
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="lwn|own">
						<line stroke="#FFD0FF00" stroke-width="3.4"/>
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="rwn">
						<line stroke="#ee33dd00" stroke-width="3.4"/>
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="nwn">
						<line stroke="#EEDD2222" stroke-width="3.4"/>
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="iwn">
						<line stroke="#EE2060ff" stroke-width="3.4"/>
					</rule>
				</rule>
				
				<rule e="way" k="bridge" v="yes|viaduct|movable" zoom-min="13">
					<!-- both bike and mtb done by two passes-->
					<rule cat="mtb_s_routes" e="way" k="network|mtbnetwork" v="mtb|imn|nmn|rmn|lmn|omn">
						<line stroke="#EEAD6EDE" stroke-width="1.7" dy="-0.85" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
					<rule cat="mtb_s_color_routes" e="way" k="mtbnetwork" v="lmn|omn">
						<line stroke="#EEAD6EDE" stroke-width="1.7" dy="-0.85" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
					<rule cat="mtb_s_color_routes" e="way" k="mtbnetwork" v="imn|nmn|rmn">
						<line stroke="#eeDD00CB" stroke-width="1.7" dy="-0.85" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
					<rule cat="c_s_routes" e="way" k="network" v="ncn|icn|rcn|lcn|ocn">
						<line stroke="#e010ccff" stroke-width="3.4" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="lcn|ocn">
						<line stroke="#FFD0FF00" stroke-width="3.4" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="rcn">
						<line stroke="#e010ccff" stroke-width="3.4" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="ncn">
						<line stroke="#EEDD2222" stroke-width="3.4" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
					<rule cat="c_s_color_routes" e="way" k="network" v="icn">
						<line stroke="#EE2060ff" stroke-width="3.4" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
					<rule cat="c_s_hwy" e="way" k="cycle_highway" v="ich|nch|rch|lch">
						<line stroke="#71ffe0" stroke-width="3.4"/>
					</rule>
					<!-- both bike and mtb done by two passes-->
					<rule cat="mtb_s_routes" e="way" k="network|mtbnetwork" v="mtb|imn|nmn|rmn|lmn|omn">
						<line stroke="#EEAD6EDE" stroke-width="1.7" dy="0.85" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
					<rule cat="mtb_s_color_routes" e="way" k="mtbnetwork" v="lmn|omn">
						<line stroke="#EEAD6EDE" stroke-width="1.7" dy="0.85" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
					<rule cat="mtb_s_color_routes" e="way" k="mtbnetwork" v="imn|nmn|rmn">
						<line stroke="#eeDD00CB" stroke-width="1.7" dy="0.85" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
							
					<rule cat="h_s_routes" e="way" k="hknetwork" v="nwn|iwn|rwn|lwn|own">
						<line stroke="#ee33dd00" stroke-width="3.4" stroke-linejoin="bevel" stroke-linecap="butt"/>
						<!-- both hike and mtb -->
						<rule cat="mtb_s_routes" e="way" k="network|mtbnetwork" v="mtb|imn|nmn|rmn|lmn|omn">
							<line stroke="#EEAD6EDE" stroke-width="1.7" dy="-0.85" 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|ocn">
							<line stroke="#e010ccff" stroke-width="1.7" dy="-0.85" stroke-linejoin="bevel" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="lwn|own">
						<line stroke="#FFD0FF00" stroke-width="3.4" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="rwn">
						<line stroke="#ee33dd00" stroke-width="3.4" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="nwn">
						<line stroke="#EEDD2222" stroke-width="3.4" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
					<rule cat="h_s_color_routes" e="way" k="hknetwork" v="iwn">
						<line stroke="#EE2060ff" stroke-width="3.4" stroke-linejoin="bevel" stroke-linecap="butt"/>
					</rule>
				</rule>			
			</rule>
		</rule>
		</rule>
	<!-- /no area -->
	<!-- /no tunnel -->
		
	<!-- turning circle casing -->
	<rule e="node" k="highway" v="turning_circle" zoom-min="15">
		<circle radius="1" scale-radius="true" fill="#444444"/>
	</rule>
	<rule e="node" k="highway" v="passing_place" zoom-min="15">
		<circle radius="1.5" scale-radius="true" fill="#444444"/>
	</rule>
	<rule e="node" k="highway" v="mini_roundabout" zoom-min="15">
		<circle radius="1.5" scale-radius="true" fill="#444444"/>
	</rule>
		
	<!-- no tunnel -->
	<rule e="way" k="tunnel" v="~">
		<!-- HIGHWAYS -->
		<!-- rule e="way" k="highway" v="*" -->
		<!-- highway casings -->
		<!-- no bridge -->
		<rule e="way" k="bridge" v="~|no">
			<!-- no area -->
			<rule e="way" k="based_on_rel|area" v="~|area_no">
				<rule e="way" k="*" v="*" zoom-max="12" cat="nocity">
					<rule e="way" k="highway" v="construction" zoom-min="10">
						<line stroke="#888888" stroke-width="1.65" scale="all" stroke-dasharray="0,0.6,3,0" stroke-linecap="butt"/>
						<line stroke="#e0e0e0" stroke-width="1.15" scale="all" stroke-dasharray="0,0.6,3,0" stroke-linecap="butt"/>
					</rule>
					<rule cat="paths" e="way" k="highway" v="footway|path|bridleway|cycleway" zoom-min="12">
						<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">
								<line stroke="#C0ffffff" stroke-width="0.7" stroke-linecap="butt"/>
							</rule>
						</rule>
						<rule e="way" k="access" v="permissive|~" zoom-min="12">
							<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.7" 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="#C0ffffff" stroke-width="0.7" stroke-linecap="butt"/>
							</rule>
						</rule>
					</rule>
					<rule cat="tracks" e="way" k="highway" v="track|byway" zoom-min="12">
						<line stroke="#935a04" stroke-width="1.3" stroke-linecap="butt"/>
						<rule e="way" k="tracktype" v="grade5">
							<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.375,0.45,0.375,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="tracktype" v="grade4">
							<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.3,0.6,0.3,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="tracktype" v="grade3">
							<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.225,0.75,0.225,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="tracktype" v="grade2">
							<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.15,0.9,0.15,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="tracktype" v="~">				
							<rule e="way" k="surface" v="~">
								<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.25,0.4,0.5,1,0.25,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="surface" v="raw|winter">
								<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.375,0.45,0.375,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="surface" v="gravel">
								<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.3,0.6,0.3,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="surface" v="compacted|unpaved">
								<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.225,0.75,0.225,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="surface" v="rough_paved">
								<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.15,0.9,0.15,0" stroke-linecap="butt"/>
							</rule>
							<!--rule e="way" k="surface" v="asphalt|smooth_paved|paved">
							</rule-->
						</rule>
					</rule>
				</rule>

				<rule e="way" k="highway" v="construction" zoom-min="13">
					<line stroke="#888888" stroke-width="1.65" scale="all" stroke-dasharray="0,0.6,3,0" stroke-linecap="butt"/>
					<line stroke="#e0e0e0" stroke-width="1.15" scale="all" stroke-dasharray="0,0.6,3,0" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="13">
					<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="14">
								<line stroke="#60ffffff" stroke-width="0.25"/>
							</rule>
							<rule e="way" k="foot" v="ft_yes|ft_permissive|ft_designated|ft_destination|ft_permit">
								<line stroke="#C0ffffff" stroke-width="0.7" stroke-linecap="butt"/>
							</rule>
						</rule>
						<rule e="way" k="access" v="permissive|~">
							<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.7" 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="#C0ffffff" stroke-width="0.7" stroke-linecap="butt"/>
							</rule>
						</rule>
					</rule>
					<rule cat="tracks" e="way" k="highway" v="track|byway">
						<line stroke="#935a04" stroke-width="1.3" stroke-linecap="butt"/>
						<rule e="way" k="tracktype" v="grade5">
							<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.375,0.45,0.375,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="tracktype" v="grade4">
							<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.3,0.6,0.3,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="tracktype" v="grade3">
							<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.225,0.75,0.225,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="tracktype" v="grade2">
							<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.15,0.9,0.15,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="tracktype" v="~">				
							<rule e="way" k="surface" v="~">
								<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.25,0.4,0.5,1,0.25,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="surface" v="raw|winter">
								<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.375,0.45,0.375,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="surface" v="gravel">
								<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.3,0.6,0.3,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="surface" v="compacted|unpaved">
								<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.225,0.75,0.225,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="surface" v="rough_paved">
								<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.15,0.9,0.15,0" stroke-linecap="butt"/>
							</rule>
							<!--rule e="way" k="surface" v="asphalt|smooth_paved|rough_paved|paved">
							</rule-->
						</rule>
					</rule>
				</rule>
				<rule cat="nocity" e="way" k="highway" v="service|busway" zoom-min="12" zoom-max="12">
					<rule e="any" k="service" v="~|alley">
						<line stroke="#888888" stroke-width="1.3"/>
					</rule>
				</rule>
				<rule e="way" k="highway" v="service" zoom-min="13">
					<rule e="way" k="service" v="driveway|emergency_access|drive-through|parking_aisle" zoom-min="15">
						<line stroke="#888888" stroke-width="1"/>
						<rule e="way" k="surface" v="raw|winter">
							<line stroke="#c0ffffff" stroke-width="1" scale="all" stroke-dasharray="0.375,0.45,0.375,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="surface" v="gravel">
							<line stroke="#c0ffffff" stroke-width="1" scale="all" stroke-dasharray="0.3,0.6,0.3,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="surface" v="compacted|unpaved">
							<line stroke="#c0ffffff" stroke-width="1" scale="all" stroke-dasharray="0.225,0.75,0.225,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="surface" v="rough_paved">
							<line stroke="#c0ffffff" stroke-width="1" scale="all" stroke-dasharray="0.15,0.9,0.15,0" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule e="way" k="service" v="~|alley">
						<line stroke="#888888" stroke-width="1.3"/>
						<rule e="way" k="surface" v="raw|winter">
							<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.375,0.45,0.375,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="surface" v="gravel">
							<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.3,0.6,0.3,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="surface" v="compacted|unpaved">
							<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.225,0.75,0.225,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="surface" v="rough_paved">
							<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.15,0.9,0.15,0" stroke-linecap="butt"/>
						</rule>
					</rule>
				</rule>
				<rule e="way" k="highway" v="pedestrian" zoom-min="12">
					<rule e="way" k="*" v="*" zoom-max="12" cat="nocity">
						<line stroke="#444444" stroke-width="1.25"/>
					</rule>
					<rule e="way" k="*" v="*" zoom-min="13">
						<line stroke="#444444" stroke-width="1.25"/>
						<rule e="way" k="surface" v="raw|winter">
							<line stroke="#c0ffffff" stroke-width="1.25" scale="all" stroke-dasharray="0.375,0.45,0.375,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="surface" v="gravel">
							<line stroke="#c0ffffff" stroke-width="1.25" scale="all" stroke-dasharray="0.3,0.6,0.3,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="surface" v="compacted|unpaved">
							<line stroke="#c0ffffff" stroke-width="1.25" scale="all" stroke-dasharray="0.225,0.75,0.225,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="surface" v="rough_paved">
							<line stroke="#c0ffffff" stroke-width="1.25" scale="all" stroke-dasharray="0.15,0.9,0.15,0" stroke-linecap="butt"/>
						</rule>
					</rule>
				</rule>
			</rule>
			<!-- /no area -->
			</rule>
		<!-- /no bridge -->


			<!-- 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="based_on_rel|area" v="mp|yes">
				<rule e="way" k="highway" v="footway|pedestrian|path" zoom-min="13">
					<area fill="#F3DBB7" stroke="#444444" stroke-width="0.15"/>
					<rule e="way" k="*" v="*" zoom-max="17">
						<area symbol-height="8" src="file:vol_res/patterns/access-pedestrian.png" stroke="#444444" stroke-width="0.125"/>
					</rule>
					<rule e="way" k="*" v="*" zoom-min="18">
						<area symbol-height="16" src="file:vol_res/patterns/access-pedestrian.png" stroke="#444444" stroke-width="0.125"/>
					</rule>
				</rule>
			</rule>
			<rule e="way" k="area:highway" v="pedestrian" zoom-min="12">
				<area fill="#F3Dbb7" stroke="#444444" stroke-width="0.125"/>
				<rule e="way" k="*" v="*" zoom-max="17">
					<area symbol-height="8" src="file:vol_res/patterns/access-pedestrian.png" stroke="#444444" stroke-width="0.125"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="18">
					<area symbol-height="16" src="file:vol_res/patterns/access-pedestrian.png" stroke="#444444" stroke-width="0.125"/>
				</rule>
			</rule>
				
	<!-- no bridge -->
		<rule e="way" k="bridge" v="~|no">
			<!-- no area -->
			<rule e="way" k="based_on_rel|area" v="~|area_no|no">
				<rule cat="nocity" e="way" k="highway" v="living_street|residential|road|ford" zoom-min="12" zoom-max="12">
					<rule cat="background" e="way" k="*" v="*">
						<line stroke="#444444" stroke-width="1.65"/>
					</rule>
				</rule>
				<!--rule cat="nocity" e="way" k="highway" v="unclassified" zoom-min="12" zoom-max="11">
					<line stroke="#444444" stroke-width="1.65" />
				</rule-->
				<rule e="way" k="highway" v="unclassified" zoom-min="12" zoom-max="12">
					<line stroke="#444444" stroke-width="1.65"/>
				</rule>
				<rule e="way" k="highway" v="living_street|residential|road|ford|unclassified" zoom-min="13">
					<line stroke="#444444" stroke-width="1.65"/>
					<rule e="way" k="surface" v="raw|winter">
						<line stroke="#c0ffffff" stroke-width="1.65" scale="all" stroke-dasharray="0.375,0.45,0.375,0" stroke-linecap="butt"/>
					</rule>
					<rule e="way" k="surface" v="gravel">
						<line stroke="#c0ffffff" stroke-width="1.65" scale="all" stroke-dasharray="0.3,0.6,0.3,0" stroke-linecap="butt"/>
					</rule>
					<rule e="way" k="surface" v="compacted|unpaved">
						<line stroke="#c0ffffff" stroke-width="1.65" scale="all" stroke-dasharray="0.225,0.75,0.225,0" stroke-linecap="butt"/>
					</rule>
					<rule e="way" k="surface" v="rough_paved">
						<line stroke="#c0ffffff" stroke-width="1.65" scale="all" stroke-dasharray="0.15,0.9,0.15,0" stroke-linecap="butt"/>
					</rule>
				</rule>
				<rule e="way" k="highway" v="raceway" zoom-min="15">
					<line stroke="#FFFFFF" stroke-width="1.15"/>
					<line stroke="#DD0000" stroke-width="1.15" stroke-linecap="butt" scale="all" stroke-dasharray="1.2,0.6"/>
				</rule>
				<rule e="way" k="highway" v="tertiary_link|secondary_link|primary_link" zoom-min="11">
					<line stroke="#444444" stroke-width="1.5" stroke-linecap="butt"/>
					<rule e="way" k="surface" v="raw|winter" zoom-min="13">
						<line stroke="#c0ffffff" stroke-width="1.5" scale="all" stroke-dasharray="0.375,0.45,0.375,0" stroke-linecap="butt"/>
					</rule>
					<rule e="way" k="surface" v="gravel" zoom-min="13">
						<line stroke="#c0ffffff" stroke-width="1.5" scale="all" stroke-dasharray="0.3,0.6,0.3,0" stroke-linecap="butt"/>
					</rule>
					<rule e="way" k="surface" v="compacted|unpaved" zoom-min="13">
						<line stroke="#c0ffffff" stroke-width="1.5" scale="all" stroke-dasharray="0.225,0.75,0.225,0" stroke-linecap="butt"/>
					</rule>
					<rule e="way" k="surface" v="rough_paved" zoom-min="13">
						<line stroke="#c0ffffff" stroke-width="1.5" scale="all" stroke-dasharray="0.15,0.9,0.15,0" stroke-linecap="butt"/>
					</rule>
				</rule>
				<rule e="way" k="highway" v="tertiary|trunk_link|motorway_link" zoom-min="11">
					<line stroke="#444444" stroke-width="1.75" stroke-linecap="butt"/>
					<rule e="way" k="surface" v="raw|winter" zoom-min="13">
						<line stroke="#c0ffffff" stroke-width="1.75" scale="all" stroke-dasharray="0.375,0.45,0.375,0" stroke-linecap="butt"/>
					</rule>
					<rule e="way" k="surface" v="gravel" zoom-min="13">
						<line stroke="#c0ffffff" stroke-width="1.75" scale="all" stroke-dasharray="0.3,0.6,0.3,0" stroke-linecap="butt"/>
					</rule>
					<rule e="way" k="surface" v="compacted|unpaved" zoom-min="13">
						<line stroke="#c0ffffff" stroke-width="1.75" scale="all" stroke-dasharray="0.225,0.75,0.225,0" stroke-linecap="butt"/>
					</rule>
					<rule e="way" k="surface" v="rough_paved" zoom-min="13">
						<line stroke="#c0ffffff" stroke-width="1.75" scale="all" stroke-dasharray="0.15,0.9,0.15,0" stroke-linecap="butt"/>
					</rule>
				</rule>
				<rule e="way" k="highway" v="secondary" zoom-min="10">
					<line stroke="#444444" stroke-width="1.9" stroke-linecap="butt"/>
					<rule e="way" k="surface" v="raw|winter" zoom-min="13">
						<line stroke="#c0ffffff" stroke-width="1.9" scale="all" stroke-dasharray="0.375,0.45,0.375,0" stroke-linecap="butt"/>
					</rule>
					<rule e="way" k="surface" v="gravel" zoom-min="13">
						<line stroke="#c0ffffff" stroke-width="1.9" scale="all" stroke-dasharray="0.3,0.6,0.3,0" stroke-linecap="butt"/>
					</rule>
					<rule e="way" k="surface" v="compacted|unpaved" zoom-min="13">
						<line stroke="#c0ffffff" stroke-width="1.9" scale="all" stroke-dasharray="0.225,0.75,0.225,0" stroke-linecap="butt"/>
					</rule>
					<rule e="way" k="surface" v="rough_paved" zoom-min="13">
						<line stroke="#c0ffffff" stroke-width="1.9" scale="all" stroke-dasharray="0.15,0.9,0.15,0" stroke-linecap="butt"/>
					</rule>
				</rule>
				<rule e="way" k="highway" v="primary|trunk" zoom-min="10">
					<rule e="way" k="toll" v="tl_yes">
						<rule cat="nocity" e="way" k="*" v="*" zoom-max="11">
							<line stroke="#FF5900" stroke-width="3.3" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="*" v="*" zoom-min="12">
							<line stroke="#FF5900" stroke-width="2.3" stroke-linecap="butt"/>
							<rule e="way" k="surface" v="raw|winter" zoom-min="13">
								<line stroke="#c0ffffff" stroke-width="2.3" scale="all" stroke-dasharray="0.375,0.45,0.375,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="surface" v="gravel" zoom-min="13">
								<line stroke="#c0ffffff" stroke-width="2.3" scale="all" stroke-dasharray="0.3,0.6,0.3,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="surface" v="compacted|unpaved" zoom-min="13">
								<line stroke="#c0ffffff" stroke-width="2.3" scale="all" stroke-dasharray="0.225,0.75,0.225,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="surface" v="rough_paved" zoom-min="13">
								<line stroke="#c0ffffff" stroke-width="2.3" scale="all" stroke-dasharray="0.15,0.9,0.15,0" stroke-linecap="butt"/>
							</rule>
						</rule>
					</rule>
					<rule e="way" k="toll" v="~" zoom-min="10">
						<line stroke="#444444" stroke-width="2.05" stroke-linecap="butt"/>
						<rule e="way" k="surface" v="raw|winter" zoom-min="13">
							<line stroke="#c0ffffff" stroke-width="2.05" scale="all" stroke-dasharray="0.375,0.45,0.375,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="surface" v="gravel" zoom-min="13">
							<line stroke="#c0ffffff" stroke-width="2.05" scale="all" stroke-dasharray="0.3,0.6,0.3,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="surface" v="compacted|unpaved" zoom-min="13">
							<line stroke="#c0ffffff" stroke-width="2.05" scale="all" stroke-dasharray="0.225,0.75,0.225,0" stroke-linecap="butt"/>
						</rule>	
						<rule e="way" k="surface" v="rough_paved" zoom-min="13">
							<line stroke="#c0ffffff" stroke-width="2.05" scale="all" stroke-dasharray="0.15,0.9,0.15,0" stroke-linecap="butt"/>
						</rule>
					</rule>
				</rule>
				<rule e="way" k="highway" v="motorway">
					<rule e="way" k="toll" v="tl_yes">
						<rule cat="nocity" e="way" k="*" v="*" zoom-max="11">
							<line stroke="#FF5900" stroke-width="3.6" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="*" v="*" zoom-min="12">
							<line stroke="#FF5900" stroke-width="2.6" stroke-linecap="butt"/>
							<rule e="way" k="surface" v="raw|winter" zoom-min="13">
								<line stroke="#c0ffffff" stroke-width="2.6" scale="all" stroke-dasharray="0.375,0.45,0.375,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="surface" v="gravel" zoom-min="13">
								<line stroke="#c0ffffff" stroke-width="2.6" scale="all" stroke-dasharray="0.3,0.6,0.3,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="surface" v="compacted|unpaved" zoom-min="13">
								<line stroke="#c0ffffff" stroke-width="2.6" scale="all" stroke-dasharray="0.225,0.75,0.225,0" stroke-linecap="butt"/>
							</rule>
							<rule e="way" k="surface" v="rough_paved" zoom-min="13">
								<line stroke="#c0ffffff" stroke-width="2.6" scale="all" stroke-dasharray="0.15,0.9,0.15,0" stroke-linecap="butt"/>
							</rule>
						</rule>
					</rule>
					<rule e="way" k="toll" v="~" zoom-min="10">
						<line stroke="#444444" stroke-width="2.25" stroke-linecap="butt"/>
						<rule e="way" k="surface" v="raw|winter" zoom-min="13">
							<line stroke="#c0ffffff" stroke-width="2.25" scale="all" stroke-dasharray="0.375,0.45,0.375,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="surface" v="gravel" zoom-min="13">
							<line stroke="#c0ffffff" stroke-width="2.25" scale="all" stroke-dasharray="0.3,0.6,0.3,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="surface" v="compacted|unpaved" zoom-min="13">
							<line stroke="#c0ffffff" stroke-width="2.25" scale="all" stroke-dasharray="0.225,0.75,0.225,0" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="surface" v="rough_paved" zoom-min="13">
							<line stroke="#c0ffffff" stroke-width="2.25" scale="all" stroke-dasharray="0.15,0.9,0.15,0" stroke-linecap="butt"/>
						</rule>
					</rule>
				</rule>
			</rule>
			<!-- /no area -->
		</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="8">
			<!-- highway casings -->
			<rule e="way" k="highway" v="construction" zoom-min="10">
				<line stroke="#181818" stroke-width="2.5" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="2.05" stroke-linecap="butt"/>
				<line stroke="#888888" stroke-width="1.65" scale="all" stroke-dasharray="0,0.6,3,0" stroke-linecap="butt"/>
			</rule>
			<!-- show BRIDGES ON CYCLE ROUTES or HIKING NETWORKS if paths, tracks are turned off -->
			<!-- cycleways -->
			<rule cat="c_tracks" e="way" k="highway" v="cycleway">
				<line stroke="#181818" stroke-width="1.05" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="0.7" stroke-linecap="butt"/>
			</rule>
			<!-- cycle highways -->
			<rule cat="c_n_hwy" e="way" k="cycle_highway" v="ich|nch|rch|lch">
				<line stroke="#181818" stroke-width="1.05" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="0.7" stroke-linecap="butt"/>
			</rule>
			<!-- cycle networks -->
			<rule cat="c_n_routes" e="way" k="network" v="icn|ncn|rcn|lcn|ocn" zoom-min="15">
				<line stroke="#181818" stroke-width="1.05" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="0.7" stroke-linecap="butt"/>
			</rule>
			<!-- mtb routes -->
			<rule cat="mtb_n_routes" e="way" k="network|mtbnetwork" v="mtb|imn|nmn|rmn|lmn|omn" zoom-min="15">
				<line stroke="#181818" stroke-width="1.05" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="0.7" stroke-linecap="butt"/>
			</rule>
			<!-- hiking networks -->
			<rule cat="h_n_routes" e="way" k="hknetwork|network" v="iwn|nwn|rwn|lwn|own" zoom-min="15">
				<line stroke="#181818" stroke-width="1.05" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="0.7" stroke-linecap="butt"/>
			</rule>

			<rule cat="paths" e="way" k="highway" v="steps|footway|path|bridleway|cycleway" zoom-min="13">
				<line stroke="#181818" stroke-width="1.05" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="0.7" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="highway" v="service|busway" zoom-min="13">
				<rule e="way" k="service" v="driveway|emergency_access|drive-through|parking_aisle" zoom-min="15">
					<line stroke="#181818" stroke-width="1.85" stroke-linecap="butt"/>
					<line stroke="#f8f8f8" stroke-width="1.4" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="service" v="~|alley">
					<line stroke="#181818" stroke-width="2.15" stroke-linecap="butt"/>
					<line stroke="#f8f8f8" stroke-width="1.7" stroke-linecap="butt"/>
				</rule>
			</rule>
			<rule cat="tracks" e="way" k="highway" v="track|byway" zoom-min="13">
				<line stroke="#181818" stroke-width="2.15" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="1.7" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="highway" v="raceway" zoom-min="15">
				<line stroke="#181818" stroke-width="1.95" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="1.5" stroke-linecap="butt"/>
				<line stroke="#FFFFFF" stroke-width="1.15" stroke-linecap="butt"/>
				<line stroke="#DD0000" stroke-width="1.15" stroke-linecap="butt" scale="all" stroke-dasharray="1.2,0.6"/>
			</rule>
			<rule e="way" k="highway" v="pedestrian" zoom-min="13">
				<line stroke="#181818" stroke-width="2.1" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="1.65" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="highway" v="unclassified|living_street|residential|road|ford" zoom-min="13">
				<line stroke="#181818" stroke-width="2.7" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="2.25" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="highway" v="tertiary_link|secondary_link|primary_link" zoom-min="11">
				<line stroke="#181818" stroke-width="2.55" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="2.1" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="highway" v="tertiary|trunk_link|motorway_link" zoom-min="11">
				<line stroke="#181818" stroke-width="2.8" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="2.35" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="highway" v="secondary" zoom-min="10">
				<line stroke="#181818" stroke-width="2.95" stroke-linecap="butt"/>
				<line stroke="#f8f8f8" stroke-width="2.5" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="highway" v="primary|trunk">
				<rule e="way" k="toll" v="tl_yes">
					<rule cat="nocity" e="way" k="*" v="*" zoom-max="11">
						<line stroke="#181818" stroke-width="4.35" stroke-linecap="butt"/>
						<line stroke="#f8f8f8" stroke-width="3.9" stroke-linecap="butt"/>
					</rule>
					<rule e="way" k="*" v="*" zoom-min="12">
						<line stroke="#181818" stroke-width="3.35" stroke-linecap="butt"/>
						<line stroke="#f8f8f8" stroke-width="2.9" stroke-linecap="butt"/>
					</rule>
				</rule>
				<rule e="way" k="toll" v="~">
					<line stroke="#181818" stroke-width="3.1" stroke-linecap="butt"/>
					<line stroke="#f8f8f8" stroke-width="2.65" stroke-linecap="butt"/>
				</rule>
			</rule>

			<!-- Adjust bridge lines if either cycle tracks, and cycle routes "on"
			Render as cat="both" 
			1. cycle tracks are "on" -->
			<rule cat="c_tracks" e="way" k="highway" v="service|busway|residential|living_street|construction|road|ford|pedestrian|unclassified|tertiary_link|secondary_link|primary_link|trunk_link|tertiary|secondary|primary|trunk" zoom-min="13">
				<rule e="way" k="cycleway|cycleway_track" v="cw_track_both|cw_track_right|cw_track|cw_track_oneway|cw_track_oneway_rev">
					<line dy="0.75" stroke="#f8f8f8" stroke-width="1.5" stroke-linecap="butt"/>
					<line dy="1.51" stroke="#181818" stroke-width="0.22" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="cycleway|cycleway_track" v="cw_track_both|cw_track_left|cw_track|cw_track_oneway|cw_track_oneway_rev">
					<line dy="-0.75" stroke="#f8f8f8" stroke-width="1.5" stroke-linecap="butt"/>
					<line dy="-1.51" stroke="#181818" stroke-width="0.22" stroke-linecap="butt"/>
				</rule>
			</rule>
	
			<!-- 2. cycle routes are "on" -->
			<rule cat="c_n_routes" e="way" k="highway" v="service|busway|residential|living_street|construction|road|ford|pedestrian|unclassified|tertiary_link|secondary_link|primary_link|trunk_link|tertiary|secondary|primary|trunk" zoom-min="13">
				<rule e="way" k="network" v="icn|ncn|rcn|lcn|ocn" zoom-min="13">
					<rule e="way" k="cycleway|cycleway_track" v="cw_track_both|cw_track_right|cw_track|cw_track_oneway|cw_track_oneway_rev">
						<line dy="0.75" stroke="#f8f8f8" stroke-width="1.5" stroke-linecap="butt"/>
						<line dy="1.51" stroke="#181818" stroke-width="0.22" stroke-linecap="butt"/>
					</rule>
					<rule cat="c_tracks" e="way" k="cycleway|cycleway_track" v="cw_track_both|cw_track_left|cw_track|cw_track_oneway|cw_track_oneway_rev">
						<line dy="-0.75" stroke="#f8f8f8" stroke-width="1.5" stroke-linecap="butt"/>
						<line dy="-1.51" stroke="#181818" stroke-width="0.22" stroke-linecap="butt"/>
					</rule>
				</rule>
			</rule>

			<!-- Add remaining bridge highway casings -->
			<rule e="way" k="highway" v="construction" zoom-min="10">
				<line stroke="#e0e0e0" stroke-width="1.15" scale="all" stroke-dasharray="0,0.6,3,0" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="highway" v="service|busway" zoom-min="13">
				<rule e="way" k="service" v="driveway|emergency_access|drive-through|parking_aisle" zoom-min="15">
					<line stroke="#888888" stroke-width="1" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="service" v="~|alley">
					<line stroke="#888888" stroke-width="1.3" stroke-linecap="butt"/>
				</rule>
			</rule>
			<rule cat="tracks" e="way" k="highway" v="track|byway">
				<line stroke="#935a04" stroke-width="1.3" stroke-linecap="butt"/>
				<rule e="way" k="tracktype" v="grade5">
					<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.375,0.45,0.375,0" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="tracktype" v="grade4">
					<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.3,0.6,0.3,0" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="tracktype" v="grade3">
					<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.225,0.75,0.225,0" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="tracktype" v="grade2">
					<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.15,0.9,0.15,0" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="tracktype" v="~">				
					<rule e="way" k="surface" v="~">
						<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.25,0.4,0.5,1,0.25,0" stroke-linecap="butt"/>
					</rule>
					<rule e="way" k="surface" v="raw|winter">
						<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.375,0.45,0.375,0" stroke-linecap="butt"/>
					</rule>
					<rule e="way" k="surface" v="gravel">
						<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.3,0.6,0.3,0" stroke-linecap="butt"/>
					</rule>
					<rule e="way" k="surface" v="compacted|unpaved">
						<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.225,0.75,0.225,0" stroke-linecap="butt"/>
					</rule>
					<rule e="way" k="surface" v="rough_paved">
						<line stroke="#c0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.15,0.9,0.15,0" stroke-linecap="butt"/>
					</rule>
					<!--rule e="way" k="surface" v="asphalt|smooth_paved|rough_paved|paved">
					</rule-->
				</rule>
			</rule>
			<rule e="way" k="highway" v="pedestrian" zoom-min="13">
				<line stroke="#444444" stroke-width="1.25" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="highway" v="unclassified|living_street|residential|road|ford" zoom-min="13">
				<line stroke="#444444" stroke-width="1.65" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="highway" v="tertiary_link|secondary_link|primary_link" zoom-min="11">
				<line stroke="#444444" stroke-width="1" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="highway" v="tertiary|trunk_link|motorway_link" zoom-min="11">
				<line stroke="#444444" stroke-width="1.75" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="highway" v="secondary" zoom-min="10">
				<line stroke="#444444" stroke-width="1.9" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="highway" v="primary|trunk">
				<rule e="way" k="toll" v="tl_yes">
					<rule cat="nocity" e="way" k="*" v="*" zoom-max="11">
						<line stroke="#FF5900" stroke-width="3.3" stroke-linecap="butt"/>
					</rule>
					<rule e="way" k="*" v="*" zoom-min="12">
						<line stroke="#FF5900" stroke-width="2.3" stroke-linecap="butt"/>
					</rule>
				</rule>
				<rule e="way" k="toll" v="~">
					<line stroke="#444444" stroke-width="2.05" stroke-linecap="butt"/>
				</rule>
			</rule>	

			<rule e="way" k="highway" v="motorway">
				<rule e="way" k="toll" v="tl_yes">
					<rule cat="nocity" e="way" k="*" v="*" zoom-max="11">
						<line stroke="#181818" stroke-width="4.65" stroke-linecap="butt"/>
						<line stroke="#f8f8f8" stroke-width="4.2" stroke-linecap="butt"/>
						<line stroke="#FF5900" stroke-width="3.6" stroke-linecap="butt"/>
					</rule>
					<rule e="way" k="*" v="*" zoom-min="12">
						<line stroke="#181818" stroke-width="3.65" stroke-linecap="butt"/>
						<line stroke="#f8f8f8" stroke-width="3.2" stroke-linecap="butt"/>
						<line stroke="#FF5900" stroke-width="2.6" stroke-linecap="butt"/>
					</rule>
				</rule>
				<rule e="way" k="toll" v="~">
					<line stroke="#181818" stroke-width="3.3" stroke-linecap="butt"/>
					<line stroke="#f8f8f8" stroke-width="2.85" stroke-linecap="butt"/>
					<line stroke="#444444" stroke-width="2.25" stroke-linecap="butt"/>
				</rule>
			</rule>			
		</rule>
		</rule>
		<!-- /highway -->
		
		<!-- show CYCLE ROUTES or HIKING NETWORKS if paths, tracks turned off -->
		<!-- overlays for cycle, mtb and hiking networks -->
		<!-- cycleways --> 
		<rule cat="c_tracks" e="way" k="highway" v="cycleway" zoom-min="12">
			<line stroke="#0083d7" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
		</rule>
		<!-- cycle highways --> 
		<rule cat="c_n_hwy" e="way" k="cycle_highway" v="ich|nch|rch|lch" zoom-min="12">
			<rule e="way" k="highway" v="steps|track|byway|footway|path|bridleway|cycleway|~" >
				<line stroke="#0083d7" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
			</rule>
		</rule>

		<!-- cycle networks --> 
		<rule e="way" k="network" v="icn|ncn|rcn|lcn|ocn" cat="c_n_routes" zoom-min="12">
			<rule e="way" k="highway" v="steps|track|byway|~" >
				<line stroke="#0083d7" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,0.6,0.6,0.6,3,0.6,0.6,0.6,0.3" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="highway" v="footway|path"> 
				<rule e="way" k="foot" v="ft_no|ft_private">
					<line stroke="#0083d7" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="foot" v="ft_yes|ft_permissive|ft_designated|ft_destination|ft_permit|~">
					<line stroke="#008131" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
				</rule>
			</rule>
			<rule e="way" k="highway" v="bridleway"> 
				<line stroke="#008131" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="highway" v="cycleway"> 
				<rule e="way" k="foot" v="ft_no|ft_private|~">
					<line stroke="#0083d7" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="foot|hknetwork|network" v="ft_yes|ft_permissive|ft_designated|ft_destination|ft_permit|iwn|nwn|rwn|lwn|own">
					<line stroke="#008131" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
				</rule>
			</rule>
		</rule>
		<!-- mtb routes -->
		<rule cat="mtb_n_routes" e="way" k="network|mtbnetwork" v="mtb|imn|nmn|rmn|lmn|omn" zoom-min="12">
			<rule e="way" k="highway" v="footway|path|bridleway|cycleway|steps|track|byway" >
				<line stroke="#905ac4" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,0.6,0.6,0.6,3,0.6,0.6,0.6,0.3" stroke-linecap="butt"/>
			</rule>
		</rule>
		<!-- hiking networks -->
		<rule cat="h_n_routes" e="way" k="hknetwork|network" v="iwn|nwn|rwn|lwn|own" zoom-min="12">
			<rule e="way" k="highway" v="footway|path|bridleway|cycleway|steps|track|byway" >
				<line stroke="#008131" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,0.6,0.6,0.6,3,0.6,0.6,0.6,0.3" stroke-linecap="butt"/>
			</rule>
		</rule>
	</rule>
	<!-- /no tunnel -->
	
	<!-- turning circle core -->
	<rule e="node" k="highway" v="turning_circle" zoom-min="15">
		<circle radius="0.8" scale-radius="true" fill="#d6d6d6"/>
	</rule>
	<rule e="node" k="highway" v="passing_place" zoom-min="15">
		<circle radius="1.3" scale-radius="true" fill="#F1EAD5"/>
	</rule>
	<rule e="node" k="highway" v="mini_roundabout" zoom-min="15">
		<circle radius="1.2" scale-radius="true" fill="#f8f8f8"/>
	</rule>
	
	<!-- no tunnel -->
	<rule e="way" k="tunnel" v="~|no">
	<!-- highway areas -->
		<rule e="way" k="based_on_rel|area" v="mp|yes" closed="yes">
			<rule cat="tracks" e="way" k="highway" v="track|byway" zoom-min="13">
				<area fill="#F1E9C3" stroke="#935a04" stroke-width="0.2"/>
			</rule>
			<rule e="way" k="highway" v="service|busway" zoom-min="13">
				<area fill="#eeeeee" stroke="#888888" stroke-width="0.2"/>
			</rule>
			<rule e="way" k="highway" v="living_street" zoom-min="13">
				<area fill="#d6d6d6" stroke="#444444" stroke-width="0.25"/>
			</rule>
			<rule e="way" k="highway" v="residential|road" zoom-min="13">
				<area fill="#ffffff" stroke="#444444" stroke-width="0.25"/>
			</rule>
			<rule cat="noyellow" e="way" k="highway" v="unclassified" zoom-min="12">
				<rule e="way" k="*" v="*" zoom-max="12" cat="nocity">
					<area fill="#fff100" stroke="#444444" stroke-width="0.25"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="13">
					<area fill="#fff100" stroke="#444444" stroke-width="0.25"/>
				</rule>
			</rule>
			<rule cat="yellow" e="way" k="highway" v="unclassified" zoom-min="12">
				<rule e="way" k="*" v="*" zoom-max="12" cat="nocity">
					<area fill="#FFFF88" stroke="#444444" stroke-width="0.25"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="13">
					<area fill="#FFFF88" stroke="#444444" stroke-width="0.25"/>
				</rule>
			</rule>
		</rule>
		<rule e="way" k="based_on_rel|area" v="mp|yes" closed="no" zoom-min="12"> <!-- Error recovery -->
			<rule e="way" k="highway" v="*">
				<line stroke="#444444" stroke-width="1.65"/>
				<line stroke="#ffffff" stroke-width="1.15"/>
			</rule>
		</rule>

		<!-- no area -->
		<rule e="way" k="based_on_rel|area" v="~|area_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|ocn" zoom-min="13">
				<rule e="way" k="highway" v="service|busway|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.1" stroke="#0083d7" stroke-width="0.4" scale="all" stroke-dasharray="0,0.3,1.8,0.3" 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.1" stroke="#0083d7" stroke-width="0.4" scale="all" stroke-dasharray="0,0.3,1.8,0.3" 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.1" stroke="#0083d7" stroke-width="0.4" scale="all" stroke-dasharray="0,0.3,1.8,0.3" 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.1" stroke="#0083d7" stroke-width="0.4" scale="all" stroke-dasharray="0,0.3,1.8,0.3" 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.1" stroke="#0083d7" stroke-width="0.4" scale="all" stroke-dasharray="0,0.3,1.8,0.3" 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.1" stroke="#0083d7" stroke-width="0.4" scale="all" stroke-dasharray="0,0.3,1.8,0.3" 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.95" stroke="#0083d7" stroke-width="0.3" scale="all" stroke-dasharray="0,0.3,0.6,0.3" 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.95" stroke="#0083d7" stroke-width="0.3" scale="all" stroke-dasharray="0,0.3,0.6,0.3" 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.95" stroke="#0083d7" stroke-width="0.3" scale="all" stroke-dasharray="0,0.3,0.6,0.3" 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.95" stroke="#0083d7" stroke-width="0.3" scale="all" stroke-dasharray="0,0.3,0.6,0.3" 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.95" stroke="#0083d7" stroke-width="0.3" scale="all" stroke-dasharray="0,0.3,0.6,0.3" 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.95" stroke="#0083d7" stroke-width="0.3" scale="all" stroke-dasharray="0,0.3,0.6,0.3" 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|busway|residential|living_street|construction|road|ford|pedestrian|unclassified|tertiary_link|secondary_link|primary_link|trunk_link|tertiary|secondary|primary|trunk" zoom-min="13">
			<!-- 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.1" stroke="#80ffffff" stroke-width="0.5" stroke-linecap="butt"/>
				<line dy="1.1" stroke="#0083d7" stroke-width="0.4" scale="all" stroke-dasharray="0,0.3,1.8,0.3" 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.1" stroke="#80ffffff" stroke-width="0.5" stroke-linecap="butt"/>
				<line dy="1.1" stroke="#0083d7" stroke-width="0.4" scale="all" stroke-dasharray="0,0.3,1.8,0.3" 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.1" stroke="#80ffffff" stroke-width="0.5" stroke-linecap="butt"/>
				<line dy="1.1" stroke="#0083d7" stroke-width="0.4" scale="all" stroke-dasharray="0,0.3,1.8,0.3" 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.1" stroke="#80ffffff" stroke-width="0.5" stroke-linecap="butt"/>
				<line dy="-1.1" stroke="#0083d7" stroke-width="0.4" scale="all" stroke-dasharray="0,0.3,1.8,0.3" 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.1" stroke="#80ffffff" stroke-width="0.5" stroke-linecap="butt"/>
				<line dy="-1.1" stroke="#0083d7" stroke-width="0.4" scale="all" stroke-dasharray="0,0.3,1.8,0.3" 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.1" stroke="#80ffffff" stroke-width="0.5" stroke-linecap="butt"/>
				<line dy="-1.1" stroke="#0083d7" stroke-width="0.4" scale="all" stroke-dasharray="0,0.3,1.8,0.3" 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.95" stroke="#80ffffff" stroke-width="0.4" stroke-linecap="butt"/>
				<line dy="0.95" stroke="#0083d7" stroke-width="0.3" scale="all" stroke-dasharray="0,0.3,0.6,0.3" 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.95" stroke="#80ffffff" stroke-width="0.4" stroke-linecap="butt"/>
				<line dy="0.95" stroke="#0083d7" stroke-width="0.3" scale="all" stroke-dasharray="0,0.3,0.6,0.3" 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.95" stroke="#80ffffff" stroke-width="0.4" stroke-linecap="butt"/>
				<line dy="0.95" stroke="#0083d7" stroke-width="0.3" scale="all" stroke-dasharray="0,0.3,0.6,0.3" 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.95" stroke="#80ffffff" stroke-width="0.4" stroke-linecap="butt"/>
				<line dy="-0.95" stroke="#0083d7" stroke-width="0.3" scale="all" stroke-dasharray="0,0.3,0.6,0.3" 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.95" stroke="#80ffffff" stroke-width="0.4" stroke-linecap="butt"/>
				<line dy="-0.95" stroke="#0083d7" stroke-width="0.3" scale="all" stroke-dasharray="0,0.3,0.6,0.3" 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.95" stroke="#80ffffff" stroke-width="0.4" stroke-linecap="butt"/>
				<line dy="-0.95" stroke="#0083d7" stroke-width="0.3" scale="all" stroke-dasharray="0,0.3,0.6,0.3" stroke-linecap="butt"/>
			</rule>
		</rule>

		<!-- highway cores -->
		<!-- rule e="way" k="highway" v="*" -->
		<!-- no area -->
		<rule e="way" k="based_on_rel|area" v="~|area_no">
			<rule e="way" k="*" v="*" zoom-max="12" cat="nocity">
				<rule cat="paths" e="way" k="highway" v="steps" zoom-min="12">
					<line stroke="#6A3006" stroke-width="0.7" stroke-linecap="butt"/>
					<line stroke="#F3DBB7" stroke-width="0.45" scale="all" stroke-dasharray="0.15,0.15" stroke-linecap="butt"/>
				</rule>
				<rule cat="paths" e="way" k="highway" v="footway|path" zoom-min="12">
					<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">
							<line stroke="#6A3006" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,0.6,0.3" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule e="way" k="access" v="permissive|~">
						<rule e="way" k="foot" v="ft_yes|ft_permissive|ft_designated|ft_destination|ft_permit|~">
							<rule e="way" k="sac_scale" v="~|T1|T2|hiking|mountain_hiking">
								<rule e="way" k="trail_visibility" v="~|excellent|good|intermediate">
									<line stroke="#6A3006" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,0.6,0.3" 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="#6A3006" stroke-width="0.5" scale="all" stroke-dasharray="0,0.45,0.3,0.45" stroke-linecap="butt"/>
							</rule>
						</rule>
					</rule>
					<!-- bike access and routes on path treated as bridleway (access for bicycles as well as on foot) -->
					<rule e="way" k="bicycle|network|mtbnetwork" v="bic_yes|bic_permissive|bic_designated|icn|ncn|rcn|lcn|ocn|imn|nmn|rmn|lmn|omn">
						<rule e="way" k="foot" v="ft_no|ft_private">
							<line stroke="#0083d7" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="foot" v="ft_yes|ft_permissive|ft_designated|ft_destination|ft_permit|~">
							<line stroke="#008131" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
						</rule>
					</rule>
				</rule>
				<rule cat="paths" e="way" k="highway" v="bridleway" zoom-min="12"> 
					<line stroke="#008131" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
				</rule>
				<rule cat="paths" e="way" k="highway" v="cycleway" zoom-min="12"> 
					<line stroke="#80ffffff" stroke-width="0.5" stroke-linecap="butt"/>
					<rule e="way" k="foot" v="ft_no|ft_private|~">
						<line stroke="#0083d7" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
					</rule>
					<rule e="way" k="foot|hknetwork|network" v="ft_yes|ft_permissive|ft_designated|ft_destination|ft_permit|iwn|nwn|rwn|lwn|own">
						<line stroke="#008131" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
					</rule>
				</rule>
				<rule cat="tracks" e="way" k="highway" v="track|byway" zoom-min="12">
					<line stroke="#F1E9C3" stroke-width="0.9" stroke-linecap="butt"/>
				</rule>
			</rule>
				
			<rule e="way" k="*" v="*" zoom-min="13">
				<rule cat="paths" e="way" k="highway" v="steps">
					<line stroke="#6A3006" stroke-width="0.7" stroke-linecap="butt"/>
					<line stroke="#F3DBB7" stroke-width="0.45" scale="all" stroke-dasharray="0.15,0.15" stroke-linecap="butt"/>
				</rule>
				<rule cat="paths" e="way" k="highway" v="footway|path">	
					<rule e="way" k="access|foot" v="private|ft_private|ft_destination|destination|acc_no|forestry|permit">
						<rule e="way" k="foot" v="~|ft_no|ft_private" zoom-min="14">
							<line stroke="#806A3006" stroke-width="0.25" scale="all" stroke-dasharray="0,0.3,0.6,0.3" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="access|foot" v="ft_yes|ft_permissive|permissive|ft_designated|designated|ft_destination|destination|ft_permit|permit">
							<rule e="way" k="sac_scale" v="~|T1|T2|hiking|mountain_hiking">
								<rule e="way" k="trail_visibility" v="~|excellent|good|intermediate">												<line stroke="#6A3006" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,0.6,0.3" 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="#6A3006" stroke-width="0.5" scale="all" stroke-dasharray="0,0.45,0.3,0.45" stroke-linecap="butt"/>
							</rule>
						</rule>
					</rule>
					<rule e="way" k="access" v="permissive|~">
						<rule e="way" k="foot" v="ft_no|ft_private" zoom-min="14">
							<line stroke="#806A3006" stroke-width="0.25" scale="all" stroke-dasharray="0,0.3,0.6,0.3" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="foot" v="ft_yes|ft_permissive|ft_designated|ft_destination|ft_permit|~">
							<rule e="way" k="sac_scale" v="~|T1|T2|hiking|mountain_hiking">
								<rule e="way" k="trail_visibility" v="~|excellent|good|intermediate">												<line stroke="#6A3006" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,0.6,0.3" 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="#6A3006" stroke-width="0.5" scale="all" stroke-dasharray="0,0.45,0.3,0.45" stroke-linecap="butt"/>
							</rule>
						</rule>
					</rule>
					<!-- bike access and routes on path treated as bridleway (access for bicycles as well as on foot) -->
					<rule e="way" k="bicycle|network|mtbnetwork" v="bic_yes|bic_permissive|bic_designated|icn|ncn|rcn|lcn|ocn|imn|nmn|rmn|lmn|omn">
						<rule e="way" k="foot" v="ft_no|ft_private">
							<line stroke="#0083d7" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="foot" v="ft_yes|ft_permissive|ft_designated|ft_destination|ft_permit|~">
							<line stroke="#008131" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
						</rule>
					</rule>
				</rule>
				
				<rule cat="paths" e="way" k="highway" v="bridleway" zoom-min="12"> 
					<line stroke="#008131" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
				</rule>
				<rule cat="paths" e="way" k="highway" v="cycleway" zoom-min="12"> 
					<line stroke="#80ffffff" stroke-width="0.5" stroke-linecap="butt"/>
					<rule e="way" k="foot" v="ft_no|ft_private|~">
						<line stroke="#0083d7" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
					</rule>
					<rule e="way" k="foot|hknetwork|network" v="ft_yes|ft_permissive|ft_designated|ft_destination|ft_permit|iwn|nwn|rwn|lwn|own">
						<line stroke="#008131" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
					</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="14">
						<line stroke="#DD3333FF" stroke-width="0.8" scale="all" stroke-dasharray="0,1.64,0.16,0" stroke-linecap="butt"/>
					</rule>
				</rule>
				<rule cat="paths" e="way" k="highway" v="path|footway|steps" zoom-min="14">
					<rule e="way" k="access" v="private|acc_no|forestry|permit">
						<rule e="way" k="foot" v="ft_no|ft_private|~">
							<line stroke="#DDFF3333" stroke-width="0.8" scale="all" stroke-dasharray="0,1.6,0.2,0" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule e="way" k="access" v="permissive|~">
						<rule e="way" k="foot" v="ft_no|ft_private">
							<rule e="way" k="bicycle" v="bic_no|bic_private|bic_forestry|~">
								<line stroke="#DDFF3333" stroke-width="0.8" scale="all" stroke-dasharray="0,1.6,0.2,0" stroke-linecap="butt"/>
							</rule>
						</rule>
					</rule>
				</rule>

				<rule cat="paths" e="way" k="access" v="private|acc_no|forestry|permit">
					<rule e="way" k="highway" v="bridleway">
						<rule e="way" k="foot|bicycle" v="ft_no|ft_private|bic_no|bic_private|bic_forestry|~">
							<line stroke="#DDFF3333" stroke-width="0.8" scale="all" stroke-dasharray="0,1.6,0.2,0" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule e="way" k="highway" v="cycleway">
						<rule e="way" k="bicycle" v="bic_no|bic_private|bic_forestry|~">
							<line stroke="#DDFF3333" stroke-width="0.8" scale="all" stroke-dasharray="0,1.6,0.2,0" stroke-linecap="butt"/>
						</rule>
					</rule>
				</rule>

				<rule cat="tracks" e="way" k="highway" v="track|byway">
					<line stroke="#F1E9C3" stroke-width="0.9" 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="13">
				<rule cat="paths" e="way" k="foot|hknetwork|network|bicycle|mtbnetwork" v="ft_yes|ft_permissive|ft_designated|iwn|nwn|rwn|lwn|own|bic_yes|bic_permissive|bic_designated|icn|ncn|rcn|lcn|ocn|mtb|imn|nmn|rmn|lmn|omn">
					<line stroke="#FBF4DE" stroke-width="1" stroke-linecap="butt"/>
					<line stroke="#80ffffff" stroke-width="0.4" 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="13">
				<rule e="way" k="foot|hknetwork" v="ft_yes|ft_permissive|ft_designated|ft_destination|ft_permit|iwn|nwn|rwn|lwn|own">
					<rule e="way" k="bicycle" v="bic_no|bic_private|bic_forestry|~">
						<line stroke="#6A3006" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,0.6,0.3" stroke-linecap="butt"/>
					</rule>
				</rule>
				<rule e="way" k="bicycle|network|mtbnetwork" v="bic_yes|bic_permissive|bic_designated|icn|ncn|rcn|lcn|ocn|mtb|imn|nmn|rmn|lmn|omn">
					<rule e="way" k="foot" v="ft_yes|ft_permissive|ft_designated|ft_destination|ft_permit|~">
						<line stroke="#008131" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
					</rule>
					<rule e="way" k="foot" v="ft_no|ft_private">
						<line stroke="#0083d7" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
					</rule>
				</rule>
			</rule>
			<rule e="way" k="highway" v="pedestrian" zoom-min="12">
				<rule e="way" k="*" v="*" zoom-max="12" cat="nocity">
					<line stroke="#F3DBB7" stroke-width="0.95"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="13">
					<line stroke="#F3DBB7" stroke-width="0.95"/>
					<rule e="way" k="*" v="*" zoom-max="17">
						<line src="file:vol_res/patterns/access-pedestrian.png" symbol-height="8" stroke-width="0.95" />
					</rule>
					<rule e="way" k="*" v="*" zoom-min="18">
						<line src="file:vol_res/patterns/access-pedestrian.png" symbol-height="16" stroke-width="0.95" />
					</rule>
					<rule cat="c_tracks_paths" 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.3" scale="all" stroke-dasharray="0,0.44,0.32,0.44" stroke-linecap="butt"/>
						</rule>
					</rule>
				</rule>
			</rule>
				
			<rule e="way" k="highway" v="service|busway" zoom-min="12">
				<rule e="way" k="service" v="driveway|emergency_access|drive-through|parking_aisle" zoom-min="15">
					<line stroke="#eeeeee" stroke-width="0.6"/>
				</rule>
				<rule e="way" k="service" v="~|alley" zoom-min="12">
					<rule cat="nocity" e="way" k="*" v="*" zoom-max="12">
						<line stroke="#eeeeee" stroke-width="0.9"/>
					</rule>
					<rule e="way" k="*" v="*" zoom-min="13">
						<line stroke="#eeeeee" stroke-width="0.9"/>
					</rule>
				</rule>

				<rule cat="c_tracks_paths" 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="~">
						<rule e="way" k="foot" v="~">
							<line stroke="#0083d7" stroke-width="0.3" scale="all" stroke-dasharray="0,0.44,0.32,0.44" stroke-linecap="butt"/>
						</rule>
					</rule>
				</rule>

				<!-- Show bike access with small blue dots on service roads with cycle tracks or lanes only if tracks or lanes are not shown -->
				<rule e="way" k="cycleway|cycleway_lane|cycleway_track" v="*">
					<rule e="way" k="foot" v="~">
						<rule cat="paths" 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">
							<line stroke="#0083d7" stroke-width="0.3" scale="all" stroke-dasharray="0,0.44,0.32,0.44" stroke-linecap="butt"/>
						</rule>
						<rule cat="c_tracks_paths" 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">							<line stroke="#eeeeee" stroke-width="0.3" />
						</rule>
						<rule cat="c_routes" e="way" k="network" v="icn|ncn|rcn|lcn|ocn" >	
							<line stroke="#eeeeee" stroke-width="0.3" />
						</rule>
					</rule>
				</rule>
			</rule>
			
			<rule e="way" k="highway" v="living_street" zoom-min="12">
				<rule cat="nocity" e="way" k="*" v="*" zoom-max="12">
					<line stroke="#d6d6d6" stroke-width="1.15"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="13">
					<line stroke="#d6d6d6" stroke-width="1.15"/>
				</rule>
			</rule>
			<rule e="way" k="highway" v="raceway">
 				<rule cat="nocity" e="way" k="*" v="*" zoom-min="11" zoom-max="13" closed="no">
					<line stroke="#A3A3A3" stroke-width="0.65"/>
					<line stroke="#C40000" stroke-width="0.65" stroke-linecap="butt" scale="all" stroke-dasharray="0.6,0.6"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="14" zoom-max="14">
					<line stroke="#A3A3A3" stroke-width="0.65"/>
					<line stroke="#C40000" stroke-width="0.65" stroke-linecap="butt" scale="all" stroke-dasharray="0.6,0.6"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="15">
					<line stroke="#BDBDBD" stroke-width="0.75"/>
				</rule>
			</rule>

			<rule e="way" k="highway" v="residential|road|ford" zoom-min="12">
				<rule cat="nocity" e="way" k="*" v="*" zoom-max="12">
					<rule cat="background" e="way" k="*" v="*">
						<line stroke="#ffffff" stroke-width="1.15"/>
					</rule>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="13">
					<line stroke="#ffffff" stroke-width="1.15"/>
				</rule>
			</rule>
			<rule e="way" k="highway" v="unclassified" zoom-min="12">
				<rule cat="noyellow" e="way" k="*" v="*">
					<rule cat="nocity" e="way" k="*" v="*" zoom-max="11">
						<line stroke="#fff100" stroke-width="1.15"/>
					</rule>
					<rule e="way" k="*" v="*" zoom-min="12">
						<line stroke="#fff100" stroke-width="1.15"/>
					</rule>
				</rule>
				<rule cat="yellow" e="way" k="*" v="*">
					<rule cat="nocity" e="way" k="*" v="*" zoom-max="11">
						<line stroke="#FFFF88" stroke-width="1.15"/>
					</rule>
					<rule e="way" k="*" v="*" zoom-min="12">
						<line stroke="#FFFF88" stroke-width="1.15"/>
					</rule>
				</rule>
			</rule>
			<rule e="way" k="highway" v="tertiary_link" zoom-min="11">
				<rule e="way" k="*" v="*" cat="noyellow">
					<line stroke="#F9B92d" stroke-width="1"/>
				</rule>
				<rule e="way" k="*" v="*" cat="yellow">
					<line stroke="#FFEC8B" stroke-width="1"/>
				</rule>
			</rule>
			<rule e="way" k="highway" v="secondary_link" zoom-min="10">
				<rule e="way" k="*" v="*" cat="noyellow">
					<line stroke="#D17C37" stroke-width="1"/>
				</rule>
				<rule e="way" k="*" v="*" cat="yellow">
					<line stroke="#FFEC8B" stroke-width="1"/>
				</rule>
			</rule>
			<rule e="way" k="highway" v="primary_link" zoom-min="8">
				<rule e="way" k="*" v="*" cat="noyellow">
					<line stroke="#E064A2" stroke-width="1"/>
				</rule>
				<rule e="way" k="*" v="*" cat="yellow">
					<line stroke="#FFDF33" stroke-width="1"/>
				</rule>
			</rule>
			<rule e="way" k="highway" v="trunk_link" zoom-min="8">
				<rule e="way" k="*" v="*">
					<line stroke="#26A958" stroke-width="1.25" cat="noyellow"/>
				</rule>
				<rule e="way" k="*" v="*" cat="yellow">
					<line stroke="#FF9500" stroke-width="1.25"/>
				</rule>
			</rule>
			<rule e="way" k="highway" v="motorway_link">
				<rule e="way" k="*" v="*" cat="noyellow">
					<line stroke="#0083d7" stroke-width="1.25"/>
				</rule>
				<rule e="way" k="*" v="*" cat="yellow">
					<line stroke="#FF7700" stroke-width="1.25"/>
				</rule>
			</rule>
			<rule e="way" k="highway" v="tertiary" zoom-min="11">
				<rule cat="noyellow" e="way" k="*" v="*">
					<line stroke="#F9B92d" stroke-width="1.25"/>
				</rule>
				<rule cat="yellow" e="way" k="*" v="*">
					<line stroke="#FFEC8B" stroke-width="1.25"/>
				</rule>
			</rule>
			<rule e="way" k="highway" v="secondary" zoom-min="10">
				<rule e="way" k="*" v="*" cat="noyellow">
					<line stroke="#D17C37" stroke-width="1.4"/>
				</rule>
				<rule e="way" k="*" v="*" cat="yellow">
					<line stroke="#FFEC8B" stroke-width="1.4"/>
				</rule>
			</rule>
			<rule e="way" k="highway" v="primary" zoom-min="8">
				<rule e="way" k="*" v="*" cat="noyellow">
					<line stroke="#E064A2" stroke-width="1.55"/>
				</rule>
				<rule e="way" k="*" v="*" cat="yellow">
					<line stroke="#FFDF33" stroke-width="1.55"/>
				</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.55"/>
				</rule>
				<rule e="way" k="*" v="*" cat="yellow">
					<line stroke="#FF9500" stroke-width="1.5"/>
				</rule>
			</rule>

			<!-- overlays for cycle routes or hiking networks on normal roads -->
			<rule e="way" k="highway" v="pedestrian|track|byway|residential|service|busway|living_street|construction|road|ford|unclassified|tertiary_link|secondary_link|primary_link|trunk_link|tertiary|secondary|primary|trunk" zoom-min="13">
					<!-- cycle networks --> 
					<rule cat="c_routes" e="way" k="network" v="icn|ncn|rcn|lcn|ocn">
						<rule e="way" k="highway" v="track|byway|residential|living_street|construction|road|ford|unclassified|tertiary_link|secondary_link|primary_link|trunk_link|tertiary|secondary|primary|trunk">
							<line stroke="#40ffffff" stroke-width="0.6" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="cycleway|cycleway_lane|cycleway_track" v="~">
							<line stroke="#0083d7" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,0.6,0.6,0.6,3,0.6,0.6,0.6,0.3" stroke-linecap="butt"/>
						</rule>
					</rule>
					<rule cat="mtb_routes" e="way" k="network|mtbnetwork" v="mtb|imn|nmn|rmn|lmn|omn">
						<rule e="way" k="highway" v="track|byway|residential|living_street|construction|road|ford|unclassified|tertiary_link|secondary_link|primary_link|trunk_link|tertiary|secondary|primary|trunk" zoom-min="13">
							<line stroke="#40ffffff" stroke-width="0.6" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="cycleway|cycleway_lane|cycleway_track" v="~">
							<line stroke="#905ac4" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,0.6,0.6,0.6,3,0.6,0.6,0.6,0.3" stroke-linecap="butt"/>
						</rule>
					</rule>
					<!-- hiking networks -->
					<rule cat="h_routes" e="way" k="hknetwork|network" v="iwn|nwn|rwn|lwn|own">
						<line stroke="#40ffffff" stroke-width="0.6" stroke-linecap="butt"/>
						<line stroke="#008131" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,0.6,0.6,0.6,3,0.6,0.6,0.6,0.3" stroke-linecap="butt"/>
							
						<!-- MTB networks double space --> 
						<rule cat="mtb_routes" e="way" k="network|mtbnetwork" v="mtb|imn|nmn|rmn|lmn|omn">
						<line stroke="#905ac4" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,0.6,0.6,0.6,10.2,0.6,0.6,0.6,0.3" stroke-linecap="butt"/>
					</rule>
					<!-- cycle networks double space --> 
					<rule cat="c_routes" e="way" k="network" v="icn|ncn|rcn|lcn|ocn">
						<rule e="way" k="cycleway|cycleway_lane|cycleway_track" v="~">
							<line stroke="#0083d7" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,0.6,0.6,0.6,10.2,0.6,0.6,0.6,0.3" stroke-linecap="butt"/>
						</rule>
					</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="13">
				<rule cat="h_routes" e="way" k="hknetwork" v="iwn|nwn|rwn|lwn|own">
					<rule e="way" k="bicycle" v="bic_no|bic_private|bic_forestry|~">
						<line stroke="#6A3006" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,0.6,0.3" stroke-linecap="butt"/>
					</rule>
					<rule e="way" k="bicycle|network|mtbnetwork" v="bic_yes|bic_permissive|bic_designated|icn|ncn|rcn|lcn|ocn|mtb|imn|nmn|rmn|lmn|omn">
						<line stroke="#008131" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
					</rule>
				</rule>
				<rule cat="c_routes" e="way" k="network" v="icn|ncn|rcn|lcn|ocn">
					<rule e="way" k="foot" v="ft_yes|ft_permissive|ft_designated|ft_destination|ft_permit|~">
						<line stroke="#008131" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
					</rule>
					<rule e="way" k="foot" v="ft_no|ft_private">
						<line stroke="#0083d7" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
					</rule>
				</rule>
				<rule cat="mtb_routes" e="way" k="network|mtbnetwork" v="mtb|imn|nmn|rmn|lmn|omn">
					<rule e="way" k="foot" v="ft_yes|ft_permissive|ft_designated|ft_destination|ft_permit|~">
						<line stroke="#008131" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
					</rule>
					<rule e="way" k="foot" v="ft_no|ft_private">
						<line stroke="#0083d7" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
					</rule>
				</rule>
			</rule>
			
			<!-- Overlays for foot & cycle designated or permissive access on service road - for recognised footpath bridleway or cycleway, also if foot or bic=yes -->
			<rule e="way" k="highway" v="service|busway">
				<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|own">
						<rule e="way" k="bicycle" v="bic_no|bic_private|bic_forestry|~">
							<line stroke="#6A3006" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,0.6,0.3" stroke-linecap="butt"/>
						</rule>
						<rule e="way" k="bicycle|network|mtbnetwork" v="bic_yes|bic_permissive|bic_designated|icn|ncn|rcn|lcn|ocn|mtb|imn|nmn|rmn|lmn|omn">
							<line stroke="#008131" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
						</rule>
					</rule>

					<rule e="way" k="bicycle|network|mtbnetwork" v="bic_yes|bic_permissive|bic_designated|icn|ncn|rcn|lcn|ocn|mtb|imn|nmn|rmn|lmn|omn">
						<rule e="way" k="cycleway|cycleway_lane|cycleway_track" v="~">
						<!-- if foot access unknown rely on previous code-->
						<!--
							<rule e="way" k="foot" v="~">
							</rule>
							-->
							<!-- show as cycleway if foot specifically banned -->
							<rule e="way" k="foot" v="ft_no|ft_private">
								<line stroke="#0083d7" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" 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="13">
						<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|own">
							<line stroke="#eeeeee" stroke-width="0.7"/>
							<line stroke="#6A3006" stroke-width="0.4" scale="all" stroke-dasharray="0,0.3,0.6,0.3" stroke-linecap="butt"/>
						</rule>
						<rule cat="c_routes" e="way" k="network|mtbnetwork" v="icn|ncn|rcn|lcn|ocn|mtb|imn|nmn|rmn|lmn|omn">
							<rule e="way" k="foot|hknetwork|network" v="ft_yes|ft_permissive|ft_designated|ft_destination|ft_permit|iwn|nwn|rwn|lwn|own">
								<line stroke="#eeeeee" stroke-width="0.7"/>
								<line stroke="#6A3006" stroke-width="0.4" scale="all" stroke-dasharray="0,0.3,0.6,0.3" stroke-linecap="butt"/>
							</rule>
						</rule>
					</rule>
				</rule>
			</rule>
				
			<rule e="way" k="highway" v="motorway">
				<rule e="way" k="*" v="*" cat="noyellow">
					<line stroke="#0083d7" stroke-width="1.75"/>
				</rule>
				<rule e="way" k="*" v="*" cat="yellow">
					<line stroke="#FF7700" stroke-width="1.75"/>
				</rule>
			</rule>
		</rule>
		<!-- /highway -->
		
		<!-- overlays for half hidden cycleways, also surfaced paths with cycle access -->
		<rule cat="c_tracks" e="way" k="highway" v="cycleway">
			<line stroke="#80ffffff" stroke-width="0.5"/>
			<line stroke="#0083d7" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
		</rule>

		<rule cat="c_surfaces" e="way" k="highway" v="footway|path|track|byway">
			<rule e="way" k="cycleway|cycleway_lane|cycleway_track" v="~">
				<rule e="way" k="bicycle|network" v="bic_yes|bic_permissive|bic_designated|icn|ncn|rcn|lcn|ocn">
					<rule e="any" k="surface|tracktype" v="asphalt|smooth_paved|paved|grade1">
						<line stroke="#80e0f0" stroke-width="0.5"/>
						<line stroke="#0083d7" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
					</rule>
					<rule e="any" k="surface|tracktype" v="rough_paved|compacted|unpaved|grade2">
						<line stroke="#80e0f0" stroke-width="0.5"/>
						<line stroke="#0083d7" stroke-width="0.5" scale="all" stroke-dasharray="0,0.6,1.2,0.6" stroke-linecap="butt"/>
					</rule>
					<rule e="any" k="surface|tracktype" v="gravel|grade3">
						<line stroke="#80e0f0" stroke-width="0.5"/>
						<line stroke="#0083d7" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,0.6,0.3" 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="#80e0f0" stroke-width="0.5"/>
				<line stroke="#0083d7" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
			</rule>
			<rule e="any" k="surface|tracktype" v="rough_paved|compacted|unpaved|grade2">
				<line stroke="#80e0f0" stroke-width="0.5"/>
				<line stroke="#0083d7" stroke-width="0.5" scale="all" stroke-dasharray="0,0.6,1.2,0.6" stroke-linecap="butt"/>
			</rule>
			<rule e="any" k="surface|tracktype" v="gravel|grade3">
				<line stroke="#80e0f0" stroke-width="0.5"/>
				<line stroke="#0083d7" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,0.6,0.3" 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|bridleway|byway">
			<rule e="way" k="cycleway|cycleway_lane|cycleway_track" v="~">
				<rule e="way" k="bicycle|network" v="icn|ncn|rcn|lcn|ocn">
					<rule e="any" k="surface|tracktype" v="~">
						<line stroke="#80e0f0" stroke-width="0.5"/>
						<line stroke="#0083d7" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" 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="#80e0f0" stroke-width="0.5"/>
				<line stroke="#0083d7" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
			</rule>
			<rule e="any" k="surface|tracktype" v="rough_paved|compacted|unpaved|grade2">
					<line stroke="#80e0f0" stroke-width="0.5"/>
					<line stroke="#0083d7" stroke-width="0.5" scale="all" stroke-dasharray="0,0.6,1.2,0.6" stroke-linecap="butt"/>
				</rule>
				<rule e="any" k="surface|tracktype" v="gravel|grade3">
					<line stroke="#80e0f0" stroke-width="0.5"/>
					<line stroke="#0083d7" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,0.6,0.3" stroke-linecap="butt"/>
				</rule>
		</rule>
		
		<!-- overlays for half hidden boundaries and frontiers -->
		<rule e="way" k="admin_level" v="4|5|6" zoom-min="14">
			<line stroke="#20FFFFff" stroke-width="0.75" />
			<line stroke="#4000cc00" stroke-width="0.75" scale="all" stroke-dasharray="0.4,0.4" stroke-linecap="butt" />
		</rule>				
		<rule e="way" k="admin_level" v="3" zoom-min="14">
			<line stroke="#20FFFFff" stroke-width="1" />
			<line stroke="#40ffa000" stroke-width="1" scale="all" stroke-dasharray="0.4,0.4" stroke-linecap="butt" />
		</rule>	
		<rule e="way" k="admin_level" v="2" zoom-min="14">
			<line stroke="#20FFFFff" stroke-width="1" />
			<line stroke="#40ee4444" stroke-width="1" scale="all" stroke-dasharray="0.4,0.4" stroke-linecap="butt" />
		</rule>

		<!-- pathtexts for road names here-->
		<rule e="way" k="highway" v="tertiary|tertiary_link|secondary|secondary_link|primary|primary_link|trunk|trunk_link|motorway|motorway_link" zoom-min="15">
			<rule cat="noroad" e="way" k="*" v="*" zoom-max="15">
				<pathText repeat-gap="200" repeat-start="8" priority="10" k="name" font-style="bold" font-size="8" stroke="#B0FFFFFF" stroke-width="3"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="16" zoom-max="17">
				<pathText repeat-gap="200" repeat-start="8" priority="10" k="name" font-style="bold" font-size="10" stroke="#B0FFFFFF" stroke-width="3"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<pathText repeat-gap="200" repeat-start="10" priority="10" k="name" font-style="bold" font-size="15" stroke="#A0FFFFFF" stroke-width="3"/>
			</rule>
		</rule>
		<rule e="way" k="highway" v="pedestrian|service|busway|residential|living_street|construction|road|ford|unclassified" zoom-min="15">
			<rule e="way" k="*" v="*" zoom-max="15">
				<pathText repeat-gap="200" repeat-start="8" priority="10" k="name" font-style="bold" font-size="8" stroke="#C0FFFFFF" stroke-width="3"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="16" zoom-max="17">
				<pathText repeat-gap="200" repeat-start="8" priority="10" k="name" font-style="bold" font-size="10" stroke="#B0FFFFFF" stroke-width="3"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<pathText repeat-gap="200" repeat-start="12" priority="10" k="name" font-style="bold" font-size="15" stroke="#A0FFFFFF" stroke-width="3"/>
			</rule>
		</rule>
		<rule cat="tracks" e="way" k="highway" v="track|byway" zoom-min="15">
			<rule e="way" k="*" v="*" zoom-max="15">
				<pathText repeat-gap="200" repeat-start="10" priority="10" k="name" font-style="bold" font-size="8" stroke="#C0FFFFFF" stroke-width="3"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="16" zoom-max="17">
				<pathText repeat-gap="200" repeat-start="10" priority="10" k="name" font-style="bold" font-size="10" stroke="#B0FFFFFF" stroke-width="3"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<pathText repeat-gap="200" repeat-start="10" priority="10" k="name" font-style="bold" font-size="15" stroke="#A0FFFFFF" stroke-width="3"/>
			</rule>
		</rule>
		<rule cat="paths" e="way" k="highway" v="footway|path|bridleway|cycleway|steps" zoom-min="15">
			<rule e="way" k="*" v="*" zoom-max="15">
				<pathText repeat-gap="200" repeat-start="10" priority="10" k="name" font-style="normal" font-size="8" stroke="#C0FFFFFF" stroke-width="4" dy="1.8"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="16" zoom-max="17">
				<pathText repeat-gap="200" repeat-start="10" priority="10" k="name" font-style="normal" font-size="10" stroke="#B0FFFFFF" stroke-width="4" dy="1.5"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<pathText repeat-gap="200" repeat-start="10" priority="10" k="name" font-style="normal" font-size="15" stroke="#A0FFFFFF" stroke-width="4" dy="1"/>
			</rule>
		</rule>
	</rule>

	<!-- highway markers -->
	<rule e="way" k="access" v="destination" zoom-min="13">
		<rule e="way" k="based_on_rel|area" v="~|area_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|busway">
				<rule e="way" k="service" v="~|alley">
					<line stroke="#DD3333FF" stroke-width="0.8" dy="0.7" scale="all" stroke-dasharray="0,1.64,0.16,0" stroke-linecap="butt"/>
					<line stroke="#DD3333FF" stroke-width="0.8" dy="-0.7" scale="all" stroke-dasharray="0,1.64,0.16,0" stroke-linecap="butt"/>
				</rule>
			</rule>
			<rule e="way" k="highway" v="service">
				<rule e="way" k="service" v="driveway|emergency_access|drive-through|parking_aisle" zoom-min="15">
					<line stroke="#DD3333FF" stroke-width="0.65" dy="0.5" scale="all" stroke-dasharray="0,1.6,0.2,0" stroke-linecap="butt"/>
					<line stroke="#DD3333FF" stroke-width="0.65" dy="-0.5" scale="all" stroke-dasharray="0,1.6,0.2,0" stroke-linecap="butt"/>
				</rule>
			</rule>
			<rule cat="tracks" e="way" k="highway" v="track|byway">
				<line stroke="#DD3333FF" stroke-width="0.8" dy="0.7" scale="all" stroke-dasharray="0,1.64,0.16,0" stroke-linecap="butt"/>
				<line stroke="#DD3333FF" stroke-width="0.8" dy="-0.7" scale="all" stroke-dasharray="0,1.64,0.16,0" stroke-linecap="butt"/>
			</rule>
		</rule>
			
		<rule e="way" k="based_on_rel|area" v="mp|yes">
			<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|service|busway|bridleway|cycleway|steps" zoom-max="17">
				<area symbol-height="8" src="file:vol_res/patterns/access-destination.png"/>
			</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|service|busway|bridleway|cycleway|steps" zoom-min="18">
				<area symbol-height="16" src="file:vol_res/patterns/access-destination.png"/>
			</rule>
		</rule>
	</rule>

	<rule e="way" k="access" v="private|acc_no|forestry|permit" zoom-min="13">
		<rule e="way" k="based_on_rel|area" v="~|area_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|busway">
				<rule e="way" k="service" v="~|alley">
					<line stroke="#DDFF3333" stroke-width="0.8" dy="0.7" scale="all" stroke-dasharray="0,1.6,0.2,0" stroke-linecap="butt"/>
					<line stroke="#DDFF3333" stroke-width="0.8" dy="-0.7" scale="all" stroke-dasharray="0,1.6,0.2,0" stroke-linecap="butt"/>
				</rule>
			</rule>
			<rule e="way" k="highway" v="service">
				<rule e="way" k="service" v="driveway|emergency_access|drive-through|parking_aisle" zoom-min="15">
					<line stroke="#DDFF3333" stroke-width="0.65" dy="0.5" scale="all" stroke-dasharray="0,1.6,0.2,0" stroke-linecap="butt"/>
					<line stroke="#DDFF3333" stroke-width="0.65" dy="-0.5" scale="all" stroke-dasharray="0,1.6,0.2,0" stroke-linecap="butt"/>
				</rule>
			</rule>
			<rule cat="tracks" e="way" k="highway" v="track|byway">
				<line stroke="#DDFF3333" stroke-width="0.8" dy="0.7" scale="all" stroke-dasharray="0,1.6,0.2,0" stroke-linecap="butt"/>
				<line stroke="#DDFF3333" stroke-width="0.8" dy="-0.7" scale="all" stroke-dasharray="0,1.6,0.2,0" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="area:highway" v="pedestrian" zoom-max="17">
				<rule e="way" k="foot" v="~|ft_no|ft_private">
					<area symbol-height="8" src="file:vol_res/patterns/access-private.png"/>
				</rule>
			</rule>
			<rule e="way" k="area:highway" v="pedestrian" zoom-min="18">
				<rule e="way" k="foot" v="~|ft_no|ft_private">
					<area symbol-height="16" src="file:vol_res/patterns/access-private.png"/>
				</rule>
			</rule>
		</rule>
		
		<rule e="way" k="based_on_rel|area" v="mp|yes">
			<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|service|busway|bridleway|cycleway|steps" zoom-max="17">
				<area symbol-height="8" src="file:vol_res/patterns/access-private.png"/>
			</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|service|busway|bridleway|cycleway|steps" zoom-min="18">
				<area symbol-height="16" src="file:vol_res/patterns/access-private.png"/>
			</rule>
			<rule e="way" k="highway" v="footway|path|pedestrian" zoom-max="17">
				<rule e="way" k="foot" v="~|ft_no|ft_private">
					<area symbol-height="8" src="file:vol_res/patterns/access-private.png"/>
				</rule>
			</rule>
			<rule e="way" k="highway" v="footway|path|pedestrian" zoom-min="18">
				<rule e="way" k="foot" v="~|ft_no|ft_private">
					<area symbol-height="16" src="file:vol_res/patterns/access-private.png"/>
				</rule>
			</rule>
		</rule>
	</rule>
 
		<!-- Overlays for foot & cycle access on private highways -->
	<rule cat="paths" e="way" k="access" v="private|acc_no|forestry|permit|destination" zoom-min="13">
		<rule e="way" k="based_on_rel|area" v="~|area_no">
			<rule e="way" k="foot|hknetwork|network" v="ft_yes|ft_permissive|ft_designated|ft_destination|ft_permit|iwn|nwn|rwn|lwn|own">
				<rule e="way" k="bicycle" v="bic_no|bic_private|bic_forestry|~">
					<line stroke="#40ffffff" stroke-width="0.5" stroke-linecap="butt"/>
					<line stroke="#6A3006" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,0.6,0.3" stroke-linecap="butt"/>
				</rule>
			</rule>
			<rule e="way" k="bicycle|network|mtbnetwork" v="bic_yes|bic_permissive|bic_designated|icn|ncn|rcn|lcn|ocn|mtb|imn|nmn|rmn|lmn|omn">
				<rule e="way" k="foot" v="ft_no|ft_private|~">
					<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.5" stroke-linecap="butt"/>
								<line stroke="#0083d7" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" 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|own">
					<line stroke="#40ffffff" stroke-width="0.5" stroke-linecap="butt"/>
					<line stroke="#008131" stroke-width="0.5" scale="all" stroke-dasharray="0,0.3,1.8,0.3" stroke-linecap="butt"/>
				</rule>
			</rule>
		</rule>
	</rule>
	<rule e="way" k="highway" v="*" zoom-min="12">
		<rule e="way" k="toll" v="tl_yes">
			<rule e="way" k="based_on_rel|area" v="~|area_no">
			<rule cat="nocity" e="way" k="*" v="*" zoom-max="14">
				<line stroke="#DD333333" stroke-width="1.4" scale="all" stroke-dasharray="0.01,3" stroke-linecap="round"/>
				<line stroke="#FF5900" stroke-width="1.2" scale="all" stroke-dasharray="0.01,3" stroke-linecap="round"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="15" zoom-max="17">
				<line stroke="#DD333333" stroke-width="1.0" scale="all" stroke-dasharray="0.01,2" stroke-linecap="round"/>
				<line stroke="#FF5900" stroke-width="0.8" scale="all" stroke-dasharray="0.01,2" stroke-linecap="round"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<line stroke="#DD333333" stroke-width="0.8" scale="all" stroke-dasharray="0.01,2" stroke-linecap="round"/>
				<line stroke="#FF5900" stroke-width="0.6" scale="all" stroke-dasharray="0.01,2" stroke-linecap="round"/>
			</rule>
			</rule>
		</rule>
		
		<!-- Oneway markers -->
			<rule e="way" k="oneway" v="yes|1" zoom-min="16" zoom-max="17">
				<lineSymbol src="file:vol_res/svg/oneway.svg" symbol-height="16" align-center="true" repeat="true" repeat-gap="50" repeat-start="14" display="always"/>
				<rule cat="bike" e="way" k="oneway:bicycle" v="ow_bic_no|bic_private">
					<lineSymbol src="file:vol_res/svg/oneway_cycle.svg" symbol-height="16" align-center="true" repeat="true" repeat-gap="50" repeat-start="14" priority="10" display="always"/>
				</rule>
			</rule>
			<rule e="way" k="oneway" v="yes|1" zoom-min="18">
				<lineSymbol src="file:vol_res/svg/oneway.svg" symbol-height="32" align-center="true" repeat="true" repeat-gap="100" repeat-start="20" display="always"/>
				<rule cat="bike" e="way" k="oneway:bicycle" v="ow_bic_no|bic_private">
					<lineSymbol src="file:vol_res/svg/oneway_cycle.svg" symbol-height="32" align-center="true" repeat="true" repeat-gap="100" repeat-start="20" priority="10" display="always"/>
				</rule>
			</rule>

			<rule e="way" k="oneway" v="-1" zoom-min="16" zoom-max="17">
				<lineSymbol src="file:vol_res/svg/oneway-1.svg" symbol-height="16" align-center="true" repeat="true" repeat-gap="50" repeat-start="14" display="always"/>
				<rule cat="bike" e="way" k="oneway:bicycle" v="ow_bic_no|bic_private">
					<lineSymbol src="file:vol_res/svg/oneway_cycle-1.svg" symbol-height="16" align-center="true" repeat="true" repeat-gap="50" repeat-start="14" priority="10" display="always"/>
				</rule>
			</rule>
			<rule e="way" k="oneway" v="-1" zoom-min="18">
				<lineSymbol src="file:vol_res/svg/oneway-1.svg" symbol-height="32" align-center="true" repeat="true" repeat-gap="100" repeat-start="20" display="always"/>
				<rule cat="bike" e="way" k="oneway:bicycle" v="ow_bic_no|bic_private">
					<lineSymbol src="file:vol_res/svg/oneway_cycle-1.svg" symbol-height="32" align-center="true" repeat="true" repeat-gap="100" repeat-start="20" priority="10" display="always"/>
				</rule>
			</rule>

			<rule cat="bike" e="way" k="oneway" v="no|~" zoom-min="16" zoom-max="17">
				<rule e="way" k="cycleway|cycleway_lane|cycleway_track" v="cw_track_right|cw_track_left|cw_lane_right|cw_lane_left">
					<rule e="way" k="oneway:bicycle" v="ow_bic_no|bic_private">
						<lineSymbol src="file:vol_res/svg/oneway_no_cycle.svg" symbol-height="16" align-center="true" repeat="true" repeat-gap="50" repeat-start="14" priority="10" display="always"/>
					</rule>
				</rule>
			</rule>
			<rule cat="bike" e="way" k="oneway" v="no|~" zoom-min="18">
				<rule e="way" k="cycleway|cycleway_lane|cycleway_track" v="cw_track_right|cw_track_left|cw_lane_right|cw_lane_left">
					<rule e="way" k="oneway:bicycle" v="ow_bic_no|bic_private">
						<lineSymbol src="file:vol_res/svg/oneway_no_cycle.svg" symbol-height="32" align-center="true" repeat="true" repeat-gap="100" repeat-start="20" priority="10" display="always"/>
					</rule>
				</rule>
			</rule>
		</rule>
	</rule>
	<!-- /way, no area -->

	<rule e="way" k="highway|ford" v="ford|fd_yes" zoom-min="12">
		<line stroke="#AAB3DDFF" stroke-width="1" stroke-linecap="butt"/>
	</rule>
	<rule e="any" k="highway|ford" v="ford|fd_yes" zoom-min="13">
		<rule e="any" k="*" v="*" zoom-max="15">
			<symbol src="file:vol_res/svg/ford.svg" symbol-height="12"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="16">
			<symbol src="file:vol_res/svg/ford.svg" symbol-height="18" priority="100" display="always"/>
			<rule e="node" k="*" v="*" zoom-min="16">
				<caption k="name" dy="18" font-style="bold" font-size="12" fill="#4773b3" stroke="#C0FFFFFF" stroke-width="2"/>
			</rule>
		</rule>
	</rule>
	<!-- /no tunnel -->

	<!-- mini roundabout centre -->
	<rule e="node" k="highway" v="mini_roundabout" zoom-min="15">
		<circle radius="0.4" scale-radius="true" fill="#666666" stroke="#ffffff" stroke-width="0.1"/>
	</rule>

	<!-- railway (no tunnel) -->
	<rule e="way" k="tunnel" v="~|no" zoom-min="10">
		<!-- railway building -->
		<rule e="way" k="power" v="~">
			<rule e="way" k="railway|building" v="station|train_station">
				<area fill="#604C4C0D" stroke="#444444" stroke-width="0.125"/>
			</rule>
		</rule>
		<!-- railway casings and cores -->
		<rule e="way" k="railway" v="miniature" zoom-min="13">
			<line stroke="#181818" stroke-width="0.14"/>
			<line stroke="#181818" stroke-width="0.6" scale="all" stroke-dasharray="0.1,1.7" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="railway|highway" v="tram|light_rail|bus_guideway">
			<line stroke="#8C6900" stroke-width="0.5" stroke-linecap="butt"/>
			<line stroke="#FFFF73" stroke-width="0.4" scale="all" stroke-dasharray="1.8,1.8" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="railway" v="subway">
			<line stroke="#B30000" stroke-width="0.6" stroke-linecap="butt"/>
			<line stroke="#FFBFBF" stroke-width="0.45" scale="all" stroke-dasharray="1.8,1.8" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="railway" v="disused" zoom-min="13">
			<line stroke="#181818" stroke-width="0.75" stroke-linecap="butt"/>
			<line stroke="#e6e6e6" stroke-width="0.6" stroke-linecap="butt"/>
			<line stroke="#181818" stroke-width="0.6" scale="all" stroke-dasharray="0.1,2.3" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="railway" v="rail|narrow_gauge|preserved|funicular" zoom-max="13">
			<line stroke="#666666" stroke-width="0.45" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="railway" v="narrow_gauge|preserved|funicular" zoom-min="14">
			<line stroke="#181818" stroke-width="0.65" stroke-linecap="butt"/>
			<line stroke="#e6e6e6" stroke-width="0.5" stroke-linecap="butt"/>
			<line stroke="#181818" stroke-width="0.5" scale="all" stroke-dasharray="1.2,2.4" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="railway" v="rail" zoom-min="14">
			<line stroke="#181818" stroke-width="0.75" stroke-linecap="butt"/>
			<line stroke="#e6e6e6" stroke-width="0.6" stroke-linecap="butt"/>
			<line stroke="#181818" stroke-width="0.6" scale="all" stroke-dasharray="2.4,2.4" stroke-linecap="butt"/>
		</rule>
		
		<!-- railway bridge casings -->
		<rule e="way" k="bridge" v="yes|viaduct" zoom-min="12">
			<rule e="way" k="railway|highway" v="tram|light_rail|bus_guideway|miniature">
				<line stroke="#181818" stroke-width="1.3" stroke-linecap="butt"/>
				<line stroke="#ffffff" stroke-width="0.85" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="railway" v="subway">
				<line stroke="#181818" stroke-width="1.5" stroke-linecap="butt"/>
				<line stroke="#ffffff" stroke-width="1.05" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="railway" v="narrow_gauge|preserved|funicular">
				<line stroke="#181818" stroke-width="1.6" stroke-linecap="butt"/>
				<line stroke="#ffffff" stroke-width="1.15" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="railway" v="rail|disused">
				<line stroke="#181818" stroke-width="1.7" stroke-linecap="butt"/>
				<line stroke="#ffffff" stroke-width="1.25" stroke-linecap="butt"/>
			</rule>
			<!-- railway casings and cores repeated for bridges -->
			<rule e="way" k="railway" v="miniature" zoom-min="13">
				<line stroke="#181818" stroke-width="0.14"/>
				<line stroke="#181818" stroke-width="0.6" scale="all" stroke-dasharray="0.1,1.7" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="railway|highway" v="tram|light_rail|bus_guideway">
				<line stroke="#8C6900" stroke-width="0.5" stroke-linecap="butt"/>
				<line stroke="#FFFF73" stroke-width="0.4" scale="all" stroke-dasharray="1.8,1.8" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="railway" v="subway">
				<line stroke="#B30000" stroke-width="0.6" stroke-linecap="butt"/>
				<line stroke="#FFBFBF" stroke-width="0.45" scale="all" stroke-dasharray="1.8,1.8" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="railway" v="disused" zoom-min="13">
				<line stroke="#181818" stroke-width="0.75" stroke-linecap="butt"/>
				<line stroke="#e6e6e6" stroke-width="0.6" stroke-linecap="butt"/>
				<line stroke="#181818" stroke-width="0.6" scale="all" stroke-dasharray="0.1,2.3" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="railway" v="rail|narrow_gauge|preserved|funicular" zoom-max="13">
				<line stroke="#666666" stroke-width="0.45" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="railway" v="narrow_gauge|preserved|funicular" zoom-min="14">
				<line stroke="#181818" stroke-width="0.65" stroke-linecap="butt"/>
				<line stroke="#e6e6e6" stroke-width="0.5" stroke-linecap="butt"/>
				<line stroke="#181818" stroke-width="0.5" scale="all" stroke-dasharray="1.2,2.4" stroke-linecap="butt"/>
			</rule>
			<rule e="way" k="railway" v="rail" zoom-min="14">
				<line stroke="#181818" stroke-width="0.75" stroke-linecap="butt"/>
				<line stroke="#e6e6e6" stroke-width="0.6" stroke-linecap="butt"/>
				<line stroke="#181818" stroke-width="0.6" scale="all" stroke-dasharray="2.4,2.4" stroke-linecap="butt"/>
			</rule>
		</rule> 
	</rule>

	<!-- aeroway runways cores -->
	<rule cat="background" e="way" k="aeroway" v="taxiway" closed="no" zoom-min="11">
		<line stroke="#d3d1c5" stroke-width="1.6" stroke-linecap="butt"/>
	</rule>
	<rule cat="background" e="way" k="aeroway" v="taxiway" closed="yes" zoom-min="15">
		<rule e="way" k="based_on_rel|area" v="~|area_no">
			<line stroke="#d3d1c5" stroke-width="1.6"/>
		</rule>
	</rule>
	<rule cat="background" e="way" k="aeroway" v="runway" closed="yes" zoom-min="11">
		<area fill="#B5B19B"/>
	</rule>
	<rule cat="background" e="way" k="aeroway" v="runway" closed="no" zoom-min="11" zoom-max="13">
		<line stroke="#B5B19B" stroke-width="2.5" stroke-linecap="butt"/>
	</rule>
	<rule cat="background" e="way" k="aeroway" v="runway" closed="no" zoom-min="14">
		<line stroke="#B5B19B" stroke-width="3.5" stroke-linecap="square"/>
	</rule>

	<!-- non-physical routes -->
	<rule e="way" k="route" v="ferry" zoom-min="8" zoom-max="13" closed="no">
		<line stroke="#405E8BAD" stroke-width="0.7" stroke-linecap="butt"/>
 		<line stroke="#5E8BAD" stroke-width="0.7" scale="all" stroke-dasharray="2.4,2.4" stroke-linecap="butt"/>
	</rule>
	<rule e="way" k="route" v="ferry" zoom-min="14" >
		<line stroke="#405E8BAD" stroke-width="0.7" stroke-linecap="butt"/>
 		<line stroke="#5E8BAD" stroke-width="0.7" scale="all" stroke-dasharray="2.4,2.4" stroke-linecap="butt"/>
	</rule>
	
	<!-- pistes -->
	<rule cat="ski" e="way" k="piste:type" v="downhill" closed="no">
		<line stroke="#b0e0FfFF" stroke-width="4" />
		<line stroke="#99eeee" stroke-width="0.25" dy="1.875"/>
		<line stroke="#99eeee" stroke-width="0.25" dy="-1.875"/>
		<rule e="way" k="piste:difficulty" v="novice">
			<line stroke="#009000" stroke-width="0.25" dy="1.875"/>
			<line stroke="#009000" stroke-width="0.25" dy="-1.875"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="easy">
			<line stroke="#0080cc" stroke-width="0.25" dy="1.875"/>
			<line stroke="#0080cc" stroke-width="0.25" dy="-1.875"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="intermediate">
			<line stroke="#dd0000" stroke-width="0.25" dy="1.875"/>
			<line stroke="#dd0000" stroke-width="0.25" dy="-1.875"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="advanced">
			<line stroke="#000000" stroke-width="0.25" dy="1.875"/>
			<line stroke="#000000" stroke-width="0.25" dy="-1.875"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="expert">
			<line stroke="#dd9900" stroke-width="0.25" dy="1.875"/>
			<line stroke="#dd9900" stroke-width="0.25" dy="-1.875"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="freeride">
			<line stroke="#dddd00" stroke-width="0.25" dy="1.875"/>
			<line stroke="#dddd00" stroke-width="0.25" dy="-1.875"/>
		</rule>
		<lineSymbol src="file:vol_res/svg/downhill.svg" repeat="true" repeat-start="10" repeat-gap="320" symbol-height="18" 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.25" dy="0.125"/>
		<symbol src="file:vol_res/svg/downhill.svg" symbol-height="18"/>
		<rule e="way" k="piste:difficulty" v="novice">
			<line stroke="#009000" stroke-width="0.25" dy="0.125"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="easy">
			<line stroke="#0080cc" stroke-width="0.25" dy="0.125"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="intermediate">
			<line stroke="#dd0000" stroke-width="0.25" dy="0.125"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="advanced">
			<line stroke="#000000" stroke-width="0.25" dy="0.125"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="expert">
			<line stroke="#dd9900" stroke-width="0.25" dy="0.125"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="freeride">
			<line stroke="#dddd00" stroke-width="0.25" dy="0.125"/>
		</rule>
	</rule>
	
	<!-- pistes2 -->
	<rule cat="ski" e="way" k="piste:type" v="nordic">
		<line stroke="#FFFFFF" stroke-width="0.5" stroke-linecap="butt" />
		<line stroke="#99eeee" stroke-width="0.5" stroke-dasharray="0,0.3,0.6,0.3" scale="all" stroke-linecap="butt" />
		<lineSymbol src="file:vol_res/svg/nordic.svg" repeat="true" repeat-start="10" repeat-gap="240" symbol-height="18" rotate="false" 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.5" stroke-linecap="butt" />
			<line stroke="#99eeee" stroke-width="0.5" stroke-dasharray="0,0.3,1.8,0.3" scale="all" stroke-linecap="butt" />
			<lineSymbol src="file:vol_res/svg/sled.svg" repeat="true" repeat-start="10" repeat-gap="240" symbol-height="16" rotate="false" align-center="true"/>
		</rule>
		<rule e="way" k="*" v="*" closed="yes">
			<area fill="#33e0FfFF" />
			<line stroke="#FFFFFF" stroke-width="0.5" stroke-linecap="butt" />
			<line stroke="#99eeee" stroke-width="0.5" stroke-dasharray="0,0.3,1.8,0.3" scale="all" stroke-linecap="butt" />
			<symbol src="file:vol_res/svg/sled.svg" symbol-height="16"/>
		</rule>
	</rule>

	<rule cat="ski" e="way" k="piste:type" v="nordic|sled">
		<line stroke="#99eeee" stroke-width="0.15" dy="0.325"/>
		<line stroke="#99eeee" stroke-width="0.15" dy="-0.325"/>
		<rule e="way" k="piste:difficulty" v="novice">
			<!-- green -->
			<line stroke="#009000" stroke-width="0.15" dy="0.325"/>
			<line stroke="#009000" stroke-width="0.15" dy="-0.325"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="easy">
			<!-- blue -->
			<line stroke="#0080cc" stroke-width="0.15" dy="0.325"/>
			<line stroke="#0080cc" stroke-width="0.15" dy="-0.325"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="intermediate">
			<!-- red -->
			<line stroke="#dd0000" stroke-width="0.15" dy="0.325"/>
			<line stroke="#dd0000" stroke-width="0.15" dy="-0.325"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="advanced">
			<!-- black -->
			<line stroke="#000000" stroke-width="0.15" dy="0.325"/>
			<line stroke="#000000" stroke-width="0.15" dy="-0.325"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="expert">
			<!-- orange -->
			<line stroke="#dd9900" stroke-width="0.15" dy="0.325"/>
			<line stroke="#dd9900" stroke-width="0.15" dy="-0.325"/>
		</rule>
		<rule e="way" k="piste:difficulty" v="freeride">
			<!-- yellow -->
			<line stroke="#dddd00" stroke-width="0.15" dy="0.325"/>
			<line stroke="#dddd00" stroke-width="0.15" dy="-0.325"/>
		</rule>
	</rule>
	
	<!-- aerial ways -->
	<rule e="way" k="aerialway" v="*" zoom-min="11">
		<line stroke="#202020" stroke-width="0.2"/>
		<rule e="way" k="*" v="*" zoom-min="14">
			<line stroke="#202020" stroke-width="1.5" scale="all" stroke-dasharray="0.12,0.2,0.12,10" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="aerialway" v="cable_car" zoom-min="16">
			<lineSymbol src="file:vol_res/svg/cable_car_ctr.svg" repeat="true" repeat-start="20" repeat-gap="80" symbol-height="32" rotate="false" align-center="true"/>
		</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_ctr.svg" repeat="true" repeat-start="20" repeat-gap="160" symbol-scaling="size" symbol-height="32" rotate="false" align-center="true"/>
		<lineSymbol src="file:vol_res/svg/drag_lift_ctr_rev.svg" repeat="true" repeat-start="100" repeat-gap="160" symbol-scaling="size" symbol-height="32" rotate="false" align-center="true"/>
		</rule>
		<rule e="way" k="aerialway" v="goods" zoom-min="16">
			<lineSymbol src="file:vol_res/svg/goods_lift_ctr.svg" repeat="true" repeat-start="20" repeat-gap="80" symbol-scaling="size" symbol-height="32" rotate="false" align-center="true"/>
		</rule>
		<rule e="way" k="aerialway" v="chair_lift|mixed_lift" zoom-min="16">
			<lineSymbol src="file:vol_res/svg/chair_lift_ctr.svg" repeat="true" repeat-start="20" repeat-gap="80" symbol-scaling="size" symbol-height="32" rotate="false" align-center="true"/>
		</rule>
		<rule e="way" k="aerialway" v="gondola" zoom-min="16">
			<lineSymbol src="file:vol_res/svg/gondola_ctr.svg" repeat="true" repeat-start="20" repeat-gap="80" symbol-height="32" rotate="false" align-center="true"/>
		</rule>
		<rule e="way" k="*" v="*" zoom-min="13">
			<pathText k="name" display="always" font-style="bold" font-size="10" repeat-start="60" repeat-gap="320" fill="#606060" stroke="#C0FFFFFF" stroke-width="3" dy="0.6"/>
		</rule>
	</rule>
	<rule e="any" k="aerialway" v="station" zoom-min="14">
		<symbol src="file:vol_res/svg/aerialway_station.svg" priority="78" symbol-height="12" id="aerostation"/>
		<caption symbol-id="aerostation" priority="78" position="below" k="name" font-style="bold" font-size="10" stroke="#C0FFFFFF" stroke-width="2"/>
	</rule>

	<rule e="way" k="tunnel" v="~|no">
		<!-- Cycling blobs -->
		<rule cat="c_routes" e="way" k="network" v="icn|ncn|rcn">
			<rule cat="nocity" e="way" k="*" v="*" zoom-min="12" zoom-max="12">
				<line stroke="#C0ffffff" stroke-width="2" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
				<line stroke="#0183d7" stroke-width="1.8" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>	
			</rule>
		</rule>
		<rule cat="c_routes" e="way" k="network" v="icn|ncn|rcn|lcn|ocn" zoom-min="13" zoom-max="13">
			<rule cat="nocity" e="way" k="*" v="*">
				<line stroke="#C0ffffff" stroke-width="1.7" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
				<line stroke="#0183d7" stroke-width="1.5" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>	
			</rule>
		</rule>
		<rule cat="c_routes" e="way" k="network" v="icn|ncn|rcn|lcn|ocn">
			<rule e="way" k="*" v="*" zoom-min="14" zoom-max="14">
				<line stroke="#C0ffffff" stroke-width="1.7" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
				<line stroke="#0183d7" stroke-width="1.5" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="15" zoom-max="16">
				<line stroke="#C0ffffff" stroke-width="1.5" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
				<line stroke="#0183d7" stroke-width="1.3" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="17" zoom-max="17">
				<line stroke="#C0ffffff" stroke-width="1.33" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
				<line stroke="#0183d7" stroke-width="1.13" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<line stroke="#C0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
				<line stroke="#0183d7" stroke-width="1.1" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
			</rule>
		</rule>
		
		<!-- Cycle highway blobs OAM -->
			<rule cat="c_hwy" e="way" k="cycle_highway" v="ich|nch|rch|lch" zoom-min="12">
				<rule cat="nocity" e="way" k="*" v="*" zoom-max="12">
				<line stroke="#C0ffffff" stroke-width="2.4" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
				<line stroke="#01bbcc" stroke-width="1.8" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>	
			</rule>
			<rule cat="nocity" e="way" k="*" v="*" zoom-min="13" zoom-max="13">
				<line stroke="#C0ffffff" stroke-width="2.04" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
				<line stroke="#01bbcc" stroke-width="1.5" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>	
			</rule>
			<rule e="way" k="*" v="*" zoom-min="14" zoom-max="14">
				<line stroke="#C0ffffff" stroke-width="2.04" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
				<line stroke="#01bbcc" stroke-width="1.5" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="15" zoom-max="16">
				<line stroke="#C0ffffff" stroke-width="1.8" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
				<line stroke="#01bbcc" stroke-width="1.3" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="17" zoom-max="17">
				<line stroke="#C0ffffff" stroke-width="1.59" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
				<line stroke="#01bbcc" stroke-width="1.13" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<line stroke="#C0ffffff" stroke-width="1.56" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
				<line stroke="#01bbcc" stroke-width="1.1" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
			</rule>
		</rule>

		<!-- MTB blobs -->
		<rule e="way" k="network|mtbnetwork|route" v="mtb|imn|nmn|rmn|lmn|omn" cat="mtb_routes">
			<rule cat="nocity" e="way" k="*" v="*" zoom-min="12" zoom-max="12">
				<line stroke="#C0ffffff" stroke-width="2" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
				<line stroke="#9562C7" stroke-width="1.8" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
			</rule>
			<rule cat="nocity" e="way" k="*" v="*" zoom-min="13" zoom-max="14">
				<line stroke="#C0ffffff" stroke-width="1.7" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
				<line stroke="#9562C7" stroke-width="1.5" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="15" zoom-max="16">
				<line stroke="#C0ffffff" stroke-width="1.5" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
				<line stroke="#9562C7" stroke-width="1.3" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="17" zoom-max="17">
				<line stroke="#C0ffffff" stroke-width="1.33" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
				<line stroke="#9562C7" stroke-width="1.13" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<line stroke="#C0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
				<line stroke="#9562C7" stroke-width="1.1" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
			</rule>
		</rule>

		<!-- Hiking blobs -->
		<rule cat="h_routes" e="way" k="hknetwork" v="iwn|nwn|rwn|lwn|own" zoom-min="12" zoom-max="12">
			<rule cat="nocity" e="way" k="*" v="*">
				<line stroke="#C0ffffff" stroke-width="2" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
				<line stroke="#00772d" stroke-width="1.8" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
			</rule>
		</rule>
		<rule cat="h_routes" e="way" k="hknetwork" v="iwn|nwn|rwn|lwn|own">
			<rule e="way" k="*" v="*" zoom-min="13" zoom-max="14">
				<line stroke="#C0ffffff" stroke-width="1.7" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
				<line stroke="#00772d" stroke-width="1.5" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="15" zoom-max="16">
				<line stroke="#C0ffffff" stroke-width="1.5" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
				<line stroke="#00772d" stroke-width="1.3" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="17" zoom-max="17">
				<line stroke="#C0ffffff" stroke-width="1.33" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
				<line stroke="#00772d" stroke-width="1.13" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<line stroke="#C0ffffff" stroke-width="1.3" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
				<line stroke="#00772d" stroke-width="1.1" scale="all" stroke-dasharray="0.05,7.1,0.05,0"/>
			</rule>
		</rule>
		
		<!-- Captions for Hiking-Routes -->
		<rule cat="h_n_routes" e="way" k="hknetwork" v="iwn|nwn|rwn|lwn">
			<rule cat="hikeonly" e="way" k="highway" v="footway|path|bridleway|cycleway|steps|track|byway|pedestrian|service|busway|residential|living_street|construction|road|ford|unclassified|tertiary|secondary|primary" zoom-min="13" zoom-max="14">
				<pathText repeat-gap="100" k="ref_hike" font-style="normal" font-size="9" fill="#008131" stroke="#FFFFFF" stroke-width="3" priority="200"/>
			</rule>
		</rule>
		<rule cat="h_n_routes" e="way" k="hknetwork|network" v="iwn|nwn|rwn|lwn">
		<rule e="way" k="highway" v="footway|path|bridleway|cycleway|steps|track|byway|pedestrian|service|busway|residential|living_street|construction|road|ford|unclassified|tertiary|secondary|primary" zoom-min="15">
				<rule e="way" k="*" v="*" zoom-max="17">
					<pathText repeat-gap="150" repeat-start="10" k="ref_hike" font-style="normal" font-size="10" fill="#008131" stroke="#FFFFFF" stroke-width="3" dy="1.7" priority="200"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="18">
					<pathText repeat-gap="200" repeat-start="20" k="ref_hike" font-style="bold" font-size="13" fill="#008131" stroke="#FFFFFF" stroke-width="3" dy="1.3" priority="200"/>
				</rule>
			</rule>
		</rule>

		<!-- MTB blobs double spaced -->
		<!-- both hike and bike -->
		<rule e="way" k="network|mtbnetwork|route" v="mtb|imn|nmn|rmn|lmn|omn" cat="mtb_routes">
			<rule cat="nocity" e="way" k="*" v="*" zoom-min="12" zoom-max="12">
				<line stroke="#9562C7" stroke-width="1.8" scale="all" stroke-dasharray="0.05,14.3,0.05,0"/>
			</rule>
			<rule cat="nocity" e="way" k="*" v="*" zoom-min="13" zoom-max="14">
				<line stroke="#9562C7" stroke-width="1.5" scale="all" stroke-dasharray="0.05,14.3,0.05,0"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="15" zoom-max="16">
				<line stroke="#9562C7" stroke-width="1.3" scale="all" stroke-dasharray="0.05,14.3,0.05,0"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="17" zoom-max="17">
				<line stroke="#9562C7" stroke-width="1.13" scale="all" stroke-dasharray="0.05,14.3,0.05,0"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<line stroke="#9562C7" stroke-width="1.1" scale="all" stroke-dasharray="0.05,14.3,0.05,0"/>
			</rule>
		</rule>
		
		<!-- Captions for MTB-Routes -->
		<rule cat="mtb_n_routes" e="way" k="network|mtbnetwork|route" v="mtb|imn|nmn|rmn|lmn">
			<rule cat="bikeonly" e="way" k="highway" v="footway|path|bridleway|cycleway|steps|track|byway|pedestrian|service|busway|residential|living_street|construction|road|ford|unclassified|tertiary|secondary|primary" zoom-min="13" zoom-max="14">
					<pathText repeat-gap="200" k="ref_mtb" font-style="normal" font-size="9" fill="#9562C7" stroke="#FFFFFF" stroke-width="3" priority="200"/>
					<pathText repeat-gap="100" k="ref_mtb" font-style="normal" font-size="9" fill="#9562C7" stroke="#FFFFFF" stroke-width="3" priority="180"/>
				</rule>
				<rule e="way" k="highway" v="footway|path|bridleway|cycleway|steps|track|byway|pedestrian|service|busway|residential|living_street|construction|road|ford|unclassified|tertiary|secondary|primary" zoom-min="15">
					<rule cat="nobike" e="way" k="*" v="*" zoom-max="17">
						<pathText repeat-gap="300" repeat-start="10" k="ref_mtb" font-style="normal" font-size="10" fill="#9562C7" stroke="#FFFFFF" stroke-width="3" dy="-1.7" priority="200"/>
						<pathText repeat-gap="150" repeat-start="10" k="ref_mtb" font-style="normal" font-size="10" fill="#9562C7" stroke="#FFFFFF" stroke-width="3" dy="-1.7" priority="180"/>
					</rule>
					<rule cat="bikeonly" e="way" k="*" v="*" zoom-max="17">
						<pathText repeat-gap="300" repeat-start="10" k="ref_mtb" font-style="normal" font-size="10" fill="#9562C7" stroke="#FFFFFF" stroke-width="3" dy="1.7" priority="200"/>
						<pathText repeat-gap="150" repeat-start="10" k="ref_mtb" font-style="normal" font-size="10" fill="#9562C7" stroke="#FFFFFF" stroke-width="3" dy="1.7" priority="180"/>
					</rule>
					<rule cat="nobike" e="way" k="*" v="*" zoom-min="18">
						<pathText repeat-gap="400" repeat-start="20" k="ref_mtb" font-style="bold" font-size="13" fill="#9562C7" stroke="#FFFFFF" stroke-width="3" dy="-1.3" priority="200"/>
						<pathText repeat-gap="200" repeat-start="20" k="ref_mtb" font-style="bold" font-size="13" fill="#9562C7" stroke="#FFFFFF" stroke-width="3" dy="-1.3" priority="180"/>
					</rule>
					<rule cat="bikeonly" e="way" k="*" v="*" zoom-min="18">
						<pathText repeat-gap="400" repeat-start="20" k="ref_mtb" font-style="bold" font-size="13" fill="#9562C7" stroke="#FFFFFF" stroke-width="3" dy="1.3" priority="200"/>
						<pathText repeat-gap="200" repeat-start="20" k="ref_mtb" font-style="bold" font-size="13" fill="#9562C7" stroke="#FFFFFF" stroke-width="3" dy="1.3" priority="180"/>
					</rule>
				</rule>
			</rule>

		<!-- Cycle blobs double space -->
		<!-- both hike and bike -->
		<rule cat="c_routes" e="way" k="network" v="icn|ncn|rcn" zoom-min="12" zoom-max="12">
			<rule cat="nocity" e="way" k="*" v="*">
				<line stroke="#0183d7" stroke-width="1.8" scale="all" stroke-dasharray="0.05,14.3,0.05,0"/>
			</rule>
		</rule>
		<rule cat="c_routes" e="way" k="network" v="icn|ncn|rcn|lcn|ocn" zoom-min="13" zoom-max="13">
			<rule cat="nocity" e="way" k="*" v="*">
				<line stroke="#0183d7" stroke-width="1.5" scale="all" stroke-dasharray="0.05,14.3,0.05,0"/>
			</rule>
		</rule>
		<rule cat="c_routes" e="way" k="network" v="icn|ncn|rcn|lcn|ocn">
			<rule e="way" k="*" v="*" zoom-min="14" zoom-max="14">
				<line stroke="#0183d7" stroke-width="1.5" scale="all" stroke-dasharray="0.05,14.3,0.05,0"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="15" zoom-max="16">
				<line stroke="#0183d7" stroke-width="1.3" scale="all" stroke-dasharray="0.05,14.3,0.05,0"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="17" zoom-max="17">
				<line stroke="#0183d7" stroke-width="1.13" scale="all" stroke-dasharray="0.05,14.3,0.05,0"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<line stroke="#0183d7" stroke-width="1.1" scale="all" stroke-dasharray="0.05,14.3,0.05,0"/>
			</rule>
		</rule>
		
		<!-- Cycle highway blobs OAM double space -->
		<rule cat="c_hwy" e="way" k="cycle_highway" v="ich|nch|rch|lch" zoom-min="12">
			<rule cat="nocity" e="way" k="*" v="*" zoom-max="12">
				<line stroke="#01bbcc" stroke-width="1.8" scale="all" stroke-dasharray="0.05,14.3,0.05,0"/>
			</rule>
			<rule cat="nocity" e="way" k="*" v="*" zoom-min="13" zoom-max="13">
				<line stroke="#01bbcc" stroke-width="1.5" scale="all" stroke-dasharray="0.05,14.3,0.05,0"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="14" zoom-max="14">
				<line stroke="#01bbcc" stroke-width="1.5" scale="all" stroke-dasharray="0.05,14.3,0.05,0"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="15" zoom-max="16">
				<line stroke="#01bbcc" stroke-width="1.3" scale="all" stroke-dasharray="0.05,14.3,0.05,0"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="17" zoom-max="17">
				<line stroke="#01bbcc" stroke-width="1.13" scale="all" stroke-dasharray="0.05,14.3,0.05,0"/>
			</rule>
			<rule e="way" k="*" v="*" zoom-min="18">
				<line stroke="#01bbcc" stroke-width="1.1" scale="all" stroke-dasharray="0.05,14.3,0.05,0"/>
			</rule>
		</rule>
		
		<!-- highway labels -->
		<!-- Captions for Cycle-Highways -->
		<rule cat="c_n_hwy" e="way" k="highway" v="footway|path|bridleway|cycleway|steps|track|byway|pedestrian|service|busway|residential|living_street|construction|road|ford|unclassified|tertiary|secondary|primary" zoom-min="13" zoom-max="14">
			<rule cat="bikeonly" e="way" k="cycle_highway" v="ich|nch|rch|lch">
				<pathText repeat-gap="200" k="ref_chw" font-style="bold" font-size="9.25" fill="#0199aa" stroke="#ffffff" stroke-width="3" priority="210"/>
				<pathText repeat-gap="100" k="ref_chw" font-style="bold" font-size="9.25" fill="#0199aa" stroke="#ffffff" stroke-width="3" priority="170"/>
			</rule>
		</rule>
		<rule cat="c_n_hwy" e="way" k="highway" v="footway|path|bridleway|cycleway|steps|track|byway|pedestrian|service|busway|residential|living_street|construction|road|ford|unclassified|tertiary|secondary|primary" zoom-min="15">
			<rule e="way" k="cycle_highway" v="ich|nch|rch|lch" zoom-max="17">
				<pathText repeat-gap="300" k="ref_chw" font-style="bold" font-size="11" fill="#0199aa" stroke="#ffffff" stroke-width="3" dy="1.7" priority="210"/>
				<pathText repeat-gap="150" k="ref_chw" font-style="bold" font-size="11" fill="#0199aa" stroke="#ffffff" stroke-width="3" dy="1.7" priority="170"/>
			</rule>
			<rule e="way" k="cycle_highway" v="ich|nch|rch|lch" zoom-min="18">
				<pathText repeat-gap="400" repeat-start="20" k="ref_chw" font-style="bold" font-size="16" fill="#0199aa" stroke="#ffffff" stroke-width="3" dy="1.5" priority="210"/>
				<pathText repeat-gap="200" repeat-start="20" k="ref_chw" font-style="bold" font-size="16" fill="#0199aa" stroke="#ffffff" stroke-width="3" dy="1.5" priority="170"/>
			</rule>
		</rule>

		<!-- Captions for Cycle-Routes -->
		<rule cat="c_n_routes" e="way" k="highway" v="footway|path|bridleway|cycleway|steps|track|byway|pedestrian|service|busway|residential|living_street|construction|road|ford|unclassified|tertiary|secondary|primary" zoom-min="12" zoom-max="14">
			<rule cat="bikeonly" e="way" k="network" v="icn|ncn">
				<pathText repeat-gap="100" k="ref_cycle" font-style="bold" font-size="8.5" fill="#ffffff" stroke="#CA1212" stroke-width="2"/>
			</rule>
			<rule cat="bikeonly" e="way" k="network" v="rcn|lcn|ocn" zoom-min="13">
				<pathText repeat-gap="100" k="ref_cycle" font-style="normal" font-size="9" fill="#0071c4" stroke="#FFFFFF" stroke-width="3"/>
			</rule>
		</rule>
		<rule cat="c_n_routes" e="way" k="highway" v="footway|path|bridleway|cycleway|steps|track|byway|pedestrian|service|busway|residential|living_street|construction|road|ford|unclassified|tertiary|secondary|primary" zoom-min="15">
			<rule e="way" k="network" v="icn|ncn" zoom-max="17">
				<pathText repeat-gap="150" repeat-start="10" k="ref_cycle" font-style="bold" font-size="10" fill="#ffffff" stroke="#CA1212" stroke-width="2" dy="-1.7" priority="200"/>
			</rule>
			<rule e="way" k="network" v="rcn|lcn|ocn" zoom-max="17">
				<pathText repeat-gap="150" repeat-start="10" k="ref_cycle" font-style="normal" font-size="10" fill="#0071c4" stroke="#FFFFFF" stroke-width="3" dy="-1.7" priority="200"/>
			</rule>
			<rule e="way" k="network" v="icn|ncn" zoom-min="18">
				<pathText repeat-gap="200" repeat-start="20" k="ref_cycle" font-style="bold" font-size="13" fill="#ffffff" stroke="#CA1212" stroke-width="2" dy="-1.3" priority="200"/>
			</rule>
			<rule e="way" k="network" v="rcn|lcn|ocn" zoom-min="18">
				<pathText repeat-gap="200" repeat-start="20" k="ref_cycle" font-style="bold" font-size="13" fill="#0071c4" stroke="#FFFFFF" stroke-width="3" dy="-1.3" priority="200"/>
			</rule>
		</rule>

		<!-- road refs collected -->
		<rule e="way" k="highway" v="tertiary" zoom-min="14">
			<rule cat="noyellow" e="way" k="hknetwork|network" v="~">
				<rule cat="nocity" e="way" k="*" v="*" zoom-max="14">
					<!--caption k="ref" font-style="normal" font-size="10" stroke="#ffffff" fill="#D17C37" stroke-width="3"/-->
					<pathText repeat-gap="400" priority="12" k="ref" font-style="bold" font-size="9.5" stroke="#ffffff" fill="#D17C37" stroke-width="2.5"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="15" zoom-max="17">
					<pathText repeat-gap="450" priority="12" k="ref" font-style="bold" font-size="11" stroke="#ffffff" fill="#D17C37" stroke-width="3"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="18">
					<pathText repeat-gap="450" priority="12" k="ref" font-style="bold" font-size="15" stroke="#ffffff" fill="#D17C37" stroke-width="3"/>
				</rule>
			</rule>
			<rule cat="yellow" e="way" k="hknetwork|network" v="~">
				<rule cat="nocity" e="way" k="*" v="*" zoom-max="14">
					<!--caption k="ref" font-style="normal" font-size="10" stroke="#777777" fill="#FFEC8B" stroke-width="2"/-->
					<pathText repeat-gap="400" priority="12" k="ref" font-style="bold" font-size="9.5" stroke="#777777" fill="#FFEC8B" stroke-width="2"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="15" zoom-max="17">
					<pathText repeat-gap="450" priority="12" k="ref" font-style="bold" font-size="11" stroke="#777777" fill="#FFEC8B" stroke-width="2"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="18">
					<pathText repeat-gap="450" priority="12" k="ref" font-style="bold" font-size="15" stroke="#777777" fill="#FFEC8B" stroke-width="2"/>
				</rule>
			</rule>
		</rule>

		<rule e="way" k="highway" v="secondary" zoom-min="13">
			<rule cat="noyellow" e="way" k="hknetwork|network" v="~">
				<rule cat="nocity" e="way" k="*" v="*" zoom-max="14">
					<!--caption k="ref" font-style="bold" font-size="10" stroke="#ffffff" fill="#D17C37" stroke-width="3"/-->
					<pathText repeat-gap="400" priority="12" k="ref" font-style="bold" font-size="9.5" stroke="#ffffff" fill="#D17C37" stroke-width="2.5"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="15" zoom-max="17">
					<pathText repeat-gap="450" priority="12" k="ref" font-style="bold" font-size="11" stroke="#ffffff" fill="#D17C37" stroke-width="3"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="18">
					<pathText repeat-gap="450" priority="12" k="ref" font-style="bold" font-size="15" stroke="#ffffff" fill="#D17C37" stroke-width="3"/>
				</rule>
			</rule>
			<rule cat="yellow" e="way" k="hknetwork|network" v="~">
				<rule cat="nocity" e="way" k="*" v="*" zoom-max="14">
					<!--caption k="ref" font-style="bold" font-size="10" stroke="#777777" fill="#FFEC8B" stroke-width="2"/-->
					<pathText repeat-gap="400" priority="12" k="ref" font-style="bold" font-size="9.5" stroke="#777777" fill="#FFEC8B" stroke-width="2"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="15" zoom-max="17">
					<pathText repeat-gap="450" priority="12" k="ref" font-style="bold" font-size="11" stroke="#777777" fill="#FFEC8B" stroke-width="2"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="18">
					<pathText repeat-gap="450" priority="12" k="ref" font-style="bold" font-size="15" stroke="#777777" fill="#FFEC8B" stroke-width="2"/>
				</rule>
			</rule>
		</rule>

		<rule e="way" k="highway" v="primary" zoom-min="12">
			<rule cat="noyellow" e="way" k="*" v="*">
				<rule cat="nocity" e="way" k="*" v="*" zoom-max="14">
					<!--caption k="ref" font-style="bold" font-size="10" fill="#D91171" stroke="#FFFFFF" stroke-width="3"/-->
					<pathText repeat-gap="400" priority="12" k="ref" font-style="bold" font-size="9.5" stroke="#ffffff" fill="#D91171" stroke-width="2.5"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="15" zoom-max="17">
					<pathText repeat-gap="400" priority="12" k="ref" font-style="bold" font-size="11" stroke="#ffffff" fill="#D91171" stroke-width="3"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="18">
					<pathText repeat-gap="400" priority="12" k="ref" font-style="bold" font-size="15" stroke="#ffffff" fill="#D91171" stroke-width="3"/>
				</rule>
			</rule>
			<rule cat="yellow" e="way" k="*" v="*">
				<rule cat="nocity" e="way" k="*" v="*" zoom-max="14">
					<!--caption k="ref" font-style="bold" font-size="10" fill="#FFDF33" stroke="#444444" stroke-width="2"/-->
					<pathText repeat-gap="400" priority="12" k="ref" font-style="bold" font-size="9.5" stroke="#444444" fill="#FFDF33" stroke-width="2"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="15" zoom-max="17">
					<pathText repeat-gap="450" priority="12" k="ref" font-style="bold" font-size="11" stroke="#444444" fill="#FFDF33" stroke-width="2"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="18">
					<pathText repeat-gap="450" priority="12" k="ref" font-style="bold" font-size="15" stroke="#444444" fill="#FFDF33" stroke-width="2"/>
				</rule>
			</rule>
		</rule>

		<rule e="way" k="highway" v="trunk" zoom-min="12">
			<rule cat="noyellow" e="way" k="hknetwork|network" v="~">
				<rule cat="nocity" e="way" k="*" v="*" zoom-max="14">
					<!--caption k="ref" font-style="bold" font-size="10.5" stroke="#008131" fill="#FFE600" stroke-width="4"/-->
					<pathText repeat-gap="400" repeat-start="15" priority="12" k="ref" font-style="bold" font-size="10" stroke="#008131" fill="#FFE600" stroke-width="3"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="15" zoom-max="17">
					<pathText repeat-gap="450" repeat-start="25" priority="12" k="ref" font-style="bold" font-size="11.5" stroke="#008131" fill="#FFE600" stroke-width="3"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="18">
					<pathText repeat-gap="450" repeat-start="25" priority="12" k="ref" font-style="bold" font-size="15" stroke="#008131" fill="#FFE600" stroke-width="4"/>
				</rule>
			</rule>
			<rule cat="yellow" e="way" k="hknetwork|network" v="~">
				<rule cat="nocity" e="way" k="*" v="*" zoom-max="14">
					<!--caption k="ref" font-style="bold" font-size="10.5" stroke="#ffffff" fill="#FF9500" stroke-width="4"/-->
					<pathText repeat-gap="400" repeat-start="15" priority="12" k="ref" font-style="bold" font-size="10" stroke="#ffffff" fill="#FF9500" stroke-width="3"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="15" zoom-max="17">
					<pathText repeat-gap="450" repeat-start="25" priority="12" k="ref" font-style="bold" font-size="11.5" stroke="#ffffff" fill="#FF9500" stroke-width="3"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="18">
					<pathText repeat-gap="450" repeat-start="25" priority="12" k="ref" font-style="bold" font-size="15" stroke="#ffffff" fill="#FF9500" stroke-width="3"/>
				</rule>
			</rule>
		</rule>

		<rule e="way" k="highway" v="motorway" zoom-min="12">
			<rule cat="noyellow" e="way" k="hknetwork|network" v="~">
				<rule cat="nocity" e="way" k="*" v="*" zoom-max="14">
					<!--caption k="ref" font-style="bold" font-size="10.5" stroke="#0083d7" fill="#FFFFFF" stroke-width="4"/-->
					<pathText repeat-gap="600" repeat-start="25" priority="12" k="ref" font-style="bold" font-size="10" stroke="#0083d7" fill="#ffffff" stroke-width="3.5"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="15" zoom-max="17">
					<pathText repeat-gap="600" repeat-start="50" priority="12" k="ref" font-style="bold" font-size="11.5" stroke="#0083d7" fill="#ffffff" stroke-width="4"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="18">
					<pathText repeat-gap="600" repeat-start="50" priority="12" k="ref" font-style="bold" font-size="15" stroke="#0083d7" fill="#ffffff" stroke-width="4"/>
				</rule>
			</rule>
			<rule cat="yellow" e="way" k="hknetwork|network" v="~">
				<rule cat="nocity" e="way" k="*" v="*" zoom-max="14">
					<!--caption k="ref" font-style="bold" font-size="10.5" stroke="#ffffff" fill="#FF7700" stroke-width="3"/-->
					<pathText repeat-gap="600" repeat-start="25" priority="12" k="ref" font-style="bold" font-size="10" stroke="#ffffff" fill="#FF7700" stroke-width="3"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="15" zoom-max="17">
					<pathText repeat-gap="600" repeat-start="50" priority="12" k="ref" font-style="bold" font-size="11.5" stroke="#ffffff" fill="#FF7700" stroke-width="3"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="18">
					<pathText repeat-gap="600" repeat-start="50" priority="12" k="ref" font-style="bold" font-size="15" stroke="#ffffff" fill="#FF7700" stroke-width="3"/>
				</rule>
			</rule>
		</rule>
	</rule>

	
<!-- LABELS -->
	<!-- place -->
	<rule cat="settlements" e="node" k="place" v="*">
		<rule e="node" k="place" v="country" zoom-max="4">
			<caption k="name" font-style="bold" font-size="18" fill="#80000000" stroke="#80FFFFFF" stroke-width="2" priority="310"/>
		</rule>
		<rule e="node" k="place" v="state" zoom-max="4">
			<caption k="name" font-style="bold" font-size="14" fill="#80000000" stroke="#80FFFFFF" stroke-width="2" priority="309"/>
		</rule>
	
		<rule e="node" k="place" v="city" zoom-min="5">
			<rule e="any" k="capital" v="2|yes">
				<rule e="node" k="popcat" v="pc_100000|pc_200000|pc_500000|pc_1000000" zoom-max="8">
					<caption k="name" font-style="bold" font-size="16" fill="#000000" stroke="#C0FFFFFF" stroke-width="4" priority="308" display="always"/>
				</rule>
				<rule e="node" k="*" v="*" zoom-min="9" zoom-max="12">
					<caption k="name" font-style="bold" text-transform="uppercase" text-wrap-width="220" font-size="20" fill="#000000" stroke="#C0FFFFFF" stroke-width="2" priority="308"/>
				</rule>
				<rule e="node" k="*" v="*" zoom-min="13" zoom-max="14">
					<caption k="name" font-style="bold" text-transform="uppercase" text-wrap-width="220" font-size="24" fill="#000000" stroke="#C0FFFFFF" stroke-width="2" priority="308"/>
				</rule>
			</rule>

			<rule e="any" k="capital" v="4" zoom-min="6">
				<rule e="node" k="*" v="*" zoom-max="8">
					<caption k="name" font-style="bold" font-size="14" fill="#000000" stroke="#C0FFFFFF" stroke-width="2" priority="306"/>
				</rule>
				<rule e="node" k="*" v="*" zoom-min="9" zoom-max="12">
					<caption k="name" font-style="bold" text-transform="uppercase" text-wrap-width="220" font-size="18" fill="#000000" stroke="#C0FFFFFF" stroke-width="2" priority="306"/>
				</rule>
				<rule e="node" k="*" v="*" zoom-min="13" zoom-max="14">
					<caption k="name" font-style="bold" text-transform="uppercase" text-wrap-width="220" font-size="20" fill="#000000" stroke="#C0FFFFFF" stroke-width="2" priority="306"/>
				</rule>
			</rule>
		
			<rule e="any" k="capital" v="~" zoom-min="6">
				<rule 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="bold" font-size="12" fill="#C0000000" stroke="#C0FFFFFF" stroke-width="2" priority="305" display="ifspace"/>
				</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="12">
					<caption k="name" font-style="bold" text-transform="uppercase" text-wrap-width="220" font-size="16" fill="#C0000000" stroke="#C0FFFFFF" stroke-width="2" priority="305" display="ifspace"/>
				</rule>
				<rule e="node" k="*" v="*" zoom-min="13" zoom-max="14">
					<caption k="name" font-style="bold" text-transform="uppercase" text-wrap-width="220" font-size="18" fill="#C0000000" stroke="#C0FFFFFF" stroke-width="2" priority="305"/>
				</rule>
			</rule>
		</rule>

		<rule e="node" k="place" v="town" zoom-min="6">
			<rule cat="nocity" e="node" k="popcat" v="pc_20000|pc_30000|pc_50000|pc_100000|pc_200000|pc_500000|pc_1000000" zoom-max="6">
				<caption k="name" font-style="normal" font-size="10" fill="#000000" stroke="#C0FFFFFF" stroke-width="2" priority="304" display="ifspace"/>
			</rule>
			<rule e="node" k="popcat" v="pc_20000|pc_30000|pc_50000|pc_100000|pc_200000|pc_500000|pc_1000000" zoom-min="7" zoom-max="8">
				<caption k="name" font-style="normal" font-size="10" fill="#000000" stroke="#C0FFFFFF" stroke-width="2" priority="304" display="ifspace"/>
			</rule>
			<rule cat="nocity" e="node" k="popcat" v="pc_0|pc_1|pc_1000|pc_5000|pc_10000|~" zoom-min="7" zoom-max="8">
				<caption k="name" font-style="normal" font-size="10" fill="#000000" stroke="#C0FFFFFF" stroke-width="2" priority="304" display="ifspace"/>
			</rule>
			<rule e="node" k="*" v="*" zoom-min="9" zoom-max="9">
				<caption k="name" font-style="normal" font-size="11" fill="#000000" stroke="#C0FFFFFF" stroke-width="2" priority="304"/>
			</rule>
			<rule e="node" k="*" v="*" zoom-min="10" zoom-max="11">
				<caption k="name" font-style="bold" font-size="14" fill="#C0000000" stroke="#C0FFFFFF" stroke-width="2" priority="304"/>
			</rule>
			<rule e="node" k="*" v="*" zoom-min="12" zoom-max="12">
				<caption k="name" font-style="bold" text-transform="uppercase" text-wrap-width="220" font-size="14" fill="#C0000000" stroke="#C0FFFFFF" stroke-width="2" priority="304"/>
			</rule>
			<rule e="node" k="*" v="*" zoom-min="13" zoom-max="15">
				<caption k="name" font-style="bold" text-transform="uppercase" text-wrap-width="220" font-size="16" fill="#C0000000" stroke="#C0FFFFFF" stroke-width="2" priority="304" display="always"/>
			</rule>
		</rule>
		
		<rule e="node" k="place" v="suburb" zoom-min="13" zoom-max="16">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="13" fill="#80000000" stroke="#C0ffffff" stroke-width="3" priority="303" />
		</rule>
		<rule e="node" k="place" v="neighbourhood|quarter" zoom-min="15" zoom-max="16">
			<caption k="name" font-style="italic" font-family="serif" font-size="11" fill="#80000000" stroke="#C0ffffff" stroke-width="3" priority="303" />
		</rule>
		
		<rule e="node" k="place" v="village" zoom-min="8">
			<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="8">
				<caption k="name" font-style="normal" font-size="9" fill="#000000" stroke="#C0FFFFFF" stroke-width="2" priority="303"/>
			</rule>
			<rule cat="nocity" e="node" k="popcat" v="pc_0|pc_1|~" zoom-min="9" zoom-max="9">
				<caption k="name" font-style="normal" font-size="10" fill="#000000" stroke="#C0FFFFFF" stroke-width="2" priority="303"/>
			</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="9" zoom-max="9">
				<caption k="name" font-style="normal" font-size="10" fill="#000000" stroke="#C0FFFFFF" stroke-width="2" priority="303"/>
			</rule>
			<rule e="node" k="*" v="*" zoom-min="10" zoom-max="11">
				<caption k="name" font-style="normal" font-size="12" fill="#000000" stroke="#C0FFFFFF" stroke-width="2" priority="303" />
			</rule>
			<rule e="node" k="*" v="*" zoom-min="12" zoom-max="12">
				<caption k="name" font-style="bold" font-size="12" fill="#C0000000" stroke="#C0FFFFFF" stroke-width="2" priority="303" />
			</rule>
			<rule e="node" k="*" v="*" zoom-min="13" zoom-max="15">
				<caption k="name" font-style="bold" font-size="14" fill="#C0000000" stroke="#C0FFFFFF" stroke-width="2" priority="303" display="always"/>
			</rule>
		</rule>
		
		<rule cat="nocity" e="node" k="place" v="hamlet" zoom-min="11" zoom-max="12">
			<caption k="name" font-style="normal" font-size="10" fill="#000000" stroke="#C0FFFFFF" stroke-width="2" priority="302"/>
		</rule>
		<rule e="node" k="place" v="hamlet" zoom-min="13" zoom-max="16">
			<caption k="name" font-style="normal" font-size="12" fill="#000000" stroke="#C0FFFFFF" stroke-width="2" priority="302" display="always"/>
		</rule>
		<rule e="node" k="place" v="isolated_dwelling" zoom-min="13">
			<caption dy="16" k="name" font-style="normal" font-size="10" fill="#000000" stroke="#C0FFFFFF" stroke-width="2" priority="99"/>
		</rule>
		<rule e="node" k="place" v="farm" zoom-min="14">
			<caption dy="16" k="name" font-style="normal" font-size="10" fill="#A0000000" stroke="#C0FFFFFF" stroke-width="2" priority="99"/>
		</rule>
	</rule>
	
	<rule cat="settlements" e="any" k="landuse" v="farmyard" zoom-min="13">
		<caption dy="16" k="name" font-style="normal" font-size="10" fill="#A0000000" stroke="#C0FFFFFF" stroke-width="2" priority="99"/>
	</rule>
	
	<rule cat="settlements" e="any" k="place" v="locality" zoom-min="12">
		<rule e="any" k="mountain_pass|natural|tourism" v="~" zoom-max="16">
			<caption k="name" font-style="italic" font-family="serif" font-size="10" fill="#80000000" stroke="#C0ffffff" stroke-width="3" priority="97"/>
		</rule>
		<rule e="any" k="mountain_pass|natural|tourism" v="~" zoom-min="17">
			<caption k="name" font-style="italic" font-family="serif" font-size="14" fill="#80000000" stroke="#C0ffffff" stroke-width="3" priority="97"/>
		</rule>
	</rule>
	
	<!-- poly_labels -->
	 <rule e="node" k="place" v="island|islet|archipelago" zoom-max="17">
		<rule e="any" k="bBoxWeight" v="xxxlarge|xxlarge" zoom-min="7" zoom-max="8">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="15" fill="#A0000000" stroke="#C0ffffff" stroke-width="3" priority="102"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="xxxlarge|xxlarge" zoom-min="9" zoom-max="10">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="20" fill="#66000000" stroke="#80ffffff" stroke-width="3" priority="102"/>
		</rule>

		<!--Anglesey-->
		<rule e="any" k="bBoxWeight" v="xlarge" zoom-min="9" zoom-max="10">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="12.5" fill="#A0000000" stroke="#C0ffffff" stroke-width="3" priority="103"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="xlarge" zoom-min="11" zoom-max="11">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="16" fill="#66000000" stroke="#80ffffff" stroke-width="3" priority="103"/>
		</rule>

		<!--Holy Island (Anglesey) -->
		<rule e="any" k="bBoxWeight" v="large" zoom-min="9" zoom-max="10">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#A0000000" stroke="#C0ffffff" stroke-width="3" priority="102"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="large" zoom-min="11" zoom-max="15">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="16" fill="#66000000" stroke="#80ffffff" stroke-width="3" priority="102"/>
		</rule>

		<!--Ynnys Enlli/Bardsey-->
		<rule e="any" k="bBoxWeight" v="mid" zoom-min="10" zoom-max="12">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#A0000000" stroke="#C0ffffff" stroke-width="3" priority="100"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="mid" zoom-min="13" zoom-max="15">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="16" fill="#66000000" stroke="#80ffffff" stroke-width="3" priority="100"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="small" zoom-min="14" zoom-max="17">
			<caption k="name" font-style="italic" font-family="serif" font-size="12" fill="#A0000000" stroke="#C0ffffff" stroke-width="3" priority="99"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="xsmall" zoom-min="15" zoom-max="18">
			<caption k="name" font-style="italic" font-family="serif" font-size="11" fill="#B0000000" stroke="#C0ffffff" stroke-width="3" priority="98"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="tiny" zoom-min="15" zoom-max="18">
			<caption k="name" font-style="italic" font-family="serif" font-size="10" fill="#B0000000" stroke="#C0ffffff" stroke-width="3" priority="97"/>
		</rule>
	</rule>
	<rule e="any" k="bBoxWeight" v="~" zoom-max="17">
		<rule e="any" k="place" v="archipelago" zoom-min="8" zoom-max="11">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#A0000000" stroke="#C0ffffff" stroke-width="3" priority="103"/>
		</rule>
		<rule cat="nocity" e="way" k="place" v="island" zoom-min="13" zoom-max="13">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#A0000000" stroke="#C0ffffff" stroke-width="3" priority="102"/>
		</rule>
		<rule e="way" k="place" v="island" zoom-min="14" zoom-max="17">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#A0000000" stroke="#C0ffffff" stroke-width="3" priority="102"/>
		</rule>
		<rule e="any" k="place" v="islet" zoom-min="15" zoom-max="17">
			<caption k="name" font-style="italic" font-family="serif" font-size="12" fill="#B0000000" stroke="#C0ffffff" stroke-width="3" priority="97"/>
		</rule>
	</rule>

	 <rule e="node" k="natural|landuse" v="forest|wood|orchard" zoom-max="15">
		<rule e="any" k="bBoxWeight" v="xxxlarge|xxlarge" zoom-min="11">
			<caption k="name" font-style="italic" font-family="serif" font-size="13" fill="#336633" stroke="#C0ffffff" stroke-width="3"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="xlarge" zoom-min="12">
			<caption k="name" font-style="italic" font-family="serif" font-size="12.5" fill="#336633" stroke="#C0ffffff" stroke-width="3"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="large" zoom-min="13">
			<caption k="name" font-style="italic" font-family="serif" font-size="12" fill="#336633" stroke="#C0ffffff" stroke-width="3"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="mid" zoom-min="14">
			<caption k="name" font-style="italic" font-family="serif" font-size="12" fill="#336633" stroke="#C0ffffff" stroke-width="3"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="small" zoom-min="15">
			<caption k="name" font-style="italic" font-family="serif" font-size="12" fill="#336633" stroke="#C0ffffff" stroke-width="3"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="xsmall|tiny|~" zoom-min="16">
			<caption k="name" font-style="italic" font-family="serif" font-size="12" fill="#336633" stroke="#C0ffffff" stroke-width="3"/>
		</rule>
	</rule>
	<rule e="node" k="natural|landuse" v="glacier|mountain_range|mountain_area" zoom-max="15">
		<rule e="any" k="bBoxWeight" v="xxxlarge|xxlarge" zoom-min="10">
			<caption k="name" font-style="italic" font-family="serif" font-size="13" fill="#444444" stroke="#C0ffffff" stroke-width="3"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="xlarge" zoom-min="11">
			<caption k="name" font-style="italic" font-family="serif" font-size="12.5" fill="#444444" stroke="#C0ffffff" stroke-width="3"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="large" zoom-min="12">
			<caption k="name" font-style="italic" font-family="serif" font-size="12" fill="#444444" stroke="#C0ffffff" stroke-width="3"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="mid" zoom-min="13">
			<caption k="name" font-style="italic" font-family="serif" font-size="12" fill="#444444" stroke="#C0ffffff" stroke-width="3"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="small" zoom-min="14">
			<caption k="name" font-style="italic" font-family="serif" font-size="12" fill="#444444" stroke="#C0ffffff" stroke-width="3"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="xsmall|tiny|~" zoom-min="15">
			<caption k="name" font-style="italic" font-family="serif" font-size="12" fill="#444444" stroke="#C0ffffff" stroke-width="3"/>
		</rule>
	</rule>
	<rule e="node" k="natural|landuse" v="desert" zoom-max="15">
		<rule e="any" k="bBoxWeight" v="xxxlarge|xxlarge" zoom-min="10">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="13" fill="#C0664400" stroke="#C0ffffff" stroke-width="3"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="xlarge" zoom-min="11">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="12.5" fill="#C0664400" stroke="#C0ffffff" stroke-width="3"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="large" zoom-min="12">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#C0664400" stroke="#C0ffffff" stroke-width="3"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="mid" zoom-min="13">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#C0664400" stroke="#C0ffffff" stroke-width="3"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="small" zoom-min="14">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#C0664400" stroke="#C0ffffff" stroke-width="3"/>
		</rule>
		<rule e="any" k="bBoxWeight" v="xsmall|tiny|~" zoom-min="15">
			<caption k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#C0664400" stroke="#C0ffffff" stroke-width="3"/>
		</rule>
	</rule>
	<rule e="node" k="landuse|natural" v="reservoir|basin|water" zoom-max="15">
		<rule e="any" k="amenity" v="~">
			<rule e="any" k="bBoxWeight" v="xxxlarge|xxlarge" zoom-min="10">
				<caption k="name" font-style="italic" font-family="serif" font-size="13" fill="#3464a5" stroke="#C0ffffff" stroke-width="3"/>
			</rule>
			<rule e="any" k="bBoxWeight" v="xlarge" zoom-min="11">
				<caption k="name" font-style="italic" font-family="serif" font-size="12.5" fill="#3464a5" stroke="#C0ffffff" stroke-width="3"/>
			</rule>
			<rule e="any" k="bBoxWeight" v="large" zoom-min="12">
				<caption k="name" font-style="italic" font-family="serif" font-size="12" fill="#3464a5" stroke="#C0ffffff" stroke-width="3"/>
			</rule>
			<rule e="any" k="bBoxWeight" v="mid" zoom-min="13">
				<caption k="name" font-style="italic" font-family="serif" font-size="12" fill="#3464a5" stroke="#C0ffffff" stroke-width="3"/>
			</rule>
			<rule e="any" k="bBoxWeight" v="small" zoom-min="14">
				<caption k="name" font-style="italic" font-family="serif" font-size="12" fill="#3464a5" stroke="#C0ffffff" stroke-width="3"/>
			</rule>
			<rule e="any" k="bBoxWeight" v="xsmall|tiny|~" zoom-min="15">
				<caption k="name" font-style="italic" font-family="serif" font-size="12" fill="#3464a5" stroke="#C0ffffff" stroke-width="3"/>
			</rule>
		</rule>
	</rule>

	<rule e="node" k="boundary|leisure" v="nature_reserve|protected_area|national_park" zoom-max="15">
		<rule e="any" k="protect_class" v="~|pr_2|pr_3|pr_4|pr_5|pr_7">
			<rule e="any" k="access" v="~|public|permissive">
				<rule e="any" k="bBoxWeight" v="xxxlarge|xxlarge" zoom-min="10">
					<caption k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#a0208020" stroke="#80ffffff" stroke-width="3" priority="5"/>
				</rule>
				<rule e="any" k="bBoxWeight" v="xlarge" zoom-min="11">
					<caption k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#b0208020" stroke="#80ffffff" stroke-width="3" priority="5"/>
				</rule>
				<rule e="any" k="bBoxWeight" v="large" zoom-min="12">
					<caption k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#C0208020" stroke="#80ffffff" stroke-width="3" priority="5"/>
				</rule>
				<rule e="any" k="bBoxWeight" v="mid" zoom-min="13">
					<caption k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#C0208020" stroke="#80ffffff" stroke-width="3" priority="5"/>
				</rule>
				<rule e="any" k="bBoxWeight" v="small" zoom-min="14">
					<caption k="name" font-style="bold_italic" font-family="serif" font-size="11" fill="#C0208020" stroke="#80ffffff" stroke-width="3" priority="5"/>
				</rule>
			</rule>
			<rule e="any" k="access|access:conditional|access:offroad" v="private|acc_no|discouraged|acc_con_no|acc_off_no">
				<rule e="any" k="bBoxWeight" v="xxxlarge|xxlarge" zoom-min="10">
					<caption k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#a0b02020" stroke="#80ffffff" stroke-width="3" priority="6"/>
				</rule>
				<rule e="any" k="bBoxWeight" v="xlarge" zoom-min="11">
					<caption k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#b0b02020" stroke="#80ffffff" stroke-width="3" priority="6"/>
				</rule>
				<rule e="any" k="bBoxWeight" v="large" zoom-min="12">
					<caption k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#c0b02020" stroke="#80ffffff" stroke-width="3" priority="6"/>
				</rule>
				<rule e="any" k="bBoxWeight" v="mid" zoom-min="13">
					<caption k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#c0b02020" stroke="#80ffffff" stroke-width="3" priority="6"/>
				</rule>
				<rule e="any" k="bBoxWeight" v="small" zoom-min="14">
					<caption k="name" font-style="bold_italic" font-family="serif" font-size="11" fill="#c0b02020" stroke="#80ffffff" stroke-width="3" priority="6"/>
				</rule>
			</rule>
		</rule>
	</rule>
	<rule e="node" k="protect_class|boundary" v="pr_1|aboriginal_lands" zoom-max="15">
			<rule e="any" k="bBoxWeight" v="xxxlarge|xxlarge" zoom-min="10">
				<caption k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#a0b02020" stroke="#80ffffff" stroke-width="3" priority="5"/>
			</rule>
			<rule e="any" k="bBoxWeight" v="xlarge" zoom-min="11">
				<caption k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#b0b02020" stroke="#80ffffff" stroke-width="3" priority="5"/>
			</rule>
			<rule e="any" k="bBoxWeight" v="large" zoom-min="12">
				<caption k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#c0b02020" stroke="#80ffffff" stroke-width="3" priority="5"/>
			</rule>
			<rule e="any" k="bBoxWeight" v="mid" zoom-min="13">
				<caption k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#c0b02020" stroke="#80ffffff" stroke-width="3" priority="5"/>
			</rule>
			<rule e="any" k="bBoxWeight" v="small" zoom-min="14">
				<caption k="name" font-style="bold_italic" font-family="serif" font-size="11" fill="#c0b02020" stroke="#80ffffff" stroke-width="3" priority="5"/>
		</rule>
	</rule>
	
	<rule e="any" k="natural" v="cape" zoom-min="11">
		<caption k="name" font-style="italic" font-family="serif" font-size="12" fill="#666666" stroke="#C0FFFFFF" stroke-width="3"/>
	</rule>
	<rule e="any" k="natural" v="valley|canyon|peninsula" zoom-min="11">
		<rule e="node" k="*" v="*">
			<caption k="name" font-style="italic" font-family="serif" font-size="12" fill="#666666" stroke="#C0FFFFFF" stroke-width="3"/>
		</rule>
		<rule e="way" k="*" v="*" zoom-max="13">
			<caption k="name" font-style="italic" font-family="serif" font-size="12" fill="#666666" stroke="#C0FFFFFF" stroke-width="3"/>
		</rule>
		<rule e="way" closed="yes" k="*" v="*" zoom-min="14">
			<caption k="name" font-style="italic" font-family="serif" font-size="13" fill="#666666" stroke="#C0FFFFFF" stroke-width="3"/>
		</rule>
		<rule e="way" closed="no" k="*" v="*" zoom-min="14">

			<pathText repeat-gap="250" repeat-start="10" k="name" font-style="italic" font-family="serif" font-size="14" fill="#666666" stroke="#C0FFFFFF" stroke-width="3" />
		</rule>
	</rule>
	<rule e="any" k="natural" v="fjord" zoom-min="11">
		<rule e="node" k="*" v="*">
			<caption k="name" font-style="italic" font-family="serif" font-size="12" fill="#3464a5" stroke="#80FFFFFF" stroke-width="3"/>
		</rule>
		<rule e="way" k="*" v="*" zoom-max="11">
			<caption k="name" font-style="italic" font-family="serif" font-size="12" fill="#3464a5" stroke="#80FFFFFF" stroke-width="3"/>
		</rule>
		<rule e="way" k="*" v="*" zoom-min="12">

			<pathText repeat-gap="250" repeat-start="10" k="name" font-style="italic" font-family="serif" font-size="12" fill="#3464a5" stroke="#80FFFFFF" stroke-width="3" />
		</rule>
	</rule>
	<rule e="any" k="natural" v="bay" zoom-min="12">
		<caption k="name" font-style="italic" font-family="serif" font-size="12" fill="#3464a5" stroke="#80FFFFFF" stroke-width="3"/>
	</rule>

	<!-- land cover captions -->
	<rule e="way" k="landuse" v="retail" zoom-min="15">
		<caption k="name" font-style="italic" font-family="serif" font-size="12" fill="#AC3690" stroke="#C0ffffff" stroke-width="3"/>
	</rule>
	<rule e="way" k="natural|landuse" v="land|rock|scree|shingle|landfill|quarry|farm" zoom-min="15">
		<caption k="name" font-style="italic" font-family="serif" font-size="12" fill="#444444" stroke="#C0ffffff" stroke-width="3"/>
	</rule>
	<rule e="way" k="natural|landuse" v="beach|sand" zoom-min="15" zoom-max="16">
		<caption k="name" font-style="italic" font-family="serif" font-size="10" fill="#C0664400" stroke="#C0ffffff" stroke-width="3"/>
	</rule>
	<rule e="way" k="natural|landuse" v="beach|sand" zoom-min="17">
		<caption k="name" font-style="italic" font-family="serif" font-size="12" fill="#664400" stroke="#C0ffffff" stroke-width="3"/>
	</rule>
	<rule e="way" k="natural|landuse" v="fell|grassland|heath|scrub" zoom-min="16">
		<caption k="name" font-style="italic" font-family="serif" font-size="12" fill="#559955" stroke="#C0ffffff" stroke-width="3"/>
	</rule>
	<rule e="way" k="natural|landuse" v="garden|common|grass|meadow|field|farmland|plant_nursery|vineyard" zoom-min="16" zoom-max="16">
		<caption k="name" font-style="italic" font-family="serif" font-size="10" fill="#559955" stroke="#C0ffffff" stroke-width="3"/>
	</rule>
	<rule e="way" k="natural|landuse" v="garden|common|grass|meadow|field|farmland|plant_nursery|vineyard" zoom-min="17">
		<caption k="name" font-style="italic" font-family="serif" font-size="11" fill="#559955" stroke="#C0ffffff" stroke-width="3"/>
	</rule>
	<rule e="way" k="*" v="village_green|green|recreation_ground|park|dog_park|allotments" zoom-min="16" zoom-max="16">
		<caption k="name" font-style="italic" font-family="serif" font-size="10" fill="#336633" stroke="#C0ffffff" stroke-width="3"/>
	</rule>
	<rule e="way" k="*" v="village_green|green|recreation_ground|park|dog_park|allotments" zoom-min="17">
		<caption k="name" font-style="italic" font-family="serif" font-size="11" fill="#336633" stroke="#C0ffffff" stroke-width="3"/>
	</rule>
	<rule e="way" k="*" v="military|cemetery|grave_yard" zoom-min="17">
		<caption k="name" font-style="italic" font-family="serif" font-size="11" fill="#444444" stroke="#C0ffffff" stroke-width="3"/>
	</rule>
	<rule e="way" k="natural|landuse" v="forest|wood|orchard" zoom-min="16">
		<caption k="name" font-style="italic" font-family="serif" font-size="12" fill="#336633" stroke="#C0ffffff" stroke-width="3" />
	</rule>
	<rule e="way" k="*" v="glacier|mountain_range|mountain_area" zoom-min="16">
		<caption k="name" font-style="italic" font-family="serif" font-size="12" fill="#444444" stroke="#C0ffffff" stroke-width="3"/>
	</rule>
	<rule e="way" k="*" v="desert" zoom-min="16">
		<caption k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#664400" stroke="#C0ffffff" stroke-width="3"/>
	</rule>

	<rule cat="nocity" e="any" k="natural" v="volcano" zoom-min="9">
		<rule e="any" k="peak_dist" v="pd_1" zoom-min="9">
			<symbol id="volcano" priority="92" src="file:vol_res/svg/vulcan.svg" symbol-height="11"/>
			<caption k="name" priority="92" symbol-id="volcano" position="above" font-style="bold" font-size="11" fill="#A94949" stroke="#C0FFFFFF" stroke-width="3"/>
			<rule e="any" k="*" v="*" zoom-min="11">
				<caption k="ele" priority="92" symbol-id="volcano" position="below" font-style="bold" font-size="11" fill="#A94949" stroke="#C0FFFFFF" stroke-width="3"/>
			</rule>
		</rule>
		<rule e="any" k="peak_dist" v="pd_2" zoom-min="10">
			<symbol id="volcano" priority="91" src="file:vol_res/svg/vulcan.svg" symbol-height="10"/>
			<caption k="name" priority="91" symbol-id="volcano" position="above" font-style="bold" font-size="10" fill="#A94949" stroke="#C0FFFFFF" stroke-width="3"/>
			<rule e="any" k="*" v="*" zoom-min="12">
				<caption k="ele" priority="91" symbol-id="volcano" position="below" font-style="bold" font-size="10" fill="#A94949" stroke="#C0FFFFFF" stroke-width="3"/>
			</rule>
		</rule>
		<rule e="any" k="peak_dist" v="pd_3" zoom-min="11">
			<symbol id="volcano" priority="90" src="file:vol_res/svg/vulcan.svg" symbol-height="10"/>
			<caption k="name" priority="90" symbol-id="volcano" position="above" font-style="bold" font-size="10" fill="#A94949" stroke="#C0FFFFFF" stroke-width="3"/>
			<rule e="any" k="*" v="*" zoom-min="13">
				<caption k="ele" priority="90" symbol-id="volcano" position="below" font-style="bold" font-size="10" fill="#A94949" stroke="#C0FFFFFF" stroke-width="3"/>
			</rule>
		</rule>
		<rule e="any" k="peak_dist" v="pd_4|~" zoom-min="12">
			<symbol id="volcano" priority="89" src="file:vol_res/svg/vulcan.svg" symbol-height="10"/>
			<caption k="name" symbol-id="volcano" priority="89" position="above" font-style="bold" font-size="10" fill="#A94949" stroke="#C0FFFFFF" stroke-width="3"/>
			<rule e="any" k="*" v="*" zoom-min="14">
				<caption k="ele" priority="89" symbol-id="volcano" position="below" font-style="bold" font-size="10" fill="#A94949" stroke="#C0FFFFFF" stroke-width="3"/>
			</rule>
		</rule>
		<rule e="any" k="peak_dist" v="pd_5" zoom-min="14">
			<symbol id="volcano" priority="88" src="file:vol_res/svg/vulcan.svg" symbol-height="10"/>
			<caption k="name" symbol-id="volcano" priority="88" position="above" font-style="bold" font-size="10" fill="#A94949" stroke="#C0FFFFFF" stroke-width="3"/>
			<rule e="any" k="*" v="*" zoom-min="15">
			<caption k="ele" priority="88" symbol-id="volcano" position="below" font-style="bold" font-size="10" fill="#A94949" stroke="#C0FFFFFF" stroke-width="3"/>
			</rule>
		</rule>
	</rule>
	
	<rule e="any" k="natural" v="peak" zoom-min="13">
		<rule e="any" k="man_made" v="survey_point">
			<symbol id="survey_point" priority="89" src="file:vol_res/svg/survey.svg" symbol-height="10"/>
			<caption k="ele" symbol-id="survey_point" position="below" font-style="bold" font-size="10" fill="#A94949" stroke="#C0FFFFFF" stroke-width="3"/>
			<caption k="name" symbol-id="survey_point" position="above" font-style="bold" font-size="10" fill="#A94949" stroke="#C0FFFFFF" stroke-width="3"/>
		</rule>
	</rule>
	
	<rule cat="nocity" e="any" k="natural" v="peak" zoom-min="9">
		<rule e="any" k="peak_dist" v="pd_1" zoom-min="9">
			<symbol id="peak" priority="92" src="file:vol_res/svg/peak.svg" symbol-height="11"/>
			<caption k="name" priority="92" symbol-id="peak" position="above" font-style="bold" font-size="11" fill="#A94949" stroke="#C0FFFFFF" stroke-width="3"/>
			<rule e="any" k="*" v="*" zoom-min="11">
				<caption k="ele" priority="92" symbol-id="peak" position="below" font-style="bold" font-size="11" fill="#A94949" stroke="#C0FFFFFF" stroke-width="3"/>
			</rule>
		</rule>
		<rule e="any" k="peak_dist" v="pd_2" zoom-min="10">
			<symbol id="peak" priority="91" src="file:vol_res/svg/peak.svg" symbol-height="10"/>
			<caption k="name" priority="91" symbol-id="peak" position="above" font-style="bold" font-size="10" fill="#A94949" stroke="#C0FFFFFF" stroke-width="3"/>
			<rule e="any" k="*" v="*" zoom-min="12">
				<caption k="ele" priority="91" symbol-id="peak" position="below" font-style="bold" font-size="10" fill="#A94949" stroke="#C0FFFFFF" stroke-width="3"/>
			</rule>
			</rule>
			<rule e="any" k="peak_dist" v="pd_3" zoom-min="11">
				<symbol id="peak" priority="90" src="file:vol_res/svg/peak.svg" symbol-height="10"/>
				<caption k="name" priority="90" symbol-id="peak" position="above" font-style="bold" font-size="10" fill="#A94949" stroke="#C0FFFFFF" stroke-width="3"/>
				<rule e="any" k="*" v="*" zoom-min="13">
					<caption k="ele" priority="90" symbol-id="peak" position="below" font-style="bold" font-size="10" fill="#A94949" stroke="#C0FFFFFF" stroke-width="3"/>
				</rule>
			</rule>
			<rule e="any" k="peak_dist" v="pd_4|~" zoom-min="12">
				<symbol id="peak" priority="89" src="file:vol_res/svg/peak.svg" symbol-height="10"/>
				<caption k="name" symbol-id="peak" priority="89" position="above" font-style="bold" font-size="10" fill="#A94949" stroke="#C0FFFFFF" stroke-width="3"/>
				<rule e="any" k="*" v="*" zoom-min="14">
				<caption k="ele" priority="89" symbol-id="peak" position="below" font-style="bold" font-size="10" fill="#A94949" stroke="#C0FFFFFF" stroke-width="3"/>
			</rule>
		</rule>
		<rule e="any" k="peak_dist" v="pd_5" zoom-min="14">
			<symbol id="peak" priority="88" src="file:vol_res/svg/peak.svg" symbol-height="10"/>
			<caption k="name" symbol-id="peak" priority="88" position="above" font-style="bold" font-size="10" fill="#A94949" stroke="#C0FFFFFF" stroke-width="3"/>
			<rule e="any" k="*" v="*" zoom-min="15">
			<caption k="ele" priority="88" symbol-id="peak" position="below" font-style="bold" font-size="10" fill="#A94949" stroke="#C0FFFFFF" stroke-width="3"/>
			</rule>
		</rule>
	</rule>

	<rule e="any" k="man_made" v="cairn" zoom-min="13">
		<symbol id="cairn" priority="89" src="file:vol_res/svg/cairn.svg" symbol-height="10"/>
		<caption k="ele" symbol-id="cairn" position="below" font-style="bold" font-size="10" fill="#A94949" stroke="#C0FFFFFF" stroke-width="3"/>
		<caption k="name" symbol-id="cairn" position="above" font-style="bold" font-size="10" fill="#A94949" stroke="#C0FFFFFF" stroke-width="3"/>
	</rule>
	<!-- Not currently in OAM maps -->
	<!--rule e="node" k="natural" v="cliff" zoom-min="13">
		<symbol id="cliff" src="file:vol_res/svg/rocks.svg" symbol-height="10"/>
		<rule e="any" k="*" v="*" zoom-min="15">
			<caption k="ele" symbol-id="cliff" position="below" font-style="bold" font-size="10" fill="#666666" stroke="#C0FFFFFF" stroke-width="2"/>
			<caption k="name" symbol-id="cliff" position="above" font-style="bold" font-size="10" fill="#666666" stroke="#C0FFFFFF" stroke-width="2"/>
		</rule>
	</rule-->

	<rule e="any" k="natural" v="saddle" zoom-min="14">
		<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="12"/>
			</rule>
			<rule e="any" k="dir_saddle" v="ds_45|~">
				<symbol src="file:vol_res/svg/mountain_pass_45.svg" symbol-height="12"/>
			</rule>
			<rule e="any" k="dir_saddle" v="ds_90">
				<symbol src="file:vol_res/svg/mountain_pass_90.svg" symbol-height="12"/>
			</rule>
			<rule e="any" k="dir_saddle" v="ds_135">
				<symbol src="file:vol_res/svg/mountain_pass_135.svg" symbol-height="12"/>
			</rule>
			<rule e="node" k="*" v="*" zoom-min="15">
				<caption k="name" dy="-12" font-style="bold" font-size="10" fill="#A94949" stroke="#C0FFFFFF" stroke-width="3"/>
				<caption k="ele" dy="15" font-style="bold" font-size="10" fill="#A94949" stroke="#C0FFFFFF" stroke-width="3"/>
			</rule>
		</rule>
	</rule>

	<!-- mountain_pass saddle -->
	<rule e="any" k="mountain_pass" v="yes" zoom-min="14">
		<rule e="any" k="dir_saddle" v="ds_0">
			<symbol src="file:vol_res/svg/mountain_pass_0.svg" symbol-height="12"/>
		</rule>
		<rule e="any" k="dir_saddle" v="ds_45|~">
			<symbol src="file:vol_res/svg/mountain_pass_45.svg" symbol-height="12"/>
		</rule>
		<rule e="any" k="dir_saddle" v="ds_90">
			<symbol src="file:vol_res/svg/mountain_pass_90.svg" symbol-height="12"/>
		</rule>
		<rule e="any" k="dir_saddle" v="ds_135">
			<symbol src="file:vol_res/svg/mountain_pass_135.svg" symbol-height="12"/>
		</rule>
		<rule e="node" k="*" v="*" zoom-min="15">
			<caption k="name" dy="-12" font-style="bold" font-size="10" fill="#A94949" stroke="#C0FFFFFF" stroke-width="3"/>
			<caption k="ele" dy="15" font-style="bold" font-size="10" fill="#A94949" stroke="#C0FFFFFF" stroke-width="3"/>
		</rule>
	</rule>

	<!-- natural -->
	<rule cat="noroad" e="node" k="natural" v="tree" zoom-min="16">
		<circle radius="1.0" scale-radius="true" fill="#BB99bb77"/>
		<circle radius="0.2" scale-radius="true" fill="#734A03"/>
		<caption k="name" dy="18" font-style="bold" font-size="12" fill="#208020" stroke="#C0FFFFFF" stroke-width="2"/>
	</rule>
	<rule e="node" k="natural" v="geyser" zoom-min="13">
		<symbol src="file:vol_res/svg/geyser.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="waterway|natural" v="waterfall" zoom-min="15">
		<symbol src="file:vol_res/svg/waterfall.svg" symbol-height="18" priority="63"/>
	</rule>
	<rule e="any" k="waterway|natural" v="rapids" zoom-min="15">
		<symbol src="file:vol_res/svg/rapids.svg" symbol-height="18"/>
	</rule>
	<rule e="any" k="natural" v="cave_entrance" zoom-min="14">
		<rule e="any" k="shelter_type" v="~">
			<symbol src="file:vol_res/svg/cave_entrance.svg" symbol-height="16"/>
			<rule e="any" k="*" v="*" zoom-min="16">
				<caption k="name" dy="18" font-style="bold" font-size="10" fill="#606060" stroke="#C0FFFFFF" stroke-width="2"/>
			</rule>
		</rule>
	</rule>
	<rule e="any" k="natural" v="nat_stone" zoom-min="15">
		<symbol src="file:vol_res/svg/stone.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="man_made" v="adit_disused" zoom-min="14">
		<symbol src="file:vol_res/svg/mineshaft_disused.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="man_made" v="adit" zoom-min="14">
		<symbol src="file:vol_res/svg/mineshaft.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="man_made" v="petroleum_well" zoom-min="15">
		<symbol src="file:vol_res/svg/petroleum_well.svg" symbol-height="16" />
	</rule>
	<rule e="any" k="military" v="bunker_disused" zoom-min="16">
		<symbol src="file:vol_res/svg/bunker_disused.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="military" v="bunker" zoom-min="16">
		<symbol src="file:vol_res/svg/bunker.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="natural|man_made|military" v="nat_stone|adit|adit_disused|petroleum_well|bunker|bunker_disused|water_works|reservoir_covered|wastewater_plant" zoom-min="17">
		<caption k="name" dy="18" font-style="bold" font-size="10" fill="#606060" stroke="#C0FFFFFF" stroke-width="2"/>
	</rule>

	<rule e="any" k="tourism" v="alpine_hut" zoom-min="15">
		<rule e="any" k="access|reservation" v="permissive|~">
			<rule e="any" k="winter_room" v="wr_yes">
				<symbol priority="86" src="file:vol_res/svg/alpine_hut_winter.svg" symbol-height="22"/> 
			</rule>
			<rule e="any" k="winter_room" v="~">
				<symbol priority="86" src="file:vol_res/svg/alpine_hut.svg" symbol-height="20"/> 
			</rule>
		</rule>
		<rule e="any" k="access|reservation" v="private|acc_no|members_only">
			<symbol priority="86" src="file:vol_res/svg/alpine_hut_private.svg" symbol-height="22"/> 
		</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="15">
		<rule e="any" k="access|reservation" v="private|acc_no|members_only">
			<symbol priority="88" src="file:vol_res/svg/wilderness_hut_private.svg" symbol-height="22"/> 
		</rule>
	</rule>
	<rule e="any" k="amenity" v="shelter" zoom-min="15">
		<rule e="any" k="shelter_type" v="basic_hut">
			<symbol priority="87" src="file:vol_res/svg/shelter_basic.svg" symbol-height="22"/>
		</rule>
		<rule e="any" k="shelter_type" v="lean_to">
			<symbol priority="87" src="file:vol_res/svg/shelter_leanto.svg" symbol-height="22"/>
		</rule>
	</rule>
	<rule e="any" k="tourism" v="wilderness_hut" zoom-min="15">
		<rule e="any" k="access|reservation" v="permissive|~">
			<symbol priority="86" src="file:vol_res/svg/wilderness_hut.svg" symbol-height="20"/> 
		</rule>
	</rule>
	<rule cat="hike" e="any" k="tourism|shelter_type" v="alpine_hut|wilderness_hut|basic_hut|lean_to" zoom-min="13" zoom-max="13">
		<symbol display="always" priority="86" symbol-height="12" 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="14" zoom-max="14">
		<symbol display="always" priority="86" symbol-height="15" 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">
		<caption k="name" dy="18" font-style="bold" font-size="10" fill="#4773b3" stroke="#C0FFFFFF" stroke-width="2"/>
	</rule>

	<rule e="any" k="amenity" v="shelter" zoom-min="13">
		<rule cat="hike" e="any" k="shelter_type" v="picnic_shelter|rock_shelter|weather_shelter|~" zoom-max="13">
			<symbol display="always" priority="86" symbol-height="9" src="file:vol_res/svg/pt_shelter.svg"/>
		</rule>
		<rule e="any" k="shelter_type" v="picnic_shelter|rock_shelter|weather_shelter|~" zoom-min="14" zoom-max="14">
			<symbol display="always" priority="86" symbol-height="12" src="file:vol_res/svg/pt_shelter.svg"/>
		</rule>
		<rule e="any" k="shelter_type" v="picnic_shelter" zoom-min="15">
			<symbol priority="86" src="file:vol_res/svg/shelter_picnic.svg" symbol-height="22"/>
		</rule>
		<rule e="any" k="shelter_type" v="rock_shelter" zoom-min="15">
			<symbol priority="86" src="file:vol_res/svg/shelter_rock.svg" symbol-height="20"/>
		</rule>
		<rule e="any" k="shelter_type" v="weather_shelter|~" zoom-min="15">
			<symbol priority="86" src="file:vol_res/svg/shelter.svg" symbol-height="22"/>
		</rule>
	</rule>

	<!-- public transport -->
	<rule e="any" k="railway" v="station" zoom-min="12">
		<rule e="any" k="station|power" v="~">
			<rule e="any" k="*" v="*" zoom-max="14">
				<symbol src="file:vol_res/svg/trainstation_small.svg" symbol-height="6" priority="110" display="always"/>
			</rule>
			<rule e="any" k="*" v="*" zoom-min="15">
				<symbol id="trainstation" src="file:vol_res/svg/trainstation.svg" symbol-height="22" priority="110" display="always"/>
				<caption symbol-id="trainstation" position="below" k="name" font-style="bold" font-size="10" fill="#4773b3" stroke="#C0FFFFFF" stroke-width="2"/>
			</rule>
		</rule>
	</rule>
	<rule e="any" k="railway" v="halt" zoom-min="14">
		<rule e="any" k="station" v="~">
			<rule e="any" k="*" v="*" zoom-max="15">
				<symbol id="halt" src="file:vol_res/svg/trainstation_small.svg" symbol-height="5" priority="110" display="always"/>
			</rule>
			<rule e="any" k="*" v="*" zoom-min="16" zoom-max="17">
				<symbol id="halt" src="file:vol_res/svg/trainstation_small.svg" symbol-height="12" priority="110" display="always"/>
			</rule>
			<rule e="any" k="*" v="*" zoom-min="18">
				<symbol id="halt" src="file:vol_res/svg/trainstation_small.svg" symbol-height="24" priority="110" display="always"/>
			</rule>
			<rule e="any" k="*" v="*" zoom-min="15">
				<caption symbol-id="halt" position="below" k="name" font-style="bold" font-size="11" fill="#CA1212" stroke="#C0FFFFFF" stroke-width="2"/>
			</rule>
		</rule>
	</rule>

	<rule e="any" k="station" v="subway" zoom-min="14">
		<rule e="any" k="*" v="*" zoom-max="14">
			<symbol src="file:vol_res/svg/trainstation_small.svg" symbol-height="6" priority="110" display="always"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="15">
			<symbol id="subway" src="file:vol_res/svg/subway.svg" symbol-height="20" priority="110" display="always"/>
			<caption symbol-id="subway" position="below" k="name" font-style="bold" font-size="10" fill="#4773b3" stroke="#C0FFFFFF" stroke-width="2"/>
		</rule>
	</rule>
	<rule e="any" k="station" v="light_rail" zoom-min="14">
		<rule e="any" k="*" v="*" zoom-max="15">
			<symbol id="light_rail" src="file:vol_res/svg/tramstop_small.svg" symbol-height="5" priority="110" display="always"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="16" zoom-max="17">
			<symbol id="light_rail" src="file:vol_res/svg/tramstop_small.svg" symbol-height="10" priority="110" display="always"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="18">
			<symbol id="light_rail" src="file:vol_res/svg/tramstop_small.svg" symbol-height="20" priority="110" display="always"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="15">
			<caption symbol-id="light_rail" position="below" k="name" font-style="bold" font-size="11" fill="#8C6900" stroke="#C0FFFFFF" stroke-width="3"/>
		</rule>
	</rule>
	<rule e="any" k="railway" v="tram_stop" zoom-min="14">
		<rule e="any" k="*" v="*" zoom-max="15">
			<symbol id="tram" src="file:vol_res/svg/tramstop_small.svg" symbol-height="5" priority="110" display="always"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="16" zoom-max="17">
			<symbol id="tram" src="file:vol_res/svg/tramstop_small.svg" symbol-height="10" priority="110" display="always"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="18">
			<symbol id="tram" src="file:vol_res/svg/tramstop_small.svg" symbol-height="20" priority="110" display="always"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="15">
			<caption symbol-id="tram" position="below" k="name" font-style="bold" font-size="11" fill="#8C6900" stroke="#C0FFFFFF" stroke-width="3"/>
		</rule>
	</rule>
	<rule e="any" k="amenity" v="bus_station" zoom-min="14">
		<symbol id="bus_sta" src="file:vol_res/svg/bus_sta.svg" symbol-height="16" priority="110" display="always"/>
		<rule e="any" k="*" v="*" zoom-min="15">
			<caption symbol-id="bus_sta" position="below" k="name" font-style="bold" font-size="11" fill="#4773b3" stroke="#C0FFFFFF" stroke-width="2"/>
		</rule>
	</rule>
	<rule e="node" k="highway" v="bus_stop" zoom-min="14">
		<rule cat="paths" e="any" k="*" v="*" zoom-max="14">
			<symbol id="bus_stop" src="file:vol_res/svg/bus.svg" symbol-height="8" priority="90" display="always"/>
		</rule>
		<rule cat="paths" e="any" k="*" v="*" zoom-min="15" zoom-max="15">
			<symbol id="bus_stop" src="file:vol_res/svg/bus.svg" symbol-height="10" priority="90" display="always"/>
		</rule>
		<rule cat="paths" e="any" k="*" v="*" zoom-min="16">
			<symbol id="bus_stop" src="file:vol_res/svg/bus.svg" symbol-height="14" priority="90" display="always"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="16">
			<symbol id="bus_stop" src="file:vol_res/svg/bus.svg" symbol-height="14" priority="90"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="18">
			<caption symbol-id="bus_stop" position="below" k="name" font-style="bold" font-size="10" fill="#4773b3" stroke="#C0FFFFFF" stroke-width="2"/>
		</rule>
	</rule>
	<rule e="any" k="amenity" v="ferry_terminal" zoom-min="12">
		<rule e="any" k="*" v="*" zoom-max="15">
			<symbol id="ferry" src="file:vol_res/svg/pt_ferry.svg" symbol-height="12" priority="110" display="always"/> 
		</rule>
		<rule e="any" k="*" v="*" zoom-min="16">
			<symbol id="ferry" src="file:vol_res/svg/ferry_terminal.svg" symbol-height="24" priority="110" display="always"/>
			<caption symbol-id="ferry" position="below" k="name" font-style="bold" font-size="11" fill="#4773b3" stroke="#C0FFFFFF" stroke-width="2"/>
		</rule>
	</rule>
	<rule e="any" k="shop" v="supermarket" zoom-min="14">
		<symbol src="file:vol_res/svg/supermarket.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="shop" v="mall" zoom-min="14">
		<symbol src="file:vol_res/svg/shop_mall.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="shop" v="convenience" zoom-min="16">
		<symbol src="file:vol_res/svg/shop_convenience.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="shop" v="bakery" zoom-min="16">
		<symbol src="file:vol_res/svg/shop_bakery.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="amenity" v="fuel" zoom-min="13">
		<rule e="any" k="*" v="*" zoom-max="14" cat="road">
			<symbol src="file:vol_res/svg/fuel.svg" symbol-height="14"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="15" cat="road">
			<symbol src="file:vol_res/svg/fuel.svg" symbol-height="16" priority="10"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="15">
			<symbol src="file:vol_res/svg/fuel.svg" symbol-height="16"/>
		</rule>
	</rule>
	<rule e="any" k="amenity" v="charging_station" zoom-min="13">
		<rule e="any" k="*" v="*" zoom-max="14" cat="road">
			<symbol src="file:vol_res/svg/charging_station.svg" symbol-height="14"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="15" cat="road">
			<symbol src="file:vol_res/svg/charging_station.svg" symbol-height="16" priority="10"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="15">
			<symbol src="file:vol_res/svg/charging_station.svg" symbol-height="16"/>
		</rule>
	</rule>
	<rule e="any" k="amenity|waterway" v="drinking_water|water_point" zoom-min="14">
		<rule e="any" k="*" v="*" zoom-max="14" cat="nocity">
			<symbol src="file:vol_res/svg/drinking_water.svg" symbol-height="16"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="15">
			<symbol src="file:vol_res/svg/drinking_water.svg" symbol-height="16"/>
		</rule>
	</rule>
	<rule e="any" k="amenity" v="fountain" zoom-min="15">
		<rule e="any" k="drinking_water" v="yes">
			<symbol src="file:vol_res/svg/drinking_water.svg" symbol-height="16"/>
		</rule>
		<rule e="any" k="*" v="*">
			<symbol src="file:vol_res/svg/fountain.svg" symbol-height="16"/>
		</rule>
	</rule>
	<rule e="any" k="natural|man_made" v="spring|water_well" zoom-min="14">
		<rule e="any" k="drinking_water" v="yes">
			<symbol src="file:vol_res/svg/drinking_water.svg" symbol-height="16"/>
		</rule>
		<rule e="node" k="natural" v="spring"  zoom-min="16">
			<symbol src="file:vol_res/svg/spring.svg" symbol-height="16"/>
		</rule>
		<rule e="node" k="man_made" v="water_well"  zoom-min="16">
			<symbol src="file:vol_res/svg/well.svg" symbol-height="17"/>
		</rule>
	</rule>
	<rule e="any" k="amenity" v="toilets" zoom-min="15">
		<symbol priority="75" src="file:vol_res/svg/toilets.svg" symbol-height="18"/>
		<rule e="any" k="access" v="destination">
			<symbol priority="76" src="file:vol_res/svg/toilets_private.svg" symbol-height="18"/>
		</rule>
	</rule>	
	<rule e="node" k="leisure" v="water_park" zoom-min="15">
		<symbol src="file:vol_res/svg/water_park.svg" priority="62" symbol-height="18"/>
	</rule>
	<rule e="node" k="leisure" v="beach_resort" zoom-min="15">
		<symbol src="file:vol_res/svg/beach_resort.svg" priority="62" symbol-height="18"/>
	</rule>
	<rule e="node" k="leisure|sport" v="swimming|swimming_area" zoom-min="15">
		<symbol src="file:vol_res/svg/swimming.svg" priority="61" symbol-height="18"/>
	</rule>
	<rule e="any" k="tourism|leisure" v="picnic_site|picnic_table" zoom-min="14">
		<symbol src="file:vol_res/svg/picnic.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="amenity" v="bench" zoom-min="15">
		<symbol src="file:vol_res/svg/bench.svg" symbol-height="16"/>
	</rule>

	<rule e="any" k="amenity" v="parking" zoom-min="15">
		<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="15">
						<symbol src="file:vol_res/svg/parking_private.svg" symbol-height="16"/>
					</rule>
					<rule cat="nohikebike" e="any" k="*" v="*" zoom-min="16" zoom-max="17">
						<symbol src="file:vol_res/svg/parking_private.svg" symbol-height="16"/>
					</rule>
					<rule e="any" k="*" v="*" zoom-min="18">
						<symbol src="file:vol_res/svg/parking_private.svg" symbol-height="16"/>
					</rule>		
				</rule>
				<rule e="any" k="access" v="~|public|permissive|destination"> 
					<rule cat="road" e="any" k="*" v="*" zoom-max="15">
						<symbol src="file:vol_res/svg/parking.svg" symbol-height="16"/>
					</rule>
					<rule cat="nohikebike" e="any" k="*" v="*" zoom-min="16" zoom-max="16">
						<symbol src="file:vol_res/svg/parking.svg" symbol-height="16"/>
					</rule>
					<rule e="any" k="*" v="*" zoom-min="17">
						<symbol src="file:vol_res/svg/parking.svg" symbol-height="16"/>
					</rule>
				</rule>
			</rule>
			<rule e="any" k="parking" v="street_side|lane" zoom-min="17">
				<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="12"/>
					</rule>
					<rule e="any" k="*" v="*" zoom-min="18">
						<symbol src="file:vol_res/svg/parking_private.svg" symbol-height="12"/>
					</rule>
				</rule>
				<rule e="any" k="access" v="~|public|permissive|destination"> 
					<rule cat="nohikebike" e="any" k="*" v="*" zoom-max="17">
						<symbol src="file:vol_res/svg/parking.svg" symbol-height="12"/>
					</rule>
					<rule e="any" k="*" v="*" zoom-min="18">
						<symbol src="file:vol_res/svg/parking.svg" symbol-height="12"/>
					</rule>
				</rule>
			</rule>
		</rule>
		<rule e="any" k="building" v="*">
			<rule e="any" k="access" v="private|acc_no|no|permit">
				<rule e="way" k="*" v="*" zoom-max="17">
					<area symbol-height="8" src="file:vol_res/patterns/access-private.png"/>
				</rule>
				<rule e="way" k="*" v="*" zoom-min="18">
					<area symbol-height="16" src="file:vol_res/patterns/access-private.png"/>
				</rule>
				<rule cat="road" e="any" k="*" v="*" zoom-max="16">
					<symbol src="file:vol_res/svg/covered_parking_private.svg" symbol-height="20"/>
				</rule>
				<rule cat="nohikebike" e="any" k="*" v="*" zoom-min="17" zoom-max="17">
					<symbol src="file:vol_res/svg/covered_parking_private.svg" symbol-height="20"/>
				</rule>
				<rule e="any" k="*" v="*" zoom-min="18">
					<symbol src="file:vol_res/svg/covered_parking_private.svg" symbol-height="20"/>
				</rule>
			</rule>
			<rule e="any" k="access" v="~|public|permissive|destination"> 
				<rule cat="road" e="any" k="*" v="*" zoom-max="15">
					<symbol src="file:vol_res/svg/covered_parking.svg" symbol-height="20"/>
				</rule>
				<rule cat="nohikebike" e="any" k="*" v="*" zoom-min="16" zoom-max="16">
					<symbol src="file:vol_res/svg/covered_parking.svg" symbol-height="20"/>
				</rule>
				<rule e="any" k="*" v="*" zoom-min="17">
					<symbol src="file:vol_res/svg/covered_parking.svg" symbol-height="20"/>
				</rule>
			</rule>
		</rule>
	</rule>
	<rule e="any" k="amenity" v="restaurant" zoom-min="16">
		<symbol src="file:vol_res/svg/restaurant.svg" symbol-height="16"/>
		<rule e="any" k="*" v="*" zoom-min="17">
			<caption k="name" dy="18" font-style="bold" font-size="10" fill="#734A08" stroke="#C0FFFFFF" stroke-width="2"/>
		</rule>
	</rule>
	<rule e="any" k="tourism" v="camp_site" zoom-min="13">
		<symbol src="file:vol_res/svg/camp_site.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="tourism" v="caravan_site" zoom-min="13">
		<symbol src="file:vol_res/svg/caravan_site.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="tourism" v="caravan_site|camp_site" zoom-min="14">
		<caption k="name" dy="16" font-style="bold" font-size="10" fill="#4773b3" stroke="#C0FFFFFF" stroke-width="2"/>
	</rule>

	<rule e="any" k="tourism" v="hostel" zoom-min="15">
		<symbol src="file:vol_res/svg/hostel.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="tourism" v="hotel" zoom-min="15">
		<symbol src="file:vol_res/svg/hotel.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="tourism" v="chalet" zoom-min="15">
		<symbol src="file:vol_res/svg/chalet.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="tourism" v="apartment" zoom-min="15">
		<symbol src="file:vol_res/svg/apartment.svg" symbol-height="16"/>
	</rule>
	<rule e="node" k="tourism" v="viewpoint" zoom-min="14">
		<symbol src="file:vol_res/svg/viewpoint.svg" symbol-height="16"/>
		<rule e="any" k="natural" v="~" zoom-min="15">
			<caption k="name" dy="18" font-style="bold" font-size="10" fill="#734A08" stroke="#C0FFFFFF" stroke-width="2"/>
		</rule>
	</rule>
	<rule e="any" k="tourism" v="zoo" zoom-min="13">
		<symbol src="file:vol_res/svg/zoo.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="tourism" v="attraction" zoom-min="13">
		<rule e="any" k="*" v="*" zoom-max="14">
			<symbol src="file:vol_res/svg/star.svg" symbol-height="14"/>
		</rule>
		<rule e="node" k="*" v="*" zoom-min="15">
			<symbol src="file:vol_res/svg/star.svg" symbol-height="16"/>
		</rule>
		<rule e="way" k="building" v="*" zoom-min="15">
			<symbol src="file:vol_res/svg/star.svg" symbol-height="16"/>
		</rule>
		<rule e="any" k="historic|amenity|natural|man_made" v="~" zoom-min="14">
			<caption k="name" dy="18" font-style="bold" font-size="10" fill="#734A08" stroke="#C0FFFFFF" stroke-width="2"/>
		</rule>
	</rule>

	<!-- information -->
	<rule e="any" k="information" v="office" zoom-min="15">
		<symbol src="file:vol_res/svg/information_office.svg" symbol-height="16"/>
	</rule>
	<rule cat="nocity" e="any" k="information" v="board" zoom-min="15">
		<symbol src="file:vol_res/svg/information_board.svg" symbol-height="16"/>
	</rule>
	<rule cat="nocity" e="any" k="information" v="map" zoom-min="15">
		<symbol src="file:vol_res/svg/information_map.svg" symbol-height="16"/>
	</rule>
	<rule cat="nocity" e="any" k="information" v="terminal" zoom-min="17">
		<symbol src="file:vol_res/svg/information_terminal.svg" symbol-height="16"/>
	</rule>
	<!--rule cat="nocity" e="any" k="tourism" v="information" zoom-min="15">
		<rule e="any" k="information" v="~">
			<symbol src="file:vol_res/svg/information.svg" symbol-height="16"/>
		</rule>
	</rule-->
	<rule cat="nocity" e="any" k="information" v="guidepost" zoom-min="15">
		<symbol src="file:vol_res/svg/guidepost.svg" symbol-height="16"/>
		<rule e="any" k="*" v="*" zoom-min="15">
			<caption k="name" dy="18" font-style="bold" font-size="10" fill="#734A08" stroke="#C0FFFFFF" stroke-width="2"/>
			<caption k="addr:housenumber" dy="-15" display="always" font-size="10" font-style="normal" fill="#734A08" stroke="#C0FFFFFF" stroke-width="2" />
		</rule>
	</rule>
	<rule e="any" k="information" v="map" zoom-min="15" cat="nocity">
		<symbol src="file:vol_res/svg/information_map.svg" symbol-height="16"/>
	</rule>
	<!--rule e="any" k="tourism" v="information" zoom-min="15">
		<rule e="any" k="information" v="~">
			<symbol src="file:vol_res/svg/information.svg" symbol-height="16"/>
		</rule>
	</rule-->
	<rule e="any" k="tourism|building" v="museum" zoom-min="14">
		<symbol src="file:vol_res/svg/museum.svg" symbol-height="16"/>
		<caption k="name" dy="18" font-style="bold" font-size="10" fill="#734A08" stroke="#C0FFFFFF" stroke-width="2"/>
	</rule>

	<!-- man_made & power -->
	<rule e="any" k="waterway" v="weir" zoom-min="16">
		<symbol src="file:vol_res/svg/weir.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="tower:type|tower" v="communication" zoom-min="14">
		<symbol src="file:vol_res/svg/tower_communications.svg" symbol-height="20"/>
	</rule>
	<rule e="any" k="man_made|tower:type|tower" v="surveillance|observation" zoom-min="16">
		<symbol src="file:vol_res/svg/tower_lookout.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="man_made|tower" v="windmill" zoom-min="13">
		<symbol src="file:vol_res/svg/windmill.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="man_made" v="windpump" zoom-min="13">
		<symbol src="file:vol_res/svg/windpump.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="man_made" v="watermill" zoom-min="13">
		<symbol src="file:vol_res/svg/watermill.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="man_made" v="wastewater_plant" zoom-min="15">
		<symbol src="file:vol_res/svg/wastewater_plant.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="man_made" v="water_works|reservoir_covered" zoom-min="15">
		<symbol src="file:vol_res/svg/water_works.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="man_made" v="lighthouse" zoom-min="13">
		<symbol src="file:vol_res/svg/lighthouse.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="landuse" v="farmyard" zoom-min="14">
		<symbol src="file:vol_res/svg/farmyard.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="generator:source" v="wind" zoom-min="12">
		<symbol src="file:vol_res/svg/power_wind.svg" symbol-height="20"/>
	</rule>
	<rule e="any" k="generator:source" v="hydro|tidal|wave" zoom-min="13">
		<symbol src="file:vol_res/svg/power_water.svg" symbol-height="20"/>
	</rule>
	
	<rule e="way" k="generator:source" v="solar" zoom-min="14">
		<rule e="way" k="building" v="*" zoom-min="18">
			<rule e="way" k="power" v="plant">
				<symbol src="file:vol_res/svg/power_solar.svg" symbol-height="20"/>
			</rule>
		</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="20"/>
			</rule>
		</rule>
	</rule>
	<rule e="node" k="generator:source" v="solar" zoom-min="18">
		<rule e="any" k="power" v="plant">
			<symbol src="file:vol_res/svg/power_solar.svg" symbol-height="20"/>
		</rule>
	</rule>
	<rule e="any" k="generator" v="gas|oil|diesel|gasoline|biomass|biofuel|waste|geothermal" zoom-min="13">
		<symbol src="file:vol_res/svg/power_gas.svg" symbol-height="20"/>
	</rule>
	<rule e="any" k="generator:source" v="coal" zoom-min="13">
		<symbol src="file:vol_res/svg/power_coal.svg" symbol-height="20"/>
	</rule>
	<rule e="any" k="generator:source" v="nuclear" zoom-min="13">
		<symbol src="file:vol_res/svg/power_nuclear.svg" symbol-height="20"/>
	</rule>
	<rule e="any" k="man_made" v="water_tower" zoom-min="14">
		<symbol src="file:vol_res/svg/tower_water.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="power" v="tower" zoom-min="14">
		<symbol src="file:vol_res/svg/power_tower.svg" symbol-height="16"/>
	</rule>

	<!-- historic -->
	<rule e="any" k="historic|building" v="castle" zoom-min="13">
		<symbol src="file:vol_res/svg/castle.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="historic" v="ruins" zoom-min="14">
		<symbol src="file:vol_res/svg/ruins.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="historic" v="archaeological_site" zoom-min="14">
		<symbol src="file:vol_res/svg/archaeological_site.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="historic" v="monument" zoom-min="14">
		<symbol src="file:vol_res/svg/monument.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="historic" v="hist_stone" zoom-min="15">
		<symbol src="file:vol_res/svg/stone_historic.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="historic" v="memorial" zoom-min="15">
		<rule e="any" k="memorial" v="stolperstein">
			<symbol src="file:vol_res/svg/memorial_stolperstein.svg" symbol-height="16"/>
		</rule>
		<rule e="any" k="memorial" v="plaque">
			<symbol src="file:vol_res/svg/memorial_plaque.svg" symbol-height="16"/>
		</rule>
		<rule e="any" k="memorial" v="statue">
			<symbol src="file:vol_res/svg/memorial_statue.svg" symbol-height="16"/>
		</rule>
		<rule e="any" k="memorial" v="stone">
			<symbol src="file:vol_res/svg/memorial_stone.svg" symbol-height="16"/>
		</rule>
		<rule e="any" k="memorial" v="war_memorial">
			<symbol src="file:vol_res/svg/memorial_war.svg" symbol-height="16"/>
		</rule>
		<rule e="any" k="memorial" v="~">
			<symbol src="file:vol_res/svg/memorial.svg" symbol-height="16"/>
		</rule>
	</rule>
	<rule e="any" k="tourism" v="artwork" zoom-min="17">
		<symbol src="file:vol_res/svg/artwork.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="historic" v="wayside_shrine" zoom-min="14">
		<symbol src="file:vol_res/svg/wayside_shrine.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="historic" v="wayside_cross" zoom-min="15">
		<symbol src="file:vol_res/svg/wayside_cross.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="historic" v="boundary_stone" zoom-min="17">
		<symbol src="file:vol_res/svg/boundary_stone.svg" symbol-height="16" />
	</rule>
	<rule e="any" k="historic" v="monument|memorial|hist_stone" zoom-min="16">
		<caption k="name" dy="18" font-style="bold" font-size="10" fill="#734A08" stroke="#C0FFFFFF" stroke-width="2"/>
	</rule>
	<rule e="any" k="historic|building" v="ruins|castle|archaeological_site" zoom-min="15">
		<rule cat="nocity" e="any" k="*" v="*" zoom-max="15">
			<caption k="name" dy="18" font-style="bold" font-size="10" fill="#734A08" stroke="#C0FFFFFF" stroke-width="2"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="16">
			<caption k="name" dy="18" font-style="bold" font-size="10" fill="#734A08" stroke="#C0FFFFFF" stroke-width="2"/>
		</rule>
	</rule>

	<!-- place of worship -->
	<rule e="any" k="amenity" v="place_of_worship" zoom-min="14">
		<rule cat="nocity" e="any" k="*" v="*" zoom-max="14">
			<rule e="any" k="religion" v="christian">
				<symbol src="file:vol_res/svg/worship_church.svg" symbol-height="16"/>
			</rule>
			<rule e="any" k="religion" v="buddhist">
				<symbol src="file:vol_res/svg/worship_buddhist.svg" symbol-height="16"/>
			</rule>
			<rule e="any" k="religion" v="hindu">
				<symbol src="file:vol_res/svg/worship_hindu.svg" symbol-height="16"/>
			</rule>
			<rule e="any" k="religion" v="jewish">
				<symbol src="file:vol_res/svg/worship_jewish.svg" symbol-height="16"/>
			</rule>
			<rule e="any" k="religion" v="muslim">
				<symbol src="file:vol_res/svg/worship_moslem.svg" symbol-height="16"/>
			</rule>
			<rule e="any" k="religion" v="shinto">
				<symbol src="file:vol_res/svg/worship_shinto.svg" symbol-height="16"/>
			</rule>
			<rule e="any" k="religion" v="~">
				<symbol src="file:vol_res/svg/worship_unknown.svg" symbol-height="16"/>
			</rule>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="15">
			<rule e="any" k="religion" v="christian">
				<symbol src="file:vol_res/svg/worship_church.svg" symbol-height="16"/>
			</rule>
			<rule e="any" k="religion" v="buddhist">
				<symbol src="file:vol_res/svg/worship_buddhist.svg" symbol-height="16"/>
			</rule>
			<rule e="any" k="religion" v="hindu">
				<symbol src="file:vol_res/svg/worship_hindu.svg" symbol-height="16"/>
			</rule>
			<rule e="any" k="religion" v="jewish">
				<symbol src="file:vol_res/svg/worship_jewish.svg" symbol-height="16"/>
			</rule>
			<rule e="any" k="religion" v="muslim">
				<symbol src="file:vol_res/svg/worship_moslem.svg" symbol-height="16"/>
			</rule>
			<rule e="any" k="religion" v="shinto">
				<symbol src="file:vol_res/svg/worship_shinto.svg" symbol-height="16"/>
			</rule>
			<rule e="any" k="religion" v="~">
				<symbol src="file:vol_res/svg/worship_unknown.svg" symbol-height="16"/>
			</rule>
		</rule>
	</rule>

	<!-- emergency -->
	<rule e="any" k="amenity" v="hospital" zoom-min="14">
		<rule e="any" k="*" v="*" zoom-max="15">
			<symbol src="file:vol_res/svg/hospital.svg" symbol-height="12" priority="94"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="16">
			<symbol src="file:vol_res/svg/hospital.svg" symbol-height="16" display="always" priority="94"/>
		</rule>
	</rule>
	<rule e="any" k="emergency" v="defibrillator" zoom-min="14">
		<rule e="any" k="*" v="*" zoom-max="15">
			<symbol src="file:vol_res/svg/defibrillator.svg" symbol-height="12" display="always" priority="90"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="16">
			<symbol src="file:vol_res/svg/defibrillator.svg" symbol-height="16" display="always" priority="90"/>
		</rule>
	</rule>
	<!-- Removed due to over mapping -->
	<!--rule e="any" k="highway" v="emergency_access_point">
		<rule e="any" k="*" v="*" zoom-min="15" zoom-max="16">
			<symbol src="file:vol_res/svg/emergency_access_point.svg" symbol-height="12" display="always" priority="93"/>
			<caption k="addr:housenumber" dy="-13" font-style="bold" font-size="10" fill="#CA1212" stroke="#C0FFFFFF" stroke-width="2" />
		</rule>
		<rule e="any" k="*" v="*" zoom-min="17">
			<symbol src="file:vol_res/svg/emergency_access_point.svg" symbol-height="16" display="always" priority="93"/>
			<caption k="addr:housenumber" dy="-20" font-style="bold" font-size="12" fill="#CA1212" stroke="#C0FFFFFF" stroke-width="2" display="always" priority="93"/>
		</rule>
	</rule-->
	<rule e="any" k="highway" v="emergency_access_point">
		<rule e="any" k="*" v="*" zoom-min="19">
			<symbol src="file:vol_res/svg/emergency_access_point.svg" symbol-height="16" display="always" priority="93"/>
			<rule e="any" k="*" v="*" zoom-min="20">
				<caption k="addr:housenumber" dy="16" font-style="bold" font-size="12" fill="#CA1212" stroke="#C0FFFFFF" stroke-width="2" display="always" priority="93"/>
			</rule>
		</rule>
	</rule>
	<rule e="any" k="amenity|shop" v="pharmacy|chemist" zoom-min="15">
		<rule e="any" k="*" v="*" zoom-max="15">
			<symbol src="file:vol_res/svg/pharmacy.svg" symbol-height="12" priority="90"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="16">
			<symbol src="file:vol_res/svg/pharmacy.svg" symbol-height="16" display="always" priority="90"/>
		</rule>
	</rule>
	<rule e="any" k="amenity" v="doctors" zoom-min="15">
		<rule e="any" k="*" v="*" zoom-max="15">
			<symbol src="file:vol_res/svg/doctors.svg" symbol-height="12" priority="85"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="16">
			<symbol src="file:vol_res/svg/doctors.svg" symbol-height="16" display="always" priority="85"/>
		</rule>
	</rule>
	<!-- amenity -->
	<rule e="any" k="amenity" v="fast_food" zoom-min="16">
		<symbol src="file:vol_res/svg/fast_food.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="amenity" v="biergarten" zoom-min="16">
		<symbol src="file:vol_res/svg/biergarten.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="amenity" v="cafe" zoom-min="16">
		<symbol src="file:vol_res/svg/cafe.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="amenity" v="bar" zoom-min="16">
		<symbol src="file:vol_res/svg/bar.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="amenity" v="ice_cream" zoom-min="16">
		<symbol src="file:vol_res/svg/ice_cream.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="amenity" v="pub" zoom-min="16">
		<symbol src="file:vol_res/svg/pub.svg" symbol-height="16"/>
	</rule>

	<rule e="any" k="amenity" v="marketplace" zoom-min="15">
		<symbol src="file:vol_res/svg/marketplace.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="amenity" v="atm" zoom-min="15">
		<symbol src="file:vol_res/svg/atm.svg" symbol-height="15"/>
	</rule>
	<rule e="any" k="amenity" v="bank" zoom-min="15">
		<symbol src="file:vol_res/svg/bank.svg" symbol-height="15"/>
	</rule>
	<rule e="any" k="amenity" v="post_box" zoom-min="16">
		<symbol src="file:vol_res/svg/post_box.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="amenity" v="post_office" zoom-min="15">
		<symbol src="file:vol_res/svg/post_office.svg" symbol-height="18"/>
	</rule>
	<rule e="any" k="amenity" v="telephone" zoom-min="15">
		<symbol src="file:vol_res/svg/telephone.svg" symbol-height="16"/>
	</rule>
	<rule e="node" k="emergency" v="phone" zoom-min="14">
		<symbol src="file:vol_res/svg/telephone-emergency.svg" symbol-height="16" display="always" priority="94"/>
	</rule>
	<rule e="any" k="amenity" v="police" zoom-min="14">
		<symbol src="file:vol_res/svg/police.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="amenity" v="fire_station" zoom-min="15">
		<symbol src="file:vol_res/svg/fire_station.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="amenity|building" v="embassy" zoom-min="15">
		<symbol src="file:vol_res/svg/embassy.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="amenity" v="recycling" zoom-min="14">
		<symbol src="file:vol_res/svg/recycling.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="amenity" v="cinema" zoom-min="15">
		<symbol src="file:vol_res/svg/cinema.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="amenity" v="bicycle_rental" zoom-min="14">
		<rule cat="bike" e="any" k="*" v="*">
			<symbol src="file:vol_res/svg/bicycle_rental.svg" symbol-height="24" priority="10"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="16">
			<symbol src="file:vol_res/svg/bicycle_rental.svg" symbol-height="20"/>
		</rule>
	</rule>
	<rule e="any" k="amenity" v="townhall" zoom-min="15">
		<symbol src="file:vol_res/svg/townhall.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="amenity|building" v="library" zoom-min="15">
		<symbol src="file:vol_res/svg/library.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="amenity" v="kindergarten" zoom-min="15">
		<symbol src="file:vol_res/svg/kindergarten.svg" symbol-height="16"/>
	</rule>
	<rule e="node" k="amenity|building" v="school" zoom-min="15">
		<symbol src="file:vol_res/svg/school.svg" symbol-height="16"/>
	</rule>
	<rule e="way" k="amenity" v="school" zoom-min="15">
		<symbol src="file:vol_res/svg/school.svg" symbol-height="16" priority="9"/>
	</rule>
	<rule e="any" k="amenity" v="theatre" zoom-min="15">
		<symbol src="file:vol_res/svg/theatre.svg" symbol-height="16"/>
	</rule>
	<rule e="node" k="amenity|building" v="college" zoom-min="15">
		<symbol src="file:vol_res/svg/college.svg" symbol-height="16" priority="10"/>
	</rule>
	<rule e="way" k="amenity" v="college" zoom-min="15">
		<symbol src="file:vol_res/svg/college.svg" symbol-height="16" priority="10"/>
	</rule>
	<rule e="node" k="amenity|building" v="university" zoom-min="15">
		<symbol src="file:vol_res/svg/university.svg" symbol-height="16" priority="10"/>
	</rule>
	<rule e="way" k="amenity" v="university" zoom-min="15">
		<symbol src="file:vol_res/svg/university.svg" symbol-height="16" priority="10"/>
	</rule>

	<!-- highway -->
	<!-- hiking nodes -->
	<rule cat="h_n_routes" e="node" k="hike_node" v="*">
		<rule cat="nocity" e="any" k="*" v="*" zoom-max="14" zoom-min="13">
			<circle radius="6.4" scale-radius="false" fill="#ffffff" stroke="#008131" stroke-width="1.5" />
			<caption k="addr:housenumber" display="always" priority="14" font-style="bold" font-size="9" fill="#008131" stroke="#FFFFFF" stroke-width="2" />
		</rule>
		<rule e="any" k="*" v="*" zoom-max="16" zoom-min="15">
			<circle radius="8.0" scale-radius="false" fill="#ffffff" stroke="#008131" stroke-width="2" />
			<caption k="addr:housenumber" display="always" priority="14" font-style="bold" font-size="10" fill="#008131" stroke="#FFFFFF" stroke-width="2" />
		</rule>
		<rule e="any" k="*" v="*" zoom-min="17">
			<circle radius="10.4" scale-radius="false" fill="#ffffff" stroke="#008131" stroke-width="2" />
			<caption k="addr:housenumber" display="always" priority="14" font-style="bold" font-size="14" fill="#008131" stroke="#FFFFFF" stroke-width="2" />
		</rule>
	</rule>
	<!-- cycling nodes -->
	<rule cat="c_n_routes" e="node" k="cycle_node" v="*">
		<rule cat="nocity" e="any" k="*" v="*" zoom-max="14" zoom-min="13">
			<circle radius="6.4" scale-radius="false" fill="#ffffff" stroke="#0083d7" stroke-width="1.5" />
			<caption k="name" display="always" priority="14" font-style="bold" font-size="9" fill="#0083d7" stroke="#FFFFFF" stroke-width="2" />
		</rule>
		<rule e="any" k="*" v="*" zoom-max="16" zoom-min="15">
			<circle radius="8.0" scale-radius="false" fill="#ffffff" stroke="#0083d7" stroke-width="2" />
			<caption k="name" display="always" priority="14" font-style="bold" font-size="10" fill="#0083d7" stroke="#FFFFFF" stroke-width="2" />
		</rule>
		<rule e="any" k="*" v="*" zoom-min="17">
			<circle radius="10.4" scale-radius="false" fill="#ffffff" stroke="#0083d7" stroke-width="2" />
			<caption k="name" display="always" priority="14" font-style="bold" font-size="14" fill="#0083d7" stroke="#FFFFFF" stroke-width="2" />
		</rule>
	</rule>

	<rule cat="road" e="node" k="addr:housenumber" v="*">
		<rule cat="nocity" e="node" k="highway" v="motorway_junction" zoom-min="12" zoom-max="12">
			<circle radius="5" scale-radius="true" stroke="#ffffff" stroke-width="0.66" fill="#777777"/>
			<caption k="addr:housenumber" font-style="bold" font-size="9" fill="#ffffff" stroke="#444444" stroke-width="2" priority="13" display="always"/>
			<caption k="name" dy="-14" font-style="normal" font-size="10" fill="#666666" stroke="#C0FFFFFF" stroke-width="4.0"/>
		</rule>
		<rule cat="nocity" e="node" k="highway" v="motorway_junction" zoom-min="13" zoom-max="13">
			<circle radius="4" scale-radius="true" stroke="#ffffff" stroke-width="0.66" fill="#777777"/>
			<caption k="addr:housenumber" font-style="bold" font-size="9" fill="#ffffff" stroke="#444444" stroke-width="2" priority="13" display="always"/>
			<caption k="name" dy="-16" font-style="bold" font-size="10" fill="#666666" stroke="#C0FFFFFF" stroke-width="4.0"/>
		</rule>
		<rule e="node" k="highway" v="motorway_junction" zoom-min="14" zoom-max="14">
			<circle radius="3" scale-radius="true" stroke="#ffffff" stroke-width="0.4" fill="#777777"/>
			<caption k="addr:housenumber" dy="-0.5" font-style="bold" font-size="9" fill="#ffffff" stroke="#444444" stroke-width="2" priority="13" display="always"/>
			<caption k="name" dy="-18" font-style="bold" font-size="10" fill="#666666" stroke="#C0FFFFFF" stroke-width="3.0"/>
		</rule>
		<rule e="node" k="highway" v="motorway_junction" zoom-min="15">
			<circle radius="8" stroke="#ffffff" stroke-width="1.7" fill="#777777"/>
			<caption k="addr:housenumber" font-style="bold" font-size="9" fill="#ffffff" stroke="#444444" stroke-width="2" priority="13" display="always"/>
			<caption k="name" dy="-20" font-style="bold" font-size="10" fill="#666666" stroke="#C0FFFFFF" stroke-width="2"/>
		</rule>
	</rule>

	<rule e="any" k="bridge" v="movable" zoom-min="14">
		<symbol src="file:vol_res/svg/bridge_movable.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="highway" v="traffic_signals" zoom-min="15">
		<symbol src="file:vol_res/svg/traffic_signal.svg" symbol-height="16"/>
	</rule>

	<!-- sport -->
	<rule e="any" k="sport|climbing" v="climbing|cl_yes" zoom-min="14">
		<symbol src="file:vol_res/svg/climbing.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="sport" v="soccer" zoom-min="14">
		<symbol src="file:vol_res/svg/football.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="sport" v="tennis" zoom-min="15">
		<symbol src="file:vol_res/svg/tennis.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="sport|leisure" v="golf|golf_course" zoom-min="12">
		<rule cat="nocity" e="any" k="*" v="*" zoom-max="13">
			<symbol src="file:vol_res/svg/golf.svg" symbol-height="8"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="14">
			<symbol src="file:vol_res/svg/golf.svg" symbol-height="16"/>
		</rule>
	</rule>
	<rule e="any" k="sport" v="shooting" zoom-min="14">
		<symbol src="file:vol_res/svg/shooting.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="sport" v="skateboard" zoom-min="14">
		<symbol src="file:vol_res/svg/skateboard.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="sport" v="roller_skating" zoom-min="14">
		<symbol src="file:vol_res/svg/roller_skating.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="sport" v="miniature_golf" zoom-min="14">
		<symbol src="file:vol_res/svg/miniature_golf.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="sport" v="climbing_adventure" zoom-min="14">
		<symbol src="file:vol_res/svg/climbing_adventure.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="sport" v="free_flying" zoom-min="14">
		<symbol src="file:vol_res/svg/free_flying.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="sport" v="cliff_diving" zoom-min="14">
		<symbol src="file:vol_res/svg/cliff_diving.svg" symbol-height="16"/>
	</rule>
	
	<rule e="any" k="leisure" v="stadium" zoom-min="14">
		<symbol src="file:vol_res/svg/stadium.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="leisure" v="sports_centre" zoom-min="14">
		<symbol src="file:vol_res/svg/leisure_centre.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="leisure" v="ls_track" zoom-min="14">
		<symbol src="file:vol_res/svg/track.svg" symbol-height="16"/>
	</rule>

	<!-- shop -->
	<rule e="any" k="shop" v="sports" zoom-min="16">
		<symbol src="file:vol_res/svg/shop_sports.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="shop" v="doityourself" zoom-min="16">
		<symbol src="file:vol_res/svg/shop_diy.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="shop" v="bicycle|bicycle_tube" zoom-min="14">
		<rule cat="bike" e="any" k="*" v="*">
			<symbol src="file:vol_res/svg/shop_bicycle.svg" symbol-height="18" priority="10"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="16">
			<symbol src="file:vol_res/svg/shop_bicycle.svg" symbol-height="16"/>
		</rule>
	</rule>
	<rule e="any" k="shop" v="organic|greengrocer" zoom-min="16">
		<symbol src="file:vol_res/svg/shop_organic.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="shop" v="shop_farm" zoom-min="16">
		<symbol src="file:vol_res/svg/shop_farm.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="shop" v="butcher" zoom-min="16">
		<symbol src="file:vol_res/svg/shop_butcher.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="shop" v="laundry" zoom-min="16">
		<symbol src="file:vol_res/svg/shop_laundrette.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="shop" v="beverages" zoom-min="16">
		<symbol src="file:vol_res/svg/shop_drink.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="shop" v="books" zoom-min="16">
		<symbol src="file:vol_res/svg/shop_book.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="shop" v="car" zoom-min="15">
		<symbol src="file:vol_res/svg/shop_car.svg" symbol-height="18"/>
	</rule>
	<rule e="any" k="shop" v="florist" zoom-min="16">
		<symbol src="file:vol_res/svg/shop_florist.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="shop" v="clothes|tailor" zoom-min="16">
		<symbol src="file:vol_res/svg/shop_clothes.svg" symbol-height="16"/>
	</rule>		
	<rule e="any" k="shop" v="hairdresser" zoom-min="16">
		<symbol src="file:vol_res/svg/shop_hairdresser.svg" symbol-height="16"/>
	</rule>
	<rule e="any" k="shop" v="travel_agency" zoom-min="16">
		<symbol src="file:vol_res/svg/travel_agency.svg" symbol-height="16"/>
	</rule>

	<!-- aeroway symbols and captions -->
	<rule e="any" k="aeroway" v="helipad" zoom-min="14">
		<symbol src="file:vol_res/svg/helipad.svg" symbol-height="16"/>
		<caption k="name" font-style="bold" font-size="10" fill="#4773b3" stroke="#C0FFFFFF" stroke-width="2" dy="18"/>
	</rule>
	<rule e="node" k="aeroway" v="aerodrome|airport" zoom-min="12">
		<symbol src="file:vol_res/svg/airport.svg" symbol-height="16"/>
		<rule e="node" k="*" v="*" zoom-min="14">
			<caption k="name" font-style="bold" font-size="10" fill="#4773b3" stroke="#C0FFFFFF" stroke-width="2" dy="20"/>
		</rule>
	</rule>
	<rule e="way" k="aeroway" v="aerodrome|airport" zoom-min="14">
		<symbol src="file:vol_res/svg/airport.svg" symbol-height="16"/>
		<caption k="name" font-style="italic" font-family="serif" font-size="12" fill="#4773b3" stroke="#C0FFFFFF" stroke-width="3" dy="20"/>
	</rule>
	<rule e="any" k="aeroway" v="gate" zoom-min="15">
		<symbol src="file:vol_res/svg/aeroway_gate.svg" symbol-height="18"/>
		<caption k="name" font-style="bold" font-size="10" fill="#4773b3" stroke="#C0FFFFFF" stroke-width="2" dy="18"/>
		<caption k="ref" font-style="bold" font-size="10" fill="#4773b3" stroke="#C0FFFFFF" stroke-width="2" dy="-18"/>
	</rule>
	
	<!-- railway -->
	<rule cat="paths" e="any" k="railway" v="crossing" zoom-min="14">
		<rule e="any" k="*" v="*" zoom-max="16">
			<symbol src="file:vol_res/svg/railway-crossing.svg" symbol-height="15"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="17">
			<symbol src="file:vol_res/svg/railway-crossing.svg" symbol-height="24"/>
		</rule>
	</rule>
	<rule e="any" k="railway" v="level_crossing" zoom-min="14">
		<rule e="any" k="*" v="*" zoom-max="16">
			<symbol src="file:vol_res/svg/railway-crossing.svg" symbol-height="20"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="17">
			<symbol src="file:vol_res/svg/railway-crossing.svg" symbol-height="32"/>
		</rule>
	</rule>

	<!-- barriers -->
	<rule e="any" k="barrier|military|police" v="border_control|checkpoint" zoom-min="12" zoom-max="14">
		<rule e="any" k="*" v="*" zoom-max="13">
			<symbol src="file:vol_res/svg/pt_checkpoint.svg" symbol-height="9" priority="101" display="always"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="14">
			<symbol src="file:vol_res/svg/pt_checkpoint.svg" symbol-height="12" priority="101" display="always"/>
		</rule>
	</rule>
	<rule e="any" k="barrier" v="border_control" zoom-min="15">
		<rule e="any" k="*" v="*" zoom-max="17">
			<symbol src="file:vol_res/svg/border_control.svg" symbol-height="16" priority="101" display="always"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="18">
			<symbol src="file:vol_res/svg/border_control.svg" symbol-height="24" priority="101" display="always"/>
		</rule>
	</rule>
	<rule e="any" k="military|police" v="checkpoint" zoom-min="15">
		<rule e="any" k="*" v="*" zoom-max="17">
			<symbol src="file:vol_res/svg/checkpoint.svg" symbol-height="16" priority="101" display="always"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="18">
			<symbol src="file:vol_res/svg/checkpoint.svg" symbol-height="24" priority="101" display="always"/>
		</rule>
	</rule>
	<rule e="any" k="barrier" v="block" zoom-min="16">
	<rule e="any" k="*" v="*" zoom-max="17">
			<symbol src="file:vol_res/svg/blocks.svg" symbol-height="14"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="18">
			<symbol src="file:vol_res/svg/blocks.svg" symbol-height="22"/>
		</rule>
	</rule>
	<rule e="any" k="barrier" v="bollard" zoom-min="16">
		<rule e="any" k="*" v="*" zoom-max="17">
			 <symbol src="file:vol_res/svg/bollard.svg" symbol-height="14"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="18">
			 <symbol src="file:vol_res/svg/bollard.svg" symbol-height="22"/>
		</rule>
	</rule>
	<rule e="any" k="barrier" v="log" zoom-min="16">
		<rule e="any" k="*" v="*" zoom-max="17">
			<symbol src="file:vol_res/svg/log.svg" symbol-height="14" />
		</rule>
		<rule e="any" k="*" v="*" zoom-min="18">
			<symbol src="file:vol_res/svg/log.svg" symbol-height="22" />
		</rule>
	</rule>
	<rule e="any" k="barrier" v="cattle_grid" zoom-min="16">
		<rule e="any" k="*" v="*" zoom-max="17">
			<symbol src="file:vol_res/svg/cattle_grid.svg" symbol-height="18" priority="105"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="18">
			<symbol src="file:vol_res/svg/cattle_grid.svg" symbol-height="28" priority="105"/>
		</rule>
	</rule>
	<rule cat="bike" e="any" k="barrier" v="cycle_barrier" zoom-min="16">
		<rule cat="paths" e="any" k="*" v="*" zoom-max="17">
			<symbol src="file:vol_res/svg/cycle_barrier.svg" symbol-height="14"/>
		</rule>
		<rule cat="paths" e="any" k="*" v="*" zoom-min="18">
			<symbol src="file:vol_res/svg/cycle_barrier.svg" symbol-height="22"/>
		</rule>
	</rule>
	
	<rule e="any" k="barrier" v="gate" zoom-min="15" zoom-max="15">
		<rule e="any" k="barrier_cross_hw" v="bch_yes">
			<rule e="any" k="access" v="destination|~">
				<symbol src="file:vol_res/svg/gate.svg" symbol-height="15" priority="104"/>
				<rule cat="bike" e="any" k="bicycle" v="bic_no|bic_private|no|bic_forestry|forestry">
					<rule cat="paths" e="any" k="*" v="*">
						<symbol src="file:vol_res/svg/gate_nobike.svg" symbol-height="15" priority="105"/>
					</rule>
				</rule>
			</rule>
		</rule>
	</rule>
	<rule e="any" k="barrier" v="gate" zoom-min="16">
		<rule e="any" k="access" v="private|acc_no|forestry|permit" zoom-min="17">
			<rule e="any" k="*" v="*" zoom-max="17">
				<symbol src="file:vol_res/svg/gate_private.svg" symbol-height="15" priority="101"/>
			</rule>
			<rule e="any" k="*" v="*" zoom-min="18">
				<symbol src="file:vol_res/svg/gate_private.svg" symbol-height="24" priority="101" display="always"/>
			</rule>
		</rule>
		<rule e="any" k="access" v="destination|~">
			<rule e="any" k="*" v="*" zoom-max="17">
				<symbol src="file:vol_res/svg/gate.svg" symbol-height="15" priority="104"/>
			</rule>
			<rule e="any" k="*" v="*" zoom-min="18">
				<symbol src="file:vol_res/svg/gate.svg" symbol-height="24" priority="104"/>
			</rule>
			<rule cat="bike" e="any" k="bicycle" v="bic_no|bic_private|bic_forestry">
				<rule cat="paths" e="any" k="*" v="*" zoom-max="17">
			<symbol src="file:vol_res/svg/gate_nobike.svg" symbol-height="15" priority="105"/>
		</rule>
		<rule cat="paths" e="any" k="*" v="*" zoom-min="18">
			<symbol src="file:vol_res/svg/gate_nobike.svg" symbol-height="24" priority="105" display="always"/>
		</rule>
			</rule>
		</rule>
	</rule>
	<rule e="any" k="barrier" v="lift_gate|toll_booth|chain" zoom-min="15">
		<rule e="any" k="*" v="*" zoom-max="17">
			<symbol src="file:vol_res/svg/lift_gate.svg" symbol-height="15"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="18">
			<symbol src="file:vol_res/svg/lift_gate.svg" symbol-height="24"/>
		</rule>
	</rule>
	<!-- pedestrian barriers -->
	<rule cat="paths" e="any" k="barrier" v="kissing_gate" zoom-min="15">
		<rule e="any" k="barrier_cross_hw" v="bch_yes" zoom-max="15">
			<symbol src="file:vol_res/svg/kissing_gate.svg" symbol-height="15"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="16" zoom-max="17">
			<symbol src="file:vol_res/svg/kissing_gate.svg" symbol-height="15"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="18">
			<symbol src="file:vol_res/svg/kissing_gate.svg" symbol-height="24"/>
		</rule>
	</rule>
	<rule cat="paths" e="any" k="barrier" v="turnstile" zoom-min="16">
		<rule e="any" k="*" v="*" zoom-max="17">
			<symbol src="file:vol_res/svg/turnstile.svg" symbol-height="14"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="18">
			<symbol src="file:vol_res/svg/turnstile.svg" symbol-height="22"/>
		</rule>
	</rule>
	<rule cat="paths" e="any" k="barrier" v="stile" zoom-min="15">
		<rule e="any" k="barrier_cross_hw" v="bch_yes" zoom-max="15">
			<symbol src="file:vol_res/svg/stile.svg" symbol-height="13"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="16" zoom-max="17">
			<symbol src="file:vol_res/svg/stile.svg" symbol-height="13"/>
		</rule>
		<rule e="any" k="*" v="*" zoom-min="18">
			<symbol src="file:vol_res/svg/stile.svg" symbol-height="20"/>
		</rule>
	</rule>

	<!-- leisure -->
	<rule e="any" k="leisure" v="playground" zoom-min="15">
		<rule e="any" k="access" v="~|destination">
			<symbol src="file:vol_res/svg/playground.svg" symbol-height="18"/>
		</rule>
		<rule e="any" k="access" v="private|acc_no" zoom-min="16">
			<symbol src="file:vol_res/svg/playground_private.svg" symbol-height="18"/>
		</rule>
	</rule>
	<rule e="any" k="leisure" v="slipway" zoom-min="15">
		<symbol src="file:vol_res/svg/slipway.svg" symbol-height="16"/>
	</rule>

	<!-- captions for POIs -->
	<rule e="any" k="waterway|natural" v="geyser|waterfall|rapids" zoom-min="15">
		<caption k="name" dy="18" font-style="bold" font-size="10" fill="#3464a5" stroke="#C0FFFFFF" stroke-width="2"/>
	</rule>
	<rule e="any" k="amenity|waterway|natural|man_made" v="drinking_water|water_point|spring|water_well" zoom-min="16">
		<rule e="any" k="drinking_water" v="yes">
			<caption k="name" dy="18" font-style="bold" font-size="10" fill="#734A08" stroke="#C0FFFFFF" stroke-width="2"/>
		</rule>
		<rule e="any" k="drinking_water" v="no|~">
			<caption k="name" dy="18" font-style="bold" font-size="10" fill="#3464a5" stroke="#C0FFFFFF" stroke-width="2"/>
		</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="18">
		<caption k="name" dy="20" font-style="bold" font-size="10" fill="#4773b3" stroke="#C0ffffff" stroke-width="2"/>
	</rule>
	<rule e="any" k="amenity" v="hospital">
		<rule e="way" k="*" v="*" zoom-min="16">
			<caption k="name" dy="18" font-style="bold" font-size="10" fill="#CA1212" stroke="#C0ffffff" stroke-width="2"/>
		</rule>
		<rule e="node" k="*" v="*" zoom-min="15">
			<caption k="name" dy="18" font-style="bold" font-size="10" fill="#CA1212" stroke="#C0ffffff" stroke-width="2"/>
		</rule>
	</rule>
	<rule e="any" k="amenity|shop|highway" v="doctors|pharmacy|chemist|emergency_access_point" zoom-min="16">
		<caption k="name" dy="18" font-style="bold" font-size="10" fill="#CA1212" stroke="#C0FFFFFF" stroke-width="2"/>
	</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="18">
		<caption k="name" dy="18" font-style="bold" font-size="10" fill="#734A08" stroke="#C0ffffff" stroke-width="2"/>
	</rule>
	<rule e="any" k="amenity" v="shelter" zoom-min="17">
		<rule e="any" k="tourism" v="~">
			<rule e="any" k="shelter_type" v="picnic_shelter|rock_shelter|weather_shelter|~">
				<caption k="name" dy="20" font-style="bold" font-size="10" fill="#734A08" stroke="#C0ffffff" stroke-width="2"/>
			</rule>
		</rule>
	</rule>
	<rule e="any" k="amenity|tower|building" v="atm|bank|communication|observation|embassy" zoom-min="17">
		<caption k="name" dy="18" font-style="bold" font-size="10" fill="#606060" stroke="#C0ffffff" stroke-width="2"/>
	</rule>
	<rule e="any" k="power" v="station|generator|plant" zoom-min="17">
		<caption k="name" dy="18" font-style="bold" font-size="10" fill="#7F7F02" stroke="#C0ffffff" stroke-width="2"/>
	</rule>
	<rule e="any" k="religion|amenity" v="christian|jewish|muslim|hindu|buddhist|place_of_worship|townhall" zoom-min="17">
		<caption k="name" dy="18" font-style="bold" font-size="10" fill="#404040" stroke="#C0FFFFFF" stroke-width="2"/>
	</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|cliff_diving|free_flying|climbing_adventure|roller_skating|skateboard|miniature_golf" zoom-min="17">
		<caption k="name" dy="18" font-style="bold" font-size="10" fill="#208020" stroke="#C0ffffff" stroke-width="2"/>
	</rule>
	<rule cat="ski" e="any" k="piste:type" v="downhill|nordic|sled" zoom-min="17">
		<caption k="name" dy="18" font-style="bold" font-size="10" fill="#208020" stroke="#C0ffffff" stroke-width="2"/>
	</rule>
	<rule e="any" k="amenity" v="kindergarten|school|university|college" zoom-min="16">
		<caption k="name" dy="18" font-style="bold" font-size="10" fill="#6B4CDA" stroke="#C0ffffff" stroke-width="2"/>
	</rule>
	<rule e="any" k="shop|amenity" v="mall|supermarket|marketplace" zoom-min="16">
		<caption k="name" dy="18" font-style="bold" font-size="10" fill="#AC3690" stroke="#C0ffffff" stroke-width="2"/>
	</rule>
	<rule e="any" k="shop" v="*" zoom-min="18">
		<caption k="name" dy="18" font-style="bold" font-size="10" fill="#AC3690" stroke="#C0ffffff" stroke-width="2"/>
	</rule>

	<!-- other building captions -->
	<rule e="any" k="building" v="*" zoom-min="18">
		<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" dy="18" priority="-1" font-style="bold" font-size="10" fill="#303030" stroke="#C0ffffff" stroke-width="2"/>
		</rule>
	</rule>
	<rule e="any" k="highway|peak_dist|hike_node|information" v="~">
		<rule e="any" k="addr:housenumber" v="*" zoom-min="19">
			<caption k="addr:housenumber" font-style="normal" font-size="10" fill="#444444" stroke="#C0ffffff" stroke-width="3" dy="-20"/>
		</rule>
	</rule>

<!-- OSMC HIKING WAYMARKS OAM -->
	<!-- OSMC waymarks background OAM -->
<rule e="node" k="osmc" v="osmc_yes" zoom-min="12" zoom-max="14" cat="waymarks">
	<rule e="any" k="osmc_background" v="~|no|false">
		<symbol display="always" src="file:vol_res/osmc/bg_white.svg" symbol-height="6" />
	</rule>
	<rule e="any" k="osmc_background" v="wmbg_black|wmbg_black_circle|wmbg_black_frame|wmbg_black_round">
		<symbol display="always" src="file:vol_res/osmc/bg_black.svg" symbol-height="6" />
	</rule>
	<rule e="any" k="osmc_background" v="wmbg_blue|wmbg_blue_circle|wmbg_blue_frame|wmbg_blue_round">
		<symbol display="always" src="file:vol_res/osmc/bg_blue.svg" symbol-height="6" />
	</rule>
	<rule e="any" k="osmc_background" v="wmbg_brown|wmbg_brown_circle|wmbg_brown_frame|wmbg_brown_round">
		<symbol display="always" src="file:vol_res/osmc/bg_brown.svg" symbol-height="6" />
	</rule>
	<rule e="any" k="osmc_background" v="wmbg_green|wmbg_green_circle|wmbg_green_frame|wmbg_green_round">
		<symbol display="always" src="file:vol_res/osmc/bg_green.svg" symbol-height="6" />
	</rule>
	<rule e="any" k="osmc_background" v="wmbg_orange|wmbg_orange_circle|wmbg_orange_frame|wmbg_orange_round">
		<symbol display="always" src="file:vol_res/osmc/bg_orange.svg" symbol-height="6" />
	</rule>
	<rule e="any" k="osmc_background" v="wmbg_purple|wmbg_purple_circle|wmbg_purple_frame|wmbg_purple_round">
		<symbol display="always" src="file:vol_res/osmc/bg_purple.svg" symbol-height="6" />
	</rule>
	<rule e="any" k="osmc_background" v="wmbg_red|wmbg_red_circle|wmbg_red_frame|wmbg_red_round">
		<symbol display="always" src="file:vol_res/osmc/bg_red.svg" symbol-height="6" />
	</rule>
	<rule e="any" k="osmc_background" v="wmbg_white|wmbg_white_circle|wmbg_white_frame|wmbg_white_round">
		<symbol display="always" src="file:vol_res/osmc/bg_white.svg" symbol-height="6" />
	</rule>
	<rule e="any" k="osmc_background" v="wmbg_yellow|wmbg_yellow_circle|wmbg_yellow_frame|wmbg_yellow_round">
		<symbol display="always" src="file:vol_res/osmc/bg_yellow.svg" symbol-height="6" />
	</rule>
</rule>

<rule e="node" k="osmc" v="osmc_yes" zoom-min="15" zoom-max="19" cat="waymarks">
		<rule e="any" k="osmc_background" v="~|no|false">
			<symbol src="file:vol_res/osmc/bg_white.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_black">
			<symbol src="file:vol_res/osmc/bg_black.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_black_circle">
			<symbol src="file:vol_res/osmc/bg_black_circle.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_black_frame">
			<symbol src="file:vol_res/osmc/bg_black_frame.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_black_round">
			<symbol src="file:vol_res/osmc/bg_black_round.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_blue">
			<symbol src="file:vol_res/osmc/bg_blue.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_blue_circle">
			<symbol src="file:vol_res/osmc/bg_blue_circle.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_blue_frame">
			<symbol src="file:vol_res/osmc/bg_blue_frame.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_blue_round">
			<symbol src="file:vol_res/osmc/bg_blue_round.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_brown">
			<symbol src="file:vol_res/osmc/bg_brown.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_brown_circle">
			<symbol src="file:vol_res/osmc/bg_brown_circle.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_brown_frame">
			<symbol src="file:vol_res/osmc/bg_brown_frame.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_brown_round">
			<symbol src="file:vol_res/osmc/bg_brown_round.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_green">
			<symbol src="file:vol_res/osmc/bg_green.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_green_circle">
			<symbol src="file:vol_res/osmc/bg_green_circle.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_green_frame">
			<symbol src="file:vol_res/osmc/bg_green_frame.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_green_round">
			<symbol src="file:vol_res/osmc/bg_green_round.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_orange">
			<symbol src="file:vol_res/osmc/bg_orange.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_orange_circle">
			<symbol src="file:vol_res/osmc/bg_orange_circle.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_orange_frame">
			<symbol src="file:vol_res/osmc/bg_orange_frame.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_orange_round">
			<symbol src="file:vol_res/osmc/bg_orange_round.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_purple">
			<symbol src="file:vol_res/osmc/bg_purple.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_purple_circle">
			<symbol src="file:vol_res/osmc/bg_purple_circle.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_purple_frame">
			<symbol src="file:vol_res/osmc/bg_purple_frame.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_purple_round">
			<symbol src="file:vol_res/osmc/bg_purple_round.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_red">
			<symbol src="file:vol_res/osmc/bg_red.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_red_circle">
			<symbol src="file:vol_res/osmc/bg_red_circle.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_red_frame">
			<symbol src="file:vol_res/osmc/bg_red_frame.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_red_round">
			<symbol src="file:vol_res/osmc/bg_red_round.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_white">
			<symbol src="file:vol_res/osmc/bg_white.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_white_circle">
			<symbol src="file:vol_res/osmc/bg_white_circle.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_white_frame">
			<symbol src="file:vol_res/osmc/bg_white_frame.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_white_round">
			<symbol src="file:vol_res/osmc/bg_white_round.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_yellow">
			<symbol src="file:vol_res/osmc/bg_yellow.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_yellow_circle">
			<symbol src="file:vol_res/osmc/bg_yellow_circle.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_yellow_frame">
			<symbol src="file:vol_res/osmc/bg_yellow_frame.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_yellow_round">
			<symbol src="file:vol_res/osmc/bg_yellow_round.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_gray">
			<symbol src="file:vol_res/osmc/bg_gray.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_gray_circle">
			<symbol src="file:vol_res/osmc/bg_gray_circle.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_gray_frame">
			<symbol src="file:vol_res/osmc/bg_gray_frame.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_background" v="wmbg_gray_round">
			<symbol src="file:vol_res/osmc/bg_gray_round.svg" display="always" priority="102" symbol-height="14" />
		</rule>
		<!-- End of OSMC waymarks background OAM -->
			
		<!-- OSMC waymarks foreground OAM -->
		<rule e="any" k="osmc_foreground" v="wmfg_blue_arch">
			<symbol src="file:vol_res/osmc/fg_blue_arch.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_blue_backslash">
			<symbol src="file:vol_res/osmc/fg_blue_backslash.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_blue_bar">
			<symbol src="file:vol_res/osmc/fg_blue_bar.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_blue_bowl">
			<symbol src="file:vol_res/osmc/fg_blue_bowl.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_blue_circle">
			<symbol src="file:vol_res/osmc/fg_blue_circle.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_blue_corner">
			<symbol src="file:vol_res/osmc/fg_blue_corner.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_blue_cross">
			<symbol src="file:vol_res/osmc/fg_blue_cross.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_blue_diamond">
			<symbol src="file:vol_res/osmc/fg_blue_diamond.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_blue_dot">
			<symbol src="file:vol_res/osmc/fg_blue_dot.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_blue_fork">
			<symbol src="file:vol_res/osmc/fg_blue_fork.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_blue_hiker">
			<symbol src="file:vol_res/osmc/fg_blue_hiker.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_blue_l">
			<symbol src="file:vol_res/osmc/fg_blue_L.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_blue_lower">
			<symbol src="file:vol_res/osmc/fg_blue_lower.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_blue_pointer">
			<symbol src="file:vol_res/osmc/fg_blue_pointer.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_blue_rectangle">
			<symbol src="file:vol_res/osmc/fg_blue_rectangle.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_blue_right">
			<symbol src="file:vol_res/osmc/fg_blue_right.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_blue_slash">
			<symbol src="file:vol_res/osmc/fg_blue_slash.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_blue_stripe">
			<symbol src="file:vol_res/osmc/fg_blue_stripe.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_blue_triangle">
			<symbol src="file:vol_res/osmc/fg_blue_triangle.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_blue_triangle_line">
			<symbol src="file:vol_res/osmc/fg_blue_triangle_line.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_blue_triangle_turned">
			<symbol src="file:vol_res/osmc/fg_blue_triangle_turned.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_blue_turned_t">
			<symbol src="file:vol_res/osmc/fg_blue_turned_T.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_blue_x">
			<symbol src="file:vol_res/osmc/fg_blue_x.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_red_arch">
			<symbol src="file:vol_res/osmc/fg_red_arch.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_red_backslash">
			<symbol src="file:vol_res/osmc/fg_red_backslash.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_red_bar">
			<symbol src="file:vol_res/osmc/fg_red_bar.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_red_circle">
			<symbol src="file:vol_res/osmc/fg_red_circle.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_red_corner">
			<symbol src="file:vol_res/osmc/fg_red_corner.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_red_crest">
			<symbol src="file:vol_res/osmc/fg_red_crest.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_red_cross">
			<symbol src="file:vol_res/osmc/fg_red_cross.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_red_diamond">
			<symbol src="file:vol_res/osmc/fg_red_diamond.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_red_diamond_line">
			<symbol src="file:vol_res/osmc/fg_red_diamond_line.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_red_dot">
			<symbol src="file:vol_res/osmc/fg_red_dot.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_red_drop">
			<symbol src="file:vol_res/osmc/fg_red_drop.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_red_drop_line">
			<symbol src="file:vol_res/osmc/fg_red_drop_line.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_red_fork">
			<symbol src="file:vol_res/osmc/fg_red_fork.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_red_hiker">
			<symbol src="file:vol_res/osmc/fg_red_hiker.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_red_l">
			<symbol src="file:vol_res/osmc/fg_red_L.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_red_lower">
			<symbol src="file:vol_res/osmc/fg_red_lower.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_red_pointer">
			<symbol src="file:vol_res/osmc/fg_red_pointer.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_red_rectangle">
			<symbol src="file:vol_res/osmc/fg_red_rectangle.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_red_right">
			<symbol src="file:vol_res/osmc/fg_red_right.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_red_shell">
			<symbol src="file:vol_res/osmc/fg_red_shell.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_red_slash">
			<symbol src="file:vol_res/osmc/fg_red_slash.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_red_stripe">
			<symbol src="file:vol_res/osmc/fg_red_stripe.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_red_triangle">
			<symbol src="file:vol_res/osmc/fg_red_triangle.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_red_triangle_line">
			<symbol src="file:vol_res/osmc/fg_red_triangle_line.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_red_triangle_turned">
			<symbol src="file:vol_res/osmc/fg_red_triangle_turned.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_red_turned_t">
			<symbol src="file:vol_res/osmc/fg_red_turned_T.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_red_wheel">
			<symbol src="file:vol_res/osmc/fg_red_wheel.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_red_x">
			<symbol src="file:vol_res/osmc/fg_red_x.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_yellow_arch">
			<symbol src="file:vol_res/osmc/fg_yellow_arch.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_yellow_backslash">
			<symbol src="file:vol_res/osmc/fg_yellow_backslash.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_yellow_bar">
			<symbol src="file:vol_res/osmc/fg_yellow_bar.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_yellow_bowl">
			<symbol src="file:vol_res/osmc/fg_yellow_bowl.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_yellow_circle">
			<symbol src="file:vol_res/osmc/fg_yellow_circle.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_yellow_corner">
			<symbol src="file:vol_res/osmc/fg_yellow_corner.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_yellow_cross">
			<symbol src="file:vol_res/osmc/fg_yellow_cross.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_yellow_diamond">
			<symbol src="file:vol_res/osmc/fg_yellow_diamond.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_yellow_diamond_line">
			<symbol src="file:vol_res/osmc/fg_yellow_diamond_line.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_yellow_dot">
			<symbol src="file:vol_res/osmc/fg_yellow_dot.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_yellow_fork">
			<symbol src="file:vol_res/osmc/fg_yellow_fork.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_yellow_hexagon">
			<symbol src="file:vol_res/osmc/fg_yellow_hexagon.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_yellow_hiker">
			<symbol src="file:vol_res/osmc/fg_yellow_hiker.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_yellow_l">
			<symbol src="file:vol_res/osmc/fg_yellow_L.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_yellow_lower">
			<symbol src="file:vol_res/osmc/fg_yellow_lower.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_yellow_pointer">
			<symbol src="file:vol_res/osmc/fg_yellow_pointer.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_yellow_rectangle">
			<symbol src="file:vol_res/osmc/fg_yellow_rectangle.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_yellow_rectangle_line">
			<symbol src="file:vol_res/osmc/fg_yellow_rectangle_line.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_yellow_right">
			<symbol src="file:vol_res/osmc/fg_yellow_right.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_yellow_shell">
			<symbol src="file:vol_res/osmc/fg_yellow_shell.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_yellow_slash">
			<symbol src="file:vol_res/osmc/fg_yellow_slash.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_yellow_stripe">
			<symbol src="file:vol_res/osmc/fg_yellow_stripe.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_yellow_triangle">
			<symbol src="file:vol_res/osmc/fg_yellow_triangle.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_yellow_triangle_line">
			<symbol src="file:vol_res/osmc/fg_yellow_triangle_line.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_yellow_triangle_turned">
			<symbol src="file:vol_res/osmc/fg_yellow_triangle_turned.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_yellow_turned_t">
			<symbol src="file:vol_res/osmc/fg_yellow_turned_T.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_yellow_x">
			<symbol src="file:vol_res/osmc/fg_yellow_x.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_black_arch">
			<symbol src="file:vol_res/osmc/fg_black_arch.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_black_backslash">
			<symbol src="file:vol_res/osmc/fg_black_backslash.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_black_bar">
			<symbol src="file:vol_res/osmc/fg_black_bar.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_black_circle">
			<symbol src="file:vol_res/osmc/fg_black_circle.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_black_corner">
			<symbol src="file:vol_res/osmc/fg_black_corner.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_black_crest">
			<symbol src="file:vol_res/osmc/fg_black_crest.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_black_cross">
			<symbol src="file:vol_res/osmc/fg_black_cross.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_black_diamond">
			<symbol src="file:vol_res/osmc/fg_black_diamond.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_black_diamond_line">
			<symbol src="file:vol_res/osmc/fg_black_diamond_line.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_black_dot">
			<symbol src="file:vol_res/osmc/fg_black_dot.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_black_fork">
			<symbol src="file:vol_res/osmc/fg_black_fork.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_black_hiker">
			<symbol src="file:vol_res/osmc/fg_black_hiker.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_black_horse">
			<symbol src="file:vol_res/osmc/fg_black_horse.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_black_lower">
			<symbol src="file:vol_res/osmc/fg_black_lower.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_black_pointer">
			<symbol src="file:vol_res/osmc/fg_black_pointer.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_black_rectangle">
			<symbol src="file:vol_res/osmc/fg_black_rectangle.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_black_rectangle_line">
			<symbol src="file:vol_res/osmc/fg_black_rectangle_line.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_black_red_diamond">
			<symbol src="file:vol_res/osmc/fg_black_red_diamond.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_black_right">
			<symbol src="file:vol_res/osmc/fg_black_right.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_black_stripe">
			<symbol src="file:vol_res/osmc/fg_black_stripe.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_black_triangle">
			<symbol src="file:vol_res/osmc/fg_black_triangle.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_black_triangle_line">
			<symbol src="file:vol_res/osmc/fg_black_triangle_line.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_black_turned_t">
			<symbol src="file:vol_res/osmc/fg_black_turned_T.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_black_x">
			<symbol src="file:vol_res/osmc/fg_black_x.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_green_arch">
			<symbol src="file:vol_res/osmc/fg_green_arch.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_green_backslash">
			<symbol src="file:vol_res/osmc/fg_green_backslash.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_green_bar">
			<symbol src="file:vol_res/osmc/fg_green_bar.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_green_bowl">
			<symbol src="file:vol_res/osmc/fg_green_bowl.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_green_circle">
			<symbol src="file:vol_res/osmc/fg_green_circle.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_green_corner">
			<symbol src="file:vol_res/osmc/fg_green_corner.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_green_cross">
			<symbol src="file:vol_res/osmc/fg_green_cross.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_green_diamond">
			<symbol src="file:vol_res/osmc/fg_green_diamond.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_green_diamond_line">
			<symbol src="file:vol_res/osmc/fg_green_diamond_line.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_green_dot">
			<symbol src="file:vol_res/osmc/fg_green_dot.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_green_drop_line">
			<symbol src="file:vol_res/osmc/fg_green_drop_line.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_green_fork">
			<symbol src="file:vol_res/osmc/fg_green_fork.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_green_hiker">
			<symbol src="file:vol_res/osmc/fg_green_hiker.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_green_horse">
			<symbol src="file:vol_res/osmc/fg_green_horse.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_green_l">
			<symbol src="file:vol_res/osmc/fg_green_L.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_green_lower">
			<symbol src="file:vol_res/osmc/fg_green_lower.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_green_pointer">
			<symbol src="file:vol_res/osmc/fg_green_pointer.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_green_rectangle">
			<symbol src="file:vol_res/osmc/fg_green_rectangle.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_green_right">
			<symbol src="file:vol_res/osmc/fg_green_right.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_green_slash">
			<symbol src="file:vol_res/osmc/fg_green_slash.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_green_stripe">
			<symbol src="file:vol_res/osmc/fg_green_stripe.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_green_triangle">
			<symbol src="file:vol_res/osmc/fg_green_triangle.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_green_triangle_line">
			<symbol src="file:vol_res/osmc/fg_green_triangle_line.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_green_triangle_turned">
			<symbol src="file:vol_res/osmc/fg_green_triangle_turned.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_green_turned_t">
			<symbol src="file:vol_res/osmc/fg_green_turned_T.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_green_wheel">
			<symbol src="file:vol_res/osmc/fg_green_wheel.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_green_x">
			<symbol src="file:vol_res/osmc/fg_green_x.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_white_arch">
			<symbol src="file:vol_res/osmc/fg_white_arch.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_white_backslash">
			<symbol src="file:vol_res/osmc/fg_white_backslash.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_white_bar">
			<symbol src="file:vol_res/osmc/fg_white_bar.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_white_circle">
			<symbol src="file:vol_res/osmc/fg_white_circle.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_white_corner">
			<symbol src="file:vol_res/osmc/fg_white_corner.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_white_cross">
			<symbol src="file:vol_res/osmc/fg_white_cross.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_white_diamond">
			<symbol src="file:vol_res/osmc/fg_white_diamond.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_white_diamond_line">
			<symbol src="file:vol_res/osmc/fg_white_diamond_line.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_white_dot">
			<symbol src="file:vol_res/osmc/fg_white_dot.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_white_hiker">
			<symbol src="file:vol_res/osmc/fg_white_hiker.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_white_lower">
			<symbol src="file:vol_res/osmc/fg_white_lower.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_white_pointer">
			<symbol src="file:vol_res/osmc/fg_white_pointer.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_white_rectangle">
			<symbol src="file:vol_res/osmc/fg_white_rectangle.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_white_rectangle_line">
			<symbol src="file:vol_res/osmc/fg_white_rectangle_line.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_white_red_diamond">
			<symbol src="file:vol_res/osmc/fg_white_red_diamond.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_white_right">
			<symbol src="file:vol_res/osmc/fg_white_right.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_white_slash">
			<symbol src="file:vol_res/osmc/fg_white_slash.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_white_stripe">
			<symbol src="file:vol_res/osmc/fg_white_stripe.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_white_triangle">
			<symbol src="file:vol_res/osmc/fg_white_triangle.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_white_triangle_line">
			<symbol src="file:vol_res/osmc/fg_white_triangle_line.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_white_triangle_turned">
			<symbol src="file:vol_res/osmc/fg_white_triangle_turned.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_white_turned_t">
			<symbol src="file:vol_res/osmc/fg_white_turned_T.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_white_x">
			<symbol src="file:vol_res/osmc/fg_white_x.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_brown_bar">
			<symbol src="file:vol_res/osmc/fg_brown_bar.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_brown_diamond">
			<symbol src="file:vol_res/osmc/fg_brown_diamond.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_brown_dot">
			<symbol src="file:vol_res/osmc/fg_brown_dot.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_brown_hiker">
			<symbol src="file:vol_res/osmc/fg_brown_hiker.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_brown_lower">
			<symbol src="file:vol_res/osmc/fg_brown_lower.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_brown_pointer">
			<symbol src="file:vol_res/osmc/fg_brown_pointer.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_brown_rectangle">
			<symbol src="file:vol_res/osmc/fg_brown_rectangle.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_brown_stripe">
			<symbol src="file:vol_res/osmc/fg_brown_stripe.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_brown_x">
			<symbol src="file:vol_res/osmc/fg_brown_x.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_gray_bar">
			<symbol src="file:vol_res/osmc/fg_gray_bar.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_gray_pointer">
			<symbol src="file:vol_res/osmc/fg_gray_pointer.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_gray_triangle">
			<symbol src="file:vol_res/osmc/fg_gray_triangle.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_orange_bar">
			<symbol src="file:vol_res/osmc/fg_orange_bar.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_orange_circle">
			<symbol src="file:vol_res/osmc/fg_orange_circle.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_orange_cross">
			<symbol src="file:vol_res/osmc/fg_orange_cross.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_orange_diamond">
			<symbol src="file:vol_res/osmc/fg_orange_diamond.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_orange_diamond_line">
			<symbol src="file:vol_res/osmc/fg_orange_diamond_line.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_orange_dot">
			<symbol src="file:vol_res/osmc/fg_orange_dot.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_orange_hexagon">
			<symbol src="file:vol_res/osmc/fg_orange_hexagon.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_orange_hiker">
			<symbol src="file:vol_res/osmc/fg_orange_hiker.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_orange_lower">
			<symbol src="file:vol_res/osmc/fg_orange_lower.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_orange_pointer">
			<symbol src="file:vol_res/osmc/fg_orange_pointer.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_orange_rectangle">
			<symbol src="file:vol_res/osmc/fg_orange_rectangle.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_orange_right">
			<symbol src="file:vol_res/osmc/fg_orange_right.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_orange_stripe">
			<symbol src="file:vol_res/osmc/fg_orange_stripe.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_orange_triangle">
			<symbol src="file:vol_res/osmc/fg_orange_triangle.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_purple_bar">
			<symbol src="file:vol_res/osmc/fg_purple_bar.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_purple_circle">
			<symbol src="file:vol_res/osmc/fg_purple_circle.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_purple_diamond">
			<symbol src="file:vol_res/osmc/fg_purple_diamond.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_purple_dot">
			<symbol src="file:vol_res/osmc/fg_purple_dot.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_purple_lower">
			<symbol src="file:vol_res/osmc/fg_purple_lower.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_purple_pointer">
			<symbol src="file:vol_res/osmc/fg_purple_pointer.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_purple_rectangle">
			<symbol src="file:vol_res/osmc/fg_purple_rectangle.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_purple_stripe">
			<symbol src="file:vol_res/osmc/fg_purple_stripe.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_purple_triangle">
			<symbol src="file:vol_res/osmc/fg_purple_triangle.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_ammonit">
			<symbol src="file:vol_res/osmc/fg_ammonit.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_bridleway">
			<symbol src="file:vol_res/osmc/fg_bridleway.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_heart">
			<symbol src="file:vol_res/osmc/fg_heart.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_hiker">
			<symbol src="file:vol_res/osmc/fg_hiker.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_mine">
			<symbol src="file:vol_res/osmc/fg_mine.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_shell">
			<symbol src="file:vol_res/osmc/fg_shell.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_shell_modern">
			<symbol src="file:vol_res/osmc/fg_shell_modern.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_tower">
			<symbol src="file:vol_res/osmc/fg_tower.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<rule e="any" k="osmc_foreground" v="wmfg_wolfshook">
			<symbol src="file:vol_res/osmc/fg_wolfshook.svg" display="always" priority="103" symbol-height="14" />
		</rule>
		<!-- End of OSMC waymarks foreground OAM -->

		<!-- OSMC Hiking waymarks text OAM -->
		<rule e="any" k="osmc_textcolor" v="~|wmtc_black">
				<rule e="any" k="osmc_text_len" v="wmtl_1|wmtl_2">
					<caption k="name" priority="104" display="always" font-size="8" position="center" font-style="bold" fill="#000000" stroke="#E5FFFFFF" stroke-width="1.0" />
				</rule>
				<rule e="any" k="osmc_text_len" v="wmtl_3|wmtl_4|wmtl_5">
					<caption k="name" priority="104" display="always" font-size="7" position="center" font-style="bold" fill="#000000" stroke="#E5FFFFFF" stroke-width="1.0" />
				</rule>
		</rule>
		<rule e="any" k="osmc_textcolor" v="wmtc_red">
				<rule e="any" k="osmc_text_len" v="wmtl_1|wmtl_2">
					<caption k="name" priority="104" display="always" font-size="8" position="center" font-style="bold" fill="#FF3333" stroke="#E5FFFFFF" stroke-width="1.0" />
				</rule>
				<rule e="any" k="osmc_text_len" v="wmtl_3|wmtl_4|wmtl_5">
					<caption k="name" priority="104" display="always" font-size="7" position="center" font-style="bold" fill="#FF3333" stroke="#E5FFFFFF" stroke-width="1.0" />
				</rule>
		</rule>
		<rule e="any" k="osmc_textcolor" v="wmtc_green">
				<rule e="any" k="osmc_text_len" v="wmtl_1|wmtl_2">
					<caption k="name" priority="104" display="always" font-size="8" position="center" font-style="bold" fill="#267F00" stroke="#E5FFFFFF" stroke-width="1.0" />
				</rule>
				<rule e="any" k="osmc_text_len" v="wmtl_3|wmtl_4|wmtl_5">
					<caption k="name" priority="104" display="always" font-size="7" position="center" font-style="bold" fill="#267F00" stroke="#E5FFFFFF" stroke-width="1.0" />
				</rule>
			</rule>
			<rule e="any" k="osmc_textcolor" v="wmtc_blue">
				<rule e="any" k="osmc_text_len" v="wmtl_1|wmtl_2">
					<caption k="name" priority="104" display="always" font-size="8" position="center" font-style="bold" fill="#0242C1" stroke="#E5FFFFFF" stroke-width="1.0" />
				</rule>
				<rule e="any" k="osmc_text_len" v="wmtl_3|wmtl_4|wmtl_5">
					<caption k="name" priority="104" display="always" font-size="7" position="center" font-style="bold" fill="#0242C1" stroke="#E5FFFFFF" stroke-width="1.0" />
				</rule>
			</rule>
			<rule e="any" k="osmc_textcolor" v="wmtc_brown">
				<rule e="any" k="osmc_text_len" v="wmtl_1|wmtl_2">
					<caption k="name" priority="104" display="always" font-size="8" position="center" font-style="bold" fill="#BC6823" stroke="#E5FFFFFF" stroke-width="1.0" />
				</rule>
				<rule e="any" k="osmc_text_len" v="wmtl_3|wmtl_4|wmtl_5">
					<caption k="name" priority="104" display="always" font-size="7" position="center" font-style="bold" fill="#BC6823" stroke="#E5FFFFFF" stroke-width="1.0" />
				</rule>
			</rule>
			<rule e="any" k="osmc_textcolor" v="wmtc_orange">
				<rule e="any" k="osmc_text_len" v="wmtl_1|wmtl_2">
					<caption k="name" priority="104" display="always" font-size="8" position="center" font-style="bold" fill="#EB8D00" stroke="#E5FFFFFF" stroke-width="1.0" />
				</rule>
				<rule e="any" k="osmc_text_len" v="wmtl_3|wmtl_4|wmtl_5">
					<caption k="name" priority="104" display="always" font-size="7" position="center" font-style="bold" fill="#EB8D00" stroke="#E5FFFFFF" stroke-width="1.0" />
				</rule>
			</rule>
			<rule e="any" k="osmc_textcolor" v="wmtc_purple">
				<rule e="any" k="osmc_text_len" v="wmtl_1|wmtl_2">
					<caption k="name" priority="104" display="always" font-size="8" position="center" font-style="bold" fill="#C17FFF" stroke="#E5FFFFFF" stroke-width="1.0" />
				</rule>
				<rule e="any" k="osmc_text_len" v="wmtl_3|wmtl_4|wmtl_5">
					<caption k="name" priority="104" display="always" font-size="7" position="center" font-style="bold" fill="#C17FFF" stroke="#E5FFFFFF" stroke-width="1.0" />
				</rule>
			</rule>
			<rule e="any" k="osmc_textcolor" v="wmtc_white">
				<rule e="any" k="osmc_text_len" v="wmtl_1|wmtl_2">
					<caption k="name" priority="104" display="always" font-size="8" position="center" font-style="bold" fill="#FFFFFF" stroke="#E5000000" stroke-width="1.0" />
				</rule>
				<rule e="any" k="osmc_text_len" v="wmtl_3|wmtl_4|wmtl_5">
					<caption k="name" priority="104" display="always" font-size="7" position="center" font-style="bold" fill="#FFFFFF" stroke="#E5000000" stroke-width="1.0" />
				</rule>
			</rule>
			<rule e="any" k="osmc_textcolor" v="wmtc_yellow">
				<rule e="any" k="osmc_text_len" v="wmtl_1|wmtl_2">
					<caption k="name" priority="104" display="always" font-size="8" position="center" font-style="bold" fill="#F2DB0A" stroke="#E5000000" stroke-width="1.0" />
				</rule>
				<rule e="any" k="osmc_text_len" v="wmtl_3|wmtl_4|wmtl_5">
					<caption k="name" priority="104" display="always" font-size="7" position="center" font-style="bold" fill="#F2DB0A" stroke="#E5000000" stroke-width="1.0" />
				</rule>
			</rule>
			<rule e="any" k="osmc_textcolor" v="wmtc_gray">
				<rule e="any" k="osmc_text_len" v="wmtl_1|wmtl_2">
					<caption k="name" priority="104" display="always" font-size="8" position="center" font-style="bold" fill="#CCCCCC" stroke="#E5000000" stroke-width="1.0" />
				</rule>
				<rule e="any" k="osmc_text_len" v="wmtl_3|wmtl_4|wmtl_5">
					<caption k="name" priority="104" display="always" font-size="7" position="center" font-style="bold" fill="#CCCCCC" stroke="#E5000000" stroke-width="1.0" />
				</rule>
			</rule>
		</rule>
	<!-- End of OSMC Hiking waymarks text OAM -->

		<!-- OSMC Hiking routes colour squares for OAM -->
		<rule e="way" k="route" v="~" zoom-min="15" cat="waymarks">
			<rule e="way" k="osmc_color" v="*">
				<rule e="way" k="osmc_color" v="wmco_yellow">
					<line stroke="#A0000000" stroke-width="0.8" dy="1.8" scale="all" stroke-dasharray="0,0,0.8,2.9" stroke-linecap="butt"/>
					<line stroke="#EED800" stroke-width="0.6" dy="1.8" scale="all" stroke-dasharray="0,0.1,0.6,3" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="osmc_color" v="wmco_green">
					<line stroke="#A0000000" stroke-width="0.8" dy="1.8" scale="all" stroke-dasharray="0,0.7,0.8,2.2" stroke-linecap="butt"/>
					<line stroke="#18bb00" stroke-width="0.6" dy="1.8" scale="all" stroke-dasharray="0,0.8,0.6,2.3" stroke-linecap="butt"/> 
				</rule>
				<rule e="way" k="osmc_color" v="wmco_red">
					<line stroke="#A0000000" stroke-width="0.8" dy="1.8" scale="all" stroke-dasharray="0,1.4,0.8,1.5" stroke-linecap="butt"/>
					<line stroke="#EE4444" stroke-width="0.6" dy="1.8" scale="all" stroke-dasharray="0,1.5,0.6,1.6" stroke-linecap="butt"/> 
				</rule>
				<rule e="way" k="osmc_color" v="wmco_black">
					<line stroke="#A0000000" stroke-width="0.8" dy="1.8" scale="all" stroke-dasharray="0,2.1,0.8,0.8" stroke-linecap="butt"/>
					<line stroke="#000000" stroke-width="0.6" dy="1.8" scale="all" stroke-dasharray="0,2.2,0.6,0.9" stroke-linecap="butt"/> 
				</rule>
				<rule e="way" k="osmc_color" v="wmco_white">
					<line stroke="#A0000000" stroke-width="0.8" dy="1.8" scale="all" stroke-dasharray="0,2.8,0.8,0.1" stroke-linecap="butt"/> 
					<line stroke="#FFFFFF" stroke-width="0.6" dy="1.8" scale="all" stroke-dasharray="0,2.9,0.6,0.2" stroke-linecap="butt"/> 
				</rule>
				<rule e="way" k="osmc_color" v="wmco_purple"> 
				<line stroke="#A0000000" stroke-width="0.8" dy="-1.8" scale="all" stroke-dasharray="0,0,0.8,2.9" stroke-linecap="butt"/>
					<line stroke="#BB55CC" stroke-width="0.6" dy="-1.8" scale="all" stroke-dasharray="0,0.1,0.6,3" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="osmc_color" v="wmco_blue">
					<line stroke="#A0000000" stroke-width="0.8" dy="-1.8" scale="all" stroke-dasharray="0,0.7,0.8,2.2" stroke-linecap="butt"/>
					<line stroke="#4444EE" stroke-width="0.6" dy="-1.8" scale="all" stroke-dasharray="0,0.8,0.6,2.3" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="osmc_color" v="wmco_orange">
					<line stroke="#A0000000" stroke-width="0.8" dy="-1.8" scale="all" stroke-dasharray="0,1.4,0.8,1.5" stroke-linecap="butt"/>
					<line stroke="#EB8D00" stroke-width="0.6" dy="-1.8" scale="all" stroke-dasharray="0,1.5,0.6,1.6" stroke-linecap="butt"/> 
				</rule>
				<rule e="way" k="osmc_color" v="wmco_brown">
				<line stroke="#A0000000" stroke-width="0.8" dy="-1.8" scale="all" stroke-dasharray="0,2.1,0.8,0.8" stroke-linecap="butt"/>
					<line stroke="#BC6823" stroke-width="0.6" dy="-1.8" scale="all" stroke-dasharray="0,2.2,0.6,0.9" stroke-linecap="butt"/>
				</rule>
				<rule e="way" k="osmc_color" v="wmco_gray">
					<line stroke="#A0000000" stroke-width="0.8" dy="-1.8" scale="all" stroke-dasharray="0,2.8,0.8,0.1" stroke-linecap="butt"/>
					<line stroke="#AAAAAA" stroke-width="0.6" dy="-1.8" scale="all" stroke-dasharray="0,2.9,0.6,0.2" stroke-linecap="butt"/>
				</rule>
			</rule>
		</rule>
	<!-- End of OSMC colour squares for OAM -->
	<!-- END OF OSMC WAYMARKS -->

	<!-- power lines -->
	<rule cat="nocity" e="way" k="power" v="*">
		<rule e="way" k="power" v="line" zoom-min="13" zoom-max="14">
			<line stroke="#7F7F02" stroke-width="1.05" scale="all" stroke-dasharray="0.02,8" stroke-linecap="square"/>
			<line stroke="#807F7F02" stroke-width="0.25" scale="all" stroke-dasharray="0.02,1,6,1" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="power" v="line" zoom-min="15">
			<line stroke="#7F7F02" stroke-width="0.75" scale="all" stroke-dasharray="0.02,8" stroke-linecap="square"/>
			<line stroke="#807F7F02" stroke-width="0.25" scale="all" stroke-dasharray="0.02,1,6,1" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="power" v="minor_line" zoom-min="14" zoom-max="14">
			<line stroke="#7F7F02" stroke-width="0.8" scale="all" stroke-dasharray="0.02,6"/>
			<line stroke="#807F7F02" stroke-width="0.2" scale="all" stroke-dasharray="0.02,0.8,0.6,0.6,2,0.6,0.6,0.8" stroke-linecap="butt"/>
		</rule>
		<rule e="way" k="power" v="minor_line" zoom-min="15">
			<line stroke="#7F7F02" stroke-width="0.55" scale="all" stroke-dasharray="0.02,6"/>
			<line stroke="#807F7F02" stroke-width="0.2" scale="all" stroke-dasharray="0.02,0.8,0.6,0.6,2,0.6,0.6,0.8" stroke-linecap="butt"/>
		</rule>
	</rule>	
</rendertheme>



