/*!
Theme Name: SAMiracleHealth
Theme URI: http://underscores.me/
Author: Zeroradius
Author URI: https://zeroradius.co/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: miraclehealth
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

MiracleHealth is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * 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;
	    vertical-align: bottom;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

html {
	box-sizing: border-box;
}

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

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p:not(last-child) {
	margin:0 0 1.5em 0;
}

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

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

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

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

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

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #273F30;
}

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

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

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

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

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

figure {
	margin: 1em 0;
}

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

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}


a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline:0;
}

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

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

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

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

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

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

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

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

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

.main-navigation ul ul a {
	width: 200px;
}

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

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999;
	display: grid;
	grid-template-columns: minmax(240px, 1fr) auto minmax(240px, 1fr);
	align-items: center;
	gap: 28px;
	min-height: 90px;
	padding: 16px 76px;
	box-sizing: border-box;
	transition: background-color 0.2s ease, box-shadow 0.2s ease, backdrop-filter 0.2s ease, transform 0.35s ease;
}

/* hidden while scrolling down, back on scroll up (see js/header.js) */
body.header-hidden .site-header {
	transform: translateY(-100%);
}

.site-branding {
	display: flex;
	align-items: center;
	min-width: 0;
}

.mh-header-logo {
	display: inline-flex;
	align-items: center;
	max-width: min(374px, 100%);
	text-decoration: none;
}

.mh-header-logo img {
	display: block;
	width: 100%;
	max-width: 274px;
	height: auto;
}

.site-header .main-navigation {
	justify-self: center;
	width: auto;
}

.site-header .header-menu-container {
	display: block;
}

.site-header .header-menu {
	display: flex;
	align-items: center;
	gap: 0;
	min-height: 56px;
	padding: 0 22px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.11);
	box-shadow: none;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.site-header .main-navigation li {
	position: relative;
}

.site-header .main-navigation a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 56px;
	padding: 0 18px;
	color: #fff;
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.site-header .main-navigation a:hover,
.site-header .main-navigation a:focus {
	color: #f0f5ee;
	opacity: 0.78;
}

.site-header .main-navigation .menu-item-has-children > a::after {
	content: "";
	width: 8px;
	height: 8px;
	margin-top: -4px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
}

.site-header .main-navigation ul ul {
	top: calc(100% + 10px);
	left: -999em;
	float: none;
	min-width: 240px;
	padding: 12px;
	border-radius: 18px;
	background: rgba(22, 33, 29, 0.97); /* brand dark green, same as the hero intro */
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(8px);
}

.site-header .main-navigation ul ul a {
	width: 100%;
	min-height: auto;
	padding: 12px 14px;
	border-radius: 10px;
	line-height: 1.35;
	white-space: normal;
}

.site-header .main-navigation ul ul a:hover,
.site-header .main-navigation ul ul a:focus {
	background: rgba(226, 234, 225, 0.1);
	opacity: 1;
}

.site-header .main-navigation ul ul ul {
	top: -12px;
}

.site-header .main-navigation ul li:hover > ul,
.site-header .main-navigation ul li.focus > ul {
	left: 0;
}

.site-header .main-navigation ul ul li:hover > ul,
.site-header .main-navigation ul ul li.focus > ul {
	left: calc(100% + 12px);
}

/* Desktop dropdowns: stacked list, nested flyouts, hover bridge. */
@media screen and (min-width: 1300px) {

	.site-header .main-navigation ul ul {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		width: max-content;
		min-width: 260px;
		max-width: 340px;
	}

	.site-header .main-navigation ul ul li {
		width: 100%;
	}

	/* The legacy Elementor menu rule makes .sub-position-top static (see functions.php),
	   which detached flyouts from their parent item. Keep them anchored to the item. */
	.site-header .main-navigation li.sub-position-top {
		position: relative !important;
	}

	.site-header .main-navigation ul ul a {
		display: flex;
		justify-content: space-between;
		width: 100%;
		box-sizing: border-box;
	}

	/* Chevron points right for items that open a flyout. */
	.site-header .main-navigation ul ul .menu-item-has-children > a::after {
		margin-top: 0;
		flex: 0 0 auto;
		transform: rotate(-45deg);
	}

	/* Invisible bridge so the dropdown doesn't close while the pointer crosses the gap. */
	.site-header .main-navigation ul ul::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 100%;
		height: 14px;
	}

	.site-header .main-navigation ul ul ul::before {
		top: 0;
		bottom: 0;
		left: auto;
		right: 100%;
		width: 40px; /* spans the parent's padding + flyout offset */
		height: auto;
	}

	/* Smooth open/close: fade + slide instead of jumping in from left: -999em. */
	.site-header .main-navigation ul ul {
		left: 0;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(10px);
		transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
	}

	.site-header .main-navigation ul ul ul {
		left: calc(100% + 12px);
		transform: translateX(-8px);
	}

	.site-header .main-navigation ul li:hover > ul,
	.site-header .main-navigation ul li.focus > ul,
	.site-header .main-navigation ul li:focus-within > ul,
	.site-header .main-navigation ul ul li:hover > ul,
	.site-header .main-navigation ul ul li.focus > ul {
		display: flex; /* the legacy hover rule sets display:block, which reflows the list */
		left: 0;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
		transition-delay: 0s;
	}

	.site-header .main-navigation ul ul li:hover > ul,
	.site-header .main-navigation ul ul li.focus > ul,
	.site-header .main-navigation ul ul li:focus-within > ul {
		left: calc(100% + 12px);
	}
}

.mh-header-cta {
	justify-self: end;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 50px;
	padding: 0 6px 0 26px;
	border-radius: 999px;
	background: #eef5ef;
	color: var(--mh-hero-dark, #16211d) !important;
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.mh-header-cta__arrow {
	display: grid;
	place-items: center;
	overflow: hidden;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--mh-hero-dark, #16211d);
	color: #fff;
}

.mh-header-cta:hover .mh-header-cta__arrow svg,
.mh-header-cta:focus-visible .mh-header-cta__arrow svg {
	animation: mh-header-arrow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes mh-header-arrow {
	0%   { transform: translate(0, 0); }
	45%  { transform: translate(18px, -18px); opacity: 0; }
	46%  { transform: translate(-18px, 18px); opacity: 0; }
	100% { transform: translate(0, 0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
	.mh-header-cta:hover .mh-header-cta__arrow svg,
	.mh-header-cta:focus-visible .mh-header-cta__arrow svg { animation: none; }
}

.mh-header-cta:hover,
.mh-header-cta:focus {
	background: #fff;
	color: var(--mh-hero-dark, #16211d) !important;
	transform: translateY(-1px);
}

body.scrolled .site-header,
body.scrolled #masthead {
	top: 0;
	background: rgba(0, 0, 0, 0.11);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

body.scrolled .site-header .header-menu {
	background: none;
	box-shadow: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

@media screen and (max-width: 1399px) {

	.site-header {
		padding: 16px 24px;
	}
}

@media screen and (max-width: 1299px) {

	.site-header {
		grid-template-columns: 1fr auto;
		min-height: 64px;
		padding: 10px 24px;
	}

	.site-header .main-navigation {
		justify-self: end;
		grid-column: 2;
		grid-row: 1;
		width: auto;
	}

	.site-header .header-menu-container {
		display: none;
	}

	.site-header .menu-toggle {
		justify-self: end;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		min-height: 44px;
		padding: 0;
		border: 0;
		border-radius: 999px;
		background-color: rgba(0, 0, 0, 0.11);
		box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
		backdrop-filter: blur(10px);
		background-image:
			linear-gradient(#fff, #fff),
			linear-gradient(#fff, #fff),
			linear-gradient(#fff, #fff);
		background-repeat: no-repeat;
		background-position: center calc(50% - 6px), center, center calc(50% + 6px);
		background-size: 20px 2px;
		color: transparent;
		font-size: 0;
		overflow: hidden;
		cursor: pointer;
		transition: background-color 0.2s ease;
	}

	.site-header .menu-toggle:hover,
	.site-header .menu-toggle:focus,
	.site-header .menu-toggle:focus-visible,
	.site-header .menu-toggle:active,
	.site-header .menu-toggle[aria-expanded="true"] {
		background-color: var(--e-global-color-primary);
	}

	.site-header .main-navigation.toggled .header-menu-container {
		display: block;
	}

	.site-header .main-navigation.toggled .header-menu {
		display: block;
		margin-top: 14px;
		padding: 12px;
		border-radius: 22px;
	}

	.site-header .main-navigation a {
		display: flex;
		min-height: 46px;
		padding: 0 14px;
	}

	.site-header .main-navigation ul ul,
	.site-header .main-navigation ul ul ul {
		position: static;
		display: none;
		margin: 4px 0 8px 14px;
		padding: 6px;
		box-shadow: none;
	}

	.site-header .main-navigation li:hover > ul,
	.site-header .main-navigation li.focus > ul {
		display: block;
	}

	.mh-header-cta {
		display: none;
	}
}

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

.page-content,
.entry-content,
.entry-summary {
	margin: 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;
}



.btn-primary {
	    background: #173B74;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 20px 40px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition:all .3s ease;
}
.btn-primary:hover {
	    background: #285A9D;
	    color: #fff;
}



.hfe-site-logo-img,.mh-logo img {
	max-height:52px;
}
.split-color span {
	color:#1895D4;
	font-weight:500;
}
.lang-tag li {
	padding:6px 20px !important;
	border-radius:50px;
	border:1px solid #E3E3E3;
	margin-bottom:10px !important;
}


.ehf-header #masthead {
    z-index: 99;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
	 transition:top .3s ease;
}

@media(min-width:1299px){
	.hamburger-nav{
		display:none;
		visibility:hidden;
	}
}

@media(max-width:1649px){
	header .hfe-nav-menu .menu-item-has-children .sub-position-top.menu-item-has-children .sub-menu {
		top: 0;
		left: auto;
		right: 100%;
	}
}
.navbar {
  transition: background-color 0.1s ease, box-shadow 0.1s ease;
}
@media(min-width:1200px){
	.sub-position-top{
		position:static !important;
	}
}
.hfe-nav-menu .current_page_parent ul.sub-menu > li.current-menu-item > a, .navbar .sub-position-top:hover > div > a,.navbar .current-menu-parent > div > a,.hfe-nav-menu .menu-item-has-children .menu-item-has-children .sub-menu a.hfe-sub-menu-item-active, .hfe-nav-menu .menu-item > ul.sub-menu > li.current-menu-item > a {
	color:var(--e-global-color-accent) !important;
}

/* When scrolled (body has class .scrolled) */
body.scrolled #masthead {
	top: 0;
}

body.scrolled .navbar {
  background-color: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}


.elementor-counter .elementor-counter-title{
	text-align:center;
}
.elementor-counter-number-wrapper span {
	color: white; 
  text-shadow: 
    -1px -1px 0 #082D5F,
     1px -1px 0 #082D5F,
    -1px  1px 0 #082D5F,
     1px  1px 0 #082D5F;
}
.e-n-tabs-heading .e-n-tab-title:before{
	content:"";
	display:inline-block;
	background:#C2DCFF;
	color:#000;
	font-size:18px;
	font-weight:bold;
	width:38px;
	height:38px;
	line-height:38px;
	text-align:center;
	border-radius:100%;
}
.e-n-tabs-heading .e-n-tab-title:nth-child(1):before{
	content:"1";
}
.e-n-tabs-heading .e-n-tab-title:nth-child(2):before{
	content:"2";
}
.e-n-tabs-heading .e-n-tab-title:nth-child(3):before{
	content:"3";
}
.e-n-tabs-heading .e-n-tab-title:nth-child(4):before{
	content:"4";
}
.e-n-tabs-heading .e-n-tab-title:nth-child(5):before{
	content:"5";
}
.e-n-tabs-heading .e-n-tab-title:nth-child(6):before{
	content:"6";
}
.e-n-tabs-heading .e-n-tab-title:nth-child(7):before{
	content:"7";
}
.e-n-tabs-heading .e-n-tab-title:nth-child(8):before{
	content:"8";
}
.e-n-tabs-heading .e-n-tab-title:nth-child(9):before{
	content:"9";
}
.service-tabs .e-n-tabs-heading{
	background:#fff;
	border-radius:50px;
	padding:10px;
	    margin: 0 auto;
}
.mh-swiper-container .swiper-wrapper {
	display: flex;
    width: 100%;
    justify-content: space-between;
/*     opacity: 0; */
}
.mh-swiper-container.swiper-initialized .swiper-wrapper {
	opacity: 1;
}
@media(max-width:767px){
	body.scrolled #masthead{
		top:0;
	}
}

@media(max-width:991px){
	body .mob-visiblity{
		visibility:visible;
		animation: none;
	}
}


/* Card background like the screenshot */
/* Grid */
.cf7-grid {
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:18px 24px;
}
.cf7-grid .col-6 { grid-column: span 6; }
.cf7-grid .col-12 { grid-column: span 12; }

/* Labels */
.cf7-grid label {
  display:block;
  font-weight:600;
  margin-bottom:8px;
  color:#0e1b25;
}

/* Inputs, selects, textarea */
.wpcf7 form .wpcf7-form-control:not(.wpcf7-submit) {
  width:100%;
  box-sizing:border-box;
  border:1px solid transparent;
  background:#142A1C;
  color:#eef5ef;
  border-radius:14px;
  padding:0 20px;
  height:54px;
  outline:none;
  transition:border-color .2s, box-shadow .2s;
  font-family:inherit;
  font-size:16px;
  line-height:1.3;
}
.wpcf7 form .wpcf7-form-control::placeholder {
  color:rgba(238,245,239,.6);
  opacity:1;
  font-family:inherit;
}
.wpcf7 form .wpcf7-form-control:focus {
  border-color:rgba(226,234,225,.5);
  box-shadow:0 0 0 3px rgba(226,234,225,.12);
}
.wpcf7-not-valid-tip {
    color: #ff9c9c;
}
/* Textarea height like screenshot */
.wpcf7 form textarea.wpcf7-form-control:not(.wpcf7-submit) {
  height:120px;
  padding:16px 20px;
  resize:none;
}

/* Select styling + arrow */
.wpcf7 select {
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="10" viewBox="0 0 20 12"><path fill="%23eef5ef" d="M10 12L0 0h20z"/></svg>')!important;
  background-repeat:no-repeat !important;
  background-position:right 16px center !important;
  background-size:14px 10px;
  padding-right:44px !important;
}

/* Captcha */
.wpcf7 .f12-captcha {
  box-sizing:border-box;
  padding:16px 20px;
  background:#233a2c;
  border-radius:14px;
  color:#eef5ef;
  overflow:hidden;
}
.wpcf7 .f12-captcha .c-header {
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:12px;
}
.wpcf7 .f12-captcha label {
  margin:0;
  color:#eef5ef;
  font-weight:500;
}
/* image text is dark, so it sits on a light chip */
.wpcf7 .f12-captcha .captcha-image {
  display:inline-block;
  padding:4px 10px;
  background:#e3eae1;
  border-radius:8px;
  line-height:0;
}
.wpcf7 .f12-captcha .captcha-image img { display:block; }
.wpcf7 .f12-captcha input.f12c {
  width:100%;
  box-sizing:border-box;
  height:54px;
  padding:0 20px;
  background:#142A1C;
  color:#eef5ef;
  border:1px solid transparent;
  border-radius:14px;
  font-family:inherit;
  font-size:16px;
}
.wpcf7 .f12-captcha input.f12c::placeholder { color:rgba(238,245,239,.6); opacity:1; }
.wpcf7 .f12-captcha input.f12c:focus {
  outline:none;
  border-color:rgba(226,234,225,.5);
}

.wpcf7 .f12-captcha .c-reload-error,
.wpcf7 .f12-captcha .f12-captcha-error,
.wpcf7 .f12-captcha .wpcf7-not-valid-tip {
  margin:12px 0 0;
  color:#ff9c9c !important;
  font-size:14px;
}

/* Submit button: mint pill, matches the theme buttons */
.wpcf7 form .wpcf7-submit.btn-pill,
.wpcf7 .btn-pill {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:54px;
  padding:0 32px;
  background:#e3eae1;
  color:#16211d;
  border:1px solid transparent;
  border-radius:999px;
  font-family:inherit;
  font-size:16px;
  font-weight:500;
  line-height:1;
  cursor:pointer;
  transition:transform .2s ease, background-color .2s ease;
}
/* Arrow chip */
.wpcf7 form .wpcf7-submit.btn-pill {
  gap:16px;
  padding:0 8px 0 32px;
}
.wpcf7 .mh-submit-arrow {
  display:grid;
  place-items:center;
  overflow:hidden;
  width:40px;
  height:40px;
  border-radius:50%;
  background:#16211d;
  color:#fff;
}
.wpcf7 .btn-pill:hover .mh-submit-arrow svg,
.wpcf7 .btn-pill:focus-visible .mh-submit-arrow svg { animation:mh-header-arrow .5s cubic-bezier(.4,0,.2,1); }
@media (prefers-reduced-motion: reduce) {
  .wpcf7 .btn-pill:hover .mh-submit-arrow svg,
  .wpcf7 .btn-pill:focus-visible .mh-submit-arrow svg { animation:none; }
}
.wpcf7 form .wpcf7-submit.btn-pill:hover,
.wpcf7 form .wpcf7-submit.btn-pill:focus,
.wpcf7 .btn-pill:hover {
  background-color:#fff;
  color:#16211d;
  transform:translateY(-2px);
}
.wpcf7 form .wpcf7-submit.btn-pill:active { transform:translateY(0); }
.wpcf7 form .wpcf7-submit.btn-pill:focus-visible {
  outline:2px solid #e2eae1;
  outline-offset:3px;
}

.submit-wrap { margin-top:6px; }

/* Responsive: stack first row on small screens */
@media (max-width:768px){
  .cf7-grid .col-6 { grid-column: span 12; }
}

.container {
  max-width: 1916px;
  margin: 0 auto;
  padding-left: 78px;
  padding-right: 78px;
}
@media (max-width:1399px){
	.container {
		padding-left: 24px;
		padding-right: 24px;
	}
}
@media (max-width:575px){
	.container {
		padding: 0 20px;
	}
}
.mh-service-single__main ul {
	margin:0;
	padding: 0 0 0 26px;
}
.mh-service-single__main ul li:not(:last-child) {
	padding-bottom:20px;
}



@media (min-width:1200px){
	.mob-only{
		display:none;
	}
}

.f12-captcha label {
	    margin-bottom: 0;
}
.f12-captcha .c-header{
	padding-bottom:10px;
}
.f12-captcha input.f12c {
    width: 100%;
    border: 1px solid #e5eff3;
    background: #fff;
    border-radius: 12px;
    padding: 16px 18px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    font-size: 16px;
    line-height: 1.3;
}
.f12-captcha {
    display: block;
    width: 100%;
    background: #fff;
    padding: 10px;
    border-radius: 12px;
	margin-bottom:20px;
}
.submit-wrap p {
	margin:0;
}
.submit-wrap {
	margin:0;
}

.glass-blur {
	background: rgba(255, 255, 255, 0.12); /* must be semi-transparent */
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px); /* Safari */
}
