/**
 * reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
 */

/*********************************************
 * GLOBAL STYLES
 *********************************************/
body {
  background: white;
  background-color: white;
}

.reveal {
  font-family: 'Open Sans', Helvetica, Arial, Helvetica, sans-serif;
  font-size: 36px;
  font-weight: 200;
  letter-spacing: -0.02em;
  color: black; }

::selection {
  color: white;
  background: rgba(0, 0, 0, 0.99);
  text-shadow: none; }

.reveal .slides {
  text-align: left;
}

.reveal .slides header {
  margin-bottom: 1em;
  border-bottom: dotted 1px #ccc;
  text-align: right;
}

.reveal .slides header h2,
.reveal .slides header h3 {
  font-size: .9em;
  color: #999;
  display: inline;
}

.reveal .slides header h3 {
  font-size: .8em;
}

.reveal blockquote {
  box-shadow: none;
}

.reveal dt {
  font-weight: bold;
  font-family: "Shift", serif;
}

.reveal dd {
  margin-left: 1em;
  margin-bottom: .5em;
}

.reveal .footnote {
  color: #999;
  font-style: italic;
  font-size: .8em;
}

.reveal .small {
  font-size: .5em;
  color: #999;
}

/*********************************************
 * HEADERS
 *********************************************/
.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4,
.reveal h5,
.reveal h6 {
  margin: 0 0 20px 0;
  color: black;
  font-family: "shift", serif;
  line-height: 0.9em;
  letter-spacing: 0.02em;
  text-transform: none;
  text-shadow: none; }

.reveal h1, .reveal h2 {
  font-weight: bold;
}

/*********************************************
 * LINKS
 *********************************************/
.reveal a:not(.image) {
  color: rgba(28, 149, 203, 1.0);
  text-decoration: none;
  -webkit-transition: color .15s ease;
  -moz-transition: color .15s ease;
  -ms-transition: color .15s ease;
  -o-transition: color .15s ease;
  transition: color .15s ease; }

.reveal a:not(.image):hover {
  color: #0000f1;
  text-shadow: none;
  border: none; }

.reveal .roll span:after {
  color: #fff;
  background: #00003f; }

/*********************************************
 * IMAGES
 *********************************************/
.reveal a:hover img {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(28, 149, 203, 1.0);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }

/*********************************************
 * NAVIGATION CONTROLS
 *********************************************/
.reveal .controls div.navigate-left,
.reveal .controls div.navigate-left.enabled {
  border-right-color: rgba(28, 149, 203, 1.0); }

.reveal .controls div.navigate-right,
.reveal .controls div.navigate-right.enabled {
  border-left-color: rgba(28, 149, 203, 1.0); }

.reveal .controls div.navigate-up,
.reveal .controls div.navigate-up.enabled {
  border-bottom-color: rgba(28, 149, 203, 1.0); }

.reveal .controls div.navigate-down,
.reveal .controls div.navigate-down.enabled {
  border-top-color: rgba(28, 149, 203, 1.0); }

.reveal .controls div.navigate-left.enabled:hover {
  border-right-color: #0000f1; }

.reveal .controls div.navigate-right.enabled:hover {
  border-left-color: #0000f1; }

.reveal .controls div.navigate-up.enabled:hover {
  border-bottom-color: #0000f1; }

.reveal .controls div.navigate-down.enabled:hover {
  border-top-color: #0000f1; }

/*********************************************
 * PROGRESS BAR
 *********************************************/
.reveal .progress {
  background: rgba(0, 0, 0, 0.2); }

.reveal .progress span {
  background: rgba(28, 149, 203, 1.0);
  -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  -ms-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  -o-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }

/********************************************
 * STATES
 ********************************************/

.intro .reveal h1, .intro .reveal p {
  color: #fff;
  text-shadow: none;
}

.image-macro .reveal .slides header,
.image-macro .reveal .slides footer {
  border: none;
  text-align: center;
  font-family: Impact, Arial, sans-serif;
  text-shadow: 0px 0px 8px #000;
  color: #fff;
  font-size: 150%;
  line-height: 1.15em;
}

.image-macro .reveal footer {
  margin-top: 5em;
}

.background .reveal .state-background {
  background: rgba(0, 0, 0, 1.0);
  background-size: 100%;
  background-repeat: no-repeat;
}

  .title .reveal h1 {
    font-family: monospace;
    font-weight: normal;
    font-size: 18px;
    margin: 0;
    padding: 0;
    color: #fff;
    text-align: center;
    position: relative;
    top: -200px;
    left: -40px;
  }

  .title .reveal h2,
  .title .reveal h3,
  .title .reveal h4 {
    color: rgba(255, 255, 255, 1.0);
  }

.nate .reveal .state-background {
  background-image: url('../../img/nate_says.jpg');
  background-color: #fff;
}

.train .reveal .state-background {
  background-image: url('../../img/train-annotated.jpg');
}

.train h2, .train p {
  color: #fff;
  text-align: right;
  text-shadow: 0px -2px 0px #000;
}

.the-battle .reveal .state-background {
  background-color: #031f4e;
}

.cables h2,
.cables h4 {
  text-shadow: 0px 2px 0px #fff;
  text-align: right;
}

.cables .reveal .state-background {
  background: #fff url('../../img/cables.png') 0 0 repeat;
  background-size: cover;
  background-color: #fff;
}

/* blue */
.emphasis-primary .reveal .state-background {
  background: rgba(28, 149, 203, 1.0);
}

  .emphasis-primary .reveal *,
  .emphasis-secondary .reveal * {
    color: rgba(255,255,255, 1.0)
  }


/* pink */
.emphasis-secondary .reveal .state-background {
  background: rgba(226, 36, 144, 1.0);
}
