
/* Defaults */
body {
    background: white;
    font: 400 16px 'Source Sans Pro', Arial, Helvetica, sans-serif;
    color: #333;
}

a {
    color: #2c5e99;
    text-decoration: none;
    outline: none;
}

p {
    font: 400 16px 'Source Sans Pro', Arial, Helvetica, sans-serif;
}

a:hover {
    text-decoration: underline;
}

hr {
    border-top: 1px solid #999;
    border-right: 0px;
    border-bottom: 0px;
    border-left: 0px;
    margin: 25px 0px;
}


/* Style for a generic button */

.generic-button {
    display: inline-block;
    font: 600 17px 'Source Sans Pro', 'Arial', Helvetica, sans-serif;
    padding: 10px 15px;
    margin: 10px 0px;
    background: #666;
    color: white;
    border: none;
    border-radius: 0;
    transition: 0.2s opacity ease;
    -moz-transition: 0.2s opacity ease;
    -webkit-transition: 0.2s opacity ease;
}

.generic-button:hover,
.generic-button:focus {
    background: #666;
    text-decoration: none;
    opacity: 0.7;
}

/* Homepage Action Buttons */

a#residential,
a#heatpumps {
    margin-right: 25px;
}

a#residential,
a#commercial,
a#heatpumps,
a#airconditioning {
    border: 1px solid #BBB;
    background: white;
    display: block;
    width: 500px;
    width: 48.7%;
    float: left;
    padding: 20px 0px;
    transition: 0.2s background ease, 0.2s border ease;
    -moz-transition: 0.2s background ease. 0.2s border ease;
    -webkit-transition: 0.2s background ease. 0.2s border ease;
    text-align: center;
}

a#residential:hover,
a#heatpumps:hover {
    background: #ec1a23;
    box-shadow: 0px 0px 5px #888;
    border: 1px solid #ec1a23;
    text-decoration: none;
}

a#commercial:hover,
a#airconditioning:hover {
    background: #2c5e99;
    box-shadow: 0px 0px 5px #888;
    border: 1px solide #2c5e99;
    text-decoration: none;
}

a#residential img,
a#commercial img {
    transition: 0.2s -moz-transform ease;
    -moz-transition: 0.2s -moz-transform ease;
    -webkit-transition: 0.2s -webkit-transform ease;
}

a#residential:hover img,
a#commercial:hover img {
    tranform: translate(0px,15px);
    -moz-transform: translate(0px,15px);
    -webkit-transform: translate(0px,15px);
}

a#residential h1,
a#heatpumps h1 {
    color: #ec1a23;
    margin: 10px 0px 5px 0px;
    transition: 0.2s color ease;
    -moz-transition: 0.2s color ease,  0.2s -moz-transform ease;
    -webkit-transition: 0.2s color ease,  0.2s -webkit-transform ease;
}

a#commercial h1,
a#airconditioning h1 {
    color: #2c5e99;
    margin: 10px 0px 5px 0px;
    transition: 0.2s color ease;
    -moz-transition: 0.2s color ease,  0.2s -moz-transform ease;
    -webkit-transition: 0.2s color ease,  0.2s -webkit-transform ease;
}

a#residential:hover h1,
a#commercial:hover h1,
a#heatpumps:hover h1,
a#airconditioning:hover h1 {
    color: white;
}

a#residential p,
a#commercial p,
a#heatpumps p,
a#airconditioning p {
    color: #333;
    margin: 5px 0px;
    transition: 0.2s color ease;
    -moz-transition: 0.2s color ease;
    -webkit-transition: 0.2s color ease;
}

a#residential:hover p,
a#commercial:hover p,
a#heatpumps:hover p,
a#airconditioning:hover p {
    color: white;
}

a#heatpumps,
a#airconditioning {
    height: 80px;
    transition: 0.6s height ease;
    -moz-transition: 0.6s height ease;
    -webkit-transition: 0.6s height ease;
}

a#heatpumps:hover,
a#airconditioning:hover {
    height: 140px;
}

a#heatpumps h2,
a#airconditioning h2 {
    opacity: 0;
    text-transform: uppercase;
    font-weight: bold;
    color: white;
    font-size: 28px;
    text-shadow: 0px 0px 5px #000;
    -moz-text-shadow: 0px 0px 5px #000;
    -webkit-text-shadow: 0px 0px 5px #000;
    transition: 0.4s opacity ease;
    -moz-transition: 0.4s opacity ease;
    -webkit-transition: 0.4s opacity ease;
}

a#heatpumps:hover h2,
a#airconditioning:hover h2 {
    opacity: 1;
    display: block;
}


/* Headings */
h1 {
    font: 600 30px 'Source Sans Pro', 'Arial', Helvetica, sans-serif;
    color: #2c5e99;
    margin: 10px 0px;
}

h2 {
    font: 400 18px 'Source Sans Pro', 'Arial', Helvetica, sans-serif;
}

h3 {
    font: 600 18px 'Source Sans Pro', 'Arial', Helvetica, sans-serif;
}

h1 img.heading-icon {
    margin-left: 10px;
    height: 25px;
}


/* Structure */

div#wrap {
    width: auto;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0px 10px;
}


/* Clearfix */

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.clearfix {
    display: inline-block;
}
.clearfix {
    display: block;
    zoom: 1;
}


/* Header */
header#header {
    margin: 0px;
    background: white;
    box-shadow: 0px 0px 5px #333;
    -moz-box-shadow: 0px 0px 5px #333;
    -webkit-box-shadow: 0px 0px 5px #333;
    position: relative;
    z-index: 10;
    background-image: linear-gradient(bottom, #efefef 3%, #d5d5d5 52%);
    background-image: -moz-linear-gradient(bottom, #efefef 3%, #d5d5d5 52%);
    background-image: -webkit-linear-gradient(bottom, #efefef 3%, #d5d5d5 52%);
    background-image: -ms-linear-gradient(bottom, #efefef 3%, #d5d5d5 52%);
}

header#header hgroup {
    max-width: 1140px;
    padding: 1.5% 2% 0.5% 2%;
    margin: 0px auto;
    background: none;
}

/* Styles for header headings */

header#header h3.special-offer {
    margin-bottom: 20px;
}

header#header h3.special-offer a {
    color: #EC1A23;
}

header#header h3.special-offer a img {
    position: relative;
    top: 5px;
}

header#header h3.special-offer a:hover {
    text-decoration: none;
    opacity: 0.6;
}

header#header hgroup h1 {
    margin-bottom: 5px;
    margin-top: 15px;
    width: 400px;
}

header#header hgroup h2 {
    margin-top: 5px;
    color: #2c5e99;
}

header#header hgroup h3#contact {
    float: right;
    text-align: right;
    margin-top: 20px;
    line-height: 160%;
    color: #2c5e99;
    position: relative;
    bottom: 65px;
}

header#header hgroup h3#contact a {
    color: #2c5e99;
}

header#header hgroup h3#contact a.generic-button {
    color: white;
}

#special-bar {
    background: #e82023;
    font: normal 30px 'Arial Black', sans-serif;
    color: white;
    text-align: right;
    padding: 7px 10px;
}

#special-bar a {
    display: block;
    float: right;
    background: white;
    padding: 0px 17px;
    border-radius: 7px;
    margin-left: 15px;
}
/* Main navigation */

nav {
    padding: 1% 2% 0 2%;
    background: #2c5e99;
    position: relative;
    z-index: 5;
}

ul#main-nav {
    padding-left: 0px;
    margin-bottom: 0px;
    margin-top: 0px;
    height: 55px;
}

ul#main-nav li {
    list-style: none;
    float: left;
    margin: 10px 1.2% 0px 1.2%;
}

ul#main-nav li:first-child {
    margin-left: 0px;
    margin-top: 8px;
}

ul#main-nav a {
    text-decoration: none;
    padding: 5px 10px 17px 10px;
    display: block;
    color: white;
    font: 600 18px 'Source Sans Pro', 'Arial', Helvetica, sans-serif;
}

ul#main-nav a:hover,
ul#main-nav a.selected {
    color: white;
    background: url("images/nav-arrow.de2b08466c7b.png") no-repeat bottom center;
}


/* Content */

section#content {
    float: left;
    width: 100%;
    background: #fff;
    padding: 2% 0;
}

div#slideshow {
    height: 450px;
}

div#slideshow div {
    height: 450px;
    position: relative;
}

div#slideshow p.caption {
    background: rgba(255,255,255,0.7);
    font-size: 18px;
    position: absolute;
    top: 103%;
    left: 52%;
    width: 45%;
    line-height: 170%;
    padding: 2%;
    font-style: italic;
    margin: 0;
}

div#slideshow p.caption img {
    margin: 0px 5px;
}

p.intro {
    font-size: 20px;
    margin: 30px 0px;
    width: 45%;
}

div.twocol {
    float: left;
    width: 48%;
    margin-bottom: 20px;
    padding-right: 20px;
}

div.twocol img,
div.onecol img {
    float: left;
    margin-right: 15px;
    box-shadow: 0px 0px 5px #888;
    -moz-box-shadow: 0px 0px 5px #888;
    -webkit-box-shadow: 0px 0px 5px #888;
}

div.twocol h3,
div.onecol h3 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #2c5e99;
}

div.onecol h4,
div.twocol h4 {
    margin: 0;
}

div.twocol p {
    font-size: 13px;
}

div.twocol.product {
    height: 180px;
    margin-bottom: 30px;
}

div.twocol.product p,
div.twocol.product h3,
div.twocol.product h4 {
    margin-left: 220px;
}

div.twocol.product img {
    box-shadow: 0px 0px 0px;
    -moz-box-shadow: 0px 0px 0px;
    -webkit-box-shadow: 0px 0px 0px;
    margin-bottom: 50px;
}

div.twocol.product a {
    font-weight: bold;
    font-size: 14px;
}

/* Portable aircon styles */

div.onecol.product img {
    box-shadow: 0px 0px 0px;
    -moz-box-shadow: 0px 0px 0px;
    -webkit-box-shadow: 0px 0px 0px;
    margin-bottom: 0px;
}

div.onecol.product table {
    margin-top: 10px;
    font-size: 13px;
    float: left;
    margin-right: 20px;
}

div.onecol.product table tr:nth-of-type(odd) {
    background: #EEE;
}

div.onecol.product table tr:first-of-type td {
    font-weight: bold;
}

div.onecol.product table td {
    width: 120px;
    padding: 5px;
}

div.onecol.product p {
    float: left;
    width: 420px;
    margin-top: 5px;
    font-size: 13px;
}

p#contact-info {
    float: left;
    width: 540px;
}

h2#action {
    font-size: 20px;
    width: 400px;
    margin: 30px 0px 0px 0px;
    padding: 10px 0px;
    color: #333;
}

h2#action strong {
    color: #2c5e99;
}

/* Sidebar */

aside#sidebar {
    float: left;
    width: 23.9%;
    margin-left: 1.1%;
    background: #fff;
}

aside#sidebar section {
    padding: 5%;
}


/* Footer */
footer {
    margin: 10px 0px;
    padding: 30px 40px;
    clear: both;
    background: #ececec;
}

footer a {
    display: block;
    float: left;
    margin-right: 11.5%;
    transition: 0.2s opacity ease;
    -moz-transition: 0.2s opacity ease;
    -webkit-transition: 0.2s opacity ease;
}

footer a:last-of-type {
    margin-right: 0;
}

footer a:hover {
    opacity: 0.6;
}
