/* CSS theme for GA course on D3.js */

@font-face {
  font-family: 'CircularStd';
  src: url("../font/CircularStd-black.woff"), url("../font/CircularStd-black.eot"), url("../font/CircularStd-black.ttf");
  font-weight: normal;
  font-style: normal; }

@font-face {
  font-family: 'PFDinTextCompPro';
  src: url("../font/pfdintextcomppro-bold-webfont.woff"), url("../font/pfdintextcomppro-bold-webfont.eot"), url("../font/pfdintextcomppro-bold-webfont.ttf");
  font-weight: normal;
  font-style: normal; }  
  
@font-face {
  font-family: 'News706BT-RomanC';
  src: url("../font/news706bt-romanc-webfont.ttf");
  font-weight: normal;
  font-style: normal; }
  
  
/*********************************************
 * GLOBAL STYLES
 *********************************************/
body {
  background-color: #fff; }

.reveal {
  font-family: "News706BT-RomanC", sans-serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #000; }

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

/*********************************************
 * HEADERS
 *********************************************/
.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4,
.reveal h5,
.reveal h6 {
  margin: 0 0 20px 0;
  color: #000;
  font-family: "PFDinTextCompPro", Impact, sans-serif;
  line-height: 0.9em;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
  
.reveal p{
  font-family: "News706BT-RomanC", sans-serif;
}  

.reveal p.small{
  font-size: 0.7em;
}  
.reveal h1.shadowfont {
  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); 
}

.reveal h1.white, h2.white {
  color: #fff;
}

/*********************************************
 * LINKS
 *********************************************/
.reveal a:not(.image) {
  color: #f00;
  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: #f00;
  text-shadow: none;
  border: none; }

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

/*********************************************
 * IMAGES
 *********************************************/
.reveal section img {
  margin: 15px 0px;
  background: rgba(255, 255, 255, 0.12);
  -webkit-transition: all .2s linear;
  -moz-transition: all .2s linear;
  -ms-transition: all .2s linear;
  -o-transition: all .2s linear;
  transition: all .2s linear; }

.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: #000; }

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

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

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

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

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

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

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

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

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

/*********************************************
 * BACKGROUNDS
 *********************************************/
  
  .ga .reveal .state-background {
	background: rgba( 255, 0, 0, 0.7 );
}
