
body,div{display:block;margin:0;padding:0;position:absolute;}
body #ad *.In{opacity:1}
body{
	font-family: "Open+Sans", Arial,Verdana,sans-serif;
	height: 90px;
	left:0;
	top:0;
	width: 728px;
}
#ad{
	background: #ffffff;
	border: black 1px solid;
	box-sizing: border-box;
	color: #1e6db6;
	display: block;
	font-size: 15px;
	height: 90px;
	left: 0;
	overflow: hidden;
	top: 0;
	width: 728px;
}

#bgExitArea { 
	cursor:pointer;
	height: 90px; 
	left:0;
	opacity:0;
	top:0; 
	width: 728px;  
	z-index: 2000;
}

/* begin custom code */
body div div *{
	opacity: 0;
}
#bg{
	background: url(bg.jpg) no-repeat;
	height: 90px;
	left: 0;
	opacity: 1;
	top: 0;
	transition: all .8s linear;
	width: 1456px;
}

.s2 #bg{
	left: -728px;
}

#flo{
	background-position: -0px -243px; 
	height: 115px;
	left: 728px;
	opacity: 1;
	top: 0px;
	width: 191px;
}
#flo.in{
	left: 598px;
	top: 8px;
	transition: all .25s ease-out;
}
#logo{
	background: url(logo.svg) no-repeat;
	height: 15px;
	left: 10px;
	opacity: 1;
	top: 15px;
	transition: all .5s;
	width: 130px;
}
#trex,.s1 #trex div,.s2 .body{opacity: 1;}
#trex{
	left: -610px;
	top: -15px;
}
#trex.in{
	animation: bob .15s infinite alternate; 
	left: 730px;
	transition: left 1.5s linear;
}
.s2 #trex{
	left: 900px;
	opacity: 0;
	transition: none;
}
.s2 #trex div{
	animation: none; 
}
.s2 #trex.end{
	animation: none;
	left: 835px;
	opacity: 1;
	top: 74px;
	transform: rotate(19deg) scale(-.6,.6);
	transition: left .25s linear;
}

/*sprites*/
#trex div, .t1, .t2, .flying{ 
	background-image: url('sprites.png');
	background-repeat: no-repeat; 
	overflow: hidden; 
} 
.t1 { background: url(t1.png) no-repeat; width: 614px; height: 28px; }
.t2 { background: url(t2.png) no-repeat; width: 395px; height: 30px; }

.body { background-position: -0px -80px; width: 426px; height: 145px; }
#flo { background: url(flo.png) no-repeat; width: 128px; height: 80px; }
.flying { background-position: -428px -28px; width: 63px; height: 49px; }
.leg-f { background-position: -428px -77px; width: 55px; height: 125px; }
.jaw { background-position: -426px -202px; width: 47px; height: 34px; }
.leg-b { background-position: -386px -225px; width: 40px; height: 55px; }

/* Positioning separated in case sprite sheet changes */
.leg-b{
	animation: swing .2s infinite ease alternate; 
	left: 280px; 
	top: 80px; 
	transform-origin: 60% -20%; 
	transform: rotate(-25deg);
}
.jaw{
	left: 373px; 
	opacity: 1; 
	top: 31px; 
	transform: rotate(-10deg);
	transform-origin: 5% 20%;
	transition: all .25s;
}
.roar .jaw{
	transform: rotate(5deg);
}
.leg-f{
	animation: swing .2s .15s infinite ease alternate; 
	left: 235px; 
	top: 20px; 
	transform-origin: 50% 15%; 
	transform: rotate(-25deg);
}
#text{opacity: 1;}
#text .out{opacity: 0; transition: all .2s;}
.roar .t3{animation: shake .1s 8 linear;}
.t1.in{transform: scale(1); transition: all .35s linear; }
.s2 .t1{left: -728px; transition: all .8s linear;}
.t2.in,.t3.in,.t4.in{opacity: 1; }
.t1{left: 57px; opacity: 1; top: 29px; transform: scale(0)}
.t2{left: 178px; top: 29px; transition: all .5s 1s;}

.t1{
	background: url(jurassic_highRates_728x90.svg) no-repeat;
	background-size: contain;
	height: 46px;
	left: 47px; 
	top: 25px; 
	transition: all .5s;
	width: 632.5px;
	z-index: 1001;
}

.t2{
	background: url(jurassic_saveOsaurus_728x90.svg) no-repeat;
	background-size: contain;
	height: 40px;
	left: 158px; 
	top: 25px; 
	transition: opacity .5s 1s;
	width: 410px;
	z-index: 1001;
}

.t3{ /*left: 12px; top: -22px;*/ transition: all .5s;}
.t3{
	background: url(savings_jurassic_728x90.svg) no-repeat;
	background-size: contain;
	height: 90px;
	left: 182px; 
	top: 0px; 
	transition: all .5s;
	width: 360px;
	z-index: 1001;
}

#quote{
	background: url(button_ff8a39_134x36.svg) no-repeat;
	top: 42px;
	height: 36px;
	left: 0px;
	opacity: 0;
	position: absolute;
	transition: all .5s;
	width: 134px; 
	-ms-transform: scale(.87); 
    -webkit-transform: scale(.87); 
    transform: scale(.87); 
}
#quote.in {
	opacity: 1;
	position: absolute;
	transition: all .5s;
}

#swoop{
	height: 200px;
	left: 100px;
	opacity: 1;
	top: 50px;
	transform: rotate(25deg);
	transform-origin: 50% 10%;
	transition: all 1.5s 1s linear;
	width: 63px;	
}
.s2 #swoop{
	left: 50px;
	top: -150px;
	transform: rotate(-65deg);
}
.flying{
	left: 0px;
	opacity: 1;
	top: 50px;
	transform: scale(.5,.8) rotate(-10deg);
	transition: all 1s 1s linear;
}
.s2 .flying{
	transform: scale(1.5,1.5) rotate(20deg);
}

@keyframes swing{
	0%		{transform: rotate(-25deg);}
	95%,100%{transform: rotate(25deg);}
}
@keyframes bob{
	0%		{transform: translateY(0px)}
	100%	{transform: translateY(5px)}
}
@keyframes shake{
	from	{transform: translateX(0px)}
	to		{transform: translateX(2px)}
}