/*
Theme Name: Air Con NZ
Theme URI: http://www.avatar.co.nz
Description: Air Con NZ theme by <a href="http://www.avatar.co.nz">Avatar</a>
Version: 1
Author: Avatar
Author URI: http://www.avatar.co.nz
Tags: avatar
*/


* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; *behavior: url(/scripts/boxsizing.htc);}

body {
	font-family: "proxima-nova", "Proxima Nova", Arial, sans-serif;
	font-size: 16px;
	line-height: 22px;
	color: #000;
	background: #0a569c;
	margin: 0;
}
.wrapper {
	width: 1120px;
	margin: 0 auto;
}
a img {
	border: none;
}

/* Header
-------------------------------------------------------------- */ 

#header-container {
	background: #fff;
	margin-bottom: 30px;
}
#logo {
	float: left;
	width: 332px;
	height: 132px;
}
#tagline {
	float: left;
	width: 425px;
	height: 132px;
	margin-left: 76px;
}
#phone-number {
	clear: right;
	float: right;
	color: #0a569c;
	font-size: 36px;
	line-height: 36px;
	font-weight: 600;
	text-align: right;
}
#phone-number a {
	color: #0a569c;
}
#search-box {
	float: right;
	width: 210px;
	height: 32px;
	background: #fff;
	border: 1px solid #dae6f0;
	margin: 26px 0 14px 0;
}
#mobile-search-box {
	width: 210px;
	height: 32px;
	margin: 15px auto;
	border: 1px solid #ccc;
	background: #fff;
}
.search input#searchField, .search input#searchFieldMobile {
	display: inline;
	height: 30px;
	width: 175px;
	border: none;
	color: #0a569c;
	font-size: 16px;
	line-height: 16px;
	background: transparent;
	margin: 0;
	padding-left: 8px;
}
.search input#searchButton, .search input#searchButtonMobile {
	float: right;
	display: inline;
	height: 30px;
	width: 30px;
	background: none;
	border: none;
	margin: 0;
	text-indent: -500px;
	overflow: hidden;
	cursor: pointer;
}
input[type=search] {
   -moz-appearance:none;
   -webkit-appearance:none;
}

/* Menu
-------------------------------------------------------------- */ 

#menu-container {
	width: 100%;
	height: 50px;
	background: #0a569c;
	box-shadow: 0 3px 5px rgba(0,0,0,0.2);
}
#menu {
	position: relative;
}
#menu-container ul {
	float: left;
	list-style-type: none; 
	padding: 0; 
	margin: 0;
}
#menu-container ul li {
	float: left; 
	margin: 0;
	padding: 0;
	position: relative;
	z-index: 200;
	background: url(images/menu-divider.png) no-repeat top right;
}
#menu-container ul li:last-child {
	background: none;
}
#menu-container ul li a {
	display: block; 
	padding: 15px 30px;
	color: #fff;
	font-size: 20px;
	line-height: 20px;
	text-decoration: none;
}
#menu-container ul li.menu-item-has-children a {
	background: url(images/down-arrow.png) no-repeat top right;
	padding-right: 58px;
}
#menu-container ul li a:hover, #menu-container ul li.active a {
	color: #4d9ddf;
	text-decoration: none;
}
#menu-container ul ul {
	display: none;
}

/* --------- Drop downs --------- */

#menu-container li ul.sub-menu {
	display: none;
	position: absolute;
	z-index: 200;
	clear: both;
	width: 210px;
	top: 50px;
	margin: 0;
	border-top: 1px solid #2f6fab;
}
#menu-container li ul.sub-menu:hover {
	display: block;
}
#menu-container li ul.sub-menu li {
	clear: both;
	padding: 0;
	margin: 0;
	float: left;
	background: none;
}
#menu-container li ul.sub-menu li a {
	display: block;
	width: 210px;
	color: #fff;
	font-size: 15px;
	line-height: 15px;
	padding: 10px 15px;
	font-weight: normal;
	text-decoration: none;
	background: #2f6fab;
	border-left: 1px solid #0a569c;
	border-right: 1px solid #0a569c;
	border-bottom: 1px solid #0a569c;
}
#menu-container li ul.sub-menu li a:hover, #menu-container li ul.sub-menu li.active a {
	color: #fff;
	text-decoration: none;
	background: #0a569c;
}
#menu-container li ul.sub-menu li.menu-item-has-children a {
	background-image: url(images/sub-menu-arrow.png);
	background-repeat: no-repeat;
	background-position: top right;
}
#menu-container li ul.sub-menu li.menu-item-has-children ul li a {
	background-image: none;
}
#menu-container li ul.sub-menu ul {
	display: none;
	margin-left: 209px; /* ul width */
	top: -1px;
}
#menu-container li ul.sub-menu ul li a:hover {
	color: #fff;
}
.bx-controls-direction a {
    opacity: 0;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
}
.bx-wrapper:hover .bx-controls-direction a {
    opacity: 1;
}

/* Slider
-------------------------------------------------------------- */ 

#slider {
	height: auto;
	position: relative;
	box-shadow: 0 0 10px 0 rgba(0,0,0,0.2);
	margin-top: 30px;
	margin-bottom: 30px;
}
#slider .bx-wrapper .bx-pager, #slider .bx-wrapper .bx-controls-auto {
	margin: 0;
	text-align: right !important;
	top: 15px;
	right: 15px;
	width: 100px;
	height: 10px;
}
#slider .bx-wrapper .bx-pager a {
    text-align: center !important;
}

/* Body
-------------------------------------------------------------- */

#body-bg {
	background: url(images/bg.jpg);
	background-size: cover;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: -1;
}
#body-container {
	background: #fff url(images/body-bg.gif) repeat-y;
	margin-bottom: 60px;
}
#body {
	float: left;
	width: 790px;
}
#body-inner {
	clear: both;
	width: 100%;
	padding: 30px 30px 20px 30px;
}
h1 {
	color: #0a569c;
	font-size: 40px;
	line-height: 40px;
	font-weight: 600;
	margin: 0 0 20px 0;
	padding: 0;
}
h1#specials {
	color: #ed1e24;
	margin: 0 0 20px -15px;
	background: url(images/special-icon.gif) no-repeat 0px 0px;
	padding-left: 50px;
}
h2 {
	color: #000;
	font-size: 24px;
	line-height: 24px;
	font-weight: 600;
	margin: 30px 0 0 0;
}
h3 {
	color: #000;
	font-size: 20px;
	font-weight: 600;
	margin: 0;
}
p {
	margin: 10px 10px 20px 20px;
}
a {
	color: #ed1e24;
	text-decoration: none;
}
a:hover {
	color: #ed1e24;
	text-decoration: underline;
}
#body ul {
	margin: 10px 0 20px 30px;
	padding: 0;
}
#body ul li {
	margin: 5px 0;
	padding: 0;
}
#body ul#service-check-list {
	margin: 20px 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid #e5e5e5;
}
#body ul#service-check-list li {
	margin: 0;
	padding: 10px 0 10px 30px;
	background: url("images/check-box.png") no-repeat 0 10px;
	border-bottom: 1px solid #e5e5e5;
}
hr {
    clear: both;
    border: none;
    height: 1px;
    color: #e5e5e5;
    background-color: #e5e5e5;
    margin: 30px 0;
}
a.btn {
	color: #fff;
	font-size: 24px;
	line-height: 24px;
	font-weight: 600;
	display: inline-block;
	padding: 17px 20px;
	margin: 30px 10px 0 0;
	text-decoration: none;
	background-color: #ed1d23;
	border-radius: 3px;
}
a.btn:hover {
	color: #fff;
	background-color: #d51b20;
	text-decoration: none;
}
.red-text {
	color: #ed1d23;
}
#breadcrumbs {
	float: left;
	width: 790px;
	border-bottom: 1px solid #e5e5e5;
	color: #999;
	font-size: 14px;
	line-height: 18px;
	padding: 15px 30px;
}
div.ddsg-wrapper p {
	display: none;
}
.date {
	color: #999;
}
a.phone-link {
	text-decoration: none;
}
.heat-pump-types {
	margin: 20px 0;
}
.heat-pump-type {
	float: left;
	width: 50%;
	text-align: center;
}
.heat-pump-type h2 {
	font-size: 19px;
	line-height: 19px;
	margin-top: 20px;
}
.page-id-7 .heat-pump-type h2 {
	margin-bottom: 10px;
}
.heat-pump-type p {
	margin-top: 5px;
}
.box1 {
	border-right: 1px solid #e5e5e5;
	border-bottom: 1px solid #e5e5e5;
}
.box2 {
	border-bottom: 1px solid #e5e5e5;
}
.box3 {
	border-right: 1px solid #e5e5e5;
}
.mapp-layout {
	clear: both;
	margin: 0 0 20px 0 !important;
	border: 1px solid #e5e5e5 !important;
}
.mapp-map-links {
	display: none;
}
#location-map {
    float: right;
    margin: 15px 0 0;
    width: 417px;
}
#body ul.locations {
	margin: 10px 0 0 0;
	padding: 0;	
	list-style: none;
}
#body ul.locations li {
	margin: 0;
	padding: 0;	
}
ul.locations li a {
	color: #fff;
	display: inline-block;
	padding: 5px 10px;
	margin: 0 0 5px;
	text-decoration: none;
	background-color: #2f6fab;
	border-radius: 3px;
	width: 200px;
}
ul.locations li a:hover {
	color: #fff;
	background-color: #0a569c;
	text-decoration: none;
}
.left {
	float: left;
	margin: 0 5px 0 0;
}
.right {
	float: right;
	margin: 0 0 0 5px;
}
.clear-floats {
	clear: both;
}
.clearfix:before,
.clearfix:after {
    content:"";
    display:table;
}
.clearfix:after {
    clear:both;
}
.clearfix {
    zoom:1; /* For IE 6/7 (trigger hasLayout) */
}

/* Forms
-------------------------------------------------------------- */

#body .gform_body ul, #sect-body .gform_body ul {
    margin: 0;
    padding: 0;
}
#body .gform_body ul li, #sect-body .gform_body ul li {
    background-image: none;
    margin: 0 0 10px 0;
    padding: 0;
}
#body .gform_body ul li li, #sect-body .gform_body ul li li {
    margin: 0;
}
#body .gform_body ul li.gfield.gfield_error, #sect-body .gform_body ul li.gfield.gfield_error, #body .gform_body ul li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning, #sect-body .gform_body ul li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
    background-color: #FFDFE0;
}
.gform_wrapper .top_label .gfield_label {
    margin-bottom: 0 !important;
}
.gform_wrapper .gfield_date_day label, .gform_wrapper .gfield_date_month label, .gform_wrapper .gfield_date_year label, .gform_wrapper .gfield_time_ampm label, .gform_wrapper .gfield_time_hour label, .gform_wrapper .gfield_time_minute label, .gform_wrapper .ginput_complex label, .gform_wrapper .instruction {
    font-size: 0.75em !important;
}
.gform_wrapper .gform_footer.left_label, .gform_wrapper .gform_footer.right_label {
    margin-left: 29% !important;
}
.gform_button {
	color: #fff;
	font-size: 18px;
	line-height: 18px;
	display: inline-block;
	padding: 17px 30px;
	text-decoration: none;
	background: #2f6fab;
	border: none;
	cursor: pointer;
	border-radius: 3px;
	margin-left: 1em;
}
.gform_button:hover {
	color: #fff;
	background-color: #0a569c;
	text-decoration: none;
	cursor: pointer;
}

/* Sidebar
-------------------------------------------------------------- */

#sidebar {
	float: right;
	width: 330px;
}
#sidebar a.btn {
	width: 100%;
}
#free-consulation {
	padding: 30px;
}
#free-consulation a.btn {
	background: #369d25 url(images/tick-icon.png) no-repeat 15px 15px;
	margin: 0;
	padding-left: 55px;
}
#free-consulation a.btn:hover {
	background-color: #308d21;
}
#latest-special {
	border-top: 1px solid #e5e5e5;
	padding: 20px 0 30px 30px;
}
#latest-special h2 {
	color: #ed1e24;
	font-size: 34px;
	line-height: 40px;
	margin: 0 0 0 -15px;
	background: url(images/special-icon.gif) no-repeat 0px 0px;
	padding-left: 50px;
}
#latest-special p {
	margin: 10px 0;
}
#latest-special-text {
	margin-right: 30px;
}
#latest-special a.btn {
	margin: 15px 0 0 0;
	text-align: center;
}
#sidebar-logos {
	border-top: 1px solid #e5e5e5;
	text-align: center;
	padding: 30px 0 0 0;
}
#sidebar-logos p {
	margin: 0 0 30px 0;
}

/* Logos
-------------------------------------------------------------- */

#logo-container {
	width: 100%;
	background: #fff;
	padding: 24px 0;
}
#logos img {
	float: left;
	margin: 10px 46px 10px 0;
}
#logos img:last-child {
	margin-right: 0;
}

/* WordPress Core
-------------------------------------------------------------- */

.alignnone {
    margin: 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 12px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Responsive Images
-------------------------------------------------------------- */

.entry-content img,
.comment-content img,
#footer img,
.widget img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
img.size-full, #body img, #sidebar img {
	max-width: 100%;
	width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
	height: auto;
}

/* Footer
-------------------------------------------------------------- */

#footer-container {
	clear: both;
	width: 100%;
	background: #0a569c;
	padding: 40px 0 38px 0;
}
#footer p {
	color: #fff;
	margin: 0 0 23px 0;
	font-size: 15px;
}
#footer a {
	color: #fff;
	text-decoration: none;
}
#footer a:hover {
	color: #4d9ddf;
	text-decoration: none;
}
#copyright {
	float: left;
	width: 45%;
}
#footer p#footer-phone-number {
	font-size: 36px;
	line-height: 36px;
	font-weight: 600;
}
#footer-links {
	float: right;
	width: 45%;
	text-align: right;
}
#footer-links a {
	margin: 0 0 0 15px;
}
#footer-link {
	margin-top: 6px;
}
#footer-link a {
	color: #4d9ddf;
}
#footer-link a:hover {
	color: #fff;
}

/* Mobile Menu
-------------------------------------------------------------- */

#mobile-menu-container, #mobile-menu, #mobile-menu-btn {
	display: none;
}
#mobile-menu-btn {
	height: 50px;
	width: 100%;
	margin: 0;
}
#mobile-menu-btn #mobile-btn {
	height: 50px;
	width: 100%;
	display: block;
	color: #fff;
	font-weight: 400;
	font-size: 22px;
	line-height: 50px;
	text-decoration: none;
	text-align: center;
	background: #0a569c;
}
#mobile-menu-btn a#mobile-btn:hover {
	color: #4d9ddf;
	text-decoration: none;
}
#mobile-menu {
	clear: both;
}
#mobile-menu ul {
	border-top: 1px solid #2f6fab;
}
#mobile-menu ul, #mobile-menu ul li {
	width: 100%;
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
}
#mobile-menu ul li {
	position: relative;
}
#mobile-menu ul li a {
	width: 100%;
	display: block;
	color: #fff;
	padding: 15px;
	text-align: center;
	font-size: 18px;
	line-height: 18px;
	text-decoration: none;
	border-bottom: 1px solid #0a569c;
	background: #2f6fab;
}
#mobile-menu ul li a:hover {
	color: #fff;
	text-decoration: none;
	background: #0a569c;
}
#mobile-menu ul li ul {
	display: none;
	border-bottom: 1px solid #0a569c;
}
#mobile-menu ul li.current-menu-item ul, #mobile-menu ul li.current-menu-parent ul {
	/* display: block; */
}
#mobile-menu ul li li a {
	font-size: 14px;
	line-height: 14px;
	font-weight: normal;
	text-transform: none;
	border-bottom: 1px solid #2f6fab;
	background: #0a569c;
}
#mobile-menu ul li li a:hover {
	background: #2f6fab;
}
#mobile-menu ul li span {
	position: absolute;
	z-index: 1;
	right: 0;
	top: 0;
	width: 50px;
	height: 50px;
	display: block;
	text-align: center;
	cursor: pointer;
	background: url(images/plus-icon.png) no-repeat center center;
}
#mobile-menu ul li span.active {
	background: url(images/minus-icon.png) no-repeat center center;
}

/* Mobile
-------------------------------------------------------------- */

#view-full-site, #view-mobile-site {
	display: none;
}

@media screen and (max-width: 1120px) {
	.wrapper {
		width: 90%;
	}
	#body, #sidebar, #breadcrumbs {
		width: 100%;
	}
	#body-container {
		background: #fff;
	}
	#free-consulation {
		border-top: 1px solid #e5e5e5;
	}
	#latest-special p#latest-special-image {
		margin-right: 20px;
	}
	a.phone-link {
		color: #7f98b0;
		cursor: pointer;
	}
	#menu-container, #tagline {
		display: none
	}
	#mobile-menu-container, #mobile-menu-btn {
		display: block;
	}
	#view-full-site {
		display: inline-block;
	}
}
@media screen and (max-width: 790px) {
	.heat-pump-type {
		width: 100%;
	}
	.box1, .box2, .box3 {
		border: none;
		border-bottom: 1px solid #e5e5e5;
	}
}
@media screen and (max-width: 790px) {
	#location-map {
		float: right;
		margin: 15px 0 0;
		width: 100%;
	}
	ul.locations li a {
		width: 100%;
	}
}
@media screen and (max-width: 670px) {
	#logo {
		float: none;
		margin: 0 auto;
	}
	#search-box, #phone-number {
		display: none;
	}
	#phone-number {
		float: none;
		width: 100%;
		text-align: center;
	}
	#body-inner, #free-consulation {
		padding: 20px;
	}
	#latest-special {
		padding: 20px 0 20px 20px;
	}
	#latest-special-text {
		margin-right: 20px;
	}
	#sidebar-logos {
		padding: 20px 0 0 0;
	}
	#sidebar-logos p {
		padding: 0 0 20px 0;
	}
	.gform_wrapper textarea.medium {
		width: 100% !important;
	}
	#footer p {
		line-height: 20px;
	}
	#copyright, #footer-links {
		float: left;
		width: 100%;
		text-align: center;
	}
	#footer-links {
		margin-top: 5px;
	}
	#footer p#footer-link {
		margin-top: 20px;
	}
}
@media screen and (max-width: 500px) {
	.alignleft, .alignright {
		display: block;
		float: none;
		margin: 5px auto 20px;
	}
	.gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium {
		width: 100% !important;
	}
	.gform_wrapper .left_label div.ginput_complex, .gform_wrapper .right_label div.ginput_complex {
		clear: both;
		width: 100% !important;
	}
	.gform_wrapper .left_label input.medium, .gform_wrapper .left_label select.medium, .gform_wrapper .right_label input.medium, .gform_wrapper .right_label select.medium {
		width: 100% !important;
	}
	.gform_wrapper .left_label .gfield_label {
		width: 100% !important;
	}
	.gform_button {
		margin-left: 0;
	}
	a.btn {
		font-size: 20px;
	}
	#logos img, #logos img:last-child {
		float: none;
		display: block;
		margin: 10px auto;
	}
}
@media screen and (max-width: 450px) {
	#logo {
		width: 100%;
		max-width: 332px;
		height: auto;
	}
	#logo img {
		width: 100%;
		height: auto;
		max-width: 100%;
	}
}