/*
 Theme Name:   Hello child theme
 Description:  Hello child theme
 Author:       hus
 Template:     hello-elementor
 Version:      1.0
 Text Domain:  hello-elementor-child
 Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
.circles .elementor-column-wrap { padding-top: 100%; }
.circles .elementor-column-wrap>.elementor-widget-wrap { margin-top: -100%; }
*/
.circles .elementor-text-editor { min-height: 2em; }
.elementor-widget-w_parallax { pointer-events: none; }
.elementor-widget-w_parallax a { pointer-events: auto; }

sub, sup { font-size: 60% !important; line-height: 0; vertical-align: baseline; position: relative; }
sup { top: -0.5em; }

// .story h1 { padding-top: 2em; }
.story h4 { font-family: Merriweather; }
.story .in p, .story .in h3 {
	font-family: Merriweather;
	line-height: 1.3em !important;
	letter-spacing: .05em;
}
.story .sb p, .story .sb h3 { line-height: 1.3em !important; }
.story .sb p, .story .sb h3 { line-height: 1.3em !important; }
.story .mid p, .story .mid a, .story .mid img { vertical-align: middle; }
.story .lnk p, .story .lnk a { line-height: 1.3em !important; }

.story h2 { font-size: 1.8vw !important; margin: .1em 0; }
.story h4 { font-size: .81vw !important; }
.story .in p, .story .in h3 { font-size: 1.8vw !important; }
.story .in div { font-size: 1.8vw !important; }
.story .sb p, .story .sb h3 { font-size: .99vw !important; }
.story .sb p, .story .sb h3 { font-size: .99vw !important; }
.story .lnk p, .story .lnk a { font-size: .99vw !important; }

@media screen and (min-width: 1866px) {
	.story h2 { font-size: 33.6px !important; }
	.story h4 { font-size: 15.12px !important; }
	.story .in p, .story .in h3 { font-size: 33.6px !important; }
	.story .in div { font-size: 33.6px !important; }
	.story .sb p, .story .sb h3 { font-size: 18.48px !important; }
	.story .sb p, .story .sb h3 { font-size: 18.48px !important; }
	.story .lnk p, .story .lnk a { font-size: 18.48px !important; }
}

@media screen and (max-width: 960px) {
	.story h2 { font-size: 19.2px !important; }
	.story h4 { font-size: 8.64px !important; }
	.story .in p, .story .in h3 { font-size: 19.2px !important; }
	.story .sb p, .story .sb h3 { font-size: 10.56px !important; }
	.story .sb p, .story .sb h3 { font-size: 10.56px !important; }
	.story .lnk p, .story .lnk a { font-size: 10.56px !important; }
}

h3 strong { font-weight: 700; }

// .elementor-widget-image a img[src$=".svg"] { width: 100% !important; }
.ecs-post-loop .elementor-widget-image a { width: 100%; }
.ecs-post-loop .elementor-widget-image a img[src$=".svg"] {
	width: 100%;
	max-height: 300px;
	object-position: top left;
	object-fit: contain;
}
img.elementor-lightbox-image[src$=".svg"] { width: 100% !important; }

// .dialog-widget a { color: inherit !important; }
// .dialog-lightbox-widget a { color: var(--lightbox-ui-color) !important; }

.spreistab { width: auto; }
.spreistab td { padding: 0 .1em !important; }
.spreistab td:nth-child(1) { text-align: right; width: 0; }
.spreistab td:nth-child(4) { text-align: right; font-weight: 700; }
.spreistab td:nth-child(n+2) { padding-right: 2em !important; }

.gpreistab { width: 100%; }
.gpreistab td:first-child { width: 100%; text-align: left; }
.gpreistab td { padding-right: 0 !important; }
.gpreistab td:nth-child(n+2) { width: 0%; white-space: nowrap; text-align: right; padding-left: 2em; }

@media (max-width: 500px) {
	.gpreistab table { display: block; position: relative; }
	.gpreistab tr { display: block; position: relative; text-align: right; }
	.gpreistab td { display: inline-block; box-sizing: border-box; }
	.gpreistab td:nth-child(n+2) { width: 30%; }
	.gpreistab td:first-child { width: 100%; }
	.gpreistab td:empty { display: none; }
}

div.elementor-text-editor ul { position: relative; margin: 0; padding: 0; padding-left: 15px; }
div.elementor-text-editor li { list-style: none; }
div.elementor-text-editor li:before {
	position: absolute; left: 0;
	content: '–';
}

.nobr { white-space: nowrap; }
@media (max-width: 960px) {
	.mbr br { display: none; }
}

.linkc { position: relative; }
.linki, .linki a {
    position: absolute !important;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
	z-index: 1;
}

html table {
	font-size: 1em;
}

.icr figcaption.widget-image-caption, .elementor-widget-text-editor.icr {
	position: absolute !important;
	bottom: 0; right: 0;
	color: white;
	text-shadow: 1px 1px 1px black;
	font-size: .85em;
	transform: translate(100%, 0) rotate(-90deg) translate(1em, -.5em);
	transform-origin: 0% 100%;
}

.atbl table {
	width: auto !important;
	margin: 0 auto;
}
.atbl td { width: auto !important; }
@media screen and (min-width: 1024px) {
		.atbl td { white-space: nowrap; }
}

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

.wpml-ls-current-language a { font-weight: bold; }

html .elementor-widget:not(:last-child) { margin-bottom: 0; }

.elementor-nav-menu--main .current-page-ancestor .elementor-item {
    color: var( --e-global-color-6729be38 ) !important;
}
.premium-hscroll-fixed-content a:hover,
.elementor-location-header a:hover { color:  var( --e-global-color-6729be38 ) !important; }


header.sticky-header {
	transition: all .5s ease;
}
header.sticky-header.sticky-scrolled {
	top: -90px !important;
	background-color: rgba(255, 255, 255, .8) !important;
}
header.sticky-header .elementor-widget-theme-site-logo {
	transition: all .5s ease;
}
header.sticky-header.sticky-scrolled .elementor-widget-theme-site-logo {
	opacity: 0;
}

.elementor-menu-anchor {
	margin-top: -160px;
	padding-top: 160px;
}
.elementor-widget-menu-anchor {
	pointer-events: none;
}
