/**
 * 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 {
    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/page1.jpg) #000 center top no-repeat fixed;
    
    color: #FFF;
    font-family: Arial, "Trebuchet MS", Helvetica, Verdana;
    font-size: 12px;
}

/* Links */
a {
    color: #662D91;
    text-decoration: underline;
}
a:hover {
    text-decoration: none;
}
a.empty {
    cursor: default;
}

/* Headers */
h1 {
    color: #752995;
    font-size: 30px;
}
h2 {
    margin-bottom: 13px;
    color: #FFF;
    font-size: 18px;
    font-weight: bold;
}
h3 {}
h4 {}
h5 {}

p {
    color: #FFF;
    font-size: 14px;
    line-height: 22px;
}


/*******************************************************
   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: 170px;
    
    border-top: #A7B6BD solid 10px;
    background: url(../images/backgrounds/dot.png) #FFF left top repeat;
}
#top .container {
    position: relative;
}
#top .logo {
    margin-top: 20px;
}

#top .search {
    position: absolute;
    right: 20px; top: 15px;
}
#top .search input {
    padding: 3px;
}
#top .search input.blur {
    color: #999;
}
.search-item {
    margin-bottom: 30px;
}

/* Navigation */
#top .nav {
    z-index: 1000;
    position: absolute;
    right: 20px; bottom: -46px;
}
#top .nav ul {
    list-style: none;
}
#top .nav li {
    float: left;
    width: 85px;
    height: 85px;
    
    margin-left: 8px;
    background: url(images/backgrounds/nav-off.png) left top no-repeat;
}
#top .nav li a {
    display: block;
    width: 67px;
    
    margin-top: 30px;
    margin-left: 9px;
    
    color: #FFF;
    font-size: 12px;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
}
#top .nav li.current,
#top .nav li:hover {
    cursor: pointer;
    background: url(images/backgrounds/nav-on.png) left top no-repeat;
}


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

#body {
    padding-top: 83px;
}

.full-line {
    margin-bottom: 40px;
    border-bottom: #652C91 solid 1px;
}

/* Slideshow */
.slideshow .images {
    width: 920px;
    height: 300px;
}
.slideshow .pager {
    padding-top: 12px;
    padding-bottom: 12px;
}
.slideshow .pager a {
    float: left;
    text-decoration: none;
}
.slideshow .pager a div {
    width: 17px;
    height: 16px;
    
    margin-right: 5px;
    background: url(images/icons/pager-off.png) left top no-repeat;
}
.slideshow .pager a.activeSlide div {
    background: url(images/icons/pager-on.png) left top no-repeat;
}

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


/*******************************************************
   Index
 *******************************************************/

.index-panel {
    width: 100%;
    height: 380px;
    
    padding-top: 40px;
    background: url(images/backgrounds/index-panel.jpg) #000 center center no-repeat;
}
.index-panel h1 {
    margin-bottom: 10px;
    color: #752995;
    font-size: 54px;
}
.index-panel h1 span.smaller {
    font-size: 38px;
}
.index-panel p {
    width: 420px;
    height: 230px;
    
    font-size: 18px;
    line-height: 24px;

    -webkit-column-width: 420px;
       -moz-column-width: 420px;
            column-width: 420px;

    -webkit-column-break-after: column;
       -moz-column-break-after: column;
                  break-before: column;

    -webkit-column-gap: 85px;
       -moz-column-gap: 85px;
        -ms-column-gap: 85px;
            column-gap: 85px;
}
.index-panel p a {
    color: #752995;
    font-weight: bold;
    text-decoration: none;
}
.index-panel p a:hover {
    text-decoration: underline;
}


/*******************************************************
   Column layout
 *******************************************************/

/**
 * Column 1
 */
.col-1 {
    float: left;
    width: 162px;
    
    border-right: #502378 solid 1px;
}
.col-1 a {
    text-decoration: none;
}
.col-1 a:hover {
    text-decoration: underline;
}

/* Level 1 */
.col-1 ul {
    list-style: none;
}
.col-1 > ul > li > a {
    color: #74309D;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 36px;
}
.col-1 > ul > li.current > a,
.col-1 > ul > li > a:hover {
    color: #FFF;
}

/* Level 2 */
.col-1 li ul li a {
    color: #FFF;
    font-size: 14px;
    line-height: 21px;
}
.col-1 li ul li.current a {
    text-decoration: underline;
}

/**
 * Column 2
 */
.col-2 {
    float: right;
    width: 740px;
}

.col-2 .bird-line {
    clear: both;
    height: 29px;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: -8px;
    background: url(images/icons/bird.png) left top no-repeat;
}
.col-2 .bird-line .line {
    float: right;
    width: 700px;
    margin-top: 13px;
    border-bottom: #652C91 solid 1px;
}

.col-2 .row.image-text .image {
    float: left;
}
.col-2 .row.image-text .text {
    float: right;
    width: 420px;
}

/*******************************************************
   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: #FFF;
    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: #752995;
    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 0 12px 40px;
    margin-top: 14px;
    margin-bottom: 8px;

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

    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 #FFBABA;

    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 {
    padding-top: 120px;
    padding-bottom: 70px;
}
#footer,
#footer a {
    color: #FFF;
}
#footer .bar {
    width: 100%;
    height: 115px;
    
    border-top: #FFF solid 1px;
    border-bottom: #FFF solid 1px;
    background: url(../images/backgrounds/page1.jpg) center -770px no-repeat;
}
#footer .container {
    position: relative;
}

#footer .logo {
    margin-top: 16px;
}

#footer .mid {
    position: absolute;
    left: 160px; top: 34px;
}

#footer .nav {
    margin-top: 14px;
}
#footer .nav,
#footer .nav a {
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
}
#footer .nav a.current {
    text-decoration: underline;
}

#footer .us {
    position: absolute;
    right: 20px; top: 34px;
}
#footer a {
    text-decoration: none;
}
#footer a:hover {
    text-decoration: underline;
}