/*
Theme Name: morntag – Child Hello Elementor
Author: morntag
Description: A child theme for Hello Elementor, with some superpowers added by morntag.
Version: 1.5.18
Template: hello-elementor

This is the child theme for Hello Elementor theme.
*/

/* ==========================================================================
   Default styles
   ========================================================================== */

/* Remove underline from buttons */
.wp-block-button .wp-block-button__link {
  text-decoration: none;
}

/* Custom styling for outline of focused elements when navigating 
 with keyboard */
*:focus-visible {
  outline: 2px solid var(--e-global-color-primary);
  outline-offset: 2px;
}

/* ==========================================================================
   Custom styles (Begin every section with a comment like this).
   ========================================================================== */

/* ==========================================================================
   Start Custom CSS from Yves (Liip, former Webdesigner)
   ========================================================================== */
/*Styles for WYSIWYG*/
.text a {
	color: #303030;
	text-decoration: underline;
}

/*Image and gallery captions*/
.elementor-widget-image .widget-image-caption, .elementor-image-carousel-caption {
	margin: auto;
	padding-top: 10px;
	max-width: 912px;
	font-size: 12px;
	font-style: normal;
	line-height: 125%;
	text-align: left !important;
}
@media screen and (max-width: 1024px) {
.elementor-widget-image.hero-image .widget-image-caption,  .elementor-image-carousel-caption {
		min-width: 0;
		max-width: 100%;
		padding-left: 16px;
}
/* For content images */
.elementor-widget-image:not(.hero-image) .widget-image-caption {
    padding-left: 0px;
}
}

/*Gallery*/
.swiper-slide img { height: 826px; width: auto; object-fit: cover; }

@media screen and (max-width: 1024px) {
	.swiper-slide img { height: 439px;}
}

.elementor-element .swiper .elementor-swiper-button, .elementor-element .swiper~.elementor-swiper-button, .elementor-lightbox .swiper .elementor-swiper-button, .elementor-lightbox .swiper~.elementor-swiper-button {
	font-size: 35px;
}
.elementor-element .swiper .elementor-swiper-button-next, .elementor-element .swiper~.elementor-swiper-button-next, .elementor-lightbox .swiper .elementor-swiper-button-next, .elementor-lightbox .swiper~.elementor-swiper-button-next {
	right: 40px;
}

.elementor-element .swiper .elementor-swiper-button-prev, .elementor-element .swiper~.elementor-swiper-button-prev, .elementor-lightbox .swiper .elementor-swiper-button-prev, .elementor-lightbox .swiper~.elementor-swiper-button-prev {
	left: 40px;
}

@media screen and (max-width: 1024px) {
	.elementor-element .swiper .elementor-swiper-button-next, .elementor-element .swiper~.elementor-swiper-button-next, .elementor-lightbox .swiper .elementor-swiper-button-next, .elementor-lightbox .swiper~.elementor-swiper-button-next {
		right: 24px;
	}
	.elementor-element .swiper .elementor-swiper-button-prev, .elementor-element .swiper~.elementor-swiper-button-prev, .elementor-lightbox .swiper .elementor-swiper-button-prev, .elementor-lightbox .swiper~.elementor-swiper-button-prev {
		left: 24px;
	}
}

/*Elementor accordion*/
.e-n-accordion-item-title:hover,  .e-n-accordion-item[open] .e-n-accordion-item-title {
    border-top: 1px solid #EB0000 !important;
}

.elementor-widget-n-accordion .e-n-accordion-item-title-icon span>svg {
	height: 35px;
	margin-top:-10px;
}

/***Repeater accordion***/
/*Items*/
.jet-listing-dynamic-repeater__items {
	border-bottom: 1px solid var(--e-global-color-c5a2d44);
}

.custom-accordion-item {
border-style: solid;
    border-width: 1px 0px 0px 0px;
    border-color: var(--e-global-color-c5a2d44);
  display: block !important;
}

.custom-accordion-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 11.5px 0;
  font-size: 36px;
	font-family: var(--e-global-typography-7c6142c-font-family), Sans-serif;
    font-weight: var(--e-global-typography-7c6142c-font-weight);
    line-height: var(--e-global-typography-7c6142c-line-height);
}

.custom-accordion-item:hover {
  border-color: #EB0000;
}

.custom-accordion-item:hover .custom-accordion-title {
  color: #EB0000;
}

/*Icon*/
.accordion-icon-wrapper {
  position: relative;
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  display: inline-flex;
}

.accordion-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 35px;
  height: 35px;
  transition: opacity 0.3s ease, transform 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.accordion-icon-grey {
  opacity: 1;
}

.accordion-icon-red {
  opacity: 0;
}

.custom-accordion-item:hover .accordion-icon-grey {
  opacity: 0;
}

.custom-accordion-item:hover .accordion-icon-red {
  opacity: 1;
}

.custom-accordion-item.open .accordion-icon-wrapper .accordion-icon {
  transform: rotate(180deg);
}

/*Content*/
.custom-accordion-content {
  overflow: hidden;
  height: 0;
  padding: 0 12px;
  transition: height 0.35s ease, padding 0.35s ease;
  display: block;
}

.custom-accordion-icon {
  width: 35px;
  height: 35px;
  transition: transform 0.3s;
}
.accordion-icon {
  width: 35px;
  height: 35px;
  transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* open items: accordion turns by 180°*/
.custom-accordion-item.open .accordion-icon {
  transform: rotate(180deg);
}

/*General stuff*/
p {
	margin-block-end: 30px;
}

@media screen and (max-width: 1024px) {
	p {
	margin-block-end: 24px;
	}
}

/* ==========================================================================
   End Custom CSS from Yves (Liip, former Webdesigner)
   ========================================================================== */


/* Smart sticky header: stays put while reading, slides away on scroll down,
   returns on scroll up (see assets/js/frontend.js). */
body:not(.elementor-editor-active) header.elementor-location-header {
	position: sticky;
	top: 0;
	z-index: 100;
	transition: transform 0.3s ease;
}
/* Mobile/tablet: the header is a floating white pill (container 88756ec) on a
   transparent strip — the hero shows through around it, and taps in the
   transparent area must reach the content beneath the stuck header. */
@media screen and (max-width: 1024px) {
	header.elementor-location-header,
	header.elementor-location-header .elementor-element-6721da2 {
		pointer-events: none;
	}
	header.elementor-location-header .elementor-element-88756ec {
		pointer-events: auto;
	}
	header.elementor-location-header .elementor-element-88756ec,
	header.elementor-location-header .header-shop-container-mcc {
    pointer-events: auto;
  }
}
header.elementor-location-header .header-shop-container-mcc {
  position: relative;
  z-index: 101;
}
header.elementor-location-header.header-hidden {
	transform: translateY(-100%);
}
body.admin-bar header.elementor-location-header {
	top: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar header.elementor-location-header {
		top: 46px;
	}
}

/* Mega menu close buttons (see assets/js/frontend.js) */
.e-n-menu .megamenu-close {
	cursor: pointer;
}

/* Mega menu dropdowns: on short screens the panel scrolls inside itself, since
   the sticky header keeps it pinned and the page can't scroll it into view.
   129px = header (113.5) + dropdown gap (15); +32px admin bar. */
@media screen and (min-width: 1025px) {
	body:not(.elementor-editor-active) header.elementor-location-header .e-n-menu-content > .e-con {
		max-height: calc(100vh - 129px - 16px);
		overflow-y: auto !important;
		overscroll-behavior: contain;
	}
	body.admin-bar:not(.elementor-editor-active) header.elementor-location-header .e-n-menu-content > .e-con {
		max-height: calc(100vh - 161px - 16px);
	}
}

/* Mobile menu: sliding full-screen panels (Popup Navigation Mobile). */
.mm-viewport {
	/* !important: Elementor's .e-con overflow rule wins the cascade otherwise,
	   and the off-screen panels then make the popup horizontally scrollable. */
	overflow: hidden !important;
	transition: height 0.35s ease;
}
.dialog-message:has(.mm-track) {
	overflow-x: hidden !important;
}
.mm-viewport,
.mm-track,
.mm-track > .mm-panel {
	padding: 0 !important;
}
.mm-viewport,
.mm-track,
.mm-track > .mm-panel {
	gap: 0 !important;
}
.mm-track {
	flex-wrap: nowrap !important;
	align-items: flex-start;
	transition: transform 0.35s ease;
}
.mm-track > .mm-panel {
	flex: 0 0 100% !important;
	max-width: 100% !important;
}
.mm-panel {
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.3s ease, visibility 0s linear 0.4s !important;
}
.mm-panel.mm-active {
	visibility: visible;
	opacity: 1;
	transition: opacity 0.3s ease 0.1s !important;
}
.mm-open,
.mm-back {
	cursor: pointer;
}

/* Mobile menu: design (chapter rows, back header, submenu rows). */
.mm-open .elementor-icon-box-wrapper {
	display: flex;
	align-items: center !important;
	justify-content: space-between;
	padding: 24px 0;
}
.mm-open .elementor-icon-box-content,
.mm-back .elementor-icon-box-content {
	text-align: left;
	flex-grow: 0;
}
.mm-open .elementor-icon-box-title {
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	margin: 0;
	line-height: 1.2;
}
.mm-open {
	border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.mm-panel > .elementor-widget-template {
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	padding-top: 24px;
	/* Bottom spacing lives here because the popup container has side padding
	   only and the scroll container (.dialog-message) would end flush. */
	padding-bottom: 40px;
}
/* The nav-menu widgets carry a 1px border-bottom copied from the desktop
   mega-menu settings; it stacks on the template border-top above. Elementor
   renders widget borders on the inner .elementor-widget-container. */
.mm-panel > .elementor-widget-nav-menu,
.mm-panel > .elementor-widget-nav-menu > .elementor-widget-container {
	border: none !important;
}
.mm-panel .elementor-widget-template .elementor-widget-button {
	margin-top: 16px;
}
.mm-open .elementor-icon-box-icon,
.mm-back .elementor-icon-box-icon {
	display: flex;
	align-items: center;
	margin: 0;
}
.mm-open .elementor-icon,
.mm-back .elementor-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 0;
	line-height: 0;
}
.mm-open .elementor-icon svg {
	width: 36px;
	height: 36px;
	display: block;
}
.mm-back .elementor-icon svg {
	width: 28px;
	height: 28px;
	display: block;
}
.mm-back .elementor-icon-box-wrapper {
	display: flex;
	align-items: center !important;
	gap: 12px;
	padding: 4px 0 12px;
}
.mm-back .elementor-icon-box-title {
	color: #fff;
	font-size: 16px;
	font-weight: 400;
	margin: 0;
	line-height: 1.2;
}
.mm-panel > .elementor-widget-nav-menu .elementor-nav-menu a.elementor-item {
	color: #fff !important;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	padding: 24px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.mm-panel > .elementor-widget-nav-menu .elementor-nav-menu a.elementor-item::after {
	content: "";
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 33.78 33.78'%3E%3Ccircle fill='white' cx='16.89' cy='16.89' r='16.89'/%3E%3Cpolygon transform='translate(16.89 16.89) scale(0.75) translate(-16.89 -16.89)' points='22.44 15.59 6.74 15.59 6.74 18.09 22.44 18.09 16.84 24.39 20.24 24.39 27.04 16.89 20.24 9.39 16.84 9.39 22.44 15.59'/%3E%3C/svg%3E") center / contain no-repeat;
}

.mm-panel .wpml-ls-legacy-dropdown a.js-wpml-ls-item-toggle {
	border: 0;
	background: transparent;
	padding-left: 0;
}

/* Mobile menu: keep all panels visible and stacked in the Elementor editor. */
.elementor-editor-active .mm-track {
	flex-wrap: wrap !important;
	transform: none !important;
}
.elementor-editor-active .mm-panel {
	visibility: visible;
	opacity: 1 !important;
}
.elementor-editor-active .mm-viewport {
	height: auto !important;
}
