@media (max-width: 625px) {
	#site-address {
		display: none;
	}

	#article-header-side {
		display: inline;
		float: left;
	}
}

@media (max-width: 700px) {
	aside.toc {
		width: 100%;
	}	
}

@media (max-width: 950px) {
	table.code-comparison-table {
		display: inline;
	}

	table.code-comparison-table tbody {
		display:inline;
	}

	table.code-comparison-table tr {
		display: flex;
		flex-wrap: wrap;
	}

	table.code-comparison-table td {
		display: block;
		flex-grow: 1;
		max-width: 100%;		
	}
}

html {
	font-family: 'Roboto', sans-serif;
	font-size: 17px;
}

body {
	background-color: #FAFAFA;
	padding: 0;
	margin: 0;
	min-height: 100%;
}

main#home-main {
	max-width: inherit;
}

main {
	max-width: 1280px;
	padding: 0 1em;
	margin: auto;
}

h1, h2, h3, h4, h5 {
	font-family: 'Heebo', sans-serif;
	color: #272822;
}

h1 {
	font-size: 2em;
}

h2 {
	font-size: 1.5em;
	clear: left;
}

h3 {
	font-size: 1.25em;
	clear: left;
}

p {
	line-height: 2em;
	color: #272822;
}

li code, p code, td code {
	font-family: Hack, Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
	padding: 0.25em;
	background: #F5F2F0;
}

div.code-toolbar pre code {
	font-size: 15px;
	font-family: Hack, Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
}

li {
	line-height: 2em;
	color: #272822;
}

a {
	/* color: #99385E; */
	 color: #5284C4; 
}

footer {
	color: #777777;
	background: #F5F2F0;
	text-align: center;
	margin-top: 2em;
	padding: 1.5em 1em;
	font-size: 14px;
}

footer a {
	color: #99385E;
}

body > header {
	background-image: linear-gradient(90deg, #5284C4, #448CCB);
	color: white;
	box-shadow: 0 5px 5px #EEEEEE;
	width: 100%;
}

header #title-group {
	display: flex;
	justify-content: space-between;
	max-width: 1280px;
	margin: 0 auto;
}

#site-title {
	margin: 10px 0 0 10px;
	text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.15);
	font-size: 1.75em;
	font-family: 'Heebo', sans-serif;
}

#site-title a {
	background-image: url(/img/logo.png);
	background-size: contain;
	background-repeat: no-repeat;
	padding-left: 65px;

}

#site-title strong {
	font-weight: 400;
}

#site-address {
	font-family: 'Roboto', sans-serif;
	font-size: 1.1em;
	font-weight: 300;
	margin: auto 20px;
}

header a {
	color: white;
	text-decoration: none;
}

nav.main-menu {
	margin: 0;
	padding: 0;
}

nav.main-menu ul {
	display: inline;
	margin: 10px;
	padding: 0;
}

nav.main-menu li {
	display: inline;
	margin-right: 1em;
}

nav.main-menu li a {
	font-weight: 300;
}

nav.main-menu .material-icons {
	font-size: 2em;
	padding: 0;
	margin: 0;
}

.material-icons {
	line-height: 1em;
}

nav.main-menu li.active a {
	color: #F9D66C;
	font-weight: 700;
	text-decoration: underline
}

#hero {
	background-color: #5284C4;
	width: 100%;
	text-align: center;
	margin: 0;
}

#hero .title {
	padding: 2em;
}

#hero .title h1 {
	color: white;
	font-size: 2.5em;
	font-family: 'Roboto', sans-serif;
	font-weight: 100;
	padding: 2em 0 1em 0;
}

#hero .title h1 strong {
	font-weight: 400;
}

#hero .title h2 {
	color: white;
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
}

nav#hero-menu {
	padding: 1em 0;
}

nav#hero-menu a {
	color: white;
}

nav#hero-menu ul {
	margin: 0;
	padding: 0;
	width: 100%;
	display: flex;
}

nav#hero-menu li {
	flex-grow: 1;
	display: block;
	list-style-type: none;
}

a.hero-nav-item {
	display: block;
	width: 100%;
	text-decoration: none;
}

a.hero-nav-item i.material-icons {
	display:block;	
	font-size: 3em;
}

#home-main {
	margin: 0;
	padding: 0;
}

#home-recent {
	margin: 0 auto;
	width: 100%;
	display: grid;
	justify-content: space-between;
	grid-template-columns: 33% 32% 33%;
	grid-gap: 0.5em;
}

#home-recent .recent-label {
	padding: 0;
	margin: 0;
	color: white;
	text-align: center;
	font-size: 0.75em;
	text-transform: uppercase;
	padding: 0.25em;
	background: #E59B51;
}

#home-recent .recent-content {
	margin: 0.75em;
}

#home-recent article {
	float: left;
	width: 100%;
	outline: #E59B51 solid 3px;
	background: #f6e7cb;
}

#home-recent h3 {
	margin: 0;
}

#home-recent summary {
	margin: 1em 0;
	font-size: 0.75em;
	line-height: 1.75em;
}

.block-anchor {
	display: block;
	width: 100%;
	text-decoration: none;
	color: inherit;
}

a.read-more {
	display: block;
	text-align: right;
}

.news-bullet {
	margin-top: 1em;
	display: flex;
	width: 100%;
}

.bullet-image {
	width: 3em;
}

.bullet-image i.material-icons {
	color: rgba(39, 40, 34, 0.4);
	font-size: 3em;
}

.bullet-content {
	margin-left: 1em;
}

.bullet-content > p {
	margin: 0;
}

article {
	margin: 0.25em;
}

aside.toc {
	float: right;
	clear: right;
	margin-left: 1em;
	background: #F5F2F0;
	font-size: 0.9rem;
}

aside.toc a {
	color: #D48F61;
	text-decoration: none;
}

aside.toc a:hover {
	text-decoration: underline;
}

aside.toc #TableOfContents {
	margin: 1em;
}

#TableOfContents > ul {
	margin: 0;
	padding: 0;
}

#TableOfContents > ul > li {
	list-style-type: none;
	margin: 0;
}

#TableOfContents > ul > li > ul {
	list-style-type: disc;
}

#TableOfContents > ul > li > ul > li > ul {
	list-style-type: circle;
}

#TableOfContents > ul > li > ul {
	list-style-type: disc;
}


aside.toc h4 {
	margin: 1em;
}

aside.toc nav#TableOfContents li {
	line-height: 1.5em;
}

table.code-comparison-table {
	width: 100%;
}

table.code-comparison-table td {
	width: 50%;
	vertical-align: top;
}

table.code-comparison-table td > p:empty {
	display:none;
}

table.code-list-table tr {
	padding: 0;
}

table.code-list-table td:first-of-type {
	padding-right: 1em;
}

article.news-summary p {
	font-size: 18px;
	font-style: italic;
}

article .read-more {
	font-size: 18px;
	text-align: right;
}

article .article-header .article-metadata {
	height: 60px;
	vertical-align: middle;
	float: right;
	font-size: 14px;
	line-height: 1.5em;
	color: #777777;
	text-align: right;
	margin: 0 2em 0 2em;
}

article .article-header .author-profile-pic {
	float: right;
	height: 60px;
	width: 60px;
	border-radius: 50%;
}

article .article-header #twitter-logo {
	color: white;
	float: right;
	width: 2.5em;
	margin: 0 0 2em 2em;
	border-radius: 10px;
}

article .article-header #rss-feed .material-icons {
	display: block;
	background: #fa8907;
	float: right;
	font-size: 2.5em;
	color: white;
	text-align: right;
	margin: 0 0 2em 0.25em;
	border-radius: 10px;
}

#concept-index-cols {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
}

.concept-index-col {
	flex-grow: 1;
}

.concept-index-col > ul {
	margin-top: 0;
	margin-bottom: 0;
}

.concept-index-col > ul > li {
	list-style-type: none;
	font-family: 'Heebo', sans-serif;
	color: #272822;
	font-size: 2rem;
}

.concept-index-col > ul > li > ul {
	list-style-type: disc;
	color: #272822;
	font-size: 24px;
}


div.code-toolbar {
	position: relative;
}

div.code-toolbar > .toolbar {
	position: absolute;
	top: .3em;
	right: .2em;
	transition: opacity 0.3s ease-in-out;
	opacity: 0;
}

div.code-toolbar:hover > .toolbar {
	opacity: 1;
}

div.code-toolbar > .toolbar .toolbar-item {
	display: inline-block;
}

div.code-toolbar > .toolbar a {
	cursor: pointer;
}

div.code-toolbar > .toolbar button {
	background: none;
	border: 0;
	color: inherit;
	font: inherit;
	line-height: normal;
	overflow: visible;
	padding: 0;
	-webkit-user-select: none; /* for button */
	-moz-user-select: none;
	-ms-user-select: none;
}

div.code-toolbar > .toolbar a,
div.code-toolbar > .toolbar button,
div.code-toolbar > .toolbar span {
	color: #bbb;
	font-size: .8em;
	padding: 0 .5em;
	background: #f5f2f0;
	background: rgba(224, 224, 224, 0.2);
	box-shadow: 0 2px 0 0 rgba(0,0,0,0.2);
	border-radius: .5em;
}

div.code-toolbar {
	clear: both;
}

div.code-toolbar .toolbar .toolbar-item span {
	color: #7C7F6C;	
}

div.code-toolbar .toolbar .toolbar-item {
	text-align: right;
	font-size: 18px;
}

.typealias-as-logo {
	font-family: 'Roboto', sans-serif;
}

.typealias-as-logo .type {
	font-weight: 400;
}

.typealias-as-logo .alias {
	font-weight: 100;
}

.truth-table > table {
	border-collapse: collapse;
}

.truth-table table, 
.truth-table th, 
.truth-table td {
	border: 1px solid silver;
}

.truth-table th, 
.truth-table td {
	padding: 1em;
	text-align: center;
}

.truth-table table tr th {
	background: #EEEEEE;
}

.truth-table table tr td:first-of-type {
	background: #EEEEEE;	
}

mark, span.highlight {
	background: rgba(249, 241, 108, 0.5);
}

blockquote {
	background: #F5F2F0;
	padding: 0.25em 1em 0.25em 2em;
	margin: 0;
	border-left: 0.25em solid #5284C4;
}

.flexcode {
	clear: both;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: stretch;
}

.flexcode pre {
	margin: 1em;
}

.cc-window {
	box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
}

.side-image {
	float: right;
	margin: 0 0 1em 1em;
}

.side-image-left {
	float: left;
	margin: 0 1em 1em 0;
}

.footnotes {
	font-style: italic;
	font-size: 0.8em;
}

.footnotes li {
	line-height: 1.55em;
	margin-bottom: 1.25em;
}

.footnotes code {
	font-size: 0.8em;
}

.footnotes sup {
  vertical-align: baseline;
  position: relative;
  top: -0.35em;
}

img.constrained-width {
	max-width: 100%;
}

img.code-anatomy {
	max-width: 100%;
	border-radius: 0.3em;
}

.elevated {
	box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
}

.home-article-summary {
	margin: 1em;
	padding: 1em;
	background: #F5F2F0;
}

img.home-share {
	max-width: 500px;
	margin-bottom: 1em;
}

a.home-link {
	display: block;
	font-weight: bold;
}

.home-profile {
	float: right;
	height: 100px;
	width: 100px;
	border-radius: 50%;
}

.latest-articles ul {
	padding-left: 0;
}

.latest-articles a {
	font-weight: bold;
}

.latest-articles .bullet-content p {
	font-style: italic;
}

#concept-recent a {
	font-family: 'Heebo', sans-serif;
	list-style-type: disc;
	color: #5284C4;
	font-size: 24px;
}

#article-header-side {
	float: right;
}

#article-social {
	clear: both;
	float: right;
	margin: 6px 0 6px 6px;
}

#article-social a {
	display: inline-block;
	background-size: contain;
	padding: 4px;
	width: 24px;
	height: 24px;	
	border-radius: 6px;
	margin: 3px 0 0 3px;	
}

#social-twitter-link {
	background-image: url(/img/twitter-white.svg);
	background-color: #48AAE6;
}

#social-rss-link {
	background-image: url(/img/icon-rss.svg);
	background-color: #f69537;
}

#share-this-article p {
	margin: 0.5em 0;
	font-family: 'Heebo', sans-serif;
}

.underline {
	outline: dotted 1px;
	padding: 1px;
}

.tt-yes {
	display: block;
	background-image: url(/img/yes.png);
	background-size: contain;
	background-repeat: no-repeat;
	padding-left: 0.5em;	
}

.tt-no {
	display: block;
	background-image: url(/img/no.png);
	background-size: contain;
	background-repeat: no-repeat;
	padding-left: 0.5em;	
}