/*all the colors you need*/
/* https://material.io/guidelines/style/color.html#color-color-palette */

.step ul {
    list-style:square;
    margin-left:50px;
    font-size:100%;
}

.step ol {
    /*list-style:upper-roman;*/
    margin-left:50px;
    list-style-type: decimal;
}

/*a generic CARD thing... overlays, with a nice box shadow. has a title*/
.card {
    padding: 11px 17px;
    background-color: rgba(255, 255, 255, 0.89);
    box-shadow: 3px 3px 3px #333333;
    border-radius: 5px;
}
.card .cardtitle {
    font-size: 140%;
}
.card .cardbody {
    font-size:100%;
}

/* this hides the element, except when it's on the current slide */
.step.active .onlyshowhere {
    opacity:1;
    transition: opacity 1s;
}
.step.future .onlyshowhere, .step.past .onlyshowhere {
    opacity: 0;
    transition: opacity 1s;
}

#fullimdbscreenshot {
    width: 40%;
    display: block;
    margin-left: 20px;
    margin-top:20px;
}

h1.imgtitle {
    text-align: center;
    font-size:40px;
}

.whiteoverlay {
    padding: 40px 60px;
    background-color: rgba(255,255,255,.7);
    border: 1px solid rgba(0, 0, 0, .3);
    border-radius: 10px
}

code {
    font-family: monospace !important;
}

/* step 3 */

#imgblocks {
    text-align: center;
    margin-top: 10px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.arrowblock {
    display: inline-block;
    font-size: 70px;
}

.step.introducingwebpage {
    text-align:center;
}

.arrowblock span {
    font-size:20px;
}

.pixeldiv {
    width:100%;
    height:200px;
}

#testimgpanther {
    background-image: url('img/detective.png');
}

#testimgserver {
    background-image: url('img/linux-server.png');
}

#testimgbrowser {
    /*background-image: url('img/ie_pixel.png');*/
    background-image: url('img/monitor.png');
}

.imgblock .subtitle {
    font-size: 19pt;
}

.pixeldiv {
    /*image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-crisp-edges;
    image-rendering: pixelated;
    image-rendering: crisp-edges;*/
    background-repeat: no-repeat;
    background-size:contain;
    background-position: center;
    margin-left: auto;
    margin-right: auto;
}

.imgblock {
    display:inline-block;
    width:25%;
}

.arrowblock .text {
    font-size:20pt;
}

.arrowblock .arrow {
    margin-top:-50px;
}

.step.introducingserver.past i.very {
    font-weight:bold;
}

/* step 4 */
#wufimg {
    background-image: url(img/wufunicorn.png);
    width: 200px;
    height: 200px;
    /* margin-top: 22px; */
    display: inline-block;
    margin-bottom: -8px;
}

#wuftext {
        text-align: right;
    width: 400px;
    display: inline-block;
    /* top: 0px; */
    /* position: relative; */
}

.step.unicorn.past, .step.unicorn.future {
    display:none;
}

#introducingtheserverimg {
    background-position: left;
    background-position-x: 475px;
    background-image: url('img/linux-server.png');
}


/*step 7*/
#biglebowskiscreenshot {
    background-image:url('img/biglebowskiscreenshot.png');
    background-position:left;
    width:100%;
    height:300px;
}

#biglebowskidomscreenshot {
    background-image:url('img/lebowskidomscreenshot.png');
    background-position:left;
    width:100%;
    height:600px;
    filter: none; 
    -webkit-filter: blur(0px); 
    -moz-filter: blur(0px); 
    -ms-filter: blur(0px);
    filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='0');
}

/*step 10 */
.browserinfo p {
    font-size:40px;
}
.browserinfo ul {
    font-size:30px;
}



/*step 11*/
.step.userintro.past, .step.userintro.future {
    opacity: 0;
    transition: opacity 1s;
}

.bubble.eventually {
    left:260px;
    position: relative;
    width: 300px;
    height: 97px;
}

.eventually {
    text-align: center;
    vertical-align: middle;
}





/*step 13*/
#firstillustrated.past > .starhighlight {
    opacity: 0;
}

#star1 {
    width: 82px;
    left: 309px;
    top: 308px;
}

#star2 {
    width: 103px;
    top: 308px;
    left: 395px;
}

#star3 {
    width: 110px;
    top: 308px;
    left: 501px;
}


/*step 14*/
#shockface {
    background-image: url(img/pile-of-books.jpg);
    position: absolute;
    bottom: 42px;
    left: 450px;
}


/*step 15*/
#cpulifting {
    background-image:url('img/klaasvangend-processor-active-800px.png');
    margin-top: 15px;
    /*position: absolute;
    top: 196px;
    left: 450px;*/
}

/*step 16*/
#biglebowskiscreenshotexamples {
    background-image: url(img/biglebowskiscreenshot.png);
    background-position: center;
    width: 100%;
    height: 300px;
    margin-top: 25px;
}

#assumestep > p {
    text-align:center;
}

#assumestep.past {
    opacity:1;
}



#example1
/*,#example2*/
 {
    width: 392px;
    height: 43px;
    position: absolute;
    top: -106px;
    left: 68px;
    opacity:0.7;
}

#twoexamples.future, #twoexamples.past {
    opacity:0;
}





#lookatdomimg2 {
    background-image: url(img/lebowskistarsdom.png);
    height: 500px;
    width: 100%;
    top: 183px;
    left: -182px;
    position: absolute;
}

#johnexample {
    width: 126px;
    height: 30px;
    position: absolute;
    top: 376px;
    left: 499px;
    opacity: 0;
}

#jeffexample {
    width: 126px;
    height: 30px;
    position: absolute;
    top: 244px;
    left: 498px;
    opacity: 0;
}

#lookatdom.present #jeffexample, #lookatdom.present #johnexample {
    opacity:0.8;
}



/*jeffbridgeszoom*/
#jeffbridgeszoom {
   background-image: url('img/jeffbridgeszoom.png');
   height:200px;
   width:100%;
}

#jeffbridgeszoomstep p {
    text-align:center;
}

#jeffbridgeszoomstep .bigger {
    font-size:50px;
}


/*introducingxpath2*/
#introducingxpath2 p {
    text-align:center;
}

#xpathstepdetail.future, #xpathstepdetail.past {
    opacity:0;
}

#xpathstepdetail.active {
    opacity:1;
}


#xpathstepdetail ul ul {
    font-size:25px;
}



/*pointing*/
#pointingfinger {
    position: absolute;
    top: 101px;
    left: 247px;
    font-size: 50pt;
}

#pointingstep.active #jeffexample, #pointingstep.active #johnexample {
    opacity: 1;
}


#pointingstep .examplecontainer {
    width: 100%;
    /* background-color: red; */
    height: 400px;
    /* position: absolute; */
    top: 0px;
}

.examplecontainer #jeffexample {
    left: 322px;
    top: 290px;
    width: 134px;
}

.examplecontainer #johnexample {
    left: 320px;
    top: 433px;
    width: 134px;
}

#pointingstep.past {
    opacity:1;
}

#pointingstep.past #pointingfinger {
    opacity:0;
}

/*xpathsteps pointing*/
#xpathspointingstep .whiteoverlay {
    padding: 4px;
    width: 530px;
    padding-left: 18px;
    padding-right: 18px;
    text-align: center;
    box-shadow: 5px 5px 5px #888888;
    font-size:30px;
}

#xpathspointingstep .whiteoverlay.one {
    top: -84px;
    position: relative;
    left: 411px;
}

#xpathspointingstep .whiteoverlay.two {
    top: -48px;
    position: relative;
    left: 411px;
}

#leftfinger1 {
    position: absolute;
    left: 379px;
    top: -41px;
}

#leftfinger2 {
    position: absolute;
    left: 379px;
    top: 54px;
}

#xpathspointingstep.future {
    opacity:0
}

/*okay slide*/
#okay {
    font-size: 90px;
    font-style: italic;
    font-weight: bold;
    /* font-family: sans-serif; */
    font-family: 'Montserrat', sans-serif;
}

#okaystep p {
    font-size:50px;
}

/*examplealignment*/
#examplealignment p {
    font-family: monospace;
}

#examplealignment {
    border: 1px black solid;
    width: 166px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.59);
    border-radius:10px;
    margin-left: auto;
    /*margin-right: auto;*/
    margin-top: 30px;
    margin-bottom: 30px;
}

#examplealignmentstep.future {
    opacity:0;
}
#examplealignmentstep.active {
    opacity:1;
}

#examplealignmentstep .firstp {
    width:50%;
    margin-left:auto;
}

#examplealignmentstep {
    /*border-right: 1px solid black;*/
    /*border-left: 1px solid black;*/
    /*background-color: white;*/
    text-align:right;
}

.characters {
    /*font-family:'Dancing Script';*/
    font-family: 'Montserrat', sans-serif;
}

/*usexpathssteps*/
#usexpathssteps.future {
    opacity:0;
}

/*problem 1*/
#problem1step small {
    font-size:40px;
}

#problem1step .title {
    font-size:60px;
}

#problem1step .xpath {
    font-size:29px;
}

#problem1step.past {
    opacity:1;
}

@-webkit-keyframes demo {
    0% {
        background-color: rgba(0,255,0,0);
    }
    7.1428% {
        background-color :#f7ff00;
    }
    14.285% {
        background-color: rgba(0,255,0,0);
    }
    100% {
        background-color: rgba(0,255,0,0);
    }
}

.step.past .xstep {
    -webkit-animation-name: demo;
    -webkit-animation-duration: 14s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
}

.step.past .xstep1 {
    -webkit-animation-delay:2s;
}

.step.past .xstep2 {
    -webkit-animation-delay:4s;
}

.step.past .xstep3 {
    -webkit-animation-delay:6s;
}

.step.past .xstep4 {
    -webkit-animation-delay:8s;
}

.step.past .xstep5 {
    -webkit-animation-delay:10s;
}

.step.past .xstep6 {
    -webkit-animation-delay:12s;
}

.step.past .xstep7 {
    -webkit-animation-delay:14s;
}

#problem1stepplusone.present, #problem1stepplusone.past  {
    background-color:white;
}

#problem1stepplusone.future, #problem1stepplusone.past {
    opacity:0
}

.problemfont {
    font-family: 'Pangolin', cursive;
}

.positivefont {
    font-family: 'Montserrat', cursive;
}

/*problem2*/
#problem2step.past .problemfont {
    color:darkred;
    transition:color 2s;
}



#problempage1 {
    background-image: url('img/thebiglebowskisnippet.png');   
    height: 300px;
    width: 100%;
    left: -137px;
    top: 20px;
    z-index: 6;
    position:relative;
}

/*disaster step*/

#disasterstep p {
    text-align: right;
}

#disasterstep .textbox {
    margin-right: 370px;
    background-color: white;
    padding: 0px 30px;
    border-top: 3px solid #333333;
}

#problempage2 {
    background-image: url('img/drstrangelovesnippet.png');
    height: 300px;
    width: 100%;
    z-index: 6;
    top: 25px;
    left: 274px;
    position:absolute;
    /*transform: translate3d(0, 0, 300px);*/
    image-rendering:-webkit-optimize-contrast;
}

#disasterstep.future, #disasterstep.past {
    opacity:0;
}

#disasterstep.active {
    opacity:1;
    transition:opacity 2s;
}

#probablyfrank {
    font-size:25px;
    transition:opacity 2s 4s;
    color:lightgray;
}

#disasterhand1, #disasterhand2 {
    position:absolute;
    transition:opacity 2s 4s;
}

#disasterhand1 {
    top: -68px;
    left: 353px;
    transform: rotate(20deg);
}

#disasterhand2 {
    left: 727px;
    z-index: 10;
    transform: rotate(20deg);
    top: 217px;
    width: 200px;
}

/*too general*/
#toogeneral div {
    /*display: inline-block;*/
}

#toogeneral .textbox {
text-align: right;
    font-size: larger;
    border-top: 3px solid #333333;
    border-right: 3px solid #333333;
    /*border-left: 3px solid #333333;*/
    width: 41%;
    padding-right: 300px;
}

#toogeneral .imgbox {
    height: 400px;
}

#toogeneral .imgbox img {
    /*width:100%;*/
}

#generalimg1 {
    width: 800px;
     position: relative; 
    bottom: -18px;
        left: -261px;
}

#generalimg2 {
    position: absolute;
    left: 408px;
    /* top: 139px; */
    bottom: -84px;
    /*z-index:5;*/
}

.generalexample {
    position:absolute;
    background-color: rgba(0, 255, 0, 0.45);
    /*transition:border 4px solid black;*/
    /*maybe pulse the border or something?*/
    /*border: 10px solid black;*/
    
}

#generalexample1 {
    width: 95px;
    height: 20px;
    top: 400px;
    left: 78px;
}

#generalexample2 {
    width: 122px;
    height: 25px;
    top: 393px;
    left: 778px;
}

#generalexample3 {
    width: 149px;
    height: 25px;
    top: 393px;
    left: 907px;
}

#toogeneral.past {
    opacity:1;
}

.toomuchexample {
    position:absolute;
    background-color: rgba(255, 0, 0, 0.45);
}

.step.future .toomuchexample, .step.active .toomuchexample {
    opacity:0;
}
.step.past .toomuchexample {
    transition:opacity 2s 1s;
    opacity:1;
}


#generalexample4 {
    top: 400px;
    left: 177px;
    height: 20px;
    width: 234px;
    /*z-index: 4;*/
}

#generalexample5 {
top: 352px;
    left: 107px;
    height: 20px;
    width: 178px;
    /*z-index: 4;*/
}

#generalexample6 {
    left: 92px;
    height: 20px;
    width: 178px;
    /*z-index: 4;*/
    top: 376px;
}

#generalexample7 {
    left: 800px;
    height: 25px;
    width: 158px;
    /* z-index: 4; */
    top: 360px;
}

#generalexample8 {
left: 1060px;
    height: 25px;
    width: 158px;
    /* z-index: 4; */
    top: 393px;
}

#generalexample9 {
    left: 1060px;
    height: 25px;
    width: 141px;
    /* z-index: 4; */
    top: 443px;
}

#generalexample10 {
    left: 796px;
    height: 25px;
    width: 146px;
    /* z-index: 4; */
    top: 443px;
}



/*the next slide*/
#toogeneral2 .textbox {
    position: absolute;
    left: 324px;
    top: 124px;
    border-bottom: 3px solid #333333;
    padding-left: 50px;
    z-index: -9;
}

#thegeneralimg {
    position: absolute;
    left: -50px;
    width: 400px;
    top: 32px;
}

#toogeneral2.future {
    opacity:0;
}

#toogeneral2.active {
    opacity:1;
    transition:opacity 1s;
}


/*solution 2*/
#solution2step img {
        width: 600px;
    margin-left: 49px;
    margin-top: 30px;
}

#solution2step.past {
    opacity: 1;
}



/*advancedpredicates*/
#introducingadvancedxpaths .title {
    font-size:65px;
}

#introducingadvancedxpaths .title small {
    font-size:43px;
}

/*predicateenrichment*/
#predicateenrichment .title {
    font-size:60px;
}

#predicateenrichment .imgcontainer {
    width: 17%;
    display: inline-block;
    /* position: absolute; */
    top: 192px;
    left: 593px;
}

#predicateenrichment img {
    width:100%;
}

#predicateenrichment ul {
    margin-left: 50px;
    font-size: 30PX;
    width: 70%;
    display: inline-block;
    vertical-align: super;
}


#predicateenrichment .narrow {
    font-family: 'Amatic SC', cursive;
    font-size: 50pt;
}

/*tree stuff*/
.tree ul {
    margin-left:0px;
}

.tree li {
    /*padding:0px !important;*/
}

.nudgeright {
    padding-left:15px !important;
        margin-left: 15px;
}

.circle {
    -webkit-border-radius: 45px !important;
    margin-left: 11px;
    width: 30px;
}
.rootnode {
    border:0px !important;
    font-style:italic;
}

/*bold statement*/
#boldstatementsnippet {
    font-size: 25px;
    line-height: 1;
    font-family: 'Inconsolata';
}

#boldstatementsnippet pre {
        width: 64%;
    display: inline-block;
}

#boldstatementsnippet img {
    width: 26%;
    display: inline-block;
    position: absolute;
}

#boldstep.future img, #boldstep.past img {
    opacity:0;
    transition: opacity 1s;
}

#boldstep.active img {
    opacity:1;
    transition: opacity 1s 2s;
}

#boldstep .title {
    font-size:52px;
}

#boldstep .title small {
    font-size:35px;
}

#boldstep .bold {
    font-weight:bold;
}

#boldstep.past .bold {
    font-weight:bold;
    color:limegreen;
}


/*solution2final*/
#treesubstep7 .textbox {
    position:initial;
}

#solution2final .title {
    font-size:60px;
}

/*conclusion2*/
#conclusion2.future, #conclusion2.past {
    opacity:0;
}
#conclusion2.active {
    opacity:1;
    transition:opacity 1s;
}
#conclusion2 .title {
    font-size:60px;
}

/*problem3intro*/
#problem3intro.past {
    opacity:1;
}

#problem3intro #mrhandyimg {
    position: absolute;
    left: -32%;
    width: 150%;
}

#problem3intro #automatedword {
    font-family: 'Roboto Mono', monospace;
}

#problem3intro {
    text-align:center;
}

#problem3intro2.future {
    opacity:0;
    transition:opacity 1s;
}

#problem3intro2 ul {
    margin-top:16px;
}

#problem3intro4 .card {
    position: absolute;
    z-index: 50;
    /* transform: translateZ(400px); */
    font-size: 22px;
    text-align: right;
    width: 50%;
    right: 0px;
    top: 222px;
}

#problem3intro4.past .card, #problem3intro4.future .card {
    opacity:0;
    transition:opacity 1s;
}
#problem3intro4.active .card {
    opacity:1;
    transition:opacity 1s;
}

/*problem3strategy*/
#problem3strategy .card {
    font-size:22px;
    width: 52%;
}

#problem3matches .card {
    font-size:22px;
    width: 52%;
}

#problem3matches2 .card {
    position: absolute;
    top: -88px;
    font-size:22px;
    width: 52%;
}

/*action - cluster card*/
.impress-on-docluster #solution3 {
    opacity:1;
}
#docluster .card {
    position: absolute;
    top: -100px;
    width: 30%;
    text-align: center;
    height: 105px;
    right: 10%;
    color: white;
}
#docluster .card .cardtitle {
    font-size: 140%;
    font-style: italic;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 77px;
}

/*do the cluster motion of the xpaths, this needs to happen when the xpath step is in the past*/
#solution3 ul {
    list-style: none;
    margin-left:20px;
    margin-right:20px;
}
#solution3 li {
    height:50px;
    line-height:50px;
    font-size:80%;
    border: 1px solid #333333;
    position: relative;
    margin-top: 12px;
    /*transition:-webkit-transform 2s linear;*/
    -webkit-animation-timing-function: linear;
    -webkit-animation-duration: 2s;
    -webkit-animation-delay: 2s;
    -webkit-animation-fill-mode: forwards;
    box-shadow: 0px 3px 3px #333333;
    padding: 0px 10px;
}

@keyframes moveli2 {
    0% {-webkit-transform:translate3d(0px,0px,0px)}
    50% {-webkit-transform:translate3d(0px, -32px, -100px)}
    100% {-webkit-transform:translate3d(0px, -64px, 0px)}
}

.impress-on-docluster #solution3 li:nth-child(2),
.impress-on-continuecluster #solution3 li:nth-child(2) {
    -webkit-animation-name: moveli2;   
}

@keyframes moveli1 {
    0% {-webkit-transform:translate3d(0px,0px,0px)}
    50% {-webkit-transform:translate3d(0px, 32px, 100px)}
    100% {-webkit-transform:translate3d(0px, 64px, 0px)}
}
.impress-on-docluster li:nth-child(1),
.impress-on-continuecluster li:nth-child(1) {
    -webkit-animation-name: moveli1;
}

@keyframes moveli5 {
    0% {-webkit-transform:translate3d(0px,0px,0px)}
    50% {-webkit-transform:translate3d(0px, -32px, -100px)}
    100% {-webkit-transform:translate3d(0px, -64px, 0px)}
}
.impress-on-docluster li:nth-child(5),
.impress-on-continuecluster li:nth-child(5) {
    -webkit-animation-name: moveli5;   
}

@keyframes moveli4 {
    0% {-webkit-transform:translate3d(0px,0px,0px)}
    50% {-webkit-transform:translate3d(0px, 32px, 100px)}
    100% {-webkit-transform:translate3d(0px, 64px, 0px)}
}
.impress-on-docluster li:nth-child(4),
.impress-on-continuecluster li:nth-child(4) {
    -webkit-animation-name: moveli4;
}

/*continuing in sass... lol :P*/