/*!
Theme Name: hvac
Theme URI: http://nathanbui.com/
Author: Nathan Bui
Author URI: http://nathanbui.com/
Description: Custom theme for HVAC website
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: hvac
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

hvac is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
:root {
	--blue3: #00296b; 
	--blue2: #003f88; 
	--blue1: #00509d;
	--orange3: #A24200; 
	--orange2: #D04B00; 
	--orange1: #F24F00; 
	--yellow2: #fdc500;
	--yellow1: #ffd500;
	--grey: #D7D7D7;
}

* { vertical-align: top; }
body { font-size: 16px; font-family: 'Montserrat'; font-weight: 400; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; margin-top: 0; color: var(--orange1); line-height: 1.2; text-transform: uppercase; }
h1 { font-size: 60px; }
h2 { font-size: 28px; margin-bottom: 15px; }
h3 { font-size: 25px; }
h4 { font-size: 20px; margin-bottom: 25px }
h5 { font-size: 18px; }
a { text-decoration: none; color: #f66b06; font-weight: 600; }
a:visited, a:hover, a:focus, a:active { color: #f66b06; }
p { font-size: 18px; font-weight: 400; color: #444; line-height: 1.62; margin-top: 0; margin-bottom: 20px; }
p:empty { margin-bottom: 0; }
hr { background-color: #d3d3d3; height: 1px; margin: 0; clear: both; }
select, input, textarea { font-family: 'Montserrat'; }
input, textarea { color: #000; }
main { margin-top: 111px; }
iframe { vertical-align: top; }
li > ul, 
li > ol { margin-left: 0; }
ul { list-style-type: none; list-style: none; }
ul, ol { margin-left: 0; padding-left: 0; }
ul li { position: relative; padding-left: 17px; }
ul li:before { content: ""; position: absolute; left: 0; top: 10px; background-color: #444; width: 4px; height: 4px; border-radius: 50px; }
.post, .page { margin-bottom: 0; }

@media (max-width: 991px) {
	main { margin-top: 80px; }
}
@media (max-width: 767px) {
	h1 { font-size: 38px; }
	h3 { font-size: 22px; }
	h4 { font-size: 20px; }
}

/* Container adjustments */
@media (min-width: 1230px) {
	.container { max-width: 1200px; }
}
@media (min-width: 1550px) {
	.container-large { max-width: 1470px; }
}
@media (max-width: 767px) {
	.container { padding-left: 25px; padding-right: 25px; }
}

/* Image */
.has-max-width { max-width: 100%; }

/* Padding */
.padding-top-10 { padding-top: 10px; }
.padding-top-20 { padding-top: 20px; }
.padding-top-30 { padding-top: 30px; }
.padding-top-40 { padding-top: 40px; }
.padding-top-50 { padding-top: 50px; }
.padding-top-60 { padding-top: 60px; }
.padding-top-70 { padding-top: 70px; }
.padding-top-80 { padding-top: 80px; }
.padding-top-90 { padding-top: 90px; }
.padding-top-100 { padding-top: 100px; }

.padding-bottom-10 { padding-bottom: 10px; }
.padding-bottom-20 { padding-bottom: 20px; }
.padding-bottom-30 { padding-bottom: 30px; }
.padding-bottom-40 { padding-bottom: 40px; }
.padding-bottom-50 { padding-bottom: 50px; }
.padding-bottom-60 { padding-bottom: 60px; }
.padding-bottom-70 { padding-bottom: 70px; }
.padding-bottom-80 { padding-bottom: 80px; }
.padding-bottom-90 { padding-bottom: 90px; }
.padding-bottom-100 { padding-bottom: 100px; }

@media (max-width: 767px) {
	.padding-top-30,
	.padding-top-40,
	.padding-top-50,
	.padding-top-60,
	.padding-top-70,
	.padding-top-80,
	.padding-top-90,
	.padding-top-100 { padding-top:40px; }
	
	.padding-bottom-30,
	.padding-bottom-40,
	.padding-bottom-50,
	.padding-bottom-60,
	.padding-bottom-70,
	.padding-bottom-80,
	.padding-bottom-90,
	.padding-bottom-100 { padding-bottom:40px; }
}

/* Button */
.button,
input[type="submit"] { display: inline-block; font-size: 19px; font-weight: 700; text-transform: uppercase; border-radius: 22px; -webkit-transition: 0.2s all; transition: 0.2s all; padding: 10px 30px; border: 0; }
a.button-primary,
.button-primary,
input[type="submit"] { background-color: var(--orange1); color: #fff; }
input[type="submit"] { border: 0; cursor: pointer; }

/* 404 Page */
.error-404 { min-height: 70vh; padding-top: 90px; padding-bottom: 90px; }
.error-404 form { margin-bottom: 30px; }
.error-404 .search-field { border-radius: 0; height: 39px; outline: 0; padding: 0 10px; }
.error-404 .search-field:focus { border-color: var(--orange1); }

/* Contact Form 7 */
.grecaptcha-badge { visibility: hidden; }
body .wpcf7-spinner { position: absolute; }
body .wpcf7-form-control { width: 100%; border: 0; border-radius: 0; border-bottom: 1px solid var(--grey); background-color: transparent; }
body .wpcf7-form-control:focus { outline: 0; border-color: var(--orange1); }
.wpcf7-form label { font-size: 14px; color: #333; font-weight: 600; }
.wpcf7-form input { padding-left: 0; padding-right: 0; color: #000; }
.wpcf7-form textarea { border: 1px solid var(--grey); resize: none; height: 160px; padding: 10px 15px; }
.wpcf7-form .wpcf7-submit { display: inline-block; width: auto; cursor: pointer; font-size: 19px; font-weight: 700; text-transform: uppercase; border-radius: 22px; -webkit-transition: 0.2s all; transition: 0.2s all; padding: 10px 30px; background-color: var(--orange1); color: #fff; }
.wpcf7-not-valid-tip { font-size: 12px; }

/* SlickJS */
.slick-dots { margin-bottom: 0; }
.slick-dots li { width: auto; margin-left: 10px; margin-right: 10px; display: inline-block; }
.slick-dots li button { font-size: 0; border-radius: 50%; width: 15px; height: 15px; display: inline-block; background: transparent; border: 1px solid #fff; }
.slick-dots li button:before { font-size: 0; }
.slick-dots li.slick-active button { background-color: #fff; border-color: #fff; }
.slick-dots li:first-of-type { margin-left: 0; }
.slick-arrow { width: 30px; height: 30px; border-radius: 50px; font-size: 0; cursor: pointer; opacity: 0.5; border: 0; background-color: #fff; }
.slick-arrow:hover { opacity: 1; }

/* Header */
.site-logo { display: inline-block; padding-top: 27px; }
.site-logo img { width: 100%; max-width: 192px; }

.site-header { position: fixed; z-index: 200; min-height: 111px; width: 100%; top: 0; background-color: #fff; box-shadow: 0 1px 1px rgb(0 0 0 / 4%); }
.site-header .header-sep { display: inline-block; width: 1px; height: 21px; background-color: #f2f2f2; margin-top: 8px; margin-right: 20px; }
.site-header .group-right { float: right; }
.site-header .group-right svg { width: 30px; height: 30px; fill: var(--orange1); margin-top: 7px; }
.site-header .phone-item { display: inline-block; margin-left: 30px; margin-top: 36px; }
.site-header .phone-item a { display: inline-block; color: #444; font-size: 20px; font-weight: 600; }
.site-header .phone-item a .number { padding-top: 10px; color: var(--orange1); }
.site-header .phone-item a .label { display: block; font-size: 12px; position: relative; top: -9px; color: #444; }
.site-header .phone-item .text-wrapper { display: inline-block; padding-left: 6px; }

.admin-bar .site-header { top: 32px; }

.main-navigation { float: none; width: auto; display: inline-block; }
.main-navigation > .container { position:relative; }
.main-navigation ul { display: inline-block; }
.main-navigation ul ul a { width: auto; }

.site-header .menu-main-menu-container { display: inline-block; margin-left: 40px; padding-top: 41px;}
.site-header .menu-main-menu-container ul li { padding-left: 0; }
.site-header .menu-main-menu-container ul li:before { content: none; }
.site-header .menu-main-menu-container > ul > li { margin-right: 20px; padding-bottom: 41px; padding-left: 0; }
.site-header .menu-main-menu-container > ul > li:hover > a { color: var(--orange1); }
.site-header .menu-main-menu-container > ul li a { -webkit-transition: 0.2s all; transition: 0.2s all; color: #444; font-size: 19px; font-weight: 700; }
.site-header .menu-main-menu-container > ul > li.menu-open > ul { display: block; left: auto; }
.site-header .menu-main-menu-container > ul > li.mobile-menu-open > ul { left: auto; }
.site-header .menu-main-menu-container > ul > li > ul { width: 380px; background-color: #fff; margin-left: -20px; padding: 15px 20px; }
.site-header .menu-main-menu-container > ul > li > ul > li { margin-bottom: 15px; }
.site-header .menu-main-menu-container > ul > li > ul > li > a { font-size: 18px; } 
.site-header .menu-main-menu-container > ul > li > ul > li > a:hover { color: var(--orange1); }

.site-header .main-navigation { position:relative; min-height: 104px; }
body.active-menu .group-mobile { position: fixed; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; z-index: 20; background-color: rgba(255,255,255,0.95); }
body.active-menu .group-mobile .logo-container { display: block; }
body.active-menu .group-mobile .logo-container .site-logo {}
body.admin-bar.active-menu .group-mobile { top: 32px; }

.site-header .menu-toggle { cursor: pointer; outline: 0; position: absolute; z-index: 30; background-color: transparent; border: 0; padding: 0; width: 32px; height: 26px; right: 0; margin-top: 26px; }
.site-header .menu-toggle span { width: 32px; height: 3px; background-color: var(--orange1); display: block; position: absolute; opacity: 1; left: 0; -webkit-transform: rotate(0deg); -moz-transform: rotate(0deg); -o-transform: rotate(0deg); transform: rotate(0deg); -webkit-transition: .25s ease-in-out; -moz-transition: .25s ease-in-out; -o-transition: .25s ease-in-out; transition: .25s ease-in-out; margin: 0; }
.site-header .menu-toggle span:nth-of-type(1) { top: 0; }
.site-header .menu-toggle span:nth-of-type(2) { top: 12px; }
.site-header .menu-toggle span:nth-of-type(3) { top: 12px; }
.site-header .menu-toggle span:nth-of-type(4) { top: 23px; }

.main-navigation.toggled .menu-toggle span:nth-of-type(1), 
.main-navigation.toggled .menu-toggle span:nth-of-type(4) { display: none; }
.main-navigation.toggled .menu-toggle span:nth-of-type(2) { -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); }
.main-navigation.toggled .menu-toggle span:nth-of-type(3) { -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -o-transform: rotate(-45deg); transform: rotate(-45deg); }

.main-navigation.toggled .menu-main-menu-container { display: block; }

body.active-menu { height: 100vh; overflow: hidden; }
body.active-menu .group-mobile .container { position: relative; }

@media (min-width: 992px) {
	.menu-toggle { display: none; }
}

@media (max-width: 1549px){
	.site-logo { padding-top: 32px; }
	.site-logo img { max-width: 134px; }
	.site-header .menu-main-menu-container { margin-left: 27px; }
	.site-header .menu-main-menu-container > ul li a { font-size: 16px; }
	.site-header .phone-item { margin-top: 34px; margin-left: 20px; }
	.site-header .phone-item a .number { font-size: 16px; }
}
@media (max-width: 1229px){
	.site-header .menu-main-menu-container > ul li a { font-size: 14px; }
}
@media (max-width: 1199px){
	.site-logo { padding-top: 43px; }
	.site-logo img { max-width: 112px; }
	.site-header .phone-item { margin-left: 14px; }
	.site-header .phone-item a .number { font-size: 14px; }
	.site-header .group-right svg { width: 20px; height: 20px; }
	.site-header .menu-main-menu-container li.melbourne { max-width: 80px; margin-top: -8px; }
	.site-header .menu-main-menu-container li.brisbane { max-width: 67px; margin-top: -8px; }
}
@media (max-width: 991px){
	.site-logo { position: absolute; z-index: 2; padding-top: 16px; }
	.site-logo img { max-width: 160px; }
	.site-header { min-height: 80px; }
	.site-header .main-navigation { width: 100%; min-height: 80px; }
	.site-header .group-right { display: none; }
	.site-header .menu-main-menu-container { display: none; margin-left: 0; padding-top: 90px; padding-bottom: 20px; }
	.site-header .menu-main-menu-container > ul li a { font-size: 15px; }
	.site-header .menu-main-menu-container > ul > li { margin-right: 0; display: block; padding-left: 0; border-right: 0; text-align: left; margin-bottom: 13px; margin-left: 0; padding-bottom: 0; float: left; width: 100%; }
	.site-header .menu-main-menu-container > ul > li.mobile-menu-open > ul { position: static; margin-left: 0; padding-left: 0; }
	.site-header .menu-main-menu-container > ul > li > ul { padding-top: 0; padding-bottom: 0; padding-left: 15px; width: auto; padding-right: 0; display: block; position: static; margin-left: 0; box-shadow: none; }
	.site-header .menu-main-menu-container > ul > li > ul > li { display: block; width: 100%; max-width: 100%; margin-bottom: 10px; }
	.site-header .menu-main-menu-container > ul > li > ul > li > a { font-size: 15px; }
	.site-header .menu-main-menu-container > ul > li.mobile-menu-open > ul { margin-top: 0; padding-top: 0; }
	.site-header .menu-main-menu-container > ul > li.mobile-menu-open > ul::before { content: none; }
	.site-header .menu-main-menu-container > ul > li > a { padding-top: 5px; padding-bottom: 5px; }
	.site-header .menu-main-menu-container > ul > li.focus > ul { position: static; }
	.site-header .menu-main-menu-container li.melbourne,
	.site-header .menu-main-menu-container li.brisbane { max-width: 100%; margin-top: 0; }
}
@media (max-width: 782px){
	.admin-bar .site-header { top: 46px; }
}

/* Panel - home banner */
.panel-home-banner { max-height: calc(100vh - 111px); overflow: hidden; }
.panel-home-banner h1 { margin-bottom: 10px; }
.panel-home-banner h1,
.panel-home-banner p { color: #fff; }
.panel-home-banner .item { height: 100vh; background-size: cover; background-repeat: no-repeat; position: relative; }
.panel-home-banner .item:before { content: ""; position: absolute; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); }
.panel-home-banner .container-wrapper { position: absolute; width: 100%; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); z-index: 100; }
.panel-home-banner .js-slick-dots { min-height: 24px; margin-top: 40px; }
.panel-home-banner .typed-text { display: none; }
.panel-home-banner .typed-text-output { font-size: 30px; font-weight: 500; text-transform: uppercase; min-height: 48px; }
@media (max-width: 767px){
	.panel-home-banner .typed-text-output { font-size: 20px; }
}

/* Panel - home banner */
.panel-banner { height: 370px; background-color: #ccc; position: relative; text-align: center; }
.panel-banner h1 { color: #fff; }
.panel-banner .text-wrapper { position: relative; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); }
.panel-banner .breadcrumb-wrapper { position: absolute; bottom: 0; width: 100%; }
.panel-banner .breadcrumb-wrapper a { text-decoration: none; }
.panel-banner .breadcrumb-wrapper a, 
.panel-banner .breadcrumb-wrapper span { color: #fff; font-size: 11px; text-transform: uppercase; }
.panel-banner .breadcrumb-wrapper span.current,
.panel-banner .breadcrumb-wrapper .breadcrumbs > span:last-of-type { color: var(--orange1);  }
.panel-banner .breadcrumb-wrapper span.delimiter { display: inline-block; margin-left: 4px; margin-right: 4px; }
.panel-banner .breadcrumb-wrapper span.delimiter:before { content: "|"; }
@media (max-width: 767px){
	.panel-banner { height: 280px; }
	.panel-banner h1 { font-size: 34px; }
}

/* Panel - text image */
.panel-text-image .col-text .inner { padding-right: 20px; }
.panel-text-image .col-image .inner { padding-left: 20px; }
.panel-text-image.image-first .row { -webkit-box-orient: horizontal; -webkit-box-direction: reverse; -ms-flex-direction: row-reverse; flex-direction: row-reverse; }
.panel-text-image.image-first .col-text .inner { padding-right: 0; padding-left: 20px; }
.panel-text-image.image-first .col-image .inner { padding-left: 0; padding-right: 20px; }

/* Panel - general content */
.panel-general-content.centre-title .title { text-align: center; }
.panel-general-content.centre-button .button-wrapper { text-align: center; }

/* Panel - tiles with submenus */
.panel-tiles-with-submenus .item { text-align: center; margin-bottom: 30px; }
.panel-tiles-with-submenus .item a { aspect-ratio: 1.66; display: block; color: #fff; }
.panel-tiles-with-submenus .item a:hover .inner { color: var(--orange1); background-color: #fff; }
.panel-tiles-with-submenus .item .inner { display: block; height: 100%; border: 2px solid var(--orange1); background-color: var(--orange1); -webkit-transition: 0.2s all; transition: 0.2s all; }
.panel-tiles-with-submenus .item .text { font-size: 20px; position: relative; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); width: 100%; display: block; padding-left: 15px; padding-right: 15px; }

/* Panel - call to action */
.panel-call-to-action { background-color: var(--blue3); text-align: center; padding-top: 60px; padding-bottom: 60px; }
.panel-call-to-action h3 { color: #fff; }

/* Panel - tiles */
.panel-tiles {  }
.panel-tiles p { color: #fff; }
.panel-tiles .item { position: relative; }
.panel-tiles .item a { display: block; width: 100%; height: 100%; position: relative; z-index: 2; }
.panel-tiles .item .bg { aspect-ratio: 1.618; background-size: cover; background-repeat: no-repeat; background-position: center center; }
.panel-tiles .item .bg:before { content: ''; position: absolute; -webkit-transition: 0.2s all; transition: 0.2s all; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.4))); background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.4) 100%); background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.4) 100%); }
.panel-tiles .item .text-wrapper { position: absolute; bottom: 0; width: 100%; padding: 0 40px 40px 40px; }
.panel-tiles .container-fluid { padding-left: 0; padding-right: 0; }
.panel-tiles .read-more { height: 0; margin-bottom: 0; overflow: hidden; -webkit-transition: 0.2s all; transition: 0.2s all; color: var(--orange1); font-weight: 600; }
.panel-tiles a:hover .read-more { height: 26px; }

/* Panel - full width image list */
.panel-full-width-image-list .item { padding-left: 0; padding-right: 0; }
.panel-full-width-image-list .item .inner { height: 100%; }
.panel-full-width-image-list .item img { height: 100%; object-fit: cover; }

/* Panel - full width image list */
.panel-image-list-inside-container {  }
.panel-image-list-inside-container .item { margin-bottom: 30px; }
.panel-image-list-inside-container .item .inner { height: 100%; }
.panel-image-list-inside-container .item .inner img { height: 100%; object-fit: cover; }

/* Panel - project list */
.panel-project-list { padding-top: 70px; padding-bottom: 60px; }
.panel-project-list .title-wrapper { text-align: center; margin-bottom: 30px; }
.panel-project-list .item { margin-bottom: 30px; }
.panel-project-list .item .bottom { position: absolute; min-height: 52px; bottom: 0; width: 100%; background: rgba(0, 0, 0, .8); padding: 15px; -webkit-transition: 0.2s all; transition: 0.2s all; }
.panel-project-list .item h5 { color: #fff; margin-bottom: 0; }
.panel-project-list .item p { color: #fff; }
.panel-project-list .item img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; max-height: 353px; }
.panel-project-list .item .description { padding-top: 20px; display: none; }
.panel-project-list .item .inner { position: relative; }
.panel-project-list .item .item-image { aspect-ratio: 1.618; overflow: hidden; }
.panel-project-list .slick-prev { display: none !important; }
.panel-project-list .slick-next { position: absolute; right: 15px; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); background-image: url(images/icon-chevron-right.png); background-size: 6px 12px; background-repeat: no-repeat; background-position: center center; }
.panel-project-list .read-more { position: absolute; right: 15px; bottom: 15px; text-transform: uppercase; font-weight: 600; color: var(--orange1); font-size: 18px; padding: 0; border: 0; background-color: transparent; cursor: pointer; }
.panel-project-list .less { display: none; }
.panel-project-list .item.active .less { display: inline; }
.panel-project-list .item.active .more { display: none; }
.panel-project-list .item.active .bottom { min-height: 100%; }
.panel-project-list .item.active .description { display: block; }


/* Panel - Form */
.panel-form { background-size: cover; background-position: center center; background-repeat: no-repeat; }
.panel-form .form-wrapper {  }
.panel-form form { max-width: 690px; background-color: #fff; margin-left: auto; margin-right: auto; padding: 50px 62px 50px 62px; }
.panel-form .item { margin-bottom: 30px; }
.panel-form .title-wrapper { text-align: center; }
.panel-form .title-wrapper h2,
.panel-form .title-wrapper p,
.panel-form .title-wrapper a { color: #fff; }
.panel-form .col-disclaimer { margin-bottom: 0; }
.panel-form .col-disclaimer p { color: #888; font-size: 11px; }
.panel-form .col-disclaimer p a { color: #888; text-decoration: underline; }
.panel-form .col-button { text-align: center; }
.panel-form .col-textarea { margin-bottom: 5px; }
.panel-form .two-columns { text-align: left; max-width: 767px; margin-left: auto; margin-right: auto; }

/* Panel - Footer Form */
.panel-footer-form { padding-top: 60px; padding-bottom: 60px; background-size: cover; background-position: center center; }
.panel-footer-form form { background-color: #fff; margin-left: auto; margin-right: auto; padding: 30px; }
.panel-footer-form .item { margin-bottom: 30px; }
.panel-footer-form .col-text { padding-top: 47px; }
.panel-footer-form .col-text a { color: #444; }
.panel-footer-form .col-disclaimer { margin-bottom: 0; }
.panel-footer-form .col-disclaimer p { color: #888; font-size: 11px; }
.panel-footer-form .col-disclaimer p a { color: #888; text-decoration: underline; }
.panel-footer-form .wpcf7-form textarea { height: 100px; }
.panel-footer-form .col-textarea { margin-bottom: 5px; }

/* Footer Bottom */
.footer-bottom { background-color: var(--blue3); text-align: center; padding-top: 10px; padding-bottom: 10px; }
.footer-bottom p { color: #fff; margin-bottom: 0; font-size: 14px; }