
@border_country: #787b8c;
@border_country_opacity: 1;
@border_region: linear([view::zoom], (11, #787b8c), (13, #787b8c77), (14, #787b8c00));

@contour_color:#226600;
@contour_width: linear([view::zoom], (16, 0.6), (22, 1.6));
@contour_label: @contour_color;
@contour_halo: @standard-halo-fill;
@contour_halo_radius: 1;

@glacier: #e0f3faaa;
@ice: #ddecec;
@iceshelf: #ddecec77;
@water: #7fcae0;
// @water_stroke: darken(@water, 0%);
@river: linear([view::zoom], (8, #128bc4), (9, @water));
@river-selected: @water;
@waterway: @river;
@river_polygon: @river;

@aboriginal_label: #82643a;
@national_park_label: rgb(99, 150, 65);
@park: #C8FACC; 
@n_park: #b6e69e; 
@national_park_fill: linear([view::zoom], (6, fadeout(@n_park, 0.25)), (11, fadeout(@n_park, 1)));
@protected_area_line: linear([view::zoom], (12, darken(@n_park, 20%)), (14, fadeout(darken(@n_park, 20%), 0.7)));
@aboriginal_line: #D9B391;
@park_line: #82bf5a;


@protected-area: #09330c;
@protected-area_halo: @standard-halo-fill;
@aboriginal_label: #82643a;

@grass_color: #cdebb0;

@grass: linear([view::zoom], (6, fadeout(@grass_color, 0.7)), (12,@grass_color));
@scrub: linear([view::zoom], (6, fadeout(#c8d7ab, 0.7)), (12,#c8d7ab));
@heath:  linear([view::zoom], (6, fadeout(#d6d99f, 0.7)), (12,#d6d99f));
@fell: @heath
@forest: linear([view::zoom], (6, fadeout(#add19e, 0.7)), (12,#add19e));
@forest_pattern_opacity:  linear([view::zoom], (14, 0.5), (16,0.2));
@allotments: linear([view::zoom], (6, fadeout(#c9e1bf, 0.7)), (12,#c9e1bf)) ;
@bare_rock:#eee5dc;
@rock:@bare_rock;
@scree: @rock;
@rock_pattern_fill:#ccc;
@scree_pattern_fill:darken(@bare_rock, 30%);
@cliff: #867056;
@cliff-width: linear([view::zoom], (12, 0.5), (15,1));
@walls: #777777;

@residential: linear([view::zoom], (4,#bdbfb399), (12, #bdbfb333));
@retail: #ffd6d1; 
@commercial: #e8e6df; 
@industrial: #d6d8e177; 
@aeroway: #d6d8e177; 
@farmland: #d8e0bd; 

@university: #e5deb8;
@hospital: #ead2da;
@school: #e5deb8;

@building-fill: #D8D0C9;
@building-opacity: linear([view::zoom], (15,0), (15.01, 0.8), (16, 1));

@building-line: #C2B5AB; 
@building-line-width: linear([view::zoom], (15, 0), (15.01, .75));

@cemetery: #d3dcc1; 
@mud: rgba(203, 177, 154, 0.3); 
@leisure: lighten(@park, 5%);
@tourism: #660033;
@quarry: #c5c3c388;
@military: #f55;
@military_pattern_opacity: linear([view::zoom], (13, 0.2), (15,0.1), (17,0));
@sand: #ededcf;

@pitch: #AAE0CB; 
@track: @pitch;
@stadium: @leisure;
@golf_course: #b5e3b5;

@marine_labels: @water_label;
@marine_labels_halo: @water_halo;
@marine_labels_halo_radius: @standard-halo-radius;



@housenumber: rgb(77, 76, 76);


@motorway-fill: linear([view::zoom], (6, #e66e8933), (7, #e66e89), (10, #e892a2));
@motorway-tunnel-fill:lighten(#e892a2, 10%);
@motorway-casing: linear([view::zoom], (9, #c24e6b00), (10, #c24e6b), (12, #dc2a67));
@motorway-casing-width: linear([view::zoom], (5, 0), (7,1), (18, 2));
@motorway-width: linear([view::zoom], (5, 0), (5.01, 0.75), (7, 0.9), (8, 1.14), (9, 1.4), (10, 1.82), (11, 2.34), (12, 3.3), (13, 4.74), (14, 6.74), (15, 10), (17, 15), (18, 18));
@motorway-link-width: linear([view::zoom], (12, 0), (12.01, 0.5),  (14, 2), (15, 4), (17, 8.4), (18, 16));

@trunk-fill: linear([view::zoom], (5, #fdb59e77), (6, #fdb59e),(11,#f9b29c));
@trunk-tunnel-fill: lighten(#f9b29c, 10%);
@trunk-casing: linear([view::zoom], (10, #a0740000), (11, #a07400), (12, #c84e2f));
@trunk-width: linear([view::zoom], (4, 0), (4.01, 0.75), (7, 0.9), (8, 1.14), (9, 1.4), (10, 1.82), (11, 2.34), (12, 3.3), (13, 4.74), (14, 6.74), (15, 10), (17, 15), (18, 18));
@trunk-casing-width: linear([view::zoom], (4,0), (4.01,1), (10,1), (18, 2));
@trunk-link-width: linear([view::zoom], (12, 0), (12.01, 0.5),  (14, 2), (15, 4), (17, 8.4), (18, 16));

@primary-fill: linear([view::zoom], (7, #f3ba5c), (11, #f3ba5c),(12,#fcd6a4));
@primary-tunnel-fill: @primary-fill;
@primary-casing: linear([view::zoom], (11, #a0740000), (11.01, #a07400));
@primary-casing-width: linear([view::zoom], (10,0), (10.01,1), (18, 2));
@primary-width: linear([view::zoom], (7, 0), (7.01, 0.5), (8, 1), (10, 2), (13, 3), (15, 4.3), (16, 8), (17, 9.5), (18, 12.5));

@primary-link-width: linear([view::zoom], (7, 0), (7.01, 0.5), (8, 0.7), (9, 0.9), (10, 0.9), (11, 1.25), (12, 1.5), (13, 1.5), (15, 3.3), (16, 5.2), (17, 5.7), (18, 7.2));
@tertiary-fill: linear([view::zoom], (10.5,#bbbbbb), (10.6, #FFFFFF));
@tertiary-tunnel-fill: @tertiary-fill;
@tertiary-casing: #d8dbe8;
@tertiary-casing-width: linear([view::zoom], (11, 0), (11.01, 1.5), (12, 1.6), (16, 2.6), (17, 3.2), (18, 3));
@tertiary-width: linear([view::zoom], (10, 0), (10.01, 0.35), (11, 0.95), (12, 1.5), (13, 1.95), (14, 3.9), (15, 4.4), (16, 8.2), (17, 9.7), (18, 12.7));

@secondary-fill: linear([view::zoom], (10.5,#f7fabf), (10.6, #f7fabf));
@secondary-tunnel-fill: @tertiary-fill;
@secondary-casing: linear([view::zoom], (11,#9eae23), (12, #707d05));
@secondary-casing-width: linear([view::zoom], (11, 0), (11.01, 0.6), (15, 0.7),(18, 2));
@secondary-width: linear([view::zoom], (9, 0), (9.01, 1), (10, 2), (12, 2.15), (14, 3.8), (15, 4.3), (16, 8), (17, 9.5), (18, 12.5));

@residential-fill: linear([view::zoom], (12,#d3d3d3), (13, #fff));
@noaccess-opacity:0.8;
@residential-tunnel-fill: @residential-fill;
@residential-casing: #b3b7cb;
@residential-casing-width: linear([view::zoom], (14,0), (14.01, 0.75), (14, 0.82), (14, 0.88), (16, 1));
@residential-width: linear([view::zoom],  (12, 0.5), (13, 0.95), (14, 1.9), (15, 2.4), (16, 5.2), (17, 5.7), (18, 7.7));


@service-fill: #ffffff;
@service-tunnel-fill: darken(#ffffff, 5%);
@service-casing: @residential-casing;
@service-casing-width: linear([view::zoom], (14,0), (14.01,0.5), (16, 1));

@service-width: linear([view::zoom],  (12, 0.5), (13, 0.95), (14, 1), (15, 1.2), (16, 2), (17, 2.5), (18, 3 ), (20, 6 ));


@pedestrian-fill: #ffffff;
@pedestrian-polygon-fill: fadeout(#E5E7F1, 0.2);
@pedestrian-tunnel-fill: darken(@pedestrian-fill, 10%);
@pedestrian-casing: #ffffff00;
@pedestrian-casing-width: linear([view::zoom], (15,0), (15.01,1), (16, 2));
@pedestrian-width: linear([view::zoom], (15,0.5), (16,1), (18,1), (20, 3));
@pedestrian-dasharray: 7,2;
@footway-width: linear([view::zoom], (15,0.5), (16,1), (18,1), (20, 3));

@footway-casing-width: linear([view::zoom], (16,0), (16.01,1), (18, 2));

@path-fill: linear([view::zoom], (13,#bb7979), (14,#bb6868));
@path-casing: linear([view::zoom], (10, #ffffff00), (13, #ffffff));
@path-casing-width: linear([view::zoom], (14,0), (14.01,0.5), (16, 1), (18, 2.5));
@cycleway-casing-width: linear([view::zoom], (14,0), (14.01,1), (16, 1.5));
@path-width: linear([view::zoom], (13,0.5), (14,1), (18,2), (20, 3));
@path-dasharray: 7,1;
@track_path_text_dy: linear([view::zoom], (13, 0), (16, 1), (18, 2));

@step-fill: #ffffff;
@step-casing: #00ffff00;
@step-width: @path-width + linear([view::zoom], (16, 0), (18, 1), (22, 10));
@path-tunnel-casing-width: linear([view::zoom], (14,0), (14.01,0.5), (16,1), (20,2));
@step-dasharray: 2,3;

@track-fill: linear([view::zoom], (13,#996600), (14,#996600));
@track-tunnel-fill: lighten(@pedestrian-fill, 5%);
@track-casing: linear([view::zoom], (10, #ffffff00), (14, #ffffff77));
@track-casing-width: linear([view::zoom], (14,0), (14.01,1), (16, 2.5));
@track-width: @path-width + 0.2;
@track-dasharray: 6,3,6;
@track-grade1-dasharray: 0,0;
@track-grade2-dasharray: 7,1;
@track-grade3-dasharray: 5,2,5;
@track-grade4-dasharray: @track-dasharray;
@track-grade5-dasharray: @track-dasharray;
@track_line_join: miter;
@track_line_cap: butt;

@railway: @pedestrian-polygon-fill;
@railway-line: linear([view::zoom], (8,	#b6b8c3), (10, #aaa), (13, #666));
@railway-track-line:  @railway-line;

@aerial-width: linear([view::zoom], (14,	0.5), (20, 1));
@aerial-fill: #47484d;
@aerial-casing-width: linear([view::zoom], (14,	0.5), (20, 1));
@aerial-casing-fill: #ffffff;

@piste-width: linear([view::zoom], (14,	0), (14.1, 0.8), (18, 5));
@piste-fill: #ffffff88;
@piste-casing-width: linear([view::zoom], (14,	0), (14.1,	0.6), (20, 2));
@piste-casing-fill: #647BF288;

@default-casing: white;
@pedestrian-casing: #999;
@path-casing: @default-casing;
@track-casing: #9b7057;

@raceway-fill: #f0eeeb;
@raceway-casing: #d6d9e6;
@raceway-width: linear([view::zoom], (12, 0), (12.01, 0.5), (14, 2), (16, 6), (18, 18));
@raceway-casing-width: linear([view::zoom], (12, 0), (12.01, 0.75), (20, 2));

@footway-fill: #ffffff;
@steps-fill: @path;
@cycleway-fill: 0;
// @cycleway-inner-fill: linear([view::zoom], (15, #bb6868), (16, rgba(0, 110, 255, 0.6)));
@cycleway-inner-fill: #0000ff;
@bridleway-fill: green;
@track-fill: #ffffff;
@aeroway-fill: #c7cce5;
@apron-fill: #dadae0;
@runway-fill: @aeroway-fill;
@taxiway-fill: @aeroway-fill;
@helipad-fill: @aeroway-fill;
@runway-width: linear([view::zoom], (13,2),(16,24));
@taxiway-width: linear([view::zoom], (11,1), (13, 2), (14,4), (15,6), (16,8));

@tunnel-casing: #ffffff;
@steps-tunnel-casing: #808080;
@tunnel-opacity: 0.9;
@tunnel-dasharray: 8,6;

@bridge_fill: fadeout(#8b8282, 0.5);
@bridge-casing: @bridge_fill;
@railway-bridge-casing: @bridge-casing;
@dam_fill: #cac9c9;
@dam_casing: darken(@dam_fill, 20%);

@piste-fill: #c47aff;
@piste-width: linear([view::zoom], (12, 0.8), (17, 2), (18, 8), (19, 12), (20, 24));


@transportation-area: #e9e7e2;
@apron: #dadae0;
// @garages: #dfddce;
@parking: fadeout(#eeeeee, 0.5);
@parking-outline: darken(@parking, 40%);


@glacier_label: #1C88AF;
@glacier_label_wrap_width: 20;
@water_label: #4d80b3;
@water_halo: @standard-halo-fill;
@water_halo_radius: @standard-halo-radius;
@waterway_label_dy:0;
@waterway_label_spacing: linear([view::zoom], (12,5), (17, 50), (19, 60));

@river-width: linear([view::zoom], (8, 0.9), (15, 2), (16, 4));
@canal_width: linear([view::zoom], (13, 0.9), (14, 1.3), (15, 2));
@stream-width: @canal_width;

@park_label: #3a7921;
@halo_park_label: @standard-halo-radius;

@peak_icon_fill: #ae874d;
@peak_label: #684a1e;
@saddle_icon_fill: #666600;
@sadle_label: #454545;
@peak_halo: @standard-halo-fill;
@peak_halo_radius: @standard-halo-radius;

@peak_icon:[nuti::osm-mountain];
@saddle_icon:[nuti::osm-saddle];

@city-label-icon-size: 4;
@city-label-dy: linear([view::zoom], (4, -5), (7.99, -10), (8, 0));
@city_label_min_dist: 1;
@town-label-icon-size: 3;
@town_label: #000000;

@place_line_spacing:-2;
@city_label: #000000;
@country_label: #000000;
@village_label: #333333;
@island_label: #333333;
@state_label: #666;
@district_label: #7f7f7f;
@suburb_label: #3f4873;
@neighbourhood_label: #7f7f7f;
@housename: #000000;
@building_label: #61615a;
@poi_label: #444444;
@locality_label_fill: #777777;
@hamlet_label: step([view::zoom], (11, #333333), (14, #777777));

@continent_text: #405c78;
@continent_halo: @standard-halo-fill;
@country_halo: @standard-halo-fill;
@state_halo: @standard-halo-fill;
@place_halo: @standard-halo-fill;
@place_halo_radius: @standard-halo-radius; 
@road_label: #303030;

@road_label_halo: @standard-halo-fill;
@road_large_label_fill: #000;
@road_large_label_halo_radius: @standard-halo-radius;

@road_small_label_fill: #000;
@road_small_label_halo_radius: @standard-halo-radius;

@poi-fill: #956e50;
@poi-park-fill: #76BC54;
@poi-national_park-fill: @national_park_label;
@poi-aboriginal-fill: @aboriginal_label;
@poi-food-drink-fill: #c18567;
@poi-medical-fill: #a96078;
@poi-medical-fill: #a96078;
@poi-education-fill: #8f813d;
@poi-lodging-fill: #854d04;
@poi-campsite-fill: #854d04;
@poi-hospital-fill: #4AA0E7;
@poi-bus-fill: #3a4ca6;
@poi-pharmacy-fill: #AF2418;
@poi-water-fill: #4AA0E7;
@poi-spring-size: linear([view::zoom], (14, 3), (16, 10));
@poi-spring_halo_radius: linear([view::zoom], (14, 0), (14.4, 1));
@poi-bakery-fill: #EF8000; 
@poi-restaurant-fill: #BC7729; 
@poi-shop-fill: #9F43A7; 
@poi_halo_radius:@standard-halo-radius;
@poi_halo: @standard-halo-fill;
@poi_icon_halo_radius:1;
@poi_icon_halo: #f2f5f8;


@peak_icon_width: @poi_icon_width + 0.00000001 * [ele];
