
@import url(http://fonts.googleapis.com/css?family=Source+Serif+Pro:400,700);
@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700);
@import url(http://fonts.googleapis.com/css?family=Source+Code+Pro);
@import url(http://fonts.googleapis.com/css?family=Lobster);


@green: #17b363;

/**
 * 
 * Default theme for Apprend.org
 * Copyright (C) 2015 Alan Languirand, 13protons.com
 * 
 * Based on the default theme for reveal.js,
 * by Hakim El Hattab, http://hakim.se
 *   
 */

/*********************************************
 * GLOBAL STYLES
 *********************************************/
@bg_dark: darken(#046380, 20%);
@bg_light: lighten(@bg_dark, 20%);
body {
  background: @bg_dark;
  background: -moz-radial-gradient(center, circle cover, @bg_light 0%, @bg_dark 100%);
  background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, @bg_light), color-stop(100%, @bg_dark));
  background: -webkit-radial-gradient(center, circle cover, @bg_light 0%, @bg_dark 100%);
  background: -o-radial-gradient(center, circle cover, @bg_light 0%, @bg_dark 100%);
  background: -ms-radial-gradient(center, circle cover, @bg_light 0%, @bg_dark 100%);
  background: radial-gradient(center, circle cover, @bg_light 0%, @bg_dark 100%);
  background-color: @bg_dark; }

.reveal {
  font-family: "Source Sans Pro", serif;
  font-size: 36px;
  font-weight: 200;
  color: #eeeeee; }

::selection {
  color: white;
  background: #ff5e99;
  text-shadow: none; }

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

.reveal {
  h1, h2, h3, h4, h5, h6 {
    margin: 0 0 20px 0;
    color: #eeeeee;
    font-family: "Source Serif Pro", "Lucida Grande", serif;
    line-height: 0.9em;
    letter-spacing: 0.02em;
    text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2); 
  }

  h1 {
    font-family: "Lobster", cursive;
    margin-bottom: .5em;
    text-shadow: 0 1px 0 #cccccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbbbbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaaaaa, 0 6px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2), 0 5px 10px rgba(0, 0, 0, 0.25), 0 20px 20px rgba(0, 0, 0, 0.15); 
  }

}  
  
/*********************************************
 * LINKS
 *********************************************/
.reveal { 
  a:not(.image) {
    color: #13daec;
    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; }

  a:not(.image):hover {
    color: #71e9f4;
    text-shadow: none;
    border: none; }

  .roll span:after {
    color: #fff;
    background: #0d99a5; }
}
/*********************************************
 * IMAGES
 *********************************************/
.reveal section img {
  margin: 15px 0px;
  background: rgba(255, 255, 255, 0.12);
  border: 4px solid #eeeeee;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  -webkit-transition: all .2s linear;
  -moz-transition: all .2s linear;
  -ms-transition: all .2s linear;
  -o-transition: all .2s linear;
  transition: all .2s linear; 
  max-width: 65%;

  &.logo {
    background: none;
    border: none;
    max-width: 15%;
    box-shadow:none;
  }
}

.reveal a:hover img {
  background: rgba(255, 255, 255, 0.2);
  border-color: #13daec;
  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: @green; }

.reveal .controls div.navigate-right,
.reveal .controls div.navigate-right.enabled {
  border-left-color: @green; }

.reveal .controls div.navigate-up,
.reveal .controls div.navigate-up.enabled {
  border-bottom-color: @green; }

.reveal .controls div.navigate-down,
.reveal .controls div.navigate-down.enabled {
  border-top-color: @green; }

.reveal .controls div.navigate-left.enabled:hover {
  border-right-color: @green; }

.reveal .controls div.navigate-right.enabled:hover {
  border-left-color: @green; }

.reveal .controls div.navigate-up.enabled:hover {
  border-bottom-color: @green; }

.reveal .controls div.navigate-down.enabled:hover {
  border-top-color: @green; }

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

.reveal .progress span {
  background: @green;
  -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); }

/*********************************************
 * SLIDE NUMBER
 *********************************************/
.reveal .slide-number {
  color: #13daec; }

/*********************************************
 * Markdown
 *********************************************/

.reveal {
  pre, .reveal code { font-family: "Source Code Pro", monospace; }
  
  pre { 
    padding: 1em; 
    background-color: #000; 
    max-height: 20rem; 
    overflow: auto;
    line-height: 1em;
    font-size: .7em;
    border-radius: 10px;
    border: 5px solid #046380;
  }
  code {
    background-color: #000; padding: .15em .5em;
    border-radius: .25em;
    font-size: .8em;
  }
  pre {
    padding: 1em;
    code {
      background-color: transparent; padding: 0; 
      max-width: 100%;
    }
  }

  table {
    width: 100%;
    th{
      border-bottom: 1px solid #fff;
      padding: .25em .5em;
      background-color: #000;
    }
    td {
      padding: 0 .5em;
    }
  }
  p, blockquote p {
    text-wrap: balanced;
  }
  p:not(:first-of-type) {
    margin-top: 1em;

  }
  blockquote {
    margin: .5em auto;
    background-color: #333;
    color: #aaa;
    width: 90%;
    p {

      font-family: "Source Serif Pro", serif;
      font-size: .75em;
    }

  }
  
  ul, ol {
    margin-top: 1em;
    ul, ol {margin-top: 0;}
  }
}


