/*
Theme Name: 	Makai
Description: 	A travel blog and magazine theme with WooCommerce support.
Version: 		1.00
Text Domain: 	makai
Theme URI: 		https://makai.redsun.design
Author: 		red_sun (Gerda Gimpl)
License: 		GNU General Public License v3 or later
License URI: 	https://www.gnu.org/licenses/gpl-3.0.html
Requires at least: 	7.0
Requires PHP: 	7.4
Tested up to: 	7.1
Tags: 			e-commerce, editor-style, footer-widgets, block-styles, wide-blocks, translation-ready, theme-options, featured-images, right-sidebar, custom-background, custom-colors, custom-menu, custom-logo, rtl-language-support, blog, news
*/


/*
-------------------------------------------
	INDEX 
-------------------------------------------
	## CSS RESET
	## MISC
	## TYPOGRAPHY
	## COLOR
	## NAVIGATION
	## LAYOUT
	## BLOCKS
	## SIDEBARS
	## PAGINATION
	## COMMENTS
	## BUTTONS
	## FORMS
	## CURSOR
	## IMAGES
	## MEDIA
	## ACCESSABILITY
	## RECOMMENDED PLUGINS
	## RESPONSIVE LAYOUT
-------------------------------------------
*/











@keyframes iconMove {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0)
    }

    30% {
        opacity: 0
    }

    31% {
        -webkit-transform: translateX(1.25rem);
        transform: translateX(1.25rem)
    }

    32% {
        -webkit-transform: translateX(-1.25rem);
        transform: translateX(-1.25rem)
    }

    84% {
        opacity: 1
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0)
    }
}


.iconboxes .iconbox:hover i.has-url,
.viewall:hover i,
.button-more:hover i {
	-webkit-animation: iconMove ease-out 0.35s;
	animation: iconMove ease-out 0.35s
	}



/* border radius */
.has-rounded-corners .main-navigation .sub-menu.sub-menu-level-1,
.has-rounded-corners .main-navigation .sub-menu.sub-menu-level-2,
.has-rounded-corners .main-navigation .sub-menu.sub-menu-level-3,
.has-rounded-corners.blog .post, 
.has-rounded-corners.archive .post,
.has-rounded-corners.search .post, 
.has-rounded-corners.search .page,
.has-rounded-corners .layout-belowimage .tnail,
.has-rounded-corners .nav-previous-wrap,
.has-rounded-corners .nav-next-wrap,
.has-rounded-corners .post-tag,
.has-rounded-corners .related-posts img,
.has-rounded-corners .related-posts,
.has-rounded-corners .related-posts article.no-thumbnail .article-content,
.has-rounded-corners .next-post-left,
.has-rounded-corners .prev-post-right,
.has-rounded-corners .post-navigation,
.has-rounded-corners .prev-post-thumb img,
.has-rounded-corners .next-post-thumb img,
.has-rounded-corners input[type="color"], 
.has-rounded-corners input[type="date"], 
.has-rounded-corners input[type="datetime"], 
.has-rounded-corners input[type="datetime-local"], 
.has-rounded-corners input[type="email"], 
.has-rounded-corners input[type="checkbox"], 
.has-rounded-corners input[type="month"], 
.has-rounded-corners input[type="number"], 
.has-rounded-corners input[type="password"], 
.has-rounded-corners input[type="search"], 
.has-rounded-corners input[type="tel"], 
.has-rounded-corners input[type="text"], 
.has-rounded-corners input[type="time"], 
.has-rounded-corners input[type="url"], 
.has-rounded-corners input[type="week"], 
.has-rounded-corners input:not([type]), 
.has-rounded-corners select, 
.has-rounded-corners pre,
.has-rounded-corners .pagination_main span,
.has-rounded-corners .pagination_main a,
.has-rounded-corners .page-numbers,
.has-rounded-corners .post-page-numbers,
.has-rounded-corners .comments-panel,
.has-rounded-corners .breadcrumbs a,
.has-rounded-corners.single #respond,
.has-rounded-corners.single #respond textarea, 
.has-rounded-corners.single #respond input[type="text"], 
.has-rounded-corners.single #respond input[type="email"], 
.has-rounded-corners.single #respond input[type="url"],
.has-rounded-corners .comment-author img,
.has-rounded-corners .woocommerce .woocommerce-ordering,
.has-rounded-corners .woocommerce-checkout .form-row span.select2-selection.select2-selection--single, 
.has-rounded-corners .woocommerce img.attachment-woocommerce_thumbnail,
.has-rounded-corners .woocommerce-product-gallery img,
.has-rounded-corners .wc-block-grid__products .wc-block-grid__product-image,
.has-rounded-corners .woocommerce-error, 
.has-rounded-corners .woocommerce-info, 
.has-rounded-corners .woocommerce-message,
.has-rounded-corners textarea,
.has-rounded-corners .mc4wp-form input[type="email"], 
.has-rounded-corners .mc4wp-form input[type="submit"],
.has-rounded-corners #ez-toc-container  {
	border-radius: 6px;
	}


/* butons border radius */
.has-rounded-corners button,
.has-rounded-corners .button,
.has-rounded-corners .button-outline,
/* core gives .wp-block-button__link a 9999px pill; this is what tones it down to 6px,
   so the "Squared" style has to be excluded here as well as in blocks.css */
.has-rounded-corners .wp-block-button:not(.is-style-squared) .wp-block-button__link,
.has-rounded-corners input[type="button"],
.has-rounded-corners input[type="reset"],
.has-rounded-corners input[type="submit"] {
	border-radius: 6px;
	}

/* meta border radius */
.has-rounded-corners .categories a, 
.has-rounded-corners .categories a:link, 
.has-rounded-corners .categories a:focus, 
.has-rounded-corners .categories a:active, 
.has-rounded-corners .postnavcat {
	border-radius: 6px;
	}

body.has-rounded-corners:not(.single) .tnail img,
.has-rounded-corners .post-grid .tnail {
	//border-radius: 6px 6px 0 0; /* only if bg color and only on archive and search pages!! */
	//border-radius: 6px;
	border-radius: 6px;


	}

.has-rounded-corners .wp-block-image figcaption,
.has-rounded-corners .blocks-gallery-image figcaption,
.has-rounded-corners .blocks-gallery-item figcaption {
	border-radius: 0 0 6px 6px;
	}


/*-------------------------------------
## CSS RESET ---------------------------
--------------------------------------*/
/*
* {
	box-sizing: border-box;
	position: relative;
	//min-width: 0;
	}

body {
	min-height: 100dvh;
	}
*/



html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	}

/* The reset above clears border-style on every element. WordPress block supports
   set a block's border as inline `border-width` + a .has-border-color class and
   declare the style itself only at :where() zero specificity, so without this the
   reset wins and any block given a border in the editor renders without one. */
.has-border-color,
[style*="border-width"] {
	border-style: solid;
	}

html 	{
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	box-sizing: border-box;
	scroll-behavior: smooth;
	}

*,
*:before,
*:after { 
	box-sizing: inherit;
	}

article, aside, details, figcaption, 
figure, footer, header, hgroup, 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;
	}

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



/*-------------------------------------
## MISC -------------------------------
--------------------------------------*/
.clear  {
	clear: both;
	line-height: 1;
	margin: 0;
	padding: 0;        
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;      
	}

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
	}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
	}

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

.justify { 
	text-align: justify; 
	}        

.italic {
	font-style: italic;
	}

.round {
	border-radius: 999px;
	}

.serif {
	font-family: Georgia, serif;
	font-style: italic;
	text-transform: none;
	}
	
.hidden	{ 
	display: none 
	}

.overflow  { 
	overflow: hidden; 
	}

small 	{ font-size: 80%; }

big 	{ font-size: 125%; }

b, strong  { font-weight: bold; }

address, em, dfn, var { font-style: italic; }

address { margin: 0 0 1.5em; }

dfn     { font-weight: bold; }

del, strike     { text-decoration: line-through; }

mark {
	text-decoration: none;
	}

ins     { 
	border-bottom: 1px dashed;
	text-decoration: none;
	}

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

sup     { top: -0.5em; }

sub     { bottom: -0.25em; }

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

cite {
	font-style: normal;
	letter-spacing: 4px;
	text-transform: uppercase;
	font-size: 12px;
	display: inline-block;
	margin-bottom: 8px;
	line-height: 1.5em;
	font-weight: 500;
	}

hr {
	//box-sizing: content-box;
	//height: 0;
	//border: 0;
	//height: 2px;
	margin-bottom: 48px;
	}

dt 	{ font-weight: bold; }

dd 	{ margin: 0 1.5em 1.5em; }

figure 	{ 
	margin: 0; 
	padding: 0;
	}

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

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

abbr, dfn, acronym {
	cursor: help;
	}

tt 	{font-family: Courier; }

code, kbd, pre, samp, tt, var {
	font-family: Courier, monospace;
	}

pre, code, kbd {
	white-space: pre-wrap;
	word-wrap: break-word;        
	}
	
pre {
	display: block;
	overflow: auto;
	margin: 24px 0;
	padding: 24px 36px;
	font-weight: 100;
	line-height: 2em;
	font-size: 0.9em;
	white-space: pre-wrap;
	word-wrap: break-word; 
	font-family: Courier, monospace;
	}

/* transition */
a:link,
a:visited,
a:active,
a:hover,
.socialicons i,
.social-label,
a.pp_previous i,
a.pp_next i,
.post-tag:hover .post-tag-hashtag,
.woocommerce-MyAccount-navigation a {
	-moz-transition: all 0.1s ease-in-out;
	-webkit-transition: all 0.1s ease-in-out;
	-o-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
	}

.button,
.button:hover,
.button-outline,
a.button,
.post-tag,
input[type="button"],
input[type="reset"],
input[type="submit"],
li.comment .reply,
.login-submit input {
	-moz-transition: all 0.2s !important;
	-webkit-transition: all 0.2s !important;
	-o-transition: all 0.2s !important;
	transition: all 0.2s !important;
	}






/*-------------------------------------
## TYPOGRAPHY ---------------------------
--------------------------------------*/

/* font families */

body, input, .search-field, select, textarea, cite.fn, 
.footer-info-wrap, .topbar-text-wrap, 
h2.menu-cat.use-body-font, h6.menu-title.use-body-font, 
.woocommerce .product-categories-list-all, .menu-price-title.use-body-font, 
.woocommerce .product-categories-list h2.woocommerce-loop-category__title,
.pagination_main,  .pagination_main a.inactive {      
	font-family: Poppins, Helvetica, Arial, sans-serif;
	font-weight: 400;
	}

html, body, input, select, textarea {
	font-size: 19px; 
	line-height: 1.75em; 
	}

p   {
	margin-bottom: 1.25rem; 
	line-height: 1.75em;
	position: relative;
	text-wrap: pretty;
	}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	position: relative;
	margin: 24px 0;
	margin: 48px 0 24px;
	padding: 0;
	letter-spacing: 0;
	text-wrap: pretty;
	word-wrap: break-word;
	-ms-word-wrap: break-word;
	font-family: Helvetica, Arial, sans-serif;
	font-weight: 500;
	}

/* Chapter links (#anchor) stop 40px below the top bar and header that are on screen
   once the page gets there: js/scripts.js keeps --makai-anchor-offset at their height
   (0 when nothing sticks, or after scrolling down with "Sticky when scrolling up"). */
h1, h2, h3, h4, h5, h6,
.subtitle-above,
.comments-area,
.comment-list li,
.comment-respond {
	scroll-margin-top: calc(var(--makai-anchor-offset, 0px) + 40px);
	}

footer h1, 
footer h2, 
footer h3, 
footer h4, 
footer h5, 
footer h6 {
	margin: 30px 0 18px;
	}

#footer section:first-child h1,
#footer section:first-child h2,
#footer section:first-child h3,
#footer section:first-child h4,
#footer section:first-child h5,
#footer section:first-child h6 {
	margin-top: 0;
	}

h1 { 
	font-size: 3.5em; 
	margin: 1.3em 0 0.4em;
	line-height: 1.1em;	
	}

h2, .single .entry-title { 
	font-size: 2.5em; 
	line-height: 1.2em;	
	}

h3 { 
	font-size: 2em; 
	line-height: 1.3em;
	}

h4,
.entry-title { 
	font-size: 1.7em;  
	line-height: 1.4em;
	}

h5,
.widget_recent_entries ul li a { 
	font-size: 1.4em;  
	line-height: 1.5em;
	}

h6 { 
	font-size: 1.2em;  
	line-height: 1.6em;
	}


.site-title,
.site-title a,
.main-navigation ul li .site-title a {
	font-size: 1.3em; 
	font-weight: 500 !important;
	line-height: 0.8em;
	text-align: center;
	text-transform: none;
	font-style: normal;
	vertical-align: baseline;
	letter-spacing: 0;
	margin: 0;
	word-break: break-word;
	}

.site-title.site-logo {
	position: relative;
	clip: initial;
	}

.site-title img,
.site-title a {
	display: block;
	}

.site-title a, .site-title a:link, 
.site-title a:focus, .site-title a:active {
	border: 0;
	}

.entry-title  {
	margin-top: 21px;
	margin-bottom: 0;
	}

.single .entry-title,
.widget_recent_entries ul li a   {
	margin: 0;
	top: 0;
	}

.post-standard .entry-title {
	margin: 10px 0 36px 0;
	}

.page-title {
	margin: 0 0 48px 0;
	text-align: center;
	}

.has-thumb .page-title {
	margin-bottom: 0;
	}

.page-title.no-cat-image,
.archive-page-header .page-title {
	margin-top: 51px;
	margin-bottom: 58px;
	}

.search .search-title  {
	margin-top: 70px;
	margin-bottom: 58px;
	width: 100%;
	}

.category-header .page-title {
	margin: 0;
	}


.search-title-subtitle {
	display: block;
	font-size: 1rem;
	line-height: 1em;
    letter-spacing: 0;
    font-weight: 600;
	}

/* section headlines */
#reply-title {
	margin-bottom: 24px;
	}

#reply-title, 
.comments-title, 
.section-title, 
.post-nav-top-text {
	margin-top: 0;
	}


/* smaller elements */
.vertical-text {
	font-weight: 900;
	font-size: 0.7em;
	letter-spacing: 3px;
	text-transform: uppercase;
	}

.entry-meta,
.post-info-small .post-info {
	//line-height: 1.2em;
	font-style: normal;
	}

.entry-meta-inner-wrap,
.post-info-small .post-info {
	font-size: 0.7rem;
	}

.wp-caption-text,
.gallery-caption {
	font-size: 0.7rem;
	line-height: 1.5em;
	font-weight: 300;
	letter-spacing: 1px;
	text-transform: uppercase;
	}

/* links */
a,
a:link,
a:focus,
a:active {
	text-decoration: none;
	cursor: pointer;
	}





/* lists */
//ul, ol { margin: 0 24px 1.75rem 17px; }
//ul, ol { margin: 0 0 24px 17px; }

ul ul, 
ol ul,
ol ol,
ul ol { 
	margin-left: 24px; 
}

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

.even-style ul, .even-style ol {
	margin: 0 0 1.75rem 24px;
	} 

ul li, ol li { 
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
	}

ul { list-style-type: disc; }

ul ul { list-style-type: circle; }

ol  { list-style: decimal; }


.entry-content ul li,
.comment-text ul li {
	position: relative;
	}

.even-style:nth-child(even) .entry-content ul > li::before, 
.even-style:nth-child(even) .comment-text ul > li::before {
	left: auto;
	margin-left: -24px;
	}

.entry-content ol li,
.comment-text ol li {
	margin-bottom: 5px;
	position: relative;
	}

.even-style:nth-child(even).even-style .entry-content ol > li::before, 
.even-style:nth-child(even).comment-text ol > li::before {
	position: relative;
	top: 0px;
	left: -8px;
	}




/*-------------------------------------
## COLOR -------------------------------
--------------------------------------*/


#search-overlay input,
#search-overlay ::-webkit-input-placeholder,
#search-overlay ::-moz-placeholder,
#search-overlay :-ms-input-placeholder,
#search-overlay :-moz-placeholder,
#search-overlay .search-content p,
#search-overlay .search-close {
	color: #101020;
	}

#search-overlay input, 
#skearch-overlay input.search-field,
#search-overlay i {
	color: #101020;
	}



#search-overlay .searchcontent .searchform {
	border-color: rgba(255, 255, 255, 0.3);
	}

body {
	background-color: #fff;
	}

footer .social-footer {
	background-color: #fff;
	}

#topbar,
button:not(.button-outline),
.button:not(.button-outline),
a.button:not(.button-outline),
.reply,
.post-tag,
input[type="button"],
input[type="reset"],
input[type="submit"]  {
	background-color: #101020;
	color: #fff;
	}

button,
.button,
a.button,
a.button:link,
a.button:visited,
a.button:active,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	color: #fff;
	}



.topbar-content a, .overlay-content, .single 
.overlay-content .entry-title, .overlay-content h1, .overlay-content a, .overlay-content a:link, .overlay-content .serif-italic , 
.overlay-content .entry-meta-single a, 
.overlay-content .entry-meta-single a:link,
.overlay-content .entry-meta-single a:active,
.overlay-content .entry-meta-single a:focus,
.overlay-content .entry-meta-single a:visited,
.overlay-content .categories a, 
.overlay-content .categories a:link,
.overlay-content .categories a:active,
.overlay-content .categories a:focus,
.overlay-content .categories a:visited,
.post-tags a, .post-tags a:link, .post-tags a:focus, .post-tags a:active,
.footer-info-wrap a,
.footer-info-wrap a:link,
.footer-info-wrap a:focus,
.footer-info-wrap a:active {
	color: #fff;
	}

.single .entry-header.overlay .categories a {
	color: #fff;
	background: rgba(255, 255, 255, 0.2);
	}

.post-gridoverlay h2 a,
.post-gridoverlay h2 a:link,
.post-gridoverlay h2 a:visited,
.post-gridoverlay a,
.post-gridoverlay a:link,
.post-gridoverlay .entry-text,
.post-gridoverlay .button-more.button-outline:not(:hover),
.post-gridoverlay .button-outline:not(.content-black):not(.content-white):not(:hover),
.post-masonryoverlay h2 a,
.post-masonryoverlay h2 a:link,
.post-masonryoverlay h2 a:visited,
.post-masonryoverlay a,
.post-masonryoverlay a:link,
.post-masonryoverlay .entry-text,
.post-masonryoverlay .button-more.button-outline:not(:hover),
.post-masonryoverlay .button-outline:not(.content-black):not(.content-white):not(:hover) {
	color: #fff;
}

#topbar .cart-contents-count {
	color: #fff;
	}

.related-posts article:not(.no-thumbnail) .blog-bottom-post-title a,
.related-posts article:not(.no-thumbnail) .blog-bottom-post-title a:link,
.related-posts article:not(.no-thumbnail) .blog-bottom-post-title a:visited,
.related-posts article:not(.no-thumbnail)  .blog-bottom-post-title a,
.nav-next:not(.no-thumbnail) a,
.nav-previous:not(.no-thumbnail) a {
	color: #fff;
	}


.blog .post, 
.archive .post, 
.blog .right-sidebar .widget,
.archive:not(.woocommerce) .right-sidebar .widget,
.single-post .right-sidebar .widget,
.related-posts article.no-thumbnail .article-content  {
	background-color: #fff;
	}


.category-header.overlay h1,
.category-header.overlay p,
.category-header.overlay .category-description,
.category-header.overlay .vertical-text {
	//color: #fff;
	}

.category-title-wrap .subtitle-above {
	//color: #fff !important;
	}


.nav-previous:not(.no-thumbnail) .prev-next-arrow i,
.nav-next:not(.no-thumbnail) .prev-next-arrow i  {
	color: rgba(255,255,255,0.7);
	}




.nav-previous.no-thumbnail .prev-next-arrow,
.nav-next.no-thumbnail .prev-next-arrow {
	font-size: 1rem;
	padding: 3px;
	margin-bottom: 12px;
	}




.blog .right-sidebar .widget:has(.wp-block-heading),
.archive:not(.woocommerce) .right-sidebar .widget:has(.wp-block-heading),
.single-post .right-sidebar .widget:has(.wp-block-heading) {
	background-color: transparent !important;
	margin-bottom: 0;
	}

.has-thumb .page-title,
.has-thumb .subtitle-above {
	color: #fff;
	}

.pagination_main span, 
.pagination_main a, 
.page-numbers,
a.page-numbers, 
a:link.page-numbers {
	background: #eeeeef;
	}

.footer-site-info {
	color: #b9b9bc;
	}

.main-navigation .sub-menu, 
.main-navigation .children {
	background-color: #f3f1ee;
	}

.wp-block-quote::before,
.entry-content > blockquote::before,
.comment-text > blockquote::before {
	//color: #cccccf;
	color: #f0f0f0;
	}

hr.wp-block-separator {
	background-color: #ccc;
	}

.wp-block-latest-posts__post-date, 
.wp-block-latest-posts__post-author {
	color: #555;
	}

.entry-meta .entry-meta-inner-wrap a {
	//color: #666;
	}

body, input, select, textarea,
.main-navigation ul li a,
.main-navigation ul li a:link,
.main-navigation ul li a:focus,
.main-navigation ul li a:active,
.single .post-info .serif-italic  {      
	color: #3a3a3b;
	}


a, a:link, a:focus, a:active, .widget_recent_comments .recentcomments a  {      
	color: #3a3a3b;
	}












/**/

.button-more.button-outline {
	color: #242434;
	border-color: #aaa;
	}

.button-more.button-outline:hover {
	//background: #242434;
	//border-color: #242434;
	//color: #fff;
	}


h1, h2, h3, h4, h5, h6,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
h1 a:link, h2 a:link, h3 a:link, h4 a:link, h5 a:link, h6 a:link,
.site-title a, .site-title a:link, .site-title a:focus, .site-titlea:active, .site-title a:hover,
h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited,
.header-wrap i {      
	color: #101020; 
	}

.pagination_main .current,
.pagination_main a:hover,
.page-numbers.current, 
.pagination_main a:hover,
.pagination_main .current,
.post-page-numbers.current,
.post-page-numbers:hover {
	background-color: #2a282b;
	color: #fff;
	}

.categories_widget .color-overlay {
	background: transparent;
	}

.searchform {
	//background: rgba(200,200,217,0.2);
	background: rgba(10,14,17,0.95);
	}

#search-overlay {
	//background: rgba(10,14,17,0.95);
	background: rgba(255,255,255,0.7);
	}

#search-overlay .search-content p {
	color: #fff;
	}

.cart-contents-count {
	background-color: rgba(200,200,200,0.4);
	}

.entry-meta .categories a,
.entry-meta .categories a:link,
.entry-meta .categories a:focus,
.entry-meta .categories a:active {
	background-color: #000;
	color: #fff;
	}


.article-content.overimage .categories a,
.article-content.overimage .categories a:link,
.article-content.overimage .categories a:focus,
.article-content.overimage .categories a:active {
	//background-color: #fff;
	//color: #000;
	}


.mc4wp-form h2,
.mc4wp-form h4,
.mc4wp-form h6 {
	color: #ffffff;
	}


.comment-text li:before, .entry-content li:before {
	color: rgba(0,0,20,0.25);
	}

.entry-content li:before {
	color: rgba(200,200,220,0.5);
	}

.post-info-small a,
.wpp-list .post-stats {
	color: rgba(0,0,10,0.35);
	}


.single .image-fullbg .post-info .serif-italic {
	color: rgba(255,255,255,0.9);
	}

input[type="color"], 
input[type="date"], 
input[type="datetime"], 
input[type="datetime-local"], 
input[type="email"], 
input[type="checkbox"],
input[type="month"], 
input[type="number"], 
input[type="password"], 
input[type="search"], 
input[type="tel"], 
input[type="text"], 
input[type="time"], 
input[type="url"], 
input[type="week"], 
input:not([type]),
select,
textarea {
	border: 1px solid;
	border-color: transparent;
	color: #19110b;
	transition: border .3s cubic-bezier(0.4,0.4,0.5,1);
	background-color: transparent;
	}




/* footer widgets center algin */
.footer-sidebar-wrap.center .widget.widget_recent_comments ul li, 
.footer-sidebar-wrap.center .widget.widget_meta ul li, 
.footer-sidebar-wrap.center .widget.widget_pages ul li, 
.footer-sidebar-wrap.center .widget.widget_nav_menu ul li, 
.footer-sidebar-wrap.center .widget.widget_categories ul li, 
.footer-sidebar-wrap.center .widget.widget_archive ul li, 
.footer-sidebar-wrap.center .wp-block-archives li, 
.footer-sidebar-wrap.center .wp-block-categories-list li,
.footer-sidebar-wrap.center .widget.widget_recent_comments ul ul li:first-child, 
.footer-sidebar-wrap.center .widget.widget_meta ul ul li:first-child, 
.footer-sidebar-wrap.center .widget.widget_pages ul ul li:first-child, 
.footer-sidebar-wrap.center .widget.widget_nav_menu ul ul li:first-child, 
.footer-sidebar-wrap.center .widget.widget_categories ul ul li:first-child, 
.footer-sidebar-wrap.center .widget.widget_archive ul ul li:first-child, 
.footer-sidebar-wrap.center .wp-block-archives ul li:first-child, 
.footer-sidebar-wrap.center .wp-block-categories-list ul li:first-child {
	border: none;
	}

.widget.widget_recent_comments ul ul li:first-child,
.widget.widget_meta ul ul li:first-child,
.widget.widget_pages ul ul li:first-child,
.widget.widget_nav_menu  ul ul li:first-child,
.widget.widget_categories ul ul li:first-child,
.widget.widget_archive ul ul li:first-child,
.wp-block-archives ul li:first-child,
.wp-block-categories-list ul li:first-child {
	border-top: 1px solid rgba(200,200,210,0.3);;
	}

.color-overlay:not(.color-overlay-single) { 
	//background-color: rgba(32, 32, 36, 0.12);
	background-color: rgba(17,17,17,0.3);
	}

.color-overlay.color-overlay-single { 
	//background: rgba(0, 0, 0, 0.5);
	//background-color: rgba(32, 32, 36, 0.12);
	//background-color: rgba(17,17,17,0.3);
	background-color: rgba(17,17,17,0.46);
	background-color: rgba(17,17,17,0.12);
	}

.widget-cat-has-image .overlay-content {
	background-color: rgba(10, 10, 20, 0.7);
	}

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

ins     { 
	border-color: #ccc;
	}

hr {
	//background-color: #ccc;
	}

pre {
	background-color: #f9f9fa;
	color: #222 !important;
	}

.has-white-color {
	color: #ffffff;
	}

.has-grey-color {
	color: #a9a9ac;
	}

.has-anthracite-color {
	color: #3A3A3B;
	}

.has-almostblack-color {
	color: #101020;
	}

.has-softorange-color {
	color: #db9457;
	}

.has-milkcoffee-color {
	color: #bc9475;
	}

.has-white-background-color {
	background-color: #ffffff;
	}

.has-grey-background-color {
	background-color: #a9a9ac;
	}

.has-anthracite-background-color {
	background-color: #3A3A3B;
	}

.has-almostblack-background-color {
	background-color: #101020;
	}

.has-softorange-background-color {
	background-color: #db9457;
	}

.has-milkcoffee-background-color {
	background-color: #bc9475;
	}


/*-------------------------------------
## NAVIGATION ---------------------------
--------------------------------------*/

.main-navigation {
	clear: both;
	display: block;
	width: 100%;
	}

.main-navigation ul {
	margin: 0;
	padding-left: 0;
	text-align: center;
	}

.header4 .main-navigation ul {
	text-align: right;
	}

.header4 .main-navigation ul.sub-menu,
.header4 .main-navigation ul.children {
	text-align: left;
	}

.main-navigation ul li {
	//display: inline-block;
	list-style-type: none;
	position: relative;
	white-space: nowrap;
	margin: 0;
	padding: 0 18px;
	}

.main-navigation ul li.menu-item-logo {
	white-space: initial;
	}

.navi-items-space-between .main-navigation ul li.menu-item-logo {
	flex-grow: 1;
	text-align: center;
	display: flex;
	align-items: center;
	}

.navi-items-space-between .logowrap.logo-img,
.navi-items-space-between .logowrap.text-logo {
	margin: 0 auto;
	}

.header4.navi-items-space-between .logowrap.logo-img {
	margin: 0;
	}

.header4 .main-navigation > ul {
	text-align: right;
	}

.header4 .main-navigation ul li {
	padding: 0 0 0 36px;
	//display: inline;
	display: inline-block;
	}

.main-navigation ul li a {
	display: inline-flex; /* display arrow down inline */
	vertical-align: middle;
	//line-height: inherit; /* line-height influences bottome border */
	line-height: 1.4em;
	}

.main-navigation ul li .site-title a {
	display: block;
	}

.main-navigation > ul:not(.sub-menu) > li:not(.menu-item-logo) > a,
.main-navigation > ul:not(.children) > li:not(.menu-item-logo) > a {
	display: block;
	position: relative;
	padding: 0.2em 0;
	overflow: hidden;
	}


.has-transparent-header .main-navigation > ul:not(.sub-menu) > li:not(.menu-item-logo) > a, 
.has-transparent-header .main-navigation > ul:not(.children) > li:not(.menu-item-logo) > a {
	//padding-bottom: 12px;
	}

.main-navigation > ul:not(.sub-menu) > li:not(.menu-item-logo) > a:hover::after, 
.main-navigation > ul:not(.sub-menu) > li:not(.menu-item-logo) > a:focus::after,
.main-navigation > ul:not(.children) > li:not(.menu-item-logo) > a:hover::after, 
.main-navigation > ul:not(.children) > li:not(.menu-item-logo) > a:focus::after {
	//transform: translate3d(0, 0, 0);
	}

/* submenu */

#header-regular:not(.sidenavi) .main-navigation ul.sub-menu li,
#header-regular:not(.sidenavi) .main-navigation ul.children li {
	padding: 0 24px 0; 
	}

#header-regular:not(.sidenavi) .main-navigation ul.sub-menu li a,
#header-regular:not(.sidenavi) .main-navigation ul.children li a {
	padding: 12px 0 2px;
	}




.main-navigation .sub-menu li a {
	display: block;
	}
/*
.main-navigation li a::after {
	content: "";
	display: block;
	position: relative;
	border-bottom: 2px solid;
	width: 24px;
	transform-origin: right;
	transform: scaleX(0);
	transition: transform 0.5s ease;
	}

.main-navigation li a:hover::after,
.main-navigation li.current_page_parent > a::after,
.main-navigation li.current-menu-item > a::after {
	transform: scaleX(1);
	transform-origin: top left;
	}
*/







/*
.main-navigation li:not(.menu-item-logo) a .menu-text-wrap {
	display: inline-block;
	line-height: 1.2em;
	}

.main-navigation li:not(.menu-item-logo) a .menu-text-wrap::after,
.topbar-links li a::after {
	content: "";
	display: block;
	width: calc(100% - 2px);
	position: relative;
	border-bottom: 1.8px solid;
	transform-origin: right;
	transform: scaleX(0);
	transition: transform 0.5s ease;
	}

.main-navigation li:not(.menu-item-logo) a:hover .menu-text-wrap::after,
.main-navigation li.current_page_parent:not(.menu-item-logo) > a .menu-text-wrap::after,
.main-navigation li.current-menu-item:not(.menu-item-logo) > a .menu-text-wrap::after,
 .topbar-links li:hover a::after {
	transform: scaleX(1);
	transform-origin: top left;
	}
*/


.main-navigation li:not(.menu-item-logo) a .menu-text-wrap,
.topbar-links li a {
	background-image: linear-gradient(to right, currentColor, currentColor);
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 0% 1.8px;
	display: inline;
	padding-bottom: 2px;
	transition: background-size 0.5s ease;
	}

.main-navigation li:not(.menu-item-logo) a:hover .menu-text-wrap,
.topbar-links li a:hover {
	background-size: 100% 1.8px;
	}











ul.sub-menu.sub-menu-level-2 > li:first-child > a {
	padding-top: 0 !important;
	}

.main-navigation .sub-menu,
.main-navigation .children  {
	padding-top: 12px;
	padding-bottom: 12px;
	}

.main-navigation li:hover > .sub-menu,
.main-navigation li:hover > .children,
.main-navigation li.focus > .sub-menu,
.main-navigation li.focus > .children {
	animation: mover 0.2s;
	}

@-webkit-keyframes mover {
    0% { transform: translateY(5px); }
    100% { transform: translateY(0); }
}

.main-navigation .sub-menu .sub-menu,
.main-navigation .children .children  {
	//margin-top: -6px;
	}

.main-navigation .sub-menu,
.main-navigation .children {
	float: left;
	text-align: left;
	position: absolute;
	left: -999em;
	z-index: 99999;
	visibility: hidden;
	opacity: 0;
	}


.columns-2 ul.sub-menu.sub-menu-level-1,


.main-navigation .sub-menu.sub-menu-level-1 {
	box-shadow: 5px 8px 4px -4px rgba(10,10,20,0.02);
	//padding: 19px 24px 28px;
	padding: 19px 12px 28px;
	}

.main-navigation ul.primary-menu > li:not(.columns-3) .sub-menu.sub-menu-level-1 .sub-menu.sub-menu-level-2,
.main-navigation ul.primary-menu > li:not(.columns-3) .sub-menu.sub-menu-level-1 .sub-menu.sub-menu-level-3 {
	box-shadow: 5px 8px 4px -4px rgba(10,10,20,0.02);
	//padding: 19px 24px 28px;
	padding: 19px 12px 28px;
	padding-top: 32px;
	margin-top: -19px;
	}

.main-navigation .sub-menu,
.main-navigation .children {
	border-top: 24px solid transparent;
	background-clip: padding-box;
	}

.has-transparent-header .main-navigation .sub-menu {
	border-top: 0;
	}


.header2 .main-navigation .sub-menu,
.header2 .main-navigation .children {
	border-top: 15px solid transparent;
	}

/* A flyout (the submenu of a submenu item) opens level with its item: its first link lines up
   with the link of the item it belongs to, in every header layout. It needs no transparent top
   border, which only bridges the gap below the header. The item's link has 12px padding above it,
   the flyout 31px above its first link, so the flyout starts 19px above the item: for the first
   item of a dropdown that is the dropdown's own 19px top padding, so the two start level and the
   flyout never reaches up into the header. The first item of a flyout has no padding above its
   link, so a flyout of that item starts 31px above it, level with the flyout it opens from. */
.main-navigation ul.primary-menu > li:not(.columns-2):not(.columns-3):not(.columns-4):not(.columns-5):not(.columns-6) .sub-menu .sub-menu {
	border-top: 0;
	padding-top: 31px;
	margin-top: -19px;
	}

.main-navigation ul.primary-menu > li:not(.columns-2):not(.columns-3):not(.columns-4):not(.columns-5):not(.columns-6) .sub-menu .sub-menu > li:first-child > a {
	padding-top: 0 !important;
	}

.main-navigation ul.primary-menu > li:not(.columns-2):not(.columns-3):not(.columns-4):not(.columns-5):not(.columns-6) .sub-menu .sub-menu > li:first-child > .sub-menu {
	margin-top: -31px;
	}

/* .focus is set for keyboard and touch screen users (navigation.js) */
.main-navigation li:hover > .sub-menu,
.main-navigation li:hover > .children,
.main-navigation li.focus > .sub-menu,
.main-navigation li.focus > .children {
	opacity: 1;
	visibility: visible;
	}

/* Submenu arrow after the name of an item that opens a submenu, so it shows on a touch screen too,
   where the first tap opens the submenu. Column headings in a multi column submenu always show
   their links and get none. Sized in em to follow the navigation font size. Switched on and off in
   the Customizer (Header > Add Arrows to Menu Items with a Submenu). */
.main-navigation.has-submenu-arrows ul.primary-menu > li.menu-item-has-children > a::after,
.main-navigation.has-submenu-arrows ul.primary-menu > li:not(.columns-2):not(.columns-3):not(.columns-4):not(.columns-5):not(.columns-6) li.menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	align-self: center;
	vertical-align: middle;
	box-sizing: border-box;
	width: 0.4em;
	height: 0.4em;
	margin: 0 0.1em 0 0.6em;
	border-right: 0.11em solid;
	border-bottom: 0.11em solid;
	transform: translateY(-0.12em) rotate(45deg);
	opacity: 0.7;
	}

/* A flyout submenu opens to the side. Its arrow takes no width (the negative margin cancels the
   gap and the arrow) and hangs into the item's side padding, so it never drops onto a line of its
   own when the name only just fits. */
.main-navigation.has-submenu-arrows ul.primary-menu > li:not(.columns-2):not(.columns-3):not(.columns-4):not(.columns-5):not(.columns-6) li.menu-item-has-children > a::after {
	margin-right: -1em;
	transform: rotate(-45deg);
	}

/* A flyout that opens to the other side (.flyout-flip, see makaiFitFlyout() in scripts.js) turns
   its arrow round to point that way. */
.main-navigation.has-submenu-arrows ul.primary-menu > li:not(.columns-2):not(.columns-3):not(.columns-4):not(.columns-5):not(.columns-6) li.menu-item-has-children.flyout-flip > a::after {
	transform: rotate(135deg);
	}

.main-navigation ul:not(.sub-menu) li.menu-item-has-children,
.main-navigation ul:not(.chidren) li.page_item_has_children {
	//padding-right: 34px;
	}

.header4 .main-navigation ul:not(.sub-menu) li.menu-item-has-children,
.header4 .main-navigation ul:not(.children) li.page_item_has_children {
	//padding-right: 12px;
	}

.main-navigation ul.sub-menu li,
.main-navigation ul.children li {
	display: block;
	white-space: normal;
	padding: 0 18px;
	}

.main-navigation ul.sub-menu li a,
.main-navigation ul.children li a {
	line-height: 1.5em;
	vertical-align: middle;
	padding: 14px 0;
	}

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

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


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

/* logo left menu right submenu multi column */
.header4 .main-navigation ul li.columns-3.menu-item:hover > ul,
.header4 .main-navigation ul li.columns-3.menu-item.focus > ul {
	margin-left: -430px;
	}

.header4 .main-navigation ul li.columns-2.menu-item:hover > ul,
.header4 .main-navigation ul li.columns-2.menu-item.focus > ul {
	margin-left: -230px;
	}



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

/* A flyout that would run off the window opens to the other side of its submenu instead
   (makaiFitFlyout() in scripts.js sets .flyout-flip). */
.main-navigation ul ul li.flyout-flip:hover > ul,
.main-navigation ul ul li.flyout-flip.focus > ul {
	left: auto;
	right: 100%;
	}

.menu-number {
	padding-right: 4px;
	}
	
.menu-number.navinumber-italic {
    font-style: italic;
}

.main-navigation .menu-item span.makai-menu-extra {
	font-size: 0.8em;
	//background: #ed0d50;
	border-radius: 6px;
	padding: 0px 6px;
	position: absolute;
	margin-left: 6px;
	display: inline-flex;
	align-items: center;
	height: 20px;

	font-size: 11px;
	line-height: inherit;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: none;

	/* Out of the flow, the label sits at the top of the line the name ends on. Moving it down by half of what
	   the line has over the label's 20px centres it. The label inherits the name's line height, so 1lh here is
	   that line's height - it follows the font size of the name, which differs between a heading and a link. */
	margin-top: calc((1lh - 20px) / 2);

	}

/* The same label in the responsive menu. There it takes its place in the line after the name, instead
   of hanging beside it. The colours come from the same Customizer setting (see customizer.php). */
.navi-wrap-responsive .menu-item span.makai-menu-extra {
	display: inline-flex;
	align-items: center;
	height: 20px;
	margin-left: 8px;
	padding: 0px 6px;
	border-radius: 6px;
	vertical-align: middle;
	font-size: 11px;
	line-height: inherit;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: none;
	}

/* Centred on the line of the name rather than on its x-height, which sits lower and shifts with the font size */
@supports (height: 1lh) {
	.navi-wrap-responsive .menu-item span.makai-menu-extra {
		vertical-align: top;
		position: relative;
		top: calc((1lh - 20px) / 2);
		}
	}

/* COLUMNS SUBMENU */

.columns-2 ul.sub-menu.sub-menu-level-1,
.columns-3 ul.sub-menu.sub-menu-level-1,
.columns-4 ul.sub-menu.sub-menu-level-1,
.columns-5 ul.sub-menu.sub-menu-level-1,
.columns-6 ul.sub-menu.sub-menu-level-1  {
	//display: flex;
	//flex-wrap: wrap;
	}


li.columns-2 ul li.menu-item-has-children>a,
li.columns-3 ul li.menu-item-has-children>a,
li.columns-4 ul li.menu-item-has-children>a,
li.columns-5 ul li.menu-item-has-children>a,
li.columns-6 ul li.menu-item-has-children>a {
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 2px;
	font-size: 1.2em;
	}

li.columns-2 ul.sub-menu-level-2 li.menu-item-has-children>a {
	text-transform: initial;
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: inherit;
	}

.columns-2 ul.sub-menu.sub-menu-level-2,
.columns-3 ul.sub-menu.sub-menu-level-2,
.columns-4 ul.sub-menu.sub-menu-level-2,
.columns-5 ul.sub-menu.sub-menu-level-2,
.columns-6 ul.sub-menu.sub-menu-level-2,
.columns-2 ul.sub-menu.sub-menu-level-3,
.columns-3 ul.sub-menu.sub-menu-level-3,
.columns-4 ul.sub-menu.sub-menu-level-3,
.columns-5 ul.sub-menu.sub-menu-level-3,
.columns-6 ul.sub-menu.sub-menu-level-3 {
	position: relative;
	left: 0;
	z-index: 99999;
	visibility: visible;
	opacity: 1;
	float: initial;
	}



.main-navigation li > .sub-menu.sub-menu-level-1 {
	min-width: 242px;
	}

.main-navigation ul.primary-menu > li:not(.columns-3) .sub-menu.sub-menu-level-1 .sub-menu.sub-menu-level-2,
.main-navigation ul.primary-menu > li:not(.columns-3) .sub-menu.sub-menu-level-1 .sub-menu.sub-menu-level-3 {
	min-width: 242px;
	}

.main-navigation li.columns-2:hover > .sub-menu.sub-menu-level-1,
.main-navigation li.columns-2.focus > .sub-menu.sub-menu-level-1 {
	min-width: 433px;
	}

.main-navigation li.columns-3:hover > .sub-menu.sub-menu-level-1,
.main-navigation li.columns-3.focus > .sub-menu.sub-menu-level-1 {
	min-width: 624px;
	}

.main-navigation li.columns-4:hover > .sub-menu.sub-menu-level-1,
.main-navigation li.columns-4.focus > .sub-menu.sub-menu-level-1 {
	min-width: 815px;
	}

.main-navigation .columns-2 ul.sub-menu li {
	//flex-basis: 50%;
	width: 50%;
	}

.main-navigation .columns-3 ul.sub-menu li {
	//flex-basis: calc(100% / 3);
	width: calc(100% / 3);
	}

.main-navigation .columns-4 ul.sub-menu li {
	//flex-basis: 25%;
	width: 25%;
	}

.main-navigation .columns-5 ul.sub-menu li {
	//flex-basis: calc(100% / 5);
	width: calc(100% / 5);
	}

.main-navigation .columns-6 ul.sub-menu li {
	//flex-basis: calc(100% / 6);
	width: calc(100% / 6);
	}

.main-navigation .columns-2 ul.sub-menu.sub-menu-level-2,
.main-navigation .columns-3 ul.sub-menu.sub-menu-level-2,
.main-navigation .columns-4 ul.sub-menu.sub-menu-level-2,
.main-navigation .columns-5 ul.sub-menu.sub-menu-level-2,
.main-navigation .columns-6 ul.sub-menu.sub-menu-level-2,
.main-navigation .columns-2 ul.sub-menu.sub-menu-level-3,
.main-navigation .columns-3 ul.sub-menu.sub-menu-level-3,
.main-navigation .columns-4 ul.sub-menu.sub-menu-level-3,
.main-navigation .columns-5 ul.sub-menu.sub-menu-level-3,
.main-navigation .columns-6 ul.sub-menu.sub-menu-level-3  {
	border-top: none;
	}

.main-navigation .columns-2 ul.sub-menu.sub-menu-level-2 li,
.main-navigation .columns-3 ul.sub-menu.sub-menu-level-2 li,
.main-navigation .columns-4 ul.sub-menu.sub-menu-level-2 li,
.main-navigation .columns-5 ul.sub-menu.sub-menu-level-2 li,
.main-navigation .columns-6 ul.sub-menu.sub-menu-level-2 li {
	flex-basis: 100%;
	width: 100%;
	padding: 0 !important;
	}

.main-navigation .columns-2 ul li.sub-menu-level-1-li a,
.main-navigation .columns-3 ul li.sub-menu-level-1-li a,
.main-navigation .columns-4 ul li.sub-menu-level-1-li a,
.main-navigation .columns-5 ul li.sub-menu-level-1-li a,
.main-navigation .columns-6 ul li.sub-menu-level-1-li a {
	display: block;
	}


/*
.main-navigation .sub-menu.sub-menu-level-1 {
	position: relative;
	left: 0;
	z-index: 99999;
	visibility: visible;
	opacity: 1;
	}
*/


.main-navigation li:hover > .sub-menu.sub-menu-level-2,
.main-navigation li:hover > .sub-menu.sub-menu-level-3,
.main-navigation li.focus > .sub-menu.sub-menu-level-2,
.main-navigation li.focus > .sub-menu.sub-menu-level-3 {
	width: auto;
	animation: none;
	margin-left: 0;
	}

ul.sub-menu.sub-menu-level-3 {
	margin-left: 12px;
	}






.columns-2 .menu-item.level-2 > a,
.columns-3 .menu-item.level-2 > a {
	padding-top: 0 !important;
	}

.columns-2 .menu-item-has-children.level-2,
.columns-3 .menu-item-has-children.level-2 {
	//padding-bottom: 14px !important;
	}

.main-navigation .columns-2 .sub-menu.sub-menu-level-1,
.main-navigation .columns-3 .sub-menu.sub-menu-level-1  {
	padding-bottom: 16px;
	padding-top: 30px;
	}





/* separator lines */
.main-navigation ul.sub-menu > li:before,
.main-navigation ul.children > li:before { 
	content: "";
	height: 0px;
	position: absolute;
	width: 12px;
	margin-bottom: 0px;
	bottom: 0;
	}

.main-navigation ul.sub-menu > li:last-child:before,
.main-navigation ul.children > li:last-child:before {
	border-bottom: 0;
	}   


/* menu with centered logo */
.header1 .header-wrap {
	padding-bottom: 0;
	}

.main-navigation ul.menu-logo-centered {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	}

.menu-logo-centered .menu-item-logo {
	padding-top: 0;
	padding-bottom: 0;
	}

.main-navigation ul.menu-logo-centered > li.menu-item:nth-child(2) {
	padding-left: 0;
	}

.main-navigation ul.menu-logo-centered > li.menu-item:last-child {
	padding-right: 0;
	}

.main-navigation ul.menu-logo-centered > li.menu-item.menu-item-has-children:last-child {
	padding-right: 0;
	}

.main-navigation ul.menu-logo-centered li a {
	vertical-align: bottom;
	padding: 0;
	}

.single .comment-navigation,
.single .posts-navigation,
.single .post-navigation {
	margin: 48px 0;
	overflow: hidden;
	width: 100%;
	}

.nav-links {
	display: flex;
	}

.nav-previous {
	display: block;
	text-align: left;
	}


/* mobile menu / sidenavi */
.navi-wrap-responsive {
	height: 100vh;
	overflow: scroll;
	}

.navi-wrap-responsive.navi-wrap-sidemenu {
	width: 420px;
	padding-top: 120px;
	height: 100vh;
	position: absolute;
	top: 0;
	display: none;
	left: -420px;
	box-shadow: 0 0 24px rgb(10 10 20 / 24%);
	overflow: scroll;
	}

.navi-wrap-responsive.navi-wrap-sidemenu.show {
	left: 0;
	}

.navi-wrap-responsive.navi-wrap-sidemenu.hide {
	left: -420px;
	}


.navi-wrap-responsive.navi-wrap-sidemenu.show {
	animation: moveBox 0.5s;
	}

@keyframes moveBox {
	from { left: -420px; }
	to { left: 0px; }
	}


.navi-wrap-responsive.navi-wrap-sidemenu.hide {
	animation: hideBox 0.5s;
	}

@keyframes hideBox {
	from { left: 0; }
	to { left: -420px;  }
	}

.navi-wrap-responsive a {
	padding: 8px 60px 8px 0;
	}

.navi-wrap-responsive {
	padding: 0 30px 24px;
	display: none;
	}

.navi-wrap-responsive ul {
	margin-top: 0;
	margin-bottom: 0;
	margin-right: 0;
	margin: 0;
	}

.navi-wrap-responsive ul.responsive-menu{
	margin: 0;
	}

.navi-wrap-responsive .menu-item-has-children .sub-menu,
.navi-wrap-responsive .menu-item-has-children .children  {
	display: none;
	margin-left: 0;
	}

.navi-wrap-responsive .menu-item,
.navi-wrap-responsive .page_item {
	list-style: none;
	border-top: 1px solid rgba(200,200,200,0.2);
	}

.navi-wrap-responsive .menu-item:first-child,
.navi-wrap-responsive .page_item:first-child {
	border-top: 0;
	}

.navi-wrap-responsive .menu-item.menu-item-has-children{
	position: relative;
	}

.navi-wrap-responsive ul li.menu-item.menu-item-has-children {
    cursor: default;
}

.navi-wrap-responsive .menu-item.menu-item-has-children:after {
	/* Material Symbols "Close" (48px design) as a mask in the text colour: an x while the submenu is closed,
	   turned into a + when it is open (.open below). Its cross is 0.38em wide, like the old icon-font glyph */
	content: "";
	font-size: 1.4em;
	width: 1em;
	height: 1em;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='m249-207-42-42 231-231-231-231 42-42 231 231 231-231 42 42-231 231 231 231-42 42-231-231-231 231Z'/%3E%3C/svg%3E") center / 0.664em no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='m249-207-42-42 231-231-231-231 42-42 231 231 231-231 42 42-231 231 231 231-42 42-231-231-231 231Z'/%3E%3C/svg%3E") center / 0.664em no-repeat;
	margin-top: 13px;
	position: absolute;
	top: 4px;
	right: -4px;
	cursor: pointer;
	}


@-webkit-keyframes fadeIn {
	0% { opacity: 0; }
	100% { opacity: 0.4; }
	}

@-moz-keyframes fadeIn {
	0% { opacity: 0; }
	100% { opacity: 0.4; }
	}

@keyframes fadeIn {
	0% { opacity: 0; }
	100% { opacity: 0.4; }
	}

.navi-wrap-responsive .menu-item.menu-item-has-children:after {
	opacity: 0;
	-webkit-animation: fadeIn ease-in 0.1s;
	animation: fadeIn ease-in 0.1s;
	-webkit-animation-fill-mode: forwards;
	animation-fill-mode: forwards;
	-webkit-animation-duration: 0.1s;
	animation-duration: 0.1s;
	-webkit-animation-delay: 0.5s;
	animation-delay: 0.5s
	}

.navi-wrap-responsive .menu-item.menu-item-has-children:after {
	transition: transform .5s;
	transform-origin: 50% 50%;
	}
 
.navi-wrap-responsive .menu-item.menu-item-has-children.open:after {
	transform: rotate(45deg);
	transform-origin: 50% 50%;
	}

.navi-wrap-responsive .menu-item,
.navi-wrap-responsive .page_item  {
	text-transform: uppercase;
	letter-spacing: 2px;
	line-height: 1.5em;
	font-weight: 700;
	margin-top: 13px;
	padding-top: 14px;	
	}

.navi-wrap-responsive.navi-wrap-sidemenu .sub-menu .menu-item,
.navi-wrap-responsive.navi-wrap-sidemenu .sub-menu .page_item  {
	margin-top: 6px;
	padding-top: 6px;	
	}

.navi-wrap-responsive .sub-menu .menu-item,
.navi-wrap-responsive .sub-menu .page_item,
.navi-wrap-responsive .children .menu-item,
.navi-wrap-responsive .children .page_item {
	padding-left: 24px;
	}

#toggle,
#toggle-sidenavi {
	width: 30px;
	height: 22px;
	cursor: pointer;
	position: relative;
	z-index: 999999;
	}

/* The three lines are drawn in the text color of the bar, so the header colors only have to set `color`
   on #toggle div.bar. A color change (a transparent header turning solid on scroll) then reaches all three
   lines at once; only the fade of the middle line when the menu opens and closes is transitioned. */
#toggle div.bar,
#toggle div.bar:before,
#toggle div.bar:after,
#toggle-sidenavi div.bar,
#toggle-sidenavi div.bar:before,
#toggle-sidenavi div.bar:after {
	width: 100%;
	height: 2px;
	background: currentColor;
	border-radius: 1px;
	}

#toggle div.bar,
#toggle-sidenavi div.bar {
	position: relative;
	transform: translateY(9px);
	color: #101020;
	transition: background-color 0.3s 0.3s ease;
	}

#toggle div.bar:before,
#toggle-sidenavi div.bar:before {
	content: " ";
	position: absolute;
	bottom: 9px;
	transition: bottom 0.3s 0.3s ease, transform 0.3s ease;
	}

#toggle div.bar:after,
#toggle-sidenavi div.bar:after {
	content: " ";
	position: absolute;
	top: 9px;
	transition: top 0.3s 0.3s ease, transform 0.3s ease;
	}

#toggle div.bar.animate,
#toggle-sidenavi div.bar.animate {
	background: rgba(255, 255, 255, 0);
	}

#toggle div.bar.animate:after,
#toggle-sidenavi div.bar.animate:after {
	top: 0;
	transform: rotate(45deg);
	transition: top 0.3s ease, transform 0.3s 0.3s ease;
	}

#toggle div.bar.animate:before,
#toggle-sidenavi div.bar.animate:before {
	bottom: 0;
	transform: rotate(-45deg);
	transition: bottom 0.3s ease, transform 0.3s 0.3s ease;
	}

.notransition {
	-o-transition: none !important;
	-ms-transition: none !important;
	-moz-transition: none !important;
	-webkit-transition: none !important;
	transition: none !important;
	}


.navi-wrap-responsive .social-wrap,
#navi-overlay .social-wrap {
	margin-top: 96px;
	margin-bottom: 48px;
	}

.navi-wrap-responsive .social-wrap {
	margin-bottom: 140px;
	}

/* no social icons below the links (none set up, or turned off in Responsive Layout):
   the links keep the same room at the end, or the last ones can't be scrolled into view */
#navi-overlay-responsive > nav:last-child {
	margin-bottom: 140px;
	}

.navi-wrap-responsive i,
#navi-overlay .social-wrap i {
	font-size: 24px;
	}

.navi-wrap-responsive .social-wrap,
header #header-regular #navi-overlay .social-wrap {
	padding: 0;
	float: initial;
	}

.navi-wrap-responsive .social-wrap a,
header #header-regular #navi-overlay .social-wrap a {
	padding: 0 36px 0 0;
	}

#header-responsive .navi-wrap-responsive .socialicons {
	float: none;
	left: auto;
	overflow: hidden;
	height: 100%;
	justify-content: left;
	text-align: left;
	}

/*-------------------------------------
## LAYOUT ---------------------------
--------------------------------------*/

html,
body {
	height: 100%;
	}

body {
	overflow-x: hidden;
	}

body.custom-background.ismobile.nomobilebg {
	background-image: none;
	}

#header-none,
#header-sidenavi {
	display: block;
	}

#header-responsive {
	display: none;
	}

/* Sticky top bar and header (Layout > Top Bar / Header): each one sticks on its own.
   js/scripts.js sets the offsets: below the admin bar, the header below a sticky
   top bar, and .sticky-scroll-up ones moved out of view while scrolling down.
   At the responsive header width the header follows its .responsive-stickytop class
   instead (Layout > Responsive Layout, css/dynamic-css.php). */
.stickytop {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 9999;
	}

.topbar.stickytop {
	top: var(--makai-topbar-top, 0px);
	z-index: 10000; /* a scroll-up header tucks in under it */
	}

.site-header.stickytop {
	top: var(--makai-header-top, 0px);
	}

.makai-sticky-ready .stickytop,
.makai-sticky-ready .responsive-stickytop {
	transition: top .3s ease;
	}

@media (prefers-reduced-motion: reduce) {
	.makai-sticky-ready .stickytop,
	.makai-sticky-ready .responsive-stickytop {
		transition: none;
		}
	}


body.has-first-block-contentboxes #header:not(.scrolled){
	box-shadow: none;
	}




.header1 .header-wrap {
	max-width: 100%;
	}

.topbar-content {
	padding: 3px 48px;
	}

.topbar-content.sidenavi {
	padding-left: 30px;
	padding-right: 30px;
	}

.header-wrap {
	padding: 0 48px;
	}

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

/* top bar */
.topbar-desktop {
	display: block;
	}

.topbar-mobile {
	display: none;
	}

.topbar-content {
	min-height: 42px;
	}

.topbar-content {
	font-size: 16px;
	line-height: 16px;
	}

#topbar,
.topbar-content  .socialicons  {
	height: 36px;
	}

.topbar-content {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	height: 100%;
	}

.topbar-content.is-wrapped,
.topbar-content.right.is-wrapped {
	justify-content: center;
	}

.topbar-content.left .topbar-left {
	display: none;
	}

.topbar-content.right {
	justify-content: flex-end;
	}

.topbar-content.center .topbar-center,
.topbar-content.center .topbar-right {
	margin-left: initial;
	}

.topbar-right {
	display: flex;
	justify-content: flex-end;
	height: 100%;
	}

.topbar-content.center.is-wrapped .topbar-left {
	width: 0;
	}

.topbar-content i,
.nav-right i {
	font-size: 16px;
	}



header .socialicons,
.topbar-content .searchbutton,
#topbar .nav-icon-wrap {
	display: flex;
	align-items: center;
	}

/* top text */
.topbar-text-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	height: 100%;
	}

.topbar-center .topbar-text-wrap {

	justify-content: center;
	}

.topbar-text {
	padding: 0 18px;
	font-size: 0.8em;
	line-height: 1.1em;
	flex-shrink: 0;
	}

.topbar-text.topbar-more {
	max-width: 100%;
	}

.topbar-content.left .topbar-text {
	padding: 6px 36px 6px 0;
	}

.topbar-content.right .topbar-text-wrap  {
	margin-right: 16px;
	}

.topbar-text:last-child,
.topbar-content.left .topbar-text:last-child {
	padding-right: 0;
	}

.topbar-text:first-child {
	padding-left: 0;
	}

.topbar-text i {
	margin-right: 4px;
	font-size: 1.2em;
	vertical-align: middle;
	margin-bottom: 1px;
	}

.topbar-text i.fa-map-marker {
	margin-right: 0;
	}

.topbar-text i.fa-mobile-alt {
	margin-right: 5px;
	}

/* topbar links  */
.topbar-links {
	margin: 0;
	position: relative;
	display: flex;
	}

.topbar-links li {
	list-style: none;
	margin: 0;
	display: inline;
	position: relative;
	margin-right: 24px;
	line-height: 1.2em;
	}

.topbar-center.topbar-links li {
	margin-right: 12px;
	margin-left: 12px;
	}

ul.topbar-links li a {
	white-space: nowrap;
	}


/* header */
header.transparent-header #header-regular,
header.transparent-header #header-responsive {
	position: absolute;
	width: 100%;
	z-index: 999;
	background: transparent;
	}

header.transparent-header:not(.stuck) #header-regular,
header.transparent-header:not(.stuck) #header-responsive {
	//background-image: linear-gradient(to bottom, rgba(0,0,10,0.5) 0%,rgba(0,0,10,0) 90%);
	//padding-bottom: 60px;
	}

.has-transparent-header header.entry-header:not(.has-thumb) {
	display: none;
	}

.has-transparent-header .section-blog header.entry-header {
	display: block;
	}

@-webkit-keyframes fading {
    from { opacity: 0; }
    to {  opacity: 1; }
}

@-moz-keyframes fading {
    from {  opacity: 0; }
    to {   opacity: 1; }
}

@keyframes fading {
    from { opacity: 0; }
    to {  opacity: 1;}
}

header.transparent-header:not(.stuck) .transparent-header-shadow.imagesloaded {
	background-image: linear-gradient(to bottom, rgba(0,0,10,0.4) 0%,rgba(0,0,10,0) 100%);
	padding-bottom: 60px;
	position: absolute;
	height: 120px;
    width: 100%;
    z-index: 9;
    opacity: 0;
    -webkit-animation: fading ease-in 0.5s;
    animation: fading ease-in 0.5s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-duration: 0.5s;
    animation-duration:  0.5s;
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}


body.has-first-block-contentboxes header.transparent-header:not(.stuck) .transparent-header-shadow.imagesloaded {
	opacity: 0;
	display: none;
	}

/* header-wrap */
.header-wrap {
	margin-top: 24px;
	margin-bottom: 24px;
	}

body.has-first-block-contentboxes header.transparent-header:not(.stuck) .header-wrap {
	margin-top: 36px;
	}




.logo-responsive {
	display: none;
	}

/* header-wrap 1 */
.header-wrap1 .logowrap.logo-img {
	margin: 0 auto;
	}

.header4 .header-wrap1 {
	display: none;
	}

.header2 .header-wrap1 {
	margin-bottom: 12px;
	}

.header2 .header-wrap {
	margin-top: 24px;
	margin-bottom: 15px;
	}


/* header wrap 2 */
.header2 .header-wrap2 {
	margin-bottom: 36px;
	margin-bottom: 0;
	display: flex;
	justify-content: space-between;
	}

.header2 .header-wrap2 .main-navigation ul li {
	padding-top: 12px;
	}

.header2 .header-wrap2 .main-navigation ul li.level-1 {
	display: inline-block;
	}

#header-regular:not(.sidenavi) .sub-menu li:first-child, 
#header-regular.header2 .header-wrap2 .main-navigation ul.sub-menu li:first-child,
#header-regular.header2 .header-wrap2 .main-navigation ul.sub-menu li,
#header-regular:not(.sidenavi) .children li:first-child, 
#header-regular.header2 .header-wrap2 .main-navigation ul.children li:first-child,
#header-regular.header2 .header-wrap2 .main-navigation ul.children li {
	padding-top: 0;
	}

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

.header4 .nav-wrap {
	align-self: center;
	}

.header-wrap2 .logo-left { display: none; }

.header4 .header-wrap2 .logo-left { 
	display: block; 
	flex-grow: 1; 
	flex-shrink: 0; 
	}

.header4 .header-wrap2 .logo-left img { 
	display: block; 
	}

.header-wrap2 .main-navigation,
.header-wrap5 .main-navigation { display: none; }
.header1 .header-wrap2 .main-navigation,
.header2 .header-wrap2 .main-navigation { display: block; }
.header4 .header-wrap2 .main-navigation { display: inline-block; }

.header2 .header-wrap2 .nav-left,
.header2 .header-wrap2 .nav-right {
	flex-basis: 15%;
	}

.header2.socialpos-h2-logoleft .header-wrap2 .spaceholder,
.header2.searchpos-h2-logo .header-wrap2 .spaceholder,
.header2.cartpos-h2-logoright .header-wrap2 .spaceholder {
	flex-basis: 15%;
	}

.header2 .socialpos-h2-logoleft .header-wrap2 .nav-wrap,
.header2 .socialpos-h2-logoright .header-wrap2 .nav-wrap,
.header2 .searchpos-h2-logo .header-wrap2 .nav-wrap {
	flex-basis: 70%;
	}

.header-wrap2 .nav-left {
	display: flex;
	}

.header-wrap2 .nav-right {
	display: flex;
	justify-content: flex-end;
	}

.header-wrap2 .searchbutton {
	text-align: right;
	margin-left: 36px;
	display: flex;
	align-items: center;
	}


/* social */
header .social-wrap {
	width: auto;
	margin: 0;
	overflow: hidden;
	float: right;
	flex-shrink: 0;
	}

header #header-regular .social-wrap {
	padding-left: 18px;
	}

header #header-regular.header4 .social-wrap {
	padding-left: 36px;
	}
	
header #header-regular .header-wrap2 .nav-left .social-wrap {
	padding-left: 0;
	}

header #header-regular .logo-left .social-wrap {
	float: left;
	padding-left: 0;
	}

header .socialicons {
	float: none;
	left: auto;
	overflow: hidden;
	height: 100%;
	}

header .socialicons li {
	float: left;
	right: auto;
	}

.topbar-content .socialicons li{
	padding-left: 18px;
	}

.header-wrap2 .socialicons li {
	//padding: 0 18px 0 2px;
	padding: 0 18px 0 0;
	}

.header-wrap2 .navi-right .socialicons li {
	padding: 0 2px 0 18px;
	}

.header4 .header-wrap2 .socialicons li:last-child {
	padding-right: 0;
	}


/* cart icon */
.cart-icon-wrap {
	margin-left: 18px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	flex-shrink: 0;
	}

.cart-icon-wrap:empty {
	display: none;
	}

.cart-contents,
.account-icon {
	margin-left: 18px;
	}

.topbar .cart-icon-wrap {
	height: 36px;
	}

.cart-contents:before {
	//font-family: "Font Awesome 5 Free";
	//content: "\f290";
	//font-weight: 900;
	//font-size: 16px;
	//vertical-align: bottom;
	//line-height: 1.1em;
	}

.cart-contents .material-icon {
	fill: currentColor;
	vertical-align: middle;
	transition: fill 0.3s ease;
	}

.cart-contents:hover .material-icon {
	fill: currentColor;
	}

.transparent-header .cart-contents .material-icon,
.transparent-header .cart-contents:hover .material-icon  {
	fill: #fff;
	}


.nav-right .cart-contents:before {
	line-height: inherit;
	}

.cart-contents:hover {
	text-decoration: none;
	}

.cart-contents-count {
	padding: 2px 4px;
	border-radius: 99px;
	font-size: 9px;
	line-height: 1;
	vertical-align: super;
	font-weight: 700;
	font-family: sans-serif;
	margin-left: -3px;
	}

#topbar .cart-contents-count {
	font-weight: 400;
	}


/* header sidenavi */
#header-sidenavi {
	padding-left: 31px;
	padding-right: 31px;	
	}

#header-sidenavi .header-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 48px;	
	}

#header-sidenavi .header-left, 
#header-sidenavi .header-right,
#header-sidenavi .topbar-left,
#header-sidenavi .topbar-right {
	flex: 0 0 240px;
	}

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

#header-sidenavi .header-wrap {
	padding: 24px 48px;
	padding-bottom: 0;
	margin-bottom: 0;
	margin-top: 0;
	}

#header-sidenavi i.toggle-nav {
	font-size: 30px;
	}


/* responsive header */
#header-responsive .header-left, 
#header-responsive .header-right,
#header-responsive .topbar-left,
#header-responsive .topbar-right {
	flex: 0 0 72px;
	}

#header-responsive .social-wrap {
	width: 100%;
	}

#header-responsive .socialicons {
	justify-content: center;
	text-align: center;
	}

#header-responsive .topbar-content .socialicons li {
	padding: 0 9px;
	}

#header-responsive .header-wrap {
	padding: 24px;
	padding-bottom: 0;
	margin-bottom: 0;
	margin-top: 0;
	}

#header-responsive i.icon-search {
	margin-top: -2px;
	font-size: 24px;
	float: right;
	}

#header-responsive .cart-contents:before {
	margin-top: -2px;
	font-size: 24px;
	}

#header-responsive .cart-contents-count {
	padding: 2px 5px;
	font-size: 11px;
	line-height: 1;
	}

#header-responsive .cart-icon-wrap {
	margin-left: 0;
	width: auto;
	float: right;
	}

#header-responsive svg.material-icon.cart-icon {
	width: 30px;
	height: 30px;
	}

#header-responsive i.toggle-nav {
	font-size: 30px;
	}

/* search button & search overlay */
.topbar-content .searchbutton {
	margin: 0 0 0 36px;
	height: 36px;
	}     
	
#search-overlay {
	//position: absolute;
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 9999999;
	display: none;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	}

#search-overlay .searchform {
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.01), 0 2px 8px rgba(0, 0, 0, 0.01);
	}

#search-overlay .search-field-label {
	display: flex;
	align-items: center;
	}

#search-overlay .search-icon {
	font-size: 2em;
	padding-left: 18px;
	flex-shrink: 0;
	}

#search-overlay .search-close {
	position: absolute;
	right: 0;
	padding: 12px;
	}

/* Material Symbols "Close" (48px design). 60px puts its 34px cross where the old 90px icon-font glyph had it */
#search-overlay .search-close svg {
	display: block;
	width: 60px;
	height: 60px;
	margin: 15px;
	color: #101020; /* as the other overlay icons (#search-overlay i) */
	}

#search-overlay .search-content-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	width: 100%;
	}

#search-overlay .search-content {
	max-width: 700px;
	margin: 0 auto;
	}

#search-overlay form {
	margin: 24px 24px 0;
	padding: 0;
	} 

#search-overlay input {
	background: transparent;
	outline: none;
	border: none;
	height: initial;
	font-size: 2.2em;
	font-weight: 600;
	padding: 6px 18px;
	margin: 0;
	}

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



#search-overlay .search-content p {
	margin: 0;
	padding: 24px;
	}



/* Add these placeholder styles */
.not-found-search.animated-search-button .search-box::placeholder,
.animated-search-button.not-found-search .search-box::placeholder,
input.search-field::placeholder {
    //opacity: 0.9; /* Optional: make placeholder slightly transparent */
}



/* animated search button */

.section-hero .searchform,
.animated-search-button .searchform {
	background: white;
	width: 360px;
	}

.animated-search-button .search-box {
	transition: width 0.6s, border-radius 0.6s, background 0.6s, box-shadow 0.6s;
	width: 60px;
	height: 60px;
	border-radius: 99px !important;
	border: none;
	cursor: pointer;
	background-color: rgba(255,255,255, 0.6);
	}

.animated-search-button.not-found-search .search-box  {
	//background-color: #ebebeb;
	}


.animated-search-button .search-box + label .search-icon {
	color: black;
	}

.animated-search-button .search-box:hover {
	color: #000;
	background: #fff;
	box-shadow: 0 0 0 5px #3d4752;
	}

.animated-search-button .search-box:hover + label .search-icon {
	color: #000;
	}

.animated-search-button .search-box:focus {
	transition: width 0.6s cubic-bezier(0, 1.22, 0.66, 1.39), border-radius 0.6s, background 0.6s;
	border: none;
	outline: none;
	box-shadow: none;
	padding-left:20px;
	cursor: text;
	width: 300px;
	border-radius: auto;
	border-radius: 6px;
	background: #ebebeb;
	color: black;
	font-size: 1em;
	}

.animated-search-button .search-box:focus + label .search-icon {
	color: black;
	}

.animated-search-button .search-box:not(:focus){
	text-indent: -5000px;
	}

.animated-search-button #search-submit {
	display: none;
	}

.animated-search-button .search-icon {
	position: relative;
	left: -43px;
	color: white;
	cursor: pointer;
	font-size: 17px;
	}
 
 .categoryheader-search {
	margin-top: 22px;
	}
 






/* main layout */
.site-content,
.woocommerce .site-content .container,
.single.woocommerce .site-content .container,
.footer-widget-area {
	width: 1448px;
	max-width: 100%;
	margin: 0 auto;
	}

.single .site-content .container,
.single .entry-header .overlay-content,
.single .entry-header.header-none .entry-header-wrap,
.single .entry-header.header-split.no-thumbnail .entry-header-wrap,
.single .post-navigation,
.single #comments,
.single #respond {
	width: 828px;
	max-width: 100%;
	margin: 0 auto;
	}

/* The overlay title sits straight on the image with no padding, so once the window is narrower
   than its 828px the title, meta and share icons ran into the screen edge. 24px either side
   lines them up with the post content below, which gets 24px from the tablet layout down. */
.single .entry-header .overlay-content {
	max-width: calc(100% - 48px);
	}

.single .entry-header.header-split.no-thumbnail.show-sidebar.active-sidebar .entry-header-wrap {
	width: 1248px;
	max-width: 100%;
}


.single .site-content.show-sidebar.active-sidebar .container,
.single .site-content.show-sidebar.active-sidebar .entry-header .overlay-content,
.single .site-content.show-sidebar.active-sidebar #comments,
.single .site-content.width-wide .container,
.single .site-content.width-wide .blog-bottom,
.single .site-content.width-wide #comments,
.single .site-content.width-wide #respond {
	width: 1200px;
	max-width: 100%;
	}

/* The content and sidebar inside a 1200px container have no side padding of their own, so below
   1296px they would run into the window edges. Keep a 48px gutter, in line with the header; the tablet
   layout (max-width: 959px) resets this and pads the content itself. */
.single .site-content.show-sidebar.active-sidebar .container,
.single .site-content.width-wide .container {
	max-width: calc(100% - 96px);
	}

.single .site-content.show-sidebar.active-sidebar .post-navigation,
.single .site-content.width-wide .post-navigation {
	//width: 1200px;
	//max-width: 100%;
	}

.single .blog-bottom {
	//width: 1200px;
	width: 100%;
	margin: 0 auto;
	}




.wp-block-group__inner-container  {
	max-width: 1448px;
	margin: 0 auto;
	}

.blog .site-content.boxed-layout {
	padding: 7px 48px;
	}


.archive .site-content.boxed-layout,
.search .site-content.boxed-layout {
	padding: 0 48px;
	}
    



header.page-entry-header {
	text-align: center;
	}

.entry-header.has-thumb {
	margin-left: calc( -100vw / 2 + 100% / 2 );
	margin-right: calc( -100vw / 2 + 100% / 2 );
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	height: 480px;
	margin-bottom: 48px;
	}

.no-padding-top .entry-header.has-thumb {
	margin-bottom: 0;
	}

.page-thumbnail {
	position: relative;
	object-fit: cover;
	display: block;
	width: 100%;
	height: 100%;
	max-height: 100%;
	background-size: cover;
	box-sizing: border-box; 	 
	position: absolute !important;
	z-index: auto;
	background-position: center center;
	overflow: hidden;
	}

.page-thumb-overlay {
	background: rgba(0,0,0,.3);
	width: 100%;
	height: 100%;
	position: absolute;
	}


.page-thumb-content {
	position: relative;
	padding: 24px;
	}

.subtitle-above-page-thumb {
	z-index: 99
	}

.site-content.fullwidth-layout {
	width: 100%;
	padding: 0 48px;
	}

.blog .fullwidth-layout{
	padding: 48px 48px 0;
	} 

.blog .fullwidth-laoyout .container, 
.archive .fullwidth-laoyout .container,
.blog .fullwidth-laoyout .primary, 
.archive .fullwidth-laoyout .primary,
.blog .fullwidth-laoyout .site-main, 
.archive .fullwidth-laoyout .site-main {
	padding: 0;
	}

.single .site-content.fullwidth,
.single .site-content.fullwidth-narrow,
.single .site-content.fullscreen,
.single .site-content.inactive-sidebar {
	width: 100%;
	margin-top: 0;
	}



.inactive-sidebar #primary.has-sidebar .blog-content-wrap,
.inactive-sidebar #primary.sidebar-below-title .blog-content-wrap, 
.inactive-sidebar #primary.sidebar-below-thumb .blog-content-wrap, 
.inactive-sidebar.sidebar-below-title .entry-header, 
.inactive-sidebar.sidebar-below-thumb .entry-header,
.inactive-sidebar .blog-bottom,
.inactive-sidebar #primary.has-sidebar  .blog-bottom   {
	margin-right: auto;
	margin-left: auto;
	width: 876px;
	max-width: 100%;
	}

.site-content.narrow,
p.narrow,
h1.narrow,
h2.narrow,
h3.narrow,
h4.narrow,
h5.narrow,
h6.narrow,
.wp-block-group.narrow {
	//width: 960px;
	width: 924px;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	}

.wp-block-group.narrow .wpcf7 {
	max-width: 580px;
	margin: 0 auto;
	}

.footer-widget-area {
	padding: 24px 12px;
	}

.single .site-content.fullscreen {
	max-width: 100%;
	width: 100%;
	}

.single .site-content.fullwidth-narrow .blog-content-wrap,
.single .site-content.fullwidth-narrow .blog-bottom {
	width: 760px;
	max-width: 100%;
	margin: 0 auto;
	}

.container {
	display: flex;
	flex-direction: row;
	}

.blog .container,
.archive .container {
	//padding-bottom: 40px;
	padding-bottom: 16px;
	}

#primary {
	width: 100%;
	}



/* sidebar */
#primary.show-sidebar.inactive-sidebar {
	margin-right: auto;
	margin-left: auto;
	}

#primary.show-sidebar.active-sidebar {
	max-width: calc(100% - 348px - 24px);
	margin-right: 24px;
	}

.inactive-sidebar #primary.has-sidebar,
.inactive-sidebar #primary.sidebar-below-title, 
.inactive-sidebar #primary.sidebar-below-thumb,
.inactive-sidebar .entry-header {
	max-width: 100%;
	margin-right: 0;
	}

.right-sidebar {
	position: relative;
	max-width: 348px;
	flex: 0 0 348px;
	margin-top: 24px;
	}

.left-sidebar {
	position: relative;
	max-width: 300px;
	flex: 0 0 300px;
	}


/* social */ 
.socialicons i:hover {
	transform: scale(1.2);
	transition: transform 0.5s ease;
	}
	
.socialicons {
	margin: 0;
	position: relative;  
	display: flex;
	}

.topbar .socialicons {
	align-items: center;
	}

#footer .footer-sidebar-wrap.center .socialicons,
.right-sidebar.center .social_widget .socialicons {
	justify-content: center;
	}

#footer .footer-sidebar-wrap.left .socialicons {
	justify-content: initial;
	}

#footer  .footer-sidebar-wrap.right .socialicons {
	justify-content: flex-end;
	}

.socialicons li {
	list-style-type: none;
	margin: 0;
	display: inline;
	position: relative;
	}

.post-list.sticky {
	position: relative;
	}

.post.sticky .article-content:before {
	display: block;
	font-family: 'Font Awesome 5 Free';
	font-size: 1em;
	font-weight: 700;
	text-align: center;
	content: "\f08d";
	margin-top: 12px;
	margin-bottom: 12px;
	line-height: 17px;
	display: inline-block;
	width: 100%;
	}

.post-gridoverlay.post.sticky:before,
.post-masonryoverlay.post.sticky:before  {
	position: absolute;
	color: white !important;
	z-index: 999;
	}

.post.sticky .article-content {
	padding-top: 12px;
	}

.list-layout article.sticky {
	padding-top: 60px;
	}

.post-list.post.sticky:before {
	position: absolute;
	top: 24px;
	}

.page-links {
	clear: both;
	margin: 0;
	text-transform: uppercase;
	font-size: 0.7em;
	letter-spacing: 2px;
	}


/* footer */
footer .social-footer {
	background: #fff;
	padding: 19px 24px;
	text-align: center;
	text-transform: uppercase;
	font-size: 0.6em;
	letter-spacing: 1px;
	}

footer .social-wrap li {
	padding: 0 18px;
	white-space: nowrap;
	}

footer.site-footer .footer-sidebar-wrap.center .widget-area .socialicons-block .socialicons li {
	padding: 0 0.37em;
	}

footer .footer-sidebar-wrap.center .socialicons,
footer .footer-sidebar-wrap.center .wp-block-buttons {
	justify-content: center;
	}

footer .footer-sidebar-wrap.right .socialicons {
	justify-content: flex-end;
	}

footer  .socialicons li {
	display: inline-block;
	}

social-label {
	text-transform: uppercase;
	font-size: 0.6em;
	letter-spacing: 1px;
	padding-left: 2px;
	}

footer .social-wrap i {
	line-height: 1.5em;
	vertical-align: middle;
	}

.footer-widget-area {
	display: flex;
	justify-content: center;
	}

.footer-sidebar {
	width: 25%;
	padding: 24px;
	padding-top: 19px;
	}

aside.footer-sidebar {
	margin: 0 12px;
	}

.footer-logo {
	box-sizing: border-box;
	display: flex;
	}

.footer-info-middle .footer-logo {
	justify-content: center;
	}

.footer-info-right .footer-logo {
	justify-content: flex-end;
	}

.footer-logo img {
	display: block;
	width: auto;
	}

.footer-info-wrap {
	padding: 24px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	}

.footer-info {
	width: 33.33%;
	}

.footer-info-left {
	text-align: left;
	margin: 0 12px 0 60px;
	padding-left: 0;
	}

.footer-info-middle {
	text-align: center;
	margin: 0 12px;
	}

.footer-info-right {
	text-align: right;
	margin: 0 60px 0 12px;
	padding-right: 0;	
	}

.footer-text {
	margin: 8px 0;
	}

/*  Divider */
.divider {
	clear:both;
	display:block;
	padding-top: 29px;
	margin-bottom:22px;
	width:40px;
	border-bottom: 2px solid #ddd;
	margin-left: auto;
	margin-right: auto;
	}


/* BLOG GENERAL */
.header-screen-reader-text {
	width: 100%;
	}

.site-main {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 60px 0 72px;
	}

#content.has-thumb .site-main {
	padding-top: 0;
	}

.sidebar-below-title .site-main,
.sidebar-below-thumb .site-main {
	padding: 30px 0;
	}

.fullwidth-overlay .site-main {
	padding: 0 0 30px 0;
	}

.sidebar-below-thumb .site-main {
	padding: 0 0;
	}

.site-main.no-padding-top {
	padding-top: 0;
	}

.site-main.no-padding-bottom {
	padding-bottom: 0;
	}

.blog .site-main{
	padding: 40px 0 0;
	} 

.archive .site-main,
.search .site-main  {
	padding: 0;
	} 

.blog .fullwidth-layout .site-main,
.archive .fullwidth-layout .site-main {
	padding-top: 0;
	}

.blog .post,
.archive .post,
.search .post,
.search .page {
	margin-bottom: 48px;
	}

.blog .post.post-masonry,
.archive .post.post-masonry,
.search .post.post-masonry,
.search .page.post-masonry,
.blog .post.post-masonryoverlay,
.archive .post.post-masonryoverlay,
.search .post.post-masonryoverlay,
.search .page.post-masonryoverlay {
	margin-bottom: 0;
	}

.post:last-of-type {
	//margin-bottom: 0;
	}

article.no-thumbnail {
	display: flex;
	flex-direction: column;
	justify-content: center;
	}

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

.article-content {
	//padding: 30px 36px 36px 36px;
	//padding: 0px 24px 30px 35px;
	padding: 0px 24px 30px 24px;
	}

article.no-thumbnail .article-content {
	padding: 24px 24px 30px 24px;
	}

.layout-belowimage .post-grid .article-content,
.container.grid-layout .article-content:not(.overimage) {
	//padding: 0px 36px 36px;
	//margin-top: -18px;
	//z-index: 999;
    //position: relative;
	}


.container.grid-layout .type-page .article-content {
	display: flex;
	height: 100%;
	align-items: center;
	justify-content: center;
	}

.layout-belowimage .entry-header.has-meta.has-meta-category,
.grid-layout .has-post-thumbnail .entry-header.has-meta.has-meta-category,
.masonry-layout .has-post-thumbnail .entry-header.has-meta.has-meta-category {
	margin-top: -18px;
	z-index: 999;
	position: relative;
	}

.no-meta .entry-meta {
	display: none;
	}

.no-meta .entry-title {
	margin-top: 24px;
	}

.entry-header.hide-title {
	display: none;
	}

.tnail.video-overlay a {
	position: relative;
	display: table-cell;
	}

.entry-header.overlay {
	margin-bottom: 24px;
	}

.entry-header:not(.width-narrow) .overlay-header-wrap {
	max-width: 80%;
	}

.page-content,
.blog .entry-content,
.archive .entry-content,
.search .entry-content,
.entry-summary {
	word-break: break-word;
	}

.page-content,
.entry-summary {
	margin: 40px 0 0;
	}

.entry-footer {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-top: 36px;
	}

.entry-footer .entry-footer-item {
	width: 33.33%;
	}

/* post tags */
.post-tags {
	//margin-top: 14px;
	}

.post-tag {
	display: inline-block;
	margin: 8px 4px 0 0;
	padding: 4px 18px;
	font-size: 0.8em;
	font-weight: 400;
	vertical-align: bottom;
	line-height: 19px;
	}

/* post share */
/* 300px keeps the share row from being squeezed next to the tags, but a min-width outranks
   max-width, so on a 320px phone the row overflowed its 272px column and the page scrolled
   sideways. min() caps it at the space available; wherever 300px fits nothing changes. */
.post-share {
	line-height: 19px;
	text-align: right;
	min-width: min(300px, 100%);
    max-width: 100%;
	}

.entry-header .post-share {
	text-align: left;
	margin-top: 36px;
	}

.share-text {
	display: inline;
	text-transform: uppercase;
	font-size: 0.8em;
	line-height: 0.7em;
	font-weight: 700;
	letter-spacing: 1px;
	text-align: right;
	margin-right: 4px;
	}

.entry-header .share-text {
	display: none;
	}

.post-share i {
	padding-right: 8px;
	font-size: 1.2em;
	}

.entry-header .post-share i {
	font-size: 1.4em;
	}

.post-share i:hover, .entry-content .socialicons a i:hover {
	transform: scale(1.2);
	transition: transform 0.5s ease;
	}


/* template tags */
.entry-meta .categories a, 
.entry-meta .categories a:link, 
.entry-meta .categories a:focus, 
.entry-meta .categories a:active, 
.postnavcat, 
.entry-header-wrap .categories a, 
.entry-header-wrap .categories a:link, 
.entry-header-wrap .categories a:focus, 
.entry-header-wrap .categories a:active,
.single .entry-header.overlay .categories a {
    position: relative;
    overflow: hidden;
    //transition: background-color 0.3s ease-in-out, color 0s linear 0.15s; /* text swaps halfway through the fade, so it never sits black-on-black or white-on-pink */
	}

.entry-meta {
	display: inline-block;
	font-weight: 400;
	}

.entry-meta-single {
	margin-top: 29px;
	margin-bottom: 3px;
	font-size: 0.8rem;
	}

.entry-meta .categories {
	display: block;
	//margin-bottom: 6px;
	}

.entry-meta .entry-meta-inner-wrap {
	padding-top: 12px;
	}

.categories a,
.postnavcat {
	margin-top: 6px;
	margin-bottom: 0px;
   	display: inline-block;
	}

.article-content.overimage .categories a,
.postnavcat {
	padding: 6px 12px;
	}

.single .entry-header-wrap .categories {
	//margin-bottom: 24px;
	}

.single .entry-header-wrap .categories a {
	font-size: 0.8em;
	line-height: 2em;
	font-weight: 500;
	padding-right: 8px;
	margin-top: 4px;
	margin-right: 6px;
	display: inline-block;
	}

.single .blog-bottom .categories a {
	margin-top: 0;
	margin-right: 0;
	}

.single .categories .location::before {
	content: '\f3c5';
  	font-family: "Font Awesome 6 free"; 
	font-weight: 900;
	padding-right: 4px;
	}

.overlay-content .entry-meta-single {
	margin-bottom: 0;
	}

.post-info .serif-italic {
	opacity: 0.7; 
	}

.post-info,
.wp-block-latest-posts__post-date,
.widget_recent_entries span {
	display: inline-block;
	text-transform: uppercase;
	font-style: normal;
	padding: 0;
	font-weight: 500;
	margin-top: 6px;
	}

.entry-meta-inner-wrap  .post-info:not(:last-child):after {
	content: "\b7";
	}

.wp-block-latest-posts__post-date {
	padding: 0;
	}

.wpp-list .post-stats span {
	text-transform: uppercase;
	font-style: normal;
	letter-spacing: 2px;
	}

.post-info .serif-italic {
	text-transform: none;
	letter-spacing: 1px;
	}

.post-info-comment i {
	padding-right: 2px;
	}


/* blog */
.tnail {
	overflow: hidden;
	position: relative;
	}

.tnail.square,
.tnail.square .tnail-zoom-wrap  {
	aspect-ratio: square;
	}

.tnail.portrait,
.tnail.portrait .tnail-zoom-wrap.widget_archive  {
	aspect-ratio: 2 / 3;
	}

.tnail.landscape,
.tnail.landscape .tnail-zoom-wrap  {
	aspect-ratio: 4 / 3;
	}

.tnail.square img,
.tnail.portrait img,
.tnail.landscape img {
	width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
	}

svg.wave-svg-right{
	position: absolute;
	top: 0;
	right: -2px;
	z-index: 9;
	fill: #fff;
	height: 100%;
	width: auto;
	}

.single svg.wave-svg-bottom {
	display: none;
	}

.single svg.wave-svg-right {
	display: block;
	}

.tnail-zoom-wrap {
	overflow: hidden;
	//transition: all 0.4s ease-in-out;
	transition: all 0.3s cubic-bezier(.57,.21,.69,1.25);
	width: 100%;
	//height: 100%;
	height: 100%;
	}

article:hover > .tnail > .tnail-zoom-wrap {
	transform:  scale3d(1.04, 1.04, 1.04);
	cursor: pointer;
	}

.section-blog.perrow-one article:hover > .tnail > .tnail-zoom-wrap {
	transform:  scale3d(1.01, 1.01, 1.01);
	}

.tnail img {
	width: 100%;
	display: block;
	min-height: 100%;
	}

.single .tnail img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	}

.single .image-uncropped .tnail img {
	aspect-ratio: auto;
	}

.entry-text {
	margin-top: 18px;
	}


/* blog grid layout */
.post-grid,
.post-gridoverlay {
	flex-basis: calc(25% - 24px);
	width: 25%;
	}

.search .post-grid,
.search .post-gridoverlay {
	flex-basis: calc(25% - 24px);
	width: 25%;
	}

.post-gridoverlay.no-padding {
	flex-basis: 25%;
	}


/* two */
.two-items .post-grid,
.two-items .post-gridoverlay {
	flex-basis: calc(50% - 24px);
	width: 50%;
	}

.two-items .post-gridoverlay.no-padding {
	flex-basis: 50%;
	}

/* three */
.three-items .post-grid,
.three-items .post-gridoverlay {
	flex-basis: calc(33% - 32px);
	width: 33%;
	}

.three-items .post-gridoverlay.no-padding {
	flex-basis: 33%;
	}

/* four */
.four-items .post-grid,
.four-items .post-gridoverlay {
	flex-basis: calc(25% - 36px);
	width: 25%;
	}

.four-items .post-gridoverlay.no-padding {
	flex-basis: 25%;
	}




.has-sidebar .post-grid,
.has-sidebar .post-gridoverlay  {
	flex-basis: calc(50% - 18px);
	width: 50%;
	}

.has-sidebar .post-gridoverlay.no-padding  {
	flex-basis:  50%;
	}

.blog .post.post-gridoverlay.no-padding {
	margin-bottom: 0;
	}

.post-gridoverlay {
	position: relative;
	overflow: hidden;
	display: flex;
	}

.post-gridoverlay .tnail-wrap {
	width: 100%;
	position: relative;
	overflow: hidden;
	}

.post-gridoverlay .tnailimage {
	position: relative;
	overflow: hidden;
	padding-top: 100%;
	min-width: 100%;
	height: auto;
	-webkit-background-size: cover;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	}

.post-gridoverlay .tnailimage-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	}

.post-gridoverlay .ratio-square.tnailimage {
	padding-top: 100%;
	}

.post-gridoverlay .ratio-portrait.tnailimage {
	padding-top: 150%;
	}

.post-gridoverlay .ratio-landscape.tnailimage {
	padding-top: 75%;
	}

.post-gridoverlay .tnailimage.no-tnail {
	background: #000;
	}

.post-gridoverlay .article-content {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 0;
	transition: all cubic-bezier(.4, 0, .2, 1) .4s;
	align-self: flex-end;
	z-index: 10;
	width: 100%;
	}


article.overimage .articlecontentwrap {
	//padding: 36px 36px;
	padding: 0px 24px 30px;
	width: 100%;
	}

article.overimage .articlecontentwrap.has-gradient {
	background-image: linear-gradient(to top, rgba(16,18,19,0.9) 0%,rgba(16,18,19,0) 90%);
	}

.layout-overimage article {
	background: transparent !important;
	}

/* blog masonry layout */
.masonry-item {
	flex-basis: 33.33%;
	width: 33.33%;
	padding: 0 18px 36px;
	}

.masonry-item article {
	width: 100%;
	}

.two-items .masonry-item {
	flex-basis: 50%;
	width: 50%;
	}

.has-sidebar .masonry-item{
	flex-basis: 50%;
	width: 50%;
	}

.post-masonry .tnail {
	margin: 0;
	}

.post-masonry .entry-content {
	padding: 0;
	margin-top: 0;
	}

.blog .container.masonry-layout .right-sidebar .widgets-wrap, 
.archive .container.masonry-layout .right-sidebar .widgets-wrap {
	margin-left: 6px;
	}


/* blog masonry overlay layout */
.post-masonryoverlay {
	flex-basis: calc(25% - 24px);
	width: 25%;
	}

.post-masonryoverlay.no-padding {
	flex-basis: 25%;
	}
.two-items .post-masonryoverlay {
	flex-basis: calc(50% - 18px);
	width: 50%;
	}
.two-items .post-masonryoverlay.no-padding {
	flex-basis: 50%;
	}
.has-sidebar .post-masonryoverlay  {
	flex-basis: calc(50% - 18px);
	width: 50%;
	}
.has-sidebar .post-masonryoverlay.no-padding  {
	flex-basis:  50%;
	}
.blog .post.post-masonryoverlay.no-padding {
	margin-bottom: 0;
	}
.post-masonryoverlay {
	position: relative;
	overflow: hidden;
	display: flex;
	}

/* ADDED: Container to maintain overlay positioning */
.image-container {
	position: relative;
	width: 100%;
	}

.post-masonryoverlay .tnail-wrap {
	width: 100%;
	position: relative;
	overflow: hidden;
	}

/* CHANGED: Updated for uncropped images */
.post-masonryoverlay .tnailimage.uncropped-image {
	width: 100%;
	height: auto;
	display: block;
	min-height: 280px;
	}

/* CHANGED: Placeholder for posts without images */
.post-masonryoverlay .tnailimage.placeholder-image {
	width: 100%;
	height: 280px;
	background: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	}

.placeholder-text {
	color: #6c757d;
	font-size: 14px;
	}

/* KEEP: Original background image styles for backward compatibility */
.post-masonryoverlay .tnailimage {
	min-width: 100%;
	height: auto;
	-webkit-background-size: cover;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	}

.post-masonryoverlay .tnailimage.no-tnail {
	background: #000;
	}
.post-masonryoverlay .article-content {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 0;
	transition: all cubic-bezier(.4, 0, .2, 1) .4s;
	align-self: flex-end;
	z-index: 10;
	width: 100%;
	}




/* blog list layout */
.post-list {
	display: flex;
	width: 100%;
	}

.post-list .tnail {
	margin: 0;
	flex: 0 0 40%;
	}

.post-list .entry-wrap {
	width: 100%;
	display: flex;
	}

.post-list.even-style .entry-wrap {
	overflow: hidden;	
	}

.blog .post-list.center-vertical .entry-wrap,
.archive .post-list.center-vertical .entry-wrap,
.search .post-list.center-vertical .entry-wrap  {
	align-items: center;
	}

.post-list .entry-inner {
	width: 100%;
	padding: 28px 60px;
	}

.post-list .entry-meta {
	margin-top: 14px;
	}

.post-list .button.button-more {
	margin-bottom: 12px;
	}

.blog .post.post-list.no-padding {
	margin-bottom: 0;
	}



/* odd child */
article.post-list.even-style:nth-child(even) .tnail {
	order: 2;
	margin: 0;
	}

article.post-list.even-style:nth-child(even) .tnail img {
	float: right;
	}

article.post-list.even-style:nth-child(even):not(.text-center) .entry-wrap,
article.post-list.even-style:nth-child(even):not(.text-center) .entry-header {	
	text-align: right;
	}

article.post-list.even-style:nth-child(even).post.sticky:before {
	right: 24px;
	}


/* single post */
.breadcrumbs {
	font-size: 1em;
	font-weight: 600;
	}

.breadcrumbs a {
	text-decoration: none;
	padding: 6px 18px;
	margin-right: 6px;
	}

.breadcrumbs a:hover {
	}



.single .site-main {
	display: block;
	padding-bottom: 0;
	padding-top: 0;
	}

.single .site-content {
	width: 100%;
	margin-top: 42px;
	margin-top: 24px;
	}

.single .entry-header.header-split {
	display: flex;
	margin-bottom: 56px;
	}

.single .entry-header.header-split.no-thumbnail  .entry-header-wrap {
	padding: 96px 24px 89px;
	}

.single .entry-header.header-split .entry-header-wrap {
	padding: 96px;
	margin: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	}

.single .entry-header.header-none .entry-header-wrap {
	padding: 96px 0;
	}

.single .entry-header.header-split:not(.no-thumbnail) .tnail, 
.single .entry-header.header-split:not(.no-thumbnail) .entry-header-wrap {
	flex-basis: 50%;
	}

.single .entry-header.header-none .tnail {
	display: none;
	}

.single .site-content.thumbnail-fullwidth-overlay {
	margin-top: 0;
	}

.single .entry-content {
	padding-top: 24px;
	}

.single .site-content.fullwidth-overlay .entry-content {
	margin-top: 0;
	}

.single .site-content.has-sidebar .site-main {
	padding-top: 0;
	}

.single .floating-right .entry-content {
	clear: left;
	}

.single .floating-left .entry-content {
	clear: right;
	}

.single #content.standard #primary.sidebar-below-thumb .entry-content {
	margin-top: -9px;;
	}

.entry-header.overlay {
	min-height: 720px;
	position: relative;
	}

.entry-header.overlay.hide-thumb {
	display: none;
	}

.overlay .image-fullbg {
	width: 100%;
	height: 100%;
	max-height: 100%;
	background-size: cover;
	box-sizing: border-box; 	 
	position: absolute !important;
	z-index: auto;
	background-attachment: fixed;
	background-position: center center;
	overflow: hidden;
	}

.single .overlay-content .entry-title, 
.single .overlay-content .entry-meta-single {
	text-shadow: 0px 0px 16px rgb(0 0 0 / 25%);
	}

.overlay.ismobile .image-fullbg {	 
	background-attachment: initial;
	}

.color-overlay { 
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;        
	}


.entry-header.header-fullwidth-overlay.fullviewheight {
	height: calc(100vh - 72px);
	}

.entry-header.entry-header-top{
	padding: 24px;
	text-align: center;
	}

 .single .site-content.sidebar-below-title .entry-header.entry-header-top {
	padding-bottom: 6px;
	}

.tnail.tnail-top {
	padding: 0;
	}

.floating-right #primary .tnail {
	float: right;
	padding-bottom: 24px;
	padding-left: 24px;
	width: 50%;
	}

.floating-right .entry-header {
	float: left;
	width: 50%;
	text-align: left;
	padding-right: 24px;
	}

.floating-left #primary .tnail {
	float: left;
	padding-bottom: 24px;
	width: 50%;
	padding-right: 24px;
	}

.floating-left .entry-header {
	float: right;
	width: 50%;
	text-align: left;
	}

.floating-left.hide-thumb .entry-header,
.floating-right.hide-thumb .entry-header {
	float: none;
	width: 100%;
	text-align: center;
	padding-right: 0;
	}

.floating-right .categories a,
.floating-left .categories a {
	padding: 0 24px 0 0;
	}

.floating-right h1, .floating-left h1, 
.floating-right h2, .floating-left h2,
.floating-right h3, .floating-left h3, 
.floating-right h4, .floating-left h4, 
.floating-right h5, .floating-left h5, 
.floating-right h6, .floating-left h6 {
	clear: none;
	}

.blog-content-wrap {
	width: 100%;
	padding-top: 48px;
	}

.single .sidebar-below-title .blog-content-wrap {
	padding-top: 0;
	}

.single .blog-content-wrap {
	padding-top: 0;
	}
	
.single .site-content.inactive-sidebar .entry-header.entry-header-top {
	padding-top: 90px;
	}

.single .sidebar-below-thumb .blog-content-wrap {
	padding-top: 48px;
	}

.single .site-content.fullwidth-overlay .blog-content-wrap,
.single .site-content.fullwidth .blog-content-wrap {
	padding-top: 66px;
	}

.single .post {
	width: 100%;
	padding-bottom: 0;
	}

.featured-image-fullwidth-overlay .right-sidebar {
	margin-top: 0;
	}





/* related posts + previous and next post */
.single .blog-bottom-post-title,
.single .postnavlink {
	margin-top: 8px;
	}

.related-posts .has-thumbnail .article-content,
.has-thumbnail .next-post-left,
.has-thumbnail .prev-post-right  {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 0;
	transition: all cubic-bezier(.4, 0, .2, 1) .4s;
	align-self: flex-end;
	z-index: 10;
	width: 100%;
	pointer-events: none;
	}

.has-thumbnail .prev-post-right a,
.has-thumbnail .next-post-left a,
.related-posts .has-thumbnail .article-content a {
	pointer-events: auto;
	}

.related-posts .has-thumbnail .articlecontentwrap,
.nav-previous.has-thumbnail .prev-post-right,
.nav-next.has-thumbnail .next-post-left  {
	border-radius: 0 0 6px 6px;
	padding: 120px 36px 30px;
	background-image: linear-gradient(to top, rgba(16,18,19,0.46) 0%,rgba(16,18,19,0) 100%);
	}




/* related posts */
.related-posts {
	width: 100%;
	word-break: break-word;
	margin-top: 48px;
	margin-bottom: 0;
	border-bottom: 0;
	padding: 48px 48px 48px;
	width: auto !important;
	max-width: 100vw;
	}

.related-articles-wrap {
	display: flex;
	justify-content: center;
	}

.related.section-title {
	margin-bottom: 42px;
	margin-top: -4px;
	text-align: center;
	}

.post.post-related {
	margin-right: 48px;
	padding-bottom: 0;
	width: 25%;
	position: relative;
	}

.post-related a,
.post-thumbnail,
.post-related img {
	height: 100%;
	object-fit: cover;
	}

.post-related.post-list {
	display: block;
	}    

.post-related:last-of-type {
	margin-right: 0;
	}

/* The image and the text share one grid cell, like the text over image cards of the Blog Posts block, so a
   long title or an extra pill makes the card taller. The text used to sit at the bottom of the image with
   position absolute and grew out above it, with its shade over the comments. */
.related-posts .post-related.has-thumbnail {
	display: grid;
	}

.related-posts .post-related.has-thumbnail > a,
.related-posts .post-related.has-thumbnail > .article-content {
	grid-area: 1 / 1;
	}

.related-posts .post-related.has-thumbnail img {
	display: block;
	width: 100%;
	}

.related-posts .has-thumbnail .article-content {
	position: relative;
	bottom: auto;
	left: auto;
	align-self: end;
	}


.related-posts article.no-thumbnail .article-content {
	padding: 24px;
	}

.single .related-posts .categories,
.single .post-navigation .categories {
	margin-bottom: 2px;
	}


/* previous and next post */

.post-navigation.no-prev-post.no-next-post {
	display: none;
	}

.post-navigation,
.site-main .post-navigation {
	width: 100%;
	//display: flex;
	//justify-content: space-between;
	word-break: break-word;
	width: 100%;
	padding: 48px 0 0;
	}

.post-navigation.post-navigation-title {
	padding: 0 24px;
	margin-top: 48px;
	}

.nav-previous-next-wrap {
	display: flex;
	justify-content: space-between;
	gap: 48px;
	}

.nav-previous-wrap,
.nav-next-wrap {
	width: calc(50% - 24px);
	display: flex;
	flex-direction: column;
	}

.next-post-left,
.prev-post-right,
.nav-previous.has-thumbnail .prev-post-right,
.nav-next.has-thumbnail .next-post-left  { 
	width: 100%;
	padding: 30px 36px 30px 36px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	//min-height: 240px;
	}

.next-post-left {
	//justify-content: flex-end;
	}

.next-post-left .prev-next-arrow {
	margin-left: 18px;
	}

.prev-post-right .prev-next-arrow { 
	margin-right: 18px;
	}

.prev-next-arrow {
	font-weight: 900;
	font-size: 3rem;
	line-height: 0.7em;
	position: relative;
	//align-self: flex-end;
	}


.nav-previous .entry-meta-wrap,
.nav-next .entry-meta-wrap {
	padding-top: 12px;
	}


.post-navigation.no-prev-post .nav-previous-wrap, 
.site-main .post-navigation.no-prev-post .nav-previous-wrap,
.post-navigation.no-next-post .nav-previous-wrap, 
.site-main .post-navigation.no-next-post .nav-previous-wrap,
.site-main .post-navigation.no-next-post .nav-previous-next-wrap,
.post-navigation.no-prev-post .nav-previous-next-wrap  {
	//width: 50%;
	}

.post-navigation.no-prev-post, 
.site-main .post-navigation.no-prev-post  {
	//float: right;
	}

.no-prev-post .nav-previous-wrap {
	display: none;
	}

.no-next-post .nav-next-wrap {
	display: none;
	}

.no-prev-post .nav-next-wrap {
	width: 100%;
	}

.no-next-post .nav-previous-wrap {
	width: 100%;
	}

.prev-post-thumb,
.next-post-thumb {
	overflow: hidden;
	position: relative;
	width: 100%;
	}

.has-rounded-corners .prev-post-thumb,
.has-rounded-corners .next-post-thumb {
	border-radius: 6px;
	}

.prev-post-thumb a,
.next-post-thumb a {
	display: block;
	}

.prev-post-thumb img,
.next-post-thumb img {
	vertical-align: top;
	width: 100%;
	height: auto;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	}

.nav-previous:hover .prev-post-thumb .tnail-zoom-wrap,
.nav-next:hover .next-post-thumb .tnail-zoom-wrap {
	transform: scale3d(1.04, 1.04, 1.04);
	cursor: pointer;
	}


.prev-post-thumb{ 
	float: left; 
	margin-right: 24px;
	}

.next-post-thumb { 
	float: right; 
	margin-left: 24px;
	}

.post-nav-top-text,
h3.post-nav-top-text {
	display: block;
	margin-bottom: 20px;
	margin-right: -2px;
	}

.nav-previous,
.nav-next {
	width: 100%;
	font-weight: 400;
	position: relative;
	}

.nav-previous-wrap .post-nav-top-text,
.nav-previous {
	text-align: left;
	}

.nav-next-wrap .post-nav-top-text,
.nav-next {
	text-align: right;
	}

.postnavlink {
	display: block;
	}

.next-post-left .fa-arrow-right {
	padding-left: 4px;
	margin-right: -4px;
	}


/* archives page */
.archive .post {
	box-shadow: 0px 1px 3px rgba(20, 20, 22, 0.02);
	}

.archive-page-header {
	text-align: center;
	width: 100%;
	}

.category-intro-wrap {
	width: 100%;
	margin-top: -24px;
	z-index: 9;
	margin-bottom: 62px;
	display: flex;
	justify-content: space-between;
	}

.category-intro {
	width: 65%;
	max-width: 100%;
	padding-right: 12px;
	}

.category-map {
	width: 35%;
	max-width: 100%;
	padding-top: 36px;
	margin-bottom: -120px;
	padding-left: 24px;
	}



/* page */
article.page {
	//padding: 0 60px;
	padding: 0 48px;
	width: 100%;
	}

.page-fullbg {
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center center;
	}

.page-fullbg .container {
	margin: 0 auto;
	}

.page-fullbg .entry-content {
	padding: 24px;
	}


/* page with sidebar */
.page-template-page-with-sidebar #primary.has-sidebar .content-sidebar-wrap {
	display: flex;
	flex-direction: row;
	}

.page-template-page-with-sidebar #primary.has-sidebar .entry-content {
	width: calc(100% - 348px - 24px);
	margin-right: 24px;
	}


/* search page */ 

.search article.page {
	padding: 0;
	}

.search .woocommerce {
	padding: 24px;
	overflow: hidden;
	}



/* not found */
.not-found {
	text-align: center;
	width: 100%;
	display: inline-block;
	margin: 120px 0 132px;
	padding: 24px;
	}

.archive .not-found {
	margin: 60px 0 120px;
	}

.search .not-found {
	margin-top: 0px;
	}

.page-title.nothingfound-title {
	margin: 0 0 24px;
	display: block;
	}

.archive .page-title.nothingfound-title,
.search .nothingfound-title {
	//font-size: 1.6em;
	}

.not-found .searchform {
	max-width: 400px;
	margin: 48px auto 0;
	display: flex;
	}

.not-found input.search-field, 
.not-found input.search-field[type="search"] {
	padding: 0;
	}

.not-found button.button-searchform {
	margin-left: 12px;
	}

.not-found .search-container {
	margin-top: 42px;
	}

.error404 .map_wrapper,
.search .map_wrapper,
.not-found .map_wrapper {
    margin-top: 48px;
}



/* FAQ */
p.question {
	padding: 12px 24px;
	margin: 0;
	}

p.answer {
	padding: 0 24px 24px;
	margin: 0;
	}

.question {
	cursor: pointer;
	display: block;
	outline: none;
	position: relative;
	width: 100%;
	border-top: 1px solid rgba(200,200,200,0.3)
	}

.question:first-of-type {
	border: none;
	}

.question:before {
	background: #101020;
	content: '';
	height: 3px;
	margin-right: 37px;
	position: absolute;
	left: 0;
	top: 26px;
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	transform: rotate(90deg);
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	width: 14px;
	}

.question:after {
	background: #101020;
	content: '';
	height: 3px;
	margin-right: 37px;
	position: absolute;
	left: 0;
	top: 26px;
	width: 14px;
	}

.question.active:before {
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-ms-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	}

.question.active h2, 
.question:focus h2 {
	position: relative;
	}

.answer {
	display: none;
	overflow: hidden;
	}


















/*-------------------------------------
 BLOCKS ---------------------------
--------------------------------------*/


/* alignfull and alignwide no sidebar ***************/
.no-sidebar .entry-content  > .alignwide,
.no-sidebar .entry-content > .alignfull,
.hide-sidebar .entry-content > .alignwide,
.hide-sidebar .entry-content > .alignfull,
.inactive-sidebar .entry-content > .alignwide,
.inactive-sidebar .entry-content > .alignfull {
	width: auto !important;
	max-width: 100vw;
	}

.no-sidebar .entry-content .alignfull,
.hide-sidebar .entry-content .alignfull,
.inactive-sidebar .entry-content .alignfull {
	margin-left  : calc( -100vw / 2 + 100% / 2 );
	margin-right : calc( -100vw / 2 + 100% / 2 );
	}

.no-sidebar .entry-content .wp-block-heading.alignfull,
.hide-sidebar .entry-content .wp-block-heading.alignfull,
.inactive-sidebar .entry-content .wp-block-heading.alignfull,
.no-sidebar .entry-content .subtitle-above.alignfull,
.no-sidebar .entry-content p.alignfull,
.hide-sidebar .entry-content p.alignfull,
.inactive-sidebar .entry-content p.alignfull,
.no-sidebar .entry-content .wp-block-columns.alignfull,
.hide-sidebar .entry-content .wp-block-columns.alignfull,
.inactive-sidebar .entry-content .wp-block-columns.alignfull {
	padding-left: 48px;
	padding-right: 48px;
	}

.no-sidebar .entry-content .alignwide,
.hide-sidebar .entry-content .alignwide,
.inactive-sidebar .entry-content .alignwide {
	margin-left: calc(25% - 25vw);
	margin-right: calc(25% - 25vw);
	}
 

/* alignfull and alignwide has sidebar ***************/
.show-sidebar.active-sidebar .entry-content .alignwide {
	//width: calc(100% + 60px);
	//max-width: calc(100% + 60px);
	//-webkit-transform: translateX(-60px);
	//transform: translateX(-60px);
	margin-left: calc((25% - 25vw) + 120px);
	}

.show-sidebar.active-sidebar .entry-content .alignfull {
	margin-left: calc((-100vw / 2) + (100% / 2) + 236px);
	}



   


/*-------------------------------------
## SIDEBARS ---------------------------
--------------------------------------*/

#sidebar-home,
#sidebar-archives {
	padding-bottom: 30px; /* match pagination */
	margin-top: 30px;
	}

.fullwidth-layout #sidebar-home, 
.fullwidth-layout #sidebar-archives {
	margin-top: 0;
	}

#sidebar-main {
	padding-bottom: 48px; /* match pagination */
	margin-top: 48px;
	}

.right-sidebar .widgets-wrap {
	padding: 24px;
	margin-bottom: 24px;
	}

.blog .right-sidebar .widgets-wrap,
.archive .right-sidebar .widgets-wrap,
.single .right-sidebar .widgets-wrap {
	padding: 0;
	margin-left: 24px;
	}

.right-sidebar section:first-of-type {
	margin-top: 0;
	}














/*-------------------------------------
## PAGINATION --------------------------
--------------------------------------*/

nav#pagination:empty {
	display: none;
	}

nav#pagination {
	overflow: hidden;
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 18px;
	}

.search nav#pagination {
	padding: 0 0 24px;
	}

.pagination_main i {
	font-size: 14px;
	line-height: 10px;
	}

.prev.page-numbers,
.next.page-numbers {
	display: none;
	}

.pagination_main span,
.pagination_main a,
.page-numbers {
	display:block;
	float:left;
	margin-right: 6px;
	padding: 8px 18px;
	width: 48px;
    	height: 48px;
	text-decoration:none;
	font-weight: 500;
	text-align: center;
	}

/* single post pagination */
.page-links {
	font-size: 14px;
	line-height: 10px;
	padding-top: 24px;
	font-weight: 600;
	}

.post-page-numbers {
	display: inline-block;
	padding: 15px 15px;
	text-decoration:none;
	width:auto;
	font-weight: 500;
	font-size: 18px;
	}


/*-------------------------------------
## COMMENTS ---------------------------
--------------------------------------*/

#comments,
single #comments {
	width: 100%;
	display: block;
	margin-top: 48px !important;
	}

/* The panel's background is the Customizer's Colors > "Header, Comments Section, Related Posts Section".
   Font sizes are in em so they follow the base font size. */
.comments-panel {
	padding: 30px 36px 36px;
	}

.comments-header {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px 24px;
	}

.comments-panel .comments-title {
	display: flex;
	align-items: baseline;
	gap: 0.35em;
	margin: 0;
	font-size: 2.2em;
	line-height: 1.1;
	}

.comments-count {
	font-size: 0.65em;
	font-style: italic;
	font-weight: 400;
	color: #8fa9b5;
	}

/* Show / Hide Comments is a button dressed as the theme's text links: the underline and its
   hover colour come from Customizer > Colors > Links (css/blocks.css + Kirki). line-height: normal
   puts the underline where it sits on an inline link, as for .wp-block-read-more. */
.comments-header .show-comments {
	flex-shrink: 0;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background-color: transparent;
	color: inherit;
	font-family: inherit;
	font-size: 0.78em;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: normal;
	text-transform: uppercase;
	white-space: nowrap;
	}

.comment-list-wrap {
	padding-top: 44px;
	}

.comment-list,
.comment-list .children {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
	}

.comment-list {
	gap: 40px;
	}

/* replies line up with the text of the comment they answer: circle + gap */
.comment-list .children {
	gap: 28px;
	margin-top: 28px;
	margin-inline-start: 72px;
	}

.comment-list .children .children {
	margin-inline-start: 56px;
	}

.comment-list li {
	margin: 0;
	padding: 0;
	list-style: none;
	border: 0;
	}

.single-comment {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	gap: 20px;
	}

/* the commenter's initial, in the headline font: the circle takes the comment form's field
   colour, the post author's the category pill colours (both in Customizer > Colors) */
.comment-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	font-size: 22px;
	line-height: 1;
	}

.comment-main {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	padding-top: 2px;
	}

.comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 6px;
	font-size: 0.78em;
	letter-spacing: 0.06em;
	line-height: 1.5;
	}

.comment-meta-author,
.bypostauthor > .single-comment .comment-meta {
	align-items: center;
	column-gap: 8px;
	}

.comment-author-name,
.comment-date {
	text-transform: uppercase;
	letter-spacing: 0.1em;
	}

.comment-author-name {
	font-weight: 800;
	overflow-wrap: anywhere; /* a long name without spaces still fits on a phone */
	}

.comment-author-name a,
.comment-author-name a:link {
	color: inherit;
	}

.comment-date {
	font-weight: 600;
	}

.comment-meta-on {
	opacity: 0.75;
	}

.comment-author-tag {
	display: inline-block;
	padding: 4px 7px;
	font-size: 0.79em;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1;
	text-transform: uppercase;
	}

.has-rounded-corners .comment-author-tag {
	border-radius: 4px;
	}

.comment-awaiting-moderation {
	margin: 0;
	font-size: 0.78em;
	font-style: italic;
	opacity: 0.75;
	}

.comment-text {
	font-size: 0.8em;
	line-height: 1.7;
	text-wrap: pretty;
	}

.comment-text p {
	margin: 0;
	}

.comment-text p + p {
	margin-top: 0.8em;
	}

.comment-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 24px;
	padding-bottom: 6px;
	font-size: 0.84em;
	font-weight: 700;
	}

/* The flex row makes the links blocks a full line tall, which put the underline (90% down
   the box) below the letters. line-height: normal gives them an inline link's height. */
.comment-actions a {
	line-height: normal;
	}

.comment-edit-link,
.comment-edit-link:link {
	opacity: 0.6;
	}

/* replies: smaller circle and text */
.comment-list .children .single-comment {
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 16px;
	}

.comment-list .children .comment-avatar {
	width: 40px;
	height: 40px;
	font-size: 18px;
	}

/* the reply form, which comment-reply.js moves below the comment being answered */
#comments .comment-list #respond {
	width: auto;
	margin: 28px 0 0;
	margin-inline-start: 72px;
	padding: 0;
	}

#comments .comment-list .children #respond {
	margin-inline-start: 56px;
	}

.comments-panel .nav_pagination_bottom {
	margin-top: 44px;
	}

.comments-panel p.no-comments {
	margin: 0;
	padding: 24px 0 0;
	text-align: start;
	}

#cancel-comment-reply-link {
	font-weight: 600;
	}

/* form */
.comment-form {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	text-align: left;
	}

.single #respond {
	margin-top: 48px;
	padding: 24px 36px 36px;
	}


a#cancel-comment-reply-link {
	margin: 24px 0;
    display: block;
    width: max-content;
	}

.comment-form .comment-form-comment label,
.comment-form .comment-form-author label,
.comment-form .comment-form-email label,
.comment-form .comment-form-url label {
	display: block;
	text-align: left;
	}

.comment-notes {
	display: none;
	}

.comment-form-comment {
	width: 100%;
	margin-bottom: 0;
	}

textarea#comment {
	padding: 24px;
	}

.comment-form-author,
.comment-form-email, 
.comment-form-url  {
	flex: 0 1 auto;
	width: 31%;
	}

.comment-form-author input,
.comment-form-email input, 
.comment-form-url input {
	max-width: 100%;
	}

p.form-submit {
	margin: 12px 0 0 0;
	width: 100%;
	text-align: right;
	}

p.no-comments {
	text-align: center;
	padding: 24px;
	text-transform: uppercase;
	letter-spacing: 4px;
	font-size: 0.7em;
	font-weight: 500;
	}

p.comment-form-cookies-consent {
	font-size: 0.8em;
	}

p.comment-form-cookies-consent label {
	font-weight: 400;
	}

.comment-form input#wp-comment-cookies-consent {
	vertical-align: middle;
	margin: 0 6px 0 0;
	}

p.logged-in-as {
    font-size: 0.84em;
}


/*-------------------------------------
## BUTTONS ---------------------------
--------------------------------------*/

button,
.button,
.button-outline,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	cursor: pointer;         
	overflow: visible;
	display: inline-block;
	//text-transform: uppercase;
	text-align: center;  
	font-size: 0.9rem;
	//letter-spacing: 2px;
	text-decoration: none;
	-webkit-appearance: none;
	word-break: initial;
	white-space: nowrap;
	line-height: inherit;  
	border: none;
	padding: 7px 38px;
	font-weight: 600;
	}

.widget-area button {
	padding: 1px 14px;
	}

.button.button-more {
	padding-top: 3px;
	padding-bottom: 3px;
	}

.button.button-outline {
	padding: 7px 36px;
	border-width: 2px;
	border-style: solid;
	}

.button-outline, 
a.button.button-outline {  
	background: transparent; 
	padding: 5px 38px;  
	border-width: 2px;
	border-style: solid;
	}

.button-large {
	font-size: 0.8rem;
	height: 48px;
	line-height: 46px;
	}

.button-large.button-outline {
	line-height: 48px;
	}

a.more-link {
	display: block;
	border: 0 !important;
	line-height: 33px;
	font-size: 0.9em;
	margin-top: 12px;
	margin-bottom: -12px;
	}
	
.more-link .button.button-more.button-outline {
	border-top: none;
	border-left: none;
	border-right: none;
	border: 0 !important;
	border-color: inherit;
	padding: 0 0 6px;
	line-height: 1em;
	border-radius: 0;
	}

h2.entry-title:hover ~ .button-more,
.more-link .button.button-more.button-outline:hover {
	background: rgba(255, 255, 255, 0.2) !important;
	padding: 8px 12px;
	border-radius: 6px;
	margin-left: -12px;
	}

a.button-more.button.button-outline:hover, 
.button-more.button-outline:hover {
	background-color: transparent !important;
	}

.post-standard a.more-link {
	margin-top: 0;
	}

.post-list a.more-link {
	text-align: inherit;
	}

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

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


/*-------------------------------------
## FORMS -------------------------------
--------------------------------------*/

input[type="text"],
input[type="email"], 
input[type="tel"], 
select,
textarea  {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	box-shadow: none !important;
	}

input[type="color"], 
input[type="date"], 
input[type="datetime"], 
input[type="datetime-local"], 
input[type="email"], 
input[type="month"], 
input[type="number"], 
input[type="password"], 
input[type="search"], 
input[type="tel"], 
input[type="text"], 
input[type="time"], 
input[type="url"], 
input[type="week"], 
input:not([type]),
select,
textarea {
	background-clip: padding-box;
	border-radius: 0;
	box-shadow: none;
	box-sizing: border-box;
	text-align: left;
	font-style: normal;
	font-weight: 500;
	font-size: 1rem;
	width: 100%;
	}

input[type="checkbox"] {
	border-radius: 0;
	}

input[type="color"], 
input[type="date"], 
input[type="datetime"], 
input[type="datetime-local"], 
input[type="email"], 
input[type="month"], 
input[type="number"], 
input[type="password"], 
input[type="search"], 
input[type="tel"], 
input[type="text"], 
input[type="time"], 
input[type="url"], 
input[type="week"], 
input:not([type]) {
	height: 3rem;
	line-height: 3rem;
	padding: 0 1rem;
	}

input[type="number"] {
	padding-right: 0;
	}

input[type="submit"] {
	//height: 3rem;
	}

select {
	height: 3rem;
	line-height: 3rem;
	background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="grey" class="bi bi-chevron-down" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/></svg>') no-repeat right 1rem top 50%;
	background-size: 1rem 1rem;
	max-width: 100%;
	padding: 0 2rem 0 1rem;
	position: relative;
	text-overflow: ellipsis;
	width: 100%;
	background-color: transparent;
	}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
	left: 0;
	}


select[multiple] {
	height: auto;
	background: transparent;
	padding-top: 16px;
	}

textarea {
	height: 10rem;
	line-height: 1.5rem;
	padding: .6875rem 1rem;
	overflow: auto;
	}

input[type="checkbox"],
input[type="radio"] {
	padding: 0;
	margin: 0 2px 0 0;
	height: initial;
	vertical-align: baseline;
	}

input[type="checkbox"] {
	-webkit-appearance: checkbox;
	
	}

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

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

legend {
	border: 0;
	padding: 0;
	}

.post-password-form input {
	display: block;
	margin-top: 12px;
	width: 300px;
	max-width: 100%;
	}

input[type="color"]:focus, 
input[type="date"]:focus, 
input[type="datetime"]:focus, 
input[type="datetime-local"]:focus, 
input[type="email"]:focus, 
input[type="month"]:focus, 
input[type="number"]:focus, 
input[type="password"]:focus, 
input[type="search"]:focus, 
input[type="tel"]:focus, 
input[type="text"]:focus, 
input[type="time"]:focus, 
input[type="url"]:focus, 
input[type="week"]:focus, 
input:not([type]):focus,
select:focus, 
textarea:focus {
	outline: 0;
	box-shadow: none;
	}

/* contact form 7 */
.wpcf7 p {
	margin-bottom: 24px;
	}

.wpcf7 p select option {
	padding: 0;
	}

span.wpcf7-list-item {
	margin: 0 24px 0 0;
	}


/* open table */
.picker__holder *, 
.picker__holder *:before, 
.picker__holder *:after {
	box-sizing: initial;
	}

h1.ot-title {
	display: none;
	}

#primary .ot-dtp-picker {
	background: transparent;
	width: 480px;
	max-width: 100%;
	margin: 0 auto;
	border-radius: 0;
	padding: 0;
	}

#primary .ot-dtp-picker.wide {
	width: 100%;
	}

#primary .ot-dtp-picker .ot-dtp-picker-form {
	border: none;
	border-radius: 0;
	background: transparent;
	}

.ot-dtp-picker input[type="submit"] {
	box-shadow: none;
	}

#primary .ot-dtp-picker .ot-dtp-picker-button {
	border-radius: 0;
	box-shadow: none !important;
	-webkit-box-shadow: none !important;
	}

#primary .ot-dtp-picker .ot-dtp-picker-selector {
	border: 1px solid;
	margin-bottom: 24px;
	box-sizing: initial;
	}

#primary .ot-dtp-picker.wide .ot-dtp-picker-form .ot-dtp-picker-selector,
#primary .ot-dtp-picker.wide .ot-dtp-picker-form .ot-dtp-picker-button {
	width: calc(25% - 14px);
	box-sizing: border-box;
	min-width: 160px;
	margin: 0 8px;
	}


#primary .ot-dtp-picker .ot-dtp-picker-selector:hover .ot-dtp-picker-selector-link:focus-visible,
.ot-dtp-picker-selector-link.ot-date-label.ot-dtp-picker-label.picker-opening:focus-visible {
	outline: -webkit-focus-ring-color auto 6px;
	}

#primary .ot-dtp-picker .ot-dtp-picker-selector .ot-dtp-picker-selector-link.ot-date-label.menu-opened, 
#primary .ot-dtp-picker .ot-dtp-picker-selector .ot-dtp-picker-selector-link.ot-select-label.highlighted, 
#primary .ot-dtp-picker .ot-dtp-picker-selector:hover .ot-dtp-picker-selector-link.ot-date-label.menu-opened, 
#primary .ot-dtp-picker .ot-dtp-picker-selector:hover .ot-dtp-picker-selector-link.ot-select-label.highlighted {
	outline: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	}






/*-------------------------------------
## CURSOR -----------------------------
--------------------------------------*/
.makai-cursor {
	height: 6px;
	width:  6px;
	border-radius: 50%;
	position: absolute;
	transform: translate(-50%, -50%);
	pointer-events: none;
	z-index: 9999;
	}

.makai-cursor.cursor-follower {

    	border: 2px solid;
	opacity: 0.5;
	height: 36px;
	width:  36px;
	transition: top .05s, left .05s,
	      width .1s, height .1s;
	transition-timing-function: ease-out;
	z-index: 9999;
	}

.makai-cursor.cursor-dot {
	background: #16b6f2;
	background: #21b0a6;
	background: #92DCE5;
	opacity: 0.8;
	transition: width .05s, height .05s;
	}


.cursor-follower.focus {
	height: 60px;
	width:  60px;
	}

.cursor-dot.focus,
.cursor-dot.focusimg {
	height: 8px;
	width:  8px;
	}



/*-------------------------------------
## IMAGES ------------------------------
--------------------------------------*/

img     {
	position: relative;
	height: auto;
	font-size: 0;
	}

a img {
	border:none;
	vertical-align:top;
	}

.entry-content a.links_to_image {
	border: 0;
	}

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

.alignleft,
.alignright,
.aligncenter,
.alignnone {
	margin-bottom: 24px;
	}

.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	}

.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	text-align: right;
	}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	}


/* captions */
.wp-caption {
	max-width: 100%;
	}

.wp-caption.alignright {
	text-align: right;
	}

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

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

.wp-caption-text,
.gallery-caption {
	margin-top: 12px;
	margin-bottom: 36px;
	font-size: 0.7rem;
	text-align: center;
	}






/*-------------------------------------
## MEDIA -------------------------------
--------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
	}


/*-------------------------------------
## ACCESSABILITY ---------------------------
--------------------------------------*/


/* 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: #21759b;
	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;
	}


/*-------------------------------------
## RECOMMENDED PLUGINS -------------------
--------------------------------------*/

/* Table of Contents */
#ez-toc-container {
	border: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	padding: 36px;
	}

#ez-toc-container .ez-toc-title-container p {
	margin-bottom: 18px;
	display: block;
	}


#ez-toc-container .ez-toc-title {
	font-weight: bold !important;
	}

div#ez-toc-container ul li, div#ez-toc-container ul li a {
	font-weight: inherit;
	}

#ez-toc-container ul li {
	margin-top: 0.5rem;
	margin-bottom: 5px;	
	}

#ez-toc-container a:visited {
	color: initial;
	}


#ez-toc-container:not(.ez-toc-black):not(.ez-toc-custom) a.ez-toc-link{
	text-shadow: 0 0 #fff, 0.054em 0 0 rgba(255, 255, 255, .66), 0 0.045em 0 rgba(255, 255, 255, .66), -0.054em 0 0 rgba(255, 255, 255, .66);
	}

#ez-toc-container.ez-toc-transparent {
	padding: 0;
	}


/* easy table of contents color schemes */
#ez-toc-container {
	background-color: #f9f9fa;
	}

#ez-toc-container.ez-toc-light-blue {
	background: #f7fbfd;
	}
#ez-toc-container.ez-toc-light-blue a.ez-toc-link::before {
	color: #c4d3db !important;
	}

#ez-toc-container.ez-toc-grey a.ez-toc-link::before,
#ez-toc-container.ez-toc-white a.ez-toc-link::before,
#ez-toc-container.ez-toc-black a.ez-toc-link::before,
#ez-toc-container.ez-toc-transparent a.ez-toc-link::before  {
	color: #a4b3bb !important;
	}

#ez-toc-container.ez-toc-white,
#ez-toc-container.ez-toc-transparent {
	padding: 0;
	}






/* "wrap text" alignments float the box; a heading after it clears the float,
   which swallows the heading's 48px top margin, so the float carries the gap */
#ez-toc-container.ez-toc-wrap-left-text,
#ez-toc-container.ez-toc-wrap-right-text {
	margin-bottom: 48px;
	}

/* "Toggle view" (Easy TOC > Settings > Toggle View, JS loading): the title and the
   show/hide button share one row and the list follows 24px below it. :has() keeps the
   TOC without a toggle exactly as it was (its title container holds an empty
   .ez-toc-title-toggle span). The flex row puts the button on the left in RTL. */
#ez-toc-container .ez-toc-title-container:has(.ez-toc-toggle) {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	}

#ez-toc-container .ez-toc-title-container:has(.ez-toc-toggle) .ez-toc-title {
	margin: 0;
	min-width: 0;
	}

/* jQuery's slide animates the margin too, and a collapsed (display: none) list drops it */
#ez-toc-container .ez-toc-title-container:has(.ez-toc-toggle) ~ nav > .ez-toc-list {
	margin-top: 24px;
	}

/* the first item's 0.5rem top margin would push it below the gap (and below the
   first item of the second column, whose margin the column break swallows) */
#ez-toc-container .ez-toc-title-container:has(.ez-toc-toggle) ~ nav > .ez-toc-list > li:first-child {
	margin-top: 0;
	}

#ez-toc-container .ez-toc-title-toggle {
	flex: none;
	}

/* the button: the plugin floats it, nudges the icon box 10px outwards (clipped by
   the box edge) and paints a grey bootstrap gradient */
#ez-toc-container a.ez-toc-toggle,
#ez-toc-container a.ez-toc-toggle:visited {
	display: flex;
	align-items: center;
	justify-content: center;
	float: none !important;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	color: inherit;
	background: none;
	border: 1px solid rgba(58, 58, 59, .25);
	border-color: color-mix(in srgb, currentColor 25%, transparent);
	border-radius: 0;
	box-shadow: none;
	text-shadow: none;
	transition: background-color .3s, border-color .3s;
	}

.has-rounded-corners #ez-toc-container a.ez-toc-toggle {
	border-radius: 6px;
	}

#ez-toc-container a.ez-toc-toggle:hover,
#ez-toc-container a.ez-toc-toggle:focus-visible {
	background-color: rgba(58, 58, 59, .06);
	background-color: color-mix(in srgb, currentColor 6%, transparent);
	border-color: currentColor;
	}

#ez-toc-container a.ez-toc-toggle:focus {
	outline: none;
	}

#ez-toc-container a.ez-toc-toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
	}

#ez-toc-container.ez-toc-black a.ez-toc-toggle {
	color: #fff;
	}

#ez-toc-container .ez-toc-toggle .ez-toc-js-icon-con,
#ez-toc-container .ez-toc-toggle .ez-toc-js-icon-con > span {
	display: flex;
	float: none;
	position: static;
	width: auto;
	padding: 0;
	border: 0;
	}

#ez-toc-container .ez-toc-toggle .ez-toc-icon-toggle-span {
	width: auto;
	height: auto;
	gap: 1px;
	}

/* the icon is painted inline in the plugin's "custom title colour", which the
   other colour schemes ignore (white on the light schemes), so it follows the text */
#ez-toc-container:not(.ez-toc-custom) .ez-toc-toggle .ez-toc-icon-toggle-span svg {
	fill: currentColor !important;
	color: inherit !important;
	}





/*-------------------------------------
## RESPONSIVE LAYOUT -------------------
--------------------------------------*/


/* ## Large Devices and Wider Screens -------------------------------------------------*/
@media only screen and (max-width: 1200px) { 

	/* Pages keep their 48px side padding down to the tablet breakpoint, so the content lines up with the
	   header. */

	.no-sidebar .entry-content .alignwide, 
	.hide-sidebar .entry-content .alignwide, 
	.inactive-sidebar .entry-content .alignwide {
		margin-left: 0;
		margin-right: 0;
		}

	/* Related posts: two per row. Four in a row left cards of 130 to 240px, too narrow for the text. Square
	   images down to 600px (see below), one per row under 600px. */
	.related-articles-wrap {
		flex-wrap: wrap;
		gap: 48px;
		}

	.post.post-related {
		width: calc(50% - 24px);
		margin-right: 0;
		}

}


/* Related posts: square images while they are two per row. Portrait ones made the two rows up to 1700px
   tall. */
@media only screen and (min-width: 600px) and (max-width: 1200px) { 

	.related-posts .post-related.has-thumbnail img {
		aspect-ratio: 1 / 1;
		}

}



/* ## Tablet Landscape -------------------------------------------------*/
@media only screen and (max-width: 1024px) { 


}



/* ## Tablet Portrait -------------------------------------------------*/

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

	.container,
	.single .site-content.show-sidebar.active-sidebar .container,
	.single .site-content.width-wide .container {
		display: block;
		max-width: 100%;
		}

	article.page  {
		padding-left: 18px;
		padding-right: 18px;
		}

	/* Full width text blocks get the same 18px side space as the rest of the page content */
	.no-sidebar .entry-content .wp-block-heading.alignfull,
	.hide-sidebar .entry-content .wp-block-heading.alignfull,
	.inactive-sidebar .entry-content .wp-block-heading.alignfull,
	.no-sidebar .entry-content .subtitle-above.alignfull,
	.no-sidebar .entry-content p.alignfull,
	.hide-sidebar .entry-content p.alignfull,
	.inactive-sidebar .entry-content p.alignfull,
	.no-sidebar .entry-content .wp-block-columns.alignfull,
	.hide-sidebar .entry-content .wp-block-columns.alignfull,
	.inactive-sidebar .entry-content .wp-block-columns.alignfull {
		padding-left: 18px;
		padding-right: 18px;
		}

	/* With the sidebar below the post, wide and full blocks behave as on posts without a sidebar: wide
	   is the text width, full runs edge to edge. The desktop offsets pushed them 108/212px to the right. */
	.show-sidebar.active-sidebar .entry-content .alignwide {
		margin-left: 0;
		margin-right: 0;
		}

	.show-sidebar.active-sidebar .entry-content .alignfull {
		margin-left: calc( -100vw / 2 + 100% / 2 );
		margin-right: calc( -100vw / 2 + 100% / 2 );
		}

	.show-sidebar.active-sidebar .entry-content .wp-block-heading.alignfull,
	.show-sidebar.active-sidebar .entry-content .subtitle-above.alignfull,
	.show-sidebar.active-sidebar .entry-content p.alignfull,
	.show-sidebar.active-sidebar .entry-content .wp-block-columns.alignfull {
		padding-left: 24px;
		padding-right: 24px;
		}


	.wc-block-grid  {
		padding-left: 0;
		padding-right: 0;
		}

	.single .entry-header.header-split {
		display: flex;
		flex-direction: column;
		}

	#primary {
		width: 100%;
		}

	nav#pagination {
		display: inline-block;
		padding-left: 0;
		}

	.pagination_main,
	.nav_pagination_bottom {
		margin-left: 24px;
		}

	/* boxed archives and search already have a 24px gutter: line up with the post cards */
	.site-content.boxed-layout .pagination_main {
		margin-left: 0;
		}

	#primary.has-sidebar,
	#primary.sidebar-below-title, 
	#primary.sidebar-below-thumb {
		max-width: 100%;
		margin-right: 0;
		}

	.right-sidebar {
		max-width: 100%;
		margin-top: 24px;
		}

	.right-sidebar .widgets-wrap {
		display: flex;
		justify-content: space-between;
		flex: 0 0 300px;
		flex-wrap: wrap;
		}

	.right-sidebar .widget {
		width: calc(50% - 18px);
		}

	.post-grid {
		flex-basis: calc(50% - 12px);
		width: 50%;
		}
	
	#content.floating-left .blog-content-wrap,
	#content.floating-right .blog-content-wrap  {
		display: flex;
		flex-direction: column;
		}

	.floating-left .entry-header,
	.floating-left #primary .tnail,
	.floating-right .entry-header,
	.floating-right #primary .tnail {
		float: none;
		padding:  0;
		width: 100%;
		text-align: center;
		}


	.no-sidebar .entry-content .alignwide, 
	.inactive-sidebar .entry-content .alignwide {
		margin-left: 0;
		margin-right: 0;
		}

	/* media and text block */
	.wp-block-media-text.is-stacked-on-mobile {
		grid-template-columns: 100%!important;
		}

	.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
		grid-column: 1;
		grid-row: 2;
		}

	.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media {
		grid-column: 1;
		grid-row: 1;
		}

	.wp-block-media-text .wp-block-media-text__content {
		padding: 120px 48px;
		}


	/* footer */	
	.footer-widget-area,
	.footer-info-wrap {
		flex-wrap: wrap;
		}

	.footer-sidebar {
		width: calc(50% - 24px);
		}

	.footer-info-left {
		margin-left: 24px;
		}

	.footer-info-right {
		margin-right: 24px;
		}

	.footer-info {
		width: 100%;
		}

	.footer-info {
		text-align: center;
		margin: 12px 0 0 0;
		padding: 0 12px;
		}

	.footer-info:first-child {
		margin-top: 0;
		}

	.footer-logo {
		padding: 12px 0;
		}



	/* destination */
	.category-intro-wrap {
		margin-top: 0px;
		margin-bottom: 24px;
		display: flex;
		}


	/* blog */
	.tnail {
		width: 100%;
		}

	.blog .site-content.boxed-layout,
	.archive .site-content.boxed-layout,
	.search .site-content.boxed-layout {
		padding: 0 24px;
		}

	.post-gridoverlay.no-padding,
	.post-gridoverlay {
		flex-basis: 50%;
		}

	.post-grid {
		flex-basis: calc(50% - 12px);
		}

	/* three */
	.three-items .post-grid, 
	.three-items .post-gridoverlay {
	    flex-basis: calc(33% - 12px);
	    width: 33%;
		}


	/* four */
	.four-items .post-grid,
	.four-items .post-gridoverlay {
	flex-basis: calc(50% - 12px);
	width: 50%;
		}

	.four-items .post-gridoverlay.no-padding {
	flex-basis: 50%;
		}




	.blog .masonry-item {
		flex-basis: 50%;
		width: 50%;
		}

	.blog .container.masonry-layout {
		padding-right: 0;
		}

	.blog .container.masonry-layout .site-main.masonry {
		margin-left: 0; 
		}

	.blog .right-sidebar .widgets-wrap, 
	.archive .right-sidebar .widgets-wrap, 
	.single .right-sidebar .widgets-wrap {
		margin-left: 24px;
		margin-right: 24px;
		}

	/* blog single */
	#primary.show-sidebar.active-sidebar {
		max-width: 100%;
		margin-right: 0;
		}

	.single .blog-content-wrap {
		padding: 0 24px 36px;
		}

	.single .right-sidebar .widgets-wrap {
		padding-right: 36px;
		}

	.single .entry-header.header-split .entry-header-wrap {
		padding: 60px 36px;
		}

	.single .entry-header.header-split {
		margin-bottom: 36px;
		}

	.single .entry-header.header-split.no-thumbnail .entry-header-wrap {
		padding-left: 36px;
		padding-right: 36px;
		}

	.single svg.wave-svg-right {
		display: none;
		}

	.single svg.wave-svg-bottom {
		display: block;
		}

	.single .tnail {
		margin-bottom: -2px;
		}

	.single .entry-header-wrap .categories {
		margin-bottom: 24px;
		margin-top: -54px;
		z-index: 12;
		align-self: center;
		}


}




/* ## Mobile (Landscape)  ----------------------------------------------------*/
@media only screen and (max-width: 767px) {

	.site-main {
		padding: 24px 0;
		}

	.page-title {
		margin-top: 12px;
		}

	/* search */
	#search-overlay input {
		font-size: 3em;
		}

	/* The keyboard opens along with the overlay and covers the lower half of the screen, so the field
	   sits in the upper part of it instead of the middle. The floor keeps it below the close button. */
	#search-overlay .search-content-wrap {
		align-items: flex-start;
		padding-top: max(20vh, 96px);
		}

	.animated-search-button .search-box {
		margin-left: 0;
		}

	/* topbar */
	.topbar .cart-icon-wrap {
		height: auto;
		}

	/* header */
	.header-wrap {
		margin-top: 0;
		}

	#search-overlay input {
		font-size: 2em;
		}

	.site-title, .site-title a {
		font-size: 1.6em;
		}

	/* sidebar*/
	.right-sidebar .widgets-wrap  {
		flex: 0 0 100%;
		margin-bottom: 0;
		}

	.right-sidebar .widget  {
		width: 100%;
		}


	/* destinations and categories */
	.category-intro-wrap {
		margin-top: 24px;
		margin-bottom: 0;
		flex-direction: column;
		}

	.category-intro {
		width: 100%;
		}

	.category-map {
		width: 100%;
		margin-bottom: 24px;
		padding-top: 0;
		padding-left: 0;
		}

	/* blog */
	.post-gridoverlay.no-padding,
	.post-grid, .post-gridoverlay {
		flex-basis: 100%;
		}

	.blog .post, 
	.archive .post, 
	.search .post,
	.blog .post.post-standard {
		margin-bottom: 24px;
		}

	.has-sidebar .post-grid, 
	.has-sidebar .post-gridoverlay,
	.post-grid {
		flex-basis: 100%;
		}

	.blog .container.masonry-layout .masonry-item {
		padding: 0;
		}

	.post-list {
		flex-direction: column;
		display: block;
		}

	.post-list .tnail,
	article.post-list.even-style:nth-child(even) .tnail {
		margin: 0;
	}

	.post-list .entry-wrap, article.post-list.even-style:nth-child(even) .entry-wrap {
		margin-top: 24px;
		text-align: center;
		display: inline-block;
		}

	article.post-list.even-style:nth-child(even) .tnail {
		order: 0;
		}

	.masonry-item,
	.has-sidebar .masonry-item {
		flex-basis: 100%;
		width: 100%;
		padding-top: 12px;
		}

	/* two */
	.two-items .post-grid,
	.two-items .masonry-item {
		flex-basis: calc(100%);
		width: 100%;
		}

	/* three */
	.three-items .post-grid, 
	.three-items .post-gridoverlay {
		flex-basis: calc(100%);
		width: 100%;
		}

	/* four */
	.four-items .post-grid, 
	.four-items .post-gridoverlay {
		flex-basis: calc(100%);
		width: 100%;
		}

	.entry-footer {
		flex-direction: column;
		align-items: flex-start;
		}

	.entry-footer .post-share {
		margin-top: 24px;
	}

	.entry-footer .entry-footer-item {
		width: 100%;
		text-align: center;
		}

	.entry-footer-date {
		order: 2;
		margin-top: 16px;
		}

	.entry-footer-morebutton {
		order: 1;
		}

	.post-tags {
		max-width: 100%;
		}

	/* same 24px gutter as the post title and archive posts on phones */
	.blog .right-sidebar .widgets-wrap, .archive .right-sidebar .widgets-wrap, .single .right-sidebar .widgets-wrap {
		margin-left: 24px;
		margin-right: 24px;
		}

	.single .right-sidebar .widgets-wrap {
		padding-right: 0;
		}

	/* single */
	.single .entry-header.header-split .entry-header-wrap {
		padding: 12px 24px 48px;
		}



	.single .overlay-content h1,
	.single .overlay-content .post-info {
		text-shadow: 0px 0px 16px rgba(0,0,0,0.25)
	}

	.single .entry-header.header-split {
		margin-bottom: 0;
		}

	/* Previous / next post and related posts: 24px of space left and right */
	.related-posts,
	.post-navigation,
	.site-main .post-navigation{
		width: 100%;
		margin: 0;
		padding: 0 24px;
		}

	.related-posts {
		padding-bottom: 24px;
		}

	.post-navigation.no-prev-post, 
	.site-main .post-navigation.no-prev-post, 
	.post-navigation.no-next-post, 
	.site-main .post-navigation.no-next-post {
		width: 100%;
		}

	#primary.sidebar-below-title, #primary.sidebar-below-thumb {
		margin-right: 0;
		max-width: 100%;
		}

	/* Related posts: still two per row, 24px apart. The top margin of the posts makes the space between the
	   rows. */
	.related-articles-wrap {
		gap: 0 24px;
		}

	.post.post-related {
		margin-top: 24px;
		width: calc(50% - 12px);
		}

	.nav-previous-next-wrap {
		flex-direction: column;
		gap: 24px;
		}

	.nav-previous-wrap, .nav-next-wrap {
		width: 100%;
		}

	.post-navigation {
		flex-direction: column;
		}

	.nav-previous-wrap .post-nav-top-text, .nav-previous,
	.nav-next-wrap .post-nav-top-text, .nav-next {
		margin-top: 0;
		}

	.prev-post-thumb, .next-post-thumb {
		width: 100%;
		flex: 0 0 100%;
		margin-left: 0;
		}
	

	.nav-previous {
		flex-direction: column;
		}

	.nav-next {
		flex-direction: column-reverse;
		}

	#respond {
		margin-top: 24px;
		padding-left: 24px;
		padding-right: 24px;
		}

	/* The rule above never reaches the form on a single post: .single #respond (24px 64px 36px) outweighs it. */
	.single #respond {
		padding-left: 24px;
		padding-right: 24px;
		}

	.comment-form-author, .comment-form-email, .comment-form-url {
		width: 100%;
		}

	.comments-panel {
		padding: 32px 24px;
		}

	.comments-panel .comments-title {
		font-size: 1.78em;
		}

	.comments-count {
		font-size: 0.69em;
		}

	.single-comment {
		grid-template-columns: 40px minmax(0, 1fr);
		gap: 14px;
		}

	.comment-avatar {
		width: 40px;
		height: 40px;
		font-size: 18px;
		}

	.comment-list .children .single-comment {
		grid-template-columns: 32px minmax(0, 1fr);
		gap: 12px;
		}

	.comment-list .children .comment-avatar {
		width: 32px;
		height: 32px;
		font-size: 15px;
		}

	.comment-list .children,
	.comment-list .children .children {
		margin-inline-start: 24px;
		}

	#comments .comment-list #respond,
	#comments .comment-list .children #respond {
		margin-inline-start: 0;
		}


	/* not found (404 page and empty search / archive results) */
	.not-found {
		padding: 0;
		}

	.page-title.nothingfound-title {
		padding-left: 24px;
		padding-right: 24px;
		}

	/* footer */
	aside.footer-sidebar {
		margin: 0;
		}

	.footer-widget-area,
	.footer-info-wrap {
		flex-direction: column;
		}

	.footer-widget-area {
		padding: 24px 0 48px;
		}

	.footer-sidebar {
		padding-bottom: 0;
		}

	.footer-sidebar {
		width: 100%;
		}


	.footer-widget-area .widget-title, 
	.footer-widget-area .widget-area, 
	.footer-widget-area .widget_archive, 
	.footer-widget-area .widget_categories, 
	.footer-widget-area .widget_meta, 
	.footer-widget-area 
	.widget_recent_entries, 
	.footer-widget-area .widget_pages, 
	.footer-widget-area .widget_recent_comments, 
	.footer-widget-area .widget_nav_menu, 
	.footer-widget-area .social_widget .social-wrap, 
	.footer-widget-area .featured-post, 
	.footer-widget-area .widget, 
	.footer-widget-area .tag-cloud {
		text-align: center !important;
		}

	.footer-widget-area .wp-block-buttons,
	#footer .footer-sidebar-wrap.left .socialicons {
		justify-content: center;
		}



	.category-header.overlay {
		//min-height: 240px !important;
		}

	.archive-page-title {
		letter-spacing: 12px;
		font-size: 1.5em;
		word-break: break-word;
		}



	#sb_instagram {
		margin-left: calc( -100vw / 2 + 100% / 2 );
		margin-right: calc( -100vw / 2 + 100% / 2 );
		}

	#sb_instagram.sbi_col_10 #sbi_images .sbi_item, 
	#sb_instagram.sbi_col_3 #sbi_images .sbi_item, 
	#sb_instagram.sbi_col_4 #sbi_images .sbi_item, 
	#sb_instagram.sbi_col_5 #sbi_images .sbi_item, 
	#sb_instagram.sbi_col_6 #sbi_images .sbi_item, 
	#sb_instagram.sbi_col_7 #sbi_images .sbi_item, 
	#sb_instagram.sbi_col_8 #sbi_images .sbi_item, 
	#sb_instagram.sbi_col_9 #sbi_images .sbi_item {
		width: 33.33%;
		}

	#sbi_mod_error {
		border: 1px solid #888;
		background: transparent;
		color: #888;
		}


	/* newsletter */
	.mc4wp-form {
		padding: 24px;
		}

	.mc4wp-form input[type=email], .mc4wp-form input[type=submit] {
		margin-left: 0;
		margin-right: 0;
		}

	.mc4wp-form input[type=email] {
		width: 100%;
		}

	.mc4wp-form input[type=submit] {
		margin-top: 12px;
		width: 100%;
		}

	/* contact form */
	input[type=submit] {
		width: 100%;
		}

	/* table of contents plugin */
	#ez-toc-container {
		padding: 24px;
		}


	/* maps plugin */

	g.imapsSprite-group {
		font-weight: 600;
		text-transform: uppercase !important;
		letter-spacing: 4px;
		font-size: 0.9em;
		padding-left: 4px;
		}

.map_wrapper path.imapsPolygon {
	text-transform: uppercase !important;
	}


}

/* ## Mobile (up to 599px)  -----------------------------------------------------*/
@media only screen and (max-width: 599px) {

	/* Related posts: one per row */
	.post.post-related {
		width: 100%;
		}

}

/* ## Mobile (Portrait)  -----------------------------------------------------*/
@media only screen and (max-width: 479px) {

	.wp-block-media-text .wp-block-media-text__content {
		padding: 48px 24px;
		}

	.entry-header.has-thumb {
		height: 360px;
		}

	.blog .site-content.boxed-layout {
		padding: 0;
		}

	/* blog cards run edge to edge here: the pagination keeps its own gutter */
	.blog .site-content.boxed-layout .pagination_main {
		margin-left: 24px;
		}

	.blog .site-main, .archive .site-main {
		padding: 0;
		}

	/* blog */
	.single .blog-content-wrap {
	    padding: 0 24px 36px;
	}

	/* The overlay title keeps 80% of the header width on larger screens; on a phone, after its
	   24px gutters, that squeezed a title onto twice as many lines. */
	.entry-header:not(.width-narrow) .overlay-header-wrap {
		max-width: 100%;
		}


	/* responsive block spacer */
	.wp-block-spacer.mobile-height-0 {
		height: 0 !important;
		}

	.wp-block-spacer.mobile-height-12 {
		height: 12px !important;
		}

	.wp-block-spacer.mobile-height-24 {
		height: 24px !important;
		}

	.wp-block-spacer.mobile-height-36 {
		height: 36px !important;
		}

	.wp-block-spacer.mobile-height-48 {
		height: 48px !important;
		}
	
}

