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

/*Theme Variables*/
:root{
	/*site colors*/
	--color-1: #348081;
	--color-2: #0a2e4c;
	--color-3: #ebaa3f;
	--gray: #f7f7f7;
	--gray-footer: #afafaf;
	--gold: #d5b879;
	--white: white;
	--black: rgba(0,0,0,1);
	--subtle-white: rgba(255,255,255,0.25);
	--subtle-black: rgba(0,0,0,0.25);
	--accent-bg: #222;
	--accent-hover: #ebaa3f;
	--transluscent: rgba(30,30,30,0.9);

	/*font sizes*/
	--fsize-xl: 55px;
	--fsize-lg: 40px;
	--fsize-md: 30px;
	--fsize-sm: 20px;
	--fsize-default: 16px; /*ADA requires at least 16px*/

	/*font families*/
	--heading-font: "Tenor Sans", serif;
	--text-font: "Montserrat", sans-serif;
}
@media(max-width: 1000px){
	:root{
		/*font sizes*/
		--fsize-xl: 40px;
		--fsize-lg: 30px;
		--fsize-md: 20px;
		--fsize-sm: 18px;
	}
}
@media(max-width: 750px){
	:root{
		/*font sizes*/
		--fsize-xl: 35px;
		--fsize-lg: 25px;
		--fsize-md: 20px;
		--fsize-sm: 18px;
	}
}


/*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;}
/* lazy loading flow fixes */
img{object-fit:contain;min-width:1px;}
/* img[src=""]{visibility: hidden;} */
/* img[data-url]:before{content: '';display: block;padding-top: 56.25%;} */
a{text-decoration:none;transition: ease all .25s;}
.masthead a:hover {color: var(--gold)}
nav a {padding: 0 .5em .25em;}
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;}
h1{font-size:var(--fsize-xl);}
h2{ font-size: clamp(28px, 6vw, 34px); }
h3{font-size:var(--fsize-md);}
h4{font-size:var(--fsize-sm);}

ul li {line-height: 29px;font-size: 20px;letter-spacing: -0.01em;}
ul li::marker {color: var(--gold);font-size: 26px;}


/*Layout*/
.section-padding{padding: 5% 0;}
.content-width{width: 1230px; max-width: 100%; padding: 0 15px; margin: 0 auto;}
.flex{display: flex; flex-wrap: wrap;}
.site-main{overflow: hidden;}


/* ADA header */
.masthead{padding: 10px 22px; color: var(--white);}
.masthead a {color: inherit;}
.masthead ul{list-style: none;}
.skip-bar{position: absolute; display: block; width: 100%; text-align: center; height: 0; overflow: hidden; background: var(--accent-bg); top: 0; left: 0; z-index: 10;}
.skip-bar:focus{height: auto; padding: 20px;}
.inner-masthead{justify-content: space-between; align-items: center; max-width: 1440px; margin: 0 auto;}
.logo-container{width: 10%;}
.logo-container img {max-width: 46px; height: auto;}
.menus{width: 90%; justify-content: flex-end;padding: 0 0 .5em .5em;align-items: center;}
.mobile-nav-input{display: none;}
#menu-main{padding: 0; text-transform: uppercase;}


@media (min-width: 1001px){
	.masthead {position: fixed; left: 0; width: 100%; z-index: 1000; top: 0;}
	.masthead:after {content: ''; position: absolute; z-index: -1; inset: 0; background: -webkit-gradient(linear, left top, right top, from(rgba(255,255,255,1)), color-stop(65%, rgba(255,255,255,1))); background: -o-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 65%); background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 65%); opacity: 0; height: 0; -webkit-transition: opacity .3s, height .3s; -o-transition: opacity .3s, height .3s; transition: opacity .3s, height .3s;}
	.masthead.bg-color:after,
	.masthead.bg-color-fixed:after {opacity: 1; height: 100%;}
	.masthead a {transition: color .3s;}
	.masthead.bg-color a,
	.masthead.bg-color-fixed a {color: var(--black);}
	.masthead.bg-color a:hover,
	.masthead.bg-color-fixed a:hover{color: var(--gold);}
	body.admin-bar .masthead {top: 32px;}
	.mobile-nav{display: none;}

#menu-main{display: flex; margin: 0; flex-wrap: wrap; justify-content: flex-end;}
	.menus,
	#menu-main {gap: .8em;}
#menu-main > li{position: relative; margin-bottom: 0!important;}
#menu-main > li:not(:last-child):after {content: ''; position: absolute; top: 50%; right: -9px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); transform: translateY(-50%);}
.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 a {font-size: min(16px, 1.3vw);}
#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 var(--subtle-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 var(--subtle-white);}

	.masthead .tel-info {margin-top: -2px;}
}

@media(max-width: 1000px){
	.masthead{position: relative;}
	.logo-container{width: 80%;}
	.menus{width: 20%;}
	.mobile-nav{font-size: 22px; transform: scaleX(1.75); outline-color: var(--color-1); color: var(--gold);}
	.main-nav{position: absolute; z-index: 5; top: 100%; width: 100%; left: 0; background: white; border-top: 1px solid var(--gray); box-shadow: 0 5px 10px rgba(0,0,0,.3); padding: 0 25px; height: 0; overflow: hidden; transition: padding .25s;}
	#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: 0 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(--black); border-right: 2px solid var(--black); transform: rotate(45deg); top: 2px; right:5%;transition:ease .3s;}
	.masthead .sub-menu.active + .menu-arrow{transform: rotate(225deg); border-color: var(--gold);}
	figure img{height:auto;}

	.masthead .tel-info.mobile-view {display: flex; margin: 0 auto;}
	.masthead .main-nav a {color: var(--black); display: block; font-weight: 600; line-height: 1; padding: .5em;}
	ul li {line-height: 27px;font-size: 18px;}
}
@media(max-width: 750px){
	ul li {line-height: 25px;font-size: 16px;}
}
/* 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;}
.has-text-align-center {text-align:center;}
.has-text-align-right {text-align: right;}

.mobile-view {width: 0; height: 0; visibility: hidden; overflow: hidden;}
@media(max-width: 1000px) {
	.mobile-view {width: fit-content; height: fit-content; visibility: visible;}
	.desktop-view {width: 0; height: 0; visibility: hidden; overflow: hidden;}
}

.tel-info {font-family: var(--heading-font); letter-spacing: .015em; display: block; font-size: 20px;}
@media (max-width: 1000px) {
	.tel-info {font-size: max(2.5vw, 20px); line-height: 1.2;}
}

/* .btn {text-decoration: none; color: var(--white); position: relative; padding: 10px 35px; overflow: hidden; display: flex; width: fit-content;cursor: pointer;}
.btn span {position: relative; z-index: 1; text-transform: uppercase; font-weight: 500;}
.btn .wp-block-button__link {position: relative; z-index: 1; text-transform: uppercase; font-weight: 500;text-decoration: none; color: var(--white);}
.btn:after {content: ''; position: absolute; top: 0; left: -100%; width: 200%; height: 100%; background: linear-gradient(90deg, rgba(213,184,121,1) 50%, rgba(0,0,0,1) 50%); transition: transform .3s;}
.btn:hover:after {transform: translateX(50%);}
.btn-outline{border:1px solid var(--white);} */



.wp-block-button {text-decoration: none; color: var(--white); position: relative; padding: 10px 35px; overflow: hidden; display: flex; width: fit-content;cursor: pointer;}
.wp-block-button span {position: relative; z-index: 1; text-transform: uppercase; font-weight: 500;}
.wp-block-button .wp-block-button__link {position: relative; z-index: 1; text-transform: uppercase; font-weight: 500;text-decoration: none; color: var(--white);}
.wp-block-button:after {content: ''; position: absolute; top: 0; left: -100%; width: 200%; height: 100%; background: linear-gradient(90deg, rgba(213,184,121,1) 50%, rgba(0,0,0,1) 50%); transition: transform .3s;}
.wp-block-button:hover:after {transform: translateX(50%);}
.wp-block-button.is-style-outline{border:1px solid var(--white);}




.wp-block-buttons.big-button{width: 325px;justify-content: center;padding:21px 0;border: 2px solid var(--black); background:black;}
.wp-block-buttons.big-button .wp-block-button{padding:0;}
.wp-block-buttons.big-button .wp-block-button__link{font-size: 34px;text-transform: none;}
.wp-block-buttons.big-button-outline {color: var(--black);border: 2px solid var(--black);position: relative;overflow: hidden;}

.wp-block-buttons.big-button:hover{border: 2px solid  rgba(213,184,121,1);}
.wp-block-buttons.big-button-outline:after {content: '';position: absolute;top: 0;left: -100%;width: 200%;height: 100%;background: transparent;transition: transform 0.3s, background 0.3s;z-index: 0;}

.wp-block-buttons.big-button-outline:hover:after {background: linear-gradient(90deg, rgba(213,184,121,1) 50%, transparent 50%);transform: translateX(50%);}

.wp-block-buttons.big-button-outline .wp-block-button__link {position: relative;z-index: 1;}

@media(max-width: 1000px){
	.wp-block-buttons.big-button{width: 250px;}
	.wp-block-buttons.big-button .wp-block-button__link{font-size: 25px;}
}
@media(max-width: 750px){
	.wp-block-buttons.big-button{width: 100%;}
	.wp-block-buttons.big-button .wp-block-button__link{font-size: 22px;}
}
.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;}
.wp-block-columns.is-layout-flex{display:flex; gap:50px;}
.wp-block-columns.alignwide .wp-block-column{flex:1;}

.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(max-width:1000px){
	.wp-block-columns.is-layout-flex{flex-direction:column; gap:10px;}
}