/*!
Theme Name: merritenvironmental
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
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: merritenvironmental
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.

merritenvironmental 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: 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;
}

/* 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: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

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

p {
	margin-bottom: 1.5em;
}

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: #fff;
}

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:visited {
	color: #800080;
}

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

a:focus {
	outline: thin dotted;
}

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

/* 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;
	}
}

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

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

.page-content,
.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;
}

body, h1, h2, h3, h4, h5, h6, a, ul, li, ol, strong, small, p, span {
    font-family: "Poppins", sans-serif;
}

section.top-header {
    display: flex;
    justify-content: flex-end;
    background: #820024;
}

section.top-header div{
    display: flex;
    justify-content: flex-end;
}

section.top-header ul {
    display: flex;
    margin: 0;
    padding: 0;
}

section.top-header ul li {
    list-style: none;
    margin-right: 40px;
    padding: 6px 5px;
    display: flex;
    align-items: center;
}

section.top-header ul li a {
    color: #ffffff;
    text-decoration: none;
    display: flex;
	align-items: center;
}

section.top-header ul li  span {
    font-size: 19px;
    color: #ffffff;
    line-height: 19px;
}

section.top-header ul li a img {
    padding-right: 7px;
	width:33px;
	margin-right:5px;
}

section.top-header button {
    background: #2d6431;
    border: none;
    padding: 10px 27px;
}

section.top-header button a.request-a-quote-btn {
    color: #ffffff;
    font-size: 19px;
    text-decoration: none;
    line-height: 19px;
    display: flex;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link, #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link, #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link {
    color: #2d6431 !important;
	text-decoration: underline;
}

.header-main-wrapper.fixed header#masthead #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link:hover {
    text-decoration: underline;
}


button:hover {
    background: #000000 !important;
}

.elementor-button:hover {
    background: #000000 !important;
}

header#masthead {
    display: flex;
    padding: 8px 30px;
    align-items: center;
	flex-wrap: wrap;
	border-top: 1px solid transparent;
}

header#masthead img.custom-logo {
    max-width: 248px;
}

header#masthead .site-branding {
    display: flex;
    flex-basis: 800px;
    align-items: center;
}

header#masthead  nav#site-navigation {
    flex-basis: calc( 100% - 800px );
}

header#masthead a.custom-logo-link {
    margin-right: 30px;
    padding-right: 30px;
    display: flex;
    position: relative;
}

header#masthead .site-branding span {
    color: #820024;
    font-size: 26px;
    font-weight: 500;
	font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.7px;
	line-height: 1.3em;
	padding-bottom: 3px;
}

header#masthead a.custom-logo-link:after {
    content: "";
    background: #000000;
    width: 1px;
    right: 0px;
    position: absolute;
    top: 18px;
    height: 40px;
}

.mega-current_page_parent .mega-current_page_item a.mega-menu-link{
    background: #2d6431 !important;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1[data-effect="fade_up"] li.mega-menu-item.mega-menu-megamenu > ul.mega-sub-menu, #mega-menu-wrap-menu-1 #mega-menu-menu-1[data-effect="fade_up"] li.mega-menu-item.mega-menu-flyout ul.mega-sub-menu {
    left: 10px;
	top: 45px;
}

span.mega-indicator {
    display: none !important;
}


#mega-menu-wrap-menu-1 #mega-menu-menu-1[data-effect="fade_up"] li.mega-menu-item.mega-menu-flyout ul.mega-sub-menu:before {
    content: "";
    position: absolute;
    top: -5px;
    left: 20px;
    display: block;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 10px 10px 10px 0px;
    border-color: #820024 transparent transparent transparent;
    transform: rotate(45deg);
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
    font-weight: 500 !important;
}

footer#colophon .site-info {
    background: #820024;
    padding: 45px 40px 35px;
    text-align: center;
}

footer#colophon .bottom-footer {
    background: #2d6431;
    text-align: center;
    padding:10px 5px;
}

footer#colophon .site-info img {
    margin-bottom: 20px;
	max-width: 250px;
    width: 100%;
}

footer#colophon .site-info ul.footer-list {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    margin-bottom: 30px;
}

footer#colophon .site-info ul.footer-list li {
    list-style: none;
    margin-right: 30px;
}

footer#colophon .site-info ul.footer-list li img {
    margin: 0;
    width: 25px;
    margin-right: 8px;
}

footer#colophon .site-info ul.footer-list li a {
    display: flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
}

footer#colophon .site-info ul.footer-links {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

footer#colophon .site-info ul.footer-links li {
    list-style: none;
    margin: 0 18px;
}

footer#colophon .site-info ul.footer-links li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 22px;
	font-weight: 500;
}

footer#colophon .bottom-footer p {
    margin: 0;
    color: #ffffff;
    font-size: 16px;
}

footer#colophon .bottom-footer p span {
    padding: 10px;
}

footer#colophon .bottom-footer p span a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid #ffffff;
}

.mobile-show {
    display: none !important;
}

.header-main-wrapper.fixed {
    position: fixed;
    top: 0;
    width: 100%;
	z-index: 15;
}

.header-main-wrapper.fixed header#masthead {
    background: #ffffff;
    background-size: cover;
    background-position: 0px center;
	border-top: 1px solid #ffffff;
	padding:0 0 0 30px;
}

.header-main-wrapper.fixed header#masthead nav#site-navigation {
    background: url('/wp-content/uploads/2024/05/nav-bar-menu.png');
    background-size: cover;
    background-position: left;
    padding: 23px 30px;
}

.header-main-wrapper.fixed header#masthead #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
    color: #ffffff;
}

header.entry-header {
    height: 425px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('https://merrittenvdev.wpenginepowered.com/wp-content/uploads/2024/04/inner-pages-banner.jpg');
    background-position: center;
    background-size: cover;
}

header.entry-header h1.entry-title {
    color: #ffffff;
    margin: 0;
    margin-top: 60px;
    padding: 21px 150px;
    background: #800000c7;
	font-size: 45px;
	text-align: center;
}

.header-main-wrapper {
    position: fixed;
    width: 100%;
	z-index:10;
	top: 0;
}

.home header.entry-header {
    display: none;
}

.merrit-testimonial-slider .single-item-wrapper {
    display: flex;
    flex-direction: column;
}

.merrit-testimonial-slider .single-item-wrapper h3.author-name {
    order: 2;
	font-size: 18px;
    color: #000000;
    font-family: 'Poppins';
    font-weight: 600;
	margin-bottom:0;
}

.merrit-testimonial-slider .single-item-wrapper h4.author-bio {
    order: 3;
    margin: 0;
    color: #000000;
}

.merrit-testimonial-slider .single-item-wrapper h4.author-bio span.author-designation {
    display: block;
    font-weight: 600;
}

.merrit-testimonial-slider .single-item-wrapper h4.author-bio span.item-company:before {
    content: "";
    position: absolute;
    width: 10px;
    display: inline-block;
    background: #ffffff;
    height: 10px;
    bottom: 3px;
    left: -14px;
}

.merrit-testimonial-slider .single-item-wrapper h4.author-bio span.item-company {
    position: relative;
}

.merrit-testimonial-slider .single-item-wrapper h3.author-name:before {
    content: "-";
    display: inline;
    margin-right: 2px;
}

.merrit-testimonial-slider .single-item-wrapper .item-content-wrapper {
    order: 1;
    background: transparent;
    max-width: 640px;
    margin: auto;
    text-align: center;
	padding: 0 20px;
}

.merrit-testimonial-slider .swiper-pagination span.swiper-pagination-bullet {
	margin: 2px !important;
	width: 30px;
	height: 3px;
	border-radius: 0 !important;
	background:#cccccc;
	opacity: 1;
}

.merrit-testimonial-slider .swiper-pagination span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #820024;
}

.merrit-testimonial-slider .single-item-wrapper .item-content-wrapper .item-content {
    font-family: 'Poppins';
    font-style: normal;
    font-size: 18px;
	color: #000000 !important;
}

.merrit-testimonial-slider .single-item-wrapper .item-content-wrapper:before {
    display: none;
}

header#masthead:before {
    content: "";
    box-shadow: 0px 3vh 100px 60px #fff1d4;
    z-index: -1;
    display: block;
    width: 100%;
    height: 100%;
}

.header-main-wrapper.fixed header#masthead:before {
    display:none;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link:hover {
    font-weight: 500;
}

.mega-current_page_item a.mega-menu-link {
    font-weight: 500 !important;
}

footer#colophon .site-info ul.footer-list li:last-child {
    margin-right: 0;
}

.header-main-wrapper.fixed header#masthead .mega-menu-item-has-children.mega-current_page_item a.mega-menu-link {
    color: #000000 !important;
}

.header-main-wrapper.fixed header#masthead .mega-menu-item-has-children.mega-current_page_item ul.mega-sub-menu li a {
    color: #ffffff !important;
}

section.error-404.not-found {
    max-width: 70%;
    margin: auto;
    text-align: center;
    padding: 80px 20px;
}

.swiper-slide-image {
    padding: 10px;
}

.mega-current_page_item.mega-menu-item-has-children a.mega-menu-link {
    background: transparent !important;
}

.header-main-wrapper.fixed #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link {
    background: #2d6431 !important;
    color: #ffffff !important;
}

.header-main-wrapper.fixed #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item.mega-current-menu-parent > a.mega-menu-link {
    background: #2d6431 !important;
    color: #ffffff !important;
}

.header-main-wrapper.fixed #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-flyout ul.mega-sub-menu:before {
    border-color: #ffffff transparent transparent transparent;
}

.header-main-wrapper.fixed #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item.mega-current-menu-item > ul li a.mega-menu-link:hover {
    background: #2d6431 !important;
    color: #ffffff !important;
}

.wpcf7 form.wpcf7-form p {
    margin: 0;
    margin-bottom: 15px;
}

.wpcf7 form.wpcf7-form p{
    color: #820024;
}

.wpcf7 form.wpcf7-form p input {
    height: 40px;
    width: 100%;
    color: #000000;
}

.wpcf7 form.wpcf7-form p textarea {
    max-height: 100px;
    max-width:100%;
    min-width:100%;
    width: 100%;
    color: #000000;
}

.wpcf7 form.wpcf7-form input.wpcf7-form-control.wpcf7-submit {
    font-family: 'Poppins';
    font-size: 18px;
    max-width: unset;
    height: 50px;
    width: unset;
    color: #ffffff;
    line-height: 15px;
}

.wpcf7 form.wpcf7-form input.wpcf7-form-control.wpcf7-submit:hover {
    background: #000000 !important;
}

.wpcf7 form.wpcf7-form p .wpcf7-radio {
    display: block;
}

.wpcf7 form.wpcf7-form p .wpcf7-radio span.wpcf7-list-item {
    display: block;
    text-align: left;
}

.wpcf7 form.wpcf7-form p .wpcf7-radio span.wpcf7-list-item input[type="radio"] {
    height: 15px;
    width: 15px;
}

.wpcf7 form.wpcf7-form hr {
    border: 1px solid #cccccc;
    margin: 20px 0 10px;
}

.merrit-slider-text {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 20px;
    background: #820024b5;
	max-width: 550px;
    text-align: center;
}

.sa_hover_container {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.merrit-slider-text h2 {
    color: #ffffff !important;
    font-size: 30px !important;
    line-height: 36px;
}

.merrit-anchor-wrap a{
	max-width: 350px !important;
    width: 100%;
    display: block;
    margin: auto;
}


@media screen and (max-width:1780px){
	#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
		padding: 0 15px;
	}
}

@media screen and (max-width:1750px){
	header#masthead {
		padding: 8px 20px;
	}

	.header-main-wrapper.fixed header#masthead {
		padding: 0 0 0 20px;
	}

	.header-main-wrapper.fixed header#masthead nav#site-navigation {
		padding: 23px 20px 23px 0px;
	}
	
}

@media screen and (max-width:1730px){
	
	header#masthead .site-branding{
		flex-basis:760px;
	}

	header#masthead  nav#site-navigation {
		flex-basis: calc( 100% - 760px );
	}

	#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
		font-size: 20px;
	}

	.header-main-wrapper.fixed header#masthead {background-position: -100px center;}

	header#masthead .site-branding span {
		font-size: 24px;
	}
}

@media screen and (max-width:1640px){
	header#masthead .site-branding span {
		font-size: 22px;
	}

	header#masthead .site-branding {
		flex-basis: 720px;
	}

	header#masthead nav#site-navigation {
		flex-basis: calc( 100% - 720px );
	}
}

@media screen and (max-width:1620px){
	.header-main-wrapper.fixed header#masthead {
		background-position: -100px center;
	}
	
	#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
		font-size: 18px;
	}
}

@media screen and (max-width:1560px){
	.header-main-wrapper.fixed header#masthead {
		background-position: -180px center;
	}
	
	#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
        font-size: 16px;
    }
}

@media screen and (max-width:1490px){
	header#masthead .site-branding span {
		font-size: 20px;
	}

	header#masthead .site-branding {
		flex-basis: 690px;
	}

	header#masthead  nav#site-navigation {
		flex-basis: calc( 100% - 690px );
	}
}

@media screen and (max-width:1450px){
	header#masthead .site-branding span {
		font-size: 18px;
	}

	header#masthead .site-branding {
		flex-basis: 650px;
	}

	header#masthead nav#site-navigation {
		flex-basis: calc(100% - 650px);
	}
}

@media screen and (max-width:1440px){
	.header-main-wrapper header#masthead #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
		padding: 0 7px;
	}
}

@media screen and (max-width:1401px){
	.header-main-wrapper.fixed header#masthead {
		background-position: -500px center;
	}
}

@media screen and (max-width:1350px){
	
	.header-main-wrapper.fixed header#masthead {
		background-position: -200px center;
	}
	
	.merrit-hotspot-wrapper h2 {
		font-size: 18px !important;
	}
}

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

	header#masthead .site-branding {
		flex-basis: 530px;
	}

	header#masthead nav#site-navigation {
		flex-basis: calc(100% - 530px);
	}
	
	header#masthead .site-branding span {
        font-size: 17px;
    }
	
	header#masthead img.custom-logo {
		max-width: 170px;
	}
	
	.header-main-wrapper.fixed header#masthead {
		background-position: -350px center;
	}
	
	header#masthead a.custom-logo-link {
		margin-right: 15px;
		padding-right: 15px;
	}

	header#masthead a.custom-logo-link:after {
		height: 25px;
		top: 10px;
	}
	
	header#masthead {
		padding: 20px 20px;
	}
}

@media screen and (max-width:1200px){
	.header-main-wrapper.fixed header#masthead {
		background-position: -390px 0px;
	}

	header#masthead .site-branding {
		flex-basis: 530px;
	}

	header#masthead nav#site-navigation {
		flex-basis: calc(100% - 530px);
	}
	
	header#masthead .site-branding span {
        font-size: 16px;
    }
	
	#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
        font-size: 15px;
    }
	
	.header-main-wrapper header#masthead #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
		padding: 0 5px;
	}
}

@media screen and (max-width:1130px){
	.header-main-wrapper.fixed header#masthead {
		background-position: -450px 0px;
	}
	

	.merrit-hotspot-wrapper .elementor-widget-heading .elementor-widget-container {
		padding: 30px 10px !important;
	}
	
	#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
        font-size: 14px;
    }
}

@media screen and (max-width:1100px){
	header#masthead .site-branding {
		flex-basis: 450px;
	}

	header#masthead nav#site-navigation {
			flex-basis: calc(100% - 450px);
	}
	
	
}


@media screen and (max-width:1070px){
	.header-main-wrapper header#masthead #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
		padding: 0 5px;
	}
	
	header#masthead .site-branding {
		z-index: 11111;
	}
	
	.header-main-wrapper.fixed header#masthead nav#site-navigation {
		padding-right: 20px;
	}
}

@media screen and (max-width:1024px){
	
	.sa_hover_container {
		justify-content: center;
	}
	
	#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item{
		float: right;
	}

	.header-main-wrapper header#masthead #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
		max-width: max-content;
		float: right;
	}
	
	ul.mega-sub-menu {
		margin: 5px 0 0 !important;
	}
	
	#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
		font-size: 22px;
	}
	
	.mega-menu-toggle {
		justify-content: end;
		max-width: 100px;
	}
	
	section.top-header ul li:nth-child(2) {
		margin: 0 !important;
	}
	
	span.mega-indicator {
		display: inline-block !important;
	}
	
	.mobile-show {
		display: block !important;
	}
	
	footer#colophon .site-info ul.footer-list {
		flex-direction: column;
		justify-content: center;
		align-items: center;
		margin: 0;
	}
	
	footer#colophon .bottom-footer{
		padding:14px 5px;
	}

	footer#colophon .site-info ul.footer-list li {
		text-align: center;
		padding-bottom: 10px;
		margin: 0;
	}

	footer#colophon .site-info ul.footer-links {
		display: none;
	}

	footer#colophon .site-info {
		padding:50px 15px;
	}

	footer#colophon .site-info img {
		margin-bottom: 30px;
	}

	footer#colophon .bottom-footer p span {display: block;padding: 0;}

	.mobile-hide {
		display: none !important;
	}
	
	header#masthead .site-branding span {
		display: none;
	}

	header#masthead a.custom-logo-link:after {
		display: none;
	}
	
	#mega-menu-wrap-menu-1 .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-slider .mega-toggle-animated-inner {
		background: #820024;
		height: 3px;
	}

	#mega-menu-wrap-menu-1 .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::before, #mega-menu-wrap-menu-1 .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::after {
		background: #820024;
		height: 3px;
	}
	
	header#masthead nav#site-navigation {
		position: absolute;
		left: 0;
	}
	
	header#masthead nav#site-navigation button {
		position: absolute;
		right: 15px;
		top: 5px;
		z-index:111111111;
	}
	
	header#masthead {
		padding: 15px;
	}
	
	section.top-header {
		justify-content: center;
	}
	
	#mega-menu-wrap-menu-1 .mega-menu-toggle + #mega-menu-menu-1 {
		width: 85vw;
		right: 0;
		top: 65px;
		height: calc(100vh - 100px);
        overflow-y: scroll;
	}

	#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item a {text-align: right !important;width: 100% !important;}
	
	.req-a-quo-btn {
		display: flex !important;
		justify-content: flex-end;
	}

	.req-a-quo-btn a.mega-menu-link {
		max-width: 200px !important;
		background: #2d6431 !important;
		margin-top: 20px !important;
		text-align: center !important;
		display: flex !important;
		justify-content: center;
		height: 50px !important;
        align-items: center !important;
	}
	
	#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
		font-size: 18px;
		line-height:24px
	}
	
	
	#mega-menu-wrap-menu-1 #mega-menu-menu-1[data-effect="fade_up"] li.mega-menu-item.mega-menu-flyout ul.mega-sub-menu:before {
		display:none;
	}
	
	button.mega-toggle-animated {
		background: transparent !important;
	}
	
	.header-main-wrapper.fixed header#masthead nav#site-navigation {
		background: #ffffff !important;
		padding: 0px;
	}
	
	.header-main-wrapper.fixed header#masthead {
		background: #ffffff;
		padding: 15px;
	}
	
	.mega-menu-menu-1-mobile-open {
		position: fixed;
		top:0;
		width: 100%;
	}
	
	#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link, #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link, #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link{
		color:#ffffff !important;
		text-decoration:none !important;
	}
	
	#mega-menu-wrap-menu-1 #mega-menu-menu-1 li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator{
		position: absolute;
	}
	
	.mega-current_page_item.mega-menu-item-has-children a.mega-menu-link{
		color: #ffffff !important;
        background: #2d6431 !important;
	}
	
	.mega-current_page_item.mega-menu-item-has-children ul li a.mega-menu-link {
		background: transparent !important;
	}
}

@media screen and (max-width:874px){
	.merrit-hotspot-wrapper h2 {
        font-size: 15px !important;
    }
}

@media screen and (max-width:767px){
	
	.merrit-hotspot-wrapper h2 {
        font-size: 18px !important;
    }
	
	.image-con-flex .elementor-widget-container {
		display: flex;
		justify-content:center;
	}
	
	.image-con-flex{
		display: flex;
		justify-content:center !important;
		width: 100%;
	}
	
	.merrit-hotspot-wrapper img {
		display: block;
		margin: auto;
		width: 100% !important;
	}

	.merrit-hotspot-wrapper .elementor-widget-heading {
		width: 100% !important;
        margin: auto;
        max-width: 500px !important;
	}

	.merrit-hotspot-wrapper .elementor-widget-heading h2 {
		font-size: 21px !important;
	}
	
	section.top-header ul li  span {
		font-size: 14px;
		color: #ffffff;
		line-height: 14px;
	}
	
	header.entry-header h1.entry-title {
		padding: 15px 20px;
        font-size: 30px;
        max-width: 280px;
        text-align: center;
	}
	
	.inner-page-image {
		display: flex;
	}

	.inner-page-image .elementor-widget-container {
		width: 100%;
		display: flex;
		height: auto !important;
	}
	
	.merrit-testimonial-slider .single-item-wrapper .item-content-wrapper {
		padding: 0;
	}

	section.error-404.not-found {
		max-width: 100%;
		padding: 30px 20px;
		word-break: break-word;
	}
	
	.merrit-slider-text h2 {
		font-size: 26px !important;
	}

	.merrit-slider-text {
		padding: 5px 10px;
	}
	
}

@media screen and (max-width:400px){
	section.top-header ul li {
		margin-right: 5px;
	}
	
	footer#colophon .site-info ul.footer-list li a{
		font-size:15px;
	}
}

@media screen and (min-width:1025px){
	.sa_hover_container {
		min-height: 770px !important;
	}
}

.purchase-accordion .elementor-accordion .elementor-accordion-item:first-of-type {
display: none;}
.elementor-accordion {
  border-top: 1px solid  #D4DFF2C7;
}