/**
 * Based on Solarized Dark theme for reveal.js.
 * Author: Achim Staebler
 */

@import url("https://fonts.googleapis.com/css?family=Merriweather+Sans:300,400,700|Merriweather:300,700");

/**
 * Solarized colors by Ethan Schoonover
 */

html * {
  color-profile: sRGB;
  rendering-intent: auto;
  -webkit-font-smoothing: antialiased;
}

/*********************************************
 * GLOBAL STYLES
 *********************************************/

body {
  background: #002b36;
  background-color: #002b36;
}

.reveal {
  font-family: "Merriweather Sans", sans-serif;
  font-size: 36px;
  font-weight: normal;
  color: #93a1a1;
}

::-moz-selection {
  color: #fff;
  background: #d33682;
  text-shadow: none;
}

::selection {
  color: #fff;
  background: #d33682;
  text-shadow: none;
}

::-moz-selection {
  color: #fff;
  background: #d33682;
  text-shadow: none;
}

.reveal .slides > section,
.reveal .slides > section > section {
  line-height: 1.3;
  font-weight: inherit;
}

/*********************************************
 * HEADERS
 *********************************************/

.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4,
.reveal h5,
.reveal h6 {
  margin: 0 0 20px 0;
  color: #eee8d5;
  font-family: "Merriweather", serif;
  font-weight: normal;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: uppercase;
  text-shadow: none;
  word-wrap: break-word;
}

.reveal h1 {
  font-size: 3.77em;
}

.reveal h2 {
  font-size: 2.11em;
}

.reveal h3 {
  font-size: 1.55em;
}

.reveal h4 {
  font-size: 1em;
}

.reveal h1 {
  text-shadow: none;
}

/*********************************************
 * OTHER
 *********************************************/

.reveal p {
  margin: 20px 0;
  line-height: 1.3;
}

/* Ensure certain elements are never larger than the slide itself */

.reveal img,
.reveal video,
.reveal iframe {
  max-width: 95%;
  max-height: 95%;
}

.reveal strong,
.reveal b {
  font-weight: bold;
}

.reveal em {
  font-style: italic;
}

.reveal ol,
.reveal dl,
.reveal ul {
  display: inline-block;
  text-align: left;
  margin: 0 0 0 1em;
}

.reveal ol {
  list-style-type: decimal;
}

.reveal ul {
  list-style-type: disc;
}

.reveal ul ul {
  list-style-type: square;
}

.reveal ul ul ul {
  list-style-type: circle;
}

.reveal ul ul,
.reveal ul ol,
.reveal ol ol,
.reveal ol ul {
  display: block;
  margin-left: 40px;
}

.reveal dt {
  font-weight: bold;
}

.reveal dd {
  margin-left: 40px;
}

.reveal blockquote {
  display: block;
  position: relative;
  width: 70%;
  margin: 20px auto;
  padding: 5px;
  font-style: italic;
  background: rgba(255, 255, 255, 0.05);
  -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
}

.reveal blockquote p:first-child,
.reveal blockquote p:last-child {
  display: inline-block;
}

.reveal q {
  font-style: italic;
}

.reveal pre {
  display: block;
  position: relative;
  width: 90%;
  margin: 20px auto;
  text-align: left;
  font-size: 0.55em;
  font-family: monospace;
  line-height: 1.2em;
  word-wrap: break-word;
  -webkit-box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3);
}

.reveal code {
  font-family: monospace;
  text-transform: none;
}

.reveal pre code {
  display: block;
  padding: 5px;
  overflow: auto;
  max-height: 400px;
  word-wrap: normal;
}

.reveal table {
  margin: auto;
  border-collapse: collapse;
  border-spacing: 0;
}

.reveal table th {
  font-weight: bold;
}

.reveal table th,
.reveal table td {
  text-align: left;
  padding: 0.2em 0.5em 0.2em 0.5em;
  border-bottom: 1px solid;
}

.reveal table th[align="center"],
.reveal table td[align="center"] {
  text-align: center;
}

.reveal table th[align="right"],
.reveal table td[align="right"] {
  text-align: right;
}

.reveal table tbody tr:last-child th,
.reveal table tbody tr:last-child td {
  border-bottom: none;
}

.reveal sup {
  vertical-align: super;
}

.reveal sub {
  vertical-align: sub;
}

.reveal small {
  display: inline-block;
  font-size: 0.6em;
  line-height: 1.2em;
  vertical-align: top;
}

.reveal small * {
  vertical-align: top;
}

/*********************************************
 * LINKS
 *********************************************/

.reveal a {
  color: #ffffff;
  text-decoration: none;
  -webkit-transition: color .15s ease;
  -o-transition: color .15s ease;
  transition: color .15s ease;
}

.reveal a:hover {
  color: white;
  text-shadow: none;
  border: none;
}

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

/*********************************************
 * IMAGES
 *********************************************/

.reveal section img {
  margin: 15px 0px;
  background: rgba(255, 255, 255, 0.12);
  border: 4px solid #93a1a1;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.reveal section img.plain {
  border: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.reveal a img {
  -webkit-transition: all .15s linear;
  -o-transition: all .15s linear;
  transition: all .15s linear;
}

.reveal a:hover img {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
}

/*********************************************
 * NAVIGATION CONTROLS
 *********************************************/

.reveal .controls {
  color: #ffffff;
}

/*********************************************
 * PROGRESS BAR
 *********************************************/

.reveal .progress {
  background: rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.reveal .progress span {
  -webkit-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);
}

/*********************************************
 * EXTRAS AND OVERRIDES
 *********************************************/

.reveal a:hover img {
  -webkit-box-shadow: none;
  box-shadow: none;
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background-color: transparent;
  z-index: 1;
}

#header #headerContent {
  line-height: 40px;
  display: inline-block;
  vertical-align: middle;
  width: 100%;
}

#header #headerContent > div {
  display: inline-block;
  vertical-align: middle;
}

#header #stuffLogo {
  margin-left: 15px;
  height: 24px;
}

#header #stuffLogo a,
#header #stuffLogo img {
  height: 100%;
  display: inline-block;
}

#header #sharebar {
  height: 100%;
}

#header #sharebar .social-bar {
  position: absolute;
  right: 15px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.reveal {
  /*
    .slide-background.present {
        opacity: 0.7;
    }
*/
}

.reveal .controls .controls-arrow {
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-image: url("../../img/arrow.svg");
  width: 3em;
  height: 3em;
}

.reveal .controls .controls-arrow:before,
.reveal .controls .controls-arrow:after {
  background: none;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
}

.reveal .controls .navigate-left .controls-arrow {
  -webkit-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  transform: rotate(-180deg);
}

.reveal .controls .navigate-right .controls-arrow {
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
}

.reveal .controls .navigate-up .controls-arrow {
  -webkit-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  transform: rotate(-90deg);
}

.reveal .controls .navigate-down .controls-arrow {
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}

/*------------------------------------*\
    SOCIAL-BAR.CSxS
    \*------------------------------------*/

.social-bar {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 0;
  list-style: none;
  padding: 0;
}

.social-bar li {
  -webkit-flex-basis: auto;
  -ms-flex-preferred-size: auto;
  flex-basis: auto;
  margin-left: 15px;
}

.social-bar__button {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  outline: 0;
  cursor: pointer;
}

.social-bar__button:active {
  opacity: 0.8;
}

.social-bar__button--facebook {
  background: #3b5998 url("../../img/social-bar-facebook.svg") no-repeat 7px 7px;
  background-size: 13px 13px;
  background-position: 6px 6px;
}

.social-bar__button--facebook:hover {
  background-color: #2e4677;
}

.social-bar__button--twitter {
  background: #55acee url("../../img/social-bar-twitter.svg") no-repeat 7px 7px;
  background-size: 13px 13px;
  background-position: 6px 6px;
}

.social-bar__button--twitter:hover {
  background-color: #4595d1;
}

.social-bar__button--googleplus {
  background: #dd4b39 url("../../img/social-bar-googleplus.svg") no-repeat 6px 6px;
  background-size: 13px 13px;
  background-position: 6px 6px;
}

.social-bar__button--googleplus:hover {
  background-color: #af3b2c;
}

.social-bar__button--whatsapp {
  background: #43d854 url("../../img/social-bar-whatsapp.svg") no-repeat 6px 6px;
  background-size: 13px 13px;
  background-position: 6px 6px;
}

.social-bar__button--email {
  background: #00824a url("../../img/social-bar-email.svg") no-repeat 7px 7px;
  background-size: 13px 13px;
  background-position: 6px 6px;
}

.social-bar__button--email:hover {
  background-color: #06643b;
}

@media (min-width: 415px) {
  .social-bar li > a:first-child {
    margin-left: 0;
  }
}

.social-bar .u-hidden-text {
  text-indent: -9999px !important;
}

section .title {
  font-size: 48px;
  background-color: rgba(46, 140, 208, 0.5);
  padding: 10px;
  color: white;
  margin: 0 auto;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

section img {
  border: none;
}

section .textPanel {
  background-color: rgba(46, 140, 208, 0.5);
  padding: 20px;
  color: white;
  margin: 0 auto;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-align: left;
  z-index: 900;
}

section .textBlock {
  color: white;
}

section .graph {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

section .graph img {
  border: none;
  background: none;
  width: 100%;
}

section .attrib {
  font-size: 0.7em;
}

section .twoCols {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  -ms-flex-align: start;
  align-items: flex-start;
}

section .twoCols .leftCol {
  width: 50%;
}

section .twoCols .leftCol img {
  margin: 0;
  width: 100%;
}

section .twoCols .rightCol {
  width: 50%;
}

section .flexVcenter {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

section .rm_link:hover img {
  opacity: .85;
}

section .rm_link:hover .rm_title {
  text-decoration: underline;
}

section .readmore {
  position: relative;
}

section .readmore .rm_words {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: calc(100% - 40px);
  padding: 0 20px;
  z-index: 200;
  color: white;
  text-align: left;
  max-width: 75%;
}

section .readmore .rm_words .rm_line-ls {
  width: 100%;
  font-family: "Merriweather Sans", sans-serif;
  font-size: 14px;
  border-bottom: 1px solid white;
  letter-spacing: 0.2em;
  font-weight: bold;
}

section .readmore .rm_words .rm_title {
  margin-top: 20px;
  font-weight: 700;
  font-size: 28px;
  font-family: "Merriweather", serif;
}

section .readmore .rm_words .rm_descrip {
  font-family: "Merriweather Sans", sans-serif;
  font-weight: 300;
  font-size: 14px;
  margin-top: 5px;
}

section .readmore img {
  width: 100%;
  max-width: 100%;
}

section .credits {
  font-size: 18px;
  color: white;
  font-family: "Merriweather Sans", sans-serif;
  font-weight: 300;
  text-align: left;
  margin-left: 20%;
  line-height: 150%;
}

section .credits .task {
  font-weight: 700;
}

@media (orientation: portrait) {
  section .title {
    font-size: 64px;
  }

  section .top {
    margin-top: -150px;
    margin-bottom: 30px;
  }

  section .textPanel {
    width: 90%;
    font-size: 42px;
  }

  section .graph {
    width: 90%;
  }

  section .graph img {
    width: 100%;
  }

  section .twoCols {
    display: block;
  }

  section .twoCols .leftCol,
  section .twoCols .rightCol {
    width: 100%;
  }

  section .credits {
    font-size: 36px;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
  }

  section .readmore {
    width: 80%;
    margin-top: 80px;
    margin-left: auto;
    margin-right: auto;
  }

  section .readmore .rm_line-pt {
    display: block;
    font-family: "Merriweather Sans", sans-serif;
    font-size: 36px;
    border-bottom: 2px solid white;
    letter-spacing: 0.1em;
    text-align: left;
    margin-bottom: 30px;
    font-weight: bold;
  }

  section .readmore img {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  section .readmore .rm_words {
    position: static;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    padding: 0;
    max-width: 100%;
  }

  section .readmore .rm_words .rm_line-ls {
    display: none;
  }

  section .readmore .rm_words .rm_title {
    font-size: 58px;
  }

  section .readmore .rm_words .rm_descrip {
    font-size: 36px;
    margin-top: 5px;
  }
}

@media (orientation: landscape) {
  section .vcenter {
    position: relative;
    margin-top: 150px;
  }

  section .rm_line-pt {
    display: none;
  }
}

@media (min-width: 500px) {
  .reveal .controls .controls-arrow {
    width: 3.6em;
    height: 3.6em;
  }

  .reveal .controls[data-controls-layout="edges"] .navigate-left {
    left: 10px;
  }

  .reveal .controls[data-controls-layout="edges"] .navigate-right {
    right: 10px;
  }
}

@media (min-width: 900px) {
  #header {
    height: 50px #headerContent;
    height-line-height: 50px;
  }

  #header #stuffLogo {
    height: 30px;
  }

  .social-bar__button {
    width: 32px;
    height: 32px;
  }

  .social-bar__button--facebook {
    background-size: 17px 17px;
    background-position: 7px 8px;
  }

  .social-bar__button--twitter {
    background-size: 17px 18px;
    background-position: 8px 8px;
  }

  .social-bar__button--googleplus {
    background-size: 17px 17px;
    background-position: 7px 7px;
  }

  .social-bar__button--whatsapp {
    background-size: 17px 17px;
    background-position: 7px 7px;
  }

  .social-bar__button--email {
    background-size: 17px 17px;
    background-position: 7px 7px;
  }
}

@media (min-width: 1100px) {
  #header {
    height: 60px;
  }

  #header #headerContent {
    line-height: 60px;
  }

  #header #stuffLogo {
    height: 40px;
  }
}