@media (min-width: 1200px) {
	.container {
		width: 970px;
	}			
}
html, body {
	background: #fff;
	font-family: "Source Sans Pro", Helvetica, Verdana, sans-serif;
}

h1 {
	background: transparent url('images/horizonsdk-logo.png') no-repeat scroll 50% 50%;
	background-size: 100%;
	text-indent: -99999px;
	display: block;
	margin:0 auto 10px;
	width: 119px;
	height: 119px;
}
h2 {
	font-size: 35px;
	color: #fff;
	text-align: center;
	font-weight: 700;
	margin: 0;
	padding-bottom: 40px;
	text-shadow: 0 2px 20px rgba(0, 0, 0, .5);
}
h3 {
	font-weight: 700;
	color: #ff8800;
	font-size: 45px;
	margin: 30px 0 10px;
	text-align: center;
}

/* Header */
header {
	position: fixed;
	width: 100%;
	background: rgba(255, 255, 255, .95);
	padding: 20px 0;
	color: #ff8800;
	z-index: 9999;
	transition: all .25s;
	transform: translate3d(0, -100px, 0);
	-webkit-transform: translate3d(0, -100px, 0);
	border-bottom: 1px dotted #ddd;
}
header.inv {
	background: rgba(255, 136, 0, .95);
	color: #fff;
}
header .container {
	text-align: left;
	position: relative;
}
header em {
	font-style: normal;
	font-size: 20px;
	line-height: 42px;
}
.scrolled header {
	transform: translate3d(0, 0, 0);
	-webkit-transform: translate3d(0, 0, 0);
}
header span {
	cursor: pointer;
	display: block;
	float: left;
	background: transparent url('images/horizonsdk-logo-small.png') no-repeat scroll 50% 50%;
	background-size: 100%;
	width: 40px;
	height: 40px;
	text-indent: -999999px;
	margin-right: 15px;
}
header.inv span {
	background-image: url('images/horizonsdk-logo-inv.png');
}
header .btn,
header .btn:focus,
header .btn:active {
	display: block;
	border-radius: 30px;
	background: #ff8800;
	color: #fff;
	font-weight: 700;
	font-size: 20px;
	transition: all .15s;
	outline: none !important;
	display: inline-block;
	float: right;
	margin-left: 10px;
}
header .btn:hover {
	color: #fff;
	background: #DC7600;			
}
header.inv .btn {
	background: #fff;
	color: #ff8800;
}
header.inv b.btn:hover {
	color: #ff8800;
	background: #fff;
}
header .btn-signup {
	top: 0;
	right: 110px;
}
header .btn-docs,
header .btn-docs:focus,
header .btn-docs:active,
header .btn-login,
header .btn-login:focus,
header .btn-login:active,
header .btn-pricing,
header .btn-pricing:focus,
header .btn-pricing:active,
header .btn-features,
header .btn-features:focus,
header .btn-features:active  {
	background: transparent;
	color: #f80;
	box-shadow: none;
}
header .btn-docs:hover,
header .btn-login:hover,
header .btn-pricing:hover,
header .btn-features:hover {
	background: transparent;
	color: #f80;
	text-decoration: underline;
}
/* Hero */
.hero {
	overflow: hidden;
	position: relative;
	background: transparent url('images/dock-blurred.jpg') no-repeat scroll 50% 25%;
	background-size: cover;
}
.hero video {
	box-sizing: border-box;
	display: inline-block;
	position: absolute;
	width: 100%;
	top: 0;
	opacity: 0;
	transition: opacity .25s;
	transform: translateY(-15%);
}
.hero video.loaded {
	opacity: 1;
}
.hero .container {
	position: relative;
	padding-bottom: 15px;
}
.hero.empty .container {
	padding: 20px 0;
}
.hero .signup {
	margin: 0 auto 10px;
}
.hero.empty .signup {
	margin-bottom: 0px;
}
.hero .login {
	text-align: center;
	color: #fff;
	margin-bottom: 0px;
	font-size: 18px;
}
.hero .login a {
	color: #fff;
	text-decoration: underline;
}
.hero .login a:hover {
	text-decoration: none;
}
.platforms {
	width: 200px;
	margin: 0 auto;
	color: #fff;
}
.platform {
	width: 50%;
	text-align: center;
}
.platform strong {
	font-size: 20px;
	font-weight: 400;
	text-shadow: 0 2px 5px rgba(0,0,0,.5);
}
.platform h5 {
	width: 50px;
	height: 50px;
	background: #fff;
	display: block;
	margin: 0 auto 5px;
}
.ios h5 {
	background: transparent url('images/ios.png') no-repeat 50% 50%;
	background-size: 100%;
	text-indent: -999999px;
}
.android h5 {
	background: transparent url('images/android.png') no-repeat 50% 50%;
	background-size: 100%;
	text-indent: -999999px;
}
.ios {
	float: left;
	border-right: 2px solid rgba(255, 255, 255, .5);
}
.android {
	float: right;
	opacity: .5;
}
/* Top menu */
.top-menu {
	text-align: right;
	padding: 0;
	margin: 20px 0 50px;
}
.top-menu li {
	margin-right: 10px;
	list-style-type: none;
	display: inline-block;
	text-transform: uppercase;
	font-weight: 100;
}
.top-menu li:last-child {
	margin-right: 0;
}
.top-menu a:active,
.top-menu a:focus {
	background-color: transparent;
	text-decoration: none;
}
.top-menu a:hover {
	background-color: rgba(0, 0, 0, .15);
	text-decoration: none;
}
.top-menu a,
.top-menu span {
	border: 1px solid transparent;
	outline: none;
	text-shadow: 0 0 1px rgba(0, 0, 0, .3);
	display: inline-block;
	font-size: 18px;
	color: rgba(255, 255, 255, .85);
	padding: 2px 10px;
	border-radius: 20px;
	transition: background-color .2s;
}
.top-menu #signup {
	border: 1px solid #fff;
}
.top-menu span {
	background-color: rgba(0, 0, 0, .3);
}

.info {
	color: #333;
}
.info ul {
	font-size: 25px;
	margin: 0;
}
.info ul li {
	list-style-type: none;
	padding-bottom: 20px;
}

/* Pricing */
.pricing {
	padding: 45px 0;
}
.pricing a.signup {
	margin: 0 auto;
    background: #ff8800;
    color: #fff;
    box-shadow: none;
}
.plan-item {
	font-size: 18px;
	float: left;
	width: 323px;
	border: 1px solid #ddd;
	padding: 50px 0;
	margin-top: 20px;
	border-left: none;
	text-align: center;
	background: #fff;
}
.plan-item.free {
	border-left: 1px solid #ddd;
	border-right: none;
}
.plan-item.normal {
	border: 2px solid #f80;
	padding: 70px 0;
	margin-top: 0;
	position: relative;
}
.plan-item .best-value {
	font-size: 15px;
	position: absolute;
	top: -2px;
	left: 0;
	right: 0;
}
.plan-item .best-value span {
	background: #f80;
	color: #fff;
	padding: 3px 5px;
	display: inline-block;
}
.plan-item h5 {
	font-size: 40px;
	font-weight: 900;
	padding-bottom: 20px;
	margin: 0;
}
.plan-item .price {
	font-size: 35px;
	padding: 0 35px 0 15px;
	font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
	position: relative;
	display: inline-block;
}
.plan-item.custom .price {
	padding: 0;
}
.plan-item .price span {
	font-size: 20px;
	position: absolute;
	top: 10px;
	left: 0;
}
.plan-item .price em {
	font-style: normal;
	font-size: 16px;
	font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
	position: absolute;
	right: 0;
	bottom: 10px;
}
.plan-item .benefits {
	list-style: none;
	text-align: center;
	color: #999;
	width: 70%;
	margin: 50px auto 20px;
	padding: 0;
}
.plan-item .benefits li {
	font-size: 19px;
	color: #777;
	margin-bottom: 20px;
}
.plan-item .benefits li strong {
	color: #333;
}
.plan-item .benefits span {
	margin-right: 10px;
	color: #f80;
}
.plan-item .benefits .glyphicon-ok {
	color: green;
}
.plan-item .benefits .glyphicon-remove {
	color: red;
}

.plan-item .btn {
	text-transform: uppercase;
	background-color: #f80;
	border: none;
	border-radius: 20px;
}

/* Features */
.features {
	padding: 45px 0;
}
.features h5 {
	font-size: 25px;
	margin-top: 0;
	font-weight: 400;
}
.features p {
	font-size: 20px;
	color: #666;
}
.features ul {
	font-weight: 100;
	padding-left: 50px;
	background-position: 100% 50%;
	background-size: 258px;
	background-repeat: no-repeat;
	background-color: transparent;
}
.features li {
	position: relative;
	margin-bottom: 30px;
}
.features ul li a {
	color: #333;
	border-bottom: 1px solid #bbb;
	text-decoration: none;
}
.features ul li a:hover {
	border-bottom: none;
}
.features .camera:before {
	background-image: url('images/resolutions.png');
	width: 33px;
}
.features .filters:before {
	background-image: url('images/filters.png');
	width: 33px;
}
.features .horizon:before {
	background-image: url('images/leveling.png');
	width: 30px;
}
.features .views:before { background-image: url('images/views.png'); }
.features .gpu:before { background-image: url('images/gpu.png'); }
.features .ios9:before { background-image: url('images/ios9.png'); }
.features .multiplatform:before { background-image: url('images/multiplatform.png'); }
.features ul li:before {
	position: absolute;
	content: '';
	width: 32px;
	height: 32px;
	background-repeat: no-repeat;
	background-position: 0;
	background-size: contain;
	left: -50px;
	top: 0;
}
.features .secondary {
	background-image: url('images/horizonsdk-stack.png');
	background-position: 0 50%;
	padding: 0;
	padding-top: 40px;
}
.features ul li:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
}
.features ul li:last-child p {
	margin-bottom: 0;
}
.features .secondary li {
	margin-left: 50%;
}

body>section {
	background-color: #F0EFED;
}

/* Quote */
.review {
	text-align: center;
	padding: 25px 0 15px;
}
.review.empty {
	border-bottom: 1px dotted #ddd;
}
.review blockquote  {
	border: none;
	padding-top: 50px;
	background: transparent url('images/quote.png') no-repeat scroll 50% 0/32px;
	margin: 0;
}
.review blockquote p {
	font-size: 25px;
	font-weight: 100;
}
.review blockquote cite {
	font-size: 20px;			
	font-style: normal;
	color: #999;
	font-weight: 100;
}
/* Moar features */
.more-features {
	background: #F0EFED;
	padding: 66px 0;
}
.more-features .col-md-6 {
	padding: 120px 0 0;
	background-repeat: no-repeat;
	background-position: 50% 0%;
	background-size: 80px;
}
.more-features .horizon {
	background-image: url('images/horizon-icon.png');
}
.more-features .ioseight {
	background-image: url('images/ios9.png');
}
.more-features ul {
	padding: 0;
}
.more-features li {
	text-align: center;
	font-weight: 100;
	font-size: 25px;
}
.more-features a {
	color: #333;
	border-bottom: 1px solid #bbb;
	text-decoration: none;
}
.more-features a:hover {
	border: none;
	text-decoration: none;
}

@media (max-width: 800px) {
	.features {
		padding: 15px 0;
	}
	.features h5 {
		font-size: 20px;
	}
	.features p {
		font-size: 18px;
	}
	.features ul,
	.features .secondary {
		padding-top: 0;
		padding-left: 55px;
		background-image: none;
		width: 100%;	
	}
	.features .secondary {
		margin-top: 20px;
	}
	.features li,
	.features .secondary li {
		width: 100%;
		margin-left: 0;
		margin-bottom: 0;
	}

	.more-features .horizon {
		margin-bottom: 20px;
	}
	.more-features li {
		font-size: 20px;
	}
}

.signup,
.signup:focus,
.signup:visited {
	font-size: 25px;
	padding: 8px;
	background: #fff;
	box-shadow: 0 5px 4px rgba(0, 0, 0, .25);
	border-radius: 100px;
	color: #ff8800;
	display: block;
	width: 220px;
	text-align: center;
	cursor: pointer;
	transition: all .15s ease-in;
	font-weight: bold;
	text-decoration: none;
	outline: none !important;
}
.signup:hover {
	background: #f0f0f0;			
	color: #ff8800;
	text-decoration: none;
}
.signup:active {
	text-decoration: none;
	box-shadow: 0 0 0 rgba(0, 0, 0, .5);
}


.meet {
	padding: 50px 0 0;
}
.meet .city {
	padding: 50px 0 50px;
}
.meet .barcelona { background: rgba(0, 107, 114, .65); }
.meet .austin { background: rgba(54, 100, 0, .65); }
.meet .sanfrancisco { background: rgba(84, 0, 127, .65); }

.meet .container {
	position: relative;
	background-size: 100px;
	background-position: 20px 50%;
	background-repeat: no-repeat;
}
.meet h4,
.meet p {
	padding-left: 150px;
}

.meet .barcelona .container { background-image: url('images/barcelona.png'); }
.meet .austin .container { background-image: url('images/austin.png'); }
.meet .sanfrancisco .container { background-image: url('images/sanfrancisco.png'); }

h4 {
	font-size: 30px;
	font-weight: 700;
	color: #fff;
}
.city p {
	font-size: 25px;
	font-weight: 300;
	color: rgba(255, 255, 255, .5);
}
.calendar,
.calendar:focus,
.calendar:visited {
	padding: 0;
	position: absolute;
	right: 15px;
	top: 50%;
	background: #fff;
	color: #ff8800;
	display: block;
	text-align: center;
	box-shadow: 0 5px 4px rgba(0, 0, 0, .25);
	transition: all .15s ease-in;
	text-decoration: none;
	outline: none !important;
	margin-top: -25px;
	width: 50px;
	height: 50px;
	border-radius: 25px;
	background-image: url('images/calendar.png');
	background-position: 50% 50%;
	background-size: 22px;
	background-repeat: no-repeat;
	background-color: #fff;
	text-indent: -999999px;
}
.calendar:hover {
	text-decoration: none;
	background-color: #f0f0f0;	
}
.calendar:active {
	text-decoration: none;
	box-shadow: 0 0 0 rgba(0, 0, 0, .5);
}

.github {
	padding: 0;
    max-width: 400px;
    margin: 20px auto 0;
    text-align: center;
}
.github > div {
    display: inline-block;
    padding: 0 10px;
}
.github > div:first-child {
    border-right: 2px solid rgba(255, 255, 255, 0.5);	
}
.github .container h4 {
	margin: 0;
	color: #666;
}
.github a {
	display: inline-block;
	width: 64px;
	height: 64px;
	background: red;
	text-indent: -9999px;
	background-repeat: no-repeat;
	background-position: center center;
	background-attachment: scroll;
	background-color: transparent;
	background-size: 75%;
	transition: 0.15s ease-in all;
}
.github a.code {
	background-image: url('images/github.png');
}
.github a.docs {
	background-image: url('images/documentation.png');
}
.github a:hover {
	transform: scale(1.05);
}

@media (-webkit-min-device-pixel-ratio: 2) {

	.github a.code {
		background-image: url('images/github@2x.png');
	}
	.github a.docs {
		background-image: url('images/documentation@2x.png');
	}
}
.github > div a:first-child {
	margin-right: 10px;
}

footer {
	text-align: center;
	color: rgba(0, 0, 0, .5);
	font-size: 15px;
	padding: 20px 0;
}

/* Code integration */
.integration-container {
	padding: 20px 0 0;
	position: relative;
	overflow: hidden;
}
.integration-container .lang-chooser {
	padding: 0;
	list-style: none;
	text-align: left;
    margin: 0 auto 20px;
}
.integration-container .lang-chooser li {
	border-radius: 20px;
	background: #C3C3C3;
	margin-right: 10px;
	font-size: 16px;
	color: #606060;
	padding: 2px 17px;
	cursor: pointer;
	transition: .2s all ease-in;
	display: inline-block;
}
.integration-container .lang-chooser li:hover {
	background-color: #f9f9f9;
	text-decoration: none;
}
.integration-container .lang-chooser li.active {
	background-color: #ff8800;
	color: #fff;
}

.code-container {
	position: relative;
	max-width: 700px;
	margin: 0 auto;
}
.code-container .github-button {
	display: none;
}
.code-container iframe {
	position: absolute;
	top: 0;
	right: 0;
}
.code-container .code {
	background-color: #fff;
	border-radius: 10px;
	min-height: 150px;
	overflow: hidden;
	overflow-x: auto;
	position: relative;
	margin: 0 auto;
	border: 1px solid #ddd;
}
.code-container .code:before {
	content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 47px;
    background: #ebeff3;
    border-right: 1px solid #e3e7ea;
    -webkit-border-radius: 5px 0 0 5px;
    border-radius: 5px 0 0 5px;
}
.code-container .code pre {
	white-space: pre;
    font: 12px/19px Menlo,Monaco,Consolas,"Andale Mono",monospace;
    margin: 0 0 0 48px;
    padding: 0 15px;
    border-radius: 0;
    display: inline-block;
    color: #C86419;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    overflow: visible;
    background: transparent;
    border: none;
    opacity: 0;
    transition: opacity .25s ease-in;
}
.code-container .code pre.active {
	opacity: 1;
}

.code-container .code pre .comment {
	color: green;
}
.code-container .code pre:before {
    content: "1 2 3 4 5 6 7 8";
    position: absolute;
    width: 10px;
    left: -28px;
    top: 0;
    bottom: 0;
    white-space: normal;
    overflow: hidden;
    text-align: right;
    color: #777;
}

.code-container p {
	text-align: center;
	margin-top: 20px;
	font-size: 18px;
}

.integration-container .device-container {
	position: absolute;
	right: 0;
	top: 20px;
	width: 200px;
	height: 400px;
	background: #333;
	border-radius: 25px;
}
.integration-container .device-screen {
	width: 90%;
	height: 80%;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	text-align: center;
}

.integration-stage-progress {
	margin: 20px auto;
	position: relative;
	width: 632px;
}
.integration-stage-progress:after {
	content: '';
	display: block;
	background: #D8D8D8;
	z-index: 0;
	border-radius: 30px;
	width: 970px;
	height: 5px;
	margin-left: -485px;
	margin-top: -2px;
	position: absolute;
	top: 50%;
	left: 50%;
}
.integration-stages {
	list-style-type: none;
	padding: 0;
	display: block;
	position: relative;
}
.integration-stages li {
	position: relative;
	z-index: 1;
	width: 128px;
	height: 128px;
	color: #333;
	border-radius: 50%;
	text-align: center;
	float: left;
	margin-right: 40px;
	box-sizing: border-box;
	line-height: 24px;
	font-size: 18px;
	padding-top: 35px;
	transform: scale(.8);
	background-color: #fff;
	transition: all .2s ease-in;
	cursor: pointer;
    border: 5px solid #D8D8D8;
}
.integration-stages li.active {
	transform: scale(1) !important;
	background-color: #ff8800 !important;
	color: #fff;
	border-color: #ff8800;
}
.integration-stages li:hover {
	transform: scale(.9);
	background-color: #d8d8d8;
}
.integration-stages li:last-child {
	margin-right: 0;
}
.integration-stages li span {
	display: block;
}

@media (max-width: 991px) {
	header em {
		display: none;
	}
	.plan-item h5 {
		padding-bottom: 30px;
	}
	.pricing .plan-item {
		float: none;
		width: 90%;		
		margin: 0 auto 15px;
		border: 1px solid #ddd;
		padding: 20px 30px;
		text-align: center;
	}
	.pricing .hide-small {
		display: none;
	}
	.pricing .plan-item.normal {
		border: 2px solid #f80;
		padding: 50px 30px 30px;
	}
	.pricing .plan-item.custom .price {
		display: none;
	}
	.pricing .benefits {
		margin: 30px 0 0;
		width: 100%;
	}
	.pricing .custom .benefits {
		margin-top: 0px;
	}
	.pricing .benefits li {
		float: left;
		width: 50%;
		margin-bottom: 30px;
	}
	.pricing .plan-item:last-child {
		margin-bottom: 0;
	}
	.pricing {
		padding: 15px 0;
	}
}
@media (max-width: 990px) {
	.more-features .col-md-6 {
		background-position: 50% 20px;
	}
}
@media (max-width: 1000px) {
	.hero {
		background-position: 50% 0;
	}
	.hero video {
		width: 100%;
		transform: translateY(0);
	}
}
@media (max-width: 800px) {
	.code-container {
		max-width: 100%;
	}
	.integration-container .device-container {
		display: none;
	}
	.integration-stage-progress {
		width: 100%;
		margin-bottom: 0;
	}
	.integration-stages {
		margin-bottom: 0;
	}
	.integration-stage-progress:after {
		display: none;
	}
	.integration-stage-progress li {
		border: none !important;
		float: none;
		width: 100%;
		border-radius: 0;
		height: auto;
		transform: scale(1) !important;
		line-height: auto;
		padding: 10px;
	}
	.integration-stages li span {
		display: inline;
		margin-right: 5px;
	}
	header span {
		margin-right: 15px;
	}
	.signup,
	.signup:focus,
	.signup:visited {
		width: 200px;
		padding: 10px 7px;
	}
	.meet .city {
		padding: 0 0 20px;
	}
	.meet .city .container {
		background-position: 50% 40px;
		background-size: 70px;
		padding-top: 150px;
		text-align: center;
	}
	.meet h4,
	.meet p {
		padding-left: 0;
	}
	.calendar,
	.calendar:focus,
	.calendar:visited {
		width: 40px;
		height: 40px;
		margin: 10px 0 0;
		border-radius: 20px;
		line-height: 40px;
		font-size: 20px;
		position: static;
		text-align: center;
		display: inline-block;
		background-size: 18px;
	}
	.pricing .benefits {
		font-size: 14px;
	}
}
@media (max-width: 765px) {
	.hero video {
		height: 100%;
		width: auto;
	}
}
@media (max-width: 600px) {
	.top-menu {
		text-align: center;
		margin-bottom: 30px;
	}
	.top-menu li {
		margin-right: 5px;
	}
	.top-menu span {
		background-color: transparent;
		border-bottom: 1px solid #ddd;
	}
	.top-menu a:hover {
		background-color: transparent;
		border-bottom: 1px solid #999;				
	}
	.top-menu a,
	.top-menu span {
		border-radius: 0;
		padding: 2px 5px;
		font-size: 15px;
	}
	.top-menu #signup {
		border-radius: 20px;
	}
	.review blockquote p {
		font-size: 20px;
	}
	h4 {
		font-size: 25px;
	}
	.city p {
		font-size: 20px;
	}
	h3 {
		font-size: 30px;
	}
	h2 {
		font-size: 22px;
		padding-bottom: 30px;
	}
	.hero.empty .container {
		padding: 30px 0;
	}
	footer {
		font-size: 10px;
	}
	.pricing .benefits li {
		float: none;
		width: 100%;
	}
	header .btn-docs,
	header .btn-features {
		display: none;
	}
}
@media (max-width: 500px) {
	header .btn-pricing {
		display: none;
	}
}
@media (max-width: 400px) {
	.hero video {
		display: none;
	}
}