/**
 * 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%;
}


/*******************************************************
   Styling
 *******************************************************/

body {
    color: #808080;
    font-family: "Trebuchet MS", Helvetica, Arial, Verdana;
    font-size: 12px;
}

p {
    line-height: 15px;
    margin-bottom: 14px;
}
p span.small {
    font-size: 9px;
    font-weight: bold;
}

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

/* Headers */
h1 {
    margin-bottom: 14px;

    color: #FF0000;
    font-size: 26px;
    font-weight: bold;
}
h2 {
    margin-bottom: 14px;

    color: #464646;
    font-size: 20px;
    font-weight: bold;
}
.row h2 {
    margin-top: -19px;
}
h3 {}
h4 {}
h5 {}

/* Colours */
.red {
    color: #EF4746;
}
.blue {
    color: #003471;
}


/*******************************************************
   Utility
 *******************************************************/

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

/*
 * 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: 145px;

    border-top: #EB1C23 solid 5px;
}
#top .container {
    position: relative;
}

#top .logo {
    position: absolute;
    top: 6px;
}

#top .panel-mid {
    position: absolute;
    top: 70px;
    left: 315px;

    color: #000;
    font-size: 14px;
}
#top .panel-mid .red {
    font-size: 16px;
}
#top .panel-mid .red span {
    font-size: 17px;
    font-weight: bold;
}

#top .panel-contact {
    position: absolute;
    right: 20px; top: 25px;
    width: 297px;
}
#top .panel-contact .email {
    margin-right: 25px;
}
#top .panel-contact .email img {
    margin-bottom: -3px;
}
#top .panel-contact .email a {
    color: #809DAC;
}
#top .panel-contact .phone {
    font-size: 13px;
    font-weight: bold;
}
#top .panel-contact .phone img {
    margin-bottom: -5px;
}

#top .panel-social {
    position: absolute;
    right: 240px; bottom: 16px;

    font-weight: bold;
}
#top .panel-social div {
    margin-bottom: 13px;
}

#top .panel-form {
    position: absolute;
    right: 20px; bottom: 20px;
}

/* One field form */
.one-field-form {
    position: relative;
}
.one-field-form input {
    width: 180px;

    padding: 5px;
    margin-top: 3px;
    border: #D5D5D5 solid 1px;

    color: #000;
    font-size: 11px;
}
.one-field-form .blur {
    color: #CCCCCC;
}
.one-field-form input.image-type {
    position: absolute;
    right: 0; bottom: 0;

    width: auto;

    padding: 0;
    margin-top: 0;
    border: 0;
}


/*******************************************************
   Navigation
 *******************************************************/

#nav {
    height: 40px;

    background: #000000;
}
#nav ul {
    list-style: none;
}

/* Index item */
#nav li.index {
    background: none !important;
}
#nav li.index img {
    margin-top: 7px;
}

/* Level 1 */
#nav ul.main > li {
    float: left;
    position: relative;
    line-height: 40px;
    height: 40px;

    padding-left: 8px;
    padding-right: 8px;
    margin-right: 5px;
}
#nav ul.main > li > a {
    display: block;

    color: #A1A1A1;
    font-size: 14px;
    text-decoration: none;
}
#nav ul.main > li.current > a,
#nav ul.main > li > a:hover {
    color: #EC1C24;
}
#nav ul.main > li.hover > a {
    color: #EC1C24;
}
#nav ul.main > li.hover {
    background: #333;
}

/* Level 2*/
#nav ul.main ul {
    display: none;
    position: absolute;
    left: 0; top: 40px;
    z-index: 1000;

    width: 180px;

    background: #E6E6E6;
    border-left: #9C9C9C solid 1px;
    border-right: #9C9C9C solid 1px;
}
#nav ul.main ul li {
    line-height: 30px;
    border-bottom: #9C9C9C solid 1px;
}
#nav ul.main ul a {
    display: block;

    padding-left: 15px;

    background: #E6E6E6;

    color: #767676;
    font-size: 12px;
    text-decoration: none;
}
#nav ul.main ul a:hover {
    background: #9C9C9C;
    color: #FFFFFF;
    text-decoration: none;
}


/*******************************************************
   Breadcrumbs
 *******************************************************/

#breadcrumbs {
    height: 40px;
    line-height: 40px;

    border-bottom: #CCCCCC dashed 1px;

    color: #808080;
}
#breadcrumbs a {
    margin-right: 5px;
    margin-left: 5px;

    color: #808080;
    text-decoration: none;
}
#breadcrumbs a:hover,
#breadcrumbs a.current {
    color: #FF0000;
}


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

#body {
    min-height: 600px;
    background: url(../images/logo-bg.png) no-repeat center 1px;
}
#body .container {
    padding-top: 25px;
}


/*******************************************************
   Slideshow
 *******************************************************/

#body .slideshow {
    margin-bottom: 20px;
    border-bottom: #D0D0D0 dashed 1px;

    position: relative;
    z-index: 100;
}
#body .slideshow .images {
    width: 920px;
    height: 300px;

    overflow: hidden;
}
#body .slideshow .controls {
    width: 920px;
    height: 30px;

    padding-top: 10px;

    text-align: center;
}
#body .slideshow .controls a div {
    display: inline-block;
    width: 18px;
    height: 18px;

    margin-right: 5px;
    background: url(../images/icons/slide.png) no-repeat left top;
}
#body .slideshow .controls a.activeSlide div {
    background: url(../images/icons/slide-current.png) no-repeat left top;
}

/* Contenthub button fix */
div.slideshow .editable-loop-add {
    position: absolute !important;
    top: 10px;
    left: 10px;
    z-index: 120 !important;
}


/*******************************************************
   Structures
 *******************************************************/

/* Columns: 2 */
#body .cols-2 {
    width: 100%;
}
#body .cols-2 .col-1,
#body .cols-2 .col-2 {
    float: left;
    width: 450px;
}
#body .cols-2 .col-1 {
    margin-right: 18px;
}
#body .cols-2 .small {
    margin-top: -5px;

    color: #000;
    font-size: 10px;
    font-weight: bold;
}

/* Columns: 3 */
#body .cols-3 {
    width: 100%;
}
#body .cols-3.bot-border {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: #D0D0D0 dashed 1px;
}
#body .cols-3 .col-1,
#body .cols-3 .col-2,
#body .cols-3 .col-3 {
    float: left;
    width: 290px;
}
#body .cols-3 .col-2 {
    margin: 0 25px;
}

/* Standard rows */
#body .row {
    width: 100%;

    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: #D0D0D0 dashed 1px;
}
#body .cols-3.bot-border .row,
#body .row.last {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}
#body .row img {
    margin-bottom: 8px;
}

/* Thumb row */
#body .row.thumb-row {
}
#body .row.thumb-row img.thumb {
    float: left;
}
#body .row.thumb-row .side {
    float: left;
    width: 655px;
    margin-left: 19px;
}


/*******************************************************
   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: #FF0000;
    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
 *******************************************************/

.wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -500px; /* = footer_height */
}
.push {
    clear: both;
    height: 530px; /* padding = footer_height + X */
}

#footer {
    height: 543px;

    background: #C2C2C2;
}

#footer .bar {
    width: 100%;
    height: 40px;
    line-height: 40px;

    background: #707070;
    border-bottom: #FFF solid 3px;
}
#footer .bar .left {
    color: #FFF;
}
#footer .bar .right,
#footer .bar .right a {
    color: #252525;
    text-decoration: none;
}
#footer .bar .right a:hover {
    text-decoration: underline;
}

#footer > .container {
    height: 385px;

    padding-top: 15px;
    background: url(../images/logo-footer.png) no-repeat center 90px;
}
#footer > .container thead td {
    padding-bottom: 8px;
}
#footer > .container thead td a {
    color: #333333;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
}
#footer > .container tbody td {
    line-height: 25px;
}
#footer > .container tbody a {
    color: #666666;
    text-decoration: none;
}

#footer > .container thead td a:hover,
#footer > .container tbody a:hover {
    text-decoration: underline;
}

#footer .upper {
    clear: both;
    height: 255px;

    border-bottom: #4B4B4B dashed 1px;
}

#footer .bot {
    clear: both;
    width: 100%;

    padding-top: 80px;

    text-align: center;
    font-weight: bold;
}
#footer .bot a {
    color: #00A651;
}
