/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Nov 5, 2015, 4:52:18 PM
    Author     : splendid
*/

.panel {
    float: left;
    box-sizing: border-box;
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.window {
	background: url(../images/intro/windows-all.png) no-repeat;
	position: absolute;
	-webkit-transition: opacity 800ms;
	-moz-transition: opacity 800ms;
	-ms-transition: opacity 800ms;
	-o-transition: opacity 800ms;
	transition: opacity 800ms;
}

.window.ng-hide {
	display: block !important;
	opacity: 0;
}

.window-1 {
	width: 44px;
	height: 44px;
	background-position: 0px 0px;
	top: 268px;
	right: 50%;
	margin-right: 123px;
}

.window-2 {
	width: 46px;
	height: 45px;
	background-position: 0px -100px;
	top: 337px;
	right: 50%;
	margin-right: 136px;
}

.window-3 {
	width: 78px;
	height: 83px;
	background-position: 0px -200px;
	top: 400px;
	right: 50%;
	margin-right: 136px;
}

.window-4 {
	width: 33px;
	height: 33px;
	background-position: -100px 0px;
	top: 222px;
	right: 50%;
	margin-right: 14px;
}

.window-5 {
	width: 57px;
	height: 59px;
	background-position: -100px -100px;
	top: 306px;
	right: 50%;
	margin-right: 2px;
}

.window-6 {
	width: 54px;
	height: 58px;
	background-position: -100px -200px;
	top: 415px;
	right: 50%;
	margin-right: 8px;
}

.window-7 {
	width: 38px;
	height: 35px;
	background-position: -200px 0px;
	top: 315px;
	left: 50%;
	margin-left: 57px;
}

.window-8 {
	width: 29px;
	height: 30px;
	background-position: -200px -100px;
	top: 387px;
	left: 50%;
	margin-left: 80px;
}

.window-9 {
	width: 57px;
	height: 59px;
	background-position: -200px -200px;
	top: 445px;
	left: 50%;
	margin-left: 88px;
}

.intro-revert {
    transform: translateX(0);
    transition: transform 1s ease;
}

.intro-1 {
    transform: translate3d(0,0,0);
    transition: transform 3s ease;
}

.intro-2 {
    transform: translate3d(-1640px,0,0);
    transition: transform 3s ease;
}

.intro-3 {
    transform: translate3d(-3280px,0,0);
    transition: transform 3s ease;
}

.no-intro {
    transform: translate3d(-3280px,0,0);
}

.backwards {
    width: 50%;
    height: 100%;
	left: 0%;
	top: 0%;
    position: fixed;
    z-index: 1;
    cursor: url('../images/intro/mouse-nav-left.png'), auto;;
}

.forwards {
    width: 50%;
    height: 100%;
    left: 50%;
	top: 0%;
    position: fixed;
    z-index: 1;
    cursor: url('../images/intro/mouse-nav-right.png'), auto;;
}

.forwards.firstframe {
    left:0%;
    width:100%;
}

.lamp-glow {
	width: 635px;
	height: 537px;
	background: url('../images/intro/intro-1-lamp.png') no-repeat;
	position: absolute;
	top: 207px;
	left: 50%;
	margin-left: -257px;
	-webkit-transition: opacity 4s ease-in-out;
	-moz-transition: opacity 4s ease-in-out;
	-o-transition: opacity 4s ease-in-out;
	transition: opacity 4s ease-in-out;
	-webkit-animation: glowing 4s infinite;
	-moz-animation: glowing 4s infinite;
	-o-animation: glowing 4s infinite;
	animation: glowing 4s infinite;
}

@keyframes glowing {
    0% { opacity: 0.3; }
	65% { opacity: 1; }
    100% { opacity: 0.3; }
}

@-moz-keyframes glowing {
    0% { opacity: 0.3; }
	65% { opacity: 1; }
    100% { opacity: 0.3; }
}

@-webkit-keyframes glowing {
    0% { opacity: 0.3; }
	65% { opacity: 1; }
    100% { opacity: 0.3; }
}

@-o-keyframes glowing {
    0% { opacity: 0.3; }
	65% { opacity: 1; }
    100% { opacity: 0.3; }
}

.btn-drop {
    width: 144px;
    height: 45px;
	padding: 0 19px 25px;
    background: url(../images/intro/btn-drop.png) center bottom no-repeat;
	margin-top: -3px;
    -webkit-transition: transform 500ms ease-in, margin-top 250ms;
	-moz-transition: transform 500ms ease-in, margin-top 250ms;
    -ms-transition: transform 500ms ease-in, margin-top 250ms;
    -o-transition: transform 500ms ease-in, margin-top 250ms;
    transition: transform 500ms ease-in, margin-top 250ms;
}

.btn-drop:hover {
	margin-top: 0px;
}

.btn-drop a {
	display: block;
    width: 144px;
    height: 45px;
	font-size: 22px;
	line-height: 45px;
	color: #002427;
	text-align: center;
	text-shadow: 1px 1px 1px rgba(167,211,230,0.7);
	text-decoration: none;
}

.btn-skip-intro {
    position: absolute;
	top: 0px;
    right: 50%;
	margin-right: -360px;
    z-index: 2;
   	-webkit-transform: translateY(-70px);
    -moz-transform: translateY(-70px);
    -ms-transform: translateY(-70px);
    -o-transform: translateY(-70px);
    transform: translateY(-70px);
}

.btn-skip-intro.active {
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
}

.frame-text {
	width: 270px;
	height: 120px;
	padding: 47px 51px 62px;
	background: url(../images/intro/text-2.png) center top no-repeat;
	display: table;
	position: absolute;
	-webkit-transition: transform 1.5s ease-in-out;
	-moz-transition: transform 1.5s ease-in-out;
	-ms-transition: transform 1.5s ease-in-out;
	-o-transition: transform 1.5s ease-in-out;
	transition: transform 1.5s ease-in-out;
	z-index: 99;
}

.frame-inner {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	color: #1f5055;
}

.frame-inner h2 {
	margin: 5px 0;
	font-size: 30px;
	line-height: 35px;
	position: absolute;
	left: 0px;
	top: 8px;
	right: 0px;
}

.frame-inner p {
	margin: 5px 0;
	font-size: 22px;
	line-height: 25px;
}

.frame-1-1,
.frame-2-1,
.frame-3-1 {
	background: url(../images/intro/text-1.png) center top no-repeat;
	height: 84px;
}

.frame-1-1 {
	top: 70px;
	left: 50%;
	margin-left: -100px;
	transform: translate3d(1000px,0,0);
}

.frame-1-2 {
	top: 60px;
	left: 50%;
	margin-left: -10px;
	transform: translate3d(0,-750px,0);
}

.frame-2-1 {
	top: 50px;
	right: 50%;
	margin-right: 75px;
	transform: translate3d(-1000px,0,0);
}

.frame-2-2 {
	top: 420px;
	right: 50%;
	margin-right: 75px;
	transform: translate3d(0,750px,0);
}

.frame-3-1 {
	top: 70px;
	left: 50%;
	margin-left: -10px;
	transform: translate3d(1000px,0,0);
}

.frame-3-2 {
	background: url(../images/intro/text-3.png) center top no-repeat;
	top: 210px;
	left: 50%;
	margin-left: -10px;
	transform: translate3d(0,750px,0);
}

.frame-text.active {
    -webkit-transform: none;
	-moz-transform: none;
	-ms-transform: none;
	-o-transform: none;
	transform: none;
}

.play {
	position: absolute;
	top: 160px;
	left: 50%;
	margin-left: -125px;
	z-index: 101;
}

.play input[type="button"] {
	display: block;
	border: 0px none;
	background: url(../images/intro/button-play.png) no-repeat;
	background-size: contain;
	text-align: center;
	width: 252px;
	height: 97px;
	margin: 0px;
	padding: 19px 29px 29px;
	font-family: 'permanent_marker', Arial, sans-serif;
	font-size: 35px;
	line-height: 45px;
	color: transparent;
	-wekit-transform: scale(0.92);
	-moz-transform: scale(0.92);
	-ms-transform: scale(0.92);
	-o-transform: scale(0.92);
	transform: scale(0.92);
	-webkit-transition: -webkit-transform 400ms, transform 400ms;
	-moz-transition: -moz-transform 400ms, transform 400ms;
	-ms-transition: -ms-transform 400ms, transform 400ms;
	-o-transition: transform 400ms, transform 400ms;
	transition: transform 400ms;
}

.play input[type="button"]:hover {
	-webkit-transform: none;
	-moz-transform: none;
	-ms-transform: none;
	-o-transform: none;
	transform: none;
}

.play input[type="button"]:active,
.play input[type="button"]:focus {
	transform: none;
}

/* Stars */
@keyframes star-anim {
	from {
		opacity: 1;
		transform: none;
	}
	to {
		opacity: 0.3;
		transform: scale(0.3);
	}
}

.star {
    position: absolute;
    border-radius: 50%;
    background: url(../images/intro/stars-all.png);
    animation-name: star-anim;
    animation-direction: alternate;
    animation-duration: 1.2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
	width: 6px;
	height: 6px;
}

.star-1 {
	right: 50%;
	margin-right: 482px;
	top: 359px;
	background-position: 0px 0px;
}

.star-2 {
	right: 50%;
	margin-right: 506px;
	top: 510px;
	background-position: 0px -50px;
}

.star-3 {
	right: 50%;
	margin-right: 304px;
	top: 61px;
	background-position: 0px -100px;
}

.star-4 {
	right: 50%;
	margin-right: 405px;
	top: 47px;
	background-position: -50px 0px;
}

.star-5 {
	right: 50%;
	margin-right: 99px;
	top: 366px;
	background-position: -50px -50px;
}

.star-6 {
	right: 50%;
	margin-right: 192px;
	top: 25px;
	background-position: -50px -100px;
}

.star-7 {
	left: 50%;
	margin-left: 44px;
	top: 143px;
	background-position: -100px 0px;
}

.star-8 {
	left: 50%;
	margin-left: 94px;
	top: 268px;
	background-position: -100px -50px;
}

.star-9 {
	left: 50%;
	margin-left: 259px;
	top: 40px;
	background-position: -100px -100px;
}

.star-10 {
	left: 50%;
	margin-left: 286px;
	top: 242px;
	background-position: -150px 0px;
}

.star-11 {
	left: 50%;
	margin-left: 467px;
	top: 314px;
	background-position: -150px -50px;
}

.star-12 {
	left: 50%;
	margin-left: 434px;
	top: 14px;
	background-position: -150px -100px;
}

.star-13 {
	right: 50%;
	margin-right: 486px;
	top: 186px;
	background-position: -200px 0px;
}

.star-14 {
	right: 50%;
	margin-right: 438px;
	top: 16px;
	background-position: -200px -50px;
}

.star-15 {
	right: 50%;
	margin-right: 281px;
	top: 14px;
	background-position: -200px -100px;
}

.star-16 {
	right: 50%;
	margin-right: 424px;
	top: 145px;
	background-position: -250px 0px;
}

.star-17 {
	right: 50%;
	margin-right: 317px;
	top: 246px;
	background-position: -250px -50px;
}

.star-18 {
	right: 50%;
	margin-right: 562px;
	top: 237px;
	background-position: -250px -100px;
}

.star-19 {
	left: 50%;
	margin-left: 515px;
	top: 9px;
	background-position: -300px 0px;
}

.star-20 {
	left: 50%;
	margin-left: 329px;
	top: 207px;
	background-position: -300px -50px;
}

.star-21 {
	width: 8px;
	height: 8px;
	left: 50%;
	margin-left: 178px;
	top: 94px;
	background-position: -300px -100px;
}

.star-22 {
	left: 50%;
	margin-left: 465px;
	top: 159px;
	background-position: -350px 0px;
}

.star-23 {
	left: 50%;
	margin-left: 26px;
	top: 81px;
	background-position: -350px -50px;
}

.star-24 {
	left: 50%;
	margin-left: 126px;
	top: 16px;
	background-position: -350px -100px;
}

.star-1,
.star-5,
.star-9,
.star-13,
.star-17,
.star-21 {
	animation-delay: 300ms;
}

.star-4,
.star-8,
.star-12,
.star-16,
.star-20,
.star-24 {
	animation-delay: 600ms;
}

.star-3,
.star-7,
.star-11,
.star-15,
.star-19,
.star-23 {
	animation-delay: 900ms;
}

img.firefly {
	position: absolute;
	left: 50%;
	display: block;
	top: 557px;
	margin-left: 289px;
	-webkit-animation: firefly 4s infinite;
	-moz-animation: firefly 4s infinite;
	-o-animation: firefly 4s infinite;
	animation: firefly 4s infinite;
}

@keyframes firefly {
    0% { opacity: 1; }
	75% { opacity: 0; }
    100% { opacity: 1; }
}

@-webkit-keyframes firefly {
    0% { opacity: 1; }
	75% { opacity: 0; }
    100% { opacity: 1; }
}

@-moz-keyframes firefly {
    0% { opacity: 1; }
	75% { opacity: 0; }
    100% { opacity: 1; }
}

@-o-keyframes firefly {
    0% { opacity: 1; }
	75% { opacity: 0; }
    100% { opacity: 1; }
}

img.dust {
	position: absolute;
	left: 50%;
	display: block;
	top: 198px;
	margin-left: 271px;
	opacity: 0;
	-webkit-animation: dust 18s infinite;
	-moz-animation: dust 18s infinite;
	-o-animation: dust 18s infinite;
	animation: dust 18s infinite;
}

@keyframes dust {
    0% {
		opacity: 0.1;
	}
	50% {
		opacity: 1;
	}
    100% {
		opacity: 0.1;
		transform: translate3d(0,60px,0);
	}
}

@-moz-keyframes dust {
    0% {
		opacity: 0.1;
	}
	50% {
		opacity: 1;
	}
    100% {
		opacity: 0.1;
		-moz-transform: translate3d(0,60px,0);
		transform: translate3d(0,60px,0);
	}
}

@-webkit-keyframes dust {
    0% {
		opacity: 0.1;
	}
	50% {
		opacity: 1;
	}
    100% {
		opacity: 0.1;
		-webkit-transform: translate3d(0,60px,0);
		transform: translate3d(0,60px,0);
	}
}

@-o-keyframes dust {
    0% {
		opacity: 0.1;
	}
	50% {
		opacity: 1;
	}
    100% {
		opacity: 0.1;
		-o-transform: translate3d(0,60px,0);
		transform: translate3d(0,60px,0);
	}
}

div.book-back {
	position: absolute;
	top: 121px;
	right: 50%;
	margin-right: 68px;
	width: 338px;
	height: 292px;
	background: url(../images/intro/book-back.png) no-repeat;
	-webkit-animation: pony 3s infinite;
	-moz-animation: pony 3s infinite;
	-o-animation: pony 3s infinite;
	animation: pony 3s infinite;
	z-index: 3;
}

@keyframes pony {
    0% { transform: none; }
	65% { transform: translate3d(0px,15px,0px); }
    100% { transform: none; }
}

@-webkit-keyframes pony {
    0% { transform: none; }
	65% { transform: translate3d(0px,15px,0px); }
    100% { transform: none; }
}

@-moz-keyframes pony {
    0% { transform: none; }
	65% { transform: translate3d(0px,15px,0px); }
    100% { transform: none; }
}

@-o-keyframes pony {
    0% { transform: none; }
	65% { transform: translate3d(0px,15px,0px); }
    100% { transform: none; }
}

.book-shadow {
	position: absolute;
	right: 50%;
	margin-right: 140px;
	top: 387px;
	background: url(../images/intro/book-shadow.png) no-repeat;
	width: 219px;
	height: 84px;
	-webkit-animation: pony-shadow 3s infinite;
	-moz-animation: pony-shadow 3s infinite;
	-o-animation: pony-shadow 3s infinite;
	animation: pony-shadow 3s infinite;
	z-index: 2;
}

@keyframes pony-shadow {
    0% { transform: scale(1.1); }
	65% { transform: scale(0.95); }
    100% { transform: scale(1.1); }
}

@-webkit-keyframes pony-shadow {
    0% { transform: scale(1.1); }
	65% { transform: scale(0.95); }
    100% { transform: scale(1.1); }
}

@-moz-keyframes pony-shadow {
    0% { transform: scale(1.1); }
	65% { transform: scale(0.95); }
    100% { transform: scale(1.1); }
}

@-o-keyframes pony-shadow {
    0% { transform: scale(1.1); }
	65% { transform: scale(0.95); }
    100% { transform: scale(1.1); }
}

div.light {
	position: absolute;
	top: 0px;
	right: 50%;
	margin-right: -49px;
	width: 519px;
	height: 493px;
	background: url(../images/intro/light.png) no-repeat;
	-webkit-animation: light 6s infinite;
	-moz-animation: light 6s infinite;
	-o-animation: light 6s infinite;
	animation: light 6s infinite;
	z-index: 2;
}

@keyframes light {
    0% { opacity: 0.4; }
	65% { opacity: 1; }
    100% { opacity: 0.4; }
}

@-webkit-keyframes light {
    0% { opacity: 0.4; }
	65% { opacity: 1; }
    100% { opacity: 0.4; }
}

@-moz-keyframes light {
    0% { opacity: 0.4; }
	65% { opacity: 1; }
    100% { opacity: 0.4; }
}

@-o-keyframes light {
    0% { opacity: 0.4; }
	65% { opacity: 1; }
    100% { opacity: 0.4; }
}

div.light-dust {
	position: absolute;
	top: 0;
	right: 50%;
	margin-right: 62px;
	width: 372px;
	height: 336px;
	background: url(../images/intro/lightdust-even.png) 0px -200px no-repeat;
	-webkit-animation: lightdust 12s linear infinite;
	-moz-animation: lightdust 12s linear infinite;
	-ms-animation: lightdust 12s linear infinite;
	-o-animation: lightdust 12s linear infinite;
	animation: lightdust 12s linear infinite;
	z-index: 1;
	-webkit-transition: opacity 400ms;
	-moz-transition: opacity 400ms;
	-ms-transition: opacity 400ms;
	-o-transition: opacity 400ms;
	transition: opacity 400ms;
}

div.light-dust.inactive {
	-webkit-animation-play-state: paused;
	-moz-animation-play-state: paused;
	-ms-animation-play-state: paused;
	-o-animation-play-state: paused;
	animation-play-state: paused;
}

div.light-dust img {
	display: block;
	position: absolute;
	left: 0px;
	bottom: 0px;
}

@keyframes lightdust {
    0% { background-position-y: -200px; }
    100% { background-position-y: 0px; }
}

@-webkit-keyframes lightdust {
    0% { background-position-y: -200px; }
    100% { background-position-y: 0px; }
}

@-moz-keyframes lightdust {
    0% { background-position-y: -200px; }
    100% { background-position-y: 0px; }
}

@-o-keyframes lightdust {
    0% { background-position-y: -200px; }
    100% { background-position-y: 0px; }
}
