/**
 * Stylesheet
 * 
 * @author      Lex van der Woude <lex@bizhub.co.nz>
 * @copyright   Copyright (c) 2006-2013 BizHub Ltd.
 * @link        http://bizhub.co.nz
 */

/* ==========================================================================
   Resets
   ========================================================================== */

body, html {
    min-width: 960px;
    width: 100%;
    height: 100%;
}
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6,
pre, form, fieldset, input, textarea, p, blockquote, th, td {
    padding: 0;
    margin: 0;
}
fieldset, img {
    border: 0;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
caption, th {
    text-align: left;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    font-size: 100%;
}


/* ==========================================================================
   Styling
   ========================================================================== */

body {
    background: url(images/backgrounds/fade.png) left top repeat-x;
    background-attachment: fixed;
    
    color: #808080;
    font-family: Arial, Verdana, Helvetica;
    font-size: 12px;
}
body > .page-wrapper {
    background: url(images/backgrounds/main.png) center top no-repeat;
    background-attachment: fixed;
}

p {
    line-height: 18px;
    padding-bottom: 10px;
}
p span.small {
    font-size: 9px;
    font-weight: bold;
}

/* Links */
a {
    color: #009583;
    text-decoration: underline;
}
a:hover {
    text-decoration: none;
}

a.line-on-hover {
    text-decoration: none;
}
a.line-on-hover:hover {
    text-decoration: underline;
}


/* Headers */
h1 {
    line-height: 28px;
    color: #232C64;
    font-size: 24px;
    font-weight: bold;
}
h2 {
    color: #009583;
}
h3 {
    color: #A61C20;
}
h2, h3 {
    line-height: 24px;
    font-size: 16px;
    font-weight: bold;
}
h4 {}
h5 {}

/* Custom */
.phone {
    color: #232C64;
    font-size: 30px;
    font-weight: bolder;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

.full-width {
    width: 920px;
    margin-left: -20px;
    padding-left: 20px;
    padding-right: 20px;
}
.no-link {
    cursor: default;
}

.left {
    float: left;
}
.right {
    float: right;
}
.clear {
    clear: both;
}
.relative {
    position: relative;
}
.show {
    display: block;
}
.hide {
    display: none;
}
.center {
    text-align: center;
}

/*
 * Printing styles
 */
@media print {
    .noprint { display: none; }
}

/*
 * Clear fix
 */
.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
.clearfix {
    display: inline-block;
}
html[xmlns] .clearfix {
    display: block;
}
* html .clearfix {
    height: 1%;
}


/* ==========================================================================
   Containers
   ========================================================================== */

.container {
    width: 920px;
    height: inherit;
    min-height: inherit;
    padding: 0 20px;
    margin: 0 auto;
}


/* ==========================================================================
   Top block
   ========================================================================== */

#top {
    height: 99px;
    border-bottom: #CBCDCE solid 1px;
}
#top img.logo {
    float: left;
    margin-top: 26px;
    margin-left: 8px;
}

#top .search {
    float: right;
    position: relative;
    margin-top: 20px;
}
#top .search input {
    width: 160px;
    padding: 7px;
    border: 0;
    
    color: #000;
    font-family: Helvetica;
    font-size: 12px;

    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
#top .search input.blur {
    color: #999;
    font-size: 11px;
}
#top .search input.submit {
    position: absolute;
    right: 0; top: -3px;
    width: auto;
}


/* ==========================================================================
   Navigation
   ========================================================================== */

/* Positioning for top nav */
#top .nav {
    float: left;
    margin-top: 65px;
    margin-left: 27px;
}

/* Level 1 */
.nav ul {
    list-style: none;
}
.nav ul.level-1-nav > li {
    float: left;
}
.nav ul.level-1-nav > li > a {
    display: block;
    padding: 0 10px;
    
    color: #AAA !important;
    font-size: 14px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}
.nav ul.level-1-nav > li:hover > a,
.nav ul.level-1-nav > li.current > a {
    color: #00A69C !important;
    text-decoration: underline !important;
}

/* Level 2 */
.nav .level-2 {
    display: none;
    z-index: 1000;
    
    position: absolute;
    left: 0; right: 0;
    top: 99px;
    height: 40px;
    
    background: #252160;
}
.nav ul.level-2-nav > li {
    float: left;
    height: 40px;
    line-height: 40px;
}
.nav ul.level-2-nav > li > a {
    display: block;
    
    padding: 0 10px;
    
    color: #00A69C;
    text-decoration: none;
    text-transform: uppercase;
}
.nav ul.level-2-nav > li:hover > a {
    background: #1D1C2F;
    color: #FFF;
}

/* Level 3 */
.nav .level-3 {
    display: none;
    z-index: 1000;
    
    position: absolute;
    left: 0; right: 0;
    top: 40px;
    height: auto;
    
    background: url(images/backgrounds/level-3-nav.png) left top;
    text-align: center;
}
.nav .level-3 .panels {
    display: inline-block;

    margin-left: -40px;
    text-align: left;
}
.nav .level-3 .panel {
    float: left;
    width: 185px;
    margin-top: 10px;
    padding-right: 40px;
    padding-bottom: 20px;
}
.nav .level-3 .panel li {
    clear: both;
    line-height: 25px;
}
.nav .level-3 .panel h4 {
    color: #00A69C;
    font-weight: bold;
    text-transform: uppercase;
}
.nav .level-3 .panel a {
    color: #FFF;
    text-transform: uppercase;
    text-decoration: none;
}
.nav .level-3 .panel a:hover {
    text-decoration: underline;
}

/* Top nav only adjustments */
#top .nav ul.level-1-nav > li > a {
    padding-bottom: 19px;
}


/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

#breadcrumbs {
    line-height: 40px;
    
    font-family: Helvetica;
    font-size: 12px;
}
#breadcrumbs a {
    color: #999999;
}


/* ==========================================================================
   Body block
   ========================================================================== */

/* Slideshow */
#body .cycle-slideshow {
    overflow: hidden;
    width: 920px;
    height: 400px;
}

/* Index styling */
#body .index-headers {
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: #CFD0D2 solid 1px;
    
    text-align: center;
}
#body .index-headers h1 {
    padding-bottom: 10px;
    font-size: 30px;
}
#body .index-headers h2 {
    line-height: 22px;
    color: #666666;
    font-size: 15px;
}

/* Index colored panels */
#body .index-panels {
    padding-top: 18px;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: #CFD1D2 solid 1px;
}
#body .index-panels .panel {
    position: relative;
    width: 904px;
    height: 106px;
    
    margin-bottom: 10px;
    padding: 8px;
}
#body .index-panels .panel div.text {
    position: absolute;
    left: 294px; top: 13px;
    width: 488px;
    
    color: #FFF;
}
#body .index-panels .panel div.more {
    position: absolute;
    right: 16px; top: 23px;
    text-align: center;
}
#body .index-panels .panel div.more span {
    font-weight: bolder;
}
#body .index-panels .panel div.more img {
    margin-top: 5px;
}
#body .index-panels .panel div.more a {
    text-decoration: none;
}

/* Themes */
#body .index-panels .panel.one { background: #252160; }
#body .index-panels .panel.one span { color: #656C93; }
#body .index-panels .panel.two { background: #009482; }
#body .index-panels .panel.two span { color: #4DB5A8; }
#body .index-panels .panel.three { background: #A61E22; }
#body .index-panels .panel.three span { color: #C16265; }
#body .index-panels .panel.three a { color: #C16265; font-weight: bold; }

/**
 * Slideshow
 */
.pager {
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: #CED0D1 solid 1px;
    
    text-align: center;
}
.pager .pages {
    display: inline-block;
}
.pager .pages a {
    float: left;
    margin-right: 7px;
}
.pager .pages a div {
    width: 10px;
    height: 10px;
    
    background: #BABCBE;

    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}
.pager .pages a.activeSlide div {
    background: #252160;
}


/* ==========================================================================
   Content rows
   ========================================================================== */

#body .row {
    width: 920px;
    padding-bottom: 18px;
    margin-bottom: 30px;
    border-bottom: #CED0D1 solid 1px;
}
#body .row.last {
    border-bottom: 0;
}

#body .row.image-text {
    position: relative;
}
#body .row.image-text img.image {
    position: absolute;
    left: 20px; top: 0;
}
#body .row.image-text .text-1 {
    padding-left: 300px;
}
#body .row.image-text .text-2 {
    padding-left: 430px;
}

/* Dual column */
#body .dual-column {
    padding-top: 25px;
    border-top: #CED0D1 solid 1px;
}
#body .dual-column .col,
#body .dual-column .row {
    width: 430px;
}
#body .dual-column .row {
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
}


/* ==========================================================================
   Social panel
   ========================================================================== */

.social-panel {
    position: relative;
    height: 124px;
    
    background: #E6E6E6;
}
.social-panel img.rbtn {
    margin-bottom: -15px;
}
.social-panel a {
    text-decoration: none;
}
.social-panel a:hover {
    text-decoration: underline;
}

/* Social buttons */
.social-panel .social {
    position: absolute;
    left: 34px; top: 39px;
}
.social-panel .social img {
    margin-right: 10px;
}

/* Newshub subscribe form */
.social-panel .subscribe {
    position: absolute;
    left: 210px; top: 40px;
}
.social-panel .subscribe,
.social-panel .subscribe a {
    color: #232C64;
    font-weight: bold;
}
.social-panel .subscribe input {
    width: 266px;
    
    padding: 7px;
    border: 0;
    background: #F1F1F1;
    
    color: #000;
    font-size: 10px;
}
.social-panel .subscribe input.blur {
    color: #808080;
}

/* NZ map */
.social-panel .map {
    position: absolute;
    right: 22px; top: -18px;
    
    width: 135px;
    line-height: 159px;
    
    background: url(images/nz.png) left top no-repeat;
}
.social-panel .map a {
    color: #009583;
    font-weight: bold;
}
.social-panel .map img {
    margin-left: 58px;
}


/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-us .left {
    width: 440px;
}

.contact-us .contacts {
    color: #808080;
    font-size: 15px;
    font-weight: bold;
}
.contact-us .contacts .small {
    font-weight: normal;
    font-size: 12px;
}

/* Interactive map */
.contact-us .map {
    float: right;
    position: relative;
    width: 371px;
    height: 598px;
    margin-right: 25px;
}
.contact-us .map .point {
    z-index: 100;
    position: absolute;
    width: 23px;
    height: 23px;
}
.contact-us .map .hover-panel {
    display: none;
    z-index: 110;
    
    position: absolute;
    left: 0; top: 0;
    width: 170px;
    height: 170px;
}


/* ==========================================================================
   Back to top
   ========================================================================== */

#backtotop {
    display: none;
    position: fixed;
    right: 20px; bottom: 0;
    z-index: 1000;
}
#backtotop a {
    display: block;
    width: 48px;
    height: 48px;

    border: 0 none;

    text-decoration: none;
}
#backtotop a:hover {
    opacity:.8;
}


/* ==========================================================================
   Form styles
   ========================================================================== */

.form table td {
    padding: 6px;

    color: #777;
    font-size: 14px;
    line-height: 20px;
}

/*
 * Field styling
 */
.form input {
    width: 230px;

    padding: 5px;

    border: #C5C5C5 solid 1px;
    font-size: 12px;

    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}
.form select {
    width: 337px;
}
.form .checkbox {
    width: auto;
}
.form textarea {
    overflow: auto;
    width: 330px;
    padding: 5px;
    border: #C5C5C5 solid 1px;

    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

/*
 * Buttons
 */
button {
    overflow: visible;

    padding:3px 7px 3px 7px;

    background: #C4C6C7;
    border: 1px solid #C3C3C2;

    color: #005B7F;
    font-size: 100%;
    font-weight: bold;

    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}
button:hover {
    cursor: pointer;
    background: #6D6E71;
    border-color: #6D6E71;

    color: #FFF;
}

/* Firefox & Safari Fixes */
.form button[type] {
    padding:3px 7px 3px 7px;
    line-height:17px;
}
/* IE7 Fixes */
.form *:first-child+html button[type] {
    padding:4px 7px 3px 7px;
}

/*
 * Thank you box
 */
div.thankyou-message {
    clear: both;

    padding: 12px 0px 12px 40px;
    margin-top: 14px;
    margin-bottom: 8px;

    border: #1C9640 solid 1px;
    border-width: 1px 0px 1px 0px;

    background: url(../images/icons/tick.png) no-repeat 10px 11px #ECF7ED;

    color: #1C9640;
}

/*
 * Errors
 */
div.error-message {
    clear: both;

    padding: 8px 0 8px 35px;
    margin-bottom: 14px;

    border: #C1272D solid;
    border-width: 1px 0 1px 0;

    background: url(../images/icons/alert.png) no-repeat 10px 9px #FFFFFF;

    color: #C1272D;
}

/* Field error */
tr.field-error td,
tr.field-error .label,
td.field-error {
    color: #C1272D !important;
}
.field-error input,
.field-error textarea {
    border: #C1272D solid 1px;
}


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

#footer {
    height: 200px;
    padding-top: 40px;
}
#footer .row {
    width: 920px;
    height: 50px;
    line-height: 50px;
    
    margin: 0 auto;
    padding: 0 20px;
    border-top: #CFD1D2 solid 1px;
}
#footer,
#footer a {
    color: #808080;
}

#footer .phone,
#footer .us {
    float: right;
}

#footer .nav {
    margin-left: -10px;
}