/*
Theme Name: Absolute
Theme URI: http://www.absoluteglasswellington.co.nz
Author: NPL
Author URI: http://www.ianpeaowl.com
Version: 1.0
Text Domain: absolute
*/

html, body {
    background-color: #f8f8f8;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}

a {
    color: #0092ca;
}

a:hover {
    color: #00a4e4;
}


/* ==========================================================================
   Header
   ========================================================================== */

.header-container {
    background: url('img/logo-absolute-glass-368x135.png') center 15px no-repeat;
    background-size: contain;
    padding-top: 5px;
}

.header-container h2 {
    text-align: center;
}

header h1 {
    margin-bottom: 5px;
}

header ul {
    background-color: #0092ca;
    box-sizing: border-box;
    list-style-type: none;
    margin: 20px 0 0 11.5%;
    padding: 0;
    text-align: center;
    width: 88.5%;
}

header ul li {
    list-style-type: none;
    display: inline-block;
    position: relative;
}

header ul li a {
    color: white;
    display: block;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .1em;
    padding: 10px 20px;
    text-decoration: none;
    text-transform: uppercase;
}

header ul li a:hover {
    background-color: #00a4e4;
}

header ul li.current-menu-parent > a,
header ul li.current-menu-parent > a:hover,
header ul li.current-menu-item > a,
header ul li.current-menu-item > a:hover {
    background-color: #015474;
}

/*
    2nd level menu items
*/

header ul ul {
    border-top: 2px solid #004864;
    display: none;
    text-align: left;
    z-index: 99;
}

header ul ul li {
    display: block;
}

header ul ul li a {
    background-color: #00adf1;
    background-color: #c8c8c8;
}

header ul ul li a:hover {
    background-color: #00b6fe;
    background-color: #b8b8b8;
}


/* ==========================================================================
   Pre-Footer
   ========================================================================== */

.pre-footer {
/*     background-color: #d0f2ff; */
    background-color: #cbe8fd;
    margin: 0;
    padding: 1em 0 2em 0;
}

.pre-footer .row {
    clear: both;
}

.pre-footer .column {
    box-sizing: border-box;
/*     float: left; */
}

.pre-footer .half {
/*     width: 48.5%; */
}

.pre-footer .first {
/*     margin: 0 1.5% 0 0; */
}

.pre-footer .last {
/*     margin: 0 0 0 1.5%; */
}

.pre-footer h3 {
    border-bottom: 1px solid #b8b8b8;
    padding-bottom: .75em;
}

.widget_facebook .textwidget {
    width: 100%;
}

.highlight {
    background-color: #f0f000;
    display: inline-block;
    font-weight: 500;
    padding: 2px 8px;
}


/* ==========================================================================
   Footer
   ========================================================================== */

.footer-container {
    background-color: #015474;
    color: #0284b6;
    font-size: 13px;
    padding: 2.75em 0 1.75em 0;
}

.footer-container h4 {
    font-weight: normal;
    margin: 0;
    text-transform: uppercase;
}

.footer-container ul {
    padding: 0 0 0 12px;
}

.footer-container ul li {
    list-style-type: square;
}

.footer-container a {
    color: #0284b6;
    text-decoration: none;
}

.footer-container a:hover {
    color: white;
}

.footer-container h4 {
    font-size: 16px;
    margin-bottom: .5em;
}

.footer-container ul {
    margin-top: 0;
}

a.facebook {
    display: inline-block;
}

a.facebook img {
    height: 32px;
    padding-bottom: 6px;
    width: 32px;
}

a.icon {
    background-repeat: no-repeat;
    background-position: 0 5px;
    display: block;
    padding-left: 28px;
}

a.phone {
    background-image: url(img/icon-phone.png);
}

a.email {
    background-image: url(img/icon-email.png);
}

a.address {
    background-image: url(img/icon-address.png);
}

.copyright {
    clear: both;
    font-size: 85%;
    padding: 15px 0 0 0;
    text-align: center;
}

.skip-link {
    display: none;
}

.container {
    margin: 0;
    width: 100%;
}

.content {
    background-color: #fff;
}

.site-title a {
    display: block;
    height: 90px;
    text-indent: -9999px;
    width: 400px;
}

.home-slider {
    border-bottom: 2px solid #004864;
    max-height: 420px;
    overflow: hidden;
}

.home-slider img {
    width: 100%;
}

.page .hero-image {
    max-height: 180px;
    overflow: hidden;
}

.page .hero-image img {
    width: 100%;
}

.page h1 {
    border-bottom: 1px solid #e8e8e8;
    color: #015474;
    margin-bottom: 25px;
    padding-bottom: 20px;
    text-transform: uppercase;
}

.bordered {
    background-color: #fcfcfc;
    border: 1px solid #e8e8e8;
    padding: 10px;
}

//main aside {
    //background-color: #ffffff;
   //font-size: 93%;
   // padding: 1em;
//}

h1.page-title.screen-reader-text {
    padding-left: 380px;
	color: #015474;
}
style.css:42
header h1 {
    margin-bottom: 5px;
    padding-left: 372px;
}

form {
}

form label {
    display: block;
}

form input[type=submit] {
    background-color: #004864;
    border: none;
    color: white;
    font-weight: normal;
    margin-top: 1.5em;
    padding: 5px 20px;
}

form input[type=submit]:hover {
    background-color: #999;
}

.main > aside form input,
.main > aside form textarea {
    width: 100%;
}

.main > aside form input[type=checkbox] {
    width: auto;
}

.btn-contact {
    margin-top: 2em;
    text-align: center;
}

a.button {
/*     background-color: #0092ca; */
    display: inline-block;
/*
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    color: white;
*/
    font-weight: 500;
    padding: 10px 25px;
    text-decoration: none;
/*     text-shadow: 1px 1px 0px #015474; */

	background-color: #82BF56;
	border-bottom: 5px solid #669644;
	border-radius: 10px;
	color: #fff;
	text-shadow: -1px 1px 0px #669644;
	text-shadow: -1px 1px 0px #669644;

}

a.button:hover {
    background-color: #6fad42; /*#ccc;*/
/*
    color: #777;
    text-shadow: 1px 1px 0px white;
*/
}

a.button.large {
    font-size: 24px;
    padding: 20px 35px;
    text-transform: uppercase;
}

.home .features h2 {
    clear: both;
    margin: 0;
    padding: .875em 0;
}



/* ==========================================================================
   Contact Us
   ========================================================================== */

#map-wrapper {
    height: 0;
    padding-bottom: 56.25%;
    padding-top: 25px;
    position: relative;
}

#map-canvas {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.page-id-8 .main article strong {
    clear: both;
    display: inline-block;
    margin-right: 2em;
    width: 8em;
}

@media screen and (min-width: 768px) {

    .header-container {
        background-position: 10px 25px;
        background-size: auto;
        border-bottom: 2px solid #004864;
        box-shadow: none;
        position: relative;
    }

    .header-container h2 {
        color: #888;
        font-size: 40px;
        font-weight: 600;
        letter-spacing: -1px;
        margin: 0;
        position: absolute;
        top: 50px;
        right: 25px;
    }
    
    header ul ul {
        display: none;
        margin-top: 0;
        position: absolute;
        left: -20px;
        width: 220px;
    }

    header nav ul li ul li a {
        line-height: 1.5em;
        text-align: left;
    }

    header ul li:hover ul {
        display: block;
    }

    .site-description {
        color: #a8a8a8;
        font-size: 17px;
        letter-spacing: .05em;
        margin: 0;
        padding: 0;
        position: absolute;
        top: 82px;
        left: 155px;
    }

    .home .feature {
        box-sizing: border-box;
        float: left;
        margin: 0 1%;
        text-align: center;
        width: 32%;
    }

    .home .features .feature:nth-child(3n+1) {
        clear: both;
        margin-left: 0;
    }

    .home .features .feature:nth-child(3n+3) {
        margin-right: 0;
    }

    .home .feature h3 {
        font-weight: 300;
        letter-spacing: .05em;
        text-align: center;
        text-transform: uppercase;
    }

    .home .feature img {
        border: 1px solid #e8e8e8;
        box-sizing: border-box;
        margin-bottom: 15px;
        padding: 10px;
        width: 70%;
    }

    .feature .read-more {
        text-align: right;
    }

    .pre-footer .column {
        float: left;
    }

    .pre-footer .half {
        width: 48.5%;
    }
    
    .pre-footer .first {
        margin: 0 1.5% 0 0;
    }
    
    .pre-footer .last {
        margin: 0 0 0 1.5%;
    }

    .footer-container .widget {
        float: left;
        width: 25%;
    }
}

@media screen and (min-width: 1024px) {

    .container {

        margin: 0 auto;
        max-width: 1280px;
    }
}
