@import url('https://fonts.googleapis.com/css?family=Source+Code+Pro');

article {
	/*max-width: 800px;*/
}

article pre code {
	border: 0;
	padding: 0;
	white-space: pre;
	font-family: Menlo, monospace;
	font-size: 13px;
	line-height: 20px;
}

article header p {
	font-size: 22px;
	color: #98a1ad;
}


article header h1 {
	font-size: 30px;
	line-height: 30px;
	padding: 0;
	margin: 0 0 10px 0;
	font-weight: 500;
}

article h2 {
	font-size: 18px;
	padding: 20px 0 0 0;
	margin: 0 0 20px 0;
	font-weight: 500;
	color: #000000;
	letter-spacing: 0.3px;
}

article h3 {
	font-size: 16px;
	padding: 20px 0 0 0;
	margin: 0 0 10px 0;
	font-weight: 500;
	color: #000000;
	letter-spacing: 0.3px;
}

article h4 {
	font-size: 20px;
	font-weight: 500;
	padding: 10px 0 0 0;
	margin: 0 0 10px 0;
}

article h6 {
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	color: #c4c9d4;
	margin: 0 0 5px 0;
	letter-spacing: 0.5px;
}

article p {
	font-size: 16px;
	line-height: 30px;
	margin: 0 0 20px 0;
	color: #444444;
}

article a {
	color: #0078ff;
	text-decoration: none;
}

article a:hover {
	text-decoration: underline;
}

article code, table code.large {
	font-family: Menlo, monospace;
	font-size: 13px;
	border: 0;
	background: transparent;
	padding: 0;
	color: #8993a6;
	background: #f4f6f9;
	padding: 3px 5px;
	border-radius: 3px;
}

article .figures.four figure {
	width: calc(25% - 10px + (10px / 4));
	margin-right: 10px;
	float: left;
}

article .figures.four figure:nth-of-type(4) {
	margin-right: 0;
}

article figure {
	margin: 0 0 20px 0;
}

article figure img {
	width: 100%;
}

article figure img.example {
	border-radius: 4px;
}

article figure.two {
	width: 50%;
	float: left;
}

article figure.three {
	width: 33.3%;
	float: left;
}

article figure.four {
	width: 25%;
	float: left;
}

article figure.device {
	width: 200px;
	float: left;
	padding: 5px 10px;
}

article .device-text {
	width: calc(100% - 200px - 20px - 20px);
	padding: 10px 0 0 20px;
	float: left;
}

@media only screen and (max-width: 768px) {
	article figure.device {
		width: 200px;
		float: none;
		padding: 0;
		margin: 10px auto 20px;
	}
	
	article .device-text {
		width: 100%;
		padding: 0;
		float: none;
	}
}

article figcaption {
	font-size: 14px;
	text-align: center;
	color: #999999;
	margin: 10px 0 0 0;
}

article table {
	width: 100%;
	font-size: 15px;
	/*border: 1px solid rgba(0,0,0,0.1);*/
	border-radius: 4px;
	margin: 0 0 20px 0;
	line-height: 20px;
	color: #444444;
}

article table thead, article table td.strong {
	font-weight: 500;
	color: #000000;
	word-break: break-all;
}

article table td.center {
	text-align: center;
}

article table td.top {
	vertical-align: top;
}

article table figure {
	margin: 0;
}

article table tbody tr td {
	border-top: 1px solid rgba(0,0,0,0.1);
}

/*article table tbody tr:nth-child(odd) {
	background: #fafafa;
}*/

article table td {
	padding: 15px 5px;
}

article table tr.recommended {
	box-shadow: inset 0 1px 0 rgba(0,0,0,0.1),
				inset 3px 0 0 #37c485;
}

article table img {
	width: 100%;
}

article .codeblock {
	font-size: 14px;
	border: 1px solid rgba(0,0,0,0.1);
	border-radius: 4px;
	padding: 15px;
	background: #fafafa;
	margin: 0 0 20px 0;
	overflow-x: scroll;
}

article .codeblock pre {
	font-family: "Source Code Pro", monospace;
}

article #cover {
	width: 600px;
	height: 360px;
	background: url(docs-pwa.png) no-repeat center center #0078ff;
	background-size: cover;
	border-radius: 4px;
	margin: 0 0 20px 0;
}

article .cover {
	width: 100%;
	height: 350px;
	border-radius: 4px;
	margin: 0 0 20px 0;
}

article .cover.icon {
	height: 300px;
	background: url(img/icons.png) no-repeat bottom center #e7f3fe;
	background-size: contain;
}

article .cover.display {
	height: 300px;
	background: url(img/display-cover6.png) no-repeat bottom center #e7f3fe;
	background-size: contain;
}

article .cover.splash-screen {
	height: 300px;
	background: url(img/splash-screen-cover6.png) no-repeat bottom center #e7f3fe;
	background-size: contain;
}

article .cover.theme {
	height: 300px;
	background: url(img/theme-cover6.png) no-repeat bottom center #e7f3fe;
	background-size: contain;
}