/*!
Theme Name: Genius - A theme By Genio Inmobiliario
Theme URI: https://genioinmobiliario.com/
Author: Rodrigo Tejero & Juan 'Monty' Montoya
Author URI: https://genioinmobiliario.com/
Description: Genius is a simple real estate theme powered by Isotope. It has a clean, minimal design; supports a slider for featured posts; and has a filterable portfolio.
Version: 1.0.4
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: genius
Tags: one-column, two-columns, right-sidebar, accessibility-ready, custom-background, custom-menu, custom-header, featured-images, full-width-template, theme-options, threaded-comments, footer-widgets, grid-layout, blog, portfolio

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Genius is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Layout
	## Global
	## Header
	## Content
	## Footer
# Navigation
	## Links
	## Menus
	## Social
# Accessibility
# Alignments
# Widgets
# Content
		## Posts and pages
	## Portfolio
	## Featured
	## Comments
	## Author bio
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

:root {
	--brand-color: #BEAF87;
	--secondary-color: #414042;
}

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
@font-face { font-family: BarlowSemiCondensed-Regular; src: url(https://webcen.genioi.com/wp-content/themes/genius/fonts/BarlowSemiCondensed-Regular.ttf); font-weight: normal; }
@font-face { font-family: oakesregular; src: url(https://webcen.genioi.com/wp-content/themes/genius/fonts/Oakes-Regular.otf); font-weight: normal; }

.oakesregular{
	font-family: 'oakesregular';
}

.white {
	color: white;
}

.help-bar-menu-wrapper a {
	color: #414042!important;
	text-decoration: none;
}
#desktop-navigation .menu-item a {
	color: #beaf87!important;
}

html {
	font-family: 'BarlowSemiCondensed-Regular', 'Space Grotesk', sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	min-height: 100vh;
}

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

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

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

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

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

h2 {
	font-size: 1.8em;
	margin: 0.5em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

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

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

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

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

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

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

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

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 {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

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

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

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

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

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #202020;
	font-family: 'BarlowSemiCondensed-Regular', 'Space Grotesk', sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
	font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-family: 'BarlowSemiCondensed-Regular', 'Space Grotesk', sans-serif;
}

p {
	margin-bottom: 2em;
}

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

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code, kbd, tt, var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark, ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff;
	/* Fallback for when there is no custom background color defined. */
}

blockquote {
	quotes: "" "";
	margin: 0 0 1.5em 0;
	padding: 1.5em;
	color: #fff;
	background: var(--secondary-color);
	border-left: 4px solid var(--brand-color);
	border-radius: 0 4px 4px 0;
	font-style: italic;
}

blockquote:before, blockquote:after {
	content: "";
}

blockquote p {
	width: 100% !important;
	font-size: 20px;
	font-size: 1.25rem;
	font-size: 110%;
}

blockquote p:first-child {
	margin-top: 0;
}

blockquote p:last-child {
	margin-bottom: 0;
}

blockquote cite {
	display: block;
	margin-top: 6px;
	text-align: right;
	font-size: 14px;
	font-size: 0.875rem;
	font-style: italic;
	font-weight: bold;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul, ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}

@media screen and (min-width: 720px) {
	body {
		font-size: 17px;
		font-size: 1.0625rem;
	}
}

@media screen and (min-width: 940px) {
	body {
		font-size: 18px;
		font-size: 1.125rem;
	}
}

table {
	margin: 0 0 1.5em;
	width: 100%;
	max-width: 100%;
	border: 2px solid currentcolor;
	font-size: 16px;
	font-size: 1rem;
}

thead tr {
	color: white;
	background: var(--secondary-color);
}

thead tr th,
tbody tr th,
tbody tr td,
tfoot tr th,
tfoot tr td {
	border: 2px solid var(--secondary-color);
}

thead tr th {
	padding: 0.25rem;
}

tbody tr th,
tbody tr td,
tfoot tr th,
tfoot tr td {
	padding: 0.125rem 0.25rem;
}

/* Fix border for the dark footer. */
.widget thead tr th,
.widget tbody tr th,
.widget tbody tr td,
.widget tfoot tr th,
.widget tfoot tr td {
	border-color: currentcolor;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 2px solid;
	border-color: #161718;
	background: var(--secondary-color);
	color: #fff;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1;
	padding: .8em 1.2em .6em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	color: var(--brand-color);
	border-color: var(--brand-color);
}

button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	color: var(--brand-color);
	border-color: var(--brand-color);
}

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 {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}

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 {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

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"] {
	padding: 3px;
}

textarea {
	padding-left: 3px;
	width: 100%;
}

/* Default search. */
.search-form {
	position: relative;
	overflow: hidden;
	border: 1px solid #ccc;
	background: white;
}

.search-form label {
	display: block;
	width: 100%;
	padding: 15px 60px 15px 15px;
}

.search-form .search-field {
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 0;
	font-size: 1rem;
	color: #202020;
}

.search-form .search-field:focus {
	outline: none;
	color: #202020;
}

.search-form .search-submit {
	display: block;
	height: 100%;
	width: 56px;
	background: none;
	border: 0;
	border-radius: 0;
	border-left: 1px solid #ccc;
	color: #202020;
	text-align: center;
	position: absolute;
	top: 0;
	right: 0;
}

.search-form .search-submit .genericon {
	font-size: 24px;
	position: relative;
	top: -1px;
	left: -3px;
}

.search-form .search-submit:hover,
.search-form .search-submit:focus {
	cursor: pointer;
	color: var(--brand-color);
}

/* Primary search. */
#primary-search {
	padding: 2rem 0;
}

#primary-search .search-form {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	border-top: 2px solid white;
	border-bottom: 2px solid white;
}

#primary-search .search-form label {
	border: 0;
	background: transparent;
	padding-bottom: 0;
	padding-bottom: 1em;
	padding-left: 0;
}

#primary-search .search-form .search-field {
	color: #fff;
	font-size: 16px;
	font-size: 1rem;
	background: transparent;
}

#primary-search .search-form .search-submit {
	color: #fff;
	border: 0;
	padding: 0;
	width: 40px;
}

#primary-search .search-form .search-submit:hover, #primary-search .search-form .search-submit:focus {
	color: #fff;
}

#primary-search .search-form .search-submit .genericon {
	font-size: 16px;
	font-size: 1rem;
}

#primary-search .search-form .search-submit:hover .genericon,
#primary-search .search-form .search-submit:focus .genericon {
	color: var(--brand-color);
}

@media screen and (min-width: 940px) {
	/* Primary search. */
	#primary-search {
		padding: 2.5rem 0;
	}
	#primary-search .search-form {
		border: 0;
	}
	#primary-search .search-form .search-field {
		font-size: 24px;
		font-size: 2rem;
	}
	#primary-search .search-form .search-submit {
		width: 48px;
	}
	#primary-search .search-form .search-submit .genericon {
		font-size: 24px;
		font-size: 2rem;
	}
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Global
--------------------------------------------------------------*/

.site {

	flex: 1;
	display: flex;
	flex-direction: column;
}

.site-content {

	flex: 1;
}

.container,
.wp-block-group__inner-container,
.site-info,
#footer-widgets {

	width: 1140px;
	max-width: 90%;
	margin: 0 auto;
}

#hidden-header,
.site-header,
.site-footer,
#secondary .widget {
	color: #fff;
	background: var(--secondary-color);
}

/* Overlay. */
.overlay {

	background: transparent;
}

.overlay:focus, .overlay:hover, .overlay:active {

	background: rgba(0, 0, 0, 0.8);
}

/* Backgroundsize cover. */
#masthead,
.slider-cell,
.portfolio-wrapper article,
.featured-posts-wrapper article {

	background-size: cover !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
}

/* Transitions. */
a,
.post-navigation span,
.search-submit .genericon-search {

	transition: color 0.25s;
}

.more-link,
.post-navigation a,
.site-first-letter,
.site-icon,
.site-title,
.menu-toggle,
.flickity-prev-next-button {

	transition: background 0.25s;
}

input.submit,
.portfolio-title,
.overlay,
.reply a,
.widget a,
.tagcloud a,
.entry-meta a,
.tags-links a,
.entry-content a,
.post-categories a,
.comment-content a,
.main-navigation a,
.social-navigation a,
.author-description a,
.main-navigation a:after,
.tags-links a::before {
	transition: all 0.25s;
}

.post-thumbnail-link img {
	transition: opacity 0.25s;
}

/* Selection. */
::-moz-selection {
	color: white;
	background-color: var(--secondary-color);
}
::selection {
	color: white;
	background-color: var(--secondary-color);
}

/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/
.site-header {

	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-direction: row;
	padding: 0.5rem 1rem;
	padding-top: calc(30px + 0.5rem);
	z-index: 6;
}

.site-header .help-bar {

	background: var(--brand-color);
	position: absolute;
	left: 0;
	top: 0;
	min-height: 30px;
	width: 100%;
	display: flex;
	justify-content: flex-end;
	padding: 0 1rem;
}

.site-header .help-bar .help-bar-menu-wrapper ul {

	list-style-type: none;
	margin: 0;
}

.site-header .help-bar .help-bar-menu-wrapper ul li {

	font-size: 0.8rem;
	display: inline-block;
	margin-left: 1rem;
}

.site-header .help-bar .help-bar-menu-wrapper ul li a:hover {

	color: var(--secondary-color);
}

/* Site branding. */
.site-branding {

	display: flex;
	flex-direction: row;
	align-items: center;
}

.custom-logo-link {

	margin-right: 0.75em;
}

.site-title {

	margin: 0.1em 1.25em 1.25em 0;
}

.site-title {

	font-family: 'BarlowSemiCondensed-Regular', 'Space Grotesk', sans-serif;
	font-weight: bold;
	font-size: 28px;
	font-size: 1.75rem;
}

.site-title a,
.site-title a:visited {
	text-decoration: none;
	color: #202020;
}

.site-description {
	display: none;
}

@media screen and (min-width: 940px) {
	.site-title {
		margin-top: 1.25em;
	}
}

/*--------------------------------------------------------------
## Content
--------------------------------------------------------------*/
.has-sidebar #content {

	display: flex;
	justify-content: space-between;
	flex-direction: column;
}

.fp-excerpt,
.fp-content,
.portfolio-filter,
.featured-area,
.page-template-template-portfolio .portfolio-wrapper {
	margin: 2em 0;
}

@media screen and (min-width: 940px) {

	.has-sidebar #content {
		flex-direction: row;
	}

	.has-sidebar #primary {
		padding-right: 3%;
		width: 66.6666666667%;
		max-width: 760px;
	}

	.has-sidebar #secondary {
		padding-left: 3%;
		width: 33.3333333333%;
		max-width: 380px;
	}
}

/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/
.site-info {
	padding: 2em 0;
	text-align: center;
	font-size: 16px;
	font-size: 1rem;
}

/* Back to top. */
a.back-to-top:active,
a.back-to-top:focus {
	color: white;
}

.back-to-top {
	position: fixed;
	right: 1.0%;
	bottom: -7.5%;
	height: 15px;
	width: 40px;
	padding: 3px 5px;
	font-size: 10px;
	font-weight: bold;
	color: #505050;
	opacity: 0.5;
	z-index: 3;
	visibility: hidden;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	-webkit-transition: all 0.25s ease-in-out;
	transition: all 0.25s ease-in-out;
	background-color: #858585;
}

.back-to-top span {
	color: white;
	font-size: 24px;
}

.back-to-top:hover, .back-to-top:focus {
	opacity: 1;
	text-decoration: none;
}

.back-to-top:focus {
	outline: white;
}

.back-to-top::before {
	content: '';
	position: absolute;
	left: 0px;
	top: -20px;
	width: 0;
	height: 0;
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-bottom: 20px solid #858585;
	z-index: 4;
}

.back-to-top::after {
	content: '';
	position: absolute;
	left: 0px;
	bottom: 0;
	width: 0;
	height: 0;
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-bottom: 20px solid #505050;
	z-index: 5;
}

.back-to-top:hover,
.back-to-top:focus {
	height: 40px;
	color: #fff;
}

.show-back-to-top {
	display: block;
	bottom: 1.25%;
	visibility: visible;
}

#footer-widgets {
	border-bottom: 2px solid rgba(255, 255, 255, 0.4);
}

@media screen and (min-width: 940px) {
	#footer-widgets {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}
	#footer-widgets .widget {
		width: 30%;
	}
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/* Posts navigation. */
.posts-navigation {
	margin-bottom: 2.5em;
	font-size: 90%;
}

.posts-navigation .nav-links {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.posts-navigation .nav-previous a,
.posts-navigation .nav-next a {
	display: inline-block;
	padding: 5px 12px 7px;
	text-decoration: none;
	background: var(--secondary-color);
}

.posts-navigation .nav-previous a:before {
	position: relative;
	top: 2px;
	content: '\f430';
	font-family: Genericons;
}

.posts-navigation .nav-next a:after {
	position: relative;
	top: 2px;
	content: '\f429';
	font-family: Genericons;
}

/* Post navigation. */
.post-navigation .nav-links {
	padding: 0 0 3em 0;
}

.post-navigation .nav-links div:nth-child(2) {
	margin-top: 3em;
}

.post-navigation .nav-next,
.post-navigation .nav-previous {
	min-height: 160px;
	background-size: cover !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-color: var(--secondary-color);
}

.post-navigation a {
	display: block;
	width: 100%;
	min-height: 160px;
	padding: 40px 20px;
	text-decoration: none;
	background: transparent;
}

.post-navigation a:hover,
.post-navigation a:focus {
	background: rgba(0, 0, 0, 0.8);
}

.post-navigation .meta-nav,
.post-navigation .post-title {
	display: block;
}

.post-navigation .meta-nav {
	margin-bottom: 0.5em;
	letter-spacing: 4px;
	font-size: 14px;
}

.post-navigation .post-title {
	font-size: 1.5em;
	font-weight: bold;
}

.post-navigation a:hover .meta-nav,
.post-navigation a:focus .meta-nav,
.post-navigation a:hover .post-title,
.post-navigation a:focus .post-title {
	color: var(--brand-color);
}

/* Portfolio pagination. */
.portfolio-pagination {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	margin: 2.5rem 0;
	padding: 0;
	font-size: 90%;
}

.portfolio-pagination .nav-previous a,
.portfolio-pagination .nav-next a {
	display: inline-block;
	padding: 5px 12px 7px;
	text-decoration: none;
	background: var(--secondary-color);
}

.portfolio-pagination .nav-next {
	margin-left: auto;
}

.portfolio-pagination .nav-previous a:before {
	position: relative;
	top: 2px;
	content: '\f430';
	font-family: Genericons;
}

.portfolio-pagination .nav-next a:after {
	position: relative;
	top: 2px;
	content: '\f429';
	font-family: Genericons;
}

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {

	color: #f1f2f3;
}

a:visited {

	color: inherit;
}

a:hover, a:focus, a:active {

	color: var(--brand-color);
}

a:focus {

	outline: thin dotted;
}

a:hover, a:active {

	outline: 0;
}

#secondary a,
#colophon a,
#hidden-header a,
.no-results .notice-box a {

	color: #f1f2f3;
}

#secondary a:visited,
#colophon a:visited,
#hidden-header a:visited,
.no-results .notice-box a:visited {

	color: #f1f2f3;
}

#secondary a:hover, #secondary a:focus, #secondary a:active,
#colophon a:hover,
#colophon a:focus,
#colophon a:active,
#hidden-header a:hover,
#hidden-header a:focus,
#hidden-header a:active,
.no-results .notice-box a:hover,
.no-results .notice-box a:focus,
.no-results .notice-box a:active {

	color: var(--brand-color);
	background: #f1f2f3;
}

#secondary a:focus,
#colophon a:focus,
#hidden-header a:focus,
.no-results .notice-box a:focus {

	outline: thin dotted;
}

#secondary a:hover, #secondary a:active,
#colophon a:hover,
#colophon a:active,
#hidden-header a:hover,
#hidden-header a:active,
.no-results .notice-box a:hover,
.no-results .notice-box a:active {

	outline: 0;
}

.front-page a {

	color: #202020;
}

.front-page a:visited {

	color: #202020;
}

.front-page a:hover, .front-page a:focus, .front-page a:active {

	color: var(--brand-color);
}

a.blog-url,
a.portfolio-url {

	color: #f1f2f3;
}

a.blog-url:visited,
a.portfolio-url:visited {

	color: #f1f2f3;
}

a.blog-url:hover, a.blog-url:focus, a.blog-url:active,
a.portfolio-url:hover,
a.portfolio-url:focus,
a.portfolio-url:active {

	color: var(--brand-color);
}

.entry-meta a,
.comment-meta a {

	text-decoration: none;
}

.entry-meta a,
.entry-content a,
.comment-meta a,
.comment-content a,
.logged-in-as a {

	color: var(--brand-color);
}

.entry-meta a:hover, .entry-meta a:focus, .entry-meta a:active,
.entry-content a:hover,
.entry-content a:focus,
.entry-content a:active,
.comment-meta a:hover,
.comment-meta a:focus,
.comment-meta a:active,
.comment-content a:hover,
.comment-content a:focus,
.comment-content a:active,
.logged-in-as a:hover,
.logged-in-as a:focus,
.logged-in-as a:active {

	background: rgba(0, 0, 0, 0.075);
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.primary-menu-wrapper .menu {

	margin: 0;
	padding: 0;
	font-size: 1rem;
}

.primary-menu-wrapper .menu-item {

	list-style: none;
}

.primary-menu-wrapper .menu-item a,
.primary-menu-wrapper .menu-item a:visited {

	display: block;
	padding: 5px;
	text-decoration: none;
}

.primary-menu-wrapper .menu-item a:hover,
.primary-menu-wrapper .menu-item a.focus {

	color: var(--brand-color);
}

/* Mobile navigation. */
#mobile-navigation {

	padding-top: 2em;
}

#mobile-navigation .menu-item a {

	padding: 0.5em;
}

#mobile-navigation .sub-menu .menu-item {

	text-transform: none;
}

/* Desktop navigation. */
#desktop-navigation .menu {

	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
}

#desktop-navigation .menu-item {

	position: relative;
	padding: 8px 0;
	text-align: center;
	z-index: 2;
}

#desktop-navigation .menu-item a {

	display: inline-block;
	padding: 4px 12px;
	color: white;
}

#desktop-navigation .menu-item a:hover,
#desktop-navigation .menu-item a:focus,
#desktop-navigation .menu-item a:active {

	color: white;
}

#desktop-navigation .menu-item a::after {

	content: "";
	display: table;
	position: relative;
	top: 0;
	width: 100%;
	height: 3px;
	opacity: 0;
	background: var(--brand-color);
}

#desktop-navigation .menu-item a:hover::after,
#desktop-navigation .menu-item a:focus::after {
	top: 0.25em;
	opacity: 1;
}

#desktop-navigation .menu-item:hover > ul.sub-menu,
#desktop-navigation .menu-item.focus > ul.sub-menu {

	left: 50%;
	height: auto;
	width: auto;
	opacity: 1;
	margin-top: 0;
	overflow: visible;
	-webkit-backface-visibility: hidden;
}

#desktop-navigation .menu-item-has-children a:hover::after,
#desktop-navigation .menu-item-has-children a:focus::after {

	top: 0;
	opacity: 0;
}

#desktop-navigation .sub-menu {

	position: absolute;
	top: auto;
	left: -9999px;
	height: 1px;
	width: 1px;
	padding-top: 24px;
	padding-left: 0;
	margin-left: -100px;
	opacity: 0;
	overflow: hidden;
	text-transform: none;
}

#desktop-navigation .sub-menu:after {

	/*content: "";
	display: block;
	position: absolute;
	border: 10px solid transparent;
	border-bottom: 10px solid var(--secondary-color);
	left: 50%;
	top: -10px;
	margin-left: -10px;*/
}

#desktop-navigation .sub-menu .menu-item {

	position: relative;
	padding: 0;
}

#desktop-navigation .sub-menu .menu-item-has-children::after {

	content: "";
	display: block;
	position: absolute;
	z-index: 30;
	top: 12px;
	left: 8px;
	right: auto;
	-webkit-transition: 0.25s;
	transition: 0.25s;
	margin-left: -10px;
	border: 8px solid transparent;
	border-right-color: #fff;
}

#desktop-navigation .sub-menu .menu-item-has-children:hover::after,
#desktop-navigation .sub-menu .menu-item-has-children:focus::after,
#desktop-navigation .sub-menu .menu-item-has-children:active::after,
#desktop-navigation .sub-menu .menu-item-has-children.focus::after {

	left: -5px;
	border-right-color: var(--secondary-color);
}

#desktop-navigation .sub-menu a {

	width: 200px;
	padding: 8px 0;
	border-radius: 0;
	color: #fff;
	background: var(--secondary-color);
}

#desktop-navigation .sub-menu a:hover,
#desktop-navigation .sub-menu a:focus,
#desktop-navigation .sub-menu a:active,
#desktop-navigation .sub-menu a.focus {

	color: rgba(255, 255, 255, 0.8);
}

#desktop-navigation .sub-menu a::after {

	display: none;
}

#desktop-navigation .sub-menu .menu-item:hover .sub-menu,
#desktop-navigation .sub-menu .menu-item.focus .sub-menu {

	position: absolute;
	top: 0;
	left: -53%;
	padding: 0;
}

#desktop-navigation ul.sub-menu {

	opacity: 0;
	transform: translate(0, -15%) scale(0.75);
	transition: opacity 0.25s ease-in-out, -webkit-transform 0.25s ease-in-out;
	transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out;
	transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out, -webkit-transform 0.25s ease-in-out;
}

#desktop-navigation li.menu-item:hover > ul.sub-menu,
#desktop-navigation li.menu-item.focus > ul.sub-menu {

	opacity: 1;
	transform: translate(0, 0) scale(1);
}

/* Menu toggle. */
.menu-toggle {

	display: block;
	position: absolute;
	top: 42px;
	right: 12px;
	z-index: 2;
	min-height: 54px;
	border-radius: 0;
	border: 3px solid white;
	font-size: 12px;
	font-size: 0.75rem;
}

.toggle-text {

	display: inline-block;
	margin-right: 8px;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	color: white;
}

.toggle-lines {

	display: inline-block;
	position: relative;
	top: -4px;
	right: 0;
	width: 24px;
	height: 3px;
	background: white;
	-webkit-transition: background 0s 0.3s;
	transition: background 0s 0.3s;
}

.toggle-lines::before,
.toggle-lines::after {

	position: absolute;
	display: block;
	width: 100%;
	height: 3px;
	background-color: white;
	content: "";
}

.toggle-lines::before {

	top: -8px;
	-webkit-transition: top 0.3s 0.3s, 0s, -webkit-transform 0.3s;
	transition: top 0.3s 0.3s, 0s, -webkit-transform 0.3s;
	transition: top 0.3s 0.3s, transform 0.3s, 0s;
	transition: top 0.3s 0.3s, transform 0.3s, 0s, -webkit-transform 0.3s;
}

.toggle-lines::after {

	bottom: -8px;
	-webkit-transition: bottom 0.3s 0.3s, 0s, -webkit-transform 0.3s;
	transition: bottom 0.3s 0.3s, 0s, -webkit-transform 0.3s;
	transition: bottom 0.3s 0.3s, transform 0.3s, 0s;
	transition: bottom 0.3s 0.3s, transform 0.3s, 0s, -webkit-transform 0.3s;
}

.menu-toggled .toggle-lines {
	background: none;
}

.menu-toggled .toggle-lines::before,
.menu-toggled .toggle-lines::after {

	transition-delay: 0s, 0.3s;
}

.menu-toggled .toggle-lines::before {

	top: 0;
	transform: rotate(45deg);
}

.menu-toggled .toggle-lines::after {

	bottom: 0;
	transform: rotate(-45deg);
}

.menu-toggle:hover,
.menu-toggle:focus,
.menu-toggled:hover,
.menu-toggled:focus {

	border-color: white;
}

/* Search toggle. */
#search-toggle a::before {

	content: '\f400';
	speak: none;
	display: inline-block;
	line-height: 18px;
	font-family: 'Genericons';
	font-weight: bold;
	font-size: 18px;
	transition: color 0.125s ease-in-out, -webkit-transform 0.125s;
	transition: transform 0.125s, color 0.125s ease-in-out;
	transition: transform 0.125s, color 0.125s ease-in-out, -webkit-transform 0.125s;
	vertical-align: middle;
	text-align: center;
	transform: translateY(-1px);
}

#search-toggle a::after,
#mobile-navigation #search-toggle {

	display: none !important;
}

/* Hide desktop navigation. */
#desktop-navigation {

	display: none;
}

@media screen and (min-width: 940px) {

	#mobile-navigation,
	.menu-toggle-container {

		display: none;
	}

	#desktop-navigation {

		display: block;
	}
}

/*--------------------------------------------------------------
## Social
--------------------------------------------------------------*/
.social-menu-wrapper {

	margin: 0 auto;
}

.social-menu-wrapper .menu {

	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
}

.social-menu-wrapper .menu-item {

	display: inline;
}

.social-menu-wrapper a {

	display: inline-block;
	width: 48px;
	height: 48px;
	color: white;
	text-decoration: none;
}

.social-menu-wrapper a::before {

	content: '\f475';
	speak: none;
	color: white;
	line-height: 24px;
	font-family: 'Genericons';
	font-weight: normal;
	font-size: 24px;
	transition: color 0.125s ease-in-out, -webkit-transform 0.125s;
	transition: transform 0.125s, color 0.125s ease-in-out;
	transition: transform 0.125s, color 0.125s ease-in-out, -webkit-transform 0.125s;
	vertical-align: middle;
	text-align: center;
	transform: translateY(3px);
}

.social-menu-wrapper a:hover,
.social-menu-wrapper a:focus {

	transform: scale(1.25);
}

/* Social icons. */
.social-menu-wrapper a[href*="wordpress.org"],
.social-menu-wrapper a[href*="wordpress.com"],
.social-menu-wrapper a[href*="michaelvandenberg.com"] {

	background: #464646;
}

.social-menu-wrapper a[href*="wordpress.org"]::before,
.social-menu-wrapper a[href*="wordpress.com"]::before,
.social-menu-wrapper a[href*="michaelvandenberg.com"]::before {

	content: '\f205';
}

.social-menu-wrapper a[href*="facebook.com"],
.social-menu-wrapper a[href*="facebook.com"] {

	background: #3b5998;
}

.social-menu-wrapper a[href*="facebook.com"]::before {

	content: '\f204';
}

.social-menu-wrapper a[href*="twitter.com"],
.social-menu-wrapper a[href*="twitter.com"] {

	background: #00aced;
}

.social-menu-wrapper a[href*="twitter.com"]::before {

	content: '\f202';
}

.social-menu-wrapper a[href*="dribbble.com"],
.social-menu-wrapper a[href*="dribbble.com"] {

	background: #ea4c89;
}

.social-menu-wrapper a[href*="dribbble.com"]::before {

	content: '\f201';
}

.social-menu-wrapper a[href*="plus.google.com"],
.social-menu-wrapper a[href*="plus.google.com"] {

	background: #dd4b39;
}

.social-menu-wrapper a[href*="plus.google.com"]::before {

	content: '\f206';
}

.social-menu-wrapper a[href*="pinterest.com"],
.social-menu-wrapper a[href*="pinterest.com"] {

	background: #cb2027;
}

.social-menu-wrapper a[href*="pinterest.com"]::before {

	content: '\f209';
}

.social-menu-wrapper a[href*="github.com"],
.social-menu-wrapper a[href*="github.com"] {

	background: #4078c0;
}

.social-menu-wrapper a[href*="github.com"]::before {

	content: '\f200';
}

.social-menu-wrapper a[href*="tumblr.com"],
.social-menu-wrapper a[href*="tumblr.com"] {

	background: #32506d;
}

.social-menu-wrapper a[href*="tumblr.com"]::before {

	content: '\f214';
}

.social-menu-wrapper a[href*="youtube.com"],
.social-menu-wrapper a[href*="youtube.com"] {

	background: #bb0000;
}

.social-menu-wrapper a[href*="youtube.com"]::before {

	content: '\f213';
}

.social-menu-wrapper a[href*="flickr.com"],
.social-menu-wrapper a[href*="flickr.com"] {

	background: #ff0084;
}

.social-menu-wrapper a[href*="flickr.com"]::before {

	content: '\f211';
}

.social-menu-wrapper a[href*="vimeo.com"],
.social-menu-wrapper a[href*="vimeo.com"] {

	background: #aad450;
}

.social-menu-wrapper a[href*="vimeo.com"]::before {

	content: '\f212';
}

.social-menu-wrapper a[href*="instagram.com"],
.social-menu-wrapper a[href*="instagram.com"] {

	background: #125688;
}

.social-menu-wrapper a[href*="instagram.com"]::before {

	content: '\f215';
}

.social-menu-wrapper a[href*="codepen.io"],
.social-menu-wrapper a[href*="codepen.io"] {

	background: #111111;
}

.social-menu-wrapper a[href*="codepen.io"]::before {

	content: '\f216';
}

.social-menu-wrapper a[href*="linkedin.com"],
.social-menu-wrapper a[href*="linkedin.com"] {

	background: #007bb5;
}

.social-menu-wrapper a[href*="linkedin.com"]::before {

	content: '\f208';
}

.social-menu-wrapper a[href*="foursquare.com"],
.social-menu-wrapper a[href*="foursquare.com"] {

	background: #0072b1;
}

.social-menu-wrapper a[href*="foursquare.com"]::before {

	content: '\f226';
}

.social-menu-wrapper a[href*="reddit.com"],
.social-menu-wrapper a[href*="reddit.com"] {

	background: #ff5700;
}

.social-menu-wrapper a[href*="reddit.com"]::before {

	content: '\f222';
}

.social-menu-wrapper a[href*="digg.com"],
.social-menu-wrapper a[href*="digg.com"] {

	background: #191919;
}

.social-menu-wrapper a[href*="digg.com"]::before {

	content: '\f221';
}

.social-menu-wrapper a[href*="stumbleupon.com"],
.social-menu-wrapper a[href*="stumbleupon.com"] {

	background: #f74425;
}

.social-menu-wrapper a[href*="stumbleupon.com"]::before {

	content: '\f223';
}

.social-menu-wrapper a[href*="dropbox.com"],
.social-menu-wrapper a[href*="dropbox.com"] {

	background: #007ee5;
}

.social-menu-wrapper a[href*="dropbox.com"]::before {

	content: '\f223';
}

.social-menu-wrapper a[href*="spotify.com"],
.social-menu-wrapper a[href*="spotify.com"] {

	background: #23cf5f;
}

.social-menu-wrapper a[href*="spotify.com"]::before {

	content: '\f223';
}

.social-menu-wrapper a[href*="pocket.com"],
.social-menu-wrapper a[href*="pocket.com"] {

	background: #ee4056;
}

.social-menu-wrapper a[href*="pocket.com"]::before {

	content: '\f223';
}

/* Hide right social icons. */
#social-right {

	display: none;
}

#mobile-navigation .social-menu-wrapper {

	padding: 1.25em 0;
}

@media screen and (min-width: 940px) {

	#social-right {

		display: block;
	}

	#social-right .social-menu-wrapper {
		display: inline;
		position: fixed;
		width: auto;
		right: 0;
		top: 50%;
		transform: translateY(-50%);
		margin-left: 2rem;
	}

	#social-right .social-menu-wrapper li.menu-item {

		display: block;
		margin-left: 4px;
	}

	#social-right .social-menu-wrapper a {

		padding: 0;
		height: 40px;
		width: 40px;
	}

	#social-right .social-menu-wrapper a::before {

		display: inline-block;
	}

	#social-right .social-menu-wrapper a::after {

		content: "";
		display: block;
		position: absolute;
		top: 0;
		left: 40px;
		height: 100%;
		width: 30px;
		background: #161718;
		z-index: -1;
	}

	#social-right .social-menu-wrapper a:hover,
	#social-right .social-menu-wrapper a:focus {

		transform: scale(1);
		transform: translateX(-12px);
	}
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {

	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {

	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: var(--secondary-color);
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignnone {

	display: block;
	margin-left: 0;
	margin-right: 0;
}

.alignleft {

	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {

	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {

	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget-header {

	display: block;
}

.widget-title {

	display: inline-block;
	margin: 0;
	margin-bottom: 1.5rem;
	padding-bottom: 2px;
	border-bottom: 2px solid var(--brand-color);
	text-transform: uppercase;
	font-size: 16px;
	font-size: 1rem;
}

.widget {

	margin: 0em;
	padding: 24px 20px;
	margin-bottom: 3rem;
	font-size: 16px;
	font-size: 1rem;
	/* Make sure select elements fit in widgets. */
}

.widget ul,
.widget ul.sub-menu,
.widget ul.children {

	margin-left: 24px;
	margin-left: 1.5rem;
}

.widget li:not(:first-child) {

	margin-top: 8px;
	margin-top: 0.5rem;
}

.widget.widget_recent_comments ul, .widget.widget_categories ul, .widget.widget_archive ul, .widget.widget_recent_entries ul, .widget.widget_rss ul, .widget.widget_meta ul, .widget.widget_pages ul, .widget.widget_links ul, .widget.widget_nav_menu ul {

	margin: 0;
	padding-left: 0;
	list-style: none;
}

.widget.widget_recent_comments ul.sub-menu,
.widget.widget_recent_comments ul.children, .widget.widget_categories ul.sub-menu,
.widget.widget_categories ul.children, .widget.widget_archive ul.sub-menu,
.widget.widget_archive ul.children, .widget.widget_recent_entries ul.sub-menu,
.widget.widget_recent_entries ul.children, .widget.widget_rss ul.sub-menu,
.widget.widget_rss ul.children, .widget.widget_meta ul.sub-menu,
.widget.widget_meta ul.children, .widget.widget_pages ul.sub-menu,
.widget.widget_pages ul.children, .widget.widget_links ul.sub-menu,
.widget.widget_links ul.children, .widget.widget_nav_menu ul.sub-menu,
.widget.widget_nav_menu ul.children {

	margin-left: 24px;
	margin-left: 1.5rem;
}

.widget.widget_recent_comments ul.sub-menu li,
.widget.widget_recent_comments ul.children li, .widget.widget_categories ul.sub-menu li,
.widget.widget_categories ul.children li, .widget.widget_archive ul.sub-menu li,
.widget.widget_archive ul.children li, .widget.widget_recent_entries ul.sub-menu li,
.widget.widget_recent_entries ul.children li, .widget.widget_rss ul.sub-menu li,
.widget.widget_rss ul.children li, .widget.widget_meta ul.sub-menu li,
.widget.widget_meta ul.children li, .widget.widget_pages ul.sub-menu li,
.widget.widget_pages ul.children li, .widget.widget_links ul.sub-menu li,
.widget.widget_links ul.children li, .widget.widget_nav_menu ul.sub-menu li,
.widget.widget_nav_menu ul.children li {

	margin-top: 8px;
	margin-top: 0.5rem;
}

.widget.widget_recent_comments li, .widget.widget_recent_entries li, .widget.widget_categories li, .widget.widget_archive li, .widget.widget_rss li, .widget.widget_meta li, .widget.widget_pages li, .widget.widget_links li {

	padding-bottom: 4px;
}

.widget.widget_recent_comments a, .widget.widget_recent_entries a, .widget.widget_categories a, .widget.widget_archive a, .widget.widget_rss a, .widget.widget_meta a, .widget.widget_pages a, .widget.widget_links a {

	display: inline-block;
	text-decoration: none;
}

.widget.widget_calendar caption {

	margin-bottom: 4px;
}

.widget.widget_calendar tbody td {

	text-align: center;
}

.widget.widget_text p:first-child {

	margin-top: 0;
}

.widget.widget_text p:last-child {

	margin-bottom: 0;
}

.widget select {

	max-width: 100%;
}

/* Styles for Jetpack widgets. */
.widget-grofile .widget-title {

	padding-bottom: 20px;
}

.widget_contact_info .contact-map {

	margin-bottom: 20px;
}

.widget_contact_info .confit-address,
.widget_contact_info .confit-phone {

	margin-bottom: 8px;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.blog #primary article::after {

	content: "";
	display: block;
	position: relative;
	top: 3em;
	width: 200px;
	height: 3px;
	background: var(--secondary-color);
}

/* Entry title. */
.entry-title {

	font-weight: bold;
	font-size: 180%;
	margin: 0 0 0.25em 0;
}

.entry-title a,
.entry-title a:visited {

	text-decoration: none;
	color: #202020;
}

.entry-title a:hover,
.entry-title a:focus,
.entry-title a:active {

	color: var(--brand-color);
}

/* Entry meta & entry footer. */
.entry-meta,
.entry-footer {

	font-size: 90%;
}

/* Post thumbnail. */
.post-thumbnail img {

	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

.post-thumbnail,
.post-thumbnail-link,
.post-thumbnail-link img {

	display: block;
}

.post-thumbnail {

	background: var(--secondary-color);
}

.post-thumbnail img {

	-webkit-backface-visibility: hidden;
}

.post-thumbnail-link:hover img {

	opacity: 0.25;
}

/* Cat links. */
.cat-links {

	display: block;
	margin-bottom: 1.5em;
}

.post-categories {

	margin: 0;
	padding: 0;
	list-style: none;
}

.post-categories li {

	display: inline;
	margin-bottom: 1.5em;
}

.post-categories a {

	margin-right: 12px;
	padding: 5px 12px 7px;
	text-decoration: none;
	color: #202020;
	background: rgba(0, 0, 0, 0.075);
}

.post-categories a:hover,
.post-categories a:focus,
.post-categories a:active {

	color: #fff;
	background: var(--secondary-color);
}

/* Tags links. */
.tags-links a {

	position: relative;
	margin-right: 24px;
	margin-bottom: 1.5em;
	padding: 5px 12px 7px;
	background: var(--secondary-color);
	font-weight: normal;
	text-transform: lowercase;
	text-decoration: none;
	color: #fff;
}

.tags-links a::before {

	content: "";
	position: absolute;
	top: 0;
	right: -17px;
	border-color: transparent transparent transparent var(--secondary-color);
	border-style: solid;
	border-width: 17px 0 17px 17px;
}

.tags-links a::after {

	content: "";
	position: absolute;
	top: 13px;
	right: 0;
	width: 6px;
	height: 6px;
	border-radius: 3px;
	background: white;
}

.tags-links a:hover,
.tags-links a:focus {

	color: #fff;
	background: var(--brand-color);
}

.tags-links a:hover::before,
.tags-links a:focus::before {

	border-left-color: var(--brand-color);
}

/* Comments link. */
span.comments-link {

	display: inline-block;
}

.comments-link a,
span.the-comments-link {

	padding: 5px 12px 7px;
	text-decoration: none;
	background: var(--secondary-color);
}

span.comments-link {

	color: #fff;
}

/* Notice box. */
.notice-box {

	padding: 1.5em;
	color: white;
	background: var(--secondary-color);
	border: 2px solid var(--brand-color);
}

.portfolio .notice-box,
.featured-posts .notice-box {

	margin-bottom: 2.5em;
}

.sticky {

	display: block;
}

.hentry {

	margin: 0 0 5em;
}

.byline,
.updated:not(.published) {

	display: none;
}

.single .byline,
.group-blog .byline {

	display: inline;
}

.page-content,
.entry-content,
.entry-summary,
.post-thumbnail {
	/*margin: 1.5em 0 0;*/
}

.entry-content {

	padding-top: 3rem;
}

.page-links {

	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Portfolio
--------------------------------------------------------------*/
/* Portfolio-filter. */
.portfolio-filter {

	display: block;
	width: 100%;
	max-width: 100%;
}

.portfolio-filter ul {

	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
}

.filter {

	margin: 0 0.75em 0 0;
	padding: 0.25em 0.4em;
	list-style: none;
}

.filter.active {

	background: rgba(0, 0, 0, 0.075);
}

/* Portfolio items. */
.portfolio-wrapper article {

	position: relative;
	width: 100%;
	padding-bottom: 100%;
	margin-bottom: 5%;
}

/* Inner link. */
.portfolio-inner,
.featured-inner {

	display: block;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	opacity: 0;
	padding: 5%;
	position: absolute;
	text-decoration: none;
}

.portfolio-inner:hover, .portfolio-inner:focus, .portfolio-inner:active,
.featured-inner:hover,
.featured-inner:focus,
.featured-inner:active {

	opacity: 1;
}

/* Center title & content. */
.portfolio-wrapper .entry-header {

	margin-top: 50%;
	text-align: center;
	transform: translateY(-50%);
}

.portfolio-title {

	color: #fff;
	transform: translateY(25px);
}

.portfolio-inner:hover .portfolio-title, .portfolio-inner:focus .portfolio-title, .portfolio-inner:active .portfolio-title {

	transform: translateY(0);
}

/* Portfolio & blog urls. */
.portfolio-url,
.blog-url {

	display: inline-block;
	margin: 0.25em 0;
	padding: 0.25em 0.4em;
	text-decoration: none;
	background: var(--secondary-color);
}

.blog-url {
	margin-bottom: 5em;
}

/* Portfolio page template. */
.portfolio article.page {
	margin-bottom: 0;
}

@media screen and (min-width: 720px) {
	.portfolio-wrapper article {
		width: 48.75%;
		padding-bottom: 48.75%;
		margin-bottom: 2.5%;
	}
	.gutter-sizer {
		width: 2.5%;
	}
}

@media screen and (min-width: 940px) {
	.portfolio-wrapper article {
		width: 32%;
		padding-bottom: 32%;
		margin-bottom: 2%;
	}
	.gutter-sizer {
		width: 2%;
	}
}

/*--------------------------------------------------------------
## Featured
--------------------------------------------------------------*/
/*! Flickity v1.2.1
http://flickity.metafizzy.co
---------------------------------------------- */
.flickity-enabled {

	position: relative;
}

.flickity-enabled:focus {

	outline: none;
}

.flickity-viewport {

	overflow: hidden;
	position: relative;
	height: 100%;
}

.flickity-slider {

	position: absolute;
	width: 100%;
	height: 100%;
}

/* draggable */
.flickity-enabled.is-draggable {

	-webkit-tap-highlight-color: transparent;
	tap-highlight-color: transparent;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {

	cursor: move;
	cursor: -webkit-grab;
	cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {

	cursor: -webkit-grabbing;
	cursor: grabbing;
}

/* ---- previous/next buttons ---- */
.flickity-prev-next-button {

	position: absolute;
	top: 50%;
	width: 44px;
	height: 44px;
	border: none;
	background: white;
	background: rgba(255, 255, 255, 0.75);
	cursor: pointer;
	/* vertically center */
	transform: translateY(-50%);
}

.flickity-prev-next-button:hover {

	background: white;
}

.flickity-prev-next-button:focus {

	outline: none;
	box-shadow: 0 0 0 5px #09F;
}

.flickity-prev-next-button:active {

	opacity: 0.6;
}

.flickity-prev-next-button.previous {

	left: 0;
}

.flickity-prev-next-button.next {

	right: 0;
}

/* right to left */
.flickity-rtl .flickity-prev-next-button.previous {

	left: auto;
	right: 0;
}

.flickity-rtl .flickity-prev-next-button.next {

	right: auto;
	left: 0;
}

.flickity-prev-next-button:disabled {

	opacity: 0.3;
	cursor: auto;
}

.flickity-prev-next-button svg {

	position: absolute;
	left: 20%;
	top: 20%;
	width: 60%;
	height: 60%;
}

.flickity-prev-next-button .arrow {

	fill: #333;
}

/* color & size if no SVG - IE8 and Android 2.3 */
.flickity-prev-next-button.no-svg {

	color: #333;
	font-size: 26px;
}

/* ---- page dots ---- */
.flickity-page-dots {

	position: absolute;
	width: 100%;
	bottom: 20px;
	padding: 0;
	margin: 0;
	list-style: none;
	text-align: center;
	line-height: 1;
}

.flickity-rtl .flickity-page-dots {

	direction: rtl;
}

.flickity-page-dots .dot {

	display: inline-block;
	width: 10px;
	height: 10px;
	margin: 0 8px;
	background: #333;
	border-radius: 50%;
	opacity: 0.25;
	cursor: pointer;
}

.flickity-page-dots .dot.is-selected {

	opacity: 1;
}

/* Custom CSS for Flickity below. */
.slider-cell {

	padding-bottom: 150%;
	width: 100%;
	position: relative;
}

/* Center title & content. */
.featured-inner {

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.featured-title,
.featured-excerpt {

	text-decoration: none;
	color: #fff;
}

@media screen and (min-width: 720px) {
	/* Featured & latest posts. */
	.slider-cell {
		padding-bottom: 97.5%;
	}
}

@media screen and (min-width: 940px) {
	/* Featured & latest posts. */
	.slider-cell {
		padding-bottom: 64%;
	}
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {

	word-wrap: break-word;
}

.bypostauthor {

	display: block;
}

.comments-area {

	padding: 0;
	margin-bottom: 5em;
}

.comments-title {

	margin-top: 0;
}

.comment-content a {

	word-wrap: break-word;
}

.bypostauthor {

	display: block;
}

.comment-list {

	margin: 0;
	padding: 0;
	padding-bottom: 40px;
	list-style: none;
	font-size: 18px;
	font-size: 1.125rem;
}

.comment-list .children {

	margin-left: 1.5em;
}

.comment-body {

	padding: 1.5em 0;
}

.children .comment-body {

	padding-left: 1.5em;
	padding-right: 1.5em;
}

.comment-meta {

	display: block;
	min-height: 48px;
	margin-bottom: 0.75em;
}

.comment-metadata {

	font-size: 90%;
}

.comment-author .avatar {

	float: left;
	margin-right: 12px;
}

.children {

	list-style: none;
}

.depth-2 {

	background: rgba(48, 42, 67, 0.05);
}

.depth-3,
.depth-4,
.depth-5 {

	background: rgba(48, 42, 67, 0.05);
}

.comment-content a {

	word-wrap: break-word;
}

.bypostauthor {

	display: block;
}

.reply {

	font-size: 90%;
	margin-bottom: 0.25em;
}

.reply a {

	padding: 5px 12px 7px;
	text-decoration: none;
	background: var(--secondary-color);
}

.comment-respond {

	font-size: 16px;
	font-size: 1rem;
}

.comment-form-author label,
.comment-form-author input,
.comment-form-email label,
.comment-form-email input,
.comment-form-url label,
.comment-form-url input,
.comment-form-comment label,
.comment-form-comment input {

	display: block;
	width: 100%;
}

.comment-form-author label,
.comment-form-email label,
.comment-form-url label,
.comment-form-comment label {

	margin-bottom: 6px;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input,
.comment-form-comment input,
textarea#comment {

	padding: 15px;
	border: 2px solid currentcolor;
	background-color: rgba(0, 0, 0, 0.075);
}

.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus,
.comment-form-comment input:focus,
textarea#comment:focus {

	background-color: white;
}

.form-submit {

	margin-top: 3em;
	margin-bottom: 0;
}

.no-comments {

	margin: 0;
}

.comment-subscription-form {

	margin-top: 1.5em;
}

/*--------------------------------------------------------------
## Author Bio
--------------------------------------------------------------*/
.author-info {

	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	margin-bottom: 3em;
	padding: 24px 20px;
	font-size: 90%;
	color: #fff;
	background: var(--secondary-color);
}

.author-heading {

	margin-top: 0;
}

.author-avatar {

	display: flex;
	align-items: center;
	min-width: 98px;
	max-width: 98px;
	margin-right: 1rem;
}

.author-title {

	margin: 0 0 0.25rem 0;
	font-size: 20px;
	font-size: 1.25rem;
}

.author-bio {

	margin: 0 0 1rem 0;
}

.author-description a {

	background: transparent;
	border: 2px solid;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1;
	padding: .4em .8em .3em;
	border-color: #fff;
	color: #fff;
	text-decoration: none;
}

.author-description a:hover, .author-description a:active, .author-description a:focus {

	color: var(--brand-color);
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */

	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {

	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {

	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {

	max-width: 100%;
}

/* Remove whitespace beneath image. */
img {

	vertical-align: text-bottom;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {

	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {

	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {

	margin: 0.8075em 0;
	font-size: 90%;
	font-style: italic;
}

.wp-caption-text {

	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {

	margin-bottom: 1.5em;
}

.gallery-item {

	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {

	max-width: 50%;
}

.gallery-columns-3 .gallery-item {

	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {

	max-width: 25%;
}

.gallery-columns-5 .gallery-item {

	max-width: 20%;
}

.gallery-columns-6 .gallery-item {

	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {

	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {

	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {

	max-width: 11.11%;
}

.gallery-caption {

	display: block;
}

.wp-block-separator {

	border: none;
}

/* Featured Development */
/* ---------------------------------------------------------------------------------------------- */

.page-template-template-featured-development .entry-content {

	padding-top: 0;
}

.page-template-template-featured-development .hentry > .post-thumbnail > img {

	max-height: 350px;
	object-fit: cover;
}

/* Fixed Width Content */
/* ---------------------------------------------------------------------------------------------- */

.page-template-template-fixed-width.has-sidebar #primary {

	max-width: 100%;
	width: 100%;
	padding: 0;
}

.page-template-template-fixed-width.has-sidebar .entry-title {

	padding-top: 2rem;
}

.page-template-template-fixed-width.has-sidebar {

	padding-top: 1rem;
}

.entry-content {

	padding-top: 0;
}


.page-template-template-fixed-width.has-sidebar .entry-content h3 {

	font-weight: 700;
	margin-bottom: 0.5rem;
}

.page-template-template-fixed-width.has-sidebar .hero-image {

	text-align: center;
}

.page-template-template-fixed-width.has-sidebar .hero-image img {

	width: 100%;
}

.page-template-template-full-width.no-sidebar .hero-image {

	text-align: center;
}

.page-template-template-full-width.no-sidebar .hero-image img {
	width: 100%;
}

/* Contact Form */
/* ---------------------------------------------------------------------------------------------- */

.wpcf7 .wp-block-columns {

	display: flex;
	gap: 2em;
	flex-wrap: nowrap;
	align-items: center;
	margin-bottom: 1.2em;
}

.wpcf7 .wpcf7-form-control.wpcf7-text,
.wpcf7 .wpcf7-form-control.wpcf7-email {

	width: 100%;
}

.wpcf7 .wpcf7-not-valid-tip {

	padding-top: 0.5rem;
	font-size: 0.8rem;
}

.wpcf7 label {

	padding-bottom: 0.5rem;
	font-size: 0.8rem;
}

/* Home Search */
/* ---------------------------------------------------------------------------------------------- */

body.home .entry-content {

	padding-top: 0;
}

.home-page-search {

	position: relative;
	background: url('https://ballena.genioi.com/wp-content/uploads/sites/3/2022/07/home-search.jpg') center center no-repeat;
	background-size: 100% auto;
	padding-top: 28%;
	margin-bottom: 2rem;
}

.home-page-search > .wp-block-group__inner-container {

	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.home-page-search > .wp-block-group__inner-container h2 {

	font-size: 50px;
	color: #ffffff;
	text-shadow: 2px 2px #000000;
}

.wp-block-group.alignfull {

	width: calc(100vw - 10px);
	position: relative;
	margin-left: -50vw;
	left: 50%;
}

p img {

	display: inline-block;
}


.items-center { align-items: center !important; }

.mb-0 { margin-bottom: 0 !important; }

.mt-3 { margin-top: .75rem !important; }