// Languages: name (local), name_en, name_fr, name_es, name_de
@name: '[name_en]';

// Fonts //
@sans: 'Crimson Roman';
@sans_italic: 'Crimson Italic';
@sans_bold: 'Crimson Bold';
@country: 'Abril Fatface Regular';

// Common Colors //
@water: #507E97;
@pink: #D69492;
@blue: #658E8E;
@yellow: #CFAD5A;
@tan: #C8B691;
@black: #222;
@white: #fff;

Map { 
background-color: @white;
background-image: url("./textures/grid6.png");
background-image-opacity: .2;
font-directory: url("fonts/");
}

// Water Features //
#water {
  polygon-fill: @water;
  polygon-opacity: .45;
}

// Political boundaries //
#admin[admin_level=2][maritime=0]{
    line-color: @black;
    line-width: .5;
}

#countries{
  [MAPCOLOR7=1],[MAPCOLOR7=3]{
    polygon-fill: @pink;
    polygon-opacity: .5;
    ::insideline {
      line-offset: -1;
      line-color: @pink;
      line-opacity:.5;
      line-width: 4;
      line-join: round;
      line-cap: round;
    }}
  [MAPCOLOR7=4],[MAPCOLOR7=6]{
    polygon-fill: @blue;
    polygon-opacity: .5;
    ::insideline {
      line-offset: -1;
      line-color: @blue;
      line-opacity:.5;
      line-width: 4;
      line-join: round;
      line-cap: round;
    }}
  [MAPCOLOR7=2]{
    polygon-fill: @yellow;
    polygon-opacity: .5;
    ::insideline {
      line-offset: -1;
      line-color: @yellow;
      line-opacity:.5;
      line-width: 4;
      line-join: round;
      line-cap: round;
    }}
  [MAPCOLOR7=5],[MAPCOLOR7=7]{
    polygon-fill: @tan;
    polygon-opacity: .5;
    ::insideline {
      line-offset: -1;
      line-color: @tan;
      line-opacity:.5;
      line-width: 4;
      line-join: round;
      line-cap: round;
    }}
}

// Waterlines //
#buffer {
  line-color: @water;
  line-opacity:.4;
  line-width:1.5;
  [distance>.4]{
      line-width: 1;
      line-opacity:.3;
   }
  [distance>1]{
      line-width: .75;
      line-opacity:.2;
   }
  [distance>2]{
      line-width: .5;
      line-opacity:.15;
   }
}

#Cables {
 //line-width: 1.5;
}