html {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 16px;
  height: 100%;
}

body {
  font-family: inherit;
  font-size: inherit;
  height: 100%;
  opacity: 0;
}

blockquote {
  color: white;
  font-size: 1.5em;
  margin-left: 0;
  margin-right: 0;
  text-shadow: 0px 0px 3px rgba(0, 0, 0, .4);
}

blockquote > p:first-of-type:before {
  content: "“";
  display: inline-block;
}

blockquote > p:last-of-type:after {
  content: "”";
  display: inline-block;
}

blockquote > cite {
  display: block;
  font-style: normal;
  text-align: right;
}

blockquote > cite:before {
  content: "\2014 ";
}

#navbuttons {
  left: 1em;
  opacity: .5;
  position: fixed;
  top: 1em;
  z-index: 1001;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#navbuttons:hover {
  opacity: 1;
}

#navmenu h2,
#navmenu h3,
#navmenu p {
  color: rgba(0, 0, 0, .87);
  text-shadow: none;
}

#layernav {
  color: #ccc;
  height: 0;
  /* Set to 0 so it's not clickable */
  left: 0;
  position: absolute;
  top: 45%;
  width: 100%;
  z-index: 101;
}

#layernav > * {
  font-size: 40px;
  font-weight: 700;
  height: 100%;
  width: 40px;
}

#layernav .hidden {
  visibility: hidden;
}

#layernav a {
  background: rgba(255, 255, 255, .3);
  color: #ccc;
  cursor: pointer;
  display: block;
  height: 80px;
  line-height: 80px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#layernav a i {
  display: block;
  height: 100%;
  margin: 0;
  width: 100%;
}

#layernav a:hover {
  background: rgba(255, 255, 255, .6);
}

#layernav a:hover i {
  color: rgba(0, 0, 0, .6);
}

#layernav .next {
  float: right;
  margin-right: .4em;
  /* 16px / 40px */
}

#layernav .prev {
  float: left;
  margin-left: .4em;
  /* 16px / 40px */
}

#progress {
  height: 5px;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

#progress .bar {
  background: rgba(70, 130, 180, .6);
  height: 100%;
  width: 0;
}

#layers {
  overflow: hidden;
}

.layer {
  background-image: url("../images/crops_kansas_ast_light.jpg");
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  position: relative;
}

.layer .fp-tableCell {
  position: relative;
  width: 100%;
}

.layer .fp-tableCell {
  position: relative;
}

.layer_inner {
  box-sizing: padding-box;
  color: inherit;
  margin: 0 auto;
  max-width: 960px;
  padding: 2em;
  width: 70%;
}

.layer_inner > p > img {
  border: 1px solid #ccc;
  display: block;
  margin: 0 auto;
  width: 60%;
}

.layer_inner .ui.grid {
  margin-bottom: 1em;
  margin-top: 1em;
}

.layer_inner .ui.grid .large.text {
  font-size: 2em;
  line-height: 1.5em;
}

.layer_inner.bg {
  background: rgba(0, 0, 0, .6);
  color: white;
  text-shadow: 0 2px 2px rgba(0, 0, 0, .5);
}

.layer_inner .gallery {
  margin-bottom: 1rem;
  margin-top: 1rem;
  overflow: hidden;
  padding: 3px 0;
  width: 100%;
}

.layer_inner .gallery img {
  -moz-box-shadow: 0px 0px 3px rgba(0, 0, 0, .2);
  -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, .2);
  box-shadow: 0px 0px 3px rgba(0, 0, 0, .2);
  float: left;
  margin: 0 1.25%;
  width: 47.5%;
}

.layer.lower .layer_inner {
  bottom: 20%;
  left: 15%;
  position: absolute;
}

.layer.bottom .layer_inner {
  bottom: 5%;
  left: 15%;
  position: absolute;
}

.layer.bottom .viz {
  top: 5%;
  left: 15%;
  box-sizing: content-box;
  color: white;
  margin: 0 auto;
  max-width: 960px;
  overflow: hidden;
  position: absolute;
  padding: 2em 0;
  width: 70%;
}

.layer.viz.bordered .layer_inner .viz {
  line-height: 0;
}

.layer.transparent .layer_inner {
  background: transparent;
}

.layer_inner p {
  font-size: 1.125em;
  /* 18px */
}

.layer_credit {
  bottom: 1.333em;
  /* 20px */
  color: rgba(0, 0, 0, .77) !important;
  font-size: .75em;
  /* 12px */
  position: absolute;
  right: 1.333em;
  /* 20px */
  text-align: right;
}

.layer_credit a {
  border-bottom: 1px dotted white;
}

.layer.white {
  color: white;
  text-shadow: 0px 2px 2px rgba(0, 0, 0, .5);
}

.layer.white a {
  color: white;
  border-bottom: 1px dotted white;
}

.layer.splash {
  color: white !important;
  text-align: center;
  text-shadow: 0px 2px 2px rgba(0, 0, 0, .5);
}

.layer.splash .fp-tableCell > * {
  margin: 0 auto;
  max-width: 960px;
  width: 80%;
}

.layer.splash .layer_credit {
  max-width: none !important;
  width: 45% !important;
}

.layer.splash .logos {
  bottom: 1.333em;
  font-size: .75em;
  height: 50px;
  position: absolute;
  left: 1.333em;
  max-width: none;
  width: 45%;
  text-align: left;
}

.layer.splash .logos img {
  margin-right: 5%;
  height: inherit;
}

.layer.splash .logos img.lab {
  height: 40px;
  position: relative;
  top: -6px;
}

.layer.splash h1 {
  font-size: 4em;
  font-weight: 400;
  margin-bottom: .5em !important;
  text-transform: uppercase;
}

.layer.splash h2 {
  font-size: 2em;
  font-weight: 400;
}

.layer.splash h3 {
  font-size: 1.75em;
  font-weight: 400;
}

.layer.splash h4 {
  font-size: 1.5em;
  font-weight: 400;
  margin-top: 1em !important;
}

.layer.splash p {
  font-size: 1.25em;
  margin-top: .8em !important;
}

.layer.splash .layer_credit {
  width: 45%;
}

.layer.splash .layer_credit p,
.layer.white .layer_credit p {
  color: white;
  font-size: 1em;
}

.layer.splash .layer_credit a,
.layer.white .layer_credit a {
  color: white;
}

.layer.slide h2 {
  font-size: 2em;
  font-weight: 400;
}

.layer.slide h3 {
  font-size: 1.5em;
  font-weight: 400;
}

.layer.slide h4 {
  font-size: 1.25em;
  font-weight: 400;
}

#biome-modal .content {
  max-height: 500px;
  overflow-y: auto;
  width: auto;
}

#biome-modal img {
  float: left;
  margin: 1em 1em 1em 0;
  width: 48%;
}

#biome-modal img:nth-of-type(2n) {
  float: right;
  margin: 1em 0 1em 1em;
}

#biome-modal img.vertical {
  width: 25%;
}

#biome-modal .content p:last-of-type {
  margin-bottom: 1em;
}

#biome-modal .content .credit {
  font-size: .75em;
}

#biome-modal #map {
  height: 300px;
  width: 100%;
}

.ui.label {
  cursor: default;
}

.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}


/* D3 */

svg {
  font-size: 10px sans-serif;
}

svg.mod-map {
  border: 1px solid #ccc;
  margin-top: 1em;
}

svg.mod-timeseries .line {
  fill: none;
  stroke: steelblue;
  stroke-width: 1.5px;
}

.axis path {
  display: none;
}

.axis line {
  shape-rendering: crispEdges;
  stroke: #666;
}

#future-prod-viz_viz .line,
#future-prod-viz2_viz .line {
  fill: none;
  stroke-linecap: round;
}

.axis text {
  fill: #666;
  font-size: 10px;
}

.axis.x path,
.axis.y path {
  display: block;
  fill: none;
  shape-rendering: crispEdges;
  stroke: #666;
}

.mod-map {
  background-color: #e9f5fc;
}

.mod-map .country {
  fill: #ccc;
  stroke: #bababa;
  stroke-width: .5px;
}

.d3-tip {
  background-color: rgba(0, 0, 0, .9);
  color: white;
  font-size: 12px;
  line-height: 16px;
  max-width: 180px;
  padding: 6px 10px;
  z-index: 1001;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

.d3-tip .header {
  font-weight: 600;
}