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

/*
 * Resets
 */
body, html {
    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%;
}

/*----------------------------------------------------*/

/*
 * Styles
 */
body {
    font-family: Helvetica, Arial;
    font-size: 12px;
}

a {
    color: #00B1EB;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

h1 {
    margin-bottom: 8px;
    
    color: #22428C;
    font-size: 35px;
    font-family: Georgia;
    font-weight: bold;
}
h2 {
    margin-bottom: 5px;
    
    color: #CA9732;
    font-size: 26px;
    font-family: Georgia;
    font-weight: bold;
}

p {
    line-height: 20px;
    
    padding-bottom: 25px;
    
    color: #999999;
    font-size: 14px;
}

/*----------------------------------------------------*/

/*
 * Basic's
 */
.left {
    float: left;
}
.right {
    float: right;
}
.clear {
    clear: both;
}
.relative {
    position: relative;
}
.show {
    display: block;
}
.hide {
    display: none;
}

/*
 * Printing styles
 */
@media print {
    /*
     * Add this class to an object to
     * hide it only while printing.
     */
    .noprint { display: none; }
}

/*
 * Clear fix
 * 
 * From: http://www.webtoolkit.info/css-clearfix.html
 */
.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;
    margin: 0 auto;
    padding: 0px 20px;
}

/*----------------------------------------------------*/

/*
 * Top block
 */
#top {
    height: 180px;
    background: url(images/backgrounds/pattern.png) top center no-repeat #D7D7D7;
}
#top .container {
    position: relative;
}

#top p {
    padding-bottom: 0px;
}

#top .nav {
    position: absolute;
    left: 20px;
    top: 8px;
    
    font-size: 10px;
}
#top .nav a {
    margin: 0 5px;
    color: #CA9732;
}

#top .logo {
    position: absolute;
    left: 20px;
    top: 50px;
}

#top .side {
    position: absolute;
    right: 20px;
    top: 36px;
}
#top .side .social {
    margin-bottom: 8px;
}
#top .side .social img {
    margin-right: 8px;
}
#top .side .slogan {
    margin-bottom: 8px;
    
    color: #25408E;
    font-size: 16px;
    font-family: Georgia;
    font-weight: bold;
    
    text-transform: uppercase;
}
#top .side .tel {
    color: #CC9933;
    font-size: 19px;
    font-family: Georgia;
    font-weight: bold;
}

/*----------------------------------------------------*/

/*
 * Search
 */
#top .search {
    position: absolute;
    right: 20px;
    bottom: 15px;
    
    width: 280px;
}

#top .search input {
    padding: 2px 5px;
    border: #C0C0C0 solid 1px;
    background: #F3F4F4;
    
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
#top .search input.blur {
    color: #C0C0C0;
}

#top .search button {
    cursor: pointer;
    
    border: #C0C0C0 solid 1px;
    background: #D6AE5F;
    
    color: #25408E;
    font-weight: bold;
    
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

/*----------------------------------------------------*/

/*
 * Body block
 */
#body {
}

/* Full line */
.full-line {
    position: relative;
    padding-bottom: 14px;
    border-top: #D7D7D7 solid 1px;
    text-align: center;
}
.full-line img {
    margin-top: -12px;
    background: #FFFFFF;
}

/* Slideshow */
div.slideshow {
    width: 920px;
    height: 280px;
    
    margin-bottom: 22px;
}
div.slideshow .editable-loop-add {
    z-index: 50;
}
div.slideshow .editable-loop-move {
    display: none;
}

/*----------------------------------------------------*/

/*
 * Navigation
 */
#body .nav {
    height: 80px;
    
    margin-bottom: 20px;
}
#body .nav span {
    padding: 0 10px;
}

#body .container .editable-loop-add {
    z-index: 500 !important;
}

/* Main */
#body .nav .main {
    line-height: 50px;
    
    color: #25408E;
    font-weight: bold;
    text-transform: uppercase;
}
#body .nav .main a {
    color: #25408E;
    font-size: 14px;
    font-weight: bold;
}

/* Sub */
#body .nav .sub {
    color: #999999;
}
#body .nav .sub a {
    color: #999999;
    font-size: 14px;
}

#body .nav a.current {
    color: #CA9732;
}

/*----------------------------------------------------*/

/*
 * Home page
 */
.col-home-1-2 {
    float: left;
    width: 640px;
}
.col-home-2-2 {
    float: right;
    width: 230px;
    
    padding-left: 30px;
    border-left: #D7D7D7 solid 1px;
}
.col-home-2-2 img {
    margin-bottom: 15px;
}

/*----------------------------------------------------*/

/*
 * Listing page
 */
.listing .full-line {
    margin-top: 22px;
}

.pdf {
    line-height: 40px;
    vertical-align: center;
}
.pdf img {
    margin-right: 15px;
}
.pdf a {
    color: #CA9732;
}

/*----------------------------------------------------*/

/*
 * Two Column
 */
.col-1-2 {
    float: left;
    width: 430px;
}
.col-2-2 {
    float: right;
    width: 430px;
}

.col-1-2 .line,
.col-2-2 .line {
    width: 100%;
    padding-bottom: 14px;
    border-top: #D7D7D7 solid 1px;
}
.col-1-2 .line img,
.col-2-2 .line img {
    margin-top: -12px;
    background: #FFFFFF;
}

/*----------------------------------------------------*/

/*
 * Sticky footer
 */
.wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -90px; /* = footerHeight */
    
    overflow: hidden;
}
#footer, .push {
    height: 90px;
}
.push {
    clear: both;
    height: 110px; /* Padding: footerHeight + X */
    line-height: 90px;
}

#footer {
    background: #FFFFFF;
    
    color: #898989;
    font-family: Helvetica;
    font-size: 10px;
    font-weight: bold;
}

#footer .container {
    position: relative;
}
#footer .back.container {
    height: 20px;
}
#footer .main.container {
    height: 90px;
    border-left: #D7D7D7 solid 1px;
    border-right: #D7D7D7 solid 1px;
}

#footer div.bg {
    position: absolute;
    top: -35px;
    left: 0px;
    
    width: 961px;
    height: 140px;
    
    background: url(images/backgrounds/pattern.png) top left no-repeat;
    
    z-index: 10;
}

#footer a {
    color: #898989;
    font-family: Helvetica;
    font-size: 10px;
    font-weight: bold;
}
#footer .left {
    position: absolute;
    top: 20px;
    left: 20px;
    
    z-index: 100;
}
#footer .right {
    position: absolute;
    top: 20px;
    right: 20px;
    
    z-index: 100;
}