/**
 * 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/logos.png) center 663px no-repeat;
    
    color: #666666;
    font-family: Helvetica, Arial;
    font-size: 16px;
}

p {
    color: #808080;
    font-size: 0.875em;
    line-height: 1.5em;
}

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

/* Headers */
h1 {
    color: #B3B3B3;
    font-size: 1.75em;
    font-weight: bold;
    line-height: 1.294117647058824em;
}
h2 {
    margin-top: -10px;
    
    color: #C22939;
    font-size: 1.3125em;
    font-family: Georgia, Helvetica, Arial;
    font-style: italic;
    line-height: 2.25em;
}
h3 {}
h4 {}
h5 {}


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

.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;
}

/* Gradient */
.gradient {
    background: #8BC53E;

    background: -moz-linear-gradient(left,  #29abe1 0%, #8bc53e 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#29abe1), color-stop(100%,#8bc53e)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left,  #29abe1 0%,#8bc53e 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left,  #29abe1 0%,#8bc53e 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left,  #29abe1 0%,#8bc53e 100%); /* IE10+ */
    background: linear-gradient(to right,  #29abe1 0%,#8bc53e 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#29abe1', endColorstr='#8bc53e',GradientType=1 ); /* IE6-9 */
}


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

#top .container {
    position: relative;
}
#top .gradient {
    height: 20px;
}

/* Top container (newshub signup) */
#top .top {
    height: 40px;
    background: #E6E6E6;
    
    color: #4D4D4D;
    font-size: 13px;
    font-weight: bold;
    text-align: right;
}
#top .top .right {
    margin-top: 3px;
    margin-left: 9px;
}
#top .top input {
    padding: 8px;
    border: #FFF solid 1px;
}
#top .top input.blur {
    color: #777;
}

/* Nav container */
#top .nav {
    height: 110px;
}
#top .nav img.logo {
    position: absolute;
    left: 20px; top: -28px;
}

/* Level 1 nav */
#top .nav ul {
    position: absolute;
    right: 20px; top: 12px;
    list-style: none;
}
#top .nav .container > ul > li {
    float: left;
    position: relative;
    width: 90px;
    line-height: 90px;
    
    margin-left: 4px;
    border-bottom: #FFF solid 8px;
    background: url(../images/backgrounds/nav.png) #F1F1F1 -90px top no-repeat;
    text-align: center;
}
#top .nav .container > ul > li > a {
    display: block;
    
    color: #6C6C6C;
    font-size: 0.875em;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
}
#top .nav .container > ul > li.current,
#top .nav .container > ul > li.hover {
    background-position: left top;
}
#top .nav .container > ul > li.current > a,
#top .nav .container > ul > li.hover > a {
    color: #FFF;
}

#top .nav .container > ul > li.hover ul {
    display: block;
}

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

    list-style: none;
}
#top .nav li ul li {
    width: 180px;
    line-height: 25px;

    border-top: #666666 solid 1px;
    background: rgb(153, 153 ,153);
    background: rgba(153, 153 ,153, .75);
    
    color: #FFF;
    font-weight: bold;
    text-align: left;
}
#top .nav li ul li.first {
    border-top: 0;
}
#top .nav li ul li:hover {
    background: #5C5C5C;
}
#top .nav li ul li a {
    display: block;
    padding: 9px 17px;

    color: #FFF;
    font-size: 0.875em;
    text-decoration: none;
    text-transform: uppercase;
}


/* ==========================================================================
   Full slideshow
   ========================================================================== */

#full-slideshow {
    overflow: hidden;
    position: relative;
    height: 450px;

    margin-bottom: 23px;
}

/* Main inner container */
#full-slideshow .container {
    position: relative;
    width: 960px;
    height: 450px;
    
    padding: 0;
    margin: 0 auto;
}

/* Images */
#full-slideshow .container .images {
    position: relative;
    left: -420px;
}
#full-slideshow .container .images div {
    float: left;
    height: 450px;
}

/* Contenthub */
#full-slideshow .loop-wrapper {
    /* Images container */
    position: relative;
    height: 450px;
}
#full-slideshow .editable-region {
    /* Image container */
    float: left !important;
    width: 1800px;
    height: 450px;

    z-index: 510;
}
#full-slideshow .cOptions {
    position: absolute;
    left: 420px; top: 0;
    width: 960px;
    height: 450px;

    margin: 0 auto;
}
#full-slideshow .editable-loop-move {
    display: none;
}
#full-slideshow a.opener {
    display: none;
}
#full-slideshow a.add-alt {
    position: absolute;
    left: 0; top: 20px;
    
    text-decoration: none;
    
    z-index: 520;
}
#full-slideshow a.add-alt div {
    background: #DDD;
    
    color: #666666;
    font-size: 13px;
    text-align: center;
    
    -webkit-border-radius: 3px !important;
    -moz-border-radius: 3px !important;
    border-radius: 3px !important;
}
#full-slideshow a.add-alt:hover div {
    background: #809EAD !important;
    color: #FFF;
}


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

/* Index - 2 column */
.index-col-1 {
    float: left;
    width: 618px;
}
.index-col-1 .row {
    float: left;
    width: 265px;
    
    padding-bottom: 15px;
    margin-bottom: 15px;
    
    border-bottom: #B3B3B3 solid 1px;
}
.index-col-1 h1 {
    line-height: 2.25em;
}

.index-col-2 {
    float: right;
    width: 280px;
}
.index-col-2 img {
    margin-bottom: 20px;
}

/* Top line */
.top-line {
    margin-bottom: 25px;
    border-bottom: #B3B3B3 solid 1px;
}

/* Ad slideshows */
.ad-slides {
    position: relative;
    overflow: hidden;
    width: 280px;
    height: 300px;
    margin-bottom: 20px;
}
.ad-slides.small {
    height: 120px;
}
.ad-slides span.editable-loop-add {
    position: absolute !important;
    left: 20px !important;
    top: 20px !important;
    z-index: 520 !important;
}

/* Breadcrumbs */
.breadcrumbs {
    line-height: 37px;
    margin-bottom: 25px;
    border-top: #B3B3B3 solid 1px;
    border-bottom: #B3B3B3 solid 1px;
    
    color: #A7B6BF;
    font-size: 12px;
}
.breadcrumbs a {
    color: #29ABE1;
    text-decoration: none;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Basic rows */
.basic-row {
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: #B3B3B3 solid 1px;
}
.basic-row.last {
    border: 0;
}

/* Image + text + pdf */
#body .basic-row.it .container {
    position: relative;
}
#body .basic-row.it .image {
    position: absolute;
    left: 20px; top: 0;
}
#body .basic-row.it .text {
    padding-left: 300px;
}
#body .basic-row.it h2 {
    padding-bottom: 0;
}
#body .basic-row.it p {
    margin-bottom: 20px;

    font-size: 0.875em;
    line-height: 1.714285714285714em;
}
#body .basic-row.it a.pdf-download {
    color: #CC3333;
    text-decoration: none;
}
#body .basic-row.it a.pdf-download:hover {
    text-decoration: underline;
}


/* ==========================================================================
   Body rows
   ========================================================================== */

/* Large title */
.lrg-title {
    margin-bottom: 20px;
    border-bottom: #B3B3B3 solid 1px;
    text-align: center;
}
.lrg-title h1 {
    color: #BE1E2D;
    font-size: 3.375em;
    font-weight: bold;
    line-height: normal;
}
.lrg-title h2 {
    padding-top: 10px;
    padding-bottom: 13px;
    
    color: #808184;
    font-size: 1.9375em;
    font-style: normal;
    line-height: normal;
}


/* ==========================================================================
   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
   ========================================================================== */

.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;
    z-index: 1020;
    position: fixed;
    top: 0;
    width: 400px;

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

    border: #75BF62 solid 1px;
    border-width: 1px 0 1px 0;
    background: url(../images/icons/tick.png) no-repeat 15px 15px #75BF62;
    
    color: #FFF; 
}

/*
 * Errors
 */
div.error-message {
    clear: both;
    z-index: 1020;
    position: fixed;
    top: 0;
    width: 400px;

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

    border: #C22939 solid 1px;
    border-width: 1px 0 1px 0;
    background: url(../images/icons/alert.png) no-repeat 15px 15px #C22939;

    color: #FFF;
}

/* 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;
}
.error {
    border: 0 !important;
    color: #C1272D;
}
.error input,
.error textarea {
    border: #C1272D solid 1px !important;
}

/*
 * Abs submit image
 */
.abs-button {
    position: relative;
}
.abs-button input.submit {
    position: absolute;
    top: 2px; right: 2px;
    
    padding: 0 !important;
    border: 0 !important;
}


/* ==========================================================================
   Membership application form
   ========================================================================== */

/* Checkboxes */
ul.checkboxes {
    list-style: none;
}
ul.checkboxes li {
    float: left;
    width: 200px;
}
ul.checkboxes input {
    width: auto;
}
ul.checkboxes.max-width li {
    width: 100%;
}

/* Corporate rate */
tr.ghost td {
    color: #BBB !important;
}
tr.ghost input {
    border-color: #FFF;
    background: #F4F4F4;
}

/* Styling */
#membership h2 {
    line-height: 30px;
    margin-top: 12px;
    margin-bottom: 15px;
    border-bottom: #C5C5C5 dashed 1px;
}


/* ==========================================================================
   Radio boxes
   ========================================================================== */

.radio-box div:first-child {
    border-left: #C5C5C5 solid 1px;
}
.radio-box div {
    float: left;
    width: 200px;

    padding-top: 8px;
    padding-bottom: 8px;
    border: #C5C5C5 solid 0;
    border-width: 1px 1px 1px 0;
    
    text-align: center;
    font-weight: bold;
}
.radio-box div span {
    color: #888;
    font-size: 12px;
    font-weight: normal;
}
.radio-box div.current,
.radio-box div:hover,
.radio-box div.current span,
.radio-box div:hover span {
    cursor: pointer;
    background: #75BF62;
    border-color: #75BF62;
    color: #FFF;
}


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

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

#footer {
    height: 300px;
    
    border-top: #B3B3B3 solid 1px;
}
#footer .container {
    position: relative;
    height: 150px;
}
#footer .gradient {
    height: 150px;
}

#footer a {
    color: #0071BC;
    text-decoration: none;
}
#footer a:hover {
    text-decoration: underline;
}

#footer .logo {
    position: absolute;
    left: 20px; top: 27px;
}
#footer .copy {
    position: absolute;
    left: 104px; top: 27px;
    
    color: #333;
    font-size: 0.75em;
    font-weight: bold;
    line-height: 1.666666666666667em;
}
#footer .contacts {
    position: absolute;
    left: 104px; top: 92px;

    color: #666;
    font-size: 0.75em;
    font-weight: bold;
    line-height: 1.666666666666667em;
}
#footer .us {
    position: absolute;
    right: 20px; top: 27px;
    
    color: #999;
    font-size: 0.75em;
    font-weight: bold;
}
#footer .us a {
    color: #999;
    font-weight: bold;
}