/* Document
	 ========================================================================== */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

#site-footer, #site-footer div:last-child, #site-footer ul:last-child,
#site-footer p:last-child, #site-footer figure:last-child, #site-footer h1:last-child,
#site-footer h2:last-child, #site-footer h3:last-child, #site-footer h4:last-child
#site-footer h5:last-child, #site-footer h6:last-child {
	margin-bottom: 0;
}

:focus-visible {
	outline-color: rgba(var(--global-bs-component-active-bg-rgb, '128, 128, 128'), 0.5);
}

/* push footer to bottom of the pages */
#page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	overflow-x: hidden;
}
#site-content {
	flex-grow: 1;
}
@media screen and (max-width: 600px) {
	#wpadminbar {
		position: fixed;
	}
}
.admin-bar #page {
	min-height: calc(100vh - 32px);
}
@media screen and (max-width: 782px) {
	.admin-bar #page {
		min-height: calc(100vh - 46px);
	}
}

/* offcanvas admin-bar fix */
body.admin-bar .offcanvas {
    top: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar .offcanvas {
		top: 46px;
	}
}

/**
 * Add to all links in footer the same color as text
 */
#site-footer a {
	color: inherit;
	text-decoration: none;
}
#site-footer a:hover {
	color: inherit;
	text-decoration: underline;
}

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


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

/**
 * A margin used in all pages and templates
 */
.content-v-margin {
	margin-top: 4rem;
	margin-bottom: 4rem;
}

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

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

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

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

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

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

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

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}
fieldset {
	padding: 0.35em 0.75em 0.625em;
}
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}
progress {
	vertical-align: baseline;
}
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */
details {
	display: block;
}
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */
template {
	display: none;
}
[hidden] {
	display: none;
}

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

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

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

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

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	overflow: auto;
	padding: 1.6em;
}
pre.wp-block-verse {
    font-family: inherit;
    overflow: auto;
    white-space: pre-wrap;
}

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

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

mark {
	padding: 0;
    color: initial;
}
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

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

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

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

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

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

figure {
	margin: 1em 0;
}

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

/* Navigation
--------------------------------------------- */

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

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

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

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

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

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

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

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

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

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

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

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

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

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

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

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

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

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

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

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

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

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

.gallery-caption {
	display: block;
}

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

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

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

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

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

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

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

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

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

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

	/*rtl:ignore*/
	float: left;

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

.alignright {

	/*rtl:ignore*/
	float: right;

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

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

/* Posts styles
--------------------------------------------- */
article:not(:first-child) .entry-title {
    margin-top: 2rem;
}
.entry-meta {
  margin-bottom: 0.5rem;
}
.entry-read-more-wrapper {
  margin-bottom: 1rem;
}
#cancel-comment-reply-link,
.entry-footer .comments-link:not(:first-child),
.entry-footer .edit-link:not(:first-child) {
	margin-left: 0.6rem;
}
.entry-footer {
  margin-bottom: 1.5rem;
}
.site-main .post-navigation {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.comments-title {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  margin-top: 2.5rem;
}
.comment-reply-title {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  margin-top: 2.5rem;
}
.comment-body {
  margin-bottom: 2rem;
}
.comment-content>p:last-child {
	margin-bottom: 0;
}
.megastrap-comment-label-field-description, .megastrap-woo-comment-label-field-description {
  min-width: 6.5rem;
}
.comment-respond input[type="submit"] {
	margin-top: 1rem;
	margin-bottom: 1rem;
}
ul.comment-list {
	margin-left: 0;
	padding-left: 0;
	list-style-type: none;
}
.megastrap-comment-textarea, .megastrap-woo-comment-textarea {
	max-width: 45rem;
}

/* Widget styles
--------------------------------------------- */
h2.widget-title, h2.widgettitle {
  font-size: 1.5rem;
}
/* remoove bullets margins padding from all blocks and widgets */
ul.wp-block-archives, ul.wp-block-archives-list,
ul.wp-block-categories__list, ul.wp-block-categories-list,
ul.wp-block-page-list {
	margin-left: 0;
	padding-left: 0;
	list-style-type: none;
}

ul.wp-block-latest-posts__list, ul.wp-block-latest-posts {
	padding-left: 0;
	list-style-type: none;
}
ul.wp-block-latest-posts:not(.wp-block) { margin-left: 0; }

.wp-block-latest-comments { padding-left: 0; }
ol.wp-block-latest-comments { margin-left: 0; }

.wp-block-search__input { outline: none; }

.search-widget-404-wrapper {
	max-width: 45rem;
	margin-top: 2rem;
	margin-bottom: 2rem;
}


/* Default block styles
--------------------------------------------- */
ul.wp-block-post-template {
	margin: 0;
}
.components-placeholder.has-illustration {
    -webkit-backdrop-filter: none;
	backdrop-filter: none;
}
h1.has-background, h2.has-background, h3.has-background, h4.has-background, h5.has-background, h6.has-background, p.has-background {
    padding: 0.25em 0.35em;
}
/* bootstrap tabs theme fix */
ul.nav-tabs {
    border-top: initial;
    border-left: initial;
    border-right: initial;
}
ul.nav-tabs .nav-link.active {
    border-bottom-color: transparent;
}
/* button block stylig according megastrap styles */
.wp-block-button__link {
    color: var(--global-bs-btn-light-text-color, black);
    background-color: var(--global-bs-btn-light-bg, lightgray);
    border-radius: var(--global-bs-btn-border-radius, 0.375rem);
    box-shadow: none;
	outline: none;
    text-decoration: none;
    padding: calc(0.375em + var(--global-bs-btn-border-width,1px)) calc(1.05em + var(--global-bs-btn-border-width,1px));
    font-size: var(--global-bs-btn-font-size,1rem);
}
.wp-block-button.is-style-outline .wp-block-button__link {
	padding: 0.375em 1.05em;
    border: var(--global-bs-btn-border-width,1px) solid;
}
.wp-block-button__link:focus {
    box-shadow: 0 0 var(--global-bs-component-focus-shadow-blur) var(--global-bs-component-focus-shadow-width) rgba(var(--has-background-color-rgb, 80,80,80), var(--global-bs-component-focus-shadow-opacity));
    outline: none;
}
.wp-block-button.is-style-outline .wp-block-button__link:focus {
    box-shadow: 0 0 var(--global-bs-component-focus-shadow-blur) var(--global-bs-component-focus-shadow-width) rgba(var(--has-text-color-rgb, 80,80,80), var(--global-bs-component-focus-shadow-opacity));
    outline: none;
}
.wp-block-button__link:hover {
    filter: brightness(0.95);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
    filter: brightness(0.975);
}
.wp-block-button.is-style-outline .wp-block-button__link:not(.has-background-color):hover {
    background-color: rgba(var(--has-text-color-rgb, 80,80,80), 0.05);
    outline: none;
}
.wp-block-button.is-style-button-link .wp-block-button__link {
	background-color: transparent;
    border-color: transparent;
	text-decoration: underline;
}
.wp-block-button.is-style-button-link .wp-block-button__link:focus {
    box-shadow: 0 0 var(--global-bs-component-focus-shadow-blur) var(--global-bs-component-focus-shadow-width) rgba(var(--has-text-color-rgb, 80,80,80), var(--global-bs-component-focus-shadow-opacity));
    outline: none;
}
.wp-block-button.is-style-wide .wp-block-button__link {
	padding: calc(0.667em + var(--global-bs-btn-border-width,1px)) calc(1.333em + var(--global-bs-btn-border-width,1px));
}
.wp-block-button.is-style-wide-outline .wp-block-button__link {
	padding: calc(0.667em + var(--global-bs-btn-border-width,1px)) calc(1.333em + var(--global-bs-btn-border-width,1px));
    border: var(--global-bs-btn-border-width,1px) solid;
}
.wp-block-button.is-style-wide-outline .wp-block-button__link:not(.has-background-color):hover {
    background-color: rgba(var(--has-text-color-rgb, 80,80,80), 0.05);
    outline: none;
}
.wp-block-button.is-style-wide-link .wp-block-button__link {
	padding: calc(0.667em + var(--global-bs-btn-border-width,1px)) calc(1.333em + var(--global-bs-btn-border-width,1px));
	background-color: transparent;
    border-color: transparent;
	text-decoration: underline;
}
.wp-block-button.is-style-wide-link .wp-block-button__link:focus {
    box-shadow: 0 0 var(--global-bs-component-focus-shadow-blur) var(--global-bs-component-focus-shadow-width) rgba(var(--has-text-color-rgb, 80,80,80), var(--global-bs-component-focus-shadow-opacity));
    outline: none;
}

/* Default bootstrap logo additional styles
--------------------------------------------- */
.navbar-brand.navbar-brand-logo {
	padding-top: 0;
	padding-bottom: 0;
}
.wordpress-custom-menu-list, .wordpress-custom-menu-list .sub-menu {
    list-style-type: none;
    padding-left: 0;
}
.navbar-brand.navbar-brand-logo.custom-logo-link {
    display: inline-flex;
    align-items: center;
}

/* fixed bootstrap adjustment for admin navbar */
body.admin-bar .fixed-top {
    top: 32px;
}
@media (max-width: 782px) {
    body.admin-bar .fixed-top {
        top: 46px;
    }
}