/*
Theme Name: Nifty 2026
Template: twentytwentyone
Author: Nifty Development
Author URI: https://niftymarketing.com/
Description: A lightweight theme for use of our clients.
Version: 2.5.1
*/

/*Theme Variables*/
:root{
	/*site colors*/
	--color-1: #171515;
	--color-2: #640A09;
	--color-3: #d4c4b4;
	--color-background: #f5f0e9;
	--color-text: #4A3A3A;
	
	/*font sizes*/
	--fsize-xl: clamp(40px, 4vw, 75px);
    --fsize-lg: clamp(38px, 4.8vw, 95px);
	--fsize-md: clamp(28px, 2.2vw, 40px);
	--fsize-sm: clamp(20px, 1.6vw, 30px);
	--fsize-sm-md: clamp(18px, 1.2vw, 23px);
	--fsize-default: clamp(16px, 1vw, 18px); /*ADA requires at least 16px*/

	/*font families*/
	--heading-font: "Cormorant Garamond Variable", serif;
	--text-font: "DM Sans Variable", sans-serif;
	--italic-font: "Cormorant Garamond italic", serif;
}

/*Default Overall Styles*/
html, body{scroll-behavior: smooth; font-size: var(--fsize-default); font-variant-ligatures: none; overflow-anchor: none;}
body{margin:0; -webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;text-rendering: optimizeLegibility;font-family: var(--text-font);line-height: 1.5em; background:var(--color-background);}
*{box-sizing: border-box; -webkit-appearance: none;font-family:inherit; max-width: 100%;}
/* lazy loading flow fixes */
img{object-fit:contain;min-width:1px;}
a{color: var(--color-1);text-decoration:none;transition: ease all .25s;}
nav a:hover {color: var(--color-2)}
nav a {padding: .25em .5em; font-weight:600; text-transform:uppercase;}
article a {text-decoration: underline;text-underline-position: under;text-decoration-thickness: 2px;}
code, pre, kbd, samp {font-family: monospace;}
em{font-family:var(--italic-font);}
/*Font Defaults*/
h1, h2, h3, h4, h5, h6{font-family: var(--heading-font); line-height:1.05;margin-bottom:0.5em; color:var(--color-1);}
body, p, ul, ol, li{font-family: var(--text-font); line-height: 1.5em; color:var(--color-text);}
h1{font-size:var(--fsize-xl);}
h2{font-size:var(--fsize-lg); font-weight:500;}
h3{font-size:var(--fsize-md);font-weight:500;}
h4{font-size:var(--fsize-sm);}


/*Layout*/
.section-padding{padding: 5% 0;}
.content-width{width: 1800px; max-width: 90%; padding: 0 15px; margin: 0 auto;}
.flex{display: flex; flex-wrap: wrap;}
.slider-wrapper{max-width:2500px; margin:0 auto; overflow:hidden;}

/* ADA header */
.masthead{ padding: 5px 25px; border-bottom:1px solid var(--color-3);}
.masthead ul{list-style: none; display:flex; gap:.2vw}
.skip-bar{position: absolute; display: block; width: 100%; text-align: center; height: 0; overflow: hidden; background:white; color:black; font-weight:600; top: 0; left: 0; z-index: 10;}
.skip-bar:focus{height: auto; padding: 20px;}
.inner-masthead{justify-content: space-between; align-items: center; padding: 0px 25px;width: 100%;}
.logo-container{width: 15%;}
.logo-container svg{width:100%; height:auto;}

.mobile-nav-input{display: none;}
#menu-main{padding: 0; font-weight:800; text-transform: uppercase;}
.masthead ul .current-menu-item > a:first-child, .masthead ul .current-menu-ancestor > a:first-child{color:var(--color-2)}
.menus{ justify-content: flex-end;padding: .5em}
.header-call-box{display:flex; align-items:center; justify-content:flex-end; gap:15px; font-weight:600;}

.hcb-esti{background:var(--color-2); padding:15px; color:var(--color-background);}

.header-phone-number svg{width:25px; height:25px;}
#menu-main > li .sub-menu a{padding:.25em .5em .25em 0;}
.header-content{display:flex;}
@media (min-width: 1301px){
	nav a{padding:.25em 0em .25em .5em;}
	#menu-main > li{display:flex; align-items:center;}
	
		#menu-main > li .menu-arrow{content:''; position:relative; background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 1024 1024"><path d="M0 0h1024v1024H0z" fill="none" /><path fill="black" d="M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0 0 48.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2" /></svg>'); background-size:cover; background-repeat:no-repeat; width:15px; height:18px; display:inline-block; margin-left:2px; transition:ease .5s;}
	#menu-main > li:hover .menu-arrow{content:''; position:relative; background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 1024 1024"><path d="M0 0h1024v1024H0z" fill="none" /><path fill="%23640a09" d="M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0 0 48.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2" /></svg>'); background-size:cover; background-repeat:no-repeat; width:15px; height:18px; display:inline-block; margin-left:2px; transform:rotate(-180deg);}
	
	
	
	/* 	"FIXED" IS AN ANIMATEABLE CLASS FOR SMOOTH ANIMATION ON MASTHEAD */
/* 		.masthead.fixed{position: fixed; left: 0; width: 100%; z-index: 1000; top: 0;} */
		.masthead.fixed{position: relative; left: 0; width: 100%; z-index: 1000; top: 0;}
	.inner-masthead{flex-wrap:nowrap;}
	.masthead.fixed.active .inner-masthead{position:fixed; left:0; padding:0 50px;}
		.masthead.fixed .inner-masthead:before{content: ''; position: absolute; top: 0%; left: 0%; width: calc(100% + -2px); height: 0; background: var(--color-background); transition: ease .5s; z-index: -1;}
		.masthead.fixed.active .inner-masthead:before{ height:100%;}

		body.admin-bar .masthead {top: 32px;}
		.mobile-nav{display: none;}

		#menu-main{display: flex; margin: 0; flex-wrap: wrap; justify-content: flex-end;gap:1em;}
		#menu-main > li{position: relative; margin-bottom: 0!important;}
		.sub-menu{position: absolute; top: 100%; left: 0; background: var(--transluscent); background:var(--color-background); height: 0; overflow: hidden; z-index: 1000; box-shadow: 0 2px 7px rgba(0,0,0,.4); flex-direction:column}
		.sub-menu .sub-menu{left: 99%; top: 0;}
		#menu-main > li:hover > .sub-menu, .masthead #menu-main > li > a:focus + .sub-menu, .masthead #menu-main > li:focus-within > .sub-menu{height: auto; padding: 15px 0 15px 15px; min-width: 260px; overflow: initial;border: 1px solid white}
		.sub-menu > li{position: relative; padding-right: 15px;}
		.sub-menu > li:hover > .sub-menu, .sub-menu > li > a:focus + .sub-menu, .sub-menu > li:focus-within > .sub-menu{padding: 15px; width: initial; height: initial; min-width: 240px; border: 1px solid white;}

		#menu-main > li:nth-last-child(-n + 3) .sub-menu{left:unset; right:0;}

}

@media(max-width:1499px){
	#menu-main{gap:0;}
	.logo-container{width:10%;}
}


@media(max-width: 1300px){
	.header-call-box{position:absolute; top:0; left:0; width:0; height:0; display:none;}
	.logo-container{width:30%;}
	#menu-main{flex-direction:column;}
	.masthead{position: relative;}
	.masthead .header-content {display: flex;flex-direction: column;align-items: end;}
	.menus{width: 20%;}
	.mobile-nav{font-size: 22px; transform: scaleX(1.75); outline-color: var(--color-1);}
	.main-nav{position: absolute; top: 100%; width: 100%; left: 0; background:var(--color-background); box-shadow: 0 5px 10px rgba(0,0,0,.3); padding: 0 25px; height: 0; overflow: hidden; transition: padding .25s; z-index:1000;}
	#mobile-nav-input:checked + * + .main-nav{height: auto; padding: 10px 25px; }
	#menu-main .sub-menu{display: none;}
	#menu-main li a{outline-color: var(--color-1);}
	#menu-main .sub-menu{display: none; transition:ease.3s; padding:0;}
	#menu-main .sub-menu.active{display: block; padding:15px;}
	#menu-main .sub-menu.active li{padding:5px 0;}
	.menu-item-has-children{position:relative;}
	.menu-arrow{content: ''; position: absolute; width: 10px; height: 10px; border-bottom: 2px solid var(--color-1); border-right: 2px solid var(--color-1); transform: rotate(45deg); top: 2px; right:5%;transition:ease .3s;}
	.masthead .sub-menu.active + .menu-arrow{transform: rotate(225deg);}
	figure img{height:auto;}
}

@media(min-width:1001px){
	.hidden-mobile{width:initial; height:initial; opacity:1; }
	.hidden-desktop{width:0; height:0; opacity:0; display:none;}
}

@media(max-width:1000px){
	.hidden-mobile{width:0; height:0; opacity:0; display:none;}
	.hidden-desktop{width:initial; height:initial; opacity:1;}
	.content-width{padding:0}
}

@media(max-width:750px){
	.logo-container{width:50%;}
	.inner-masthead{padding:0 25px 0 0;}
}


.accent-text{color: var(--color-2); letter-spacing: 2px; font-size: var(--fsize-default); display: block; text-transform: uppercase; font-weight:500; font-family:var(--text-font);}



/* Forms */
textarea {width:100%;height:150px;}
input[type=date], input[type=datetime-local], input[type=datetime], input[type=email], input[type=month], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=time], input[type=url], input[type=week], select, textarea {margin:0; padding:1em;width:100%;border:1px solid;}
input[type=submit], button {border:none;background:var(--color-1);padding:.5em 1em;cursor:pointer;font-size:inherit;}
.gfield_label {margin-top:1em;margin-bottom: .25em;font-weight: 600;display: flex;gap:0.25em;}
.gfield_required {font-size: .85em;color: #c02b0a;display: inline-block;text-transform: uppercase;font-weight: 400;}
.gfield_label_before_complex {display:none}
fieldset {border: none; margin: 0; padding: 0;}
.gchoice {display: flex;gap: 1em;align-items: center;margin:1em 0;cursor:pointer;width:fit-content;}
.gchoice input[type=checkbox] {appearance: none;color: var(--color-1);width: 1.5em;
height: 1.5em;border: 2px solid;border-radius: 3px;display: flex;align-items: center;justify-content: center;transition: ease all .25s;cursor:inherit;}
.gchoice input[type=checkbox]::before {content: url("data:image/svg+xml,%3Csvg fill='%23FFF' xmlns='http://www.w3.org/2000/svg' viewBox='25 25 50 50'%3E%3Cpath d='m64 985.393-3.531 3.532-16.719 16.718-4.469-3.937-3.75-3.281-6.593 7.53 3.78 3.282 8 7 3.5 3.094 3.313-3.313 20-20 3.531-3.53L64 985.392z' overflow='visible' transform='translate(0 -952.362)'/%3E%3C/svg%3E");width: 100%;height: 100%;opacity: 0;transition: ease opacity .25s;}
.gchoice input[type=checkbox]:checked {background: var(--color-1);}
.gchoice input[type=checkbox]:checked::before {opacity: 1;}
label {user-select: none;cursor:inherit;}

/* Built In WP Classes */
figure {display:inline-block;margin:0;}
.aligncenter {display:block;margin: 0 auto; width:fit-content;}
.has-text-align-center {text-align:center;}
.has-text-align-right {text-align: right;}
.is-layout-flex{display:flex;}
.is-content-justification-center{justify-content:center;}
.is-content-justification-left{justify-content:flex-start;}
.is-content-justification-right{justify-content:flex-end;}
.are-vertically-aligned-center{align-items:center;}
.are-vertically-aligned-bottom{align-items:flex-end;}
hr.wp-block-separator{border: none; height: 1px; background-color: var(--color-3); margin: 20px 0 25px; opacity: 1;}

.wp-block-columns.flex-size-columns .wp-block-column{flex:1;}


.wp-block-buttons{gap:15px;}
.wp-block-button{max-width:100%;width: 300px;}
.wp-block-button .wp-block-button__link{width:100%; padding: 15px 0px; display: flex; justify-content: center; text-align: center; text-decoration: none; background: var(--color-2); color: var(--color-background); font-weight: 600; border: 1px solid var(--color-2); letter-spacing:0.08vw;}
.wp-block-button .wp-block-button__link:hover{background: var(--color-background); color: var(--color-2); font-weight: 600; border: 1px solid var(--color-2); }


.wp-block-button.is-style-outline .wp-block-button__link{width: 100%; padding: 15px 10px; display: flex; justify-content: center; text-align: center; text-decoration: none; background: var(--color-background); color: var(--color-2); font-weight: 600; border: 1px solid var(--color-2); }
.wp-block-button.is-style-outline .wp-block-button__link:hover{background: var(--color-2); color: var(--color-background); font-weight: 600; border: 1px solid var(--color-2); }


.wp-block-button.is-style-arrow-button .wp-block-button__link{background:var(--color-background); border:1px solid var(--color-background); color:var(--color-2);}
 .wp-block-button.is-style-arrow-button .wp-block-button__link::after{content:''; position:relative; background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 1024 1024"><path d="M0 0h1024v1024H0z" fill="none" /><path fill="%23640a09" d="M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0 0 48.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2" /></svg>'); background-size:cover; background-repeat:no-repeat; width:20px; height:20px; display:inline-block; transform:rotate(-90deg); margin-left:10px;}

@media(min-width:1001px){
	.wp-block-button.is-style-arrow-button{min-width:300px; width:unset;}
}

@media(max-width:1100px){
	.wp-block-buttons{flex-wrap:wrap;}
		.wp-block-columns.flex-size-columns{flex-wrap:wrap;}
		.wp-block-columns.flex-size-columns .wp-block-column{flex:50%;}
}

@media(max-width:750px){
	.wp-block-columns.flex-size-columns .wp-block-column{flex:100%;}
	.wp-block-button{width:100%;}
	.wp-block-button .wp-block-button__link{letter-spacing:3px;}
}


/* DEFAULT CLASSES FOR ANIMATIONS */
.transition{transition:ease 1s;}
.fade-left{opacity:0; transform:translate(-100%, 0);}
.fade-right{opacity:0; transform:translate(100%, 0);}
.fade-up{opacity:0; transform:translate(0, 100%);}
.fade-down{opacity:0; transform:translate(0, -100%);}
.ghost-in{opacity:0;}
.transition.active{opacity:1; transform:none;transition:ease 1s;}

	/* Fence comparison table – WordPress table block */
 .wp-block-table {margin: 0; padding: 0; overflow-x: auto;}
	.wp-block-table table {width: 100%; margin: 0; border-collapse: collapse; border: none; border: 1px solid var(--color-3); table-layout: fixed; font-size: 1rem; line-height: 1.6; color: #3b3531;}
	/* Reset WordPress default cell borders/padding */ 
	.wp-block-table th, .wp-block-table td {border: none; padding: 1.25rem 1.5rem; text-align: left; vertical-align: middle;}
	/* Header row */ 
	.wp-block-table thead {border-bottom: none;/* WP adds a 3px border here by default */ }
	.wp-block-table thead th {background: #1b1816; color: #fff; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; padding-top: 1.5rem; padding-bottom: 1.5rem;}
	/* Body rows: alternating white / warm beige */ 
	.wp-block-table tbody tr:nth-child(odd) td {background: #ffffff;}
	.wp-block-table tbody tr:nth-child(even) td {background: var(--color-background);}
	/* Vertical dividers between body columns */ 
	.wp-block-table tbody td + td {border-left: 1px solid #ddd3c7;}
	/* Row labels (first column) */ 
	.wp-block-table tbody td:first-child {color: var(--color-2); font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em;}


.wp-block-table a{ color:var(--color-2); text-decoration:none; display:flex; align-items:center; justify-content:center;}
.wp-block-table a::after{content:''; position:relative; background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 1024 1024"><path d="M0 0h1024v1024H0z" fill="none" /><path fill="%23640a09" d="M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0 0 48.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2" /></svg>'); background-size:cover; background-repeat:no-repeat; width:20px; height:20px; display:inline-block; transform:rotate(-90deg); margin-left:10px;}



@media(max-width:1000px){
	  /* Keep the label column in view while scrolling */
	.wp-block-table table{min-width: 850px;}
  .wp-block-table th:first-child,
  .wp-block-table td:first-child {position: sticky;left: 0;z-index: 1;box-shadow: inset -1px 0 0 #ddd3c7;}
  .wp-block-table thead th:first-child {box-shadow: none;}
}

@media (max-width: 700px) {
	.wp-block-table a::after{width:23px;}
  .wp-block-table::before {
content: "Swipe to see more \2192"; display: block; position: sticky; left: 0; padding-bottom: 0.5rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-2); 
  }
 
  /* 2. Right edge fades out, hinting there's more content */
  .wp-block-table {-webkit-mask-image: linear-gradient(to right, #000 calc(100% - var(--table-fade)), transparent); mask-image: linear-gradient(to right, #000 calc(100% - var(--table-fade)), transparent); scrollbar-width: thin;scrollbar-color: var(--color-2) #f4efe9;}
 
  /* Remove the fade once the reader reaches the end (where supported) */
  @supports (animation-timeline: scroll()) {
    .wp-block-table { animation: table-fade-out linear both; animation-timeline: scroll(self inline);}
  }
}




.wp-block-columns.has-gap-none { gap: 1px; }
.wp-block-columns.has-gap-sm{ gap: 1rem; }
.wp-block-columns.has-gap-md{ gap: 2rem; }
.wp-block-columns.has-gap-lg{ gap: 3rem; }
.wp-block-columns.has-gap-xl{ gap: 5rem; }

/* Stop Twenty Twenty-One's column margins from stacking on top of the gap */
.wp-block-columns[class*="has-gap-"] > .wp-block-column {margin-left: 0 !important;margin-right: 0 !important;}