@font-face {
	font-family: OpenSans;
	src: url("OpenSans-Regular.woff");
	font-weight: 400;
}

@font-face {
	font-family: OpenSans;
	src: url("OpenSans-Bold.woff");
	font-weight: 700;
}

@font-face {
	font-family: Consolas;
	src: url("Consolas.woff");
	font-weight: 400;
}

* {
	font-family: OpenSans;
	/* Font weight fix */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

html, body {
	position: relative;
	margin: 0;
	padding: 0;
	text-align: center;
}

body {
	padding: 150px 20px 100px;
}

.bg-container {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-image: url(bg.jpg);
	background-size: cover;
	z-index: -1;
}

.bg-container:after {
	content: "";
	background: #FFF;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: .8;
	z-index: 0;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	background: #000;
	height: 150px;
	width: 100%;
	text-align: center;
}

header > a {
	display: block;
	position: relative;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	width: 400px;
}

header > a > img {
	width: 100%;
}

.container {
	margin: 60px auto 0;
	text-align: center;
	max-width: 800px;
}

h1 {
	font-weight: 400;
	font-size: 24px;
}

h2 {
	font-size: 16px;
	font-weight: 400;
	color: #999;
	margin: 0 0 20px;
}

a {
	text-decoration: none;
}

button {
	outline: 0;
	border: 0;
	background: 0;
	color: #FFF;
	padding: 15px 40px;
	border-radius: 10px;
	background: #830065;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: 700;
	transition: all .3s ease;
	cursor: pointer;
}

button:hover {
	background: #AB0078;
}

.mobile-download {
	margin-top: 20px;
}

.version-infos {
	padding: 30px 10px 50px;
}

.os-version {
	font-weight: bold;
}

.qr-code {
	border: 3px solid black;
}

.switch {
	list-style: none;
	padding: 0;
	display: inline-block;
	font-size: 0;
}

.switch li {
	display: inline-block;
	border: 1px solid black;
	font-size: 16px;
	font-weight: bold;
	padding: 10px 20px;
	min-width: 100px;
	text-transform: uppercase;
	cursor: pointer;
}

.switch li.active {
	background: #000;
	color: #FFF;
}

.switch li:first-child {
	border-top-left-radius: 999px;
	border-bottom-left-radius: 999px;
	padding-left: 30px;
}

.switch li:not(:first-child) {
	border-left: 0;
}

.switch li:last-child {
	border-top-right-radius: 999px;
	border-bottom-right-radius: 999px;
	padding-right: 30px;
}

.switch-main-web {
	margin: 30px 0 20px;
}

.chooser {
	list-style: none;
	padding: 0;
	margin: 0;
	background: #FFF;
}

.chooser + .chooser {
	margin-top: 10px;
}

.chooser-title {
	text-transform: uppercase;
	font-size: 11px;
	font-weight: bold;
	color: #666;
	border-bottom: 1px solid #ddd;
	padding: 10px;
}

.chooser ul {
	padding: 5px 10px;
	margin: 0;
	list-style: none;
}

.chooser li {
	display: inline-block;
	cursor: pointer;
	font-size: 14px;
	font-weight: bold;
	color: #666;
	padding: 5px 10px;
	margin: 10px 0;
}

.chooser li + li {
	margin-left: 20px;
}

.chooser li.active {
	color: #6ECEB2;
	border-bottom: 2px solid #6ECEB2;
}

.chooser-language {
	text-transform: uppercase;
}

.section {
	padding: 20px;
	background: rgba(255, 255, 255, .7);
}

.section + .section {
	margin-top: 20px;
}

.section-demo-real-data > .chooser:last-of-type {
	margin-bottom: 30px;
}

.section-code-options {
	margin-top: 20px;
}

.code-snippet {
	position: relative;
}

.code-snippet textarea {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 180px;
	padding: 40px 20px 20px;
	font-size: 16px;
	font-family: Consolas;
	outline: none;
	background-color: rgba(0,0,0,.7);
	color: #6ECEB2;
	resize: none;
	border: 0;
}

.code-snippet .copy-to-clipboard {
	position: absolute;
	right: 0px;
	top: 0px;
	text-transform: uppercase;
	background: #FFF;
	font-weight: bold;
	color: #555;
	display: block;
	padding: 5px 10px;
	font-size: 11px;
	cursor: pointer;
	border-radius: 0;
}

.code-snippet .copy-to-clipboard:hover {
	text-decoration: underline;
}

.docs {
	text-decoration: underline;
	color: #666;
	font-size: 11px;
	margin: 10px;
	display: block;
	text-align: right;
}

.tooltipster-light {
	background: #FF8200;
	border: 0;
	color: #FFF;
	font-weight: bold;
}

footer {
	background: #F1F1F1;
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 50px;
}

footer .inner {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	font-size: 12px;
	width: 90%;
	text-align: center;
}

footer .contact {
	color: #AB0078;
}

@media only screen and (max-width: 768px) {
	body {
		padding-top: 50px;
		padding-bottom: 100px;
	}

	header {
		height: 50px;
	}

	header > a {
		width: 150px;
	}

	button {
		font-size: 14px;
		padding: 15px 30px;
	}

	h1 {
		margin-bottom: 10px;
	}

	h2 {
		font-size: 12px;
	}

	.chooser li {
		font-size: 12px;
	}

	.container {
		margin-top: 40px;
	}

	.version-infos {
		padding-bottom: 20px !important;
	}

	footer {
		height: 50px;
	}

	footer .inner {
		font-size: 8px;
	}
}
