html, body, .main {
	position: absolute;
	top: 0;
	left: 0;
}

body {
	background-color: #ffffff;
	overflow: hidden;
}

.large-screen {
	font-size: 120%;
}

/* Main */

.main {
	padding-top: 4em;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	min-height: 550px;
	min-width: 792px;
}

.container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.scroller {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.scroller-inner {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.scroller-inner > section {
	width: 100%;
	height: 100%;
	background-color: #efefef;
	color: #6a6a6a;
}

.scroller-inner > section a, .scroller-inner > section a:visited {
	color: #ff2e5b;
	text-decoration: none;
}

.scroller-inner > section a:hover {
	color: #ff698a;
}

.scroller-inner > section.blue-bg {
	background-color: #21c4f5;
	color: white;
}

.scroller-inner > section .content {
	position: relative;
	width: 100%;
	height: 100%;
	display: table;
}

.scroller-inner > section .content-container {
	position: relative;
	width: 100%;
	height: 100%;
	display: table-cell;
}

.scroller-inner > section .content-inner {
	position: relative;
	width: 100%;
	height: 100%;
	opacity: 0;
}

.scroller-inner > section .article-title, .scroller-inner > section article {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	text-align: center;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	display: table;
}

.scroller-inner > section .article-title {
	padding-right: 65%;
	padding-left: 5%;
}

.scroller-inner > section article {
	padding-left: 65%;
}

.scroller-inner > section .article-title h2, .scroller-inner > section article p {
	margin: 0;
	padding: 0;
	max-width: 80%;
	display: inline-block;
}

.scroller-inner > section .article-title h2, .scroller-inner > section article .article-inner {
	display: table-cell;
	vertical-align: middle;
}

.scroller-inner > section h1 {
	font-size: 5em;
	font-weight: 100;
	padding: 0.5em 0;
}

.scroller-inner > section h2 {
	font-size: 2.8em;
	font-weight: 300;
}

.scroller-inner > section h3 {
	font-size: 1.6em;
	font-weight: 300;
}

.scroller-inner > section .article-title h2 {
	padding: 2% 6%;
}

.scroller-inner > section article p {
	text-align: left;
	font-size: 1.2em;
	font-weight: 300;
	padding: 0.5em 0;
}

/* Portrait */

.portrait .scroller-inner > section .content-container {
	position: relative;
	width: 100%;
	height: 100%;
	display: table;
}

.portrait .scroller-inner > section .content-inner {
	position: relative;
	height: auto;
	display: table-cell;
	vertical-align: middle;
}

.portrait .scroller-inner > section .article-title, .portrait .scroller-inner > section article {
	position: relative;
	padding-right: 45%;
	display: block;
	height: auto;
}

.portrait .scroller-inner > section .article-title h2, .portrait .scroller-inner > section article .article-inner {
	display: block;
	margin: auto;
}

.portrait .scroller-inner > section.banner article .article-inner {
	display: table-cell;
}

.portrait .scroller-inner > section .article-title {
	padding-left: 0;
}

.portrait .scroller-inner > section article {
	padding-left: 0;
}

/* Sections */

.scroller-inner > section.banner .content-container {
	display: table;
}

.scroller-inner > section.banner article {
	position: relative;
	display: table;
	vertical-align: middle;
	height: 100%;
	
	padding-left: 40%;
	padding-right: 0;
}

.scroller-inner > section.banner .main-logo {
	width: 1em;
	height: 1em;
}

.scroller-inner > section.banner small {
	font-size: 0.3em;
	vertical-align: top;
}

.scroller-inner > section.banner {
	background-image: url('../images/main_banner.jpg');
	background-size: cover;
	background-position: center center;
	color: white;
}

.scroller-inner > section.banner .content-inner {
	opacity: 1;
}

.scroller-inner > section.banner .article-container {
	height: 70%;
	width: 100%;
	display: table;
}

.scroller-inner > section.banner .article-inner {
	display: table-cell;
	padding-right: 1em;
}

.scroller-inner > section.banner h1 img {
	vertical-align: middle;
	margin-right: 0.2em;
}

.scroller-inner > section.banner .video-button, .scroller-inner > section.banner .video-button:visited {
	display: inline-block;
	text-decoration: none;
	color: rgba(255,255,255,0.9);
	padding: 0.5em 0 0.5em 2em;
	background: url('../images/icon_play.png') no-repeat;
	background-size: 1.5em 1.5em;
	background-position: 0 0.4em;
	font-size: 1.2em;
	font-weight: 300;
	vertical-align: middle;
	text-transform: uppercase;
	margin: 1.4em 0;
}

.scroller-inner > section.banner .video-button:hover {
	color: white;
}

.scroller-inner > section.banner .google-play-container {
	height: 30%;
	width: 100%;
	display: table;
	padding-bottom: 10em;
	
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.scroller-inner > section.banner .banner-google-play {
	display: table-cell;
	vertical-align: middle;
}

.scroller-inner > section.banner .google-play-container img {
	width: 12em;
	height: auto;
}

img.google-play-bottom {
	width: 8em;
	height: auto;
}

.scroller-inner > section.cross-promotion .download .signup-button {
	display: block;
	padding: 2em 0;
}

.scroller-inner > section.cross-promotion .download .signup-button a {
	color: white;
	text-decoration: none;
	font-size: 0.8em;
	display: inline-block;
	background-color: #21c4f5;
	border-radius: 0.4em;
	padding: 1em 0.8em;
}

.scroller-inner > section.cross-promotion .download .signup-button a:hover {
	background-color: #15a0ca;
}

.scroller-inner > section.cross-promotion .download {
	display: table;
	width: 100%;
	height: 40%;
}

.scroller-inner > section.cross-promotion .download-in {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

.scroller-inner > section.cross-promotion .download h2 {
	display: inline-block;
	vertical-align: middle;
	font-weight: 100;
	font-size: 2.8em;
}

.scroller-inner > section.cross-promotion .download a {
	vertical-align: middle;
	display: inline-block;
	margin-left: 1em;
}

/* Phone */

#phone-container {
	position: absolute;
	display: table;
	top: 0px;
	left: 50%;
	margin-left: -25%;
	width: 50%;
	height: 100%;
	z-index: 1;
}

.portrait #phone-container {
	left: initial;
	right: 20px;
	margin-left: 0;
	padding-bottom: 5%;
	padding-right: 5%;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

#phone-container > .phone-inner-container {
	display: table-cell;
	vertical-align: middle;
}

#phone-container .phone {
	position: relative;
	margin: 0 auto;
}

#phone-container .screen {
	position: absolute;
	z-index: 1;
	width: 100%;
	height: 100%;
	background-color: black;
}

#phone-container .screen-container {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

#phone-container .screen-container section {
	position: absolute;
	width: 100%;
	height: 100%;
	background-position: center center;
	z-index: 1;
	overflow: hidden;
}

#phone-container .phone > .case {
	background-image: url('../images/phone.png');
	background-repeat: no-repeat;
	position: absolute;
	left: -9%;
	top: -16%;
	width: 118%;
	height: 145%;
	background-size: 100% 100%;
	z-index: 0;
}

#phone-container .screen-container .timeline .timeline-layer {
	background: url('../images/main_screen_timeline_layer.png') no-repeat;
	background-size: 100% auto;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 1;
}

#phone-container .screen-container .timeline .timeline-image {
	background: url('../images/main_screen_timeline.png') no-repeat;
	background-size: 100% auto;
	width: 100%;
	height: 223%;
	position: absolute;
	z-index: 0;
}

#phone-container .screen-container .dashboard {
	top: -100%;
}

#phone-container .screen-container .dashboard .dashboard-daily {
	background: url('../images/main_screen_dashboard_daily.png') no-repeat;
	background-size: 100% auto;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 0;
}

#phone-container .screen-container .dashboard .dashboard-weekly {
	background: url('../images/main_screen_dashboard_weekly.png') no-repeat;
	background-size: 100% auto;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 0;
	top: -100%;
}

#phone-container .screen-container .dashboard .dashboard-app {
	background: url('../images/main_screen_dashboard_app.png') no-repeat;
	background-size: 100% auto;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 0;
	left: 100%;
}

#phone-container .screen-container .alerts {
	z-index: 2;
	top: 100%;
}

#phone-container .screen-container .alerts .alert-app {
	background: url('../images/main_screen_alert_app.png') no-repeat;
	background-size: 100% auto;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 0;
}

#phone-container .screen-container .alerts .alert-device {
	background: url('../images/main_screen_alert_device.png') no-repeat;
	background-size: 100% auto;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 3;
	top: 100%;
}

#phone-container .screen-container .alerts .alert-dim {
	background: black;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 10;
	opacity: 0;
	
	transition: opacity .25s ease-in-out;
   -moz-transition: opacity .25s ease-in-out;
   -webkit-transition: opacity .25s ease-in-out;
}

#phone-container .screen-container .alerts .alert-dim.dimmed {
	opacity: 0.7;
}

#phone-container .screen-container .alerts .alert-usage {
	width: 90%;
	height: 90%;
	top: 5%;
	left: 5%;
	position: absolute;
	z-index: 11;
	opacity: 0;
	
	transition: .25s ease-in-out;
   -moz-transition: .25s ease-in-out;
   -webkit-transition: .25s ease-in-out;
}

#phone-container .screen-container .alerts .alert-usage.show {   
   width: 100%;
   height: 100%;
   top: 0;
   left: 0;
   opacity: 1;
}

#phone-container .screen-container .alerts .alert-usage.app {
	background: url('../images/main_screen_alert_app_usage.png') no-repeat;
	background-size: 100% auto;
}

#phone-container .screen-container .alerts .alert-usage.device {
	background: url('../images/main_screen_alert_device_usage.png') no-repeat;
	background-size: 100% auto;
}

#phone-container .screen-container .alerts .alert-break {
	background: url('../images/main_screen_alert_break.png') no-repeat;
	background-size: 100% auto;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 4;
	top: 100%;
}

/* Animations */

.scroller-inner > section.animated-in .content-inner {
	-webkit-animation: fade-in-up .75s both cubic-bezier(.215,.61,.355,1);
	-moz-animation: fade-in-up .75s both cubic-bezier(.215,.61,.355,1);
	animation: fade-in-up .75s both cubic-bezier(.215,.61,.355,1);
}

.scroller-inner > section.animate-out .content-inner {
	-webkit-animation: fade-out-up .75s both cubic-bezier(.215,.61,.355,1);
	-moz-animation: fade-out-up .75s both cubic-bezier(.215,.61,.355,1);
	animation: fade-out-up .75s both cubic-bezier(.215,.61,.355,1);
}

.scroller-inner > section.banner.animated-in .content-inner {
	-webkit-animation: none;
	-moz-animation: none;
	animation: none;
}

.scroller-inner > section.banner.animate-out .content-inner {
	-webkit-animation: none;
	-moz-animation: none;
	animation: none;
}

@-webkit-keyframes fade-in-up {
    from {
	    opacity: 0;
	    top: -30px;
	}
    to {
	    opacity: 1;
	    top: 0;
	}
}

@keyframes fade-in-up {
	from {
	    opacity: 0;
	    top: -30px;
	}
    to {
	    opacity: 1;
	    top: 0;
	}
}

@-webkit-keyframes fade-out-up {
    from {
	    opacity: 1;
	    top: 0;
	}
    to {
	    opacity: 0;
	    top: -30px;
	}
}

@keyframes fade-out-up {
	from {
	    opacity: 1;
	    top: 0;
	}
    to {
	    opacity: 0;
	    top: -30px;
	}
}

/* Video Player */

#video-player-wrapper {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: none;
	text-align: center;
	z-index: 100;
}

#video-player-wrapper .video-player-background {
	background-color: rgba(0,0,0,0.6);
	z-index: 0;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: absolute;
}

#video-player-wrapper > .video-player-container {
	display: table;
	width: 100%;
	height: 100%;
	position: relative;
	z-index: 1;
}

#video-player-wrapper .video-player-youtube {
	display: table-cell;
	vertical-align: middle;
}

#video-player-wrapper .video-player-youtube-inner {
	position: relative;
	display: inline-block;	
}

#video-player-wrapper .video-close-button {
	display: block;
	position: absolute;
	width: 74px;
	height: 74px;
	background: url('../images/button_video_close.png') no-repeat;
	background-size: 100% 100%;
	top: -5%;
	left: 95%;
}

/* Mobile */
@media (max-width: 860px) {	
	.header-inner .logo-banner {
		display: none;
	}
}
