<?xml version='1.0' encoding='UTF-8'?>

<!--
Copyright (C) 2008 Cartography Ltd.
For more information see http://www.cartotype.com.
-->

<CartoTypeStyleSheet name='OpenStreetMap style' labelAttrib=';ref+" "{font-style:italic}"("name:en")"' roadflags='0' background='lightblue' landLayer='outline'>

<defs>
	<icon id='dot-icon' width='5m,2pt,10pt'>
		<svg width='100' height='100'>
			<circle fill='black' stroke='none' cx='50' cy='50' r='49'/> 
		</svg>
	</icon>

	<icon id='pub-icon' width='16m,5pt,200pt'>
		<svg viewBox="100 100 500 500">
		   <g style="fill-rule: nonzero">
				<path style="fill:none; stroke:#000000; stroke-width:14.94; stroke-linecap:round; stroke-linejoin:round" d="M 311.00 565.88 C 344.84 567.68 384.26 575.96 413.60 589.28 L 190.40 589.46       C 221.00 574.88 256.28 567.68 291.92 566.06 L 291.92 377.24 C 224.60 371.48 169.70 318.38 170.24 245.48       C 170.60 191.66 198.86 133.88 198.86 133.88 L 407.30 133.88 C 407.30 133.88 433.76 181.22 433.76 245.48       C 433.76 309.74 379.94 372.74 311.00 376.88 L 311.00 565.88"/>
				<path style="fill:red; stroke:none; stroke-width:14.94; stroke-linecap:round; stroke-linejoin:bevel" d="M 431.60 210.74 C 432.86 220.64 433.76 234.32 433.76 245.48 C 433.76 309.74 379.94 372.74 311.00 376.88       L 311.00 565.88 C 344.84 567.68 384.26 575.96 413.60 589.28 L 190.40 589.46       C 221.00 574.88 256.28 567.68 291.92 566.06 L 291.92 377.24 C 224.60 371.48 169.70 318.38 170.24 245.48       C 170.24 234.14 171.50 222.62 173.48 211.64 L 431.60 210.74 Z"/>
				<path style="fill:none; stroke:#000000; stroke-width:0.54; stroke-linecap:butt; stroke-linejoin:miter" d="M 431.60 210.74 C 432.86 220.64 433.76 234.32 433.76 245.48 C 433.76 309.74 379.94 372.74 311.00 376.88       L 311.00 565.88 C 344.84 567.68 384.26 575.96 413.60 589.28 L 190.40 589.46       C 221.00 574.88 256.28 567.68 291.92 566.06 L 291.92 377.24 C 224.60 371.48 169.70 318.38 170.24 245.48       C 170.24 234.14 171.50 222.62 173.48 211.64 L 431.60 210.74"/>
				<path style="fill:#FFFFFF; stroke:none; stroke-width:0.54; stroke-linecap:butt; stroke-linejoin:bevel" d="M 365.90 333.68 C 365.90 347.00 355.28 357.62 341.96 357.62 C 328.64 357.62 318.02 347.00 318.02 333.68       C 318.02 320.36 328.64 309.74 341.96 309.74 C 355.28 309.74 365.90 320.36 365.90 333.68 Z"/>
				<path style="fill:none; stroke:#000000; stroke-width:1.08; stroke-linecap:butt; stroke-linejoin:miter" d="M 365.90 333.68 C 365.90 347.00 355.28 357.62 341.96 357.62 C 328.64 357.62 318.02 347.00 318.02 333.68       C 318.02 320.36 328.64 309.74 341.96 309.74 C 355.28 309.74 365.90 320.36 365.90 333.68"/>
			</g>
		</svg>
	</icon>

	<icon id='station-icon' width='25m,5pt,200pt'>
		<svg width='220' height='220'>
			<circle fill='red' stroke='black' stroke-width='20' cx='110' cy='110' r='95'/> 
		</svg>
	</icon>

	<icon id='restaurant-icon' width='20m,5pt,200pt'>
		<svg viewBox="-1 -1 115 115">
			<g transform="translate(2.5,0)" fill='orange' stroke='lightblue' stroke-width='2'>
				<path d="M 94,4 C 90,0 74,18 67,26 C 65,28 62,32 68,38 C 15,89 5,96 12,103 C 19,110 26,100 76,46 C 82,52 87,49 89,47 C 97,40 114,24 110,20 C 106,16 91,40 87,37 C 83,24 106,16 102,12 C 98,8 81,33 77,29 C 73,25 98,8 94,4 z"/>
				<path d="M 35,33 C 79,81 98,96 90,103 C 81,111 70,91 26,42 C 6,57 -9,16 1,6 C 11,-6 55,13 35,33 z"/>
			</g>
		</svg>
	</icon>

	<icon id='cafe-icon' width='12m,4pt,200pt'>
		<svg width="14" height="14">
		<path
		   d="M 10.960919 10.464368 A 4.027586 4.027586 0 1 1  2.9057474,10.464368 A 4.027586 4.027586 0 1 1  10.960919 10.464368 z"
		   transform="matrix(0.8945367,0,0,0.7056598,-1.1054313,1.2736111)"
		   style="fill:#886600;fill-opacity:1;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none"
		   />
		<rect
		   width="7.205647"
		   height="6.1578946"
		   x="1.4938664"
		   y="2.5"
		   style="fill:#886600;fill-opacity:1;stroke:none;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none"
		   />
		<path
		   d="M 14.418391 6.4367814 A 2.4275863 2.6114943 0 1 1  9.5632184,6.4367814 A 2.4275863 2.6114943 0 1 1  14.418391 6.4367814 z"
		   transform="matrix(0.8886538,0,0,1.0890316,-0.7987018,-0.7693869)"
		   style="fill:none;fill-opacity:0;stroke:#886600;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
		   />
		</svg>
	</icon>

	<icon id='hotel-icon' width='20m,5pt,200pt'>
		<svg viewBox="0 0 90 90" width='16' height="18.64">
		   <path fill='brown' d="M 0,60 C 0,65 10,65 10,60 L 10,50 L 35,70 L 35,85 C 35,90 45,90 45,85 L 45,70 L 75,70 L 75,85 C 75,90 85,90 85,85 L 85,60 L 40,60 L 5,30 C 9,20 45,20 50,25 L 50,10 C 50,5 40,5 40,10 L 40,15 L 10,15 L 10,10 C 10,5 0,5 0,10 C 0,10 0,60 0,60 z M 10,35 C 15,25 45,25 55,35 L 85,60 C 75,50 40,50 40,60 L 10,35 z "/>
		</svg>
	</icon>

	<icon id='parking-icon' width='20m,5pt,200pt'>
		<svg width="20" height="20">
			 <rect x="0" y="0" width="20" height="20" rx="2" ry="2" style="stroke-width:0;fill:#0000ff" />
			 <path d="M4,17 L4,3 10,3 C14,3 16,5 16,7.5 C16,10 14,12 10,12 L8.5,12 8.5,17 z M8.5,9 L10,9 C13,9 13,6 10,6 L8.5,6 8.5,9 z" style="stroke-width:0;fill:#ffffff" />
		</svg>
	</icon>

	<icon id='theatre-icon' width='20m,5pt,200pt'>
		<svg width="23.3" viewBox="0 0 550 550" height="23.3">
		   <g stroke="none" transform="translate(55,0)" fill-opacity="1" fill-rule="nonzero">
				<path d="M192.4,22c0,0,50,26,112,20s94-39,98-42s17,32,17,32l4,33l-3,29l5,24l7,39l-5,32l-6,32l-19,55l-25,49l-59,21l-30-14l-22-22l-29-47l4-40l-20-28l-18-24l1-34l2-54l-8-35L192.4,22z"/>
				<path fill="none" stroke="#FFFFFF" stroke-width="10" d="M210.4,44.5c0,0,43.8,22.8,98,17.5s82.3-34.1,85.8-36.8s14.9,28,14.9,28l3.5,28.9l-2.6,25.4l4.4,21l6.1,34.1l-4.4,28l-5.3,28l-16.6,48.1l-21.9,42.9L320.6,328l-26.3-12.3l-19.3-19.3l-25.4-41.1l3.5-35l-17.5-24.5l-15.8-21l0.9-29.8l1.8-47.3l-7-30.6L210.4,44.5z"/>
				<path fill="#FFFFFF" d="M293.4,152c0,8.3-11.4,15-25.5,15s-25.5-6.7-25.5-15s11.4-15,25.5-15S293.4,143.7,293.4,152z"/>
				<path fill="#FFFFFF" d="M406.4,140.5c0,8.6-13.2,15.5-29.5,15.5s-29.5-6.9-29.5-15.5s13.2-15.5,29.5-15.5S406.4,131.9,406.4,140.5z"/>
				<path fill="none" stroke="#FFFFFF" stroke-width="10" d="M248.4,124l14-43l15,27"/>
				<path fill="none" stroke="#FFFFFF" stroke-width="10" d="M336.4,110l7-32l35,23"/>
				<path fill="none" stroke="#FFFFFF" stroke-width="10" d="M317.4,146l-7,72l22-1L317.4,146z"/>
				<path xmlns="" fill="none" stroke="#FFFFFF" stroke-width="10" d="M305.4,297c0,0,2-55,27-57s37,16,41,30"/>
				<path fill="#FFFFFF" stroke="#000000" stroke-width="10" d="M207.4,90c0,0-19,18-61,17s-42,5-83-33s-31-38-31-38l-9,105l-5,22l-13,15l26,128l37,82c0,0,3,9,38,9s30-10,40-20s15-35,34-49s41-47,41-47l17-21l3-34l-23-29l-12-32L207.4,90z"/>
				<path fill="none" stroke="#000000" stroke-width="10" d="M51.4,150c0,0-2-15,25-15s31,17,31,17"/>
				<path fill="none" stroke="#000000" stroke-width="10" d="M153.4,168c0,0,6-11,12-14s22,5,22,5"/>
				<path d="M51.4,193l23-19c0,0,12-2,25,2s7,14,7,14L51.4,193z"/>
				<path d="M164.4,199c0,0,14-13,27-10s16,19,16,19s-7,6-26,1S164.4,199,164.4,199z"/>
				<path d="M125.4,188l-25,83h29L125.4,188z"/>
				<path d="M61.4,258c0,0,0-4,14,16s10,36,44,34s38-45,55-42s13,8,7,20s-23,23-32,35s5,40-39,38s-43-44-49-48S61.4,258,61.4,258z"/>
			</g>
		</svg>
	</icon>

	<icon id='cinema-icon' width='20m,5pt,200pt'>
		<svg width="23.3" viewBox="0 0 420 420" height="23.3">
			<g transform="translate(50,0)">
				<path fill="black" d="M123.7,393.2l-35.9,9L0,50.9l35.9-9L123.7,393.2z"/>
				<path fill="black" d="M291.5,351.2l-35.9,9L167.8,9l35.9-9L291.5,351.2z"/>
				<path fill="black" d="M201.9,27.8l9,35.9L19.8,111.5l-9-35.9L201.9,27.8z"/>
				<path fill="black" d="M234.8,159.2l9,35.9L52.6,242.9l-9-35.9L234.8,159.2z"/>
				<path fill="black" d="M267.7,290.7l9,35.9L85.5,374.4l-9-35.9L267.7,290.7z"/>
				<path fill="#FFFFFF" d="M40.5,97.5l-21.3,5.3l-5.3-21.3l21.3-5.3L40.5,97.5z"/>
				<path fill="#FFFFFF" d="M56.9,163l-21.3,5.3L30.2,147l21.3-5.3L56.9,163z"/>
				<path fill="#FFFFFF" d="M73.3,228.5l-21.3,5.3l-5.3-21.3l21.3-5.3L73.3,228.5z"/>
				<path fill="#FFFFFF" d="M89.6,294l-21.3,5.3L63,278l21.3-5.3L89.6,294z"/>
				<path fill="#FFFFFF" d="M106,359.4l-21.3,5.3l-5.3-21.3l21.3-5.3L106,359.4z"/>
				<path fill="#FFFFFF" d="M209.1,54.3l-21.3,5.3l-5.3-21.3l21.3-5.3L209.1,54.3z"/>
				<path fill="#FFFFFF" d="M225.4,119.8l-21.3,5.3l-5.3-21.3l21.3-5.3L225.4,119.8z"/>
				<path fill="#FFFFFF" d="M241.8,185.3l-21.3,5.3l-5.3-21.3l21.3-5.3L241.8,185.3z"/>
				<path fill="#FFFFFF" d="M258.2,250.8l-21.3,5.3l-5.3-21.3l21.3-5.3L258.2,250.8z"/>
				<path fill="#FFFFFF" d="M274.6,316.3l-21.3,5.3l-5.3-21.3l21.3-5.3L274.6,316.3z"/>
			</g>
		</svg>
	</icon>

	<icon id='atm-icon' width='10m,5pt,100pt'>
		<svg width="20" height="20" >
		  <g>
			<path
			   style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.10947382;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;"
			   d="M 4.9278227,4.4824438 L 2.8457825,17.656773 L 16.915327,17.656773 L 14.864833,4.4445865 L 4.9278227,4.4824438 z"
			   id="path2425" />
			<rect
			   style="stroke-width:2.49099994;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none"
			   id="rect2397"
			   width="14.015866"
			   height="3.0304577"
			   x="2.841054"
			   y="1.4384469" />
			<text x='6.5' y='15' font-size='10' font-family='sans-serif' font-weight='bold' fill='white'>&#xA3;</text>
		  </g>
		</svg>
	</icon>

	<icon id='pharmacy-icon' width='20m,5pt,200pt'>
		<svg viewBox="0 0 36 36" height="62">
		   <rect style="fill:limegreen" x="0" y="0" width="36" height="36" rx="2" ry="2"/>
		   <path style="fill:#ffffff" d="M20.14 17.3 L20.14 9.44 L11.86 9.44 L11.86 17.3 L4 17.3 
			L4 25.58 L11.86 25.58 L11.86 33.44 L20.14 33.44 L20.14 25.58 L28 25.58 L28 17.3 L20.14 17.3 Z
			M0.5 37.44 L31.5 37.44 a0.5 0.5 -180 0 0 0.5 -0.5 L32 5.94 a0.5 0.5 -180 0 0 -0.5 -0.5
			L0.5 5.44 a0.5 0.5 -180 0 0 -0.5 0.5 L0 36.94 a0.5 0.5 -180 0 0 0.5 0.5 Z M2 35.44 L2 
			7.44 L30 7.44 L30 35.44 L2 35.44 Z" transform="translate(2,-3.44)"/>
		</svg>
	</icon>

	<icon id='toilet-icon' width='20m,5pt,200pt'>
		<svg viewBox="0 0 200 200" width="18.64" height="18.64">
		   <rect style="fill:darkgreen;fill-opacity:1" width="200" height="200" x="0" y="0" rx="40" ry="40"/>
		   <rect style="fill:#ffffff;stroke:#ffffff;stroke-width:5px;stroke-linejoin:round;stroke-opacity:1" y="30.489416" x="100.1455" height="141.07143" width="11.428572"/>
		   <path style="fill:#ffffff;stroke:#ffffff;stroke-opacity:1" d="M 162.85978,41.739417 C 162.85978,48.366834 157.4872,53.739417 150.85978,53.739417 C 144.23236,53.739417 138.85978,48.366834 138.85978,41.739417 C 138.85978,35.112 144.23236,29.739417 150.85978,29.739417 C 157.4872,29.739417 162.85978,35.112 162.85978,41.739417 L 162.85978,41.739417 z "/>
		   <path style="fill:#ffffff;stroke:#ffffff;stroke-linejoin:round;stroke-opacity:1" d="M 69.645503,42.989417 C 69.645503,49.616834 64.27292,54.989417 57.645503,54.989417 C 51.018086,54.989417 45.645503,49.616834 45.645503,42.989417 C 45.645503,36.362 51.018086,30.989417 57.645503,30.989417 C 64.27292,30.989417 69.645503,36.362 69.645503,42.989417 z "/>
		   <path style="fill:#ffffff;fill-rule:evenodd;stroke:#ffffff;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" d="M 54.920897,128.44734 L 59.466584,128.44734 L 60.224198,168.6009 L 67.547804,168.6009 L 68.305419,128.1948 L 80.427249,127.94226 L 67.295266,79.707479 L 70.8308,77.687174 L 81.437402,112.53743 L 89.266084,108.24428 L 73.356181,61.777271 L 41.283838,60.767119 L 24.868859,109.25444 L 31.939927,112.03236 L 43.556681,77.687174 L 46.839677,78.19225 L 33.707694,127.43718 L 44.819372,127.68972 L 46.334601,168.85344 L 53.658207,168.85344 L 54.920897,128.44734 z "/>
		   <path style="fill:#ffffff;fill-rule:evenodd;stroke:#ffffff;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1" d="M 133.96533,60.514581 L 164.77498,60.262042 L 174.87651,68.090725 L 176.64428,113.29505 L 167.80544,113.04251 L 166.79529,77.182098 L 162.2496,76.677021 L 162.37587,168.97971 L 153.91584,169.23224 L 152.14808,114.3052 L 147.85493,114.05266 L 146.84478,169.61105 L 139.01609,169.10598 L 138.51102,77.434636 L 133.71279,77.434636 L 134.21787,112.53743 L 125.63157,112.78997 L 124.87396,68.595801 L 133.96533,60.514581 z "/>
		</svg>
	</icon>

	<icon id='airport-icon' width='100m,10pt,200pt'>
		<svg viewBox="0 0 10 10" fill="blue" stroke="none" width="24" height="24">
		   <path fill='blue' d="M 9.2,5 C 9.2,4.5 9.8,3.2 10,3 L 9,3 L 8,4 L 5.5,4 L 8,0 L 6,0 L 3,4 C 2,4 1,4.2 0.5,4.5 C 0,5 0,5 0.5,5.5 C 1,5.8 2,6 3,6 L 6,10 L 8,10 L 5.5,6 L 7.8,6 L 9,7 L 10,7 C 9.8,6.8 9.2,5.5 9.2,5 z "/>
		</svg>
	</icon>

	<icon id='fuel-icon' width='30m,5pt,200pt'>
		<svg width="18.64" height="18.64" viewBox="0 0 115 115" stroke-width="3px">
		   <path fill='blue' d="M 22.7283 108.087 C 4.26832 107.546 23.6818 43.3596 32.6686 21.0597 C 33.8491 17.0245 60.28 18.4952 
		   60.0056 19.8857 C 59.0889 25.9148 54.8979 23.2429 52.0142 26.8579 L 51.7464 36.8066 C 48.6085 40.8144 40.2357 34.4677
		   38.078 42.8773 C 31.3694 92.5727 45.0689 108.819 22.7283 108.087 z M 85.3122 9.52799 L 29.1766 9.52847 C 28.4855 17.5896
		   -11.559 113.573 22.9292 113.284 C 48.5214 113.073 39.5312 104.08 42.6984 51.03 C 41.8513 49.3228 50.871 48.6585 50.8739
		   51.4448 L 51.0453 116.604 L 97.6129 116.188 L 97.6129 26.544 C 96.0669 24.2073 93.899 25.2958 90.584 22.394 C 87.7907
		   19.4131 92.2353 9.52799 85.3122 9.52799 z M 64.0766 35.3236 C 61.5443 36.7258 61.5443 45.2814 64.0766 46.6836 C 68.3819
		   49.0684 80.2848 49.0684 84.5902 46.6836 C 87.1225 45.2814 87.1225 36.7258 84.5902 35.3236 C 80.2848 32.9393 68.3819
		   32.9393 64.0766 35.3236 z "/>
		</svg>
	</icon>

    <rampGradient id="terrain-feet-height-ramp">
        <stop offset='100ft-height' color='darkseagreen' opacity='0.5'/>
        <stop offset='600ft-height' color='palegreen'  opacity='0.5'/>
        <stop offset='1200ft-height' color='palegoldenrod'  opacity='0.5'/>
        <stop offset='3000ft-height' color='burlywood' opacity='0.5'/>
        <stop offset='4500ft-height' color='lightsalmon' opacity='0.5'/>
        <stop offset='6000ft-height' color='#BBBBBB' opacity='0.5'/>
        <stop offset='9000ft-height' color='#CCCCCC' opacity='0.5'/>
        <stop offset='12000ft-height' color='#EEEEEE' opacity='0.5'/>
        <stop offset='18000ft-height' color='white' opacity='0.5'/>
		<stop offset='30000ft-height' color='white' opacity='0.5'/>
		<range start='0' end='1' color='#00000000' opacity='0.5'/>
		<range start='1' end='100ft-height' color='darkseagreen' opacity='0.5'/>
    </rampGradient>

	<!-- A general-purpose arrow that will not stick outside its stroke if drawn using units of 1/1024 of the stroke width. -->
	<def id='arrow' string='M -450 -50 V 50 H 250 L -100 400 H 50 L 450 0 L 50 -400 H -100 L 250 -50 H -450 Z'/>

	<macro id='minor-road-label'>
		<scale max='20000'>
			<label font-size='75%,8pt' glow='white' glowWidth='7%,1' color='black' case='assume-title' condense='no' letter-spacing='-0.05em'/>
		</scale>
	</macro>

	<macro id='standard-tunnel'>
		<scale max='50000'>
			<tunnel dashArray='1.5,1.5' fade='0.3'/>
		</scale>
	</macro>

</defs>

<layer name='outline'>
	<line width='1m,0.5' fill='lightblue'/>
	<shape fill='white' border='white' borderWidth='1m,0.5'/>
</layer>

<scale min='50000'>
	<layer name='terrain-height-feet'>
		<shape fill='url(#terrain-feet-height-ramp)'/>
	</layer>

	<layer name='terrain-shadow'>
		<shape fill='#772'/>
	</layer>
</scale>

<scale max='400000'>
    <layer name='contour'>
        <line width='0.5' fill='#0c0'/>
    </layer>
</scale>

<scale min='25000'>
	<layer name='place'>
		<label font-size='130m,8pt,24pt' color='darkslategrey' glow='white' glowWidth='7%,1' case='title' priority='0' wrapWidth='6em' duplicate='10000m,1024'/>

		<condition test='Type#FFFF0000=cit'>
			<label color='black' priority='-4' font-size='200m,12pt,36pt' font-weight='bold'/>
		</condition>

		<scale max='500000'>
			<condition test='Type#FFFF0000=tow'>
			<label priority='-3' font-size='200m,12pt,36pt'/>
			</condition>
		</scale>

		<scale max='200000'>
			<condition test='Type#FFFF0000=vil'/>
		</scale>

		<scale max='100000'>
			<condition test='Type#FFFF0000=sub'/>
		</scale>

		<scale max='50000'>
			<condition test='Type#FFFF0000=ham'/>
		</scale>
	</layer>
</scale>

<layer name='land'>
	<label font-size='25m,8pt,18pt' color='darkgreen' case='assume-title' glow='white' glowWidth='7%,1' position='horizontal' condense='no'
	maxPolygonLabelLength='3' wrapWidth='10em' wrap='yes'/>

	<!-- COMMERCIAL, INDUSTRIAL -->
	<condition test='Type#FFFF0000=cmr;ind'>
		<shape fill='lavender'/>
	</condition>

	<!-- PARK -->
	<condition test='Type#FFFF0000=par'>
		<scale max='50000'/>
		<shape fill='lightgreen' border='darkgreen' borderWidth='2m,1'/>
	</condition>

	<!-- FOREST or WOOD -->
	<condition test='Type#FFFF0000=for;woo'>
		<shape fill='limegreen' opacity='0.5'/>
	</condition>

	<!-- COMMON -->
	<condition test='Type#FFFF0000=com'>
		<scale max='250000'/>
		<shape fill='lightgreen' border='darkgreen' borderWidth='2m,1'/>
	</condition>

	<!-- SPORTS PITCH -->
	<condition test='Type#FFFF0000=spp'>
		<scale max='100000'/>
		<shape fill='mediumaquamarine' border='mediumseagreen' borderWidth='2m,1'/>
	</condition>

	<!-- BODY OF WATER -->
	<condition test='Type#FFFF0000=wat;rvb'>
		<shape fill='lightblue' border='lightblue' borderWidth='0.5'/>
		<label color='blue' font-style='italic' case='assume-title'/>
	</condition>

	<!--- AIRPORT APRON -->
	<condition test='Type#FFFF0000=apr'>
		<scale max='100000'/>
		<shape fill='orange' opacity='0.5'/>
	</condition>

</layer>

<scale max='500000'>
<layer name='waterway'>

	<label font-style='italic' color='blue' case='assume-title' glow='white' glowWidth='7%,1' priority='1' position='centralpath'/>
	<line fill='lightblue'/>
	<shape fill='lightblue'/>

	<!-- RIVER -->
	<condition test='Type#FFFF0000=riv'>
		<line width='20m,1pt'/>
		<label font-size='75%,8pt' maxScale='250000'/>
	</condition>

	<!-- CANAL -->
	<condition test='Type#FFFF0000=can'>
		<line width='8m,1pt'/>
		<label font-size='75%,8pt' maxScale='250000'/>
	</condition>

	<scale max='50000'>
		<!-- STREAM -->
		<condition test='Type#FFFF0000=str'>
			<line width='8m,1pt'/>
			<label font-size='75%,8pt'/>
		</condition>

		<!-- DRAIN -->
		<condition test='Type#FFFF0000=dra'>
			<line width='4m,1pt'/>
			<label font-size='75%,8pt'/>
		</condition>
	</scale>
</layer>
</scale>


<layer name='building'>
	<scale max='25000'/>
	<shape fill='goldenrod'/>
	<label font-size='20m,8pt,24pt' color='white' case='assume-title' glow='darkgoldenrod' glowWidth='8%,1.25' glowOffsetX='10%' glowOffsetY='10%'/>
</layer>


<!-- START OF ROAD LAYER GROUP -->
<layerGroup>

<scale max='100000'>
	<layer name='minor-road' road='true'>

		<!-- PEDESTRIAN -->
		<condition test='Type#FFFFFF80=#A00'>
			<line width='8m,0.5pt' fill='white' border='dimgrey' borderWidth='8%,0.7,2'/>
			<macro ref='minor-road-label'/>
			<bridge width='16m,2pt' border='dimgrey' borderWidth='14%,1' endPath='l 256 256'/>
			<macro ref='standard-tunnel'/>
		</condition>
																																							
		<!-- SERVICE -->
		<condition test='Type=#600,#7FF'>
			<line width='12m,0.5pt' fill='white' border='dimgrey' borderWidth='8%,0.7,2'/>
			<macro ref='minor-road-label'/>
			<oneWayArrow path='#arrow' gap='2500' fill='teal' opacity='0.5' isLabel='yes'/>
			<bridge width='15m,2pt' border='dimgrey' borderWidth='14%,1' endPath='l 256 256'/>
			<macro ref='standard-tunnel'/>
		</condition>

		<!-- TRACK -->
		<condition test='Type#F80=#500'>
			<line width='12m,0.5pt' fill='white' border='dimgrey' borderWidth='8%,0.7,2'/>
			<macro ref='minor-road-label'/>
			<oneWayArrow path='#arrow' gap='2500' fill='teal' opacity='0.5' isLabel='yes'/>
			<bridge width='15m,2pt' border='dimgrey' borderWidth='14%,1' endPath='l 256 256'/>
			<macro ref='standard-tunnel'/>
		</condition>

		<!-- UNCLASSIFIED -->
		<condition test='Type#F80=#480'>
			<line width='25m,0.5pt' fill='ivory' border='black' borderWidth='8%,0.7,2'/>
			<macro ref='minor-road-label'/>
			<oneWayArrow path='#arrow' gap='2500' fill='teal' opacity='0.5' isLabel='yes'/>
			<bridge width='31m,2pt' border='black' borderWidth='8%,1' endPath='l 200 200'/>
			<macro ref='standard-tunnel'/>
		</condition>

	</layer>
</scale>

<scale max='1000000'>
	<layer name='mid-road' road='true'>

		<!-- TERTIARY -->
		<condition test='Type#F80=#400'>
			<line width='25m,0.5pt' fill='khaki' border='black' borderWidth='8%,0.7,2'/>
			<macro ref='minor-road-label'/>
			<oneWayArrow path='#arrow' gap='2500' fill='teal' opacity='0.5' isLabel='yes'/>
			<bridge width='31m,2pt' border='black' borderWidth='8%,1' endPath='l 200 200' maxScale='50000'/>
			<macro ref='standard-tunnel'/>
		</condition>

		<!-- SECONDARY -->
		<condition test='Type#F80=#300'>
			<line width='25m,1pt' fill='gold' border='dimgrey' borderWidth='8%,0.7,2'/>
			<label labelAttrib='ref' font-size='75%,8pt' glow='white'  glowWidth='7%,1' color='black' case='assume-title' maxScale='50000' duplicate='1000m,256'/>
			<label labelAttrib='' font-size='75%,8pt' glow='white' glowWidth='7%,1' color='black' case='assume-title' maxScale='50000'/>
			<oneWayArrow path='#arrow' gap='2500' fill='teal' opacity='0.5' isLabel='yes'/>
			<bridge width='31m,2pt' border='dimgrey' borderWidth='14%,1' endPath='l 256 256' maxScale='50000'/>
			<macro ref='standard-tunnel'/>
		</condition>

	</layer>
</scale>

<layer name='major-road' road='true'>

	<!-- PRIMARY -->
	<condition test='Type#F80=#280'>
		<line width='30m,1pt' fill='salmon' border='dimgrey' borderWidth='8%,0.7,2'/>
		<label labelAttrib='' font-size='75%,8pt' glow='white' glowWidth='7%,1' color='black' case='upper' word-spacing='0.001em' maxScale='100000' duplicate='1000m,256'/>
		<label labelAttrib='ref' font-size='75%,8pt' color='black' position='box' boxFill='white' boxPadding='15%,1pt' boxStroke='black' boxOutline='10%,1pt' case='upper' condense='no' maxScale='500000' duplicate='1000m,256'/>
		<oneWayArrow path='#arrow' gap='2500' fill='teal' opacity='0.5' isLabel='yes'/>
		<bridge width='37.5m,2pt' border='dimgrey' borderWidth='14%,1' endPath='l 256 256' maxScale='50000'/>
		<macro ref='standard-tunnel'/>
	</condition>

	<!-- TRUNK LINK -->
	<condition test='Type#FC0=#240'>
		<line width='12m,1.5pt' fill='mediumseagreen' border='dimgrey' borderWidth='8%,0.7,2'/>
		<label labelAttrib='ref' font-size='75%,8pt' font-weight='bold' color='yellow' position='box' boxFill='green' boxPadding='15%,1pt' boxStroke='white' boxOutline='10%,1pt' case='upper' condense='no' maxScale='500000' duplicate='1000m,256'/>
		<label labelAttrib='' font-size='75%,8pt' glow='white' glowWidth='7%,1' color='black' case='upper' letter-spacing='0.2em' word-spacing='0.1em' maxScale='500000' duplicate='1000m,256'/>
		<oneWayArrow path='#arrow' gap='2500' fill='teal' opacity='0.5' isLabel='yes'/>
		<bridge width='37.5m,2pt' border='dimgrey' borderWidth='14%,1' endPath='l 256 256' maxScale='50000'/>
		<macro ref='standard-tunnel'/>
	</condition>

	<!-- TRUNK -->
	<condition test='Type#FC0=#200'>
		<line width='30m,1.5pt' fill='mediumseagreen' border='dimgrey' borderWidth='8%,0.7,2'/>
		<label labelAttrib='ref' font-size='75%,8pt' font-weight='bold' color='yellow' position='box' boxFill='green' boxPadding='15%,1pt' boxStroke='white' boxOutline='10%,1pt' case='upper' condense='no' maxScale='500000' duplicate='1000m,256'/>
		<label labelAttrib='' font-size='75%,8pt' glow='white' glowWidth='7%,1' color='black' case='upper' letter-spacing='0.2em' word-spacing='0.1em' maxScale='500000' duplicate='1000m,256'/>
		<oneWayArrow path='#arrow' gap='2500' fill='teal' opacity='0.5' isLabel='yes'/>
		<bridge width='37.5m,2pt' border='dimgrey' borderWidth='14%,1' endPath='l 256 256' maxScale='50000'/>
		<macro ref='standard-tunnel'/>
	</condition>

	<!-- MOTORWAY LINK -->
	<condition test='Type#FC0=#140'>
		<line width='18m,2pt' fill='cornflowerblue' border='dimgrey' borderWidth='8%,0.7,2'/>
		<label labelAttrib='' font-size='75%,8pt' font-weight='bold' glow='white' glowWidth='7%,1' color='black' case='upper' letter-spacing='0.5em' word-spacing='0.25em' duplicate='1000m,512'/>
		<extraLabel labelAttrib='ref' font-size='100%,10pt' font-weight='bold' color='white' position='box' boxFill='blue' boxPadding='15%,1pt' boxStroke='white' boxOutline='10%,1pt' case='upper' condense='no' duplicate='1000m,512'/>
		<bridge shadow='#0000FF40' shadowOffsetX='30%' shadowOffsetY='30%' shadowWidth='150%,3pt' borderWidth='14%,1' endPath='l 256 0 l 0 180' maxScale='50000'/>
		<macro ref='standard-tunnel'/>
	</condition>

	<!-- MOTORWAY -->
	<condition test='Type#FC0=#100'>
		<line width='30m,2pt' fill='cornflowerblue' border='dimgrey' borderWidth='8%,0.7,2'/>
		<label labelAttrib='' font-size='75%,8pt' font-weight='bold' glow='white' glowWidth='7%,1' color='black' case='upper' letter-spacing='0.5em' word-spacing='0.25em' duplicate='1000m,512'/>
		<extraLabel labelAttrib='ref' font-size='100%,10pt' font-weight='bold' color='white' position='box' boxFill='blue' boxPadding='15%,1pt' boxStroke='white' boxOutline='10%,1pt' case='upper' condense='no' duplicate='1000m,512'/>
		<bridge shadow='#0000FF40' shadowOffsetX='30%' shadowOffsetY='30%' shadowWidth='150%,3pt' borderWidth='14%,1' endPath='l 256 0 l 0 180' maxScale='50000'/>
		<macro ref='standard-tunnel'/>
	</condition>

</layer>

<!-- END OF ROAD LAYER GROUP -->
</layerGroup>

<scale max='250000'>
	<layer name='railway' roadflags='#FFFFFFFF'>
		
		<scale max='50000'>
		<line width='12m,2pt' border='grey' borderWidth='10%,0.7,2' fill='white' dashArray='5,5'/>
		<label font-size='75%,8pt' glow='white' glowWidth='7%,1' color='black' case='assume-title'/>
		</scale>
		
		<scale min='50000'>
		<line width='15m,1pt' fill='darkgrey'/>
		</scale>
		
		<bridge width='15m,4pt' border='grey' borderWidth='14%,1' endPath='l 256 256' maxScale='50000'/>
	</layer>
</scale>

<layer name='path' roadflags='#FFFFFFFF'>

	<!-- FOOTPATH -->
	<condition test='Type#FFFE0000=foo'>
		<scale max='10000'/>
		<line width='2.5m,1pt' fill='yellow' opacity='0.25'/>
		<repeatedSymbol path='M 0 500 C 276 500 500 276 500 0 C 500 -276 276 -500 0 -500 C -276 -500 -500 -276 -500 0 C -500 276 -276 500 0 500 Z'
			gap='2048' fill='red' />
		<label font-size='75%,8pt' font-style='italic' glow='white' glowWidth='7%,1' color='black' case='assume-title'/>
		<bridge width='5m,2pt' border='red' borderWidth='14%,1' endPath='l 256 256'/>
	</condition>
	<condition test='Type#FFFE0000=foo'>
		<scale min='10000' max='50000'/>
		<line width='2.5m,0.5pt' fill='orange'/>
		<label font-size='75%,8pt' font-style='italic' glow='white' glowWidth='7%,1' color='black' case='assume-title' maxScale='25000'/>
		<bridge width='5m,2pt' border='red' borderWidth='14%,1' endPath='l 256 256'/>
	</condition>

	<!-- CYCLEWAY -->
	<scale max='10000'>
	<condition test='Type#FFFE0000=cyc'>
		<line width='2.5m,1pt' fill='yellow' opacity='0.25'/>
		<repeatedSymbol path='M 0 500 C 276 500 500 276 500 0 C 500 -276 276 -500 0 -500 C -276 -500 -500 -276 -500 0 C -500 276 -276 500 0 500 Z'
			gap='2048' fill='blue' />
		<label font-size='75%,8pt' font-style='italic' glow='white' glowWidth='7%,1' color='black' case='assume-title'/>
		<bridge width='5m,2pt' border='blue' borderWidth='14%,1' endPath='l 256 256'/>
	</condition>
	</scale>

	<scale min='10000' max='50000'>
	<condition test='Type#FFFE0000=cyc'>
		<line width='2.5m,0.5pt' fill='lightblue'/>
		<label font-size='75%,8pt' font-style='italic' glow='white' glowWidth='7%,1' color='black' case='assume-title' maxScale='25000'/>
		<bridge width='5m,2pt' border='blue' borderWidth='14%,1' endPath='l 256 256'/>
	</condition>
	</scale>

</layer>

<scale max='10000'>
	<layer name='tourism'>
		<!-- HOTEL, MOTEL, GUEST_HOUSE -->
		<condition test='Type#FFFF0000=hot;mot;gue'>
			<icon ref='hotel-icon'/>
			<label font-size='10m,8pt' color='brown' glow='white' glowWidth='7%,1' case='title' priority='-1'/>
		</condition>
	</layer>
</scale>

<layer name='amenity'>
	<scale max='100000'>
		<!-- DEFAULT -->
		<label font-size='10m,8pt' color='black' glow='white' glowWidth='7%,1' case='title' priority='-1'/>
		<shape fill='dimgrey' opacity='0.5'/>

		<!-- RAILWAY STATION -->
		<condition test='Type#FFFF0000=stn'>
			<scale max='100000'/>
			<icon ref='station-icon'/>
			<label font-size='25m,9pt' font-stretch='condensed' color='red' glow='white' glowWidth='7%,1' priority='-2' condense='no'/>
			<shape fill='brown' opacity='0.5'/>
		</condition>
		<condition test='Type#FFFF0000=stn'>
			<scale min='50000'/>
			<shape fill='brown' opacity='0.5'/>
		</condition>

		<!-- THEATRE -->
		<condition test='Type#FFFF0000=the'>
			<scale max='10000'/>
			<icon ref='theatre-icon'/>
			<label font-size='10m,8pt' color='black' glow='white' glowWidth='7%,1' case='title' priority='-1'/>
		</condition>

		<!-- CINEMA -->
		<condition test='Type#FFFF0000=cin'>
			<scale max='10000'/>
			<icon ref='cinema-icon'/>
			<label font-size='10m,8pt' color='black' glow='white' glowWidth='7%,1' case='title' priority='-1'/>
		</condition>

		<!-- RESTAURANT -->
		<condition test='Type#FFFF0000=rst'>
			<scale max='5000'/>
			<icon ref='restaurant-icon'/>
			<label font-size='10m,8pt' color='brown' glow='white' glowWidth='7%,1' case='title' priority='-1'/>
		</condition>

		<!-- RESTAURANT -->
		<condition test='Type#FFFF0000=caf'>
			<scale max='5000'/>
			<icon ref='cafe-icon'/>
			<label font-size='10m,8pt' color='brown' glow='white' glowWidth='7%,1' case='title' priority='-1'/>
		</condition>

		<!-- PUB -->
		<condition test='Type#FFFF0000=pub'>
			<scale max='5000'/>
			<icon ref='pub-icon'/>
			<label font-size='10m,8pt' color='brown' glow='white' glowWidth='7%,1' case='title' priority='-1'/>
		</condition>

		<!-- CAR PARKING -->
		<condition test='Type#FFFF0000=pkg'>
			<scale max='10000'/>
			<icon ref='parking-icon'/>
			<label font-size='7m,8pt' color='blue' glow='white' glowWidth='7%,1' case='upper' priority='-1'/>
		</condition>

		<!-- FUEL -->
		<condition test='Type#FFFF0000=fue'>
			<scale max='20000'/>
			<icon ref='fuel-icon'/>
			<label font-size='7m,8pt' color='blue' glow='white' glowWidth='7%,1' case='upper' priority='-2'/>
		</condition>

		<!-- ATM -->
		<condition test='Type#FFFF0000=atm'>
			<scale max='5000'/>
			<icon ref='atm-icon'/>
			<label font-size='7m,8pt' color='green' glow='white' glowWidth='7%,1' case='title' priority='-1'/>
		</condition>

		<!-- PHARMACY -->
		<condition test='Type#FFFF0000=pha'>
			<scale max='5000'/>
			<icon ref='pharmacy-icon'/>
			<label font-size='10m,8pt' color='green' glow='white' glowWidth='7%,1' case='title' priority='-1'/>
		</condition>

		<!-- TOILETS -->
		<condition test='Type#FFFF0000=toi'>
			<scale max='10000'/>
			<icon ref='toilet-icon'/>
			<label font-size='10m,8pt' color='black' glow='white' glowWidth='7%,1' case='title' priority='-1'/>
		</condition>
	</scale>

	<!-- AIRPORTS -->
	<condition test='Type#FFFF0000=aer'>
		<icon ref='airport-icon'/>
		<label font-size='30m,9pt' color='blue' glow='white' glowWidth='7%,1' case='title' priority='-3'/>
	</condition>

	<!-- AIRPORT RUNWAYS AND TAXIWAYS -->
	<scale max='250000'>
		<condition test='Type#FFFF0000=run'>
			<line width='70m' fill='sandybrown'/>
		</condition>
		<condition test='Type#FFFF0000=twy'>
			<line width='25m' fill='sandybrown'/>
		</condition>
	</scale>

</layer>

<labelLayer/>

<scale min='5000' max='25000'>
	<layer name='place'>
		<label duplicate='10000m,1024'/>
		<condition test='Type#FFFF0000=cit'>
			<label font-size='200m' font-weight='bold' color='black' case='upper' letter-spacing='1em' word-spacing='0.25em' opacity='0.4'/>
		</condition>
		<condition test='Type#FFFF0000=tow'>
			<label font-size='150m' font-weight='bold' color='darkslategrey'  case='upper' letter-spacing='1em' word-spacing='0.25em' opacity='0.4'/>
		</condition>
		<condition test='Type#FFFF0000=vil;sub'>
			<label font-size='100m' font-weight='bold' color='darkslategrey' case='title' opacity='0.4'/>
		</condition>
		<condition test='Type#FFFF0000=ham'>
			<label font-size='75m' font-weight='bold' color='darkslategrey' case='title' opacity='0.4'/>
		</condition>
	</layer>
</scale>

<!-- A layer for highlighted routes -->
<layer name="route" roadflags='#FFFFFFFF'>
	<line width="3m3,10pt" fill='orange' opacity="0.5"/>
	<repeatedSymbol path='#arrow' gap='2000' fill='red' maxScale='10000000'/>
</layer>

<!-- A layer for GPS data. -->
<layer name="gps" roadflags='#FFFFFFFF'>
	<scale max='100000'/>
	<icon width='40m,12pt,100pt'>
		<svg width='40' height='40'>
			<circle fill='tomato' cx='20' cy='20' r='20' />
		</svg>
	</icon>
	<line width='2m,1pt' fill='tomato'/>
</layer>

<!-- A layer for found objects -->
<layer name='found'>
	<shape border='red' fill='yellow' opacity='0.5' borderWidth='2m,1pt'/>
	<line width='30m,3pt' border='red' fill='yellow' opacity='0.5' borderWidth='2m,1pt'/>
</layer>

<layer name="pushpin" roadflags='0'>
	<scale max='100000'/>
	<icon width='40m,12pt,100pt'>
		<svg width='40' height='40'>
			<circle fill='tomato' cx='20' cy='20' r='20' />
		</svg>
	</icon>
</layer>

<labelLayer/>

</CartoTypeStyleSheet>

