@font-face {
    font-family: 'Undergrow Regular';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Undergrow Regular'),
         url('../fonts/Undergrow.woff2') format('woff2'),
         url('../fonts/Undergrow.woff') format('woff');
}

body,
p {
	font-family: 'Mulish', sans-serif !important;
}

h1,
h2,
h3,
h4,
span.fs_highlight {
    font-family: 'Undergrow Regular', Arial, sans-serif !important;
    font-weight: 400;
}

.ehf-header #masthead {
	overflow-x: clip;
}
.hfe-nav-menu__layout-horizontal .hfe-nav-menu {
	flex-wrap: nowrap;
}

@keyframes iconColorSwitch {
    0% {
        filter: invert(0);
    }
    20% {
        filter: invert(1);
    }
    80% {
        filter: invert(1);
    }
    100% {
        filter: invert(0);
    }
}

.social-icons svg {
    filter: invert(0);
    animation: iconColorSwitch linear both;
    animation-duration: 1s;
    animation-timeline: scroll();
}

.elementor-widget-text-editor a:not(.elementor-button) {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: all 0.25s linear;
}
.elementor-widget-text-editor a:not(.elementor-button):hover {
	text-decoration-thickness: 3px;
}

.elementor-widget-text-editor ul {
	padding: 0 0 20px 28px;
}

span.fs_highlight {
    font-size: 32px;
    color: var( --e-global-color-primary );
    font-weight: 400;
    margin-right: 5px;
}

.elementor-image-box-wrapper {
	margin-bottom: 16px;
}
.elementor-image-box-wrapper a {
	font-size: 16px;
	font-weight: 700;
}
.elementor-widget-image-box .elementor-image-box-img img {
	width: 100%;
}
.procedures-grid .elementor-widget-wrap.elementor-element-populated {
	align-items: flex-start!important;
}

/*When disable hello elementor styling*/
body:not([class*=elementor-page-]) .site-main {
    width: 100%;
    margin-inline: auto;
    padding-block: 40px;
    padding-inline: 20px;
    box-sizing: border-box;
}
@media (min-width: 576px) {
    body:not([class*=elementor-page-]) .site-main {
        max-width: 500px;
        padding-block: 70px;
    }
}
@media (min-width: 768px) {
    body:not([class*=elementor-page-]) .site-main {
        max-width: 600px;
    }
}
@media (min-width: 992px) {
    body:not([class*=elementor-page-]) .site-main {
        max-width: 800px;
    }
}
@media (min-width: 1200px) {
    body:not([class*=elementor-page-]) .site-main {
        max-width: 1540px;
    }
}

/*Floating button*/
.floating-booking-btn {
	display: block;
	position: fixed;
	bottom: 28px;
	right: 21px;
	z-index: 100;
}
.floating-booking-btn button {
	margin: 0;
	border-radius: 50px;
	color: white;
	background-color: #000;
	font-weight: 400;
	line-height: 1.4;
    padding: 0.7rem 2rem;
    border: 2px solid white;
}
.floating-booking-btn button:hover {
    background-color: #000;
}
.floating-booking-btn a {
    color: white;
    opacity: 1;
}

/* Posts */
.latest-posts {
	display: grid;
	gap: 24px;
}
.post-item {
	position: relative;
}
.post-thumb {
	display: flex;
	transition: all 0.25s ease-in-out;
	position: relative;
	overflow: hidden;
}
.post-thumb:hover {
	transform: scale(0.96);
}
.post-thumb img {
    width: 100%;
    max-height: 490px;
	aspect-ratio: 235 / 163;
	object-fit: cover;
	transition: all 0.25s ease-in-out;
}
.post-thumb:hover img {
	transform: scale(1.08);
}
.content-wrap {
	padding: 32px;
}
.content-wrap .post-title a {
	color: #000;
    font-size: 42px;
    line-height: 1.2;
}
.content-wrap .post-title a {
  display: inline;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.4s ease;
}

.content-wrap .post-title a:hover {
  background-size: 100% 2px;
}
.post-content {
    color: #484f56;
    font-size: 18px;
    margin-block: 24px;
    line-height: 1.8;
}
.post-category {
    background-color: #7D7461;
    font-size: 12px;
    padding: 8px 15px;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    text-wrap: nowrap;
    text-decoration: none;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%,50%);
}
.read-more,
.post-date,
.read-time {
	color: #353b41;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 12px!important;
}
.read-time::before {
	content: "\2022";
    display: inline-block;
    font-size: .3125rem;
    vertical-align: middle;
    top: -1px;
    position: relative;
    margin-right: .75rem;
    left: -2px;
}
.read-more {
	margin-right: 10px;
}

/*Single post*/
.page-title {
    text-transform: capitalize;
}
.breadcrumb {
    text-transform: uppercase;
    font-size: 12px;
}
.breadcrumb a {
    color: #fff;
    text-decoration: none;
}
.breadcrumb > span {
    display: flex;
    gap: 6px;
    justify-content: center;
}
.post-category.single {
    position: static;
}
.single-top-content,
.post-content-wrap.single-content {
    font-family: "Roboto", Sans-serif;
}
.single-top-content .post-thumb img {
    max-height: 100%;
}
.post-content-wrap.single-content {
    font-size: 15px;
    line-height: 1.4;
    margin-top: 32px;
    color: #777;
}
.post-content-wrap.single-content a {
    color: #db8d70;
}

table {
    margin-bottom: 35px;
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
    line-height: 1.4;
}
table td {
    padding: 15px 12px;
    border-bottom: 1px solid #0000001b;
}

/* Pagination */
.pagination-wrap ul {
    font-family: "Roboto", Sans-serif;
	display: flex;
	justify-content: center;
	gap: 10px;
	list-style: none;
	padding: 0;
	margin-top: 60px;
}
.pagination-wrap ul li a,
.pagination-wrap ul li span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 30px;
	border: 1px solid var(--e-global-color-primary);
	color: var(--e-global-color-primary);
	text-decoration: none;
	font-size: 14px;
	transition: all 0.3s ease;
}
.pagination-wrap ul li a:hover,
.pagination-wrap ul li span.current,
.pagination-wrap .next:hover,
.pagination-wrap .prev:hover {
	background: var(--e-global-color-primary);
	border-color: var(--e-global-color-primary);
	color: #fff;
}
.pagination-wrap .next,
.pagination-wrap .prev {
    width: auto;
	background-color: #fff;
	border-color: var(--e-global-color-primary);
	padding-inline: 10px;
}

/* CF7 */
.submit-wrap {
	text-align: right;
}
.wpcf7 [type=submit], .button {
	background-color: var(--e-global-color-primary);
	color: #fff;
	border: none;
	max-width: fit-content;
	padding: 14px 40px;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.25s linear;
}
.wpcf7 [type=submit]:hover, .button:hover {
	background-color: #000;
}

.wpcf7-list-item {
	margin-left: 0;
	margin-top: 12px;
}
.wpcf7-list-item-label {
	font-size: 14px;
    padding-left: 4px;
}
.wpcf7-list-item-label a {
	font-size: 14px;
	color: var(--e-global-color-72b556b);
}
.wpcf7-not-valid-tip {
	font-size: 14px;
	font-style: italic;
	margin-top: 10px;
	margin-bottom: 0!important;
}
.inline-label span,
.inline-label span a {
	font-size: 14px;
	display: inline;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="date"],
.wpcf7 select,
textarea {
    width: 100%;
	background-color: transparent;
	border: none;
	outline: none;
    color: #000;
    border-bottom: 2px solid rgba(0,0,0,0.15);
    border-radius: 0;
	padding: 6px;
	margin-top: 6px;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="text"]:focus-visible,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="email"]:focus-visible,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="tel"]:focus-visible,
textarea:focus,
textarea:focus-visible {
    border-bottom: 2px solid rgba(0,0,0,0.20);
}
.wpcf7 label {
    font-family: "Roboto", Sans-serif;
}
.wpcf7-list-item label {
    display: flex;
    align-items: center;
}

/* Get in touch */
.get-in-touch {
	position: relative;
}
.get-in-touch-form .wpcf7 input[type="text"],
.get-in-touch-form .wpcf7 input[type="email"],
.get-in-touch-form .wpcf7 input[type="tel"],
.get-in-touch-form textarea {
    border-bottom: 2px solid #fff;
	color: #fff;
}
.get-in-touch-form .wpcf7 input[type="text"]:focus,
.get-in-touch-form .wpcf7 input[type="text"]:focus-visible,
.get-in-touch-form .wpcf7 input[type="text"]:active,
.get-in-touch-form .wpcf7 input[type="email"]:focus,
.get-in-touch-form .wpcf7 input[type="email"]:focus-visible,
.get-in-touch-form .wpcf7 input[type="email"]:active,
.get-in-touch-form .wpcf7 input[type="tel"]:focus,
.get-in-touch-form .wpcf7 input[type="tel"]:focus-visible,
.get-in-touch-form .wpcf7 input[type="tel"]:active,
.get-in-touch-form .wpcf7 textarea:focus,
.get-in-touch-form .wpcf7 textarea:focus-visible,
.get-in-touch-form .wpcf7 textarea:active {
	border: none;
	border-bottom: 2px solid var(--e-global-color-primary);
	outline: none;
}
.get-in-touch-form .form-wrapper p {
	display: grid;
	gap: 10px;
}
.get-in-touch-form .wpcf7 [type=submit] {
	margin: 10px auto 0;
	max-width: 100%;
    width: 100%;
}
.inline-fields {
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr;
}
.inline-fields label span {
	margin-bottom: 10px;
}

.get-in-touch-form .wpcf7 form .wpcf7-response-output,
.get-in-touch-form .wpcf7 form.sent .wpcf7-response-output,
.get-in-touch-form .wpcf7 form.invalid .wpcf7-response-output,
.get-in-touch-form .wpcf7 form.unaccepted .wpcf7-response-output,
.get-in-touch-form .wpcf7 form.payment-required .wpcf7-response-output {
	color: #fff!important;
}

/* Single page */
.single-hero-section {
    font-family: "Roboto", Sans-serif;
	background-color: var(--e-global-color-primary);
	padding-inline: 20px;
	padding-block: 40px;
	color: #fff;
	text-align: center;
}

article .post-content h2,
article .post-content h3,
article .post-content h4 {
	margin-top: 40px;
}
.pagination a {
	color: var( --e-global-color-primary );
}

/* Author box */
.author-box-section {
  border: 1px solid lightgray;
  padding: 24px;
}
.author-box-inner {
  display: grid;
  gap: 40px;
  width: 100%;
}
.author-heading {
    margin-bottom: 24px;
    font-size: 18px;
}

.author-info {
  flex: 1;
}
.author-name {
    font-size: 18px;
    font-weight: bold;
    text-transform: capitalize;
    margin: 0 0 5px;
}
.author-description {
    font-size: 15px;
    color: #777;
    line-height: 1.4;
    margin-bottom: 0;
}
.social-links {
    border: 1px solid lightgray;
    border-top: none;
    background-color: #fcfcfc;
    padding: 10px 24px;
}

.tags-wrapper {
    margin-top: 40px;
}
.tags-wrapper ul {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 16px;
    padding: 0;
    list-style: none;
}
.tags-wrapper li a {
    border: 2px solid #0000001b;
    color: #000;
    padding: 4px 10px;
    text-decoration: none;
    text-transform: capitalize;
    font-weight: 700;
    transition: all 0.25s linear;
}
.tags-wrapper li a:hover {
    border: 2px solid #000;
}

.next-prev-wrapper {
    display: grid;
    gap: 24px;
    margin-top: 60px;
}
.next-prev-wrapper .prev-item a,
.next-prev-wrapper .next-item a {
    padding-block: 24px;
    border-top: 2px solid #0000001b;
    border-bottom: 2px solid #0000001b;
}
.next-prev-wrapper .next-item a {
    justify-content: end;
}

.next-prev-wrapper a {
    display: flex;
    gap: 16px;
    align-items: center;
    color: #000;
    text-decoration: none;
}
.next-prev-wrapper a span {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    font-size: 32px;
    border: 1px solid #000;
    display: grid;
    place-content: center;
}

@media screen and ( min-width: 640px ) {
	.latest-posts {
		grid-template-columns: repeat(2, 1fr);
		gap: 56px;
	}
	.blog-archive-wrap .latest-posts {
		grid-template-columns: repeat(2, 1fr);
	}
	.author-box-inner {
        display: flex;
    }
	.next-prev-wrapper {
        grid-template-columns: repeat(2,1fr);
        gap: 80px;
    }
}

@media screen and ( min-width: 1025px ) {
	.hfe-nav-menu .menu-item-has-children .sub-menu {
		padding-block: 8px;
	}
	.hfe-nav-menu .menu-item-has-children .sub-menu .sub-menu {
		max-height: 460px;
		overflow-y: auto;
	}

}
@media screen and (max-width: 1024px) {
    .hfe-nav-menu__layout-horizontal .hfe-nav-menu {
		flex-wrap: wrap;
		padding-block: 8px;
	}
}
