/*
Theme Name: Photricity7
Theme URI: https://photricity.com
Author: Photricity Web Design
Author URI: https://photricity.com
Version: 1.0.7
Description: Launched June 2020
Tags: photricity
License: Copyright Photricity Web Design
License URI: N/A
Text Domain: photricity7
*/


/* Normalize
================================ */

html {
	-webkit-text-size-adjust: 100%;
	line-height: 1.15;
}

pre {
	font-family: monospace;
	font-size: 1em;
	overflow: auto;
}

figure {
	margin: 0;
}

abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

code,
kbd,
samp {
	font-family: monospace;
	font-size: 1em;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

button,
input {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

progress {
	vertical-align: baseline;
}

textarea {
	overflow: auto;
}

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

[hidden],
.hidden,
.template,
.screen-reader-text {
	display: none;
}

article,
aside,
footer,
header,
nav,
section,
main,
details {
	display: block;
}

summary {
	display: list-item;
}

html,
body {
	overflow-x: hidden;
	overflow-y: auto;
}

footer {
	clear: both;
}


/* Variables
================================ */

body {
	/* Colors */
	--primary-color: #fb6;
	--primary-dark-color: #f71;
	--fg-color: #555;
	--bg-color: #fff;
	--extra-light-grey: #eee;
	--light-grey: #ccc;
	--med-grey: #bbb;
	--dark-grey: #333;

	/* Other */
	--duration: 0.3s;
	--line-width: 4px;
	--main-padding: 5vw;

	/* Font Weight */
	--normal: 400;
	--bold: 700;
}


/* Typography
================================ */

html {
	font-size: 16px;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	margin: 0;
	color: var(--fg-color);
	background: var(--bg-color);
	font: var(--normal) 1.3em/1.8 'Roboto Condensed', 'Arial Narrow', sans-serif;
	word-break: break-word;
}

@media (max-width: 1000px) {
	body {
		font-size: 1.2em;
	}
}

@media (max-width: 750px) {
	body {
		font-size: 1.1em;
	}
}

h1,
h2,
h3,
h4,
h5,
h6 {
	display: table;
	margin: 1rem 0;
	font-weight: var(--bold);
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

h2:after,
h3:after,
h4:after,
h5:after,
h6:after {
	content: '';
	display: block;
	width: 70%;
	max-width: 30rem;
	height: var(--line-width);
	margin: 0.2em 0 0;
	background: var(--primary-color);
}

h2.has-text-align-center:after,
h3.has-text-align-center:after,
h4.has-text-align-center:after,
h5.has-text-align-center:after,
h6.has-text-align-center:after {
	margin-right: auto;
	margin-left: auto;
}

h2.title {
	text-align: center;
	margin-right: auto;
	margin-left: auto;
}

h2.title:after {
	margin: 0.2em auto 0;
}

h1,
h2 {
	font-size: 2em;
}

h3 {
	font-size: 1.6em;
}

h4 {
	font-size: 1.4em;
}

h5 {
	font-size: 1.3em;
}

h6 {
	font-size: 1.2em;
}

b,
strong {
	/*font-weight: bolder;*/
	font-weight: var(--bold);
}

dfn,
cite,
em,
i {
	font-style: italic;
}

p {
	margin: 0 0 1em;
}

small,
.small,
.has-small-font-size {
	font-size: 80%;
}

big,
.big,
.has-big-font-size {
	font-size: 125%;
}

.has-huge-font-size {
	font-size: 175%;
}

blockquote,
blockquote.wp-block-quote {
	margin: 0 0 1.5em;
	padding-left: 1.5rem;
	box-sizing: border-box;
	line-height: 2;
	border: 0 solid var(--primary-color);
	border-left-width: var(--line-width);
}

blockquote p:last-of-type {
	margin-bottom: 0;
}

.wp-block-pullquote {
	box-sizing: border-box;
	margin-bottom: 1.5em;
	border: var(--line-width) solid var(--primary-color);
	border-right-width: 0;
	border-left-width: 0;
	color: var(--primary-color);
	padding: 2em 0;
}

.wp-block-pullquote.alignright,
.wp-block-pullquote.alignleft {
	width: 280px;
}

.wp-block-pullquote blockquote {
	border: none;
	padding: 0;
	max-width: 70%;
	margin: 0 auto;
}

.wp-block-pullquote p {
	margin: 0;
}

.wp-block-pullquote.is-style-solid-color {
	color: var(--bg-color);
	background-color: var(--primary-color);
	-webkit-clip-path: polygon(2vw 0%, calc(100% - 2vw) 0%, 100% 66%, calc(100% - 2vw) 100%, 2vw 100%, 0% 33%);
	clip-path: polygon(2vw 0%, calc(100% - 2vw) 0%, 100% 66%, calc(100% - 2vw) 100%, 2vw 100%, 0% 33%);
	font-size: 0.8em;
}

.wp-block-code {
	border: 0;
	-webkit-clip-path: polygon(0.5em 0%, calc(100% - 0.5em) 0%, 100% 66%, calc(100% - 0.5em) 100%, 0.5em 100%, 0% 33%);
	clip-path: polygon(0.5em 0%, calc(100% - 0.5em) 0%, 100% 66%, calc(100% - 0.5em) 100%, 0.5em 100%, 0% 33%);
	background: var(--extra-light-grey);
	padding: 0.8em 1.5em;
	font-size: 0.8em;
	line-height: 1.2;
}

.wp-block-code.scroll {
	height: 400px;
	overflow-y: auto;
}

.text-center,
.has-text-align-center {
	text-align: center;
	margin-right: auto;
	margin-left: auto;
}

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}

.upper {
	text-transform: uppercase;
}

::selection {
	color: var(--bg-color);
	background: var(--primary-color);
}


/* Lists
================================ */

ul,
ol,
li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.entry ul,
.widget ul,
.entry ol,
.widget ol {
	margin-bottom: 1.5em;
}

.entry li ul,
.widget li ul,
.entry li ol,
.widget li ol {
	margin: 0.5em 0 0;
}

.entry ol ul,
.widget ol ul {
	margin-left: 1.2em;
}

.entry ul > li,
.widget ul > li {
	margin: 0 0 0.5em 1.2em;
	position: relative;
}

.entry ul > li:before,
.widget ul > li:before {
    content: '\2022';
    font-size: 1.5em;
    position: absolute;
    font-family: sans-serif;
    color: var(--primary-color);
    left: -0.85em;
    top: -0.25em;
}

.entry ol > li,
.widget ol > li {
	margin: 0 0 0.5em;
	list-style: decimal inside;
}

ol li:before {
	content: '\00A0\00A0';
}

.entry ul.wp-block-latest-posts li {
	margin: 0;
}

ul.wp-block-latest-posts li:before,
.ninja-forms-form-wrap .list-checkbox-wrap li:before {
	display: none;
}


/* Links
================================ */

a {
	background-color: transparent;
	color: var(--primary-color);
	text-decoration: none;
	transition: color var(--duration) ease;
}

a:hover,
a:active,
a:focus {
	color: var(--primary-dark-color);
	text-decoration: none;
	outline: 0;
}

.skip-link {
	position: absolute !important;
	top: 10px;
	left: -999rem;
}

.skip-link:focus {
	left: var(--main-padding);
    z-index: 2;
}

.admin-bar .skip-link {
	top: 42px;
}

a img {
	transition: filter var(--duration) ease;
}

a:hover img,
a:focus img {
	filter: brightness(0.7) saturate(0);
}


/* Navigation
================================ */

#nav {
	padding-top: 1rem;
	float: left;
}

@media (min-width: 1046px) {
	.menu-item,
	.page_item {
		float: left;
		margin-right: 3.5vw;
		padding: 0.2em;
		padding-bottom: 0.8em;
		padding-left: 0;
		text-transform: uppercase;
		letter-spacing: 0.15em;
		font-weight: var(--bold);
	}

	.menu > .menu-item:last-of-type,
	.menu ul > .page_item:last-of-type {
		margin-right: 0;
	}

	.menu-item-has-children,
	.page_item_has_children {
		position: relative;
		padding-left: 0.8em;
		background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2019.1%209%22%3E%3Cpolyline%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%224%22%20points%3D%220.9%2C1.7%209.6%2C7%2018.2%2C1.7%22%2F%3E%3C%2Fsvg%3E");
		background-position: left 0.95em;
		background-repeat: no-repeat;
		background-size: 0.6em;
	}

	div.menu > ul > .menu-item > a,
	div.menu > ul > .page_item > a,
	ul.menu > .menu-item > a {
		color: var(--bg-color);
		display: table;
	}

	div.menu > ul > .menu-item > a:after,
	div.menu > ul > .page_item > a:after,
	ul.menu > .menu-item > a:after {
		content: '';
		display: block;
		width: 0;
		height: var(--line-width);
		margin: 0 auto;
		background: var(--primary-color);
		transition: width var(--duration) ease;
	}

	div.menu > ul > .menu-item > a:hover:after,
	div.menu > ul > .page_item > a:hover:after,
	ul.menu > .menu-item > a:hover:after,
	div.menu > ul > .menu-item > a:focus:after,
	div.menu > ul > .page_item > a:focus:after,
	ul.menu > .menu-item > a:focus:after {
		width: 70%;
	}

	ul.sub-menu,
	ul.children {
		visibility: hidden;
		opacity: 0;
		transition-property: opacity, visibility, left;
		transition-duration: 0.4s, 0s, 0.4s;
		transition-delay: 0s, 0.4s, 0s;
		position: absolute;
		top: 2.6em;
		left: -1.8rem;
		width: 18em;
		padding: 0.5em 1.3em;
		background: #fff;
		z-index: 99;
		box-sizing: border-box;
		-webkit-clip-path: polygon(1.7em 0%, 100% 0%, 100% calc(100% - 0.8em), calc(100% - 1.7em) 100%, 0% 100%, 0% 0.8em);
		clip-path: polygon(1.7em 0%, 100% 0%, 100% calc(100% - 0.8em), calc(100% - 1.7em) 100%, 0% 100%, 0% 0.8em);
	}

	.menu-item-has-children:hover > .sub-menu,
	.menu-item-has-children:focus-within > .sub-menu,
	.page_item_has_children:hover > .children,
	.page_item_has_children:focus-within > .children {
		visibility: visible;
		opacity: 1;
		left: 0;
		transition-property: opacity, visibility, left;
		transition-delay: 0s, 0s, 0s;
	}

	.sub-menu .menu-item,
	.children .page_item {
		margin: 0;
		padding: 0;
		box-sizing: border-box;
		float: none;
	}

	.sub-menu .menu-item a,
	.children .page_item a {
		display: block;
		padding: 0.7rem 0;
		line-height: 1.5;
	}

	.open-menu,
	.close-menu {
		display: none;
	}
}

@media (max-width: 1045px) {
	#main-menu-container {
		visibility: hidden;
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 10;
		background: transparent;
	}

	#main-menu {
		position: fixed;
		top: 0;
		bottom: 0;
		left: -23em;
		z-index: 12;
		box-sizing: border-box;
        width: 80%;
        max-width: 20em;
        overflow-y: auto;
        padding: 1em var(--main-padding);
        background: var(--bg-color);
        box-shadow: 0.3rem 0 1rem rgba(0,0,0,0.2);
        transition: left var(--duration) ease-in-out;
	}

	#main-menu-container.menu-open {
		visibility: visible;
		background: rgba(0, 0, 0, 0.5);
		transition-property: background, visibility;
		transition-delay: 0s, 0s;
		transition-duration: var(--duration), 0s;
	}

	#main-menu-container.menu-closed {
		visibility: hidden;
		background: transparent;
		transition-property: background, visibility;
		transition-delay: 0s, var(--duration);
		transition-duration: var(--duration), 0s;
	}

	#main-menu-container.menu-open #main-menu {
		left: 0;
	}

	.admin-bar #main-menu {
		top: 32px;
	}

	.open-menu,
	.close-menu {
		display: block;
		width: 2.5rem;
		height: 2.5rem;
	}

	.open-menu {
		fill: var(--bg-color);
		transition: fill var(--duration) ease;
	}

	.close-menu {
		fill: var(--primary-color);
		transition: fill var(--duration) ease;
		margin-bottom: 1em;
	}

	.open-menu:hover,
	.open-menu:focus {
		fill: var(--primary-color);
	}

	.close-menu:hover,
	.close-menu:focus {
		fill: var(--primary-dark-color);
	}

	.nav-label {
		display: none;
	}

	.menu li a {
		display: block;
		margin-bottom: 0.6em;
		padding: 0.4em 0;
		line-height: 1.5;
		text-transform: uppercase;
		letter-spacing: 0.1em;
		font-weight: var(--bold);
	}

	.menu-item-has-children > .sub-menu,
	.page_item_has_children > .children {
		padding-left: 1em;
		border: 0 solid var(--extra-light-grey);
		border-left-width: var(--line-width);
	}

	#logo {
		padding: 7vw 0 !important;
	}

	.cta {
		margin-bottom: 15vw !important;
	}
}


/* Forms
================================ */

.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.wp-block-button__link,
.wp-block-file__button,
.more-link,
.page-numbers,
.post-edit-link,
.post-page-numbers,
.comment-reply-link,
.comment-navigation a {
	box-sizing: border-box;
	margin-bottom: 0.5em;
	padding: 0.55em 1.5em 0.5em !important;
	transition: background var(--duration) ease;
	border: none !important;
	border-radius: 0 !important;
	line-height: 1.2;
	font-size: 0.9em;
	outline: none;
	-webkit-clip-path: polygon(0.5em 0%, calc(100% - 0.5em) 0%, 100% 66%, calc(100% - 0.5em) 100%, 0.5em 100%, 0% 33%);
	clip-path: polygon(0.5em 0%, calc(100% - 0.5em) 0%, 100% 66%, calc(100% - 0.5em) 100%, 0.5em 100%, 0% 33%);
	/* ^^ Same as input */
	position: relative;
	font-weight: var(--bold);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--bg-color) !important;
	background: var(--primary-color) !important;
}

.button:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.wp-block-file__button:hover,
.more-link:hover,
.page-numbers:hover,
.post-edit-link:hover,
.post-page-numbers:hover,
.comment-reply-link:hover,
.comment-navigation a:hover,
.button:focus,
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
.wp-block-button__link:focus,
.wp-block-file__button:focus,
.more-link:focus,
.page-numbers:focus,
.post-edit-link:focus,
.post-page-numbers:focus,
.comment-reply-link:focus,
.comment-navigation a:focus {
	background: var(--primary-dark-color) !important;
	cursor: pointer;
	text-decoration: none;
}

.button.small,
.small .button,
input.small,
.small input,
.wp-block-button.small a,
.wp-block-file__button,
.comment-reply-link,
.post-edit-link,
.more-link {
	padding: 0.4em 1em !important;
	font-size: 0.8em;
}

.more-link {
	display: table;
	margin: 1em 0;
	clear: both;
}

.nav-links,
.post-nav-links {
	text-align: center;
	line-height: 2;
}

.page-numbers,
.post-page-numbers,
.page-numbers.current,
.post-page-numbers.current {
	margin: 0 0.3em;
	padding: 0.3em 0.7em !important;
	display: inline-block;
}

.page-numbers.dots,
.page-numbers.current,
.post-page-numbers.current {
	background-color: var(--light-grey) !important;
	cursor: default;
}

.wp-block-file__button {
	display: table;
	margin-left: 0 !important;
}

.wp-block-buttons {
	margin-bottom: 1em;
}

button[disabled],
input[type="submit"]:disabled {
	opacity: 0.7;
	filter: saturate(0);
	cursor: not-allowed;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea,
select {
	box-sizing: border-box;
	margin-bottom: 0.5em;
	padding: 0.55em 1.5em 0.5em !important;
	transition: background var(--duration) ease;
	border: none !important;
	border-radius: 0 !important;
	line-height: 1.2;
	font-size: 0.9em;
	outline: none;
	-webkit-clip-path: polygon(0.5em 0%, calc(100% - 0.5em) 0%, 100% 66%, calc(100% - 0.5em) 100%, 0.5em 100%, 0% 33%);
	clip-path: polygon(0.5em 0%, calc(100% - 0.5em) 0%, 100% 66%, calc(100% - 0.5em) 100%, 0.5em 100%, 0% 33%);
	/* ^^ Same as button */
	width: 100%;
	max-width: 30rem !important;
	background: var(--light-grey);
	font-family: inherit;
	color: var(--fg-color);
}

textarea {
	display: block;
	width: 100%;
	max-width: 40rem !important;
	resize: vertical;
	line-height: 1.5;
	-webkit-clip-path: polygon(1em 0%, 100% 0%, 100% calc(100% - 2em), calc(100% - 1em) 100%, 0% 100%, 0% 2em);
	clip-path: polygon(1em 0%, 100% 0%, 100% calc(100% - 2em), calc(100% - 1em) 100%, 0% 100%, 0% 2em);
	min-height: 170px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus,
select:focus {
	outline: none;
	background: var(--med-grey);
}

select {
	border-right: 0.6em solid transparent !important;
}

option {
	background: var(--extra-light-grey);
}

input[type="search"]::-webkit-search-decoration {
	display: none;
}

input[type="radio"],
input[type="checkbox"] {
	font-size: 2em;
}

input {
	accent-color: var(--primary-color);
}

::-webkit-input-placeholder,
:-ms-input-placeholder,
::-moz-placeholder,
:-moz-placeholder,
::placeholder {
	color: var(--fg-color);
	opacity: 0.5;
}


/* Layout
================================ */

.clear {
	clear: both;
}

.left {
	float: left;
}

.right {
	float: right;
}

.center {
	margin-left: auto;
	margin-right: auto;
}

.nomargin {
    margin: 0;
}

.flex-center {
	display: flex;
	align-items: center;
}

@media (max-width: 850px) {
	.stack-top {
		order: -1;
	}
}

.grid-lg:not(.wp-block-group),
.wp-block-group.grid-lg > div,
.grid-md:not(.wp-block-group),
.wp-block-group.grid-md > div,
.grid-sm:not(.wp-block-group),
.wp-block-group.grid-sm > div {
	display: grid;
	grid-gap: 2rem;
	margin-bottom: 2rem;
}

@media (min-width: 460px) {
	.grid-lg:not(.wp-block-group),
	.wp-block-group.grid-lg > div {
		grid-template-columns: repeat(auto-fit, minmax(410px, 1fr));
	}
}

@media (min-width: 350px) {
	.grid-md:not(.wp-block-group),
	.wp-block-group.grid-md > div {
		grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	}
}

@media (min-width: 250px) {
	.grid-sm:not(.wp-block-group),
	.wp-block-group.grid-sm > div {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	}
}

.row-span-2 {
	grid-row: span 2;
}

.row-span-3 {
	grid-row: span 3;
}

.col-span-2 {
	grid-column: span 2;
}

.col-span-3 {
	grid-column: span 3;
}

.auto-columns {
    column-width: 14em;
    column-gap: 2rem;
}


/* Content
================================ */

hr,
hr.wp-block-separator {
	box-sizing: border-box;
	margin: 2em auto;
	width: 80%;
	max-width: 40rem !important;
	height: var(--line-width);
	background: var(--primary-color);
	border: 0;
}

.wp-block-table {
	margin-bottom: 1.5em;
}

#header {
	margin: 0;
	padding: 0 var(--main-padding);
	color: var(--bg-color);
	background-color: var(--dark-grey);
	background-image: url(images/bg-web-min.svg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.wrap {
	max-width: 1200px;
	margin: 0 auto;
}

#logo {
	display: block;
	width: 80%;
	max-width: 40rem;
	margin: 0 auto;
	padding: 3vw 0;
	clear: both;
}

.logo-text {
	fill: var(--bg-color);
	text-transform: uppercase;
}

.logo-photricity {
	font-weight: var(--bold);
}

.logo-brackets {
	fill: var(--bg-color)
}

#logo:hover .logo-bolt {
	animation: lightning 1s;
}

@keyframes lightning {
	from { fill: var(--primary-color); }
	10%  { fill: var(--bg-color); }
	20%  { fill: var(--primary-color); }
	30%  { fill: var(--bg-color); }
	to   { fill: var(--primary-color); }
}

.cta {
	margin-bottom: 5vw;
}

.cta h2 {
	display: block;
	text-transform: none;
	letter-spacing: 0;
	font-size: 1.4em;
	font-weight: var(--normal);
	margin-bottom: 1em;
}

.cta h2:after {
	display: none;
}

@media (max-width: 440px) {
	#logo {
		width: 100%;
	}

	.cta h2 {
		font-size: 1.2em;
	}
}

#social {
	display: table;
	float: right;
	margin-top: 1.6rem;
}

#social .social {
	display: inline-block;
	position: relative;
	width: 1.7rem;
	height: 1.7rem;
	margin-left: 1.3rem;
}

.social-facebook path,
.social-x path {
	transition: fill var(--duration) ease;
}

.social-facebook:hover path,
.social-facebook:focus path,
.social-x:hover path,
.social-x:focus path {
	fill: var(--primary-color);
}

.social-search .search-submit {
	display: none;
}

.social-search .search-field {
	position: absolute;
	top: -0.45rem;
	right: 0;
	z-index: 9;
	width: 0;
	padding: 0.65rem 1.8rem !important;
	background-color: transparent;
	background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2018.6%2018.6%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%3E%3Ccircle%20cx%3D%226.5%22%20cy%3D%226.4%22%20r%3D%225.4%22%2F%3E%3Cpath%20d%3D%22M12.7%2012.6l-2.3-2.3%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20stroke-width%3D%224%22%20d%3D%22M13.3%2013.2l3.1%203.1%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
	background-repeat: no-repeat;
	background-position: 90% center;
	background-size: 1.7rem;
	transition: all var(--duration) ease-in-out;
}

.social-search .search-field:hover,
.social-search .search-field:focus {
	width: 11em;
	background-color: var(--light-grey);
}

.decor {
	display: block;
	margin: 0 !important;
	padding: 0 !important;
	position: relative;
	z-index: 0 !important;
}

#header .decor {
	bottom: -0.05rem;
}

#footer .decor {
	position: absolute !important;
	top: -0.1rem !important;
	height: 8.2vw;
}

#main {
	margin: 0;
	padding: 2rem var(--main-padding);
}

#footer {
	position: relative;
	padding-top: 2vw;
	background: var(--light-grey);
	line-height: 0;
	overflow: hidden;
}

.circuit {
	width: 100%;
}

@media (min-width: 850px) {
	.circuit {
		width: 50%;
		float: left;
	}
}

.circuit-text {
	font-family: 'Courier New', monospace;
	font-size: 7px;
	font-weight: bold;
	text-shadow: 0.15em 0.15em 0 #999;
	fill: var(--bg-color);
}

.blink {
	animation: blink 8s linear 4s infinite;
}

@keyframes blink {
	from { fill: var(--light-grey); stroke: var(--extra-light-grey); }
	1%   { fill: var(--primary-color); stroke: var(--primary-color); }
	3%   { fill: var(--light-grey); stroke: var(--extra-light-grey); }
	to   { fill: var(--light-grey); stroke: var(--extra-light-grey); }
}

.double-blink {
	animation: double-blink 10s linear 3s infinite;
}

@keyframes double-blink {
	from { fill: var(--light-grey); stroke: var(--extra-light-grey); }
	1%   { fill: var(--primary-color); stroke: var(--primary-color); }
	3%   { fill: var(--light-grey); stroke: var(--extra-light-grey); }
	4%   { fill: var(--primary-color); stroke: var(--primary-color); }
	6%   { fill: var(--light-grey); stroke: var(--extra-light-grey); }
	to   { fill: var(--light-grey); stroke: var(--extra-light-grey); }
}

.slow-blink {
	animation: slow-blink 14s linear 2s infinite;
}

@keyframes slow-blink {
	from { fill: var(--light-grey); stroke: var(--extra-light-grey); }
	2%   { fill: var(--primary-color); stroke: var(--primary-color); }
	6%   { fill: var(--light-grey); stroke: var(--extra-light-grey); }
	to   { fill: var(--light-grey); stroke: var(--extra-light-grey); }
}

.hero {
	position: relative;
	left: calc(50% - 50vw);
	width: 100vw;
	margin: 3rem 0;
	padding: 12vw var(--main-padding);
	box-sizing: border-box;
	overflow: hidden;
	color: var(--bg-color);
	background-color: var(--dark-grey);
	background-image: url(images/bg-code-min.svg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
  
}

.hero:before {
	content: url('images/decor-footer.svg');
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	line-height: 0;
}

.hero:after {
	content: url('images/decor-header.svg');
	position: absolute;
	bottom: -0.05rem;
	left: 0;
	width: 100%;
	line-height: 0;
}

.fade-in {
	position: relative;
	animation: fade-in 1.5s ease;
}

@keyframes fade-in {
	from { opacity: 0; top: 1em; }
	10%  { opacity: 0; top: 1em; }
	to   { opacity: 1; top: 0; }
}

.feature-icon {
	display: block;
	max-width: 6em;
	margin: 0 auto -1em;
}

.tag-cloud {
	max-width: 35em;
	margin: 0 auto 2em;
	line-height: 1.3;
	text-align: center;
	max-width: 35em;
}

.a2a_kit {
	margin-bottom: 1em;
}

.a2a_svg {
	margin-right: 0.3rem;
	border-radius: 0 !important;
	background-color: var(--primary-color) !important;
	-webkit-clip-path: polygon(15% 0%, 100% 0%, 100% 70%, 85% 100%, 0% 100%, 0% 30%);
	clip-path: polygon(15% 0%, 100% 0%, 100% 70%, 85% 100%, 0% 100%, 0% 30%);
}

.wp-block-latest-posts__featured-image img {
	max-width: 100% !important;
}

.entry ul.wp-block-latest-posts li {
	margin-bottom: 1em;
}

.wp-block-latest-posts.is-grid {
	justify-content: space-between;
}



/* Posts
================================ */

.sticky .title:before {
	content: '\00bb';
	position: relative;
	top: -0.1em;
	margin-right: 0.3em;
	color: var(--primary-color);
}

.sticky .entry-date {
	display: none;
}

.posts-list article.entry {
	margin-bottom: 3rem;
	clear: both;
}

.posts-list article.entry:last-of-type {
	margin-bottom: 0;
}

.pagination {
	margin: 1em 0;
}

.posts-list article.entry:not(:first-of-type):before,
#comments:before {
	content: url('images/decor-footer.svg');
	position: relative;
	left: calc(50% - 50vw);
	display: block;
	width: 100vw;
	max-width: 100vw;
	margin-bottom: 2rem;
	filter: saturate(0);
	opacity: 0.3;
}

body.search .posts-list article.entry:before {
	display: none;
}

body.search .posts-list article.entry {
	overflow: hidden;
}

.entry-info {
	font-size: 80%;
	color: var(--med-grey);
	text-transform: uppercase;
}

.subtitle {
	text-align: center;
}


/* Comments
================================ */

#comments,
#respond {
	margin-top: 5rem;
}

.comment {
	margin-top: 3rem;
}

.comment p:last-of-type {
	margin-bottom: 0;
}

.reply {
	clear: both;
}

.comment-respond {
	margin-top: 2rem;
}

.comment-metadata {
	font-size: 80%;
}

.bypostauthor .fn:before {
	content: '\00bb';
	position: relative;
	top: -0.1em;
	margin-right: 0.3em;
	color: var(--primary-light-color);
}

img.avatar {
	margin-right: 0.5em;
	vertical-align: middle;
}


/* Media
================================ */

embed,
iframe,
object {
	max-width: 100%;
}

audio,
video {
	display: inline-block;
}

img {
	position: relative;
	max-width: 100%;
	height: auto;
	border-style: none;
}

.wp-block-embed,
.wp-block-audio {
	max-width: 1000px;
}

.wp-block-cover {
	color: var(--bg-color);
}

.wp-block-image figure,
figure.wp-block-image {
	display: table;
}

.alignleft,
.alignright,
.size-thumbnail,
.attachment-post-thumbnail {
	max-width: 48%;
}

.alignleft {
	float: left;
	margin-right: 1rem;
}

.alignright,
.attachment-post-thumbnail {
	float: right;
	margin-left: 1rem;
}

.aligncenter {
	clear: both;
	margin: 0 auto;
}

.alignnone {
	margin: 0;
}

.alignwide {
	box-sizing: border-box;
	position: relative;
	left: calc(50% - 50vw);
	width: calc(100vw - var(--main-padding) - var(--main-padding));
	max-width: calc(100vw - var(--main-padding));
	margin: 2rem var(--main-padding);
}

.alignfull {
	box-sizing: border-box;
	position: relative;
	left: calc(50% - 50vw);
	width: 100vw;
	max-width: 100vw;
	margin: 2rem 0;
}

.wp-block-media-text {
	grid-gap: 2rem;
}

.wp-block-media-text .wp-block-media-text__content {
	padding: 0;
}

.wp-caption {
	max-width: 100%;
	margin-bottom: 1rem;
}

.wp-caption-text {
	padding: 0.5rem;
	font-size: 0.8em;
	line-height: 1.4;
	text-align: center;
}

figcaption {
	box-sizing: border-box;
}

.gallery-caption {
	display: block;
	margin: 0;
	padding: 0.5rem;
	font-size: 0.8em;
	line-height: 1.4;
}

ul.wp-block-gallery,
ul.blocks-gallery-grid {
	margin: 0;
	padding: 0;
}

li.blocks-gallery-item:before {
	content: '' !important;
}

.search .attachment-post-thumbnail {
	float: left;
	max-width: 20rem;
	margin: 0 1rem 0.5rem 0;
	
}

@media (max-width: 750px) {
	.alignleft:not(.size-thumbnail),
	.alignright:not(.size-thumbnail),
	.attachment-post-thumbnail {
		float: none;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
}


/* Editor colors
================================ */

.has-photricity-orange-color {
	color: var(--primary-color);
}

.has-photricity-orange-background-color {
	background-color: var(--primary-color);
}

.has-photricity-orange-dark-color {
	color: var(--primary-dark-color);
}

.has-photricity-orange-dark-background-color {
	background-color: var(--primary-dark-color);
}

.has-dark-grey-color {
	color: var(--dark-grey);
}

.has-dark-grey-background-color {
	background-color: var(--dark-grey);
}

.has-med-grey-color {
	color: var(--med-grey);
}

.has-med-grey-background-color {
	background-color: var(--med-grey);
}

.has-light-grey-color {
	color: var(--light-grey);
}

.has-light-grey-background-color {
	background-color: var(--light-grey);
}

.has-extra-light-grey-color {
	color: var(--light-grey);
}

.has-extra-light-grey-background-color {
	background-color: var(--light-grey);
}


/* Dark Mode
================================ */
/*@media (prefers-color-scheme: dark) {*/
/*	@media (max-width: 930px){*/
/*		#main-menu {*/
/*			background: var(--dark-grey);*/
/*		}*/
/*	}*/

/*	.circuit-bg {*/
/*		fill: var(--dark-grey);*/
/*	}*/
/*}*/

/* Print
================================ */

@media print {
	.menu,
	.open-menu,
	.close-menu,
	.nav-links,
	.post-nav-links,
	#respond,
	.post-edit-link,
	.search-form,
	.reply,
	#social {
		display: none;
	}

	.wrap,
	#main,
	#footer,
	#header {
		margin: 0;
		padding: 0;
	}

	a,
	blockquote,
	img,
	.wp-block-cover,
	.wp-block-pullquote,
	iframe {
		page-break-inside: avoid;
	}

	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		page-break-after: avoid;
		page-break-inside: avoid;
	}

	.wp-block-cover {
		min-height: 0;
	}

	#logo {
		padding: 0;
		max-width: 23rem;
	}

	.logo-text,
	.logo-brackets {
		fill: var(--fg-color);
	}
}