/*
Theme Name: Staxx
Description: Simple. Affordable. Beatiful.
Author:  integritive inc.
Version: 1.0
Template: enfold
*/

:root {
	--main-theme: #005776;
	--dark: #005776;
	--alt-theme: #f8f8f8;
}

.avia_mega3{
     position: absolute !important;
     width: 52vw !important;
     right: 0px !important;
}

/*.main_menu {
     width: 100%;
}

.av-main-nav-wrap {
     float: none;
     width: 600px;
     margin: 0 auto;
}*/

@media (max-width: 1024px) {
	.avia_mega3 {
    		position: absolute !important;
    		width: 100vw !important;
    		right: -390px !important;
	}
}

[data-av_icon=""]:before,
[data-av_svg_icon="brush"] {
	text-indent: -9999em;
	background-size: cover;
	background-image: url("/wp-content/themes/staxx/assets/commercial-cleaning-white.png");
	background-position: center center;
	background-repeat: no-repeat;
	color: transparent!important;
}
[data-av_svg_icon="brush"] {
	background-size: 80px 80px;
	background-position: center top;
}
[data-av_svg_icon="brush"] svg {
	opacity: 0!important;
}


/* Standardized classes for hiding things on desktop/mobile */
@media (min-width: 990px) {
	.staxx-desktop-hidden {
		display: none!important;
	}
}
@media (max-width: 990px) {
	.staxx-mobile-hidden {
		display: none!important;
	}
	.avia_mega3{
        	position: absolute !important;
    		width: 100vw !important;
    		right: -368px !important;
    	}
}

/* Fix for transparent logos with WebP Express in CDN Friendly mode */
#top .av_header_transparency.av_alternate_logo_active .logo a > picture > img {
	opacity: 0;
	filter: alpha(opacity=0);
}
@media only screen and (max-width: 767px) {
	.responsive #top .av_header_transparency.av_alternate_logo_active .logo a > picture > img {
		opacity: 1;
	}
}

/* Fix for Gravity Forms styling */
#top .gform_wrapper legend {
	font-weight: bold;
	font-size: 0.92em;
}
.gform_required_legend {
	display: none;
}

@media (min-width: 768px) and (max-width: 1023px) {
	.hide-tablet {
		display: none!important;
	}
}

/* Fix for displaying the scroll-top link on mobile */
@media only screen and (max-width: 767px) {
	.responsive #top  #scroll-top-link {
		display: block;
	}
}

#top .av-main-nav ul .avia-menu-text {
	display: flex;
	align-items: center;
	gap: 5px;
}
#top .av-main-nav ul .avia-menu-text span {
	display: block;
}

.all_colors h1,
.all_colors h2,
.all_colors h3,
.all_colors h4,
.all_colors h5,
.all_colors h6 {
	color: #03473a
}
.av_inherit_color h1,
.av_inherit_color h2,
.av_inherit_color h3,
.av_inherit_color h4,
.av_inherit_color h5,
.av_inherit_color h6 {
	color: inherit;
}

#top .avia-button .avia_button_icon,
#top .avia-button .avia_button_icon + .avia_iconbox_title {
	display: inline-block;
	line-height: 1;
	vertical-align: middle;
}

#top .main_color .avia-color-theme-color:hover {
	background-color: var(--enfold-main-color-secondary);
	border-color: var(--enfold-main-color-button-border2);
}
#top .avia-button.avia-color-light:hover {
	background-color: var(--enfold-main-color-secondary);
	opacity: 1;
}


.avia_transform #top .avia_start_delayed_animation.av_font_icon.avia-icon-animate {
	animation: avia_appear 2.7s 1 cubic-bezier(0.175, 0.885, 0.320, 1.275);
}
@keyframes avia_appear {
  0%   { transform:scale(0.5); opacity: 0.1;  }
  100% { transform:scale(1); opacity: 1;  }
}

/* #41419 - A logo challenge */
#top #header_main .logo {
	width: 195px;
}
#top.home #header_main .logo.scrolled {
	height: 90px;
	width: 195px;
}

#top #header_main .logo a {
	display: flex;
	align-items: center;
}

@media (min-width: 1280px) {
	#top.home #header_main .logo {
		top: 100px;
		width: 390px;
		height: 180px;
		left: calc((100% - 1210px) / 2);
	}
	#top.home #header_main .logo a,
	#top.home #header_main .logo img {
		max-height: none!important;
		height: auto
	}

	#top.home [data-rel="slideshow-1"] .slideshow_caption {
		top: 130px;
		height: auto;
	}
}

#top .avia-buttonrow-wrap .avia-button {
	padding-top: 8px;
	padding-bottom: 12px;
}

.mobile-break::before {
	content: " :: ";
}

#top .ginput_container_textarea textarea {
	margin-bottom: 0;
}
#top .charleft {
		margin: 0;
	padding: 0;
	font-size: 12px;
}

@media (max-width: 767px) {
	.mobile-break {
		display: block;
	}

	.mobile-break::before {
		content: "";
	}

	.content {
		padding-bottom: 0;
	}

	#top #menu-footer-menu {
		column-count: 2;
		column-gap: 2rem;
		margin-bottom: 30px;
	}
	#top #menu-footer-menu li {
		break-inside: avoid;
		display: block;
		text-align: left;
	}
	#top #menu-footer-menu li:nth-child(5) {
		break-before: column;
		-webkit-column-break-before: always;
	}
}

/* Blog-grid image ratio container: 495 × 400 */
#top .template-blog .slide-entry .slide-image {
	position: relative;
	display: block;
	overflow: hidden;
	background-color: #fff;
}

/* Creates the 495:400 ratio */
#top .template-blog .slide-entry .slide-image::before {
	content: "";
	display: block;
	padding-top: 80.81%;
}

#top .template-blog .slide-entry .slide-image > img.wp-post-image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: contain;
	object-position: center;
}
