/**
 * This is a stylesheet for a demo presentation for impress.js
 * 
 * It is not meant to be a part of impress.js and is not required by impress.js.
 * I expect that anyone creating a presentation for impress.js would create their own
 * set of styles.
 */


/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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, sub, sup, 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;
}
ol, 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;
}


body {
    font-family: 'Ubuntu', sans-serif;
    
    min-height: 740px;
}

b, strong { font-weight: bold }
i, em { font-style: italic}

a {
    color: inherit;
    text-decoration: none;
    padding: 0 0.1em;
    background: rgba(255,255,255,0.5);
    text-shadow: -1px -1px 2px rgba(100,100,100,0.9);
    border-radius: 0.2em;
    
    -webkit-transition: 0.5s;
    -moz-transition:    0.5s;
    -ms-transition:     0.5s;
    -o-transition:      0.5s;
    transition:         0.5s;
}

a:hover {
    background: rgba(255,255,255,1);
    text-shadow: -1px -1px 2px rgba(100,100,100,0.5);
}



.red {
	color: #f30;
}

.sub {
	font-style: italic;
    font-size: 32px;
	color: #710;
}
/* COMMON STEP STYLES */

.step {
    width: 900px;
    padding: 40px;

    -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: 'Ubuntu', sans-serif;

    font-size: 48px;
    line-height: 1.5;
}

/* fade out inactive slides */

.step {
    -webkit-transition: opacity 1s;
    -moz-transition:    opacity 1s;
    -ms-transition:     opacity 1s;
    -o-transition:      opacity 1s;
    transition:         opacity 1s;
}

.step:not(.active) {
    opacity: 0.2;
}

img {
	margin-left: 100px;
}
/* STEP SPECIFIC STYLES */

#title {
    padding: 0;
	text-align:center;
}

#title h1 {
    font-size: 190px;
    
    -webkit-transform: translateZ(50px);
    -moz-transform:    translateZ(50px);
    -ms-transform:     translateZ(50px);
    -o-transform:      translateZ(50px);
    transform:         translateZ(50px);
}

#title .subtitle {
	font-style: italic;
    font-size: 60px;
    -webkit-transform: translateZ(-50px);
    -moz-transform:    translateZ(-50px);
    -ms-transform:     translateZ(-50px);
    -o-transform:      translateZ(-50px);
    transform:         translateZ(-50px);
}

#objectives h1{
    font-size: 60px;
    
    -webkit-transform: translateZ(50px);
    -moz-transform:    translateZ(50px);
    -ms-transform:     translateZ(50px);
    -o-transform:      translateZ(50px);
    transform:         translateZ(50px);
}

#control2.active  .yaw{
    -webkit-transition: 3s;
    -moz-transition:    3s;
    -ms-transition:     3s;
    -o-transition:      3s;
    transition:         3s;
    -webkit-transform: rotate(-360deg);
    -moz-transform:    rotate(-360deg);
    -ms-transform:     rotate(-360deg);
    -o-transform:      rotate(-360deg);
    transform:         rotate(-360deg);
    -webkit-transition-delay: 1s;
    -moz-transition-delay:    1s;
    -ms-transition-delay:     1s;
    -o-transition-delay:      1s;
    transition-delay:         1s;
}

#control1.active  .hover{
    -webkit-transition: 1s;
    -moz-transition:    1s;
    -ms-transition:     1s;
    -o-transition:      1s;
    transition:         1s;
    -webkit-transform: scale(1.6);
    -moz-transform:    scale(1.6);
    -ms-transform:     scale(1.6);
    -o-transform:      scale(1.6);
    transform:         scale(1.6);
    -webkit-transition-delay: 1.5s;
    -moz-transition-delay:    1.5s;
    -ms-transition-delay:     1.5s;
    -o-transition-delay:      1.5s;
    transition-delay:         1.5s;
}

#control3.active  .forward{
    -webkit-transition: 1s;
    -moz-transition:    1s;
    -ms-transition:     1s;
    -o-transition:      1s;
    transition:         1s;
    -webkit-transform: translateY(-250px);
    -moz-transform:    translateY(-250px);
    -ms-transform:     translateY(-250px);
    -o-transform:      translateY(-250px);
    transform:         translateY(-250px);
    -webkit-transition-delay: 1s;
    -moz-transition-delay:    1s;
    -ms-transition-delay:     1s;
    -o-transition-delay:      1s;
    transition-delay:         1s;
}

#control3.active .red{
    display: inline-block;
    -webkit-transform: translateY(-250px);
    -moz-transform:    translateY(-250px);
    -ms-transform:     translateY(-250px);
    -o-transform:      translateY(-250px);
    transform:         translateY(-250px);
}

#mech1, #mech2, #mech3, #mech4{
	margin-left:0;
}
#mech1{
    -webkit-transform: translateY(250px);
    -moz-transform:    translateY(250px);
    -ms-transform:     translateY(250px);
    -o-transform:      translateY(250px);
    transform:         translateY(250px);
}
#mech2{
	opacity: 0;
    -webkit-transform: translateY(175px);
    -moz-transform:    translateY(175px);
    -ms-transform:     translateY(175px);
    -o-transform:      translateY(175px);
    transform:         translateY(175px);
}
#mech3{
	opacity: 0;
    -webkit-transform: translateY(100px);
    -moz-transform:    translateY(100px);
    -ms-transform:     translateY(100px);
    -o-transform:      translateY(100px);
    transform:         translateY(100px);
}
#mech4{
	opacity: 0;
    -webkit-transform: translateY(25px);
    -moz-transform:    translateY(25px);
    -ms-transform:     translateY(25px);
    -o-transform:      translateY(25px);
    transform:         translateY(25px);
}

#Mechanical2.active img, #Mechanical3.active img, #Mechanical4.active img{
	opacity:1;
}

/* overview step */

#overview {
    z-index: -1;
    padding: 0;
}

/* on overview step everything is visible */

#impress.step-overview .step {
    opacity: 1;
    cursor: pointer;
}


/* IMPRESS NOT SUPPORTED STYLES */

.fallback-message {
    font-family: sans-serif;
    line-height: 1.3;
    
    display: none;
    width: 780px;
    padding: 10px 10px 0;
    margin: 20px auto;

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

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

.impress-not-supported .step {
    position: relative;
    opacity: 1;
    margin: 20px auto;
}

.impress-not-supported .fallback-message {
    display: block;
}

