Map
{
    map-bgcolor: #e4e5d5;
    map-bgcolor: transparent;
}

#grey-areas-low[zoom>=9][zoom<11],
#grey-areas-med[zoom>=11][zoom<14],
#grey-areas[zoom>=14]
{
    polygon-fill: #f2f2ea;
}

/*
#green-areas-low[zoom=8][sq_km>=3200],
#green-areas-low[zoom=9][sq_km>=1600],
#green-areas-low[zoom=10][sq_km>=800],
#green-areas-med[zoom=11][sq_km>=400],
#green-areas-med[zoom=12][sq_km>=200],
#green-areas-med[zoom=13][sq_km>=100],
#green-areas[zoom=14][sq_km>=50],
#green-areas[zoom=15][sq_km>=25],
#green-areas[zoom=16][sq_km>=13],
#green-areas[zoom=17][sq_km>=6],
#green-areas[zoom=18][sq_km>=3]
{
    line-width: 4;
    line-color: #b6cfb9;
    line-join: miter;
}
*/

#green-areas-low[zoom=8][sq_km>0.0256][sq_km<6400],
#green-areas-low[zoom=9][sq_km>0.0128][sq_km<3200],
#green-areas-low[zoom=10][sq_km>0.0064][sq_km<1600],
#green-areas-med[zoom=11][sq_km>0.0032][sq_km<800],
#green-areas-med[zoom=12][sq_km>0.0016][sq_km<400],
#green-areas[zoom>=13][sq_km<200]
{
    polygon-fill: #c1d4b4;
    polygon-opacity: 0.5;
}

/* darken color as we zoom out to blend with background */
#green-areas-med[zoom=12][sq_km>0.0016][sq_km<400]  { polygon-fill: #b7ccab; }
#green-areas-med[zoom=11][sq_km>0.0032][sq_km<800]  { polygon-fill: #adc2a1; }
#green-areas-low[zoom=10][sq_km>0.0064][sq_km<1600] { polygon-fill: #a1b997; }
#green-areas-low[zoom=9][sq_km>0.0128][sq_km<3200]  { polygon-fill: #8ba77f; }
#green-areas-low[zoom=8][sq_km>0.0256][sq_km<6400]  { polygon-fill: #819d75; }

#green-areas-low[zoom=8][sq_km>0.0128][sq_km<3200],
#green-areas-low[zoom=9][sq_km>0.0064][sq_km<1600],
#green-areas-low[zoom=10][sq_km>0.0032][sq_km<800],
#green-areas-med[zoom=11][sq_km>0.0016][sq_km<400],
#green-areas-med[zoom=12][sq_km>0.0008][sq_km<200],
#green-areas[zoom>=13][sq_km<100]
{
    polygon-opacity: 1.0;
}

#aeroways-low,
#aeroways-med,
#aeroways
{
    line-color: #c8cebe;
    line-cap: square;
    line-join: miter;
}

#aeroways-low[type=runway][zoom=10] { line-width: 1; }
#aeroways-med[type=runway][zoom=11] { line-width: 1.5; }
#aeroways-med[type=runway][zoom=12] { line-width: 2; }
#aeroways-med[type=runway][zoom=13] { line-width: 4; }
#aeroways[type=runway][zoom=14] { line-width: 8; }
#aeroways[type=runway][zoom=15] { line-width: 16; }
#aeroways[type=runway][zoom=16] { line-width: 32; }
#aeroways[type=runway][zoom=17] { line-width: 64; }
#aeroways[type=runway][zoom>=18] { line-width: 128; }

#aeroways-med[type=taxiway][zoom=13] { line-width: 1; }
#aeroways[type=taxiway][zoom=14] { line-width: 2; }
#aeroways[type=taxiway][zoom=15] { line-width: 4; }
#aeroways[type=taxiway][zoom=16] { line-width: 8; }
#aeroways[type=taxiway][zoom=17] { line-width: 16; }
#aeroways[type=taxiway][zoom>=18] { line-width: 32; }

#buildings[zoom>=12]
{
    polygon-fill: #bfcfcd;
    line-color: #b0c0be;
    line-width: 1;
}

#waterways-med,
#waterways
{
    line-color: #a6c9eb;
}

#waterways-med[zoom=13] { line-width: 1; }
#waterways[zoom=14] { line-width: 2; }
#waterways[zoom>=15] { line-width: 3; }
