/*
 Theme Name:   Nifty 2019 Child
 Theme URI:    https://niftymarketing.com/
 Description:  Nifty's child theme for Twenty Nineteen WordPress theme.
 Author:       Nifty Marketing
 Author URI:   https://niftymarketing.com
 Template:     twentynineteen
 Version:      1.0.0
*/


/* Preventing the loading of the theme's styles.
 * @import url("../twentynineteen/style.css"); */
@keyframes fadeIn{
	0%,35%{opacity:0; top:-25px;}
	100%{opacity:1; top:0;}
}
@keyframes fadeInTwo{
	0%,50%{opacity:0; top:-25px;}
	100%{opacity:1; top:0;}
}
@keyframes fadeInThree{
	0%,65%{opacity:0; top:-25px;}
	100%{opacity:1; top:0;}
}
	
/* GLOBALS */
/* Resets */
body{margin:0;-webkit-font-smoothing: antialiased;font-weight:100; font-family: 'Roboto Condensed', sans-serif;}
body *{box-sizing: border-box;}
	body.activator, body.activator .masthead{opacity:0;}
	body.active, body.active .masthead{opacity:1; transition: all .5s linear;}
/* lazy loading flow fixes */
img[src=""]{visibility: hidden;}
img[data-url]:before{content: '';display: block;padding-top: 56.25%;}

/* GLOBAL RESETS */
p, p ul, p ol, p li{margin:0;padding-bottom: 15px;line-height:1.6em; font-family: 'Roboto Condensed', sans-serif;}
button, input[type=submit]{-webkit-appearance: none;outline:none;}
.alignright{float:right;margin-left:5px;}
.alignleft{float:left;margin-right:5px;}
.entry-content ul li{position:relative;list-style:none;margin-bottom:7px;}
.entry-content ul li:before{content:"";width:7px;height:7px;border-radius:50%;background:#309b4b;position: absolute;top: 10px;left: -5%;}
/* Colors */
a, a:visited, .post-navigation .post-title, .entry .entry-meta a:hover, .entry .entry-footer a:hover, .entry .entry-content .more-link:hover, .main-navigation .main-menu > li > a + svg, .comment .comment-metadata > a:hover, .comment .comment-metadata .comment-edit-link:hover, #colophon .site-info a:hover, .widget a, .entry .entry-content .wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color), .entry .entry-content > .has-primary-color, .entry .entry-content > *[class^="wp-block-"] .has-primary-color, .entry .entry-content > *[class^="wp-block-"].is-style-solid-color blockquote.has-primary-color, .entry .entry-content > *[class^="wp-block-"].is-style-solid-color blockquote.has-primary-color p{color:#309b4b; text-decoration: none;}

/* GLOBAL FONTS */
/* Font families */
h1,h2{font-family: 'Cormorant Garamond', serif;font-weight:bold;}
/* Font sizes */
h1{font-size:5em;}
h2{font-size:4em;font-weight:bold; margin:0; font-weight:400;}
	h2 span{display: block; color:#309b4b; font-family: 'Roboto Condensed', sans-serif; letter-spacing: 12px; font-size:15px; text-transform: uppercase; padding-bottom:10px;}
	h2.underline{padding-bottom:40px; margin-bottom:40px; position: relative;}
	h2.underline:before{content:''; height:3px; width:100px; background-color:#309b4b; position: absolute; bottom:0; left:0; right:0; margin:0 auto;}
h3{font-size:2.1em;font-weight:bold;}
h4{font-size:1.3em;font-weight: 600;}
/* .content-width li{font-size:1.6em;} */
.flex{display: flex; align-items: flex-start; justify-content: flex-start; flex-wrap:wrap;}
.content-width li, .flex li, .flex-content li{font-size: initial; line-height: 1.6em; margin-bottom: 4px!important;}

@media(max-width:1000px){
	.hamburger-icon {width: 20px;height: 30px;position: relative;cursor: pointer;transition: top 0.3s ease-in-out;}
	.hamburger-icon .line {width: 30px;height: 3px;background-color: white;margin: 6px 0;transition: 0.3s;}
	h1{font-size:4em;}
	h2{font-size:2.5em;}
		h2.underline{padding-bottom:25px; margin-bottom:25px;}
}
@media(max-width:690px){
	h1{font-size:3em;}
}
@media(max-width:480px){
	h1{font-size:2em;}
}

/* HEADER */
/* Structure */
.masthead{background:#252525;color:white; 
-webkit-box-shadow: 0px 20px 40px 0px rgba(255,255,255,0.1);
-moz-box-shadow: 0px 20px 40px 0px rgba(255,255,255,0.1);
box-shadow: 0px 20px 40px 0px rgba(255,255,255,0.1);}
.inner-masthead{flex-wrap:nowrap;display: -webkit-box;display: -webkit-flex;display: -ms-flexbox;display: flex;-webkit-box-align: center;-webkit-align-items: center;-ms-flex-align: center;align-items: center;max-width:1425px; margin:0 auto;}
@media(min-width:1500px){
	.inner-masthead{max-width:1500px;margin:auto;}
}
@media(max-width:1000px){
	.masthead .flex{flex-direction:initial;}
}
/* Logo */
.masthead .logo{width: 150px;height: auto;padding:5px 0 ;}

/* Fixed header */
@media(min-width:1001px){
	body.admin-bar .masthead{top:32px; padding:0 50px; 
	-webkit-box-shadow: 0px 10px 25px 0px rgba(0,0,0,0.25);
	-moz-box-shadow: 0px 10px 25px 0px rgba(0,0,0,0.25);
	box-shadow: 0px 10px 25px 0px rgba(0,0,0,0.25);}
	body:not(.admin-bar) .masthead{top:0;}
	.masthead{position:fixed;left:0;width:100%;z-index:999999;}
	.masthead .logo{padding-left:15px;}
}

/* Top menu */
#menu-secondary-menu{margin: 0;padding: 0;}
.menu-secondary-menu-container{width:100%;text-align:right;}
.menu-secondary-menu-container li{display:inline-block;margin:0;padding:0 5px;border-right:2px solid white;line-height: .6em;}
.menu-secondary-menu-container li:last-child{border-right:0;}
.menu-secondary-menu-container li a{padding:2px 5px;color:white;font-size: .7em;text-transform:uppercase;}
.menu-secondary-menu-container li a:hover{color:#309b4b;}
/* Main menu */
#menu-main{margin:0;}
/* Nav */
.header-wrapper{width:100%;}
.mobile-nav, .mobile-nav-input{display:none;}
.mobile-nav{cursor:pointer;font-size:2em;padding:0 10px;}
.main-nav{display: flex; align-items: center; justify-content: flex-start; flex-wrap:wrap;}
.main-nav li{list-style:none;display:inline-block;padding: 0 35px 0 0;font-size: 15px;position:relative;margin: 0;transition:border .25s;}
.main-nav li > a{color:white;font-weight:400;letter-spacing: 2px; padding:.25em;text-decoration:none;}
.main-menu > li > a{text-transform:uppercase;font-size: 12px;}
.main-nav li > a:hover, .main-nav li.current_page_item > a, .main-nav li.current_page_ancestor > a, .main-nav li.current_page_parent > a{color:#309b4b;}
.main-nav li > ul{display:none;}
.menu-main-menu-container{width:calc(100% - 250px); text-align: right;}
.menu-main-menu-container #menu-main-menu{margin:0;}
/*search*/
.search-two{display: none;}
.header-wrapper .search{width:75px; margin-right:25px; padding:25px 0; text-align: center; background-color: #3e3e3e; height:100%; transition: all .25s linear;}
.header-wrapper .search svg{height:15px; fill:#fff;}
.header-wrapper .search:hover{cursor: pointer; background-color: rgba(0,0,0,.25); transition: all .25s linear;}
	/*search popup*/
	.search-wrapper{position: fixed; top:-50px; left:0; width:100%; background-color:#263031; z-index:100000000; border-bottom:solid 2px #309b4b; padding:0 50px; display: flex; align-items: center; justify-content: center; flex-wrap:wrap;overflow: hidden; max-height:0; height:100%; transition: all .5s linear;}
		.search-wrapper.active{max-height:88px;top:0px; transition: all .5s linear;}
	.search-wrapper .search-form{width:50%;} 
	.search-form .screen-reader-text{display: none;}
	.search-wrapper i{color:#309b4b; font-size:25px; width:67px; text-align: center; transition: all .5s linear;} 
		.search-wrapper i:hover{cursor: pointer; color:white; transition: all .5s linear;}
	.search-wrapper .search-submit{padding:33px 25px; border:none; background-color: #000; color:white; transition: all .5s linear;}
		.search-wrapper .search-submit:hover{cursor: pointer; background-color:#515151; transition: all .5s linear;}
	.search-wrapper .search-field{padding: 30px 25px; border: none; width:85%; font-size:20px;}
	.search-wrapper svg{height:20px; width:20px; fill:white; position: absolute; top:35px; right:25px; z-index: 100000;}
		.search-wrapper svg:hover{fill:#309b4b;}
/*phone*/
.header-wrapper .phone{width:150px; color:white; font-weight:600; letter-spacing: 2px;}
	.header-wrapper .phone:hover{color:#309b4b;}

.header-wrapper .phone svg{fill:#309b4b; padding-right:10px; height:20px; position: relative;top:0; }
@media(min-width:1001px) and (max-width:1200px){
	.main-menu > li > a{font-size: .9em;}
}
@media(min-width:1001px){
	#menu-primary .sub-menu li a{font-size:15px;}
	#menu-primary > li:hover > a, #menu-primary > .current_page_parent, #menu-primary > .current-menu-item{border-bottom:2px solid #309b4b;}
	.main-nav .sub-menu .current_page_item > a, .main-nav .sub-menu .current_page_parent > a{text-decoration:underline !important;color:#309b4b !important;}
	.main-nav .sub-menu a:hover, .main-nav .current_page_ancestor{color:#309b4b;}
	.main-nav .menu-item-has-children:after{content: "▾";}
	.main-nav .sub-menu .menu-item-has-children:after{position: absolute; right:15px; top:15px;}
	.main-nav .menu-item-has-children:hover > ul{display:block;position:absolute;top:104%;left:0;background:#252525;width: 300px; padding:0;}
	.main-nav .menu-item-has-children:hover > ul ul{left:100%; top:0; background-color: black;}
	/* Nav - phone number */
	.menu-phone-number{z-index:1;}
	.menu-phone-number:after{content: "";border: 2px solid #309b4b;height: 100%;width: 99%;position: absolute;top: 50%;left: 50%;transform: translate(-50%,-50%);z-index: -1;}
	.main-nav .menu-item-has-children li{width:100%; text-align: left; padding:15px 10px;}
		.main-nav .menu-item-has-children li:first-child{padding-top:25px;}
		.main-nav .menu-item-has-children li:last-child{padding-bottom:25px;}
	.main-nav .menu-item-has-children > .sub-menu{padding:15px;z-index:2;}
}
@media(max-width:1000px){
	.masthead .logo{width:auto; height:70px; }
	.masthead .inner-masthead{padding:10px 25px; position: relative;}
	.menu-main-menu-container #menu-main-menu{padding:25px;}
	.mobile-nav{display:inline-block;}
	.main-nav{flex-direction: column; align-items: flex-start;}
	.menu-main-menu-container{text-align: left; width:100%;}
	.mobile-nav-input:not(:checked) ~ .main-nav{display:none;}
	.mobile-nav-input:checked ~ .main-nav{position:absolute;background: black;width: 100%;left: 0;z-index:999999;}
	body.admin-bar .main-nav{top:94px;}
	body:not(.admin-bar) .main-nav{top:94px;}
	.main-nav li{display:block;padding-top:10px;padding-bottom:10px;}
	.main-nav .menu-item-has-children > a:after{content:"▾";margin-left:5px;padding:0 5px;}
	.main-nav .menu-item-has-children ul{background:#252525;margin-top:10px;}
	.main-nav .menu-item-has-children:hover ul, .main-nav .menu-item-has-children:active ul, .main-nav .menu-item-has-children:focus ul{display:block;}
	.menu-phone-number{text-align:center;}
	.menu-phone-number a{background: #309b4b;padding: 4px 20px !important;display: inline-block;}
	.header-wrapper{text-align: right;}
	.header-wrapper .search-two .phone{width:100%; padding:0; text-align: right; right:25px; bottom:10px; position: absolute; }
	/*search*/
	.header-wrapper .phone{width:100%; padding-bottom:25px; padding-left:25px; text-align: left;}
	.search-wrapper{padding:0 25px;}
	.search-wrapper.active{padding:0;}
	.search-wrapper .search-form{width:calc(100% - 67px);}
	.search-wrapper .search-field{width:calc(80% - 67px);}
	.header-wrapper .search{display: none;}
	.search-two{display: block;}
	.search-two .search{display: flex; position: absolute; top: 0; right: 175px;align-items: center;justify-content: center;}
	.search-two .fa-search{top: 12px; position: relative;}
}
@media(max-width:750px){
	.menu-secondary-menu-container{position:absolute;padding:5px 0;left:0;background: #141414;text-align: center;bottom:100%;font-size:0.55em;}
	.inner-masthead > *:nth-child(1){max-width: calc(50% - 65px);}
	.inner-masthead > *:nth-child(2){order: 1;}
	.inner-masthead{justify-content: space-between;flex-wrap: wrap;position:relative;}
	.inner-masthead .logo{max-height:90px;width:auto;}
	body.admin-bar .main-nav{top:94px;}
	body:not(.admin-bar) .main-nav{top:94px;}
	.mobile-nav{position: absolute;top: 25px; right:25px;}

}
@media all and (max-width:500px){

}
@media all and (max-width:480px){
	.header-wrapper .search{background-color: transparent; padding:10px; margin:0; height:auto; width:auto; top: 28px; right: 75px;}
	.search-two .fa-search{top:0;}
}


/* PAGE GLOBALS */
.content-width{max-width:1425px;margin:auto;width:100%; padding:50px;}
@media(max-width:1000px){
	.content-width{padding:25px;}
}
.section-padding{padding:5% 0;}
.button, .gform_footer input{background-color: transparent;text-transform: uppercase;margin: auto !important;padding: 10px 30px;display: inline-block;color:white !important;text-decoration:none;cursor:pointer;border:0;border-radius:30px;font-size: .9em;position:relative;transition:border-radius .25s;}

/*INTERNAL PAGES*/
.internal-accent-phrase{color: #309b4b; font-weight: bold; font-size: 1.3em;}