/*
Theme Name: Arix
Theme URI: https://photricity.com/wordpress-themes/arix/
Author: Josh Meyer
Author URI: https://photricity.com
Description: Arix is a simple and beautiful WordPress theme with a customizable background image that is lightened in the header and darkened in the footer. Arix has a mobile-friendly design with a responsive layout, and supports a custom logo, single-level submenus and widgetized sidebar and footer area. If you're looking to add a light, fresh, and modern touch to your website or blog, Arix is for you.
Version: 1.2.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-menu, featured-images, sticky-post, editor-style, two-columns, right-sidebar, custom-background, custom-logo, footer-widgets, threaded-comments, blog
Text Domain: arix
*/


/**
 * General
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
	display: block;
}

body {
	margin: 0;
	font: 300 1.3em/1.7 Dosis, "Arial Narrow", sans-serif;
	color: #777;
	word-wrap: break-word;
}

body:before {
	content: "";
	position: fixed;
	z-index: -1;
	width: 100%;
	height: 100%;
	background-image: inherit;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

#header {
	overflow: hidden;
	color: #555;
	background: rgba(255, 255, 255, 0.45);
}

#header a {
	color: #555;
}

#header a:hover,
#header a:focus {
	color: #eb5b04;
}

#header a.skip-link {
	color: #fff;
}

#header:after,
#footer:before {
	content: "";
	display: block;
	overflow: hidden;
	width: 100%;
	height: 0;
	padding-bottom: 2.2%;
}

#header:after {
	margin-top: 1em;
	margin-bottom: -0.06em;
	background: url(images/header-decor.svg) no-repeat center bottom;
	background-size: cover;
}

#footer:before {
	margin-top: -0.06em;
	margin-bottom: 1em;
	background: url(images/footer-decor.svg) no-repeat center top;
	background-size: cover;
}

.wrap {
	overflow: hidden;
	padding: 4em 5% 3em 5%;
	background: #fff;
}

#content {
	overflow: hidden;
}

footer {
	clear: both;
}

#footer {
	overflow: hidden;
	padding-bottom: 3em;
	color: #fff;
	background: rgba(0, 0, 0, 0.45);
}

.margin {
	margin: 0 5%;
}


/**
 * Typography
 */

h1,
h2 {
	margin: 0;
	font-size: 2em;
	font-weight: 300;
	line-height: 1.3;
}

h3,
h4,
h5,
h6 {
	margin: 0;
	font-weight: 300;
}

h3 {
	font-size: 1.5em;
}

h4 {
	font-size: 1em;
}

h5,
h6 {
	font-size: 0.83em;
	text-transform: uppercase;
	font-weight: 500;
}

p {
	margin: 0 0 1em 0;
}

b,
strong {
	font-weight: 500;
}

em,
i {
	font-style: italic;
}

blockquote,
.wp-block-quote {
	margin: 0 0 1em 0;
	padding-left: 1em;
	border-left: 2px solid #f7941e;
}

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

.wp-block-pullquote {
	box-sizing: border-box;
	border: 2px solid #f7941e;
	border-right-width: 0;
	border-left-width: 0;
	color: #f7941e;
}

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

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

.wp-block-pullquote.is-style-solid-color {
	color: #fff;
	background-color: #f7941e;
}

abbr[title],
acronym[title] {
	border-bottom: 1px dotted;
}

del {
	text-decoration: line-through;
}

dfn {
	font-style: italic;
}

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

big,
.big,
.is-style-large {
	font-size: 120%;
}

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

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

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

pre {
	overflow: auto;
}

.center {
	text-align: center;
}

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

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

article.post ul,
article.page ul,
article.post ol,
article.page ol {
	margin-bottom: 1em;
}

article.post ul li,
article.page ul li {
	margin-left: 1.2em;
	list-style: disc outside none;
}

article.post .post-content > ul,
article.page .post-content > ul {
	margin-bottom: 1em;
}

article.post ul ul li,
article.page ul ul li {
	list-style: circle outside none;
}

article.post ol ul li,
article.page ol ul li {
	list-style: disc outside none;
}

article.post ol li,
article.page ol li,
article.post ol ol ol li,
article.page ol ol ol li {
	margin-left: 1.4em;
	list-style: decimal outside none;
}

article.post .post-content > ol,
article.page .post-content > ol {
	margin-bottom: 1em;
}

article.post ol ol li,
article.page ol ol li {
	list-style: lower-alpha outside none;
}

::selection {
	background: #f7941e;
	color: #fff;
}


/**
 * Links
 */

a {
	color: #f7941e;
	text-decoration: none;
	-webkit-transition: color 0.2s ease-in-out;
	-o-transition: color 0.2s ease-in-out;
	transition: color 0.2s ease-in-out;
}

a:hover,
a:active,
a:focus {
	color: #eb5b04;
	outline: 0;
	text-decoration: none;
}

.skip-link {
	position: absolute;
	top: 5px;
	left: -9999rem;
}

.skip-link:focus {
	left: 5px;
}


/**
 * Posts
 */

article.post,
article.page,
article.attachment {
	margin-bottom: 2em;
}

article.post:after,
article.page:after {
	content: '';
	display: block;
	clear: both;
}

.post-info {
	margin-top: 0.2em;
	font-size: 0.8em;
	line-height: 1.3;
}

.post-date {
	background: url(images/icon-date.svg) no-repeat left center;
}

.post-author {
	background: url(images/icon-author.svg) no-repeat left center;
}

.post-author {
	background: url(images/icon-author.svg) no-repeat left center;
}

.post-categories {
	background: url(images/icon-categories.svg) no-repeat left center;
}

.post-comments {
	background: url(images/icon-comments.svg) no-repeat left center;
}

.post-date,
.post-author,
.post-categories,
.post-comments {
	margin-right: 0.4em;
	padding-left: 1.1em;
	background-size: 1em 1em;
}

span.post-comments {
	display: none;
}

.pagination {
	overflow: hidden;
	padding: 1em 0;
	font-weight: 500;
}

.page-numbers li {
	float: left;
	display: inline-block;
	padding: 0.3em;
	text-align: center;
}

.page-numbers {
	padding: 0 0.4em;
}

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

#sidebar .widget {
	margin-bottom: 1.5em;
}


/**
 * Comments
 */

.comment-metadata {
	font-size: 0.8em;
	text-transform: uppercase;
}

.commentlist {
	margin-bottom: 2em;
}

.bypostauthor .comment-body {
	padding: 0.5em;
	border-radius: 0.3em;
	background: #f1f3f3;
}

.bypostauthor .comment-content {
	font-weight: 500;
}

#comments .comment-notes {
	display: none;
}

.comment-navigation {
	margin-bottom: 2em;
}

.vcard .avatar {
	float: left;
	margin: 0.2em 0.8em 0 0;
}

b.fn {
	float: left;
	margin-right: 0.3em;
}

.comment-content {
	clear: both;
	margin-top: 0.4em;
}

.comment .depth-2,
.comment .depth-3,
.comment .depth-4,
.comment .depth-5 {
	margin-left: 1em;
}

.comment-body {
	margin-bottom: 1.7em;
}

.comment-body .reply {
	margin-top: -0.7em;
}

.comment-reply-link {
	font-size: 0.7em;
}

.pingback .comment-body {
	margin-bottom: 0.8em;
}

.comment-navigation,
.no-comments {
	font-weight: 500;
}

.comment-edit-link,
.post-info .post-edit-link {
	margin-left: 0.4em;
}

.comment-body {
	margin-bottom: 2em;
}

.comment-meta {
	line-height: 1.3;
}


/**
 * Images
 */

img {
	max-width: 100%;
	height: auto;
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

.size-thumbnail {
	max-width: 45%;
}

.alignnone {
	max-width: 100%;
	margin: 0.2em 0.8em 0.8em 0;
}

.aligncenter {
	max-width: 100%;
	margin: 0.2em auto;
}

.alignright,
.attachment-post-thumbnail {
	float: right;
	max-width: 48%;
	margin: 0.2em 0 0.8em 0.8em;
}

.alignleft {
	float: left;
	max-width: 48%;
	margin: 0.2em 0.8em 0.8em 0;
}

a img .alignright {
	float: right;
	margin: 0.2em 0 0.8em 0.8em;
}

a img .alignnone {
	margin: 0.2em 0.8em 0.8em 0;
}

a img .alignleft {
	float: left;
	margin: 0.2em 0.8em 0.8em 0;
}

a img .aligncenter {
	display: block;
	margin: 0 auto;
}

.wp-caption {
	padding: 0.2em 0 0.4em;
	text-align: center;
	font-size: 80%;
}

.wp-caption .alignnone {
	margin: 0.2em 0.8em 0.8em 0;
}

.wp-caption .alignleft {
	margin: 0.2em 0.8em 0.8em 0;
}

.wp-caption .alignright {
	margin: 0.2em 0 0.8em 0.8em;
}

.wp-caption img {
	max-width: 98.5%;
	margin: 0;
	padding: 0;
}

.wp-caption .wp-caption-text {
	margin: 0;
	padding: 0 0.1em 0.2em;
}

.gallery-caption {
	text-align: center;
}

figcaption {
	box-sizing: border-box;
}

@media (max-width: 740px) {
	.alignleft,
	.alignright,
	a img .alignleft,
	a img .alignright,
	.attachment-post-thumbnail {
		float: none;
		display: block;
		max-width: 100%;
		margin: 0.2em 0 0.4em 0;
	}

	.alignnone {
		margin: 0 0.4em 0.4em 0;
	}
}


/**
 * Layout
 */

.one-third,
#sidebar {
	width: 31.33%;
	float: left;
	margin-right: 2%;
	margin-bottom: 1.5em;
}

.one-half {
	width: 48%;
	float: left;
	margin-right: 2%;
	margin-bottom: 1.5em;
}

.two-thirds,
#content {
	width: 64.66%;
	float: left;
	margin-right: 2%;
	margin-bottom: 1.5em;
}

.one-fourth {
	width: 23%;
	float: left;
	margin-right: 2%;
	margin-bottom: 1.5em;
}

.left {
	float: left;
}

.right {
	float: right;
}

.clear {
	clear: both;
}

@media (max-width: 950px) {
	.one-third,
	.one-half,
	.two-thirds,
	.one-fourth {
		width: 100%;
		float: none;
		clear: both;
		margin-right: 0;
	}

	body {
		font-size: 1.2em;
	}

	.comment-meta {
		line-height: 1.4;
	}
}

@media (max-width: 650px) {
	#content,
	#sidebar {
		width: 100%;
		float: none;
		clear: both;
		margin-right: 0;
	}

	body {
		font-size: 1.1em;
	}
}


/**
 * Tables
 */

table {
	width: 100%;
	margin-bottom: 1.5em;
	border-collapse: collapse;
	border-spacing: 0;
	border: 0;
}

table th,
table td {
	padding: 0 0.4em;
	vertical-align: top;
	text-align: left;
	border: 0;
}

table th {
	font-weight: bold;
	background: #bfbbbb;
	color: #fff;
}

table:not(.is-style-stripes) tr:nth-child(odd) {
    background: #fefbfb;
}

table:not(.is-style-stripes) tr:nth-child(even) {
    background: #f5f2f2;
}

#wp-calendar th,
#wp-calendar td {
	text-align: center;
}


/**
 * Misc
 */

embed,
iframe,
object,
video,
.wp-block-embed {
	width: 100%;
	max-width: 1000px;
	margin-bottom: 1.5em;
}

p > embed,
p > iframe,
p > object,
span > embed,
span > iframe,
span > object {
	margin-bottom: 0;
}

figure {
	margin-left: 0;
	margin-right: 0;
}

[hidden],
template {
	display: none;
}

hr,
.wp-block-separator {
	box-sizing: border-box;
	margin: 2em auto 2em;
	width: 100%;
	max-width: 30rem !important;
	height: 0;
	overflow: visible;
	border: 2px solid #f7941e;
	border-width: 0 0 2px;
}

.is-style-wide {
	width: 100%;
	max-width: 100% !important;
}

.tag-cloud {
	line-height: 1.5;
}

.recent-comments p {
	font-size: 80%;
	line-height: 1.2;
}

.copyright {
	clear: both;
	width: 100%;
	margin-top: 2em;
	text-align: center;
	font-size: 80%;
}

.footer-widgets {
	display: -ms-flexbox;
	display: -webkit-box;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}


/**
 * Navigation
 */

#nav {
	overflow: hidden;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	margin-bottom: 0.5em;
	padding: 0.8em 5% 0.8em 5%;
	min-height: 3em;
}

.custom-logo-link {
	position: relative;
	float: left;
	display: block;
	width: 17em;
	max-width: 75%;
	max-height: 360px;
	margin-right: 1.5em;
}

#nav > div {
	width: 100%;
}

.menu li a {
	display: block;
	padding: 0 0.4em 0.2em 0;
	margin: 0.1em 0.7em 0.1em 0;
	font-size: 1.2em;
	font-weight: 500;
	line-height: 1.25;
}

.mobile-nav {
	display: none;
}

@media (min-width: 1050px) {
	.menu li {
		float: left;
	}

	.menu > li > ul {
		position: absolute;
		z-index: 100;
		display: none;
		padding: 0.3em;
		background: rgba(50, 50, 50, 0.85);
		border-radius: 0.4em;
	}

	.menu .menu-item-has-children:hover > ul,
	.menu .menu-item-has-children:focus-within > ul {
		display: block;
	}

	.menu li ul {
		padding: 0 0.4em;
	}

	.menu li ul li {
		float: none;
	}

	#header li ul a {
		margin: 0;
		padding: 0.2em;
		color: #fff;
	}

	.menu ul a:hover,
	.menu ul a:focus {
		color: #f7941e !important;
	}
}

@media (max-width: 1049px) {
	.menu {
		position: absolute;
		top: 0;
		left: 0;
		bottom: 0;
		z-index: 980;
		display: none;
		width: 90%;
		padding: 3em 5% 1.5em 5%;
		margin: 0;
		background: rgba(50, 50, 50, 0.85);
		overflow-y: scroll;
		overflow-x: hidden;
	}

	.mobile-nav {
		position: relative;
		z-index: 990;
		float: right;
		width: 2em;
		height: 2em;
		-webkit-transition: fill 0.2s ease-in-out;
		-o-transition: fill 0.2s ease-in-out;
		transition: fill 0.2s ease-in-out;
	}

	.mobile-nav.open {
		fill: #555;
	}

	.mobile-nav.close {
		fill: #fff;
	}

	.mobile-nav:hover {
		fill: #f7941e;
	}

	#nav:not(:target) .open,
	#nav:target .close {
		display: block;
	}
	
	#nav:target .menu {
		display: block;
	}
	
	.menu li a {
		clear: both;
		padding: 0;
		margin: 0.4em 0 0.4em 0;
		width: 100%;
		color: #fff !important;
	}

	.menu li a:hover {
		color: #f7941e !important;
	}

	.menu li ul {
		padding-left: 0.5em;
	}
}


/**
 * Forms
 */

button,
input,
optgroup,
select,
textarea {
	margin: 0 0 0.2em 0;
	font: inherit;
}

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

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	padding: 0;
	border: 0;
}

input {
	line-height: normal;
}

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

input[type="search"] {
	-webkit-appearance: textfield;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

textarea {
	overflow: auto;
}

input,
textarea {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	max-width: 100%;
	padding: 0.2em 0.7em;
	color: #777;
	background: #fff;
	border-radius: 1.3em;
	border: 1px solid #777;
	border-width: 1px 2px 2px 1px;
	-webkit-transition: background-color 0.2s ease-in-out;
	-o-transition: background-color 0.2s ease-in-out;
	transition: background-color 0.2s ease-in-out;
}

input:focus,
textarea:focus {
	outline: 0;
	border-color: #f7941e;
}

.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.wp-block-button__link,
.wp-block-file__button,
.more-link,
.comment-reply-link,
.comment-navigation a,
.post-edit-link {
	position: relative;
	padding: 0.3em 2.7em 0.4em 2em;
	background: #f7941e url(images/right-arrow.svg) no-repeat right 1.2em center !important;
	background-size: 0.6em !important;
	background-color: #f7941e !important;
	color: #fff;
	border: 0;
	border-radius: 1.3em;
	-webkit-transition: background-color 0.2s ease-in-out;
	-o-transition: background-color 0.2s ease-in-out;
	transition: background-color 0.2s ease-in-out;
	box-shadow: 0.05em 0.1em 0 #777 !important;
}

.button:hover,
.button:focus,
button:hover,
button:focus,
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,
.comment-reply-link:hover,
.comment-navigation a:hover,
.post-edit-link:hover {
	background-color: #eb5b04 !important;
	color: #fff;
	cursor: pointer;
}

.wp-block-file__button,
.comment-reply-link,
.post-edit-link {
	padding: 0.3rem 1rem !important;
	background-image: none !important;
	font-size: 80%;
}

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

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

input[type="submit"]:disabled {
	background: #ddd !important;
	cursor: not-allowed;
}

textarea {
	display: block;
	width: 25em;
	min-height: 5em;
	overflow: auto;
	border-radius: 0.5em;
}

input[type="image"] {
	width: auto;
	height: auto;
}

input[type="radio"],
input[type="checkbox"] {
	width: auto;
	height: auto;
	background: none;
}

input[type="file"] {
	border: 0;
}

.screen-reader-text,
.assistive-text,
.form-allowed-tags,
.search-submit {
	display: none;
}


/**
 * Print
 */

@media print {
	body,
	#header,
	#footer {
		background: none !important;
		color: #000;
	}

	body:before {
		background: none !important;
	}

	#sidebar,
	#header-decor,
	#footer-decor,
	#respond,
	.menu,
	.mobile-nav,
	.widget,
	.comment-reply-link {
		display: none !important;
	}

	#nav,
	#content,
	.wrap,
	.margin,
	.copyright {
		padding: 0 !important;
		margin: 0 !important;
	}
}
