/*
 * Set of useful classes for slide effects and animations
 *
 * include this first because we clear all the definitions first
 */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* fallback frame for unsupported browsers */
.fallback-message {
    font-family: sans-serif;
    line-height: 1.3;

    width: 780px;
    padding: 10px 10px 0;
    margin: 20px auto;

    border: 1px solid #E4C652;
    border-radius: 10px;
    background: #EEDC94;
}

.fallback-message p {
    margin-bottom: 10px;
}

.impress-supported .fallback-message {
    display: none;
}

/* define the basics for positioning the slides */

.step, .build {
    position: relative;
    width: 900px;
    padding: 40px;
    margin: 20px auto;

    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    -ms-box-sizing:     border-box;
    -o-box-sizing:      border-box;
    box-sizing:         border-box;

    font-family: 'PT Sans', georgia, sans-serif;
    font-size: 48px;
    line-height: 1.5;
}

tt {
    font-family: 'Adobe Courier', courier, monospace;
    font-size: 30pt;
    line-height: 1.0;
}

ttcompact {
    font-family: 'Adobe Courier', courier, monospace;
    font-size: 30pt;
    line-height: 0.5;
}
/* Split screen, left and right (do this with divs) */
.left {
    width: 350px;
    float: left;
}

.right {
    margin-left: 450px;
}

/* make 4x3 graphics fit in 16x9 */
.fullscreen {
    position: fixed;
    top: -1200%;
    left: -60%;
    width: 185%;
    height: 185%;
}

/* dropon animation: makes whatever this object is drop into the frame and
 * bounce.  With this added class, only divs within this div that have
 * class="bounce" will actually bounce in
 */


@-webkit-keyframes dropon-bounce {
    20% {
	-webkit-transform:      scale(0.7);
    }

    40% {
	-webkit-transform:	scale(1.2);
    }

    60% {
	-webkit-transform:	scale(0.7);
    }

    80% {
	-webkit-transform:	scale(1.1);
    }
}
@keyframes dropon-bounce {
    20% {
	transform:      scale(0.7);
    }

    40% {
	transform:	scale(1.2);
    }

    60% {
	transform:	scale(0.7);
    }

    80% {
	transform:	scale(1.1);
    }
}

.present .bounce {
    animation-name: dropon-bounce;
    animation-duration: 2s;
    animation-delay: 0s;
    -webkit-animation-name: dropon-bounce;
    -webkit-animation-duration: 2s;
    -webkit-animation-delay: 0s;
 }

.slant {
    transform: rotate(30deg);
    -webkit-transform: rotate(30deg);
}

/* transition classes all have 0 delay and 1s duration; can be
 * adjusted with above modifiers */

.expand-in {
    transform: scale(0.1) translateX(100px) translateY(-100px);
    -webkit-transform: scale(0.1) translateX(100px) translateY(-100px);
}

.present .expand-in {
    position:relative;
    transition-delay: 0s;
    transition-duration: 1s;
    transform: scale(1);
    -webkit-transform: scale(1);
    -webkit-transition-delay: 0s;
    -webkit-transition-duration: 1s;
}

.past .expand-in {
    transform: scale(1);
    -webkit-transform: scale(1);
}

.shrink-out {
    transform: scale(0.1) translateX(100px) translateY(-100px);
    -webkit-transform: scale(0.1) translateX(100px) translateY(-100px);
}

.present .shrink-out {
    position:relative;
    transition-delay: 0s;
    transition-duration: 1s;
    transform: scale(0.1) translateX(100px) translateY(-100px);
    -webkit-transform: scale(0.1) translateX(100px) translateY(-100px);
    -webkit-transition-delay: 0s;
    -webkit-transition-duration: 1s;
}

.future .shrink-out {
    transform: scale(1);
    -webkit-transform: scale(1);
}

.fly-in-left {
    position:relative;
    left: -1000px;
}

.present .fly-in-left {
    transform: translateX(1000px);
    transition-delay: 0s;
    transition-duration: 1s;
    -webkit-transform: translateX(1000px);
    -webkit-transition-delay: 0s;
    -webkit-transition-duration: 1s;
}

.past .fly-in-left {
    position:relative;
    left:0px;
}

.present .fly-out-NE {
    transform: translateX(1000px) translateZ(1000px);
    transition-delay: 0s;
    transition-duration: 1s;
    -webkit-transform: translateX(1000px) translateZ(1000px);
    -webkit-transition-delay: 0s;
    -webkit-transition-duration: 1s;
}

.present .fly-out-SE {
    transform: translateX(1000px) translateZ(-1000px);
    transition-delay: 0s;
    transition-duration: 1s;
    -webkit-transform: translateX(1000px) translateZ(-1000px);
    -webkit-transition-delay: 0s;
    -webkit-transition-duration: 1s;
}

.present .fly-out-SW {
    transform: translateX(-1000px) translateZ(-1000px);
    transition-delay: 0s;
    transition-duration: 1s;
    -webkit-transform: translateX(-1000px) translateZ(-1000px);
    -webkit-transition-delay: 0s;
    -webkit-transition-duration: 1s;
}

.present .fly-out-NW {
    transform: translateX(-1000px) translateZ(1000px);
    transition-delay: 0s;
    transition-duration: 1s;
    -webkit-transform: translateX(-1000px) translateZ(1000px);
    -webkit-transition-delay: 0s;
    -webkit-transition-duration: 1s;
}

/* modifiers for transition classes
 * Note: in css, application order is the order the classes appear
 *       in the css file, so these modifiers *must* come after the transforms */
.present .delay-0 {
    transition-delay: 0s;
    -webkit-transition-delay: 0s;
}

.present .delay-1 {
    transition-delay: 1s;
    -webkit-transition-delay: 1s;
}

.present .delay-2 {
    transition-delay: 2s;
    -webkit-transition-delay: 1s;
}

.present .duration-0 {
    transition-duration: 0s;
    -webkit-transition-duration: 0s;
}

.present .duration-1 {
    transition-duration: 1s;
    -webkit-transition-duration: 1s;
}

.present .duration-2 {
    transition-duration: 2s;
    -webkit-transition-duration: 2s;
}

/*
    These 'slide' step styles were heavily inspired by HTML5 Slides:
    http://html5slides.googlecode.com/svn/trunk/styles.css

    ;)

    They cover everything what you see on first three steps of the demo.
*/
.slide {
    display: block;

    width: 900px;
    height: 700px;
    padding: 40px 60px;

    background-color: white;
    border: 1px solid rgba(0, 0, 0, .3);
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .1);

    color: rgb(102, 102, 102);
    text-shadow: 0 2px 2px rgba(0, 0, 0, .1);

    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 30px;
    line-height: 36px;
    letter-spacing: -1px;
}

.slide q {
    display: block;
    font-size: 50px;
    line-height: 72px;

    margin-top: 100px;
}

.slide li {
    list-style-type: circle;
}

.slide q strong {
    white-space: nowrap;
}

/* oneshot class for something that is only visible when present but not
 * at any other time
 */
.past.oneshot, .past .oneshot {
    opacity: 0;
}

.future.oneshot, .future .oneshot {
    opacity: 0;
}

/* oneshot class for something that is only visible when present but not
 * at any other time
 */
.past.oneshot-build, .past .oneshot-build {
    opacity: 0;
}

.future.oneshot-build, .future .oneshot-build {
    opacity: 1;
}

/* oneshot that is still faintly visible */
.past.oneshot-faint, .past .oneshot-faint {
    opacity: 0.25;
}

.future.oneshot-faint, .future .oneshot-faint {
    opacity: 0;
}

/* make this object fully visible for all steps after it */
.visible-past.past {
    opacity: 1;
}

/* oneshot-past is invisible until the event is past then stays
 * visible for a build
 */
.oneshot-past.past {
    opacity: 1;
}

.oneshot-past.future {
    opacity: 0;
}

.impress-enabled .build-appear.build.future {
    opacity: 0;
}

.impress-enabled .build-appear.build.active {
    opacity: 1;
}

.future.visible, .future .visible {
    opacity: 1;
}

.past.visible, .past .visible {
    opacity: 1;
}

.active.build-visible {
    opacity: 1;
}
