/**
 * GW Blueprint - Main Stylesheet
 * 
 * This file contains base styles and utilities for the theme
 */

/* CSS Variables for easy customization */
/* Reset and Base Styles */
:root{
	--header-height: 105px;
}
* {
	box-sizing: border-box;
}
body {
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
	padding: 0;
	overflow-x: clip;
}

/* Typography */
p:last-child,
ul:last-child,
ol:last-child{
	margin-bottom: 0;
}
ul:empty,
ol:empty,
li:empty,
p:empty{
	display: none;
}
img{
	max-width: 100%;
	border:none;
	outline:none;
}

input,
select,
textarea,
button{
	outline: none;
}
::-webkit-scrollbar {
	width: 5px;
}
::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.1);
}
::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.2);
}

/* Button Styles */
.wp-element-button,
.button{
	--btnColor: var(--wp--preset--color--custom-color-500);
	--btnColorHover: color-mix(in srgb, var(--btnColor) 85%, #000000);
	--btnTextColor: var(--wp--preset--color--neutral-white);
	--btnTextColorHover: var(--wp--preset--color--neutral-white);
	background: var(--btnColor);
	color: var(--btnTextColor);

	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap:10px;
	cursor: pointer;
	letter-spacing: 1px;
	min-width: 200px;
	transition: all 0.3s;

	&:hover{
		background: var(--btnColorHover);
		color: var(--btnTextColorHover);
	}
}
.is-style-outline .wp-element-button{
	background: none;
	border: 1px solid var(--btnColor);
	color: var(--btnColor);

	&:hover{
		background: var(--btnColor);
		color: var(--btnTextColorHover);
	}
}

.button{
	border:none;
	padding:16px 24px;
	font-size: 18px;
}

/** BUTTON COLORS **/
.is-style-secondary-fill .wp-element-button,
.is-style-secondary-outline .wp-element-button{
	--btnColor: var(--wp--preset--color--neutral-white);
	--btnColorHover: color-mix(in srgb, var(--btnColor) 85%, #000000);
	--btnTextColor: var(--wp--preset--color--neutral-500);
	--btnTextColorHover: var(--wp--preset--color--neutral-500);
}

.is-style-secondary-outline .wp-element-button{
	background: none;
	border: 1px solid var(--btnColor);
	color: var(--btnTextColor);
	border-radius: 0;

	&:hover{
		background: var(--btnColorHover);
		color: var(--btnTextColorHover);
	}
}

/*** LINK WRAPPER STYLES ***/
.link_wrapper {
	color: currentColor;
	text-decoration: none;
}
.link_wrapper > .wp-block-group{
	width: 100%;
}

/*** SEPARATOR STYLES ***/
.wp-block-separator.is-style-title-decoration {
	border: none;
    border-top: 5px solid;
    width: 60px;
}

/*** HELPERS ***/
.w-100{
	width: 100%;
}
.rank-math-html-sitemap{
	padding:64px 0;
}

.is-style-checklist{
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;

	li{
		position: relative;
		padding-left: 30px;
		font-weight: 400;
		&::before{
			content: '';
			position: absolute;
			top: 2px;
			left: 0;
			width: 20px;
            height: 20px;
			background-image: url(../images/check.svg);
			background-size: contain;
			background-repeat: no-repeat;
			background-position: center;
		}
	}
	a{
		text-decoration: none;
	}
}

/*** GRAVITY FORMS ***/
.wp-site-blocks{
	--wp--preset--color--accent-2:var(--wp--preset--color--custom-color-500);
    --wp--preset--color--base:var(--wp--preset--color--neutral-white);
}
.gform_description:empty,
.gform_heading{
	display: none !important;
}
.form_wrapper .gform_wrapper.gravity-theme input[type=text],
.form_wrapper .gform_wrapper.gravity-theme input[type=email],
.form_wrapper .gform_wrapper.gravity-theme input[type=password],
.form_wrapper .gform_wrapper.gravity-theme input[type=tel],
.form_wrapper .gform_wrapper.gravity-theme input[type=number],
.form_wrapper .gform_wrapper.gravity-theme select,
.form_wrapper .gform_wrapper.gravity-theme textarea{
	border-radius: 5px;
    height: 50px;
    border: 1px solid var(--wp--preset--color--neutral-100);
    background: var(--wp--preset--color--neutral-100) !important;
    padding: 10px 20px;
	font-family: var(--wp--preset--font-family--montserrat);
}
.form_wrapper .gform_wrapper.gravity-theme .gfield_label{
	display: block;
	font-size: var(--wp--preset--font-size--md);
	font-weight: 400;
	margin-bottom: 10px;
	font-weight: normal;
}
.form_wrapper .gform_wrapper.gravity-theme .gform_fields {
	grid-row-gap: var(--wp--preset--spacing--ml);
}
.form_wrapper .gform_footer{
	justify-content: center;
	padding: 0 !important;
	margin-top:30px !important;
}
.form_wrapper .gform_footer .button{
	margin:0 !important;
}

.sidebar_form_wrapper .gfield_consent_label{
	font-size: 13px;
	line-height: 1.2;
}
.sidebar_form_wrapper .gfield_consent_label a{
	color: var(--wp--preset--color--custom-color-500);
}

/*** HEADER ***/
header.wp-block-template-part {
    position: absolute;
    z-index: 99;
    width: 100%;
}
.header_logo_wrapper{
	position: relative;
}
.header_logo_wrapper .grey_logo{
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	margin: 0;
	transition: all 0.3s;
}
.regular_logo{
	transition: all 0.3s;
}
.float_active .header_logo_wrapper .grey_logo{
	opacity: 1;
}
.float_active .header_logo_wrapper .regular_logo{
	opacity: 0;
}
#header_main_placeholder{
	position: relative;
	height: var(--header-height);
	z-index: 99;
}
.header_main{
	position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
	transition: all 0.3s;
    transform: translateX(-50%);
}
.float_active #header_main_placeholder .header_main{
	position: fixed;
	background-color: var(--wp--preset--color--neutral-white);
}
.admin-bar.float_active #header_main_placeholder .header_main{
	top: 32px;
}


/*** HEADER MENU ***/
#header_menu{
	list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    gap: 20px;
	color:var(--wp--preset--color--neutral-white);
    justify-content: flex-end;
}
.float_active #header_menu{
	color:var(--wp--preset--color--neutral-500);
}
#header_menu li{
	position: relative;
}
#header_menu > li > a{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
    text-decoration: none;
    color: currentColor;
	padding: 7px 0;
    transition: all 0.3s;
}
#header_menu > li > a:hover,
#header_menu > li.current_page_item > a{
	color: var(--wp--preset--color--custom-color-500);
}
#header_menu .menu-item-has-children > a::after{
	content: '';
	display: inline-block;
	width: 10px;
	height: 10px;
	background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiB4PSIwIiB5PSIwIiB2aWV3Qm94PSIwIDAgNDUxLjg0NyA0NTEuODQ3IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48Zz48cGF0aCBkPSJNMjI1LjkyMyAzNTQuNzA2Yy04LjA5OCAwLTE2LjE5NS0zLjA5Mi0yMi4zNjktOS4yNjNMOS4yNyAxNTEuMTU3Yy0xMi4zNTktMTIuMzU5LTEyLjM1OS0zMi4zOTcgMC00NC43NTEgMTIuMzU0LTEyLjM1NCAzMi4zODgtMTIuMzU0IDQ0Ljc0OCAwbDE3MS45MDUgMTcxLjkxNSAxNzEuOTA2LTE3MS45MDljMTIuMzU5LTEyLjM1NCAzMi4zOTEtMTIuMzU0IDQ0Ljc0NCAwIDEyLjM2NSAxMi4zNTQgMTIuMzY1IDMyLjM5MiAwIDQ0Ljc1MUwyNDguMjkyIDM0NS40NDljLTYuMTc3IDYuMTcyLTE0LjI3NCA5LjI1Ny0yMi4zNjkgOS4yNTd6IiBmaWxsPSIjZmZmZmZmIiBvcGFjaXR5PSIxIiBkYXRhLW9yaWdpbmFsPSIjZmZmZmZmIj48L3BhdGg+PC9nPjwvc3ZnPg==);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}
.float_active #header_menu .menu-item-has-children > a::after {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiB4PSIwIiB5PSIwIiB2aWV3Qm94PSIwIDAgNDUxLjg0NyA0NTEuODQ3IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48Zz48cGF0aCBkPSJNMjI1LjkyMyAzNTQuNzA2Yy04LjA5OCAwLTE2LjE5NS0zLjA5Mi0yMi4zNjktOS4yNjNMOS4yNyAxNTEuMTU3Yy0xMi4zNTktMTIuMzU5LTEyLjM1OS0zMi4zOTcgMC00NC43NTEgMTIuMzU0LTEyLjM1NCAzMi4zODgtMTIuMzU0IDQ0Ljc0OCAwbDE3MS45MDUgMTcxLjkxNSAxNzEuOTA2LTE3MS45MDljMTIuMzU5LTEyLjM1NCAzMi4zOTEtMTIuMzU0IDQ0Ljc0NCAwIDEyLjM2NSAxMi4zNTQgMTIuMzY1IDMyLjM5MiAwIDQ0Ljc1MUwyNDguMjkyIDM0NS40NDljLTYuMTc3IDYuMTcyLTE0LjI3NCA5LjI1Ny0yMi4zNjkgOS4yNTd6IiBmaWxsPSIjMDAwMDAwIiBvcGFjaXR5PSIxIiBkYXRhLW9yaWdpbmFsPSIjMDAwMDAwIj48L3BhdGg+PC9nPjwvc3ZnPg==);
    
}
#header_menu .sub-menu{
	position: absolute;
	top: 100%;
	left: 0;
	width: 300px;
	display: flex;
	flex-direction: column;
	list-style: none;
	padding:0;
	background: var(--wp--preset--color--neutral-500);
	color: var(--wp--preset--color--neutral-white);
	transform: translateY(10px);
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s;
}
#header_menu > li:hover .sub-menu{
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
}
#header_menu .sub-menu li{
	margin: 0;
	padding:5px 15px;
	transition: all 0.3s;
}
#header_menu .sub-menu li:hover,
#header_menu .sub-menu .current_page_item{
	background: rgba(0, 0, 0, 0.2);
}
#header_menu .sub-menu .current_page_item{
    color:var(--wp--preset--color--custom-color-500);
}
#header_menu .sub-menu a{
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	padding: 5px 0;
	gap: 5px;
	text-decoration: none;
    color: currentColor;
}
.header_phone a{
	text-decoration: none;
}
#header_button .wp-element-button{
	position: relative;
    padding-left: 40px;
    padding-right: 15px;
    padding-block: 13px;
    font-size: 13px;
    text-transform: uppercase;
    --btnColor: var(--wp--preset--color--neutral-white);
}
#header_button .wp-element-button::before{
	content: '';
	position: absolute;
	top: -10px;
    left: -7px;
    width: 50px;
    height: 50px;
	background-image: url(../images/Roof_Geeks_Man.webp);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}
.mobile_header_phone{
	min-width: 30px;
}

/*** MOBILE MENU COMPONENT ***/
#menu_trigger{
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	cursor: pointer;
}
#menu_trigger::after{
	content: '';
    position: absolute;
    top: calc(50% - 2px);
    left: calc(50% - 20px);
    width: 40px;
    height: 5px;
    border-radius: 99px;
    background: currentColor;
    transition: all 0.5s;
}
.menu_open #menu_trigger::after{
	transform: translateX(100%);
	opacity: 0;
}
#menu_trigger i{
	position: relative;
	display: block;
	width: 40px;
	height: 30px;
}
#menu_trigger i::before{
	content: '';
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	height: 5px;
    border-radius: 99px;
	background:currentColor;
	transition:all 0.5s;
}
.menu_open #menu_trigger i::before{
	transform: translate(0px, 13px) rotate(45deg);
}
#menu_trigger i::after{
	content: '';
	position: absolute;
	bottom:0;
	left: 0;
	width: 100%;
	height: 5px;
    border-radius: 99px;
	background:currentColor;
	transition:all 0.5s;
}
.menu_open #menu_trigger i::after{
	transform: translate(0px, -12px) rotate(-45deg);
}

#mobile_menu_container{
	position:absolute;
	flex-direction: column;
	flex-wrap: nowrap;
	top:100%;
	left:0;
	width: 100%;
	height: calc(100vh - var(--header-height));
	padding:20px 0;
	transform: translateX(-100%);
	transition: all 0.3s;
}
.menu_open #mobile_menu_container{
	transform: translateX(0);
}
#mobile_menu{
	width: 100%;
	flex-direction: column;
	padding: 0;
	list-style: none;
}
#mobile_menu li a{
	display: block;
	padding: 10px 15px;
	color: #FFF;
	text-decoration: none;
	text-transform: uppercase;
}
#mobile_menu .current-menu-item > a,
#mobile_menu .current-menu-item > span > a{
	color: var(--wp--preset--color--custom-color-500)
}
#mobile_menu li:not(.menu-item-has-children) a{
	border-bottom: 1px solid var(--wp--preset--color--neutral-500);
}
#mobile_menu li a:hover{
	color: var(--wp--preset--color--custom-color-500);
}
#mobile_menu .sub-menu{
	list-style: none;
	padding: 0;
	margin: 0;
	display: none;
	background: rgba(0, 0, 0, 0.2);
}
#mobile_menu .sub-menu a{
	border-bottom: 1px solid var(--wp--preset--color--neutral-500);
}
.sub_menu_trigger_wrapper{
	border-bottom: 1px solid var(--wp--preset--color--neutral-500);
	padding-right: 15px;
	align-items: center;
}
.sub_menu_trigger_wrapper i{
	display: inline-block;
	position: relative;
	width: 25px;
	height: 25px;
	background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiB4PSIwIiB5PSIwIiB2aWV3Qm94PSIwIDAgNDUxLjg0NyA0NTEuODQ3IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIiBjbGFzcz0iIj48Zz48cGF0aCBkPSJNMjI1LjkyMyAzNTQuNzA2Yy04LjA5OCAwLTE2LjE5NS0zLjA5Mi0yMi4zNjktOS4yNjNMOS4yNyAxNTEuMTU3Yy0xMi4zNTktMTIuMzU5LTEyLjM1OS0zMi4zOTcgMC00NC43NTEgMTIuMzU0LTEyLjM1NCAzMi4zODgtMTIuMzU0IDQ0Ljc0OCAwbDE3MS45MDUgMTcxLjkxNSAxNzEuOTA2LTE3MS45MDljMTIuMzU5LTEyLjM1NCAzMi4zOTEtMTIuMzU0IDQ0Ljc0NCAwIDEyLjM2NSAxMi4zNTQgMTIuMzY1IDMyLjM5MiAwIDQ0Ljc1MUwyNDguMjkyIDM0NS40NDljLTYuMTc3IDYuMTcyLTE0LjI3NCA5LjI1Ny0yMi4zNjkgOS4yNTd6IiBmaWxsPSIjZmZmZmZmIiBvcGFjaXR5PSIxIiBkYXRhLW9yaWdpbmFsPSIjMDAwMDAwIiBjbGFzcz0iIj48L3BhdGg+PC9nPjwvc3ZnPg==);
	background-size: 10px;
	background-position: center;
	background-repeat: no-repeat;
	transform: rotate(0deg);
	transition: all 0.3s;
}
.open .sub_menu_trigger_wrapper i{
	transform: rotate(180deg);
}

/*** FOOTER ***/
footer.wp-block-template-part{
	margin:0;
}

/*** COMPONENTS ***/

.map_wrapper{
	position: relative;
	height: 100%;
}
.map_wrapper iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/*** MEDIA QUERIES ***/
@media (max-width: 1320px) {
}

@media (max-width: 992px) {
	:root {
		--header-height: 80px;
	}
	.wp-block-site-logo{
		width: 104px;
	}
	.header_main_top::after {
		--percentage: 40;
		left: inherit;
		right: 0;
		clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%);
	}
	#menu_trigger{
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		min-width: 40px;
		height: 40px;
		cursor: pointer;
	}
	.gw-testimonials-slider__inner-content {
		padding: 10px;
		border: 10px solid var(--wp--preset--color--neutral-400);
	}
	.gw-testimonials-slider__inner-content::before {
		max-width: 130px;
	}
	.wp-elements-a177e6c032793e5dcdfe1ac0ab87cc08{
		text-align: center;
	}
	h1.wp-block-heading{
		font-size: 34px !important;
	}
	.promo_box .wp-block-buttons{
		justify-content: flex-start;
	}
	.wp-elements-3767124d0a618a27c70a9999f09366a4 p{
		font-size: 16px !important;
	}
	.wp-image-15866{
		width: 170px;
	}
	.wp-image-2676{
		width: 100px;
	}
	.title_buttons{
		justify-content: flex-start !important;
	}
}