/*!
Theme Name: Flam Lite
Theme URI: https://pankogut.com/wordpress-themes/flam-lite/
Author: PanKogut
Author URI: https://pankogut.com/
Description: Flam Lite is a portfolio theme, easy to use. Just follow our simple guide and you will get your new website in a couple of steps. Complete editor styles give you a good idea of what your content will look like, even before you publish. In the Customizer you will find the Theme Options tab where you can customize the experience of your visitors. You can select the main category of your home page and add a custom text at the bottom. Responsive, RTL & translation ready.
Version: 1.0.2
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: flam-lite
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, portfolio, grid-layout, one-column, two-columns, editor-style, theme-options, block-styles, wide-blocks
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
	- Animations
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
	- WP Blocks Style
	- Magic Cursor
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments
# Media Queries
	- Mobile

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

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

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
/* Fonts */
/* francois-one-regular - latin */
@font-face {
  font-family: 'Francois One';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/francois-one-v15-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('assets/fonts/francois-one-v15-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('assets/fonts/francois-one-v15-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('assets/fonts/francois-one-v15-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('assets/fonts/francois-one-v15-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('assets/fonts/francois-one-v15-latin-regular.svg#FrancoisOne') format('svg'); /* Legacy iOS */
}
/* lato-regular - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/lato-v20-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('assets/fonts/lato-v20-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('assets/fonts/lato-v20-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('assets/fonts/lato-v20-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('assets/fonts/lato-v20-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('assets/fonts/lato-v20-latin-regular.svg#Lato') format('svg'); /* Legacy iOS */
}
/* lato-700 - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url('assets/fonts/lato-v20-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('assets/fonts/lato-v20-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('assets/fonts/lato-v20-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('assets/fonts/lato-v20-latin-700.woff') format('woff'), /* Modern Browsers */
       url('assets/fonts/lato-v20-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('assets/fonts/lato-v20-latin-700.svg#Lato') format('svg'); /* Legacy iOS */
}

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
	overflow-wrap: break-word;
  	word-wrap: break-word;
  	word-break: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: 'Francois One', sans-serif;
	margin: 0;
}

*, *:after, *:before {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

p {
	margin-bottom: 1.5em;
}

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;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	background-color: #f3f3f3;
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

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

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

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

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

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

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

.display-none {
	display: none;
}

/* Links
--------------------------------------------- */
a {
	color: #000;
	text-decoration-line: underline;
	text-decoration-style: solid;
	text-decoration-color: #000;
	text-decoration-thickness: 1px;
	text-underline-offset: .3em;
	transition: 0.1s all linear;
}

a:visited {
	color: #000;
}

a:hover,
a:focus,
a:active {
	color: #000;
	text-decoration: none;
}

a:focus {
	outline: thin dotted;
}

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

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 2px solid #000;
	border-radius: 0;
	background: transparent;
	color: #000;
	line-height: 1;
	padding: .35em 1em .35em;
	cursor: pointer;
	transition: 0.1s all linear;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: #000;
	color: #fff;
}

button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	background: #000;
	color: #fff;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus {
	background: transparent;
	border: 1px dotted #000;
	color: #fff;
}

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;
	background-color: #fafafa;
	border: 1px solid #ccc;
	border-radius: 0;
	padding: 0.15em;
	width: auto;
}

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;
}

textarea {
	width: 100%;
}

input:focus-visible,
textarea:focus-visible {
	outline: groove;
}

table {
	font-size: 0.8em;
}

table a {
	text-decoration: none;
}

thead {
	background-color: #f3f3f3;
}

tr:nth-child(even) {
	background-color: #f3f3f3;
}

/* CF7 */
.wpcf7-form-control-wrap input {
	width: 100%;
}

/* Animations
--------------------------------------------- */
.hidden {
  opacity: 0;
}

@keyframes fadeInBottom {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to { opacity: 1 }
}

.fadeInBottom { 
	animation-name: fadeInBottom;
	animation-duration: 1s;
	animation-fill-mode: both;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul li {
	display: inline-flex;
	align-items: center;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: 100%;
}

.main-navigation ul ul a {
	text-decoration: none;
	width: auto;
	white-space: nowrap;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li,
.footer-navigation li {
	position: relative;
}

.main-navigation a,
.footer-navigation a {
	display: inline-block;
}

.footer-navigation ul {
	list-style: none;
	display: flex;
	justify-content: center;
	margin: 0;
	padding-left: 0;
	padding-bottom: 20px;
}

.footer-navigation ul ul {
	display: none;
}

.footer-navigation li {
	margin-left: 0.5em;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	border: 0;
	display: flex;
	z-index: 2;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.menu-toggle {
	padding: 2.5em 1.7em 1.5em;
	position: relative;
	z-index: 3;
}

.menu-toggle:hover {
	background: transparent;
}

.toggled .menu-menu-container,
.toggled .menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    background: #fff;
    height: 100vh;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.icon-hamburger {
	width: 30px;
	height: 30px;
	position: absolute;
	top: 20px;
	right: 20px;
	display: flex;
	align-items: center;
}

.icon-hamburger span {
	height: 4px;
	width: 100%;
	background: #000;
}

.icon-hamburger span:before,
.icon-hamburger span:after {
	content: ' ';
	height: 4px;
	width: 100%;
	background: #000;
	position: absolute;
	transition: all 0.3s cubic-bezier(.215, .61, .355, 1);
}

.icon-hamburger span:before {
	top: 0;
}

.icon-hamburger span:after {
	bottom: 0;
}

.toggled .icon-hamburger span {
	background: transparent;
	transition: all 0.3s cubic-bezier(.215, .61, .355, 1);
}

.toggled .icon-hamburger span:before {
	transform: rotate(-45deg);
	top: auto;
}

.toggled .icon-hamburger span:after {
	transform: rotate(45deg);
	bottom: auto;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation,
.archive .posts-navigation,
.search .posts-navigation {
	margin: 3vw 0;
	width: 100%;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
	font-size: 1.8em;
}

.comment-navigation .nav-links a,
.posts-navigation .nav-links a,
.post-navigation .nav-links a {
	text-decoration: none;
	transition: 0.3s all ease-in-out;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

.nav-previous a:hover {
	margin-left: -10px;
	transition: 0.3s all ease-in-out;
}

.nav-next a:hover {
	margin-right: -10px;
	transition: 0.3s all ease-in-out;
}

/* Pagination with Numbers */
.page-links a {
	text-decoration-line: none;
}

.post-page-numbers {
    border: 1px solid #000;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
}

.post-page-numbers.current,
.page-links a:hover {
	background-color: #000;
    color: #fff;
}

/* Posts and pages
--------------------------------------------- */
.site-header,
.page-header,
.text-home,
.archive .posts-navigation,
.search .posts-navigation {
	padding-top: 3vw;
    padding-bottom: 3vw;
    padding-left: 4vw;
    padding-right: 4vw;
}

.site-main {
    padding-bottom: 3vw;
    padding-left: 4vw;
    padding-right: 4vw;
}

.not-found .page-header {
	padding: 0;
}

.site-footer {
    padding-bottom: 3vw;
    padding-left: 4vw;
    padding-right: 4vw;
    text-align: center;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-img {
	display: flex;
	margin: 0 auto 50px;
}

.site-branding {
	display: flex;
	align-items: center;
	line-height: 1;
}

.site-title-wrap {
	display: flex;
    align-items: baseline;
}

.site-title {
	letter-spacing: 2px;
	padding-right: 1em;
}

.site-title,
.text-home {
	font-family: 'Francois One', sans-serif;
	font-size: 1.8em;
	font-weight: bold;
}

.site-title a {
	text-decoration: none;
}

.site-title,
.site-description {
	margin: 0;
}

.site-description {
	font-size: 0.8em;
}

.site-main {
	justify-content: space-between;
}

.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0;
}

.entry-meta {
	font-size: 0.8em;
}

.entry-footer {
	clear: both;
	font-size: 0.8em;
	margin-top: 2em;
}

.entry-meta a,
.entry-footer a {
	text-decoration: none;
}

.entry-meta a:hover,
.entry-footer a:hover {
	text-decoration: underline;
}

.entry-footer span {
	margin-right: 1em;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.single .entry-title,
.page-title {
	font-size: 2.5em;
}

/* Single Post */
.post-thumbnail-wrap {
	overflow: hidden;
}

.post-thumbnail {
	line-height: 0;
	-webkit-transition: .5s ease-in-out;
	transition: .5s ease-in-out;	
}

.single-post .post-thumbnail-wrap, 
.page .post-thumbnail-wrap {
	margin-bottom: 3vw;
	text-align: center;
}

body:not(.home) .entry-header {
	margin: 50px auto 50px;
	text-align: center;
}

/* Single Post */
ol.comment-list,
ol.children {
	list-style: none;
	padding: 0;
	margin-top: 1em;
}

ol.children {
	margin: 3em -3em -3em -2em;
}

.comment {
	padding: 3em;
}

.comment.even {
	background-color: #f3f3f3;
}

.comment.odd {
	background-color: #fff;
	border: 1px solid #f3f3f3;
}

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

.comment-author > * {
	margin-right: 0.5em;
}

.comment-author img {
	border-radius: 50%;
}

.comment-metadata {
	font-size: 0.8em;
	margin-left: 2.7em;
}

.comment-author a,
.comment-metadata a,
.trackback a,
.pingback a {
	text-decoration: none;
}

.comment-author a:hover,
.comment-metadata a:hover,
.trackback a:hover,
.pingback a:hover {
	text-decoration: underline;
}

.comment-respond {
	background-color: #f3f3f3;
	padding: 3em;
}

.trackback,
.pingback {
	margin-bottom:  0.5rem;
}

/* Home */
body:not(.single) .site-main {
	flex-wrap: wrap;
}

body:not(.single):not(.page) .site-main article {
	transition: 0.1s all linear;
}

body:not(.single):not(.page) .site-main article:hover .post-thumbnail-wrap {
	opacity: 1;
	transition: 0.1s all linear;
}

body:not(.single):not(.page) .site-main article:hover .entry-header {
	display: none;
	transition: 0.1s all linear;
}

body:not(.single) .post-inner {
	position: relative;
}

body:not(.single) .entry-title a {
	text-decoration: none;
}

body:not(.single):not(.page) .entry-header {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: 0.8em;
	transform: translate(-50%,-50%);
	z-index: 2;
	transition: 0.1s all linear;
}

body:not(.single):not(.page) .post-thumbnail-wrap {
	opacity: 0.6;
	padding-bottom: 130%;
	position: relative;
	transition: 0.1s all linear;
}

body.page .post-thumbnail-wrap {
	padding-bottom: 75%;
	position: relative;
}


body:not(.single) .post-thumbnail {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

body:not(.single) .post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

body:not(.single):not(.page) .post-thumbnail:hover {
	-webkit-transform: scale(1.05);
	transform: scale(1.05);
	-webkit-transition: .5s ease-in-out;
	transition: .5s ease-in-out;	
}

.text-home {
	text-align: center;
}

/* Comments
--------------------------------------------- */
.comments-area input[type="text"], 
.comments-area input[type="email"], 
.comments-area input[type="url"] {
	width: 100%;
}

.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget-area {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding-top: 3vw;
    margin-left: 4vw;
    margin-right: 4vw;
}

.widget-area ul,
.widget-area ol {
	line-height: 35px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget-area section {
	padding: 0 1.5em;
}

.widget-area section:first-child {
	margin-left: -1.5em;
}

.widget-area section:last-child {
	margin-right: -1.5em;
}

.widget_block {
	margin: 0 0 1.5em;
}

.widget-area p {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

.widget select {
	max-width: 100%;
}

/* 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 logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
	margin-right: 1em;
	width: 70px;
}

/* 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;
}

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

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

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

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

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

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

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

.gallery-columns-7 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-caption {
	display: block;
}

/* WP Block Styles
--------------------------------------------- */
.wp-block-button {
	margin-bottom: 1em;
}

.wp-block-latest-comments__comment {
    line-height: 35px;
}

.wp-block-cover p.wp-block-cover-text {
	color: #fff;
	margin: 0;
}

.wp-block-cover p.wp-block-cover-text a {
	text-decoration-color: #fff;
}

.wp-block-calendar a,
.wp-block-latest-posts a,
.wp-block-latest-comments__comment-meta a,
.wp-block-archives a,
.wp-block-tag-cloud a,
.wp-block-rss a,
.wp-block-categories a,
.widget a {
	text-decoration-line: none;
}

.wp-block-calendar a:hover,
.wp-block-latest-posts a:hover,
.wp-block-latest-comments__comment-meta a:hover,
.wp-block-archives a:hover,
.wp-block-tag-cloud a:hover,
.wp-block-rss a:hover,
.wp-block-categories a:hover,
.widget a:hover {
	text-decoration-line: underline;
}

.wp-block-latest-posts__post-date {
    margin-top: 0.2em;
}

.wp-block-search .wp-block-search__button {
	border: 2px solid #000;
}

.wp-block-search .wp-block-search__button:hover {
	background: #000;
	color: #fff;
}

.wp-block-button {
	display: table;
	margin-left: auto;
	margin-right: auto;
}

.blocks-gallery-caption {
    margin-bottom: 1.5em;
}

/* Magic Cursor
--------------------------------------------- */


/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.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;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 1em 1.5em 1em;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

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

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Media Queries
--------------------------------------------------------------*/

/* Mobile
--------------------------------------------- */
@media screen and (max-width: 480px) {
	.site-description {
	    margin-top: 0.2em;
	}
	.overflow-hidden {
		overflow: hidden;
	}

	.site-title-wrap {
		flex-direction: column;
	}

	.wp-block-media-text {
		display: block;
	}

	.wp-block-media-text p.has-large-font-size {
		margin: 0;
	}
}

/* Tablet
--------------------------------------------- */
@media screen and (max-width: 780px) {
	.main-navigation ul li {
		display: block;
		font-size: 1.5rem;
	}

	ul.children {
		max-height: 0;
		overflow: hidden;
	}

	ul.children.open {
		max-height: 100%;
	}

	.blocks-gallery-grid .blocks-gallery-image, 
	.blocks-gallery-grid .blocks-gallery-item, 
	.wp-block-gallery .blocks-gallery-image, 
	.wp-block-gallery .blocks-gallery-item {
		margin: 0 0 1em 0;
		width: 100%;
	}
}

/* Desktop
--------------------------------------------- */
@media screen and (min-width: 959px) {
	body,
	button,
	input,
	select,
	optgroup,
	textarea {
		font-size: 1.2rem;
	}

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}

	.main-navigation ul ul {
		background-color: #f3f3f3;
		flex-direction: column;
		float: left;
		font-size: 14px;
		padding-top: 1em;
		padding-right: 1em;
		padding-bottom: 1em;
		position: absolute;
		top: 100%;
		left: -999em;
		z-index: 99999;
	}

	.main-navigation ul ul li {
	    border-bottom: 1px solid #dedede;
		padding-bottom: 0.5em;
	    padding-top: 0.3em;
	}

	.main-navigation ul ul ul {
		left: -999em;
		top: -1em;
	}

	.main-navigation li {
		margin-left: 0.5em;
	}

	body:not(.single):not(.page) .site-main {
		display: flex;
	}

	body:not(.single):not(.page) .site-main article {
		width: 48%;
	}

	.site-main {
		margin-left: auto;
		margin-right: auto;
		max-width: 1300px;
	}

	.comments-area {
		margin: 0 auto;
		width: 650px;
	}

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

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

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

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

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

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

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

	.wp-block-image.alignwide {
		margin: 0 -25%;
	}

	.alignfull {
		left: 50%;
		margin-left: -50vw;
		margin-right: -50vw;
		max-width: 100vw;
		position: relative;
		right: 50%;
		width: 100vw;
	}
}
