/**
 * Copyright 2010 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

body {
  padding: 0;
  margin: 0;
  overflow: hidden;
}

header {
  margin: 0;
  padding: 0;
  position: absolute;
  left: 30px;
  top: 30px;
}

section {
  display: block;
  overflow: hidden;
  margin: 30px;
}

header+section.noflex {
  margin-top: 90px;
}
section+section {
  margin-top: 0;
}

.hbox {
  display: -webkit-box;
  -webkit-box-orient: horizontal;
  -webkit-box-align: stretch;

  display: -moz-box;
  -moz-box-orient: horizontal;
  -moz-box-align: stretch;

  display: box;
  box-orient: horizontal;
  box-align: stretch;
}

.slide,
.vbox {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-box-align: stretch;

  display: -moz-box;
  -moz-box-orient: vertical;
  -moz-box-align: stretch;

  display: box;
  box-orient: vertical;
  box-align: stretch;
}

.flex {
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  box-flex: 1;
}

section,
.noflex {
  -webkit-box-flex: 0;
  -moz-box-flex: 0;
  box-flex: 0;
}

.slide,
.boxcenter {
  -webkit-box-pack: center;
  -moz-box-pack: center;
  box-pack: center;
}

.hcenter {
  text-align: center;
}

.presentation {
  position: absolute;
  width: 100%;
  display: table-cell;
  vertical-align: middle;
  height: 100%;
}

.presentationCounter {
  position: absolute;
  top: 40%;
  left: 0;
  width: 100%;
  text-align: center;
}

.slides {
  width: 100%;
  height: 100%;
  overflow: hidden;
  left: 0;
  top: 0;
  position: absolute;
  display: block;
  -webkit-transition: -webkit-transform 2s ease-in-out;
  -moz-transition: -moz-transform 2s ease-in-out;
}

.slide {
  position: absolute;
  overflow: hidden;
  width: 900px;
  height: 700px;
  left: 50%;
  top: 50%;
  margin-top: -350px;

  -webkit-transition-property: margin, -webkit-transform, opacity;
  -webkit-transition-duration: 0.3s, 0.3s, 0.3s;
  -webkit-transition-timing-function: ease-in-out;

  -moz-transition-property: margin, -moz-transform, opacity;
  -moz-transition-duration: 0.3s, 0.3s, 0.3s;
  -moz-transition-timing-function: ease-in-out;
}


.slide.far-far-past {
  display: none;
  margin-left: -2400px;
}


.slide.far-past {
  z-index: 1;
  margin-left: -2400px;
}
.slide.far-past iframe, .slide.past iframe {
  display:none;
}

.slide.past {
  z-index: 2;
  margin-left: -1400px;
}

.slide.current {
  z-index: 3;
  margin-left: -450px;
  opacity: 1.0;
}

.slide.future {
  z-index: 2;
  margin-left: 500px;
}

.slide.far-future {
  z-index: 1;
  margin-left: 1500px;
}

.slide.far-far-future {
  margin-left: 1500px;
  display: none;
}

.slide section > ul {
  width: 100%;
}

.slide section li div {
  width: 100%;
  max-height: 0; overflow:hidden; color: transparent;
  -webkit-transition: all .4s ease-out;
     -moz-transition: all .4s ease-out;
       -o-transition: all .4s ease-out;
          transition: all .4s ease-out;
}

h2 code { font-family: Inconsolata; font-size: 80px; }

li.dim { color: #999;}
li.highlight { color: black;}
.slide section li.highlight div { max-height: 200px; color:inherit;}

/*
.slide section a {
  color: rgba(181, 0, 98, 0.6);
}
*/
.slide section a:focus,
.slide section a:active,
.slide section a:hover { color: rgba(226, 0, 122, 0.6);}






ul.summary a, .slide section a {
 display:inline-block;
  -webkit-transform-origin: left bottom;
     -moz-transform-origin: left bottom;
       -o-transform-origin: left bottom;
          transform-origin: left bottom;
  -webkit-transition: all 0.2s ease-out;
     -moz-transition: all 0.2s ease-out;
       -o-transition: all 0.2s ease-out;
          transition: all 0.2s ease-out;
          outline: 0; border: 0;
}
ul.summary a:hover, .slide section a:hover {
   /*
  -webkit-transform: scale(1.15);
     -moz-transform: scale(1.15);
       -o-transform: scale(1.15);
          transform: scale(1.15);
      text-shadow: 0 4px 1px #bada55; */
}


.slide section iframe, .slide section object[data^="http"] {
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -o-transform: scale(0.8);
  transform: scale(0.8);

  -webkit-transform-origin: 15% 50%;
  -moz-transform-origin: 15% 50%;
  -o-transform-origin: 15% 50%;
  transform-origin: 15% 50%;

  height:740px;
  width:980px;
}


.meframes {
  margin-top: 100px;
}

html body .slide .meframes iframe {

  -webkit-transform: scale(0.45);
  -moz-transform: scale(0.45);
  -o-transform: scale(0.45);
  transform: scale(0.45);



  -webkit-transform-origin: 0% 0%;
  -moz-transform-origin: 0% 0%;
  -o-transform-origin: 0% 0%;
  transform-origin: 0% 0%;


}
.meframes div {

  float: left;
  overflow:hidden;
  width: 420px;
  height: 300px;
}

@media print {

  body div.slide { position: relative; margin:  30px 0 !important; top: 0; left: 0; page-break-after: always;}
  body, html { overflow: auto;}
  .presentation, .slides { display: block; width: auto; height: auto;}
  div.slide.far-far-future { display: -webkit-box;}
  @page {
    size: landscape;
    margin: 10%;
  }
}


h3 { font-size: 90px; margin: 0;}
h2 + h3 { font-size: inherit; margin: inherit;}


li[del] { text-decoration: line-through;;}
