/*
Theme Name: CSS 2015
Theme URI:
Description:
Version: 2015
Author: Caleb Stauffer
Author URI: http://develop.calebstauffer.com
Tags:
*/

@-ms-viewport { width: device-width; }

* {
	margin: 0;
	padding: 0;
	background-position: left top;
	background-repeat: no-repeat;
}

.dashicons{
	display:inline-block;
	line-height:1;
	font-weight:400;
	font-style:normal;
	speak:none;
	text-decoration:inherit;
	text-transform:none;
	text-rendering:auto;
	-webkit-font-smoothing:antialiased;
	-moz-osx-font-smoothing:grayscale;
	width:20px;
	height:20px;
	font-size:20px;
	vertical-align:top;
	text-align:center;
	background-size: contain;
}

.dashicons-admin-home {
	width: 22px;
	height: 22px;
	background-image: url( /wp-content/themes/css-2015/admin-home.svg);
}

.dashicons-category {
	width: 21px;
	height: 20px;
	background-image: url( /wp-content/themes/css-2015/category.svg);
}

.dashicons-menu,
.dashicons-no-alt {
	width: 26px;
	height: 26px;
	background-image: url( /wp-content/themes/css-2015/menu.svg);
}

.dashicons-no-alt {
	background-image: url( /wp-content/themes/css-2015/no-alt.svg);
}

html,body {
	padding-top: 60px;
	font-family: Open Sans, Helvetica, Arial, sans-serif;
	font-weight: 300;
	font-size: 13px;
	color: #242424;
	background-color: #FCFCFC;
}

	body.post-type-archive-syscomp {
		width: 600px;
		margin: 0 auto;
	}

h1,
h2,
h3 { font-weight: 300; }

p,
.entry-content li,
blockquote { line-height: 22px; }

* + p,
.entry-content * + h2,
.entry-content * + h3,
.entry-content * + ul,
.entry-content * + ol,
* + blockquote,
* + figure,
* + video { margin-top: 25px; }

	h1 + *,
	h2 + *,
	h3 + * { margin-top: 10px; }

a {
	color: #2A7DD0;
	color: #1E5995; /* accessible */
}

img,
figure,
video {
	max-width: 100%;
	height: auto;
}

.aligncenter,
.has-text-align-center { text-align: center; }

body > h1 { display: none; }

.entry-content ol,
.entry-content ul,
blockquote {
	margin-left: 30px;
}

.entry-content li + li {
	margin-top: 5px;
}

.container {
	display: block;
	width: 600px;
	margin: 0 auto;
}

.display-none {
	display: none;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	clip-path: polygon( 0 0, 0 0, 0 0, 0 0 );
	clip: rect( 1px, 1px, 1px, 1px );
	white-space: nowrap;
	overflow: hidden;
}

header#sitehead {
	position: fixed;
	left: 0;
	top: 0;
	z-index: 3;
	width: 100%;
	padding: 25px 0;
	background-color: #FCFCFC;
	text-align: center;
}

	body.admin-bar header#sitehead { top: 32px; }

nav#nav-mobile,
label[for="switch--mobile-nav"] { display: none; }

nav ul {
	margin-top: 0;
	background-color: #FCFCFC;
	list-style: none;
}

	nav#nav > ul.menu {
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		width: 500px;
		margin: 0 auto;
		-webkit-box-direction: normal;
		-moz-box-direction: normal;
		-webkit-box-orient: horizontal;
		-moz-box-orient: horizontal;
		-webkit-flex-direction: row;
		-ms-flex-direction: row;
		flex-direction: row;
		-webkit-flex-wrap: nowrap;
		-ms-flex-wrap: nowrap;
		flex-wrap: nowrap;
		-webkit-box-pack: justify;
		-moz-box-pack: justify;
		-webkit-justify-content: space-between;
		-ms-flex-pack: justify;
		justify-content: space-between;
		-webkit-align-content: center;
		-ms-flex-line-pack: center;
		align-content: center;
		-webkit-box-align: center;
		-moz-box-align: center;
		-webkit-align-items: center;
		-ms-flex-align: center;
		align-items: center;
		list-style: none;
	}

	nav#nav > ul.menu > li > ul {
		position: absolute;
		left: -8px;
		top: 100%;
		min-width: 100%;
		margin-top: 4px;
		padding: 2px 10px 3px 0;
		transition: opacity 0.5s ease-in;
		-webkit-transition: opacity 0.5s ease-in;

		opacity: 0;
	}

		nav#nav > ul.menu > li ul.sub-menu {
			display: block;
		}

		nav#nav > ul.menu > li:hover > ul {
			opacity: 1;
		}

nav > ul.menu > li { position: relative; }

nav#nav > ul.menu > li > ul > li {
	padding-left: 10px;
	white-space: nowrap;
	line-height: 20px;
	text-align: left;
	transition: transform 0.25s ease;
}

	nav#nav > ul.menu > li > ul > li:hover {
		transform: translateX( -5px );
	}

nav > ul.menu a {
	padding-bottom: 3px;
	border: none;
	border-bottom: 1px solid #FCFCFC;
	text-transform: uppercase;
	text-decoration: none;
	font-size: 12px;
	color: #666;
}

	nav#nav > ul.menu > li > ul a {
		padding-bottom: 0;
		border-bottom: none;
		font-size: 10px;
	}

	nav#nav > ul.menu a:hover,
	nav#nav > ul.menu > li:hover > a {
		border-color: #999;
		color: #666;
	}

	nav#nav > ul.menu > li.home > a {
		border-bottom: none;
		font-size: 22px;
	}

		nav#nav > ul.menu > li.home > a:hover {
			border-bottom: none;
			color: #666;
		}

#photo-container {
	position: relative;
	max-width: 400px;
	margin: 0 auto 1em;
	background-color: #F2F2F2;
	border-radius: 50%;
}

#photo-container::before {
	content: '';
	display: inline-block;
	width: 1px;
	height: 0;
	padding-top: 100%;
}

#photo-container::after,
#photo-container img {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	object-position: center;
	object-fit: contain;
}

	#photo-container::after {
		content: '';
		z-index: 1;
		background-image: var( --lqip );
		background-size: calc( 100% + 20px ) auto;
		background-position: center;
		background-repeat: no-repeat;
		clip-path: circle( calc( 50% - 2px ) at center );
		filter: blur( 10px );
	}

	#photo-container img.lazyload,
	#photo-container img.lazyloading,
	#photo-container img.lazyloaded {
		opacity: 0;
		transition: opacity 0.5s;
	}

		#photo-container img.lazyloading,
		#photo-container img.lazyloaded {
			will-change: opacity;
		}

		#photo-container img.lazyloaded {
			opacity: 1;
		}

body.archive section > h1 { display: none; }

body.archive section h2.none {
	text-align: center;
	font-weight: 300;
}

article {
	margin-bottom: 100px;
}

article > div.post-thumbnail { overflow: hidden; }

article.has-post-thumbnail.category-website > div.post-thumbnail {
	position: relative;
	padding: 0 5px 63px 9px;
	background-image: url(/wp-content/themes/css-2015/thunderbolt_bg.jpg);
	background-position: center 25px;
}

article.has-post-thumbnail:not( .category-website ) > div.post-thumbnail::before {
	content: '';
	float: left;
	display: inline-block;
	width: 1px;
	height: 0;
	margin-left: -1px;
}

article > div.post-thumbnail .thunderbolt {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	background-image: url(/wp-content/themes/css-2015/thunderbolt.png);
	background-image: url(/wp-content/themes/css-2015/thunderbolt.webp);
}

article > div.post-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
}

	article > div.post-thumbnail img.lazyload,
	article > div.post-thumbnail img.lazyloading,
	article > div.post-thumbnail img.lazyloaded {
		opacity: 0;
		transition: opacity 1s ease-in-out;
	}

		article > div.post-thumbnail img.lazyloading { will-change: opacity; }
		article > div.post-thumbnail img.lazyloaded { opacity: 1; }

	article > div.post-thumbnail .thunderbolt + img {
		position: relative;
		z-index: 1;
		margin-top: -8px;
		min-height: 380px;
	}

article div.entry-content {
	padding: 15px 25px 25px;
	background-color: #FFF;
	outline: 1px solid #F6F6F6;
}

	article > div.post-thumbnail + div.entry-content { margin-top: 10px; }

article h1 {
	font-size: 40px;
}

article h1 > a {
	text-decoration: none;
	color: inherit;
}

	article h1 > a:hover {
		color: #2A7DD0;
		color: #1E5995; /* accessible */
	}

article h1 + h2 {
	margin-top: 25px;
}

article > div.entry-content { color: #666; }

article > div.entry-content > div.meta { margin-top: 20px; }

article > div.entry-content > ul.meta {
	margin-left: 0;
	list-style: none;
}

article > div.entry-content > ul.meta > li {
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 300;
	font-size: 11px;
	color: #666;
}

article > div.entry-content > ul.meta span.dashicons { color: #CCC; }

article > div.entry-content > ul.meta > li.categories { line-height: 23px; }

article > div.entry-content > ul.meta a {
	text-transform: uppercase;
	text-decoration: none;
	font-size: 11px;
	color: inherit;
}

body.post-type-archive-syscomp table {
	position: relative;
	width: 100%;
}

body.post-type-archive-syscomp table th,
body.post-type-archive-syscomp table td {
	max-width: 50%;
	min-width: 250px;
	text-align: left;
	cursor: default;
}

table > thead > tr > th {
	padding-bottom: 5px;
	border-bottom: 1px solid #CCC;
	font-weight: 400;
}

	body.post-type-archive-syscomp table > thead > tr > th:first-child,
	body.post-type-archive-syscomp table > tbody > tr > th {
		position: fixed;
		left: 50%;
		width: 100px;
		min-width: 100px;
		max-width: 100px;
		margin-left: -413px;
		padding-left: 5px;
		padding-right: 10px;
		font-style: italic;
		text-align: right;
		font-weight: 300;
		color: #666;
	}

body.post-type-archive-syscomp table > tbody > tr > th + td {
	padding-left: 2px;
}

body.category-associates table {
	width: 100%;
}

body.category-associates table th { white-space: nowrap; }

table > tbody > tr > * {
	padding-top: 5px;
	padding-bottom: 5px;
}

	table > tbody > tr:hover > * { background-color: #F6F6F6; }

		body.post-type-archive-syscomp table > tbody > tr:hover > th { color: #333; }
		body.category-associates table > tbody > tr:hover > td.name { padding-left: 10px; }

table a { text-decoration: none; }

#posts_nav {
	position: relative;
	height: 70px;
	text-align: center;
}

#posts_nav a {
	position: absolute;
	right: 50%;
	margin: 0 20px;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 1px;
	font-weight: bold;
	font-size: 11px;
}

	#posts_nav a + a {
		left: 50%;
		right: auto;
	}

#posts_nav a > span {
	display: inline-block;
	transition: margin 0.5s ease;
}

	#posts_nav a:hover > span { margin: 0 5px 0 0; }
		#posts_nav a + a:hover > span { margin: 0 0 0 5px; }

#system-table-container {
	width: 100%;
	overflow-x: auto;
}

#associates-table ul {
	list-style: none;
}

@media screen and (max-width: 1024px) {

	html,body { padding-top: 40px; }

	body section h1,
	body.archive section > h1 {
		display: block;
		margin: 0 auto 20px;
		text-align: center;
	}

	div.container {
		width: 100%;
		overflow: hidden;
	}

	article { margin-bottom: 20px; }
		article + article { margin-top: 80px; }

	article.has-post-thumbnail.category-website > div.post-thumbnail {
		width: 70%;
		padding: 0;
		margin: 0 auto;
		background-position: center 9px;
		background-size: 97% auto;
	}

	article > div.post-thumbnail .thunderbolt {
		position: relative;
		left: auto;
		top: auto;
		float: left;
		height: 0;
		padding-top: 73%;
		background-size: 100% auto;
		margin-left: -2px;
	}

	article > div.post-thumbnail .thunderbolt + img {
		position: absolute;
		left: 0;
		top: 0;
		min-height: 0;
		margin-top: -10px;
	}

}

@media screen and (max-width: 782px) and (min-width: 667px) {

	body.admin-bar header#sitehead {
		top: 46px;
		padding: 10px 0;
	}

}

@media screen and (max-width: 666px) {

	html,body { padding-top: 30px; }

	body.home > .container {
		max-width: 90%;
		margin-bottom: 20px;
	}

	header#sitehead { padding: 0; top: -20px; }

	body h1 { width: 90%; }

	label[for="switch--mobile-nav"] {
		position: fixed;
		right: 0;
		top: 0;
		z-index: 5;
		display: -ms-flexbox;
	    display: -webkit-flex;
	    display: flex;
	    -webkit-flex-direction: row;
	    -ms-flex-direction: row;
	    flex-direction: row;
	    -webkit-flex-wrap: nowrap;
	    -ms-flex-wrap: nowrap;
	    flex-wrap: nowrap;
	    -webkit-justify-content: center;
	    -ms-flex-pack: center;
	    justify-content: center;
	    -webkit-align-content: center;
	    -ms-flex-line-pack: center;
	    align-content: center;
	    -webkit-align-items: center;
	    -ms-flex-align: center;
	    align-items: center;
		width: 50px;
		height: 50px;
		background-color: #FFF;
		cursor: pointer;
	}

		body.admin-bar label[for="switch--mobile-nav"] {
			top: 46px;
		}

		label[for="switch--mobile-nav"].close {
			z-index: 4;
		}

	label[for="switch--mobile-nav"] span.dashicons {
		margin: -3px 0 0 -5px;
		font-size: 26px;
	}

	label[for="switch--mobile-nav"].close,
	#switch--mobile-nav ~ .container,
	#nav-mobile {
		transition: transform 0.4s linear;
		will-change: transform;
	}

		#switch--mobile-nav:checked ~ .container,
		#switch--mobile-nav:checked ~ label[for="switch--mobile-nav"].close,
		#switch--mobile-nav:checked ~ #nav-mobile {
			transform: translateX( -200px );
		}

	nav#nav { display: none; }

	nav#nav-mobile {
		position: fixed;
		right: -200px;
		top: 0;
		z-index: 6;
		display: block;
		width: 200px;
		height: 100%;
		background-color: #FFF;
		border-left: 1px solid #F6F6F6;
		text-align: left;
	}

		body.admin-bar nav#nav-mobile { top: 46px; }

	nav#nav-mobile ul {
		display: -ms-flexbox;
	    display: -webkit-flex;
	    display: flex;
	    -webkit-flex-direction: column;
	    -ms-flex-direction: column;
	    flex-direction: column;
	    -webkit-flex-wrap: nowrap;
	    -ms-flex-wrap: nowrap;
	    flex-wrap: nowrap;
	    -webkit-justify-content: space-around;
	    -ms-flex-pack: distribute;
	    justify-content: space-around;
	    -webkit-align-content: space-around;
	    -ms-flex-line-pack: distribute;
	    align-content: space-around;
	    -webkit-align-items: flex-start;
	    -ms-flex-align: start;
	    align-items: flex-start;
		height: 100%;
		max-height: 600px;
		margin-left: 20px;
		background-color: transparent;
	}

	nav#nav-mobile ul > li > a {
		transition: none;
		font-size: 20px;
	}

	article.has-post-thumbnail.category-website > div.post-thumbnail {
		width: auto;
		margin: 0 0 0 2px;
	}

	article > div.post-thumbnail .thunderbolt + img { margin-top: -8px; }

	body.post-type-archive-syscomp { width: auto; }

	body.post-type-archive-syscomp table { width: auto; margin: 0 auto 20px; }

	body.post-type-archive-syscomp h1 .extra,
	body.post-type-archive-syscomp table [data-wish-tier]:not([data-wish-tier="0"]) { display: none; }

	body.post-type-archive-syscomp table th,
	body.post-type-archive-syscomp table td {
	}

		body.post-type-archive-syscomp table > thead > tr > th:first-child,
		body.post-type-archive-syscomp table > tbody > tr > th {
			position: relative;
			left: auto;
		}

	body.category-associates table {
		width: auto;
		max-width: 90%;
		margin: 0 auto;
	}

}

@media screen and (max-width: 500px) {

	article h1 { font-size: 26px; }

}

body.error404 h1 {
	text-align: center;
	font-size: 100px;
}

body.error404 h2 {
	text-align: center;
}


/*
########     ###     ######   ########  ######  ########  ######## ######## ########
##     ##   ## ##   ##    ##  ##       ##    ## ##     ## ##       ##       ##     ##
##     ##  ##   ##  ##        ##       ##       ##     ## ##       ##       ##     ##
########  ##     ## ##   #### ######    ######  ########  ######   ######   ##     ##
##        ######### ##    ##  ##             ## ##        ##       ##       ##     ##
##        ##     ## ##    ##  ##       ##    ## ##        ##       ##       ##     ##
##        ##     ##  ######   ########  ######  ##        ######## ######## ########
*/

body {
	border-top: 3px solid transparent;
}

#performanceIndicator {
	position: absolute;
	left: 0;
	bottom: 100%;
	z-index: 5;
	display: flex;
	width: 100%;
	height: 24px;
	background-color: #CCC;
	transition: transform 0.5s;
	transform: translateY( 3px );
	list-style: none;
	cursor: default;
	--score: 0;
}

	body.admin-bar #performanceIndicator {
		bottom: calc( 100% - 32px );
	}

#performanceIndicator > li {
	position: relative;
	width: 25%;
	padding: 3px 10px;
	box-sizing: border-box;
	white-space: nowrap;
	--score: 0;
}

	#performanceIndicator > li + li {
		border-left: 2px solid #FCFCFC;
	}

#performanceIndicator > li::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	background-color: #0DCD6B;
	transform: scaleX( var( --score ) );
	transform-origin: left top;
	transition: transform 2s;
	will-change: transform;
}

	#performanceIndicator > li.loaded::after {
		will-change: unset;
	}

	#performanceIndicator > li.red::after {
		background-color: #FF4D42;
	}

	#performanceIndicator > li.yellow::after {
		background-color: #FFA301;
	}

#performanceIndicator .score {
	font-family: 'Menlo', 'dejavu sans mono', 'Consolas', 'Lucida Console', monospace;
	opacity: 0.7;
}

@media ( hover: hover ) {

	#performanceIndicator:hover {
		transform: translateY( 100% );
	}

	#performanceIndicator:hover::after {
		color: #000;
	}

}

@media ( max-width: 782px ) {

	body.admin-bar #performanceIndicator {
		bottom: calc( 100% - 46px );
	}

	#performanceIndicator > li { width: calc( 100% / 3 ); }

	#performanceIndicator > li[data-category="seo"] { display: none; }

}


/*
██████  ██       ██████   ██████ ██   ██         ██████   █████  ██      ██      ███████ ██████  ██    ██
██   ██ ██      ██    ██ ██      ██  ██  ██     ██       ██   ██ ██      ██      ██      ██   ██  ██  ██
██████  ██      ██    ██ ██      █████          ██   ███ ███████ ██      ██      █████   ██████    ████
██   ██ ██      ██    ██ ██      ██  ██  ██     ██    ██ ██   ██ ██      ██      ██      ██   ██    ██
██████  ███████  ██████   ██████ ██   ██         ██████  ██   ██ ███████ ███████ ███████ ██   ██    ██
*/

.wp-block-gallery {
	display: grid;
	grid-auto-flow: dense;
	grid-gap: 10px;
	padding: 10px;
	background-color: #FCFCFC;
}

.wp-block-gallery.columns-3 {
	grid-template-columns: repeat( 3, 1fr );
}

.wp-block-gallery.columns-4 {
	grid-template-columns: repeat( 4, 1fr );
}

.wp-block-gallery.columns-5 {
	grid-template-columns: repeat( 5, 1fr );
}

.wp-block-gallery.columns-6 {
	grid-template-columns: repeat( 6, 1fr );
}

.wp-block-gallery * + figure {
	margin-top: 0;
}

.wp-block-gallery img {
	display: block;
}


/*
.####.##.....##.########..########...#######..##.....##.########....####.##.....##....###.....######.
..##..###...###.##.....##.##.....##.##.....##.##.....##.##...........##..###...###...##.##...##....##
..##..####.####.##.....##.##.....##.##.....##.##.....##.##...........##..####.####..##...##..##......
..##..##.###.##.########..########..##.....##.##.....##.######.......##..##.###.##.##.....##.##......
..##..##.....##.##........##...##...##.....##..##...##..##...........##..##.....##.#########.##......
..##..##.....##.##........##....##..##.....##...##.##...##...........##..##.....##.##.....##.##....##
.####.##.....##.##........##.....##..#######.....###....########....####.##.....##.##.....##..######.
*/

article.has-post-thumbnail.improved-imac-frame > div.post-thumbnail {
	width: 602px;
	height: 435px;
	padding: 0;
}

article.improved-imac-frame > div.post-thumbnail .thunderbolt + img {
	width: 550px;
	height: 305px;
	min-height: 0;
	margin: 27px 0 0 19px;
}

@media ( max-width: 620px ) {

	article.has-post-thumbnail.improved-imac-frame > div.post-thumbnail {
		left: 50%;
		transform: translateX( -50% );
	}

}