/*
Theme Name: Bay and Basin Plumbing
Theme URI: http://bayandbasinplumbing.com.au
Author: Troy Moses
Author URI: http://spacemanwebdesign.com
Description: Bay and Basin Plumbing theme
Version: 1.0
License: GNU General Public License
*/

/* Reset */

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    font: inherit;
    font-size: 100%;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}
html {
    margin: 0;
    padding: 0;
    /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
    -webkit-text-size-adjust: 100%;
    /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
    -ms-text-size-adjust: 100%;
    /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
ol,
ul {
    list-style: none;
}
blockquote,
q {
    quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}
table {
    border-spacing: 0;
    border-collapse: collapse;
}
code,
kbd,
tt,
var {
    font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}
mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}
sup,
sub {
    font-size: 75%;
    height: 0;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sup {
    bottom: 1ex;
}
sub {
    top: .5ex;
}
small {
    font-size: 75%;
}
big {
    font-size: 125%;
}
figure {
    margin: 0;
}
table {
    margin: 0 0 1.5em;
    width: 100%;
}
th {
    font-weight: bold;
}

button,
input,
select,
textarea {
    font-size: 100%;
    /* Corrects font size not being inherited in all browsers */
    margin: 0;
    /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
    vertical-align: baseline;
    *vertical-align: middle;
    /* Improves appearance and consistency in all browsers */
}

button,
input {
    line-height: normal;
    /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
    *overflow: visible;
    /* Corrects inner spacing displayed oddly in IE6/7 */
}

button, .more-button a,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    padding: .618em 1em;
    font-weight: 700;
    border-radius: 3px;
    color: #fff;
    background: #2facdd;
    white-space: nowrap;
    display: inline-block;
    box-shadow: none;
    -webkit-box-shadow: none;
    text-shadow: none;
    border: 0;
    cursor: pointer;
    font-size: .90em;
    transition : all .2s ease; 
    -webkit-transition : all .2s ease;
    /* Improves usability and consistency of cursor style between image-type 'input' and others */
    -webkit-appearance: button;
    /* Corrects inability to style clickable 'input' types in iOS */
}

button:hover, .more-button a:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    background: #00a9ef;
    text-decoration: none;
}

button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
    background: #00a9ef;
    text-decoration: none;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    /* Addresses box sizing set to content-box in IE8/9 */
    padding: 0;
    /* Addresses excess padding in IE8/9 */
}

input[type="search"] {
    -webkit-appearance: textfield;
    /* Addresses appearance set to searchfield in S5, Chrome */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration {
    /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
    -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
    border: 0;
    padding: 0;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
textarea {
    color: #888888;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 3px;
    padding: 9px;
    box-shadow: none;
    font-family: 'Karla', sans-serif;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
textarea:focus {
    color: #101010;
    border: 1px solid rgba(0, 0, 0, .4);
}

textarea {
    overflow: auto;
    /* Removes default vertical scrollbar in IE6/7/8/9 */
    padding: 10px;
    vertical-align: top;
    /* Improves readability and alignment in all browsers */
    width: 98%;
}
/* styles
-------------------------------------------------------------- */
body {
    font-family: 'Raleway', sans-serif;
    padding: 0;
    margin: 0;
    background: #44bbe9;
    /*background: url(images/body-bg-color.jpg) #fff;*/
}

button,
input,
select {
   
}
/* typography
-------------------------------------------------------------- */
/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    font-weight: 400;
}
h1 {
    font-size: 1.6em;
    line-height: .7;
    margin: 0 0 10px 0;
    padding: 0;
}
h2 {
    font-size: 1.4em;
    margin: 0 0 10px 0;
}
h3 {
    font-size: 1.2em;
    margin: 0 0 10px 0;
}
h4 {
    font-size: 1.1em;
    margin: 0 0 10px 0;
}

h5, h6 {

}
hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}
/* Text elements */
p {
    margin-bottom: 1.5em;
}
ul,
ol {
    margin: 0 0 1.5em 3em;
}
ul {
    list-style: square;
}
ol {
    list-style: decimal;
}
ul ul,
ol ol,
ul ol,
ol ul {
    margin-bottom: 0;
    margin-left: 1.5em;
}
dt {
    font-weight: bold;
}
dd {
    margin: 0 1.5em 1.5em;
}
b,
strong {
    font-weight: bold;
}
dfn,
cite,
em,
i {
    font-style: italic;
}
blockquote {
    margin: 0 1.5em;
}
address {
    margin: 0 0 1.5em;
}
pre {
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 0.7em;
    line-height: 1.5em;
    margin-bottom: 1.6em;
    padding: 1.6em;
    overflow: auto;
    max-width: 100%;
    box-shadow: 0 3px 5px #ddd inset;
}
/* Links */
a {
    transition : all .2s ease; 
    -webkit-transition : all .2s ease;
    text-decoration: none;
    color: #229ac9;
    outline: 0;
}
a:hover,
a:focus,
a:active {
    text-decoration: underline;
}

a img:hover {
    outline: 0;
}
/* Alignment */
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}
.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}
.aligncenter {
    clear: both;
    display: block;
    margin: 0 auto;
}
.center {
    text-align: center;
}

/* Sticky footer
-------------------------------------------------------------- */
* {
  margin: 0;
}

html, body {
  height: 100%;
}

#page-wrap {
    min-height: 100%;
    /*equal to footer height */
    margin-bottom: -40px; 
    /*background: linear-gradient(to bottom, rgba(0, 127, 237, .4), rgba(0, 127, 237, .7));*/
}

#page-wrap:after {
    height: 40px;
    content: "";
    display: block;
}

.site-footer, .page-wrap:after {
    height: 40px;
}

/* Header
-------------------------------------------------------------- */
.site-header {
    width: 100%;
    padding: 15px 0 0 0;
    margin: 0 auto 0 auto;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 0px 2px #999;
}

.fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    padding: 7px 0 0 0;
}

#header-wrap {
    max-width: 1170px;
    margin: 0 auto 0 auto;
}

.logo-wrap {
    float: left;
}

.logo-wrap {
    overflow: hidden;
}

.logo-wrap a {
    display: block;
    margin: 0;
    padding: 0;
}

.logo {
    overflow: hidden;
}

.logo span {
    float: left;
    margin: 43px 0 0 7px;
    display: block;
    font-size: .80em;
    font-weight: 900;
}

.logo-wrap img {
    width: 130px;
    float: left;
    height: auto;
    margin: 0;
    padding: 0;
    display: block;
}

.site-title {
    margin: 5px 0 5px 13px;
    color: #eb2040;
    font-size: 1em;
    font-weight: 900;
    text-transform: uppercase;
}

.site-description {
    display: none;
}

.fixed .logo-wrap img {
    width: 110px;
}

.fixed .logo span {
    margin: 34px 0 0 7px;
}

.fixed .site-title {
    margin: 5px 0 5px 11px;
    font-size: .90em;
}

/*header transitions*/
.logo-wrap img, .site-header, 
.site-title, .phone-wrap,
.logo span {
    transition : all .4s ease; 
    -webkit-transition : all .4s ease;
}

/* Page
-------------------------------------------------------------- */
#main {
}

#content {
    max-width: 1170px;
    padding: 60px;
    margin: 120px auto 120px auto;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0px 2px #999;
}

/* Main nav
-------------------------------------------------------------- */
.main-nav-wrap {
    float: right;
    margin: 0;
}

.main-nav-wrap ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: .90em;
    text-transform: uppercase;
}

.main-nav-wrap ul li {
    display: inline;
    margin: 0 0 0 25px;
}

.main-nav-wrap ul li a {
    padding: 0 0 9px 0;
    color: #333;
    font-weight: 300; 
    transition : all .2s ease; 
    -webkit-transition : all .2s ease; 
    position: relative;
    text-decoration: none;
}

.main-nav-wrap ul li a:after {
    width: 0;
    height: 7px;
    content: '';
    background: #00a9ef;
    position: absolute;
    bottom: 0;
    left: 0;
    transition : all .2s ease; 
    -webkit-transition : all .2s ease; 
}

.main-nav-wrap ul li a:hover:after,
.main-nav-wrap ul li a:focus:after,
.main-nav-wrap ul li.current-menu-item a:after {
    width: 100%;
}

.fixed .main-nav-wrap ul li a:hover:after,
.fixed .main-nav-wrap ul li a:focus:after,
.fixed .main-nav-wrap ul li.current-menu-item a:after {
   
}

.main-nav-wrap ul li a:hover,
.main-nav-wrap ul li a:focus,
.main-nav-wrap ul li.current-menu-item a {
    color: #eb2040;
}

.nav-icons {
    overflow: hidden;
}

.nav-toggle {
    width: 32px;
    height: 30px;
    float: right;
    margin: 2px 0 0 0;
    color: #333;
    text-align: center;
    line-height: 1;
    font-size: 0;
    text-indent: -9999px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none;
    border-radius: none;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    position: relative;
    overflow: hidden;
    display: none;
    z-index: 1;
}

/*nav toggle hamburger icon to htx */
.nav-toggle span {
    display: block;
    position: absolute;
    top: 10px;
    left: 0px;
    right: 0px;
    height: 5px;
    background: #44bbe9;
}

.nav-toggle span::before,
.nav-toggle span::after {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 5px;
    background: #44bbe9;
    content: '';
}

.nav-toggle span::before {
    top: -9px;
}

.nav-toggle span::after {
    bottom: -9px;
}

.nav-toggle span {
    -webkit-transition: all 0s 0.2s;
    transition: all 0s 0.2s;
}

.nav-toggle span::before,
.nav-toggle span::after {
    -webkit-transition-duration: 0.2s, 0.2s;
    transition-duration: 0.2s, 0.2s;
    -webkit-transition-delay: 0.2s, 0s;
    transition-delay: 0.2s, 0s;
}

.nav-toggle span::before {
    -webkit-transition-property: top, -webkit-transform;
    transition-property: top, transform;
}

.nav-toggle span::after {
    -webkit-transition-property: bottom, -webkit-transform;
    transition-property: bottom, transform;
}

.nav-open .nav-toggle span {
    background: none;
    left: 5px;
    right: 5px;
}

.nav-open .nav-toggle span::before {
    top: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.nav-open .nav-toggle span::after {
    bottom: 0;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.nav-open .nav-toggle span::before,
.nav-open .nav-toggle span::after {
    -webkit-transition-delay: 0s, 0.2s;
    transition-delay: 0s, 0.2s;
}

/*phone number*/
.phone-wrap {
    margin: 4px 0 20px 0;
    text-align: right;
}

.fixed .phone-wrap {
    margin: 4px 0 10px 0;
}

.phone-icon {
    width: 28px;
    display: inline-block;
}

.phone-icon img {
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.phone {
    color: #eb2040;
    font-size: 1.3em;
    font-weight: 900;
    display: inline-block;
}

.phone a {
    color: #eb2040;
    text-decoration: none;
}

/* Content
-------------------------------------------------------------- */
.page-title, .page-content h2 {
    margin: 0 0 35px 0;
    padding: 0 0 20px 0;
    color: #eb2040;
    font-size: 1.4em;
    font-weight: 900;
    border-bottom: 1px solid #44bbe9;
    text-transform: uppercase;
    line-height: 1.5;
}

.page-content h1  {
    font-size: 28px;
}
.page-content h3 {
    font-size: 24px;
}
.page-content h4 {
    font-size: 22px;
}
.page-content h5 {
    font-size: 18px;
    margin: 0 0 15px 0;
}

.page-content p, .page-content ul {
    font-size: .90em;
}

.page-content ul {
    margin: 0 0 25px 20px;
    padding: 0;
    list-style: none;
}

.page-content ul li {
    margin: 0 0 5px 0;
}

.page-content ul li:before {
    content: "";
    background: #44bbe9;
    margin: 0 10px 0 0;
    height: 10px;
    width: 10px;
    display: inline-block;
}

.page-content img {
    width: 100%;
    padding: 20px 0 0 0 !important;
    height: auto;
    display: block;
}

.404 {
    color: #262626;
    font-size: 1em;
    font-weight: 400;
}

/* Contact form
-------------------------------------------------------------- */
.contact {
    overflow: hidden;
}

.contact strong {
    color: #eb2040;
    font-size: 1.5em;
}

.contact-content {
    width: 48%;
}

.contact-wrap {
    width: 48%;
}

.contact-form {
    margin: 25px 0 0 0;
    overflow: hidden;
}

.contact-form label, 
.contact-form input,
.contact-form textarea {
    width: 100%;
    display: block;
}

.contact-form label {
    color: #333;
    font-size: .90em;
}

.contact-form input,
.contact-form textarea {
    margin: 0 0 20px 0;
}

.contact-form #send {
    float: right;
    margin: 10px 0 0 0;
}

.c-processing, .c-message {
    color: #333;
    font-weight: 900;
    font-size: 1.1em;
}

.contact-form .empty {
    border-color: #eb2040;
}

/* Footer
-------------------------------------------------------------- */
.site-footer {
    padding: 5px 0 5px 0;
    background: #fff;
    font-size: .70em;
    font-weight: 300;
    text-transform: uppercase;
    overflow: hidden;
    box-shadow: 0 0px 2px #999;
}

.site-info {
    max-width: 1170px;
    margin: 0 auto 0 auto;
}

.site-footer ul {
    padding: 0;
    text-align: center;
    color: #eb2040;
}

.site-footer ul li {
    margin: 0 0 0 5px;
    list-style: none;
    display: inline-block;
}

.site-footer .copyright {
    float: left;
    margin: 10px 0 0 0;
}

.site-footer .social {
    float: right;
    margin: 0;
}

.social li {
    width: 30px;
    height: 30px;
    overflow: hidden;
}

.social li a {
    padding: 5px;
    background: #ccc;
    display: block;
    opacity: .8;
    transition : all .2s ease; 
    -webkit-transition : all .2s ease; 
}

.social li a img {
    width: 100%;
    height: auto;
}

.social li a:hover {
    opacity: 1;
}

/* Misc
-------------------------------------------------------------- */

.error h2 {
    font-size: 1.6em;
    font-weight: 700;
    margin: 35px 0 35px 0;
}

.hide-text {
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
}

/* #Media Queries
================================================== */
/*content max-width*/
@media only screen and (max-width: 1170px) {
    .site-header {
        padding: 15px 40px 0 40px;
    }

    #main {
        padding: 0 40px 0 40px;
    }

    .site-footer {
        padding: 5px 40px 5px 40px;
    }
}


/*ipad landscape */
@media only screen and (max-width: 1024px) {
    .site-header {
        padding: 10px 40px 0 40px;
    }

    .site-title {
        margin: 2px 0 5px 10px;
        font-size: .80em;
    }

    .logo-wrap img {
        width: 110px;
    }

    .logo span {
        margin: 35px 0 0 10px;
    }

    .phone-wrap {
        margin: 4px 10px 20px 0;
    }

    /*mobile menu*/
    .nav-toggle {
        display: block;
    }

    .main-nav-wrap {
        width: 50%;
        margin: 12px 0 0 0;
    }

    .main-nav-wrap ul li a:after {
        display: none;
    }

    .phone-wrap {
        float: right;
        margin: 3px 15px 0 0;
    }

    .phone {
        font-size: 1.1em;
    }

    .main-nav-wrap ul {
        margin: 25px 0 20px 0;
        background: #fff;
        text-align: right;
        display: none;
    }

    .main-nav-wrap .nav-open ul {
        display: block;
        z-index: 1;
    }

    .main-nav-wrap ul li {
        float: none;
        margin: 10px 0 0 0;
        padding: 0 0 15px 0;
        display: block;
    }

    .main-nav-wrap ul li a:hover,
    .main-nav-wrap ul li.current-menu-item a {
        color: #eb2040;
    }

    #content {
        margin: 50px 0 50px 0;
        padding: 40px;
    }

    .page-title, .page-content h2 {
        padding: 0 0 10px 0;
        font-size: 1.2em;
    }

    .page-content h1 {
        font-size: 20px;
    }
    .page-content h3 {
        font-size: 18px;
    }
    .page-content h4 {
        font-size: 16px;
    }
    .page-content h5 {
        font-size: 14px;
    }
}

/*tablet portrait */
@media only screen and (max-width: 768px) {
    .site-footer {
        text-align: center;
    }

    .contact-content, .contact-wrap {
        width: 100%;
        float: none;
    }

    .site-footer .copyright {
        float: none;
        margin: 5px 0 10px 0;
    }

    .page-content h1, .page-content h2 {
        font-size: 18px;
    }
    .page-content h3 {
        font-size: 16px;
    }
    .page-content h4 {
        font-size: 14px;
    }
    .page-content h5 {
        font-size: 12px;
    }
}

/*smaller than iPad portrait*/
@media only screen and (max-width: 767px) {
    .site-header {
        padding: 5px 20px 0 20px;
    }

    .logo-wrap img {
        width: 90px;
    }

    .logo span {
        margin: 25px 0 0 10px;
    }

    .site-title {
        margin: 4px 0 5px 8px;
        font-size: .75em;
    }

    .main-nav-wrap {
        margin: 10px 0 0 0;
    }

    #main {
        padding: 0 20px 0 20px;
    }

    #content {
        padding: 20px;
    }

    .site-footer {
        padding: 10px 20px 5px 20px;
    }
}

/*mobile*/
@media only screen and (max-width: 480px) { 

    .logo span {
        font-size: .70em;
        margin: 25px 0 0 5px;
    }

    .site-title {
        font-size: .65em;
    }

    .phone-icon {
        width: 24px;
    }

    .phone {
        font-size: .85em;
    }

    .page-title, .page-content h2 {
        margin: 0 0 15px 0;
        font-size: 1em;
    }
}

/*small mobile*/
@media only screen and (max-width: 380px) {
    .site-header {
        padding: 5px 20px 3px 20px;
    }

    .logo span {
        margin: 27px 0 0 5px;
    }

    .site-title {
        margin: 6px 0 0 8px;
    }

    .main-nav-wrap {
        width: auto;
    }

    .phone-wrap {
        margin: 0;
        position: absolute;
        top: 5px;
        right: 20px;
    } 

    .nav-toggle {
        margin: 15px 0 0 0;
    }

    .nav-toggle img {
        float: none;
        text-align: right;
    }

    .site-footer {
        padding: 10px 10px 0 10px;
    }
}