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

/*Theme Variables*/
:root{
	/*site colors*/
	--color-1: #0a4f78;
	--color-2: #3a8cbc;
	--color-3: #ebaa3f;
	--color-4: #f4f4f5;
	/*font sizes*/
	--fsize-xl: clamp(40px, 4vw, 75px);
    --fsize-lg: clamp(32px, 2.7vw, 50px);
	--fsize-md: clamp(28px, 2.2vw, 40px);
	--fsize-sm: clamp(20px, 1.6vw, 30px);
	--fsize-default: clamp(16px, 1vw, 18px); /*ADA requires at least 16px*/

	/*font families*/
	--heading-font: "Playfair Display", serif;
	--text-font: "Montserrat", sans-serif;
	--svg-font: "Montserrat svg", sans-serif;
	
/* 	BUTTON ANIMATION */
	--bg: hsl(190deg 20% 10%);
	--border-angle: 0deg;
}
@property --border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/*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;}
*{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-2);text-decoration:none;transition: ease all .25s;}
/* nav a:hover {color: var(--color-3)} */
nav a {padding:30px .5em; color:white; display:flex;}
article a {text-decoration: underline;text-underline-position: under;text-decoration-thickness: 2px;}
code, pre, kbd, samp {font-family: monospace;}

/*Font Defaults*/
h1, h2, h3, h4, h5, h6{font-family: var(--heading-font); line-height: 1.25em;margin-bottom:0.5em;}
body, p, ul, ol, li{font-family: var(--text-font); line-height: 1.5em;}
p, ul, ol, li{font-weight:500;}
h1{font-size:var(--fsize-xl);}
h2{font-size:var(--fsize-lg);}
h3{font-size:var(--fsize-md);}
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;}
.small-content-width{width: 1600px; max-width: 80%; padding: 0 15px; margin: 0 auto;}
.flex{display: flex; flex-wrap: wrap;}
.slider-wrapper{max-width:2500px; margin:0 auto; overflow:hidden;}

.svg-accent-text{font-family:var(--svg-font); stroke:var(--color-2);}
.sml-accent-text{font-weight: 800; letter-spacing: 6px; font-size: var(--fsize-default);}
/* ADA header */
.masthead{ padding: 15px 25px;}
.masthead ul{list-style: none;}
.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; background: var(--color-1); width: 1800px; max-width: 95%; margin: 0 auto; padding: 0 25px 0 30px; border-radius: 55px; filter:drop-shadow(0px 15px 15px rgba(0,0,0,.3));}
.logo-container{width: 10%; padding-top:7px;}
.logo-container svg{fill:white;}
.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; align-items:center;}
#menu-main > li .sub-menu a{padding:.25em .5em .25em 0;}

#menu-main{gap:1em;}
.hsf-inner{width:90%; max-height:0; overflow:hidden; position:absolute; transition: max-height 1s cubic-bezier(0, 1, 0, 1);  border-radius:0px 0px 30px 30px; left:50%; transform:translate(-50%, -20px); display:flex; flex-direction:column; align-items:center; justify-content:center; background:rgba(0,0,0,.3);z-index:-1;}
.hsform-spacer{height:50px;}
.hs-form-container.active .hsf-inner{ max-height:10000px;   transition: max-height 1s ease-in-out;}

#searchsubmit{color:white; font-weight:600; padding:15px;}
#search-form{width:500px; max-width:90%;}
.search-form-container{display:flex; border-radius: 20px; overflow: hidden;}
.hs-button{background:none; border:none; }

@media(max-width:1400px){
	#menu-main{gap:2.2vw;}
	nav a{padding:30px 0em; font-size:13px;}
}
@media(max-width:1200px){
	#menu-main{gap:1vw;}	
	.inner-masthead{max-width:100%;}
}


@media (min-width: 1001px){
	#mobile-locations-drop{width:0; height:0; overflow:hidden; position:absolute;}
	
	.header-locations{display:flex; justify-content:center; gap:5%; padding-bottom:25px; transition:ease .5s;}
	.hl-indiv-location{text-align: center;}
	.hl-indiv-location p{margin:0; font-weight:800;}
	.hl-indiv-location a{text-decoration:none; color:black; font-weight:600;}
	
	/* 	"FIXED" IS AN ANIMATEABLE CLASS FOR SMOOTH ANIMATION ON MASTHEAD */
		.masthead{position: fixed; left: 0; width: 100%; z-index: 1000; top: 0; transition:ease 1s;}
	.masthead.fixed.active{transform:translatey(-45%);}
		.masthead.fixed.active:before{height:100%;}

	.masthead.fixed.active .header-locations{transform:translatey(-100%);}
	
		body.admin-bar .masthead {top: 32px;}
		.mobile-nav{display: none;}

		#menu-main{display: flex; margin: 0; flex-wrap: wrap; justify-content: flex-end;}
		#menu-main > li{position: relative; margin-bottom: 0!important; font-weight:800;}
	#menu-main > li::before{content:''; position:absolute; bottom:0px; width:0%; height:2px;transition:ease .3s;}
	
	#menu-main > li:hover::before{width:100%; background:white;}
	.masthead #menu-main li.current-menu-item::before{width:100%; background:white;}
		.sub-menu{position: absolute; top: 100%; left: 0; background: var(--transluscent); backdrop-filter: blur(5px); height: 0; overflow: hidden; z-index: 1000; box-shadow: 0 2px 7px rgba(0,0,0,.4);}
		.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: 225px; 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: 225px; border: 1px solid white;}

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

}

@media(max-width: 1000px){
	.header-search{width:0; height:0; position:absolute; overflow:hidden;}
	nav a{padding:5px 0; color:var(--color-1);}
	.small-content-width{max-width:90%;}
	#mobile-locations-drop{display: flex ; align-items: center; gap:5%; justify-content: center; margin: 0 auto; color: white; font-weight: 600; font-family: var(--heading-font);z-index: 2; position: relative; background: var(--color-1); border-radius: 35px;}
	#mobile-locations-drop p{font-size:18px; font-family:var(--heading-font);margin:10px 0;}
	#mobile-locations-drop #thin-chevron{transform:rotate(180deg);transition:ease .5s;}
	.header-locations{z-index:1; max-height:0px; transition: max-height 0.5s cubic-bezier(0, 1, 0, 1); overflow:hidden; position:absolute; width:100%;left:0;background:white; top:60%; border-radius:0 0px 20px 20px;}
	#header-locations-container.active .header-locations{max-height:10000px;z-index:1; width:100%; transition: max-height 1s ease-in-out;}
	#header-locations-container{border:2px solid white; border-radius:35px; position:relative; width:90%; margin:0 auto;z-index:10;}
	#header-locations-container.active #thin-chevron{transform:rotate(0deg);}
	
	.hl-indiv-location{padding: 20px 0 0; width: 90%; margin: 0 auto; font-weight:600;}
	.hl-indiv-location:first-child{padding-top:50px;}
	.hl-indiv-location:last-child{padding-bottom:20px;}
	.hl-indiv-location p{margin:0;}
	.logo-container{width:40%;}
	.inner-masthead{filter:none; padding:0;}
	.masthead{position: relative;background:var(--color-1);}
	.masthead .header-content {display: flex;flex-direction: column;align-items: end;}
	.menus{}
	.mobile-nav{height:69px;}
	.main-nav{position: absolute; top: 100%; width: 100%; left: 0; background: white; 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;}
}

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

@keyframes border-angle-rotate {
  from { --border-angle: 0deg; }
  to { --border-angle: 360deg; }
}
.wp-block-button{border: 3px solid var(--color-2); border-radius: 35px; position:relative;}
.wp-block-button a{display: flex ; padding: 15px 45px; color: black; font-weight: 800; text-decoration: none; justify-content:center; text-align:center;}
.wp-block-button::before{content: ""; display: block; position: absolute; top:0px; left:0px;width:0; height:0;  inset: 2px; border-radius: 35px; animation: border-angle-rotate 4s infinite linear; z-index: -1; transition:ease .3s;}
.wp-block-button:hover{background:white;}
    .wp-block-button:hover::before {width: calc(100% + 8px); height: calc(100% + 8px); animation: border-angle-rotate 2s infinite linear; inset: 0; background: repeating-conic-gradient(from var(--border-angle), var(--color-1), var(--color-1) -36deg, oklch(89% -13% 90deg) calc(360deg / 1)) border-box; top: -4px; left: -4px; }







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

@media(min-width:1001px){
	.hide-desktop{width:0; height:0; overflow:hidden; position:absolute;}	
}

@media(max-width:1000px){
	.hide-mobile{width:0; height:0; overflow:hidden; position:absolute;}
	.wp-block-button a{padding:15px 25px;}
}


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


/* GLOBAL TESTIMONIAL STYLES */
	.review-block{background:#f4f4f5; margin: 0; padding:5px; transition: all ease-in-out 800ms; top: 0%;}
	.review-container{padding:20px 45px 1px; position:relative; border:1px solid black;}
	.review-block .rvb-icon{position:absolute;top:0; left:0; background:black; width:40px; height:40px; justify-content:center; align-items:center; display:flex;}
	.review-block .rvb-icon svg{ width:25px; height:25px; fill:var(--color-1);}
	.review-block .nifty-span{position:relative; font-weight:600; padding-left: 25px; text-transform:uppercase;}
	.review-block .nifty-span::before{content:''; position:absolute; width:20px; height:1px; background:var(--color-1); left:0px; top:50%; transform:translate(0 , -50%); }

@media(max-width:450px){
	.review-container{padding:35px 15px 1px}
/* 	.review-block{text-align:left;} */
}