<?xml version="1.0" encoding="UTF-8"?>
<rendertheme xmlns="http://mapsforge.org/renderTheme" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mapsforge.org/renderTheme ../renderTheme.xsd" version="2" map-background="#f8f8f8">

	<!-- render land above water -->
	<rule e="way" k="*" v="*">
		<rule e="way" k="natural" v="sea">
			<area fill="#b5d6f1" />
		</rule>
		<rule e="way" k="natural" v="nosea">
			<area fill="#f8f8f8" stroke="#f8f8f8" stroke-width="1.0" />
		</rule>
	</rule>

	<!-- ways -->
	<rule e="way" k="*" v="*">
		<!-- landuse -->
		<rule e="way" k="landuse" v="*">
			<rule e="way" k="landuse" v="military">
				<area src="jar:/osmarender/patterns/military.png" stroke="#e4e4e4" stroke-width="0.2" />
			</rule>
			<rule e="way" k="landuse" v="residential|farmyard">
				<area fill="#e4e4e4" />
			</rule>
			<rule e="way" k="landuse" v="retail">
				<area fill="#ffebeb" stroke="#e4e4e4" stroke-width="0.2" />
			</rule>
			<rule e="way" k="landuse" v="industrial|brownfield|railway">
				<area fill="#ecd8ff" stroke="#e4e4e4" stroke-width="0.2" />
			</rule>
			<rule e="way" k="landuse" v="commercial">
				<area fill="#ffffc0" stroke="#e4e4e4" stroke-width="0.2" />
			</rule>
			<rule e="way" k="landuse" v="construction|greenfield">
				<area fill="#a47c41" stroke="#e4e4e4" stroke-width="0.2" />
			</rule>
			<rule e="way" k="landuse" v="garages">
				<area fill="#d6d6e4" />
			</rule>

			<!--rule e="way" k="*" v="*" zoom-min="17">
                 <caption k="name" font-style="bold" font-size="10" fill="#4040ff" stroke="#ffffff" stroke-width="2.0" />
            </rule-->
		</rule>


		<!-- tunnel -->
		<rule e="way" k="tunnel" v="true|yes">
			<!-- highway tunnels -->
			<rule e="way" k="highway" v="*">
				<!-- highway tunnel casings -->
				<rule e="way" k="highway" v="steps|footway|path">
					<line stroke="#707070" stroke-width="0.6" stroke-dasharray="5,5" stroke-linecap="butt" />
				</rule>
				<rule e="way" k="highway" v="track|cycleway|bridleway|service">
					<line stroke="#707070" stroke-width="1.0" stroke-dasharray="5,5" stroke-linecap="butt" />
				</rule>
				<rule e="way" k="highway" v="construction">
					<line stroke="#707070" stroke-width="1.1" stroke-dasharray="5,5" stroke-linecap="butt" />
				</rule>
				<rule e="way" k="highway" v="road">
					<line stroke="#707070" stroke-width="1.3" stroke-dasharray="5,5" stroke-linecap="butt" />
				</rule>
				<rule e="way" k="highway" v="pedestrian|unclassified|residential|living_street|byway">
					<line stroke="#707070" stroke-width="1.5" stroke-dasharray="5,5" stroke-linecap="butt" />
				</rule>
				<rule e="way" k="highway" v="tertiary|tertiary_link|secondary_link|primary_link|trunk_link|motorway_link|secondary|primary|trunk">
					<line stroke="#707070" stroke-width="1.8" stroke-dasharray="5,5" stroke-linecap="butt" />
				</rule>
				<rule e="way" k="highway" v="motorway">
					<line stroke="#707070" stroke-width="2.0" stroke-dasharray="5,5" stroke-linecap="butt" />
				</rule>

				<!-- highway tunnel cores -->
				<rule e="way" k="highway" v="steps|footway|path">
					<line stroke="#ffffff" stroke-width="0.45" stroke-dasharray="5,5" stroke-linecap="butt" />
				</rule>
				<rule e="way" k="highway" v="track">
					<line stroke="#ffffff" stroke-width="0.7" stroke-dasharray="5,5" stroke-linecap="butt" />
				</rule>
				<rule e="way" k="highway" v="cycleway|bridleway|service">
					<line stroke="#ffffff" stroke-width="0.85" stroke-dasharray="5,5" stroke-linecap="butt" />
				</rule>
				<rule e="way" k="highway" v="construction">
					<line stroke="#ffffff" stroke-width="1.0" stroke-dasharray="5,5" stroke-linecap="butt" />
				</rule>
				<rule e="way" k="highway" v="road">
					<line stroke="#ffffff" stroke-width="1.25" stroke-dasharray="5,5" stroke-linecap="butt" />
				</rule>
				<rule e="way" k="highway" v="pedestrian|unclassified|residential|living_street|byway">
					<line stroke="#ffffff" stroke-width="1.35" stroke-dasharray="5,5" stroke-linecap="butt" />
				</rule>
				<rule e="way" k="highway" v="tertiary|tertiary_link|secondary_link|primary_link|trunk_link|motorway_link|secondary|primary|trunk">
					<line stroke="#ffffff" stroke-width="1.5" stroke-dasharray="5,5" stroke-linecap="butt" />
				</rule>
				<rule e="way" k="highway" v="motorway">
					<line stroke="#ffffff" stroke-width="1.7" stroke-dasharray="5,5" stroke-linecap="butt" />
				</rule>
			</rule>

			<!-- railway tunnel -->
			<rule e="way" k="railway" v="*">
				<rule e="way" k="railway" v="tram|subway|light_rail|narrow_gauge|preserved|funicular">
					<line stroke="#880f0f4c" stroke-width="0.25" stroke-dasharray="4,4" stroke-linecap="butt" />
				</rule>
				<rule e="way" k="railway" v="rail">
					<line stroke="#aa333333" stroke-width="0.4" stroke-dasharray="4,4" stroke-linecap="butt" />
				</rule>
			</rule>
		</rule>


		<!-- landuse -->
		<rule e="way" k="landuse" v="*">
			<rule e="way" k="landuse" v="landfill|quarry">
				<area fill="#e9dd72" stroke="#556b2f" stroke-width="0.2" />
			</rule>
			<rule e="way" k="landuse" v="cemetery">
				<area src="jar:/osmarender/patterns/cemetery.png" stroke="#e4e4e4" stroke-width="0.2" />
			</rule>
			<rule e="way" k="landuse" v="field|farm|farmland|meadow|grass">
				<area fill="#e3ffed" stroke="#D1FFEF" stroke-width="0.1" />
			</rule>
			<rule e="way" k="landuse" v="allotments|village_green|recreation_ground">
				<area fill="#bde3cb" stroke="#6fc13d" stroke-width="0.2" />
			</rule>
			<!--rule e="way" k="*" v="*" zoom-min="18">
                                <caption k="name" font-style="bold" font-size="10" fill="#4040ff" stroke="#ffffff" stroke-width="2.0" />
                        </rule-->
		</rule>


		<rule e="way" k="natural|landuse" v="forest|wood|scrub">
			<area fill="#CAE2C5" stroke="#CAE2C5" stroke-width="0.2" />
		</rule>


		<!-- amenity -->
		<rule e="way" k="amenity" v="*">
			<rule e="way" k="amenity" v="kindergarten|school|college|university">
				<area fill="#cdabde" stroke="#e9dd72" stroke-width="0.2" />
			</rule>
			<rule e="way" k="amenity" v="grave_yard">
				<area src="jar:/osmarender/patterns/cemetery.png" stroke="#e4e4e4" stroke-width="0.2" />
			</rule>
			<rule e="way" k="amenity" v="parking">
				<area fill="#ffffc0" stroke="#e9dd72" stroke-width="0.2" />
				<rule e="way" k="access" v="private">
					<area src="jar:/osmarender/patterns/access-private.png" />
				</rule>
				<rule e="way" k="*" v="*" zoom-min="15">
					<symbol src="jar:/osmarender/symbols/parking.png" />
				</rule>
			</rule>
			<rule e="way" k="amenity" v="fountain" closed="yes">
				<area fill="#b5d6f1" stroke="#000080" stroke-width="0.15" />
				<rule e="way" k="*" v="*" zoom-min="17">
					<symbol src="jar:/osmarender/symbols/fountain.png" />
				</rule>
			</rule>
			<rule e="way" k="amenity" v="hospital">
				<symbol src="jar:/osmarender/symbols/hospital.png" />
			</rule>
			<rule e="way" k="amenity" v="theatre">
				<symbol src="jar:/osmarender/symbols/theatre.png" />
			</rule>
			<rule e="way" k="amenity" v="toilets">
				<symbol src="jar:/osmarender/symbols/toilets.png" />
			</rule>

			<!--rule e="way" k="*" v="*" zoom-min="17">
                                <caption k="name" font-style="bold" font-size="10" fill="#4040ff" stroke="#ffffff" stroke-width="2.0" />
                        </rule-->
		</rule>


		<!-- natural -->
		<rule e="way" k="natural" v="*">
			<rule e="way" k="natural" v="glacier">
				<area fill="#fafaff" stroke="#add8e6" stroke-width="0.8" />
				<!--area src="jar:/osmarender/patterns/glacier.png" /-->
			</rule>
			<rule e="way" k="natural" v="land">
				<area fill="#f8f8f8" stroke="#e0e0e0" stroke-width="0.1" />
			</rule>
			<rule e="way" k="natural" v="beach">
				<area fill="#eecc55" />
			</rule>
			<rule e="way" k="natural" v="heath">
				<area fill="#ffffc0" stroke="#ffff90" stroke-width="0.2" />
			</rule>
			<rule e="way" k="natural" v="marsh|wetland">
				<area src="jar:/osmarender/patterns/marsh.png" />
			</rule>
		</rule>

		<!-- leisure -->
		<rule e="way" k="leisure" v="*">
			<rule e="way" k="leisure" v="park|garden|golf_course|common|green">
				<area fill="#c7f1a3" stroke="#6fc18e" stroke-width="0.2" />
			</rule>
			<rule e="way" k="leisure" v="playground|playing_fields|pitch|dog_park">
				<area fill="#c7f1a3" stroke="#6fc18e" stroke-width="0.2" />
				<rule e="way" k="*" v="playground" zoom-min="17">
					<symbol src="jar:/osmarender/symbols/playground.png" />
				</rule>
			</rule>
			<rule e="way" k="leisure" v="nature_reserve">
				<area src="jar:/osmarender/patterns/nature-reserve.png" stroke="#6fc18e" stroke-width="0.2" />
			</rule>

			<rule e="way" k="leisure" v="stadium|sports_centre|water_park">
				<area fill="#bde3cb" stroke="#6fc18e" stroke-width="0.2" />
			</rule>
			<rule e="way" k="leisure" v="track">
				<rule e="way" k="area" v="yes|true">
					<area fill="#bde3cb" stroke="#6fc18e" stroke-width="0.025" />
				</rule>
				<rule e="way" k="area" v="~|no|false">
					<line stroke="#6fc18e" stroke-width="0.75" />
					<line stroke="#bde3cb" stroke-width="0.7" />
				</rule>
			</rule>
			<rule e="way" k="leisure" v="swimming_pool">
				<area fill="#b5d6f1" stroke="#6060ff" stroke-width="0.2" />
			</rule>

			<!--rule e="way" k="*" v="*" zoom-min="16">
                                <caption k="name" font-style="bold" font-size="10" fill="#4040ff" stroke="#ffffff" stroke-width="2.0" />
                        </rule-->
		</rule>

		<rule e="way" k="power" v="station">
			<area fill="#e5e5e5" stroke="#a7c8a7" stroke-width="0.2" />	
		</rule>


		<!-- contour lines optimized for low-res displays interval = 25,(100/500)(Sony Xperia active)-->
		<!-- Contour lines below level 12 do not make sense because of the optimization prozess of the map-creator -->
		<!-- Pathtext starts at level 15, level 14 couses problems, probably of too short segments to display text -->
		<!-- contour lines level 10 - 11 -->
		<!-- contour lines level 12 -->				
		<rule e="way" k="contour_ext" v="*">
			<rule e="way" k="contour_ext" v="*" zoom-min="12" zoom-max="12">	
				<rule e="way" k="contour_ext" v="elevation_minor">   
					<line stroke="#A07F5F" stroke-width="0.3"/> <!--CFAC86-->
				</rule>
				<rule e="way" k="contour_ext" v="elevation_medium|elevation_major">   
					<line stroke="#A07F5F" stroke-width="0.6"/>
				</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="#A07F5F" stroke-width="0.2"/>
				</rule>
				<rule e="way" k="contour_ext" v="elevation_medium|elevation_major">   
					<line stroke="#A07F5F" stroke-width="0.5"/>
				</rule>
			</rule>
			<!-- contour lines level 14-->
			<rule e="way" k="contour_ext" v="*" zoom-min="14" zoom-max="14">
				<rule e="way" k="contour_ext" v="elevation_minor">   
					<line stroke="#A07F5F" stroke-width="0.15"/>
				</rule>
				<rule e="way" k="contour_ext" v="elevation_medium|elevation_major">   
					<line stroke="#A07F5F" stroke-width="0.4"/>
					<rule e="way" k="*" v="*">
						<pathText k="ele" font-style="bold" font-size="8" fill="#7C583A" stroke="#ffffff" stroke-width="1.0" />
					</rule>				  
				</rule>   
			</rule>
			<!-- contour lines level 15-->
			<rule e="way" k="contour_ext" v="*" zoom-min="15" zoom-max="15">
				<rule e="way" k="contour_ext" v="elevation_minor" zoom-max="15">   
					<line stroke="#A07F5F" stroke-width="0.12"/>
				</rule>
				<rule e="way" k="contour_ext" v="elevation_medium|elevation_major">   
					<line stroke="#A07F5F" stroke-width="0.3"/>
					<rule e="way" k="*" v="*">
						<pathText k="ele" font-style="bold" font-size="10" fill="#7C583A" stroke="#ffffff" stroke-width="1.0" />
					</rule>
				</rule>
			</rule>
			<!-- contour lines level 16 -->
			<rule e="way" k="contour_ext" v="*" zoom-min="16" zoom-max="16">
				<rule e="way" k="contour_ext" v="elevation_minor">   
					<line stroke="#A07F5F" stroke-width="0.08"/>
				</rule>
				<rule e="way" k="contour_ext" v="elevation_medium|elevation_major">   
					<line stroke="#A07F5F" stroke-width="0.2"/>
					<rule e="way" k="*" v="*">
						<pathText k="ele" font-style="bold" font-size="12" fill="#7C583A" stroke="#ffffff" stroke-width="1.5" />
					</rule>
				</rule>
			</rule>   
			<!-- contour lines level 17 and above -->
			<rule e="way" k="contour_ext" v="*" zoom-min="17">
				<rule e="way" k="contour_ext" v="elevation_minor">   
					<line stroke="#A07F5F" stroke-width="0.06"/>
				</rule>
				<rule e="way" k="contour_ext" v="elevation_medium|elevation_major">   
					<line stroke="#A07F5F" stroke-width="0.15"/>
					<rule e="way" k="*" v="*">
						<pathText k="ele" font-style="bold" font-size="15" fill="#7C583A" stroke="#ffffff" stroke-width="1.5" />
					</rule>
				</rule>
			</rule>		
		</rule>

		<rule e="way" k="landuse" v="*">
			<rule e="way" k="landuse" v="reservoir|basin">
				<area fill="#b5d6f1" />
			</rule>							
		</rule>

		<!-- waterways -->
		<rule e="way" k="waterway" v="*">
			<!-- waterway casings -->
			<rule e="way" k="waterway" v="drain">
				<line stroke="#b0b0b0" stroke-width="1.0" />
			</rule>
			<rule e="way" k="waterway" v="canal">
				<line stroke="#b0b0b0" stroke-width="1.0" />
			</rule>

			<!-- waterway cores -->
			<rule e="way" k="waterway" v="ditch">
				<line stroke="#b5d6f1" stroke-width="0.1" />
			</rule>
			<rule e="way" k="waterway" v="drain">
				<line stroke="#b5d6f1" stroke-width="0.8" />
			</rule>
			<rule e="way" k="waterway" v="canal">
				<line stroke="#b5d6f1" stroke-width="0.8" />
			</rule>
			<rule e="way" k="waterway" v="stream">
				<line stroke="#b5d6f1" stroke-width="0.275" />
			</rule>
			<rule e="way" k="waterway" v="river">
				<line stroke="#b5d6f1" stroke-width="1.0" />
			</rule>
			<rule e="way" k="waterway" v="dock">
				<area fill="#b5d6f1" />
			</rule>
			<rule e="way" k="waterway" v="riverbank">
				<area fill="#b5d6f1" />
			</rule>
			<rule e="way" k="waterway" v="weir">
				<line stroke="#000044" stroke-width="0.375" />
			</rule>
			<rule e="way" k="waterway" v="dam">
				<line stroke="#000000" stroke-width="0.5" />
			</rule>
			<rule e="way" k="lock" v="yes|true">
				<line stroke="#000000" stroke-width="2.0" stroke-linecap="butt" />
				<line stroke="#f8f8f8" stroke-width="1.5" stroke-linecap="butt" />
			</rule>
		</rule>


		<!-- military -->
		<rule e="way" k="military" v="*">
			<area src="jar:/osmarender/patterns/military.png" stroke="#e4e4e4" stroke-width="0.2" />
		</rule>


		<!-- sport -->
		<rule e="way" k="sport" v="*">
			<rule e="way" k="sport" v="soccer" zoom-min="16">
				<symbol src="jar:/osmarender/symbols/soccer-borderless.png" />
			</rule>
			<rule e="way" k="sport" v="swimming|canoe|diving|scuba_diving">
				<area fill="#c7f1a3" stroke="#6060ff" stroke-width="0.2" />
			</rule>
			<rule e="way" k="sport" v="tennis">
				<area fill="#d18a6a" stroke="#b36c4c" stroke-width="0.2" />
				<rule e="way" k="*" v="*" zoom-min="16">
					<symbol src="jar:/osmarender/symbols/tennis.png" />
				</rule>
			</rule>
		</rule>


		<!-- tourism areas -->
		<rule e="way" k="tourism" v="*">
			<rule e="way" k="tourism" v="attraction">
				<area fill="#f2caea" />
				<rule e="way" k="*" v="*" zoom-min="16">						
					<caption k="name" font-style="bold" font-size="10" fill="#4040ff" stroke="#ffffff" stroke-width="2.0" />
				</rule>
			</rule>
			<rule e="way" k="tourism" v="zoo|picnic_site|caravan_site|camp_site">
				<area fill="#c7f1a3" stroke="#6fc18e" stroke-width="0.2" />
			</rule>
			<rule e="way" k="tourism" v="alpine_hut">
				<symbol src="jar:/osmarender/symbols/shelter.png" /> 
				<!--caption k="name" dy="30" font-style="bold" font-size="15" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
				<caption k="ele" dy="45" font-style="bold" font-size="15" fill="#000000" stroke="#ffffff" stroke-width="2.0" /-->
			</rule>
		</rule>


		<rule e="way" k="natural" v="water">
			<area fill="#b5d6f1" />
		</rule>


		<!-- highway area -->
		<rule e="way" k="area" v="yes|true">
			<rule e="way" k="highway" v="*">
				<rule e="way" k="highway" v="footway|footpath">
					<area fill="#e5e0c2" stroke="#707070" stroke-width="0.15" />
				</rule>
				<rule e="way" k="highway" v="pedestrian">
					<area fill="#e5e0c2" stroke="#707070" stroke-width="0.15" />
				</rule>
				<rule e="way" k="highway" v="path">
					<area fill="#8F6A00" stroke="#8F6A00" stroke-width="0.45" />
				</rule>
				<rule e="way" k="highway" v="service">
					<area fill="#ffffff" stroke="#707070" stroke-width="0.15" />
				</rule>
				<rule e="way" k="highway" v="unclassified">
					<area fill="#ffffff" stroke="#707070" stroke-width="0.3" />
				</rule>
				<rule e="way" k="highway" v="residential">
					<area fill="#ffffff" stroke="#707070" stroke-width="0.15" />
				</rule>
				<rule e="way" k="highway" v="road">
					<area fill="#d0d0d0" />
				</rule>
				<rule e="way" k="highway" v="living_street">
					<area fill="#ffffff" stroke="#ffffff" stroke-width="0.15" />
				</rule>
			</rule>
		</rule>

		<!-- fancy pinky transparent administrative borders -->
		<rule e="way" k="admin_level" v="*">
			<rule e="way" k="admin_level" v="2">
				<line stroke="#70EDC2EC" stroke-width="8" stroke-linecap="butt" />
			</rule>
			<rule e="way" k="admin_level" v="4|5|6">
				<line stroke="#70EDC2EC" stroke-width="4" stroke-linecap="butt" />
			</rule>
		</rule>		


		<!-- platform cores -->
		<rule e="way" k="highway|railway|public_transport" v="platform">
			<rule e="way" k="*" v="*" closed="yes">
				<area fill="#9b9b79" />
			</rule>
			<rule e="way" k="*" v="*" closed="no">
				<line stroke="#9b9b79" stroke-width="0.3" />
			</rule>
		</rule>


		<!-- runways casings and areas -->
		<rule e="way" k="aeroway" v="*">
			<rule e="way" k="aeroway" v="aerodrome" closed="yes">
				<area fill="#d8dcce" stroke="#000000" stroke-width="0.5" />
			</rule>
			<rule e="way" k="aeroway" v="apron">
				<area fill="#f0f0f0" />
			</rule>
			<rule e="way" k="aeroway" v="terminal">
				<area fill="#f3d6b6" stroke="#6a5a8e" stroke-width="0.2" />
			</rule>
			<rule e="way" k="aeroway" v="runway">
				<line stroke="#000000" stroke-width="6.3" stroke-linecap="square" />
			</rule>
			<rule e="way" k="aeroway" v="taxiway">
				<line stroke="#000000" stroke-width="2.7" stroke-linecap="butt" />
			</rule>

			<rule e="way" k="*" v="*" zoom-min="17">
				<caption k="name" font-style="bold" font-size="10" fill="#4040ff" stroke="#ffffff" stroke-width="2.0" />
			</rule>
		</rule>

	</rule>

	<!-- Cycle part 1, mtb:scale:uphill is redered behind highway casings+cores -->
	<rule e="way" k="highway" v="*">
		<rule e="way" k="highway" v="*" zoom-min="13" zoom-max="17">
			<rule e="way" k="mtb_scale_uphill" v="mtbu_1">
				<line stroke="#656559" stroke-width="3.5" stroke-dasharray="2,15" stroke-linecap="butt" />
			</rule>
			<rule e="way" k="mtb_scale_uphill" v="mtbu_2">
				<line stroke="#656559" stroke-width="3.5" stroke-dasharray="2,2,2,15" stroke-linecap="butt" />
			</rule>
			<rule e="way" k="mtb_scale_uphill" v="mtbu_3">
				<line stroke="#656559" stroke-width="3.5" stroke-dasharray="2,2,2,2,2,15" stroke-linecap="butt" />
			</rule>			
			<rule e="way" k="mtb_scale_uphill" v="mtbu_4">
				<line stroke="#656559" stroke-width="3.5" stroke-dasharray="2,2,2,2,2,2,2,15" stroke-linecap="butt" />
			</rule>
			<rule e="way" k="mtb_scale_uphill" v="mtbu_5">
				<line stroke="#656559" stroke-width="3.5" stroke-dasharray="2,2,2,2,2,2,2,2,2,15" stroke-linecap="butt" />
			</rule>		
		</rule>
		<rule e="way" k="highway" v="*" zoom-min="18" >
			<rule e="way" k="mtb_scale_uphill" v="mtbu_1">
				<line stroke="#656559" stroke-width="3" stroke-dasharray="2,15" stroke-linecap="butt" />
			</rule>
			<rule e="way" k="mtb_scale_uphill" v="mtbu_2">
				<line stroke="#656559" stroke-width="3" stroke-dasharray="2,2,2,15" stroke-linecap="butt" />
			</rule>
			<rule e="way" k="mtb_scale_uphill" v="mtbu_3">
				<line stroke="#656559" stroke-width="3" stroke-dasharray="2,2,2,2,2,15" stroke-linecap="butt" />
			</rule>			
			<rule e="way" k="mtb_scale_uphill" v="mtbu_4">
				<line stroke="#656559" stroke-width="3" stroke-dasharray="2,2,2,2,2,2,2,15" stroke-linecap="butt" />
			</rule>
			<rule e="way" k="mtb_scale_uphill" v="mtbu_5">
				<line stroke="#656559" stroke-width="3" stroke-dasharray="2,2,2,2,2,2,2,2,2,15" stroke-linecap="butt" />
			</rule>		
		</rule>
	</rule>
	<!-- END Cycle part 1, mtb:scale:uphill -->

	<!-- turning circles -->
	<rule e="node" k="highway" v="turning_circle">
		<circle radius="1.5" scale-radius="true" fill="#707070" />
	</rule>


	<!-- ways -->
	<rule e="way" k="*" v="*">
		<!-- no tunnel -->
		<rule e="way" k="tunnel" v="~|no|false">
			<!-- no area -->
			<rule e="way" k="area" v="~|no|false">
				<!-- highway -->
				<rule e="way" k="highway" v="*">
					<!-- no bridge -->
					<rule e="way" k="bridge" v="~|no|false">
						<!-- highway casings -->
						<rule e="way" k="highway" v="steps">
							<line stroke="#707070" stroke-width="0.9" />
						</rule>
						<rule e="way" k="highway" v="footway|path">
							<line stroke="#FFFFFF" stroke-width="1.1" />
						</rule>
						<rule e="way" k="highway" v="track">
							<rule e="way" k="tracktype" v="grade1">
								<line stroke="#684718" stroke-width="1.6" />
							</rule>
							<rule e="way" k="tracktype" v="grade2">
								<line stroke="#684718" stroke-width="1.6" stroke-dasharray="20,2" stroke-linecap="butt" />
							</rule>
							<rule e="way" k="tracktype" v="grade3">
								<line stroke="#684718" stroke-width="1.6" stroke-dasharray="16,2" stroke-linecap="butt" />
							</rule>
							<rule e="way" k="tracktype" v="grade4">
								<line stroke="#684718" stroke-width="1.6" stroke-dasharray="12,2" stroke-linecap="butt" />
							</rule>
							<rule e="way" k="tracktype" v="grade5">
								<line stroke="#684718" stroke-width="1.6" stroke-dasharray="8,2" stroke-linecap="butt" />
							</rule>
							<rule e="way" k="tracktype" v="~|no|false">
								<line stroke="#684718" stroke-width="1.6" stroke-dasharray="4,2" stroke-linecap="butt" />
							</rule>
						</rule>
						<rule e="way" k="highway" v="bridleway|service">
							<line stroke="#707070" stroke-width="1.5" />
						</rule>
						<rule e="way" k="highway" v="cycleway">
							<line stroke="#303030" stroke-width="1.5" stroke-dasharray="18,2" stroke-linecap="butt" />
							<!--line stroke="#707070" stroke-width="1.0" /-->
						</rule>
						<rule e="way" k="highway" v="byway">
							<line stroke="#707070" stroke-width="1.5" stroke-dasharray="7,2" stroke-linecap="butt" />
						</rule>
						<rule e="way" k="highway" v="pedestrian|unclassified|residential|living_street">
							<line stroke="#707070" stroke-width="2.0" />
						</rule>
						<rule e="way" k="highway" v="tertiary|tertiary_link|secondary_link|primary_link|trunk_link|motorway_link|secondary|primary|trunk">
							<line stroke="#707070" stroke-width="2.2" stroke-linecap="butt" />
						</rule>
						<rule e="way" k="highway" v="motorway">
							<line stroke="#707070" stroke-width="3.0" stroke-linecap="butt" />
						</rule>
					</rule>

					<!-- bridge -->
					<rule e="way" k="bridge" v="yes|true">
						<!-- highway casings -->
						<rule e="way" k="highway" v="steps|footway|path">
							<line stroke="#000000" stroke-width="0.7" stroke-linecap="butt" />
						</rule>
						<rule e="way" k="highway" v="track|cycleway|bridleway|service">
							<line stroke="#000000" stroke-width="1.1" stroke-linecap="butt" />
						</rule>
						<rule e="way" k="highway" v="construction">
							<line stroke="#000000" stroke-width="1.2" stroke-linecap="butt" />
						</rule>
						<rule e="way" k="highway" v="road">
							<line stroke="#000000" stroke-width="1.4" stroke-linecap="butt" />
						</rule>
						<rule e="way" k="highway" v="pedestrian|unclassified|residential|living_street|byway">
							<line stroke="#000000" stroke-width="1.6" stroke-linecap="butt" />
						</rule>
						<rule e="way" k="highway" v="tertiary|tertiary_link|secondary_link|primary_link|trunk_link|motorway_link|secondary|primary|trunk">
							<line stroke="#000000" stroke-width="1.9" stroke-linecap="butt" />
						</rule>
						<rule e="way" k="highway" v="motorway">
							<line stroke="#000000" stroke-width="2.1" stroke-linecap="butt" />
						</rule>
					</rule>
				</rule>
			</rule>
		</rule>


		<!-- building -->
		<rule e="way" k="building" v="*">
			<area fill="#f3d6b6" stroke="#6a5a8e" stroke-width="0.2" />
			<rule e="way" k="*" v="*" zoom-min="19">
				<!--caption k="name" font-style="bold" font-size="10" fill="#4040ff" stroke="#ffffff" stroke-width="2.0" /-->
				<caption k="addr:housenumber" font-style="bold" font-size="10" fill="#606060" stroke="#ffffff" stroke-width="2.0" />
			</rule>
		</rule>


		<rule e="way" k="highway" v="*">
			<!-- no tunnel -->
			<rule e="way" k="tunnel" v="~|no|false">
				<!-- no area -->
				<rule e="way" k="area" v="~|no|false">
					<!-- highway cores -->
					<rule e="way" k="highway" v="steps">
						<line stroke="#e5e0c2" stroke-width="0.65" stroke-dasharray="3,1" stroke-linecap="butt" />
						<rule e="way" k="*" v="*" zoom-min="16">
							<rule e="way" k="network" v="~">
								<rule e="way" k="hknetwork" v="~">
									<pathText k="name" font-style="bold" font-size="10" stroke="#e5e0c2" stroke-width="2.0" />
								</rule>
							</rule>
						</rule>
					</rule>
					<rule e="way" k="highway" v="footway|path">
						<rule e="way" k="mtb_scale" v="~">
							<line stroke="#909090" stroke-width="0.75" stroke-dasharray="5,8"/>
						</rule>
						<rule e="way" k="mtb_scale" v="mtbs_0">
							<line stroke="#1f961b" stroke-width="0.75" />
						</rule>
						<rule e="way" k="mtb_scale" v="mtbs_1">
							<line stroke="#8F6A00" stroke-width="0.75" />
						</rule>
						<rule e="way" k="mtb_scale" v="mtbs_2">
							<line stroke="#4b5bad" stroke-width="0.75" />
						</rule>
						<rule e="way" k="mtb_scale" v="mtbs_3">
							<line stroke="#fc1239" stroke-width="0.75" />
						</rule>
						<rule e="way" k="mtb_scale" v="mtbs_4|mtbs_5|mtbs_6">
							<line stroke="#000000" stroke-width="0.75" stroke-dasharray="8,12" />
						</rule>						
						<rule e="way" k="*" v="*" zoom-min="16">
							<rule e="way" k="network" v="~">
								<rule e="way" k="hknetwork" v="~">
									<pathText k="name" font-style="bold" font-size="10" stroke="#d0d0d0" stroke-width="2.0" />
								</rule>
							</rule>
						</rule>
					</rule>
					<rule e="way" k="highway" v="track">
						<rule e="way" k="mtb_scale" v="~">
							<line stroke="#fffaf2" stroke-width="0.75" />
						</rule>
						<rule e="way" k="mtb_scale" v="mtbs_0">
							<line stroke="#1f961b" stroke-width="0.75" />
						</rule>
						<rule e="way" k="mtb_scale" v="mtbs_1">
							<line stroke="#8F6A00" stroke-width="0.75" />
						</rule>
						<rule e="way" k="mtb_scale" v="mtbs_2">
							<line stroke="#4b5bad" stroke-width="0.75" />
						</rule>
						<rule e="way" k="mtb_scale" v="mtbs_3">
							<line stroke="#fc1239" stroke-width="0.75" />
						</rule>
						<rule e="way" k="mtb_scale" v="mtbs_4|mtbs_5|mtbs_6">
							<line stroke="#000000" stroke-width="0.75" stroke-dasharray="8,12" />
						</rule>						
						<rule e="way" k="*" v="*" zoom-min="16">
							<rule e="way" k="network" v="~">
								<rule e="way" k="hknetwork" v="~">
									<pathText k="name" font-style="bold" font-size="10" stroke="#fffaf2" stroke-width="2.0" />
								</rule>
							</rule>
						</rule>
					</rule>
					<rule e="way" k="highway" v="cycleway">
						<line stroke="#fff2de" stroke-width="0.65"/>
						<rule e="way" k="*" v="*" zoom-min="16">
							<rule e="way" k="network" v="~">
								<rule e="way" k="hknetwork" v="~">
									<pathText k="name" font-style="bold" font-size="10" stroke="#d1fad1" stroke-width="2.0" />
								</rule>
							</rule>
						</rule>
					</rule>
					<rule e="way" k="highway" v="bridleway">
						<line stroke="#d3cb98" stroke-width="0.85" />
						<rule e="way" k="*" v="*" zoom-min="16">
							<rule e="way" k="network" v="~">
								<rule e="way" k="hknetwork" v="~">
									<pathText k="name" font-style="bold" font-size="10" stroke="#d3cb98" stroke-width="2.0" />
								</rule>
							</rule>
						</rule>
					</rule>
					<rule e="way" k="highway" v="service">
						<line stroke="#ffffff" stroke-width="0.85" />
						<rule e="way" k="*" v="*" zoom-min="16">
							<rule e="way" k="network" v="~">
								<rule e="way" k="hknetwork" v="~">
									<pathText k="name" font-style="bold" font-size="10" stroke="#ffffff" stroke-width="2.0" />
								</rule>
							</rule>
						</rule>
					</rule>
					<rule e="way" k="highway" v="construction">
						<line stroke="#d0d0d0" stroke-width="1.0" />
						<rule e="way" k="*" v="*" zoom-min="16">
							<rule e="way" k="network" v="~">
								<rule e="way" k="hknetwork" v="~">
									<pathText k="name" font-style="bold" font-size="10" stroke="#d0d0d0" stroke-width="2.0" />
								</rule>
							</rule>
						</rule>
					</rule>
					<rule e="way" k="highway" v="road">
						<line stroke="#d0d0d0" stroke-width="1.25" />
						<rule e="way" k="*" v="*" zoom-min="16">
							<rule e="way" k="network" v="~">
								<rule e="way" k="hknetwork" v="~">
									<pathText k="name" font-style="bold" font-size="10" stroke="#d0d0d0" stroke-width="2.0" />
								</rule>
							</rule>
						</rule>
					</rule>
					<rule e="way" k="highway" v="pedestrian">
						<line stroke="#e5e0c2" stroke-width="1.35" />
						<rule e="way" k="*" v="*" zoom-min="16">
							<rule e="way" k="network" v="~">
								<rule e="way" k="hknetwork" v="~">
									<pathText k="name" font-style="bold" font-size="10" stroke="#e5e0c2" stroke-width="2.0" />
								</rule>
							</rule>
						</rule>
					</rule>
					<rule e="way" k="highway" v="unclassified|residential|living_street">
						<line stroke="#ffffff" stroke-width="1.35" />
						<rule e="way" k="*" v="*" zoom-min="16">
							<rule e="way" k="network" v="~">
								<rule e="way" k="hknetwork" v="~">
									<pathText k="name" font-style="bold" font-size="10" stroke="#ffffff" stroke-width="2.0" />
								</rule>
							</rule>
						</rule>
					</rule>
					<rule e="way" k="highway" v="byway">
						<line stroke="#efadaa" stroke-width="1.35" />
						<rule e="way" k="*" v="*" zoom-min="16">
							<rule e="way" k="network" v="~">
								<rule e="way" k="hknetwork" v="~">
									<pathText k="name" font-style="bold" font-size="10" stroke="#efadaa" stroke-width="2.0" />
								</rule>
							</rule>
						</rule>
					</rule>
					<rule e="way" k="highway" v="tertiary|tertiary_link">
						<line stroke="#ffff90" stroke-width="1.5" />
						<rule e="way" k="*" v="*" zoom-min="16">
							<rule e="way" k="network" v="~">
								<rule e="way" k="hknetwork" v="~">
									<pathText k="name" font-style="bold" font-size="10" stroke="#ffffb8" stroke-width="2.0" />
								</rule>
							</rule>
						</rule>
					</rule>
					<rule e="way" k="highway" v="secondary_link">
						<line stroke="#FFED4F" stroke-width="1.5" />
						<rule e="way" k="*" v="*" zoom-min="15">
							<rule e="way" k="network" v="~">
								<rule e="way" k="hknetwork" v="~">
									<pathText k="name" font-style="bold" font-size="12" stroke="#f0e9b1" stroke-width="2.0" />
								</rule>
							</rule>
						</rule>
					</rule>
					<rule e="way" k="highway" v="primary_link">
						<line stroke="#f2bdc2" stroke-width="1.5" />
						<rule e="way" k="*" v="*" zoom-min="15">
							<rule e="way" k="network" v="~">
								<rule e="way" k="hknetwork" v="~">
									<pathText k="name" font-style="bold" font-size="14" stroke="#f2bdc2" stroke-width="2.0" />
								</rule>
							</rule>
						</rule>
					</rule>
					<rule e="way" k="highway" v="trunk_link">
						<line stroke="#b0d1b4" stroke-width="1.5" />
						<rule e="way" k="*" v="*" zoom-min="15">
							<rule e="way" k="network" v="~">
								<rule e="way" k="hknetwork" v="~">
									<pathText k="name" font-style="bold" font-size="10" stroke="#b0d1b4" stroke-width="2.0" />
								</rule>
							</rule>
						</rule>
					</rule>
					<rule e="way" k="highway" v="motorway_link">
						<line stroke="#b2bad9" stroke-width="1.5" />
						<rule e="way" k="*" v="*" zoom-min="15">
							<rule e="way" k="network" v="~">
								<rule e="way" k="hknetwork" v="~">
									<pathText k="name" font-style="bold" font-size="12" stroke="#b2bad9" stroke-width="2.0" />
								</rule>
							</rule>
						</rule>
					</rule>
					<rule e="way" k="highway" v="secondary">
						<line stroke="#FFED4F" stroke-width="1.5" />
						<rule e="way" k="*" v="*" zoom-min="15">
							<rule e="way" k="network" v="~">
								<rule e="way" k="hknetwork" v="~">
									<pathText k="name" font-style="bold" font-size="12" stroke="#f0e9b1" stroke-width="2.0" />
								</rule>
							</rule>
						</rule>
					</rule>
					<rule e="way" k="highway" v="primary">
						<line stroke="#f2bdc2" stroke-width="1.3" />
						<rule e="way" k="*" v="*" zoom-min="15">
							<rule e="way" k="network" v="~">
								<rule e="way" k="hknetwork" v="~">
									<pathText k="name" font-style="bold" font-size="10" stroke="#f2bdc2" stroke-width="2.0" />
								</rule>
							</rule>
						</rule>
					</rule>
					<rule e="way" k="highway" v="trunk">
						<line stroke="#b0d1b4" stroke-width="1.4" />
					</rule>
					<rule e="way" k="highway" v="motorway">
						<line stroke="#b2bad9" stroke-width="1.4" />
					</rule>

					<!-- highway refs -->
					<rule e="way" k="highway" v="motorway|trunk|primary|secondary|tertiary">
						<rule e="way" k="*" v="*" zoom-min="12" zoom-max="12">
							<rule e="way" k="network" v="~">
								<rule e="way" k="hknetwork" v="~">
									<pathText k="ref" font-style="bold" font-size="12" stroke="#ffffff" fill="#606060" stroke-width="2.0" />
								</rule>
							</rule>
						</rule>
						<rule e="way" k="*" v="*" zoom-min="13" zoom-max="13">
							<rule e="way" k="network" v="~">
								<rule e="way" k="hknetwork" v="~">
									<pathText k="ref" font-style="bold" font-size="14" stroke="#ffffff" fill="#606060" stroke-width="2.0" />
								</rule>
							</rule>
						</rule>								
						<rule e="way" k="*" v="*" zoom-min="14" zoom-max="16">
							<rule e="way" k="network" v="~">
								<rule e="way" k="hknetwork" v="~">
									<pathText k="ref" font-style="bold" font-size="18" stroke="#ffffff" fill="#606060" stroke-width="2.0" />
								</rule>
							</rule>
						</rule>	
						<rule e="way" k="*" v="*" zoom-min="17" zoom-max="21">
							<rule e="way" k="network" v="~">
								<rule e="way" k="hknetwork" v="~">
									<pathText k="ref" font-style="bold" font-size="25" stroke="#ffffff" fill="#606060" stroke-width="2.0" />
								</rule>
							</rule>
						</rule>							
					</rule>
					<rule e="way" k="highway" v="*" zoom-min="16">
						<rule e="way" k="access" v="destination">
							<line src="jar:/osmarender/patterns/access-destination.png" stroke-width="1.5" />
						</rule>
						<rule e="way" k="access" v="private">
							<line src="jar:/osmarender/patterns/access-private.png" stroke-width="1.5" />
						</rule>
					</rule>
				</rule>
			</rule>
		</rule>


		<!-- runways cores -->
		<rule e="way" k="aeroway" v="*">
			<rule e="way" k="aeroway" v="runway">
				<line stroke="#d4dcbd" stroke-width="4.5" stroke-linecap="square" />
			</rule>
			<rule e="way" k="aeroway" v="taxiway">
				<line stroke="#d4dcbd" stroke-width="1.8" stroke-linecap="butt" />
			</rule>
		</rule>


		<!-- man_made features -->
		<rule e="way" k="man_made" v="pier">
			<rule e="way" k="*" v="*" closed="no">
				<line stroke="#d0d0d0" stroke-width="0.4" stroke-linecap="butt" />
				<line stroke="#e4e4e4" stroke-width="0.3" stroke-linecap="butt" />
			</rule>
			<rule e="way" k="*" v="*" closed="yes">
				<area fill="#e4e4e4" stroke="#d0d0d0" stroke-width="0.05" />
			</rule>
		</rule>


		<!-- barriers -->
		<rule e="way" k="barrier" v="*">
			<rule e="way" k="barrier" v="fence|wall|city_wall">
				<line stroke="#000000" stroke-width="0.1" stroke-linecap="butt" />
			</rule>
			<rule e="way" k="barrier" v="retaining_wall">
				<line stroke="#888888" stroke-width="0.1" stroke-linecap="butt" />
			</rule>
		</rule>


		<!-- non-physical routes -->
		<rule e="way" k="route" v="ferry">
			<line stroke="#707070" stroke-width="0.3" stroke-dasharray="15,10" stroke-linecap="butt" />
		</rule>


		<!-- highway one-way markers -->
		<rule e="way" k="tunnel" v="~|false|no">
			<rule e="way" k="area" v="~|false|no">
				<rule e="way" k="highway" v="*">
					<rule e="way" k="oneway" v="yes|true" zoom-min="16">
						<lineSymbol src="jar:/osmarender/symbols/oneway.png" align-center="true" repeat="true" />
					</rule>
				</rule>
			</rule>
		</rule>


		<!-- pistes -->
		<rule e="way" k="piste:type" v="*">
			<!-- piste areas -->
			<rule e="way" k="piste:type" v="downhill" closed="yes" zoom-min="13">
				<rule e="way" k="piste:difficulty" v="novice">
					<area fill="#5540ff40" stroke="#5540ff40" stroke-width="4.0" />
				</rule>
				<rule e="way" k="piste:difficulty" v="easy">
					<area fill="#554040ff" stroke="#554040ff" stroke-width="4.0" />
				</rule>
				<rule e="way" k="piste:difficulty" v="intermediate">
					<area fill="#55ff4040" stroke="#55ff4040" stroke-width="4.0" />
				</rule>
				<rule e="way" k="piste:difficulty" v="advanced">
					<area fill="#55000000" stroke="#55000000" stroke-width="4.0" />
				</rule>
				<rule e="way" k="piste:difficulty" v="expert">
					<area fill="#55f6800a" stroke="#55f6800a" stroke-width="4.0" />
				</rule>
				<rule e="way" k="piste:difficulty" v="freeride">
					<area fill="#55f6dd0a" stroke="#55f6dd0a" stroke-width="4.0" />
				</rule>
				<rule e="way" k="piste:difficulty" v="~">
					<area fill="#55505050" stroke="#55505050" stroke-width="4.0" />
				</rule>

				<!--rule e="way" k="*" v="*" zoom-min="16">
                                        <caption k="name" font-style="bold" font-size="10" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
                                </rule-->
			</rule>

			<!-- piste ways -->
			<rule e="way" k="piste:type" v="downhill" closed="no" zoom-min="13">
				<rule e="way" k="piste:difficulty" v="novice">
					<line stroke="#5540ff40" stroke-width="4.0" />
				</rule>
				<rule e="way" k="piste:difficulty" v="easy">
					<line stroke="#554040ff" stroke-width="4.0" />
				</rule>
				<rule e="way" k="piste:difficulty" v="intermediate">
					<line stroke="#55ff4040" stroke-width="4.0" />
				</rule>
				<rule e="way" k="piste:difficulty" v="advanced">
					<line stroke="#55000000" stroke-width="4.0" />
				</rule>
				<rule e="way" k="piste:difficulty" v="expert">
					<line stroke="#55f6800a" stroke-width="4.0" />
				</rule>
				<rule e="way" k="piste:difficulty" v="freeride">
					<line stroke="#55f6dd0a" stroke-width="4.0" />
				</rule>
				<rule e="way" k="piste:difficulty" v="~">
					<line stroke="#55505050" stroke-width="4.0" />
				</rule>
				<!--rule e="way" k="*" v="*" zoom-min="14">
                                        <pathText k="name" font-style="bold" font-size="10" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
                                </rule-->
			</rule>
			<rule e="way" k="piste:type" v="sled">
				<line stroke="#cdabde" stroke-width="2.5" />
			</rule>
			<rule e="way" k="piste:type" v="nordic">
				<line stroke="#c00000" stroke-width="1.0" stroke-dasharray="30,5" stroke-linecap="butt" />
			</rule>
		</rule>


		<!-- aerial ways -->
		<rule e="way" k="aerialway" v="*" zoom-min="14">
			<line stroke="#202020" stroke-width="0.4" stroke-linecap="butt" />
			<line stroke="#202020" stroke-width="4.0" stroke-dasharray="2,200" stroke-linecap="butt" />
			<rule e="way" k="aerialway" v="cable_car">
				<lineSymbol src="jar:/osmarender/symbols/cable_car.png" />
			</rule>
			<rule e="way" k="aerialway" v="chair_lift">
				<lineSymbol src="jar:/osmarender/symbols/chair_lift_2.png" />
			</rule>
			<rule e="way" k="aerialway" v="gondola">
				<lineSymbol src="jar:/osmarender/symbols/gondola.png" />
			</rule>
			<rule e="way" k="*" v="*" zoom-min="14">
				<pathText k="name" font-style="bold" font-size="10" fill="#606060" stroke="#ffffff" stroke-width="2.0" />
			</rule>
		</rule>


		<!-- railway (no tunnel) -->
		<rule e="way" k="railway" v="*">
			<rule e="way" k="tunnel" v="~|false|no">
				<rule e="way" k="railway" v="station">
					<area fill="#9b9b79" stroke="#707070" stroke-width="0.3" />
				</rule>

				<!-- railway bridge casings -->
				<rule e="way" k="bridge" v="yes|true">
					<rule e="way" k="railway" v="tram">
						<line stroke="#000000" stroke-width="0.4" stroke-linecap="butt" />
					</rule>
					<rule e="way" k="railway" v="subway|light_rail|narrow_gauge|preserved|funicular">
						<line stroke="#000000" stroke-width="0.6" stroke-linecap="butt" />
					</rule>
					<rule e="way" k="railway" v="rail">
						<line stroke="#000000" stroke-width="0.8" stroke-linecap="butt" />
					</rule>
				</rule>

				<!-- railway casings and cores -->
				<rule e="way" k="railway" v="tram">
					<line stroke="#e6b7e6" stroke-width="0.25" stroke-linecap="butt" />
					<line stroke="#4c0f4c" stroke-width="0.25" stroke-dasharray="12,18" stroke-linecap="butt" />
				</rule>
				<rule e="way" k="railway" v="subway">
					<line stroke="#0f0f4c" stroke-width="0.4" stroke-linecap="butt" />
					<line stroke="#b7b7e6" stroke-width="0.25" stroke-dasharray="12,18" stroke-linecap="butt" />
				</rule>
				<rule e="way" k="railway" v="light_rail">
					<line stroke="#0f4c0f" stroke-width="0.4" stroke-linecap="butt" />
					<line stroke="#b7e6e6" stroke-width="0.25" stroke-linecap="butt" />
					<line stroke="#0f4c0f" stroke-width="0.25" stroke-dasharray="12,18" stroke-linecap="butt" />
				</rule>
				<rule e="way" k="railway" v="narrow_gauge|preserved|funicular">
					<line stroke="#333333" stroke-width="0.4" stroke-linecap="butt" />
					<line stroke="#e6e6e6" stroke-width="0.25" stroke-linecap="butt" />
					<line stroke="#333333" stroke-width="0.25" stroke-dasharray="18,18" stroke-linecap="butt" />
				</rule>
				<rule e="way" k="railway" v="rail">
					<line stroke="#333333" stroke-width="0.55" stroke-linecap="butt" />
					<line stroke="#e6e6e6" stroke-width="0.4" stroke-linecap="butt" />
					<line stroke="#333333" stroke-width="0.4" stroke-dasharray="15,15" stroke-linecap="butt" />
				</rule>
			</rule>
		</rule>


		<!-- non-physical boundaries -->
		<rule e="way" k="boundary" v="national_park">
			<line stroke="#4ef94b" stroke-width="0.25" stroke-dasharray="15, 5, 5, 5" />
		</rule>
		<rule e="way" k="admin_level" v="*">
			<rule e="way" k="admin_level" v="11">
				<line stroke="#693937" stroke-width="0.1" stroke-dasharray="1, 5" />
			</rule>
			<rule e="way" k="admin_level" v="10">
				<line stroke="#693937" stroke-width="0.1" stroke-dasharray="5, 25" />
			</rule>
			<rule e="way" k="admin_level" v="9">
				<line stroke="#693937" stroke-width="0.1" stroke-dasharray="15, 15" />
			</rule>
			<rule e="way" k="admin_level" v="8">
				<line stroke="#693937" stroke-width="0.1" stroke-dasharray="15, 5, 5, 5" />
			</rule>
			<rule e="way" k="admin_level" v="7">
				<line stroke="#693937" stroke-width="0.1" />
			</rule>
			<rule e="way" k="admin_level" v="6">
				<line stroke="#693937" stroke-width="0.25" stroke-dasharray="5, 5" />
			</rule>
			<rule e="way" k="admin_level" v="5">
				<line stroke="#693937" stroke-width="0.25" stroke-dasharray="15, 15" />
			</rule>
			<rule e="way" k="admin_level" v="4">
				<line stroke="#693937" stroke-width="0.25" stroke-dasharray="15, 5, 5, 5" />
			</rule>
			<rule e="way" k="admin_level" v="3">
				<line stroke="#693937" stroke-width="0.25" />
			</rule>
			<rule e="way" k="admin_level" v="2">
				<line stroke="#80ffff00" stroke-width="0.75" />
				<line stroke="#693937" stroke-width="0.25" stroke-dasharray="15, 15" />
			</rule>
			<rule e="way" k="admin_level" v="1">
				<line stroke="#80ffff00" stroke-width="1.75" />
				<line stroke="#693937" stroke-width="0.25" stroke-dasharray="15, 5, 5, 5" />
			</rule>
		</rule>


		<!-- historic -->
		<rule e="way" k="historic" v="ruins" zoom-min="17">
			<caption k="name" font-style="bold" font-size="10" fill="#4040ff" stroke="#ffffff" stroke-width="2.0" />
		</rule>


		<!-- place -->
		<rule e="way" k="place" v="locality" zoom-min="17">
			<caption k="name" font-style="bold" font-size="10" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
		</rule>
	</rule>


	<!-- nodes -->
	<rule e="node" k="*" v="*">
		<!-- aeroway -->
		<rule e="node" k="aeroway" v="*">
			<rule e="node" k="aeroway" v="helipad">
				<symbol src="jar:/osmarender/symbols/helipad.png" />
			</rule>
			<rule e="node" k="aeroway" v="aerodrome|airport" zoom-max="13">
				<symbol src="jar:/osmarender/symbols/airport.png" />
			</rule>
		</rule>


		<!-- amenity -->
		<rule e="node" k="amenity" v="*">
			<rule e="node" k="amenity" v="atm">
				<symbol src="jar:/osmarender/symbols/atm.png" />
			</rule>
			<rule e="node" k="amenity" v="bank">
				<symbol src="jar:/osmarender/symbols/bank.png" />
			</rule>
			<rule e="node" k="amenity" v="bench">
				<symbol src="jar:/osmarender/symbols/bench.png" />
			</rule>
			<rule e="node" k="amenity" v="bicycle_rental">
				<symbol src="jar:/osmarender/symbols/bicycle_rental.png" />
			</rule>
			<rule e="node" k="amenity" v="bus_station">
				<symbol src="jar:/osmarender/symbols/bus_sta.png" />
			</rule>
			<rule e="node" k="amenity" v="cafe">
				<symbol src="jar:/osmarender/symbols/cafe.png" />
			</rule>
			<rule e="node" k="amenity" v="cinema">
				<symbol src="jar:/osmarender/symbols/cinema.png" />
			</rule>

			<rule e="node" k="amenity" v="drinking_water" >
				<symbol src="jar:/osmarender/symbols/drinking_water.png" />
			</rule>

			<rule e="node" k="amenity" v="fast_food">
				<symbol src="jar:/osmarender/symbols/fastfood.png" />
			</rule>
			<rule e="node" k="amenity" v="fire_station">
				<symbol src="jar:/osmarender/symbols/firebrigade.png" />
			</rule>
			<rule e="node" k="amenity" v="fountain">
				<symbol src="jar:/osmarender/symbols/fountain.png" />
			</rule>
			<rule e="node" k="amenity" v="fuel">
				<symbol src="jar:/osmarender/symbols/petrolStation.png" />
			</rule>

			<rule e="node" k="amenity" v="kindergarten">
				<symbol src="jar:/osmarender/symbols/kindergarten.png" />
			</rule>
			<rule e="node" k="amenity" v="library">
				<symbol src="jar:/osmarender/symbols/library.png" />
			</rule>
			<rule e="node" k="amenity" v="parking">
				<symbol src="jar:/osmarender/symbols/parking.png" />
			</rule>

			<rule e="node" k="amenity" v="place_of_worship" zoom-min="17">
				<rule e="node" k="denomination|religion" v="jewish">
					<symbol src="jar:/osmarender/symbols/synagogue.png" />
				</rule>
				<rule e="node" k="denomination|religion" v="muslim|moslem">
					<symbol src="jar:/osmarender/symbols/mosque.png" />
				</rule>
				<rule e="node" k="denomination|religion" v="christian">
					<symbol src="jar:/osmarender/symbols/church.png" />
				</rule>
			</rule>
			<rule e="node" k="amenity" v="post_box">
				<symbol src="jar:/osmarender/symbols/postbox.png" />
			</rule>
			<rule e="node" k="amenity" v="post_office">
				<symbol src="jar:/osmarender/symbols/postoffice.png" />
			</rule>
			<rule e="node" k="amenity" v="pub|bar">
				<symbol src="jar:/osmarender/symbols/pub.png" />
			</rule>
			<rule e="node" k="amenity" v="recycling">
				<symbol src="jar:/osmarender/symbols/recycling.png" />
			</rule>
			<rule e="node" k="amenity" v="restaurant">
				<symbol src="jar:/osmarender/symbols/restaurant.png" />
			</rule>
			<rule e="node" k="amenity" v="school">
				<symbol src="jar:/osmarender/symbols/school.png" />
			</rule>
			<rule e="node" k="amenity" v="shelter">
				<symbol src="jar:/osmarender/symbols/shelter.png" />
				<caption k="name" dy="20" font-style="bold" font-size="15" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
			</rule>
			<rule e="node" k="amenity" v="telephone">
				<symbol src="jar:/osmarender/symbols/telephone.png" />
			</rule>
			<rule e="node" k="amenity" v="theatre">
				<symbol src="jar:/osmarender/symbols/theatre.png" />
			</rule>
			<rule e="node" k="amenity" v="toilets" zoom-min="14" zoom-max="15">
				<symbol src="jar:/osmarender/symbols/toilets.png" />
			</rule>
			<rule e="node" k="amenity" v="toilets" zoom-min="16">
				<symbol src="jar:/osmarender/symbols/toilets.png" />
			</rule>                        

			<rule e="node" k="amenity" v="university|college">
				<symbol src="jar:/osmarender/symbols/university.png" />
			</rule>
			<rule e="node" k="amenity" v="pharmacy">
				<symbol src="jar:/osmarender/symbols/pharmacy.png" />
			</rule>
			<rule e="node" k="amenity" v="hospital">
				<symbol src="jar:/osmarender/symbols/hospital.png" />
			</rule>
		</rule>


		<!-- barrier -->
		<rule e="node" k="barrier" v="bollard">
			<circle radius="1.5" fill="#707070" />
		</rule>


		<!-- highway -->
		<rule e="node" k="highway" v="*">
			<rule e="node" k="highway" v="bus_stop">
				<symbol src="jar:/osmarender/symbols/bus.png" />
			</rule>
			<rule e="node" k="highway" v="traffic_signals" zoom-min="17">
				<symbol src="jar:/osmarender/symbols/traffic_signal.png" />
			</rule>
			<rule e="node" k="highway" v="turning_circle">
				<circle radius="1.4" scale-radius="true" fill="#ffffff" />
			</rule>
		</rule>


		<!-- historic -->
		<rule e="node" k="historic" v="*">
			<circle radius="3" fill="#4040ff" stroke="#606060" stroke-width="1.5" />

			<rule e="node" k="*" v="*" zoom-min="17">
				<caption k="name" dy="-10" font-style="bold" font-size="10" fill="#4040ff" stroke="#ffffff" stroke-width="2.0" />
			</rule>
		</rule>


		<!-- house numbers -->
		<rule e="node" k="addr:housenumber" v="*" zoom-min="18">
			<caption k="addr:housenumber" font-style="bold" font-size="10" fill="#606060" stroke="#ffffff" stroke-width="2.0" />
		</rule>


		<!-- leisure -->
		<rule e="node" k="leisure" v="playground" zoom-min="17">
			<symbol src="jar:/osmarender/symbols/playground.png" />
		</rule>


		<!-- man_made -->
		<rule e="node" k="man_made" v="windmill" zoom-min="16">
			<symbol src="jar:/osmarender/symbols/windmill.png" />
		</rule>


		<!-- natural -->
		<rule e="node" k="natural" v="*">
			<rule e="node" k="natural" v="cave_entrance" zoom-min="14">
				<symbol src="jar:/osmarender/symbols/cave_entrance.png" />
				<caption k="name" font-style="bold" font-size="10" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
			</rule>
			<rule e="node" k="natural" v="peak" zoom-min="12">
				<symbol src="jar:/osmarender/symbols/peak.png" />
				<caption k="ele" dy="20" font-style="bold" font-size="15" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
				<caption k="name" dy="35" font-style="bold" font-size="15" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
			</rule>
			<rule e="node" k="natural" v="tree" zoom-min="17">
				<symbol src="jar:/osmarender/symbols/tree.png" />
				<caption k="name" font-style="bold" font-size="10" fill="#000000" stroke="#ffffff" stroke-width="2.0" />							
			</rule>
			<rule e="node" k="natural" v="volcano" zoom-min="12">
				<symbol src="jar:/osmarender/symbols/vulcan.png" />
				<caption k="ele" dy="20" font-style="bold" font-size="15" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
				<caption k="name" dy="35" font-style="bold" font-size="15" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
			</rule>
		</rule>


		<!-- place -->
		<rule e="node" k="place" v="*">
			<rule e="node" k="place" v="hamlet">
				<caption k="name" font-style="bold" font-size="12" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
			</rule>
			<rule e="node" k="place" v="suburb|village">
				<caption k="name" font-style="bold" font-size="13" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
			</rule>
			<rule e="node" k="place" v="island">
				<caption k="name" font-style="bold" font-size="14" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
			</rule>
			<rule e="node" k="place" v="town">
				<caption k="name" font-style="bold" font-size="14" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
			</rule>						
			<rule e="node" k="place" v="city" zoom-min="6">
				<caption k="name" font-style="bold" font-size="17" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
			</rule>
			<rule e="node" k="place" v="city" zoom-max="14">
				<caption k="name" font-style="bold" font-size="20" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
			</rule>
			<rule e="node" k="place" v="country" zoom-max="6">
				<caption k="name" font-style="bold" font-size="22" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
			</rule>
		</rule>




		<!-- railway -->
		<rule e="node" k="railway" v="*">
			<rule e="node" k="railway" v="crossing">
				<symbol src="jar:/osmarender/symbols/railway-crossing-small.png" />
			</rule>
			<rule e="node" k="railway" v="level_crossing">
				<symbol src="jar:/osmarender/symbols/railway-crossing.png" />
			</rule>
			<rule e="node" k="railway" v="station">
				<circle radius="6" fill="#ec2d2d" stroke="#606060" stroke-width="1.5" />
				<caption k="name" dy="-10" font-style="bold" font-size="13" fill="#ec2d2d" stroke="#ffffff" stroke-width="2.0" />
			</rule>
			<rule e="node" k="railway" v="halt|tram_stop">
				<circle radius="4" fill="#ec2d2d" stroke="#606060" stroke-width="1.5" />
				<caption k="name" dy="-15" font-style="bold" font-size="11" fill="#ec2d2d" stroke="#ffffff" stroke-width="2.0" />
			</rule>
		</rule>


		<!-- shop -->
		<rule e="node" k="shop" v="*">
			<rule e="node" k="shop" v="bakery">
				<symbol src="jar:/osmarender/symbols/bakery.png" />
			</rule>
			<rule e="node" k="shop" v="florist">
				<symbol src="jar:/osmarender/symbols/florist.png" />
			</rule>
			<rule e="node" k="shop" v="supermarket|organic">
				<symbol src="jar:/osmarender/symbols/supermarket.png" />
			</rule>
			<!-- Locus = modified theme = symbol_set -->
			<rule e="node" k="shop" v="bicycle" zoom-min="13" zoom-max="15">
				<symbol src="jar:/osmarender/symbols/bicycle_rental.png" />
			</rule>
			<rule e="node" k="shop" v="bicycle" zoom-min="16">
				<symbol src="jar:/osmarender/symbols/bicycle_rental.png" />
			</rule>
		</rule>


		<!-- tourism -->
		<rule e="node" k="tourism" v="*">
			<rule e="node" k="tourism" v="alpine_hut">
				<symbol src="jar:/osmarender/symbols/shelter.png" />
				<caption k="name" dy="20" font-style="bold" font-size="15" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
				<caption k="ele" dy="35" font-style="bold" font-size="15" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
			</rule>
			<rule e="node" k="tourism" v="camp_site">
				<symbol src="jar:/osmarender/symbols/campSite.png" />
			</rule>
			<rule e="node" k="tourism" v="caravan_site">
				<symbol src="jar:/osmarender/symbols/campSite.png" />
			</rule>						
			<rule e="node" k="tourism" v="hostel">
				<symbol src="jar:/osmarender/symbols/hostel.png" />
			</rule>
			<rule e="node" k="tourism" v="hotel">
				<symbol src="jar:/osmarender/symbols/hotel.png" />
			</rule>
			<rule e="node" k="tourism" v="information">
				<rule e="node" k="information" v="guidepost">
					<symbol src="jar:/osmarender/symbols/information.png" />
				</rule>
			</rule>
			<rule e="node" k="tourism" v="information">
				<rule e="node" k="information" v="office">
					<symbol src="jar:/osmarender/symbols/information.png" />
				</rule>
			</rule>
			<rule e="node" k="tourism" v="viewpoint">
				<symbol src="jar:/osmarender/symbols/viewpoint.png" />
			</rule>
		</rule>
	</rule>

	<!-- Cycle tags -->
	<rule e="way" k="network" v="*">
		<rule e="way" k="network" v="*" zoom-min="12" zoom-max="12">
			<rule e="way" k="network" v="mtb">
				<line stroke="#1f961b" stroke-width="3.8" stroke-dasharray="1,6"/>
			</rule>
		</rule>
		<rule e="way" k="network" v="*" zoom-min="13" zoom-max="13">
			<rule e="way" k="network" v="mtb">
				<rule e="way" k="mtb_scale" v="~|mtbs_0">
					<line stroke="#1f961b" stroke-width="3.3" stroke-dasharray="1,9"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_1">
					<line stroke="#8F6A00" stroke-width="3.3" stroke-dasharray="1,9"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_2">
					<line stroke="#4b5bad" stroke-width="3.3" stroke-dasharray="1,9"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_3">
					<line stroke="#fc1239" stroke-width="3.3" stroke-dasharray="1,9"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_4|mtbs_5|mtbs_6">
					<line stroke="#000000" stroke-width="3.3" stroke-dasharray="1,12"/>
				</rule>
			</rule>
		</rule>
		<rule e="way" k="network" v="*" zoom-min="14" zoom-max="14">
			<rule e="way" k="network" v="mtb">
				<rule e="way" k="mtb_scale" v="~|mtbs_0">
					<line stroke="#1f961b" stroke-width="2.9" stroke-dasharray="1,11"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_1">
					<line stroke="#8F6A00" stroke-width="2.9" stroke-dasharray="1,11"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_2">
					<line stroke="#4b5bad" stroke-width="2.9" stroke-dasharray="1,11"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_3">
					<line stroke="#fc1239" stroke-width="2.9" stroke-dasharray="1,11"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_4|mtbs_5|mtbs_6">
					<line stroke="#000000" stroke-width="2.9" stroke-dasharray="1,15"/>
				</rule>
			</rule>
		</rule>
		<rule e="way" k="network" v="*" zoom-min="15" zoom-max="15">
			<rule e="way" k="network" v="mtb">
				<rule e="way" k="mtb_scale" v="~|mtbs_0">
					<line stroke="#1f961b" stroke-width="2" stroke-dasharray="1,13"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_1">
					<line stroke="#8F6A00" stroke-width="2" stroke-dasharray="1,13"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_2">
					<line stroke="#4b5bad" stroke-width="2" stroke-dasharray="1,13"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_3">
					<line stroke="#fc1239" stroke-width="2" stroke-dasharray="1,13"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_4|mtbs_5|mtbs_6">
					<line stroke="#000000" stroke-width="2" stroke-dasharray="1,17"/>
				</rule>
			</rule>
		</rule>
		<rule e="way" k="network" v="*" zoom-min="16" zoom-max="16">
			<rule e="way" k="network" v="mtb">
				<rule e="way" k="mtb_scale" v="~|mtbs_0">
					<line stroke="#1f961b" stroke-width="1.8" stroke-dasharray="1,16"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_1">
					<line stroke="#8F6A00" stroke-width="1.8" stroke-dasharray="1,16"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_2">
					<line stroke="#4b5bad" stroke-width="1.8" stroke-dasharray="1,16"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_3">
					<line stroke="#fc1239" stroke-width="1.8" stroke-dasharray="1,16"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_4|mtbs_5|mtbs_6">
					<line stroke="#000000" stroke-width="1.8" stroke-dasharray="1,21"/>
				</rule>
			</rule>
		</rule>
		<rule e="way" k="network" v="*" zoom-min="17" zoom-max="17">
			<rule e="way" k="network" v="mtb">
				<rule e="way" k="mtb_scale" v="~|mtbs_0">
					<line stroke="#1f961b" stroke-width="1.5" stroke-dasharray="1,20"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_1">
					<line stroke="#8F6A00" stroke-width="1.5" stroke-dasharray="1,20"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_2">
					<line stroke="#4b5bad" stroke-width="1.5" stroke-dasharray="1,20"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_3">
					<line stroke="#fc1239" stroke-width="1.5" stroke-dasharray="1,20"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_4|mtbs_5|mtbs_6">
					<line stroke="#000000" stroke-width="1.5" stroke-dasharray="1,27"/>
				</rule>
			</rule>
		</rule>
		<rule e="way" k="network" v="*" zoom-min="18" zoom-max="18">
			<rule e="way" k="network" v="mtb">
				<rule e="way" k="mtb_scale" v="~|mtbs_0">
					<line stroke="#1f961b" stroke-width="1.3" stroke-dasharray="1,23"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_1">
					<line stroke="#8F6A00" stroke-width="1.3" stroke-dasharray="1,23"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_2">
					<line stroke="#4b5bad" stroke-width="1.3" stroke-dasharray="1,23"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_3">
					<line stroke="#fc1239" stroke-width="1.3" stroke-dasharray="1,23"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_4|mtbs_5|mtbs_6">
					<line stroke="#000000" stroke-width="1.3" stroke-dasharray="1,30"/>
				</rule>
			</rule>
		</rule>
		<rule e="way" k="network" v="*" zoom-min="19" zoom-max="19">
			<rule e="way" k="network" v="mtb">
				<rule e="way" k="mtb_scale" v="~|mtbs_0">
					<line stroke="#1f961b" stroke-width="0.9" stroke-dasharray="1,29"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_1">
					<line stroke="#8F6A00" stroke-width="0.9" stroke-dasharray="1,29"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_2">
					<line stroke="#4b5bad" stroke-width="0.9" stroke-dasharray="1,29"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_3">
					<line stroke="#fc1239" stroke-width="0.9" stroke-dasharray="1,29"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_4|mtbs_5|mtbs_6">
					<line stroke="#000000" stroke-width="0.9" stroke-dasharray="1,38"/>
				</rule>
			</rule>
		</rule>
		<rule e="way" k="network" v="*" zoom-min="20">
			<rule e="way" k="network" v="mtb">
				<rule e="way" k="mtb_scale" v="~|mtbs_0">
					<line stroke="#1f961b" stroke-width="0.6" stroke-dasharray="1,35"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_1">
					<line stroke="#8F6A00" stroke-width="0.6" stroke-dasharray="1,35"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_2">
					<line stroke="#4b5bad" stroke-width="0.6" stroke-dasharray="1,35"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_3">
					<line stroke="#fc1239" stroke-width="0.6" stroke-dasharray="1,35"/>
				</rule>
				<rule e="way" k="mtb_scale" v="mtbs_4|mtbs_5|mtbs_6">
					<line stroke="#000000" stroke-width="0.6" stroke-dasharray="1,42"/>
				</rule>
			</rule>
		</rule>

		<!-- Pathtext for Cycle-Routes -->
		<rule e="way" k="network" v="mtb" zoom-min="13" zoom-max="13">
			<pathText k="ref" font-style="bold" font-size="15" fill="#000000" stroke="#ffffff" stroke-width="1.5" />
		</rule>
		<rule e="way" k="network" v="mtb" zoom-min="14" zoom-max="14">
			<pathText k="ref" font-style="bold" font-size="17" fill="#000000" stroke="#ffffff" stroke-width="1.5" />
		</rule>
		<rule e="way" k="network" v="mtb" zoom-min="15" zoom-max="15">
			<pathText k="ref" font-style="bold" font-size="18" fill="#000000" stroke="#ffffff" stroke-width="1.5" />
		</rule>
		<rule e="way" k="network" v="mtb" zoom-min="16" zoom-max="16">
			<pathText k="ref" font-style="bold" font-size="20" fill="#000000" stroke="#ffffff" stroke-width="1.5" />
		</rule>
		<rule e="way" k="network" v="mtb" zoom-min="17" zoom-max="17">
			<pathText k="ref" font-style="bold" font-size="23" fill="#000000" stroke="#ffffff" stroke-width="1.5" />
		</rule>
		<rule e="way" k="network" v="mtb" zoom-min="18" zoom-max="18">
			<pathText k="ref" font-style="bold" font-size="27" fill="#000000" stroke="#ffffff" stroke-width="1.5" />
		</rule>
		<rule e="way" k="network" v="mtb" zoom-min="19">
			<pathText k="ref" font-style="bold" font-size="30" fill="#000000" stroke="#ffffff" stroke-width="1.5" />
		</rule>
	</rule>

	<!--KCT-->
	<rule e="way" k="kct_red" v="major">
		<line stroke="#FF0000" stroke-width="1.2" stroke-linecap="butt" />
	</rule>
	<rule e="way" k="kct_red" v="peak|learning">
		<line stroke="#FF0000" stroke-width="1.2" stroke-linecap="butt" stroke-dasharray="10,10" />
	</rule>
	<rule e="way" k="kct_blue" v="*">
		<line stroke="#0000FF" stroke-width="1" stroke-linecap="butt" />
	</rule>
	<rule e="way" k="kct_green" v="major">
		<line stroke="#00FF00" stroke-width="1.2" stroke-linecap="butt" />
	</rule>
	<rule e="way" k="kct_green" v="peak|learning">
		<line stroke="#00FF00" stroke-width="1.2" stroke-linecap="butt" stroke-dasharray="10,10" />
	</rule>
	<rule e="way" k="kct_yellow" v="*">
		<line stroke="#FFFF00" stroke-width="1.2" stroke-linecap="butt" />
	</rule>
	<rule e="way" k="route" v="bicycle">
		<rule e="way" k="network" v="ncn">
			<line stroke="#00FFFF" stroke-width="1.8" stroke-linecap="butt" stroke-dasharray="5,7" />
		</rule>
		<rule e="way" k="network" v="rcn|lcn">
			<line stroke="#FF00FF" stroke-width="2" stroke-linecap="butt" stroke-dasharray="5,7" />
		</rule>
		<pathText k="ref" font-style="bold" font-size="12" stroke="#ffffff" fill="#606060" stroke-width="2.0" />
	</rule>
  
	<!-- power lines  -->
	<rule e="way" k="power" v="*">
		<rule e="way" k="power" v="line">
			<line stroke="#536453" stroke-width="1.3" stroke-dasharray="2,44" stroke-linecap="butt" />
			<line stroke="#536453" stroke-width="0.25" stroke-dasharray="2,7,30,7" />
		</rule>
		<rule e="way" k="power" v="minor_line">
			<line stroke="#536453" stroke-width="1.0" stroke-dasharray="2,32" stroke-linecap="butt" />
			<line stroke="#536453" stroke-width="0.15" stroke-dasharray="2,6,4,4,4,4,4,6" />
		</rule>
	</rule>	

</rendertheme>