/*
 Theme Name:   HVAC U
 Theme URI:    https://www.energycircle.com
 Description:  HVAC U
 Author:       Energy Circle
 Author URI:   https://www.energycircle.com
 Template:     generatepress
 Version:      0.1
*/

/* ------------------- Desktop navigation & sticky styles -------------------- */
.site-logo {
	max-width: 170px;
}

.site-header {
	z-index: 1;
	background-color: unset;
}

.site-info {
	background-color: var(--global-color-1);
	color: white;
}

.site-info a {
	color: var(--global-color-3);
}

.site-info a:hover {
	color: var(--global-color-2);
}

#menu-main-menu .menu-item-has-children .dropdown-menu-toggle {
    padding-right: 5px;
}

#sticky-navigation,
#mobile-header.is_stuck {
    box-shadow: 0 5px 2px -2px rgb(0 0 0 / 20%);
}

.main-navigation.sticky-navigation-transition .main-nav > ul > li > a {
    font-size: 16px;
}

.main-navigation .main-nav ul li a {
    padding-left: 5px;
    padding-right: 10px;
}

/* -------------------- Auxiliary menu styles -------------------- */
.secondary-navigation .menu-toggle {
    display: none;
}

.secondary-navigation ul ul {
	background-color: white;
}

.secondary-navigation {
	margin-bottom: -20px;
    margin-top: 10px;
	z-index: 100 !important;
	position: relative;
}

.secondary-navigation .inside-navigation {
	flex-direction: row-reverse;
	align-items: baseline;
}

.secondary-nav-aligned-right .secondary-navigation .inside-navigation {
	justify-content: unset !important;
}

@media (max-width: 1184px) {
    #secondary-navigation {
        display: none;
    }
}

@media (max-width: 992px) {
    .secondary-navigation ul,
    .secondary-navigation:not(.toggled) .main-nav > ul {
        display: none;
    }
}

@media (max-width: 768px) {
    .secondary-navigation {
        text-align: center !important;
    }
    .secondary-navigation ul {
        display: block;
    }
    .secondary-navigation .sf-menu > li {
        float: none;
        display: inline-block !important;
    }
}

/* -------------------- Mobile header and hamburger menu styles -------------------- */
.mobile-header-navigation {
    box-sizing: border-box;
    padding: 10px;
}

#generate-slideout-menu .gb-button-wrapper .gb-button,
.slideout-navigation.do-overlay .inside-navigation .main-nav,
.slideout-navigation.do-overlay .inside-navigation .slideout-widget {
    width: 100%;
}

.main-navigation.slideout-navigation .main-nav > ul > li > a {
    line-height: 30px;
}

/* Update color */
.menu-toggle .gp-icon svg,
.slideout-exit .gp-icon svg {
    fill: var(--contrast);
}

.slideout-navigation.do-overlay .slideout-exit {
    right: 40px;
    top: 20px;
}

#generate-slideout-menu div.inside-navigation {
    padding-bottom: 30%;
}

#generate-slideout-menu .menu-aux-menu-2 a {
    line-height: 35px;
}

#generate-slideout-menu .main-navigation .main-nav ul ul li a {
    padding: 10px 10px 8px 10px;
}

#generate-slideout-menu.main-navigation .aux-menu {
    width: 100%;
    text-align: left;
  }
  
  #generate-slideout-menu.main-navigation .aux-menu .wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content {
      padding: unset;
      color: var(--global-color-1)
  }
  
  
  #generate-slideout-menu.main-navigation .aux-menu .wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content:hover {
      color: var(--global-color-3);
  }
  
  #generate-slideout-menu.main-navigation .aux-menu ul {
    display: block;
    position: relative;
    opacity: 1;
    left: 0;
    top: 0;
    width: 100%;
    text-align: left;
  }
  
  #generate-slideout-menu.main-navigation .aux-menu.wp-block-navigation .wp-block-navigation-item {
    flex-direction: column;
    align-items: center;
      line-height: 35px;
  }
  
  #generate-slideout-menu.main-navigation .aux-menu .wp-block-navigation__submenu-icon {
    position: absolute;
    right: 15px;
    top: 5px;
  }
  
  #generate-slideout-menu.main-navigation .main-nav ul ul li {
      margin-bottom: unset;
  }
  
  #generate-slideout-menu.main-navigation .main-nav ul ul li a {
      padding: unset;
      line-height: 35px;
  }
  
  #generate-slideout-menu.main-navigation .main-nav ul ul li:not([class*="current-menu-"]):hover > a {
      background: unset;
      color: var(--global-color-3)
  }
  
  #generate-slideout-menu.main-navigation .aux-menu.wp-block-navigation .wp-block-navigation__submenu-container {
    border: 0;
    font-size: 17px;
  }

@media (max-width: 1024px) {
    #generate-slideout-menu.main-navigation ul.ec_menu_ul {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .slideout-navigation.do-overlay .slideout-exit {
        position: fixed !important;
    }
}

/* -------------------- Testimonials -------------------- */
/* .testimonials .testimonial-quote:before {
    content: open-quote;
    top: -30px;
    left: -80px;
}

.testimonials .testimonial-quote:after {
    content: close-quote;
    bottom: 0;
    right: -80px;
}

.testimonials .testimonial-quote:before,
.testimonials .testimonial-quote:after {
    position: absolute;
    display: block;
    width: 40px;
    height: 40px;
    font-size: 4em;
    color: var(--global-color-1);
}

.testimonials :is(.custom-field-name, .custom-field-location) {
    text-transform: uppercase;
    margin-bottom: 0;
}

.testimonials.wp-block-getwid-post-carousel.has-arrows-inside
    .slick-prev:before,
.testimonials.wp-block-getwid-post-carousel.has-arrows-inside
    .slick-next:before {
    color: var(--global-color-4);
    font-size: 32px;
    opacity: 1;
}

.testimonials.wp-block-getwid-post-carousel.has-arrows-inside .slick-prev,
.testimonials.wp-block-getwid-post-carousel.has-arrows-inside .slick-next {
    text-shadow: none;
}

@media (max-width: 1024px) {
    .testimonials .testimonial-quote:before,
    .testimonials .testimonial-quote:after {
        display: none;
    }

    .testimonials .slick-next,
    .testimonials .slick-prev {
        top: 80%;
    }
} */

.custom-post-type-testimonial .gb-container {
	display: flex;
	flex-direction: column;
	align-items: start;
    padding: 30px;
}

.custom-post-type-testimonial h5 {
	padding-bottom: 20px;
}

.wp-block-getwid-post-carousel .slick-track {
    margin-bottom: 20px;
}

/* -------------------- Distinctions -------------------- */
/* Check if all are needed */
.distinctions .wp-block-getwid-post-carousel__post-title {
    display: none;
}

.distinctions .wp-block-getwid-post-carousel__post-thumbnail img {
    object-fit: contain;
}

.distinctions.wp-block-getwid-post-carousel .slick-track {
    align-items: center;
}

/* -------------------- Footer styles -------------------- */
.ec_menu_ul {
    margin-left: 0em;
    list-style-type: none;
}

.ec_menu_ul ul.sub-menu {
    list-style-type: none;
}

.footer .ec_menu_ul li a {
	color: var(--base-color);
}

.footer .ec_menu_ul li a:hover {
	color: var(--global-color-3);
}

.footer .disclaimer {
	color: var(--base-1);
}

@media (max-width: 768px) {
    .footer {
        text-align: center;
    }
}

/* -------------------- WP Forms styles -------------------- */
/* Check if needed */
/* Update color */
/* Submit button footer style - .btn-footer custom class in WPForms */
.wpforms-submit.btn-footer {
    color: var(--contrast) !important;
    background-color: var(--global-color-3) !important;
    border: none !important;
}

/* Check if needed */
/* Update color */
/* Submit button footer hover style - .btn-footer custom class in WPForms */
.wpforms-submit.btn-footer:hover {
    color: var(--base-1) !important;
    background-color: var(--global-color-3) !important;
    border: none !important;
}

/* Update color */
/* Submit button style */
div.wpforms-container-full .wpforms-form input[type='submit'],
div.wpforms-container-full .wpforms-form button[type='submit'],
div.wpforms-container-full .wpforms-form .wpforms-page-button {
    color: var(--base-1) !important;
    background-color: var(--global-color-3) !important;
    padding: 10px 30px !important;
    border: solid 1px transparent !important;
    transition: all 0.5s ease 0s !important;
    margin-top: 40px;
}

/* Update color */
/* Submit button hover style */
div.wpforms-container-full .wpforms-form input[type='submit']:hover,
div.wpforms-container-full .wpforms-form input[type='submit']:focus,
div.wpforms-container-full .wpforms-form input[type='submit']:active,
div.wpforms-container-full .wpforms-form button[type='submit']:hover,
div.wpforms-container-full .wpforms-form button[type='submit']:focus,
div.wpforms-container-full .wpforms-form button[type='submit']:active,
div.wpforms-container-full .wpforms-form .wpforms-page-button:hover,
div.wpforms-container-full .wpforms-form .wpforms-page-button:active,
div.wpforms-container-full .wpforms-form .wpforms-page-button:focus {
    color: var(--base-1) !important;
    background-color: var(--global-color-4) !important;
    border: solid 1px var(--global-color-4) !important;
}

div.wpforms-container-full .wpforms-form button[type='submit'] {
	margin-top: 0;
}

div.wpforms-container-full .wpforms-form button[type='submit']:hover {
	background: unset;
	color: var(--contrast) !important;
}

.disclaimer {
	font-size: 14px !important;
	line-height: 1.2em;
	padding-top: 10px !important;
}


@media (max-width: 500px) {
    div.wpforms-field-container .wpforms-field-name .wpforms-one-half {
        width: 100% !important;
    }

    div.wpforms-field-container
        .wpforms-field-name
        .wpforms-field-row
        > .wpforms-one-half:last-child {
        margin: 20px 0 0;
    }
}

/* ------------------- WooCommerce -------------------- */
.woocommerce-archive-wrapper, .product, .woocommerce-cart article, .woocommerce-checkout article {
	max-width: 1280px;
	margin: auto;
}

.product .woocommerce-breadcrumb, .product .product_meta, .product .woocommerce-tabs {
	display: none;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) ul.products li.product .price {
	color: black; 
	font-weight: 600;
	font-size: 18px;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
	font-weight: 600;
	font-size: 22px;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt, .wc-block-components-button:not(.is-link) {
    align-items: center;
    background-color: var(--global-color-3);
    color: var(--contrast);
    display: inline-flex;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    border: 4px solid var(--global-color-3);
    padding: 6px 26px;
	border-radius: 0;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:hover {
	    background-color: var(--global-color-4);
    color: var(--contrast);
    letter-spacing: 1px;
    border: 4px solid var(--global-color-4);
}

.woocommerce div.product div.images img {
	max-width: 300px;
}

#wc-mini-cart .button {
    color: unset;
    line-height: 1em;
	font-size: 13px;
    letter-spacing: 1px;
    font-weight: 500;
    padding: 10px 15px;
}

.wc-block-cart__submit-container a {
    color: unset !important;
}

.wc-block-cart__submit-container:hover a {
    background-color: var(--global-color-4);
		border-color: var(--global-color-4);
}

.wc-product-image img {
	height: 200px !important;
	width: auto !important;
}

/* -------------------- Tribe Events -------------------- */
.tribe-events * {
    font-family: Montserrat !important;
} 

.tribe-events a {
color: var(--contrast) !important;
border-bottom-color: var(--contrast) !important; 
}

.tribe-events a:hover {
color: var(--global-color-2) !important;
border-bottom-color: var(--global-color-2) !important; 
}

.tribe-common--breakpoint-medium.tribe-events .tribe-common-c-btn.tribe-events-c-search__button,
.tribe-common--breakpoint-medium.tribe-common .tribe-common-c-btn-border,
div.wpforms-container-full .wpforms-form button[type='submit'] {
align-items: center;
background-color: var(--global-color-3);
color: var(--contrast) !important;
cursor: pointer;
font-weight: 500;
letter-spacing: 1px;
text-transform: uppercase;
border: 4px solid var(--global-color-3);
padding: 6px 26px;
font-family: Montserrat;
border-radius: 0;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-common-c-btn.tribe-events-c-search__button:hover,
.tribe-common--breakpoint-medium.tribe-common .tribe-common-c-btn-border:hover,
div.wpforms-container-full .wpforms-form button[type='submit']:hover {
background-color: var(--global-color-4);
color: var(--contrast);
letter-spacing: 1px;
border: 4px solid var(--global-color-4);
}

.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-text, .tribe-events .tribe-events-c-subscribe-dropdown button.tribe-events-c-subscribe-dropdown__button-text {
text-transform: uppercase;
}

.tribe-common .tribe-common-c-svgicon--messages-not-found .tribe-common-c-svgicon__svg-stroke {
stroke: var(--global-color-2);
}


/* -------------------- General styles -------------------- */
.image-gallery figure.wp-block-image:not(#individual-image) img
 {
    height: 300px !important;
    object-fit: contain !important;
}


.article-card {
	position: relative;
}

.article-card a {
	position: absolute;
	bottom: 20px
}

.article-card img {
    min-width: 100%;
    height: 250px;
    object-fit: cover;
}


.inside-article a:not(.gb-button, .gb-text){
    color: var(--global-color-2);
}


.inside-article a:not(.gb-button, .gb-text):hover {
    color: var(--global-color-1);
}

.keap-custom-form iframe {
	min-height: unset !important;
	height: 350px !important;
	overflow-y: scroll !important;
}
