/*!
Theme Name: EnvyCleaningServices
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.28
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: envycleaningservices
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.

EnvyCleaningServices 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
--------------------------------------------------------------*/

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


/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}



.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
--------------------------------------------- */
:where(.wp-block-columns){
	margin-bottom: unset;
}

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






/* CUSTOM CSS */





:root{
	--yellow: #FFEA00;
	--accent: #E5AE37;
	--tan: #F8F4EF;
	--headline: "Playfair Display", serif;
	--text: "Roboto", serif;
}

.maxWidth{
	max-width: 1500px;
	width: 100%;
	padding: 0 50px;
	margin: 0 auto;
}

section{
	padding: 100px 0;
}

.accent{
	color: var(--accent);
}

.flex{
	display: flex;
}

.flex.center{
	justify-content: center;
}
.flex.align{
	align-items: center;
}
.flex.space{
	justify-content: space-between;
}
.flex.start{
	justify-content: flex-start;
}
.flex.end{
	justify-content: flex-end;
}
div.column{
	flex-direction: column;
}

html{
	font-size: 18px;
}

h1, h2, h3, h4, h5, h6{
	font-family: var(--headline);
	font-weight: lighter;
	line-height: 1.25em;
}

p, div, li, ol, ul, section{
	font-family: var(--text);
	font-size: 1rem;
	font-weight: 100;
	line-height: 1.35rem;
}

h1{
	font-size: 4.44rem;
}

h2{
	font-size: 1.66rem;
}
h2.large{
	font-size:3.33rem;
	margin-top: unset;
}
h3{
	font-size: 1.11rem;
}
.btn{
	border-radius: 15px;
	color: #FFF;
	background-color: #000;
	display: inline-block;
	padding: 10px 20px;
}
.custom-logo{
	width: auto;
	height: 80px;
}
a{
	text-decoration: none;
}
*{
	box-sizing: border-box;
}

h4{
	margin: 40px 0 5px 0;
}



/* 


NAVIGATION */


#masthead .top{
	background: rgb(255,255,255);
	background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(248,244,239,1) 100%); 
}
#masthead .flex.column{
	width: 100%;
}
#masthead nav ul{
	list-style-type: none;
	display: flex;
	align-items: center;
}
#masthead nav li{
	padding-right: 25px;
}

#masthead .btn{
	width: 240px;
	text-align: center;
}
#masthead .top .left{
	padding-right: 25px;
	font-family: var(--headline);
	font-weight: 100;
	text-align: right;
}
#masthead .top .right{
	height: 50px;
	padding: 0 0 0 50px;
	background-color: var(--yellow);
	display: flex;
	align-items: center;
	position: relative;
	z-index: 2;
	clip-path: polygon(10% 0%, 100% 0, 100% 100%, 0% 100%);
	font-weight: bold;
	
}
#masthead .top .right a{
	margin-left: 5px;
	color: inherit;
}
#masthead nav a{
	font-family: var(--headline);
	color: #000;
	font-size: 16px;
}
#masthead .yellowBack{
	position: absolute;
	top: 0;
	height: 50px;
	right: 0;
	width: calc((100vw - 1400px) / 2);
	background-color: var(--yellow);
	z-index: 1;
	min-width: 150px;
}

/* Submenu (Hidden by Default) */
#masthead nav ul .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0;
    min-width: 200px;
    z-index: 1000;
}

/* Submenu Items */
#masthead nav ul .sub-menu li {
    display: block;
    padding: unset;
    white-space: nowrap;
	margin: unset;
}

/* Make Submenu Visible on Hover */
#masthead nav ul li:hover > .sub-menu {
    display: block;
}

/* Style Submenu Links */
#masthead nav ul .sub-menu li a {
    display: block;
    color: #000;
    text-decoration: none;
    padding: 7px 15px;
	font-size: .8em;
}

#masthead nav ul .sub-menu li a:hover {
    background: rgba(0, 0, 0, 0.05);
}
/* Front page */
#front #hook .left{
	text-align: center;
	padding: 0 100px;
}
#front #hook .right{
	width: 50%;
	height: 500px;
	
	/* background-attachment: fixed; */
	
	position: relative;
}
.wireaccent{
	border-radius: 50px;
	border: 1px solid var(--accent);
	width: 80%;
	height: 90%;
	position: absolute;
	bottom: -15px;
	right: -15px;
}
#front #hook{
	padding-bottom: 100px;
}
#front #hook .right .image{
	clip-path: polygon(10% 0%, 100% 0, 100% 100%, 0% 100%);
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	border-radius: 0 50px 50px 0 ;
	position: relative;
	z-index: 2;
}
#front #hook .btn{
	margin-right: 20px;
}
#front #hook h1{
	line-height: 1em;
	margin: 0 0 40px 0;
}
#front #hook .left .flex{
	margin-top: 30px;
}
#srvsOverview{
	background-image: url('https://envycs.com/wp-content/uploads/2024/12/blackdamask.png');
	background-color: #000;
	padding: 50px 0;
	
}
#srvsOverview .tns-nav, #srvsOverview .tns-controls, #srvsOverview button{
	display: none;
}
#srvsOverview .item .srv{
	padding: 25px 15px;
	border-radius: 15px;
	/* background-color: var(--tan); */
	background-color:#FFF;
	box-sizing: border-box;
	text-align: center;
	height: 100%;
	border: 1px solid var(--accent);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items:center ;

}
#srvsOverview .item hr{
	border-color: var(--accent);
	width: 30%;
	margin: 0 auto;
	border: unset;
	border-top: 1px solid var(--accent);
}

#srvsOverview .slider{
	display: flex;
	align-items: stretch;
}

.wp-block-media-text figure{
	
	position: relative;
}
.wp-block-media-text figure img{
	position: relative;
	z-index: 2;
	border-radius: 25px;
}
.wp-block-media-text figure::before{
	content: " ";
	width: 80%;
	height: 80%;
	border: 1px solid var(--accent);
	position: absolute;
	left: -15px;
	bottom: -15px;
	border-radius: 25px;
	/* transform: translateY(var(--before-y, 0));
	transition: transform 0.3s ease-out; */
}
.pl15{
	padding-left: 15px;
}

a.bold{
	color: inherit;
	font-weight: 600;
}
#lifeEasier{
	background-image: url('https://envycs.com/wp-content/uploads/2024/12/dots.png');
	background-size: 75px;
	padding-bottom: unset;
}
#lifeEasier .benefits{
	border-top: 14px solid var(--tan);
	border-bottom: 14px solid var(--tan);
	display: flex;
	align-items: stretch;
	height: 24vw;
	background-position: center;
	background-size: cover;
}
#lifeEasier h2{
	text-align: center;
}
#lifeEasier .item{
	position: relative;
	background-position: center;
	background-size: cover;
	transition: 0.3s ease all;
	/* opacity: 0;
	top: 50px;
	transform: scale(0.9); */
}

#lifeEasier .item .flex{
	padding: 25px;
	z-index: 2;
	position: relative;
	color: #FFF;
	position: absolute;
	bottom: 0;
	left: 0;
}
#lifeEasier .item .flex *{
	margin: unset;
}
#lifeEasier .overlay{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
	z-index: 1;
}
#lifeEasier .item p{
	font-size: 18px;
}
#lifeEasier .item h3{
	font-size: 25px;
	padding-bottom: 5px;
}

#mapSec{
	padding: unset;
	position: relative;
}
#mapSec #mapMessage{
	position: absolute;
	bottom: 35px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2000;
	padding: 30px 50px;
	border-radius: 25px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
	background: rgba(248, 244, 239, 0.8);
	font-family: var(--headline);
	font-size: 1.6em;
	line-height: 1.25em;
	text-align: center;
}

/* 




FOOTER STYLES

*/

footer .logo img{
	max-width: 300px;
	height: auto;
	width: 100%;
}
footer .small{
	font-size: 16px;
	max-width: 350px;
}
footer .centerColumn{
	text-align: center;
}
footer .large{
	font-size: 20px;
}

footer{
	padding: 75px 0;
}
footer hr{
	border: unset !important;
	border-top: 2px solid var(--accent) !important;
}
footer .btn{
	margin-right: 20px;
	background-color: var(--accent);
	font-weight: bold;
	color: #FFF;
	font-size: 20px;
	line-height: 1em;
	height: 50px;
	align-items: center;
	justify-content: center;
	padding: 0 35px;
	display: flex;
}
footer .btn:hover{
	background-color: #333;
}
footer a{
	color: inherit;
	font-weight: 600;
}

#copyright{
	background-color: var(--tan);
	padding: 15px 0;
}
#copyright p{
	margin: unset;
	padding: unset;
	font-size: 14px;
}
#copyright svg{
	width: 15px;
	height: auto;
}
#copyright a{
	color: inherit;
}
.leaflet-control-attribution{
	display: none;
}

/* PAGE STYLES */

#page #hook{
	display: block;
	position: relative;
	padding-top: 50px;
	background-image: url('https://envycs.com/wp-content/uploads/2024/12/dots.png');
	background-size: 75px;
}
#page #hook h2{
	font-size: 2.24rem;
}
#page #hook .flex .left,#page #hook .flex .right{
	width: 50%;
	position: relative;
}
#page #hook .flex .left{
	padding: 100px 50px;
	text-align: center;
}
#page #hook .flex .right .image{
	height: 100%;
	width: 100%;
	background-size: cover;
	background-position: center;
	position: relative;
	border-radius: 0 50px 50px 0;
	z-index: 3;
	clip-path: polygon(10% 0%, 100% 0, 100% 100%, 0% 100%);
	
}
#page #hook .maxWidth > .flex{
	align-items: stretch;
}
#page #hook .btn{
	margin: unset;
	color: #FFF;
}
#page #hook a{
	color: inherit;
}
.content .hrlines{
	display: inline-block;
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	justify-content: center;
	text-align: center;
	margin:unset;
}
.content .hrlines::before{
	content: " ";
	width: 50px;
	height: 50%;
	border-top: 1px solid var(--accent);
	bottom: 0;
	display: block;
	margin-right: 20px;
}
.content .hrlines::after{
	content: " ";
	display: block;
	width: 50px;
	height: 50%;
	border-top: 1px solid var(--accent);
	bottom: 0;
	margin-left: 20px;
}
.content h2{
	font-size: 2.25rem;
}
.content h3{
	font-size: 1.4rem;
}
.content h4{
	font-size: 1.4rem;
	font-weight: 400;
}
.content h2 strong{
	color: var(--accent);
}

.is-style-rounded img{
	border-radius: 15px;
}
.wp-block-gallery img{
	border: 1px solid #FFF;
}
.wp-block-gallery{
	margin: unset;
}
.wp-block-columns div.wp-block-column:nth-child(1){
	margin-right: 2vw;
}
.wp-block-column{
	position: relative;
}
.damask{
	background-image: url('https://envycs.com/wp-content/uploads/2024/12/blackdamask.png');
	background-color: #000;
	background-position: center;
	height: 116%;
	width: 70%;
	z-index: -2;
	position: absolute;
	top: -8%;
	left: -8%;
	border-radius: 25px;
}

.wire::after{
	content: " ";
	position: absolute;
	bottom: -20px;
	right: -20px;
	border: 1px solid var(--accent);
	border-radius: 15px;
	height: 90%;
	width: 70%;
	z-index: -1;
}
.content p.large{
	font-size: 1.38rem;
	font-family: var(--headline);
	margin: 25px 0 0 0;
}
.content p.large.normal{
	font-family: var(--text);
}
.content.tan{
	background-color: var(--tan);
}
.content.dots{
	background-image: url('https://envycs.com/wp-content/uploads/2024/12/dots.png');
	background-size: 75px;
}
.bottom0{
	padding-bottom: unset !important;
}
:where(figure){
	margin: unset;
}
.content h2 strong{
	color: var(--accent);
}
.wrapsmall{
	max-width: 1100px;
	margin: 0 auto;
}

ul li{
	margin: 20px 0;
	position: relative;
}
ul.checks{
	list-style: none;
}
ul.checks li::before{
	content: " ";
	display: block;
	position: absolute;
	top: 50%;
	left: -40px;
	transform: translateY(-50%);
	width: 25px;
	height: 25px;
	background-image: url('https://envycs.com/wp-content/uploads/2024/12/checkmark.png');
	background-position: center;
	background-size: contain;
}


.content.left-image .maxWidth, .content.right-image .maxWidth{
	max-width: unset;
	padding: unset;
}

.content{
	position: relative;
}

.content.left-image .featured-image, .content.right-image .featured-image{
	width: 50%;
	height: 600px;
	background-position: center;
	background-size: cover;
	position: relative;
	border-radius: 0 15px 15px 0 ;
	border: 2px solid var(--accent);
	
}
.content.left-image .featured-image .damask, .content.right-image .featured-image .damask{
	width: 80%;
	height: 80%;
	top: -20px;
	right: -20px;
	left: unset;
}
.content.left-image .contentWrap, .content.right-image .contentWrap{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 50%;
	max-width: 50%;
	padding: 50px 100px;
}
.wp-block-button__link{
	border-radius: 15px;
	background-color: var(--accent);
}
.content.right-image .maxWidth{
	display: flex;
	justify-content: flex-end;
}
.content.right-image .contentWrap{
	left: unset;
	right: 50%;
}
.content.right-image .featured-image .damask{
	right: unset;
	left: -20px;
}
.content.right-image .featured-image{
	border-radius: 15px 0 0 15px;
}

/* BLOG */

.blog-page{
	background-color: #FFF;
}

.blog-hero{
	background-color: var(--tan);
	background-image: url('https://envycs.com/wp-content/uploads/2024/12/dots.png');
	background-size: 75px;
	padding: 100px 0;
	position: relative;
}

.blog-hero__inner{
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
	align-items: center;
	gap: 70px;
}

.blog-hero:not(.has-image) .blog-hero__inner{
	grid-template-columns: minmax(0, 850px);
	justify-content: center;
	text-align: center;
}

.blog-hero:not(.has-image) .blog-hero__copy{
	justify-self: center;
	width: 100%;
}

.blog-hero__copy h1,
.blog-single__title h1{
	font-size: clamp(2.5rem, 4vw, 4.44rem);
	line-height: 1.02em;
	margin: 10px 0 25px;
}

.blog-hero__copy p,
.blog-single__title p{
	max-width: 620px;
}

.blog-hero:not(.has-image) .blog-hero__copy p{
	margin-left: auto;
	margin-right: auto;
}

.blog-eyebrow,
.blog-meta,
.blog-back-link,
.blog-read-more,
.blog-single .nav-subtitle{
	font-family: var(--headline);
	font-weight: 400;
}

.blog-eyebrow{
	color: var(--accent);
	margin: 0;
}

.blog-hero__media{
	position: relative;
	min-height: 440px;
	background-position: center;
	background-size: cover;
	border-radius: 0 50px 50px 0;
	clip-path: polygon(10% 0%, 100% 0, 100% 100%, 0% 100%);
}

.blog-hero__media .wireaccent,
.blog-single__image .wireaccent{
	z-index: 0;
}

.blog-listing{
	padding: 90px 0;
}

.blog-grid{
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 35px;
	align-items: stretch;
}

.blog-card{
	background-color: #FFF;
	border: 1px solid rgba(229, 174, 55, 0.45);
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.blog-card:first-child.has-image{
	grid-column: span 2;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
}

.blog-card:first-child.no-image{
	grid-column: span 2;
}

.blog-card__image{
	display: block;
	min-height: 260px;
	background-color: var(--tan);
	overflow: hidden;
}

.blog-card__image img{
	width: 100%;
	height: 100%;
	min-height: 260px;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.blog-card:hover .blog-card__image img{
	transform: scale(1.04);
}

.blog-card__content{
	padding: 30px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.blog-meta{
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	color: #615949;
	font-size: 0.86rem;
	line-height: 1.2em;
}

.blog-meta span::before{
	content: "/";
	margin-right: 10px;
	color: var(--accent);
}

.blog-meta a{
	color: inherit;
}

.blog-card h2{
	font-size: 1.65rem;
	margin: 16px 0 14px;
}

.blog-card h2 a,
.blog-single__content a,
.blog-back-link,
.blog-read-more,
.blog-cta a:not(.btn){
	color: inherit;
}

.blog-card__excerpt{
	flex: 1;
}

.blog-card__excerpt p{
	margin-top: 0;
}

.blog-read-more{
	align-self: flex-start;
	border-bottom: 1px solid var(--accent);
	padding-bottom: 4px;
}

.blog-empty{
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.blog-empty h2{
	font-size: 2.25rem;
}

.blog-page .navigation.pagination,
.blog-page .post-navigation{
	margin-top: 55px;
}

.blog-page .nav-links{
	display: flex;
	justify-content: space-between;
	gap: 25px;
}

.blog-page .page-numbers,
.blog-page .post-navigation a{
	color: #000;
}

.blog-page .page-numbers{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	border: 1px solid var(--tan);
	border-radius: 8px;
	margin-right: 6px;
}

.blog-page .page-numbers.current{
	background-color: var(--accent);
	border-color: var(--accent);
	color: #FFF;
}

.blog-single__hero{
	background-color: var(--tan);
	background-image: url('https://envycs.com/wp-content/uploads/2024/12/dots.png');
	background-size: 75px;
	padding: 90px 0 105px;
}

.blog-back-link{
	display: inline-block;
	margin-bottom: 35px;
	color: #000;
	border-bottom: 1px solid var(--accent);
	padding-bottom: 4px;
}

.blog-single__header-wrap{
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
	gap: 70px;
	align-items: center;
}

.blog-single__header-wrap.no-image{
	grid-template-columns: minmax(0, 900px);
}

.blog-single__header-wrap.no-image .blog-single__title{
	max-width: 900px;
}

.blog-single__image{
	position: relative;
}

.blog-single__image img{
	width: 100%;
	height: auto;
	max-height: 560px;
	object-fit: cover;
	display: block;
	border-radius: 0 50px 50px 0;
	clip-path: polygon(10% 0%, 100% 0, 100% 100%, 0% 100%);
	position: relative;
	z-index: 2;
}

.blog-single__content-wrap{
	padding: 85px 0 20px;
}

.blog-single__content{
	max-width: 850px;
	margin: 0 auto;
	color: #222;
}

.blog-single__content > *:first-child{
	margin-top: 0;
}

.blog-single__content p,
.blog-single__content li{
	font-size: 1.08rem;
	line-height: 1.75em;
}

.blog-single__content h2{
	font-size: 2.2rem;
	margin-top: 55px;
}

.blog-single__content h3{
	font-size: 1.55rem;
	margin-top: 40px;
}

.blog-single__content img{
	border-radius: 15px;
}

.blog-single__content blockquote{
	border-left: 4px solid var(--accent);
	margin: 45px 0;
	padding: 10px 0 10px 30px;
	font-family: var(--headline);
	font-size: 1.45rem;
	line-height: 1.35em;
}

.blog-single__footer{
	padding: 15px 0 40px;
}

.blog-single .nav-subtitle{
	display: block;
	color: var(--accent);
	font-size: 0.9rem;
	margin-bottom: 5px;
}

.blog-single .nav-title{
	font-family: var(--headline);
	font-size: 1.2rem;
}

.blog-comments-section{
	background-color: #FFF;
	padding: 35px 0 90px;
}

.comments-area{
	max-width: 850px;
	margin: 0 auto;
	padding-top: 45px;
	border-top: 1px solid rgba(229, 174, 55, 0.45);
}

.comments-title,
.comment-reply-title{
	font-size: 1.7rem;
	margin: 0 0 28px;
}

.comment-list{
	list-style: none;
	margin: 0 0 45px;
	padding: 0;
}

.comment-list li{
	margin: 0;
}

.comment-list .comment-body{
	background-color: var(--tan);
	border-radius: 8px;
	padding: 28px;
	margin-bottom: 24px;
}

.comment-list .comment-meta{
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 18px;
}

.comment-list .comment-author{
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
}

.comment-list .avatar{
	border-radius: 50%;
	width: 42px;
	height: 42px;
}

.comment-list .says{
	display: none;
}

.comment-list .comment-metadata,
.comment-list .comment-metadata a,
.comment-list .reply a{
	color: #615949;
	font-size: 0.88rem;
}

.comment-list p{
	margin: 0 0 14px;
}

.comment-list .reply a{
	font-family: var(--headline);
	border-bottom: 1px solid var(--accent);
	padding-bottom: 3px;
}

.comment-form{
	display: grid;
	gap: 18px;
}

.comment-form p{
	margin: 0;
}

.comment-form label{
	display: block;
	font-weight: 500;
	margin-bottom: 8px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea{
	width: 100%;
	border: 1px solid rgba(0, 0, 0, 0.14);
	border-radius: 8px;
	padding: 14px 16px;
	background-color: #FFF;
}

.comment-form textarea{
	min-height: 170px;
	resize: vertical;
}

.comment-form input[type="submit"]{
	border-radius: 15px;
	color: #FFF;
	background-color: #000;
	display: inline-block;
	padding: 12px 24px;
	border: unset;
	width: auto;
	justify-self: start;
	font-weight: 600;
}

.comment-form input[type="submit"]:hover{
	background-color: var(--accent);
}

.blog-cta{
	background-image: url('https://envycs.com/wp-content/uploads/2024/12/blackdamask.png');
	background-color: #000;
	color: #FFF;
	padding: 65px 0;
}

.blog-cta__inner{
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 35px;
}

.blog-cta h2{
	font-size: 2.25rem;
	margin: 8px 0 0;
}

.blog-cta .btn{
	background-color: var(--accent);
	color: #FFF;
	margin-right: 20px;
}

#contactPage {
	background-image: url('https://envycs.com/wp-content/uploads/2024/12/dots.png');
	background-size: 75px;
}
#contactPage h1{
	padding: 0;
	margin: unset;
}
#contactBox{
	background-color: var(--tan);
	border-radius: 50px;
}
#contactBox{
	padding: 25px 50px;
	position: relative;
}

#contactBox img{
	margin: 0 10px 0 0;
}
#contactBox::before{
	content: " ";
	width: 90%;
	height: 90%;
	border: 1px solid var(--accent);
	border-radius: 50px;
	position: absolute;
	right: -20px;
	bottom: -20px;
	z-index: -1;
}
#contactBox div.flex{
	border-bottom: 1px solid #F5F0E4;
}
#contactBox div:last-child{
	border-bottom: unset;
}
#contactMap {
	padding: unset;
	position: relative;
}
#contactMap #mapMessage{
	position: absolute;
	bottom: 35px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2000;
	padding: 30px 50px;
	border-radius: 25px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
	background: rgba(248, 244, 239, 0.8);
	font-family: var(--headline);
	font-size: 1.6em;
}
#masthead{
	position: absolute;
	top: 0;
	width: 100%;
	left: 0;
}
#masthead.scroll{
	position: fixed;
	top: 0;
	width: 100%;
	left: 0;
	z-index: 10000;
	background-color: #FFF;
	box-shadow: 0 0px 10px rgba(0, 0, 0, 0.15);
}
#masthead.scroll .top{
	display: none;
}
main{
	padding-top: 152px;
}
#masthead.scroll .yellowBack{
	display: none;
}
.tns-controls, .tns-nav, .tns-outer button{
	display: none;
}
body .is-layout-grid, :where(.is-layout-grid){
	gap: 50px;
}
.footphone{
	flex-wrap: wrap;
}
.footphone a{
	min-width: 170px;
	margin: unset;
	padding: 10px 20px;
}
.phonewrap{
	flex-wrap: wrap;

}
.phonewrap a{
	padding: 10px 20px;
}

#mobileMenu{
	display: none;
}
body .is-layout-flex{
	align-items: center !important;
}
@media (max-width: 1100px){
	html{
		font-size: 16px;
	}
	#lifeEasier .benefits{
		height: 400px;
	}
	h1{
		font-size: 3rem;
	}
	h2.large{
		font-size: 2rem;
	}
	
}



@media (max-width: 850px){
	/* Show Menu When Active */
    #masthead nav ul.menu-active {
        display: block;
    }

    /* Submenu Styles for Mobile */
    #masthead nav ul .sub-menu {
        display: none; /* Hide submenu by default */
        position: static;
        box-shadow: none;
        background: none;
        padding-left: 15px;
    }

    /* Show Submenu When Clicking Parent */
    #masthead nav ul .sub-menu.menu-open {
        display: block;
    }

    /* Add Dropdown Toggle Icon */
    #masthead nav ul li.menu-item-has-children > a::after {
        content: "  +";
        font-size: 14px;
        float: right;
        cursor: pointer;
    }

    /* When submenu is open, change icon */
    #masthead nav ul li.menu-item-has-children.menu-open > a::after {
        content: " -";
    }





	#mapSec #mapMessage{
		transform: unset;
		left: 5%;
		width: 90%;
	}
	#page #hook .flex .left{
		padding: 100px 25px 100px 0;
	}


	/* MOBILE NAVIGATION BREAK POINT */

	#mobileMenu{
		display: block;
		position: absolute;
		top: 60px;
		right: 50px;
		width: 40px;
		height: 40px;
		padding: 5px;
		cursor: pointer;
	}
	#masthead.scroll #mobileMenu{
		top: 25px;
	}
	#masthead nav ul{
		flex-direction: column;
		justify-content: flex-start;
		padding: unset;
		margin: unset;
	}
	#masthead nav{
		position: absolute;
		top: 105px;
		right: 0;
		width: 200px;
		background-color: #FFF;
		z-index: 10;
		display: none;
	}
	#masthead nav li{
		padding:unset;
		margin: unset;
		width: 100%;
		border-top: 1px solid var(--tan);
		text-align: right;
	}
	#masthead nav li a{
		padding: 10px 50px 10px 0;
		display: block;
		
	}
	#masthead nav li a:hover{
		background-color: var(--tan);
	}
	#masthead .flex.bottom.space{
		justify-content: flex-end;
		padding: 10px 70px 10px 0;
	}

	#masthead.open nav{
		display: block;
	}
	#masthead.open.scroll nav{
		top: 85px;
	}
	main{
		padding-top: 120px;
	}
	#masthead .custom-logo{
		padding: 10px;
	}
	#masthead .top .right{
		min-width: 195px;
	}
	.wp-block-group-is-layout-grid{
		grid-template-columns: repeat(1, 1fr) !important;
	}

	.wp-block-group-is-layout-grid .wp-block-group{
		text-align: center;
	}
	footer .small{
		width: 100%;
		max-width: unset;
	}
	footer hr{
		width: 60%;
	}
	#copyright .flex{
		flex-wrap: wrap;
	}
	.content.left-image .contentWrap, .content.right-image .contentWrap{
		padding: 50px 50px 50px 50px;
	}
	.blog-hero__inner,
	.blog-single__header-wrap{
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.blog-hero__media,
	.blog-single__image img{
		min-height: 360px;
		clip-path: unset;
		border-radius: 35px;
	}
	.blog-grid{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.blog-card:first-child.has-image{
		grid-column: span 2;
		grid-template-columns: 1fr;
	}
	.blog-cta__inner{
		align-items: flex-start;
		flex-direction: column;
	}

}
@media (max-width: 600px){
	.maxWidth{
		padding: 0 25px;
	}
	#masthead .maxWidth > .flex.align{
		flex-direction: column-reverse;
		align-items: flex-start;
	}
	#masthead .custom-logo-link{
		position: absolute;
		top: 45px;
	}
	#masthead .top{
		justify-content: center;
		display: block;
		background: var(--yellow);
		padding: 10px 0;
		text-align: center;
	}
	#masthead .top .left, #masthead .top .right{
		display: inline;
		padding: unset;
		clip-path: unset;
	}
	#masthead .maxWidth{
		padding: unset;
	}	
	#masthead .yellowBack{
		display: none;
	}
	#masthead .top .right a{
		margin: unset;
	}
	#mobileMenu{
		right: 15px;
	}
	#masthead.scroll #mobileMenu{
		top: 13px;
	}
	#masthead.scroll .custom-logo-link{
		top: 0px;
		left: 15px;
	}
	#masthead.scroll .custom-logo-link img{
		height: 60px;
		padding: 5px;
	}	
	#masthead.open.scroll nav{
		top: 60px;
	}
	#page #hook .maxWidth > .flex{
		flex-direction: column;
	}
	#page #hook .flex .left, #page #hook .flex .right{
		width: 100%;
	}
	#page #hook .flex .left{
		padding: 0px 0 50px ;
	}
	#page #hook .flex .right {
		height: 300px;
	}
	#page #hook .flex .right .image{
		clip-path: unset;
		border-radius: 50px;
	}
	.wp-block-media-text > .wp-block-media-text__content{
		padding: 20px 0 0;
	}
	#lifeEasier .item h3{
		font-size: 18px;
	}
	#lifeEasier .item p{
		font-size: 16px;
	}
	.content.left-image .featured-image, .content.right-image .featured-image{
		width: 90%;
		left: 5%;
		border-radius: 25px;
		height: 400px;
	}
	.content.left-image .contentWrap, .content.right-image .contentWrap{
		position: relative;
		max-width: unset;
		width: 100%;
		top: unset;
		left: unset;
		transform: unset;
	}
	.content.right-image .contentWrap{
		right: unset;
	}
	.content.right-image .maxWidth{
		flex-direction: column;
	}
	section,
	section.content{
		padding: 50px 0;
	}
	.content h2{
		font-size: 2rem;
	}
	.wp-block-image .alignright{
		display: block;
		float: none;
		width: 90%;
		margin: 0 auto;
		
	}
	.blog-hero,
	.blog-single__hero{
		padding: 60px 0;
	}
	.blog-hero__copy h1,
	.blog-single__title h1{
		font-size: 2.55rem;
	}
	.blog-grid{
		grid-template-columns: 1fr;
	}
	.blog-card:first-child.has-image,
	.blog-card:first-child.no-image{
		grid-column: span 1;
	}
	.blog-card__content{
		padding: 25px;
	}
	.blog-page .nav-links{
		flex-direction: column;
	}
	.blog-single__content-wrap{
		padding-top: 55px;
	}
	.blog-comments-section{
		padding-bottom: 60px;
	}
	.blog-single__content p,
	.blog-single__content li{
		font-size: 1rem;
		line-height: 1.65em;
	}
}
/* END 600PX */
@media (max-width:500px){
	#srvsOverview .slider{
		flex-wrap: wrap;
	}
	#srvsOverview .slider .item{
		margin: 10px 0
	}
	#lifeEasier .benefits{
		display: flex;
		flex-direction: column;
		height: auto;
	}
	#lifeEasier .item{
		width: 100%;
		height: 300px;
		display: block;
	}
	.wp-block-image .alignright{
		float: left;
	}
}
@media (max-width: 400px){
	#masthead .top .left, #masthead .top .right{
		font-size: 14px;
	}
	#masthead .top .right{
		display: block;
		width: 100%;
		text-align: center;
		height: unset;
	}
	#masthead .btn{
		display: none;
	}
	#masthead .flex.bottom.space{
		padding: unset;
		height: 70px;
	}
	#masthead .custom-logo-link{
		top: 60px;
	}
	#mobileMenu{
		top: 70px;
	}
	#masthead nav{
		top: 115px;
	}
	#mapSec #map{
		height: 400px !important;
	}
	#mapSec #mapMessage{
		font-size: 1em;
		padding: 15px 20px;
		bottom: 15px;
	}
	section{
		padding: 50px 0;
	}
	#contactBox{
		padding: 25px;
	}
	.wp-block-image .alignright{
		float: left;
	}
	h2 br, h1 br, h3 br{
		display: none;
		
	}
	.content.left-image .contentWrap, .content.right-image .contentWrap{
		padding: 50px 25px;
	}
	.content.left-image .featured-image, .content.right-image .featured-image{
		height: 300px;
	}
}
