/* base styles */
h1, h2, h3 { clear: both }

a { color: #00a0b0 }
a:visited { color: #cc333f }
a:hover { color: #333 }
a.button { color: #444 }

a.screenshot {
	display: inline-block;
	box-shadow: 2px 2px 16px rgba(0,0,0,0.2);
}
a.screenshot>img { display: block }

code {
	border: 1px solid #ddd;
	background-color: #f8f8f8;
	border-radius: 3px;
	padding: 0 2px;
	font-family: monospace;
}

pre { margin: 20px 0 }

pre>code:only-child {
	display: block;
	padding: 5px 0 5px 16px;
}

/*
pre.code {
	background: #eee;
	border-left: 3px solid #ccc;
	padding: 5px 0 5px 16px;
	margin: 20px 0 20px 16px;
	font-family: monospace;
}
*/

/* base layout */
#header {
	margin-top: 10px;
	margin-bottom: 30px;
	height: 100%;
}

#header>nav {
	margin-top: -66px;
}

#header img { max-width: 100% }

#header>nav>ul {
	vertical-align: bottom;
	list-style: none;
	text-align: right;
	margin: 0;
}

#header>nav>ul>li {
	display: inline-block;
	margin: 0 0 3px 0;
}

#header>nav>ul>li>a {
	display: block;
	padding: 15px 15px 5px 15px;
	text-decoration: none;
	color: #000;
	border-bottom: 3px solid transparent;
}

#header>nav>ul>li>a:hover {
	border-bottom-color: #00a0b0;
}

#header>nav>ul>li.active>a {
	border-bottom-color: #cc333f;
}

.subnavi a.active {
	text-decoration: none;
}

.subnavi a.active::before {
	content: "\f0da";
	padding-right: 5px;
	font-family: FontAwesome;
}

#footer {
	padding-top: 20px;
	text-align: right;
	color: #999;
}
#footer a, #footer a:visited { color: #999 }

@media (max-width: 960px) {
	#header>nav {
		margin-top: -10px;
	}
	#header>nav>ul {
		text-align: left;
	}
}

@media (max-width: 768px) {
	#header>nav>ul { text-align: left }
	#header>nav>ul>li { display: block; }
	#header>nav>ul>li>a { padding: 5px; }
	#header>nav>ul>li>a:hover {
		color: #fff;
		border-bottom-color: transparent;
		background: #00a0b0;
	}
	#header>nav>ul>li.active>a {
		color: #fff;
		border: none;
		background: #cc333f;
	}
}

.jumbotron {
	background: #eee;
	margin-bottom: 30px;
	padding: 15px 0 15px 0;
	border-radius: 2px;
}

.os-icons a {
	padding: 5px;
	font-size: 32px;
	color: #333;
}

.os-box {
	padding: 15px;
	background: #eee;
	margin: 15px 0 15px 0;
	border-radius: 2px;
}
.os-box>:first-child { margin-bottom: 32px; }

.some-box { margin: 15px 0 }

.some-box a {
	font-size: 16px;
	text-decoration: none;
}

.some-box .fa { font-size: 20px; }

.some-box.facebook a { color: #4862a3; }
.some-box.googleplus a { color: #DD4B39; }

aside.screenshot.left {
	float: left;
	margin: 0 15px 15px 0;
}

aside.screenshot.center {
	text-align: center;
	margin: 15px 0;
}
aside.screenshot.right {
	float: right;
	margin: 0 0 15px 15px;
}

.blog-date {
	color: #999;
}

.markdown ul {
	margin-left: 30px;
	list-style: square outside;
}

.some-sharing {
	margin: 1em 0 2em 0;
}

@media print {
	#header>nav { display: none }
	.some-sharing { display: none }
}

