/* Index file settings. */

.main-video {
  height: 450px;
}
#graphic-container {
  height: 400px;
  width: 960px;
  margin: 0 auto;
}
#graphic {
  height: 400px;
  width: 960px;
}

#fallback div {
  opacity: 0;
  display: none;
  transition:opacity 0.25s ease;
  -moz-transition:opacity 0.25s ease;
  -o-transition:opacity 0.25s ease;
  -safari-transition:opacity 0.25s ease;
}

#fallback div.active {
  opacity: 1;
  display: block;
}

/* Styles for "by year" captions. */

#punchline {
  color:white;
}
#question {
  font-size: 68px;
  color: #f00a0a;
  margin-top: -12px;
}

/* Style for foreignObject captions. */

.caption > div > p {
  background: rgba(255, 255, 255, 0.6);
  padding: 2px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  color: #444444;
  text-transform: uppercase;
  font-family: "klavika-web-condensed";
  font-size: 28px;
  line-height: 23px;
  margin: 1em 0;
}

.alert {
  color: #f00a0a;
}


/* Styles for the map. */

#myanmar > path {
  fill: rgb(236,236,236);
  stroke: white;
}

#polygon31, #polygon33 {
  stroke-width: 0.6;
  stroke: white;
  fill: rgb(133,194,143);
}

.oilblock {
  stroke-width: 0.6;
}

.oilblock.offshore {
  fill: rgb(178,203,211);
  stroke: white;
}
.oilblock.onshore {
  fill: rgb(133,194,143);
  stroke: white;
}

.oilblock.offshore.responded {
  fill: rgb(133,194,143);
}

.oilblock.irrelevant {
  fill: rgb(115,115,115);
}
.oilblock.unknown {
  fill: rgb(220,71,96);
}
.oilblock.bluered {
  fill: url("#blueRed");
}
.oilblock.blueredsteep {
  fill: url("#blueRedSteep")
}
.oilblock.greenred, .oilblock.responded.greenred {
  fill: url("#greenRed");
}
.oilblock.greenredsteep, .oilblock.responded.greenredsteep {
  fill: url("#greenRedSteep")
}
.oilblock.orangered, .oilblock.responded.orangered {
  fill: url("#orangeRed");
}
.oilblock.greenorange {
  fill: url("#greenOrange");
}

.oilblock.bluered.webkit {
  fill: url("../index.html#blueRed");
}
.oilblock.blueredsteep.webkit {
  fill: url("../index.html#blueRedSteep")
}
.oilblock.greenred.webkit, .oilblock.responded.greenred.webkit {
  fill: url("../index.html#greenRed");
}
.oilblock.greenredsteep.webkit, .oilblock.responded.greenredsteep.webkit {
  fill: url("../index.html#greenRedSteep")
}
.oilblock.orangered.webkit, .oilblock.responded.orangered.webkit {
  fill: url("../index.html#orangeRed");
}
.oilblock.greenorange.webkit {
  fill: url("../index.html#greenOrange");
}



/* Styles for the bar chart. */

/* Bar chart axis styles. */
.axis path,
.axis line {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}

/* Bar chart legend styles. */
.legend-box {
  background: rgba(255, 255, 255, 0.6);
  padding: 2px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  text-transform: uppercase;
  font-family: "klavika-web-condensed";
  color: white;
  font-size: 12px;
}
.legend-box > .instructions {
  color: rgb(200,200,200);
  font-size: 14px;
}
.legend {
  margin-top: 3px;
  margin-bottom: 0;
  margin-right: 3px;
  padding-left: 4px;
  padding-top: 2px;
  padding-bottom: 2px;
  float: left;
  width: 200px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}
.legend.unknown {
  background:crimson;
}
.legend.private {
  background:orange;
}
.legend.public {
  background:DodgerBlue;
}
.legend.government {
  background:LimeGreen;
}


.x.axis path {
  display: none;
}

.tick text {
  font-size: 12px;
  font-family: "klavika-web-condensed";
  text-transform: uppercase;
  fill: rgb(200,200,200);
}

.tick line {
  opacity: 0;
}

#controls {
  opacity: 0;
  width: 200px;
  margin: 0 auto;
}


/* Styles for control buttons. */
ul {
  list-style: none; /* No points next to items! */
  margin-top: 8px; /* lower the bullets to center them */
}

.gallery-menu li {
  float: left; /* to make 'em line up side by side */
  width: 12px;
  height: 12px;
  /* to make 'em circular... */
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
  border-radius: 12px;
  /* their color */
  background-color: #869791;
  /* their distance from each other */
  margin: 5px;
  opacity: 0.5;
  cursor: pointer;
}

.gallery-menu li:hover {
  opacity: 1;
}

.gallery-menu li.active {
  opacity: 1;
}

div.prevnext {
  padding: 3px 10px;
  margin: 5px;
  margin-top: 0px;
  background: #87919b;
  opacity: 0.5;
  float: left;
  display: inline-block;
  font-size: 12px;
  font-family: sans-serif;
  border-radius: 30px;
  color: white;
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.prevnext.disabled {
  opacity: 0.25;
}

.prevnext:hover {
  opacity: 1;
}
.prevnext.disabled:hover {
  opacity: 0.25;
}

.legend.complete.onshore {
  background: rgb(133,194,143);
}
.legend.complete.offshore {
  background: rgb(178,203,211);
}
.legend.noresponse {
  background: rgb(220,71,96);
}
.legend.partial {
  background: rgb(237,179,94);
}

.legend.irrelevant {
  background: rgb(115,115,115);
}

.legend.mixed {
  background: -webkit-linear-gradient(
      -45deg,
      #85C28F,
      #85C28F 50%,
      #DC4760 50%,
      #DC4760 100%);
  background: -o-linear-gradient(
      -45deg,
      #85C28F,
      #85C28F 50%,
      #DC4760 50%,
      #DC4760 100%);
  background: -moz-linear-gradient(
      -45deg,
      #85C28F,
      #85C28F 50%,
      #DC4760 50%,
      #DC4760 100%);
  background: linear-gradient(
      -45deg,
      #85C28F,
      #85C28F 50%,
      #DC4760 50%,
      #DC4760 100%);
}

.greyed {
  color: rgb(200,200,200);
  line-height: 36px;
}
