Replacing new values

Replacing new values

/* ****************************************************************** */
/* OSM BRIGHT for Imposm                                              */
/* ****************************************************************** */

/* For basic style customization you can simply edit the colors and
 * fonts defined in this file. For more detailed / advanced
 * adjustments explore the other files.
 *
 * GENERAL NOTES
 *
 * There is a slight performance cost in rendering line-caps.  An
 * effort has been made to restrict line-cap definitions to styles
 * where the results will be visible (lines at least 2 pixels thick).
 */

/* ================================================================== */
/* FONTS
/* ================================================================== */

/* directory to load fonts from in addition to the system directories */
Map { font-directory: url(./fonts); }

/* set up font sets for various weights and styles */
@sans_lt:       "Ubuntu Regular", "Unifont Medium";

/* "Open Sans Regular", "DejaVu Sans Book", "Arundina Sans Regular", "Padauk Regular", "Khmer OS Metal Chrieng Regular",
                "Mukti Narrow Regular", "gargi Medium", "TSCu_Paranar Regular", "Tibetan Machine Uni Regular", "Mallige Normal",
                "Droid Sans Fallback Regular", "Unifont Medium", "unifont Medium";*/

@sans_lt_italic:    "Ubuntu Regular", "Unifont Medium";

/* "Open Sans Oblique", "DejaVu Sans Oblique", "Arundina Sans Italic", "TSCu_Paranar Italic", "Mallige NormalItalic",
                "DejaVu Sans Book", "Arundina Sans Regular", "Padauk Regular", "Khmer OS Metal Chrieng Regular",
                "Mukti Narrow Regular", "gargi Medium", "TSCu_Paranar Regular", "Tibetan Machine Uni Regular", "Mallige Normal",
                "Droid Sans Fallback Regular", "Unifont Medium", "unifont Medium"; */

@sans:          "Ubuntu Regular", "Unifont Medium";

/* "Open Sans Semibold", "DejaVu Sans Book", "Arundina Sans Regular", "Padauk Regular", "Khmer OS Metal Chrieng Regular",
                "Mukti Narrow Regular", "gargi Medium", "TSCu_Paranar Regular", "Tibetan Machine Uni Regular", "Mallige Normal",
                "Droid Sans Fallback Regular", "Unifont Medium", "unifont Medium"; */

@sans_italic:   "Ubuntu Regular", "Unifont Medium";

/* "Open Sans Semibold Italic",  "DejaVu Sans Oblique", "Arundina Sans Italic", "TSCu_Paranar Italic", "Mallige NormalItalic",
                "DejaVu Sans Book", "Arundina Sans Regular", "Padauk Regular", "Khmer OS Metal Chrieng Regular",
                "Mukti Narrow Regular", "gargi Medium", "TSCu_Paranar Regular", "Tibetan Machine Uni Regular", "Mallige Normal",
                "Droid Sans Fallback Regular", "Unifont Medium", "unifont Medium"; */

@sans_bold:  "Ubuntu Regular", "Unifont Medium";

/* "Open Sans Bold", "DejaVu Sans Bold", "Arundina Sans Bold", "Padauk Bold", "Mukti Narrow Bold", "TSCu_Paranar Bold", "Mallige Bold",
             "DejaVu Sans Book", "Arundina Sans Regular", "Padauk Regular", "Khmer OS Metal Chrieng Regular",
             "Mukti Narrow Regular", "gargi Medium", "TSCu_Paranar Regular", "Tibetan Machine Uni Regular", "Mallige Normal",
             "Droid Sans Fallback Regular", "Unifont Medium", "unifont Medium"; */

@sans_bold_italic:  "Ubuntu Regular", "Unifont Medium";

/* "Open Sans Bold Italic","DejaVu Sans Bold Oblique", "DejaVu Sans Oblique", "Arundina Sans Italic", "TSCu_Paranar Italic", "Mallige NormalItalic",
                "DejaVu Sans Book", "Arundina Sans Regular", "Padauk Regular", "Khmer OS Metal Chrieng Regular",
                "Mukti Narrow Regular", "gargi Medium", "TSCu_Paranar Regular", "Tibetan Machine Uni Regular", "Mallige Normal",
                "Droid Sans Fallback Regular", "Unifont Medium", "unifont Medium"; */

/* Some fonts are larger or smaller than others. Use this variable to
   globally increase or decrease the font sizes. */
/* Note this is only implemented for certain things so far */
@text_adjust: 0;

/* ================================================================== */
/* LANDUSE & LANDCOVER COLORS
/* ================================================================== */

@land:              #dcdcdc;
@water:             #138ab6;
@grass:             #E6F2C1;
@beach:             #FFEEC7;
@park:              #91c082;
@cemetery:          #D6DED2;
@wooded:            #C3D9AD;
@agriculture:       #F2E8B6;

@building:          #f4f4f4;
@hospital:          rgb(229,198,195);
@school:            #FFF5CC;
@sports:            #B8E6B8;

@residential:       @land * 0.98;
@commercial:        @land * 0.97;
@industrial:        @land * 0.96;
@parking:           #EEE;

/* ================================================================== */
/* ROAD COLORS
/* ================================================================== */

/* For each class of road there are three color variables:
 * - line: for lower zoomlevels when the road is represented by a
 *         single solid line.
 * - case: for higher zoomlevels, this color is for the road's
 *         casing (outline).
 * - fill: for higher zoomlevels, this color is for the road's
 *         inner fill (inline).
 */

@motorway_line:     #FFFFFF;
@motorway_fill:     lighten(@motorway_line,10%);
@motorway_case:     @motorway_line * 0.9;

@trunk_line:        #FFFFFF;
@trunk_fill:        lighten(@trunk_line,10%);
@trunk_case:        @trunk_line * 0.9;

@primary_line:      #FFFFFF;
@primary_fill:      lighten(@primary_line,10%);
@primary_case:      @primary_line * 0.9;

@primary_line:      @secondary_line;
@primary_fill:      @secondary_fill;

@secondary_line:    #FFFFFF;
@secondary_fill:    #DDDDDD;
@secondary_case:    @secondary_line * 0.9;

@pedestrian_line:   @standard_line;
@pedestrian_fill:   #FAFAF5;
@pedestrian_case:   @land;

@cycle_line:        @standard_line;
@cycle_fill:        #FAFAF5;
@cycle_case:        @land;

@rail_line:         #999;
@rail_fill:         #fff;
@rail_case:         @land;

@aeroway:           #ddd;

/* ================================================================== */
/* BOUNDARY COLORS
/* ================================================================== */

@admin_2:           #324;

/* ================================================================== */
/* LABEL COLORS
/* ================================================================== */

/* We set up a default halo color for places so you can edit them all
   at once or override each individually. */
@place_halo:        fadeout(#fff,34%);

@country_text:      #435;
@country_halo:      @place_halo;

@state_text:        #546;
@state_halo:        @place_halo;

@city_text:         #444;
@city_halo:         @place_halo;

@town_text:         #666;
@town_halo:         @place_halo;

@poi_text:          #888;

@road_text:         #444;
@road_halo:         #fff;

@other_text:        #888;
@other_halo:        @place_halo;

@locality_text:     #aaa;
@locality_halo:     @land;

/* Also used for other small places: hamlets, suburbs, localities */
@village_text:      #888;
@village_halo:      @place_halo;

/* ****************************************************************** */

/* ****************************************************************** */
/* OSM BRIGHT for Imposm                                              */
/* ****************************************************************** */

/* For basic style customization you can simply edit the colors and
 * fonts defined in this file. For more detailed / advanced
 * adjustments explore the other files.
 *
 * GENERAL NOTES
 *
 * There is a slight performance cost in rendering line-caps.  An
 * effort has been made to restrict line-cap definitions to styles
 * where the results will be visible (lines at least 2 pixels thick).
 */

/* ================================================================== */
/* FONTS
/* ================================================================== */

/* directory to load fonts from in addition to the system directories */
Map { font-directory: url(./fonts); }

/* set up font sets for various weights and styles */
@sans_lt:       "Ubuntu Regular", "Unifont Medium";

/* "Open Sans Regular", "DejaVu Sans Book", "Arundina Sans Regular", "Padauk Regular", "Khmer OS Metal Chrieng Regular",
                "Mukti Narrow Regular", "gargi Medium", "TSCu_Paranar Regular", "Tibetan Machine Uni Regular", "Mallige Normal",
                "Droid Sans Fallback Regular", "Unifont Medium", "unifont Medium";*/

@sans_lt_italic:    "Ubuntu Regular", "Unifont Medium";

/* "Open Sans Oblique", "DejaVu Sans Oblique", "Arundina Sans Italic", "TSCu_Paranar Italic", "Mallige NormalItalic",
                "DejaVu Sans Book", "Arundina Sans Regular", "Padauk Regular", "Khmer OS Metal Chrieng Regular",
                "Mukti Narrow Regular", "gargi Medium", "TSCu_Paranar Regular", "Tibetan Machine Uni Regular", "Mallige Normal",
                "Droid Sans Fallback Regular", "Unifont Medium", "unifont Medium"; */

@sans:          "Ubuntu Regular", "Unifont Medium";

/* "Open Sans Semibold", "DejaVu Sans Book", "Arundina Sans Regular", "Padauk Regular", "Khmer OS Metal Chrieng Regular",
                "Mukti Narrow Regular", "gargi Medium", "TSCu_Paranar Regular", "Tibetan Machine Uni Regular", "Mallige Normal",
                "Droid Sans Fallback Regular", "Unifont Medium", "unifont Medium"; */

@sans_italic:   "Ubuntu Regular", "Unifont Medium";

/* "Open Sans Semibold Italic",  "DejaVu Sans Oblique", "Arundina Sans Italic", "TSCu_Paranar Italic", "Mallige NormalItalic",
                "DejaVu Sans Book", "Arundina Sans Regular", "Padauk Regular", "Khmer OS Metal Chrieng Regular",
                "Mukti Narrow Regular", "gargi Medium", "TSCu_Paranar Regular", "Tibetan Machine Uni Regular", "Mallige Normal",
                "Droid Sans Fallback Regular", "Unifont Medium", "unifont Medium"; */

@sans_bold:  "Ubuntu Regular", "Unifont Medium";

/* "Open Sans Bold", "DejaVu Sans Bold", "Arundina Sans Bold", "Padauk Bold", "Mukti Narrow Bold", "TSCu_Paranar Bold", "Mallige Bold",
             "DejaVu Sans Book", "Arundina Sans Regular", "Padauk Regular", "Khmer OS Metal Chrieng Regular",
             "Mukti Narrow Regular", "gargi Medium", "TSCu_Paranar Regular", "Tibetan Machine Uni Regular", "Mallige Normal",
             "Droid Sans Fallback Regular", "Unifont Medium", "unifont Medium"; */

@sans_bold_italic:  "Ubuntu Regular", "Unifont Medium";

/* "Open Sans Bold Italic","DejaVu Sans Bold Oblique", "DejaVu Sans Oblique", "Arundina Sans Italic", "TSCu_Paranar Italic", "Mallige NormalItalic",
                "DejaVu Sans Book", "Arundina Sans Regular", "Padauk Regular", "Khmer OS Metal Chrieng Regular",
                "Mukti Narrow Regular", "gargi Medium", "TSCu_Paranar Regular", "Tibetan Machine Uni Regular", "Mallige Normal",
                "Droid Sans Fallback Regular", "Unifont Medium", "unifont Medium"; */

/* Some fonts are larger or smaller than others. Use this variable to
   globally increase or decrease the font sizes. */
/* Note this is only implemented for certain things so far */
@text_adjust: 0;

/* ================================================================== */
/* LANDUSE & LANDCOVER COLORS
/* ================================================================== */

@land:              #F0EDE5;
@water:             #C4DFF6;
@grass:             #E6F2C1;
@beach:             #FFEEC7;
@park:              #DAF2C1;
@cemetery:          #D6DED2;
@wooded:            #C3D9AD;
@agriculture:       #F2E8B6;

@building:          #E2DED2;
@hospital:          rgb(229,198,195);
@school:            #FFF5CC;
@sports:            #B8E6B8;

@residential:       @land * 0.98;
@commercial:        @land * 0.97;
@industrial:        @land * 0.96;
@parking:           #EEE;

/* ================================================================== */
/* ROAD COLORS
/* ================================================================== */

/* For each class of road there are three color variables:
 * - line: for lower zoomlevels when the road is represented by a
 *         single solid line.
 * - case: for higher zoomlevels, this color is for the road's
 *         casing (outline).
 * - fill: for higher zoomlevels, this color is for the road's
 *         inner fill (inline).
 */

@motorway_line:     #E65C5C;
@motorway_fill:     lighten(@motorway_line,10%);
@motorway_case:     @motorway_line * 0.9;

@trunk_line:        #E65822;
@trunk_fill:        lighten(@trunk_line,10%);
@trunk_case:        @trunk_line * 0.9;

/*
@primary_line:      #FFC859;
@primary_fill:      lighten(@primary_line,10%);
*/
@primary_case:      @primary_line * 0.9;

@primary_line:      @secondary_line;
@primary_fill:      @secondary_fill;

@secondary_line:    #CD9120;
@secondary_fill:    #E4C049;
@secondary_case:    @secondary_line * 0.9;

@standard_line:     @land * 0.85;
@standard_fill:     #fff;
@standard_case:     @land * 0.9;

@pedestrian_line:   @standard_line;
@pedestrian_fill:   #FAFAF5;
@pedestrian_case:   @land;

@cycle_line:        @standard_line;
@cycle_fill:        #FAFAF5;
@cycle_case:        @land;

@rail_line:         #999;
@rail_fill:         #fff;
@rail_case:         @land;

@aeroway:           #ddd;

/* ================================================================== */
/* BOUNDARY COLORS
/* ================================================================== */

@admin_2:           #324;

/* ================================================================== */
/* LABEL COLORS
/* ================================================================== */

/* We set up a default halo color for places so you can edit them all
   at once or override each individually. */
@place_halo:        fadeout(#fff,34%);

@country_text:      #435;
@country_halo:      @place_halo;

@state_text:        #546;
@state_halo:        @place_halo;

@city_text:         #444;
@city_halo:         @place_halo;

@town_text:         #666;
@town_halo:         @place_halo;

@poi_text:          #888;

@road_text:         #444;
@road_halo:         #fff;

@other_text:        #888;
@other_halo:        @place_halo;

@locality_text:     #aaa;
@locality_halo:     @land;

/* Also used for other small places: hamlets, suburbs, localities */
@village_text:      #888;
@village_halo:      @place_halo;

/* ****************************************************************** */

@land:              #dcdcdc;
@water:             #138ab6;

@park:              #91c082;

@building:          #f4f4f4;

@motorway_line:     #FFFFFF;
@motorway_fill:     lighten(@motorway_line,10%);
@motorway_case:     @motorway_line * 0.9;

@trunk_line:        #FFFFFF;
@trunk_fill:        lighten(@trunk_line,10%);
@trunk_case:        @trunk_line * 0.9;

@primary_line:      #FFFFFF;
@primary_fill:      lighten(@primary_line,10%);
@primary_case:      @primary_line * 0.9;

@primary_line:      @secondary_line;
@primary_fill:      @secondary_fill;

@secondary_line:    #FFFFFF;
@secondary_fill:    #DDDDDD;
@secondary_case:    @secondary_line * 0.9;


Fewer primary road shields visible at low zoom levels

git-svn-id: 52b2958d923a603b3f48d22aabe6b5bf40478d2a@477 dbea3d40-3153-0410-b551-57805770c6e6

.road
{
    line-cap: round;
    line-join: miter;
    outline-cap: butt;
    outline-join: miter;
}

.road.outline[tunnel=yes],
.road.outline[tunnel=true]
{
    line-cap: butt;
    line-dasharray: 4,6;
}

.road.inline[zoom>=14][prominence=major][bridge=true],
.road.inline[zoom>=14][prominence=major][bridge=yes],
.road.inline[zoom>=16][bridge=true],
.road.inline[zoom>=16][bridge=yes]
{
    outline-width: 1;
}

/*
.road.inline[zoom>=13][prominence=major][bridge=yes],
.road.inline[zoom>=13][prominence=major][bridge=true]
{
    outline-width: 1;
    outline-color: #888;
}
*/

/** Road Weights **/

.motorway.inline[zoom>=7][zoom<=11] { line-width: 2; }
.motorway.outline[zoom>=7][zoom<=11] { line-width: 4; }

.road.inline[zoom>=7][zoom<=11][prominence=major][highway=motoryway] { line-width: 2; }
.road.outline[zoom>=7][zoom<=11][prominence=major][highway=motoryway] { line-width: 4; }

.road.texture[zoom>=7][zoom<=10] { line-width: 1; } /* general background fuzz */

.road.inline[zoom>=7][zoom<=10][prominence=major][highway=motorway] { line-width: 2; }
.road.inline[zoom>=11][zoom<=12][prominence=major][highway!=motorway_link] { line-width: 2; }
.road.outline[zoom>=11][zoom<=12][prominence=major][highway!=motorway_link] { line-width: 4; }

.road.texture[zoom>=11][zoom<=12] { line-width: 1; }

.road.inline[zoom=13][prominence=major] { line-width: 5; }
.road.outline[zoom=13][prominence=major] { line-width: 7; }
.road.inline[zoom=13][prominence=major][highway=motorway_link] { line-width: 2; }
.road.outline[zoom=13][prominence=major][highway=motorway_link] { line-width: 4; }

.road.texture[zoom=13] { line-width: 1; }

.road.inline[zoom=14][prominence=major] { line-width: 7; }
.road.outline[zoom=14][prominence=major] { line-width: 9; }
.road.inline[zoom=14][prominence=major][highway=motorway_link] { line-width: 2; }
.road.outline[zoom=14][prominence=major][highway=motorway_link] { line-width: 4; }

.road.inline[zoom=14][prominence=minor][highway=tertiary] { line-width: 3; }
.road.outline[zoom=14][prominence=minor][highway=tertiary] { line-width: 5; }
.road.texture[zoom=14] { line-width: 2; }

.road.inline[zoom=15][prominence=major] { line-width: 11; }
.road.outline[zoom=15][prominence=major] { line-width: 13; }
.road.inline[zoom=15][prominence=major][highway=motorway_link] { line-width: 4; }
.road.outline[zoom=15][prominence=major][highway=motorway_link] { line-width: 6; }

.road.inline[zoom=15][prominence=minor][highway=tertiary] { line-width: 6; }
.road.outline[zoom=15][prominence=minor][highway=tertiary] { line-width: 8; }
.road.inline[zoom=15][prominence=minor][highway!=tertiary][highway!=service] { line-width: 4; }
.road.outline[zoom=15][prominence=minor][highway!=tertiary][highway!=service] { line-width: 6; }
.road.inline[zoom=15][prominence=minor][highway=service] { line-width: 2; }
.road.outline[zoom=15][prominence=minor][highway=service] { line-width: 4; }

.road.inline[zoom=16][prominence=major] { line-width: 13; }
.road.outline[zoom=16][prominence=major] { line-width: 15; }
.road.outline[zoom=16][prominence=major][highway=motorway] { line-width: 17; }
.road.inline[zoom=16][prominence=major][highway=motorway_link] { line-width: 8; }
.road.outline[zoom=16][prominence=major][highway=motorway_link] { line-width: 10; }

.road.inline[zoom=16][prominence=minor][highway!=service] { line-width: 8; }
.road.outline[zoom=16][prominence=minor][highway!=service] { line-width: 10; }
.road.inline[zoom=16][prominence=minor][highway=service] { line-width: 6; }
.road.outline[zoom=16][prominence=minor][highway=service] { line-width: 8; }

.road.inline[zoom>=17] { line-width: 15; }
.road.outline[zoom>=17] { line-width: 17; }
.road.outline[zoom>=17][highway=motorway] { line-width: 19; }
.road.inline[zoom>=17][highway=service],
.road.inline[zoom>=17][highway=motorway_link] { line-width: 10; }
.road.outline[zoom>=17][highway=service],
.road.outline[zoom>=17][highway=motorway_link] { line-width: 12; }

.road.label[zoom>=15][oneway=1][highway!=motorway],
.road.label[zoom>=15][oneway=yes][highway!=motorway],
.road.label[zoom>=15][oneway=true][highway!=motorway]
{
    line-pattern-file: url('img/oneway-arrow.png');
}

.motorway.inline[highway=motorway][zoom>=15]
{
    line-width: 1;
    line-color: #ff9460;
    line-dasharray: 12, 12;
}

.motorway.inline[highway=motorway][zoom=16]
{
    line-color: #ffad78;
}

.motorway.inline[highway=motorway][zoom>=17]
{
    line-color: #f9c38d;
}

/** Road Labels **/

.road.label.major[zoom=12][highway=trunk] name,
.road.label.major[zoom=12][highway=primary] name,
.road.label.major[zoom=12][highway=secondary] name,
.road.label.major[zoom>=13][zoom<=14][highway!=motorway][highway!=motorway_link] name,
.road.label.minor[zoom=13][highway=tertiary] name,
.road.label[zoom>=14][highway!=motorway][highway!=motorway_link] name
{
    text-face-name: "DejaVu Sans Book";
    text-size: 9;
    text-fill: #000;
    text-placement: line;
    text-halo-radius: 1;
    text-halo-fill: #fff;
    text-max-char-angle-delta: 20;
    text-min-distance: 50;
    text-spacing: 400;
}

.road.label.minor[zoom>=13][zoom<=14] name
{
    text-halo-fill: #dceee9 !important;
}

.road.label[zoom>=17][highway!=motorway][highway!=motorway_link] name
{
    text-size: 12 !important;
}

.road.label.major[zoom>=7][highway=trunk] ref_content,
.road.label.major[zoom>=7][highway=primary] ref_content,
.road.label.major[zoom>=7][highway=motorway] ref_content
{
    shield-face-name: "DejaVu Sans Bold";
    shield-min-distance: 100;
    shield-size: 9;
    shield-fill: #000;
}

.road.label.major[zoom>=7][ref_length=2][highway=trunk] ref_content,
.road.label.major[zoom>=11][ref_length=2][highway=primary] ref_content,
.road.label.major[zoom>=7][ref_length=2][highway=motorway] ref_content { shield-file: url('img/horizontal-shield-2.png'); }
.road.label.major[zoom>=7][ref_length=3][highway=trunk] ref_content,
.road.label.major[zoom>=11][ref_length=3][highway=primary] ref_content,
.road.label.major[zoom>=7][ref_length=3][highway=motorway] ref_content { shield-file: url('img/horizontal-shield-3.png'); }
.road.label.major[zoom>=7][ref_length=4][highway=trunk] ref_content,
.road.label.major[zoom>=11][ref_length=4][highway=primary] ref_content,
.road.label.major[zoom>=7][ref_length=4][highway=motorway] ref_content { shield-file: url('img/horizontal-shield-4.png'); }
.road.label.major[zoom>=7][ref_length=5][highway=trunk] ref_content,
.road.label.major[zoom>=11][ref_length=5][highway=primary] ref_content,
.road.label.major[zoom>=7][ref_length=5][highway=motorway] ref_content { shield-file: url('img/horizontal-shield-5.png'); }
.road.label.major[zoom>=7][ref_length=6][highway=trunk] ref_content,
.road.label.major[zoom>=11][ref_length=6][highway=primary] ref_content,
.road.label.major[zoom>=7][ref_length=6][highway=motorway] ref_content { shield-file: url('img/horizontal-shield-6.png'); }
.road.label.major[zoom>=7][ref_length=7][highway=trunk] ref_content,
.road.label.major[zoom>=11][ref_length=7][highway=primary] ref_content,
.road.label.major[zoom>=7][ref_length=7][highway=motorway] ref_content { shield-file: url('img/horizontal-shield-7.png'); }
.road.label.major[zoom>=7][ref_length=8][highway=trunk] ref_content,
.road.label.major[zoom>=11][ref_length=8][highway=primary] ref_content,
.road.label.major[zoom>=7][ref_length=8][highway=motorway] ref_content { shield-file: url('img/horizontal-shield-8.png'); }
.road.label.major[zoom>=7][ref_length=9][highway=trunk] ref_content,
.road.label.major[zoom>=11][ref_length=9][highway=primary] ref_content,
.road.label.major[zoom>=7][ref_length=9][highway=motorway] ref_content { shield-file: url('img/horizontal-shield-9.png'); }

/** Road Colors **/

.road.inline
{
    line-color: #f8f8f8;
    line-opacity: 1;
}

.road.outline
{
    line-color: #d2d2d2;
    line-opacity: 1;
}

.road.inline[highway=tertiary]
{
    line-color: #ffffff;
}

.road.outline[highway=tertiary]
{
    line-color: #c3c3c3;
}

.road.inline[highway=secondary]
{
    line-color: #fdffdd;
}

.road.outline[highway=secondary]
{
    line-color: #b5b880;
}

.motorway.inline[highway=trunk],
.road.inline[highway=trunk],
.road.inline[highway=primary]
{
    line-color: #ffec9f;
}

.motorway.outline[highway=trunk],
.road.outline[highway=trunk],
.road.outline[highway=primary]
{
    line-color: #b1a67b;
}

.road.inline[highway=motorway_link]
{
    line-color: #ff9460;
}

.road.outline[highway=motorway_link]
{
    line-color: #6d8aa7;
}

.motorway.inline[highway=motorway],
.road.inline[highway=motorway]
{
    line-color: #ff5559;
}

.motorway.outline[highway=motorway],
.road.outline[highway=motorway]
{
    line-color: #03317d;
}

/* lighten the motorways up a bit at higher zoom levels */
.road.inline[zoom=16][highway=motorway] { line-color: #ff7775; }
.road.inline[zoom>=17][highway=motorway] { line-color: #ff9d98; }
.road.outline[zoom>=16][highway=motorway] { line-color: #6c7dd5; }
.road.inline[zoom=16][highway=motorway_link] { line-color: #ffad78; }
.road.inline[zoom>=17][highway=motorway_link] { line-color: #f9c38d; }

/* all repeated from above but applicable to bridges specifically */
.road.inline { outline-color: #d2d2d2; }
.road.inline[highway=tertiary] { outline-color: #c3c3c3; }
.road.inline[highway=secondary] { outline-color: #b5b880; }
.motorway.inline[highway=trunk], .road.inline[highway=trunk], .road.inline[highway=primary] { outline-color: #b1a67b; }
.road.inline[highway=motorway_link] { outline-color: #6d8aa7; }
.motorway.inline[highway=motorway], .road.inline[highway=motorway] { outline-color: #03317d; }
.road.inline[highway=motorway] { outline-color: #03317d; }
.road.inline[zoom>=16][highway=motorway] { outline-color: #6c7dd5; }

.road.texture[zoom>=7][zoom<=11]
{
    line-color: #b6cccb;
    line-opacity: 1;
}

.road.texture[zoom>=12][zoom<=14]
{
    line-color: #5f6e6d;
    line-opacity: 0.37;
}

.road
{
    line-cap: round;
    line-join: miter;
    outline-cap: butt;
    outline-join: miter;
}

.road.outline[tunnel=yes],
.road.outline[tunnel=true]
{
    line-cap: butt;
    line-dasharray: 4,6;
}

.road.inline[zoom>=14][prominence=major][bridge=true],
.road.inline[zoom>=14][prominence=major][bridge=yes],
.road.inline[zoom>=16][bridge=true],
.road.inline[zoom>=16][bridge=yes]
{
    outline-width: 1;
}

/*
.road.inline[zoom>=13][prominence=major][bridge=yes],
.road.inline[zoom>=13][prominence=major][bridge=true]
{
    outline-width: 1;
    outline-color: #888;
}
*/

/** Road Weights **/

.motorway.inline[zoom>=7][zoom<=11] { line-width: 2; }
.motorway.outline[zoom>=7][zoom<=11] { line-width: 4; }

.road.inline[zoom>=7][zoom<=11][prominence=major][highway=motoryway] { line-width: 2; }
.road.outline[zoom>=7][zoom<=11][prominence=major][highway=motoryway] { line-width: 4; }

.road.texture[zoom>=7][zoom<=10] { line-width: 1; } /* general background fuzz */

.road.inline[zoom>=7][zoom<=10][prominence=major][highway=motorway] { line-width: 2; }
.road.inline[zoom>=11][zoom<=12][prominence=major][highway!=motorway_link] { line-width: 2; }
.road.outline[zoom>=11][zoom<=12][prominence=major][highway!=motorway_link] { line-width: 4; }

.road.texture[zoom>=11][zoom<=12] { line-width: 1; }

.road.inline[zoom=13][prominence=major] { line-width: 5; }
.road.outline[zoom=13][prominence=major] { line-width: 7; }
.road.inline[zoom=13][prominence=major][highway=motorway_link] { line-width: 2; }
.road.outline[zoom=13][prominence=major][highway=motorway_link] { line-width: 4; }

.road.texture[zoom=13] { line-width: 1; }

.road.inline[zoom=14][prominence=major] { line-width: 7; }
.road.outline[zoom=14][prominence=major] { line-width: 9; }
.road.inline[zoom=14][prominence=major][highway=motorway_link] { line-width: 2; }
.road.outline[zoom=14][prominence=major][highway=motorway_link] { line-width: 4; }

.road.inline[zoom=14][prominence=minor][highway=tertiary] { line-width: 3; }
.road.outline[zoom=14][prominence=minor][highway=tertiary] { line-width: 5; }
.road.texture[zoom=14] { line-width: 2; }

.road.inline[zoom=15][prominence=major] { line-width: 11; }
.road.outline[zoom=15][prominence=major] { line-width: 13; }
.road.inline[zoom=15][prominence=major][highway=motorway_link] { line-width: 4; }
.road.outline[zoom=15][prominence=major][highway=motorway_link] { line-width: 6; }

.road.inline[zoom=15][prominence=minor][highway=tertiary] { line-width: 6; }
.road.outline[zoom=15][prominence=minor][highway=tertiary] { line-width: 8; }
.road.inline[zoom=15][prominence=minor][highway!=tertiary][highway!=service] { line-width: 4; }
.road.outline[zoom=15][prominence=minor][highway!=tertiary][highway!=service] { line-width: 6; }
.road.inline[zoom=15][prominence=minor][highway=service] { line-width: 2; }
.road.outline[zoom=15][prominence=minor][highway=service] { line-width: 4; }

.road.inline[zoom=16][prominence=major] { line-width: 13; }
.road.outline[zoom=16][prominence=major] { line-width: 15; }
.road.outline[zoom=16][prominence=major][highway=motorway] { line-width: 17; }
.road.inline[zoom=16][prominence=major][highway=motorway_link] { line-width: 8; }
.road.outline[zoom=16][prominence=major][highway=motorway_link] { line-width: 10; }

.road.inline[zoom=16][prominence=minor][highway!=service] { line-width: 8; }
.road.outline[zoom=16][prominence=minor][highway!=service] { line-width: 10; }
.road.inline[zoom=16][prominence=minor][highway=service] { line-width: 6; }
.road.outline[zoom=16][prominence=minor][highway=service] { line-width: 8; }

.road.inline[zoom>=17] { line-width: 15; }
.road.outline[zoom>=17] { line-width: 17; }
.road.outline[zoom>=17][highway=motorway] { line-width: 19; }
.road.inline[zoom>=17][highway=service],
.road.inline[zoom>=17][highway=motorway_link] { line-width: 10; }
.road.outline[zoom>=17][highway=service],
.road.outline[zoom>=17][highway=motorway_link] { line-width: 12; }

.road.label[zoom>=15][oneway=1][highway!=motorway],
.road.label[zoom>=15][oneway=yes][highway!=motorway],
.road.label[zoom>=15][oneway=true][highway!=motorway]
{
    line-pattern-file: url('img/oneway-arrow.png');
}

.motorway.inline[highway=motorway][zoom>=15]
{
    line-width: 1;
    line-color: #ff9460;
    line-dasharray: 12, 12;
}

.motorway.inline[highway=motorway][zoom=16]
{
    line-color: #ffad78;
}

.motorway.inline[highway=motorway][zoom>=17]
{
    line-color: #f9c38d;
}

/** Road Labels **/

.road.label.major[zoom=12][highway=trunk] name,
.road.label.major[zoom=12][highway=primary] name,
.road.label.major[zoom=12][highway=secondary] name,
.road.label.major[zoom>=13][zoom<=14][highway!=motorway][highway!=motorway_link] name,
.road.label.minor[zoom=13][highway=tertiary] name,
.road.label[zoom>=14][highway!=motorway][highway!=motorway_link] name
{
    text-face-name: "DejaVu Sans Book";
    text-size: 9;
    text-fill: #000;
    text-placement: line;
    text-halo-radius: 1;
    text-halo-fill: #fff;
    text-max-char-angle-delta: 20;
    text-min-distance: 50;
    text-spacing: 400;
}

.road.label.minor[zoom>=13][zoom<=14] name
{
    text-halo-fill: #dceee9 !important;
}

.road.label[zoom>=17][highway!=motorway][highway!=motorway_link] name
{
    text-size: 12 !important;
}

.road.label.major[zoom>=7][highway=trunk] ref_content,
.road.label.major[zoom>=7][highway=primary] ref_content,
.road.label.major[zoom>=7][highway=motorway] ref_content
{
    shield-face-name: "DejaVu Sans Bold";
    shield-min-distance: 100;
    shield-size: 9;
    shield-fill: #000;
}

.road.label.major[zoom>=7][ref_length=2][highway=trunk] ref_content,
.road.label.major[zoom>=7][ref_length=2][highway=primary] ref_content,
.road.label.major[zoom>=7][ref_length=2][highway=motorway] ref_content { shield-file: url('img/horizontal-shield-2.png'); }
.road.label.major[zoom>=7][ref_length=3][highway=trunk] ref_content,
.road.label.major[zoom>=7][ref_length=3][highway=primary] ref_content,
.road.label.major[zoom>=7][ref_length=3][highway=motorway] ref_content { shield-file: url('img/horizontal-shield-3.png'); }
.road.label.major[zoom>=7][ref_length=4][highway=trunk] ref_content,
.road.label.major[zoom>=7][ref_length=4][highway=primary] ref_content,
.road.label.major[zoom>=7][ref_length=4][highway=motorway] ref_content { shield-file: url('img/horizontal-shield-4.png'); }
.road.label.major[zoom>=7][ref_length=5][highway=trunk] ref_content,
.road.label.major[zoom>=7][ref_length=5][highway=primary] ref_content,
.road.label.major[zoom>=7][ref_length=5][highway=motorway] ref_content { shield-file: url('img/horizontal-shield-5.png'); }
.road.label.major[zoom>=7][ref_length=6][highway=trunk] ref_content,
.road.label.major[zoom>=7][ref_length=6][highway=primary] ref_content,
.road.label.major[zoom>=7][ref_length=6][highway=motorway] ref_content { shield-file: url('img/horizontal-shield-6.png'); }
.road.label.major[zoom>=7][ref_length=7][highway=trunk] ref_content,
.road.label.major[zoom>=7][ref_length=7][highway=primary] ref_content,
.road.label.major[zoom>=7][ref_length=7][highway=motorway] ref_content { shield-file: url('img/horizontal-shield-7.png'); }
.road.label.major[zoom>=7][ref_length=8][highway=trunk] ref_content,
.road.label.major[zoom>=7][ref_length=8][highway=primary] ref_content,
.road.label.major[zoom>=7][ref_length=8][highway=motorway] ref_content { shield-file: url('img/horizontal-shield-8.png'); }
.road.label.major[zoom>=7][ref_length=9][highway=trunk] ref_content,
.road.label.major[zoom>=7][ref_length=9][highway=primary] ref_content,
.road.label.major[zoom>=7][ref_length=9][highway=motorway] ref_content { shield-file: url('img/horizontal-shield-9.png'); }

/** Road Colors **/

.road.inline
{
    line-color: #f8f8f8;
    line-opacity: 1;
}

.road.outline
{
    line-color: #d2d2d2;
    line-opacity: 1;
}

.road.inline[highway=tertiary]
{
    line-color: #ffffff;
}

.road.outline[highway=tertiary]
{
    line-color: #c3c3c3;
}

.road.inline[highway=secondary]
{
    line-color: #fdffdd;
}

.road.outline[highway=secondary]
{
    line-color: #b5b880;
}

.motorway.inline[highway=trunk],
.road.inline[highway=trunk],
.road.inline[highway=primary]
{
    line-color: #ffec9f;
}

.motorway.outline[highway=trunk],
.road.outline[highway=trunk],
.road.outline[highway=primary]
{
    line-color: #b1a67b;
}

.road.inline[highway=motorway_link]
{
    line-color: #ff9460;
}

.road.outline[highway=motorway_link]
{
    line-color: #6d8aa7;
}

.motorway.inline[highway=motorway],
.road.inline[highway=motorway]
{
    line-color: #ff5559;
}

.motorway.outline[highway=motorway],
.road.outline[highway=motorway]
{
    line-color: #03317d;
}

/* lighten the motorways up a bit at higher zoom levels */
.road.inline[zoom=16][highway=motorway] { line-color: #ff7775; }
.road.inline[zoom>=17][highway=motorway] { line-color: #ff9d98; }
.road.outline[zoom>=16][highway=motorway] { line-color: #6c7dd5; }
.road.inline[zoom=16][highway=motorway_link] { line-color: #ffad78; }
.road.inline[zoom>=17][highway=motorway_link] { line-color: #f9c38d; }

/* all repeated from above but applicable to bridges specifically */
.road.inline { outline-color: #d2d2d2; }
.road.inline[highway=tertiary] { outline-color: #c3c3c3; }
.road.inline[highway=secondary] { outline-color: #b5b880; }
.motorway.inline[highway=trunk], .road.inline[highway=trunk], .road.inline[highway=primary] { outline-color: #b1a67b; }
.road.inline[highway=motorway_link] { outline-color: #6d8aa7; }
.motorway.inline[highway=motorway], .road.inline[highway=motorway] { outline-color: #03317d; }
.road.inline[highway=motorway] { outline-color: #03317d; }
.road.inline[zoom>=16][highway=motorway] { outline-color: #6c7dd5; }

.road.texture[zoom>=7][zoom<=11]
{
    line-color: #b6cccb;
    line-opacity: 1;
}

.road.texture[zoom>=12][zoom<=14]
{
    line-color: #5f6e6d;
    line-opacity: 0.37;
}