/* Common */
body,table,input,select,textarea { 
font-family: 'Lucida Sans Unicode', Arial, sans-serif; 
font-size: 100%;
line-height: 1.125em;
}

/* Remove padding and margin */
*
{
margin: 0;
padding: 0;
border: 0;
}

body {   
color: #343642;  
background: #f1f6f7 url('../images/i-body.gif') repeat-x;
}

h1 {
margin: 0 0 40px 0;    
color: #343642;
font-size: 1.375em;
font-weight: normal;
min-height: 27px;
}

h2 {
margin: 1em 0;
color: #343642;
font-size: 1.25em;
font-weight: normal;
}

h3 {
text-transform: uppercase;
font-size: 0.8125em;
}

p { 
margin: 1em 0;
font-size: 0.875em; 
}

#content ul, #content ol {
margin: 1em 1.75em;
font-size: 0.875em;
}

#content li {
margin: 0 0 0.5em 0;
}

#content ul.plain, #content ol.plain {
margin: 1em 0;
font-size: 0.875em;
list-style-type: none;
}

#content ul.plain li {
margin: 0 0 0.5em 0;
}

#content p a {
font-style: italic;
}

#content p a:hover {
color: #f7a40f;
}

#content ul.breadcrumbs
{
  list-style-type: none;
  margin: 0 40px 0 280px;
  padding: 4px 10px;
  background-color: #9BC1CC;
  border-bottom: 1px solid #343642;
}

#content ul.breadcrumbs li
{
  display: inline;
}

#content .breadcrumbs a {
  font-size: 0.75em;
  text-transform: uppercase;
  color: #343642;
}

#content .breadcrumbs a:hover {
  font-style: italic;
}

dl.col {
font-size: 0.875em;
}

dl.col dt { 
float: left; 
width: 6em;
font-weight: bold;
}

dl.col dd { 
margin-left: 7em;
}

.clear:after {
content: ".";
height: 1px;
display: block;
clear: both;
visibility: hidden;
}

.clr {
clear: both;
}

.right {
float: right;
}

.left {
float: left;
}

/* messages / errors box */
.Msg {
margin: 1em 0;
}

.Msg ul {
padding: 0.5em;
list-style-type: none;
}

.Messages ul {
border: 1px solid darkblue;
background-color: lightblue;
}

.Errors ul {
border: 1px solid darkred;
background-color: pink;
}

/* Layout */

#constrain {
width: 1040px;
margin: 0 auto;
position: relative;
}

#header {
background: transparent url('../images/i-content-t.png') no-repeat center bottom;
height: 270px;  
}

#header .logo {
position: absolute;
top: -15px;
left: -40px;
}

#content {
  background: transparent url('../images/i-content-m.png') repeat-y;
  padding: 0 0 20px 0;
}

#content .text-area {
margin: 0 40px 0 280px;
background: transparent url('../images/i-title.gif') no-repeat;
padding: 20px 30px;
min-height: 300px;
}

/* Navigation */

  /* Main Nav */
  
  #main-nav {
    margin: 0 0 0 280px;
    padding: 130px 0 0 0;
  }
  
  #main-nav li {
    list-style: none;
    display: inline;
  }

  #main-nav a {
    text-decoration: none;
    color: #fff;
    width: 177px;
    height: 130px;
    display: block;
    float: left;
    text-align: right;
    font-weight: bold;
    font-size: 0.8125em;
    line-height: 30px;
    padding: 0 3px 0 0;
    text-transform: uppercase;
  }
      
  #main-nav a.nav-cairns-region { background: transparent url('../images/i-nav-cairns.jpg') no-repeat; }
  #main-nav a.nav-tablelands { background: transparent url('../images/i-nav-tablelands.jpg') no-repeat; }
  #main-nav a.nav-cassowary-coast { background: transparent url('../images/i-nav-cassowary.jpg') no-repeat; }
  #main-nav a.nav-cook { background: transparent url('../images/i-nav-cook.jpg') no-repeat; }
  
  #main-nav a:hover {
    background-position: bottom left;
    color: #343642;
  }
  
  /* Sub Nav */
  
  #sub-nav {
    float: left;
    margin-left: 40px;
    width: 240px;
  }
    
  #sub-nav li {
    list-style: none;      
  }
  
  #sub-nav a {
    border-top: #5d5e68 solid 1px;
    display: block;
    padding: 6px 30px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.875em;
    font-weight: bold;
    color: #343642;
    text-align: left;
  }
  
  #sub-nav>ul li:first-child a {
    border: 0;
  }
  
  #sub-nav>ul {
    border-bottom: #5d5e68 solid 1px !important;
  }
  
  #sub-nav a:hover, #sub-nav a.current {
    background: #9bc1cc url('../images/i-subnav-hover.gif') repeat-x left bottom;
    font-style: italic;
  }
  
  #sub-nav a.has_children {
    background-image: none !important;
  }
  
  /* Sub Nav children */
  
  #sub-nav ul ul { 
    padding-left: 1em;
    background: #9bc1cc url('../images/i-subnav-hover.gif') repeat-x left bottom;
  }
  
  #sub-nav ul ul ul {
    background: none !important;
  }
  
  #sub-nav ul ul a {
    font-weight: normal;
    font-style: italic;
    text-transform: none;
    border-bottom: 0;
    border-top: 0;
    background: none;
    color: #dfecef;
  } 
  
  #sub-nav ul ul a:hover, #sub-nav ul ul a.current {
    color: #fff;
    background: none;
  }
  
  /* Footer Nav */
  
  #footer .footer-nav {
    padding: 0 70px;
  }
  
  #footer .footer-nav h2 {
    color: #343642;
    border-bottom: #5d5e68 solid 1px;
    padding: 0 0 4px 0;
  }
  
  #footer .footer-nav li {
    list-style: none;
  }

  #footer .footer-nav li a {
    text-decoration: none;
    color: #343642;
    font-size: 0.8125em;
    padding: 0 12px;
  }
  
  #footer .footer-nav li a:hover {
    background: transparent url('../images/g-arrow.png') no-repeat left 5px;
    font-style: italic;
  }
  
  .column {
    width: 180px;
    float: left;
    margin: 0 30px 0 0;
  }
  
  .column-wide {
    width: 420px;
    float: left;
  }
         
/* Footer */

#footer {
  background: transparent url('../images/i-footer.png') no-repeat;
}

#footer ul.contact {
  display: none;
  text-align: center;
}

#footer ul.contact li {
  list-style: none;
  display: inline;
  line-height: 75px;
  padding: 0 20px;
  font-size: 0.875em;   
}

#footer ul.contact li span {
  font-weight: bold;
  font-style: italic;
  padding: 0 6px 0 0;
}

#footer ul.contact li a {
  text-decoration: none;
  color: #343642;
}

#footer ul.contact li a:hover {
  text-decoration: underline;
  font-style: italic;
}

div.footer-nav ul ul
{
  padding-left: 0.5em;
  font-style: italic;
}

/* Author */

#author {
  text-align: center;
  padding: 30px 0;
  font: normal 0.675em Verdana, Arial, sans-serif;
  color: #5d5e68;
}

#author li {
  list-style: none;
  display: inline;
}

#author a {  
  text-decoration: none;
  color: #5d5e68;
}

#author a:hover {
  text-decoration: underline;
  font-style: italic;
}

/* Content */

/* Buttons */

#content a.button {
  background: transparent url('../images/g-button-r.gif') repeat-x scroll top right;
  color:#343642;
  display: block;
  float: left;    
  font: bold 1em 'Trebuchet MS', Arial, sans-serif;
  text-transform: uppercase;
  height: 30px;    
  margin:5px 6px 5px 0;
  padding-right: 5px; /* sliding doors padding */
  text-decoration: none;    
}

#content a.button span {
  background: transparent url('../images/g-button-l.gif') no-repeat;
  display: block;
  line-height: 30px;
  padding: 0 8px 0 15px;
}

#content a:hover.button {
  background-position: bottom right;
  color: #fff;
}

#content a:hover.button span {
  background-position: bottom left;
}

/* Call to actions */

.cta {
  display: block;
  width: 300px;
  height: 130px;
  text-align: right;
  padding: 0 10px;
  float: left;
}

.cta h3 {
  line-height: 30px;
  margin: 0 0 75px 0;
}

.cta a {
  font-weight: bold;
  color: #343642;
  text-decoration: none;
  text-transform: uppercase;    
}

.cta a.link {
  font-size: 0.875em;
}

.cta a.link:hover {
  font-style: italic;
}

.cta-research   { background: transparent url('../images/g-cta-research.jpg') no-repeat; margin: 0 20px 0 0; }
.cta-investment { background: transparent url('../images/g-cta-investment.jpg') no-repeat; }
  
/* Regions */
  
  /* default region */
  #tnq #footer #contact-tnq { display: block; }

  /* Cairns Region */  
  #cairns-region { background: #fbf2f3 url('../images/cairns/i-body.gif') repeat-x; }
  #cairns-region #header { background-image: url('../images/cairns/i-content-t.png'); }
  #cairns-region #content ul.breadcrumbs { background-color: #CB5F6B; }
  #cairns-region #content { background-image: url('../images/cairns/i-content-m.png'); }
  #cairns-region #content .text-area { background-image: url('../images/cairns/i-title.gif'); }
  #cairns-region #sub-nav a:hover, #cairns-region #sub-nav a.current { background: #cb5f6b url('../images/cairns/i-subnav-hover.gif') repeat-x left bottom; }
  #cairns-region #footer { background-image: url('../images/cairns/i-footer.png'); }
  #cairns-region #sub-nav ul ul { background: #cb5f6b url('../images/cairns/i-subnav-hover.gif') repeat-x left bottom; }
  #cairns-region #sub-nav ul ul a { background: none; color: #fff; }
  #cairns-region #sub-nav ul ul a:hover { color: #ccc; }
  #cairns-region #footer #contact-cairns-region { display: block; }
  
  /* Tablelands */  
  #tablelands { background: #edf4e5 url('../images/tablelands/i-body.gif') repeat-x; }
  #tablelands #header { background-image: url('../images/tablelands/i-content-t.png'); }
  #tablelands #content ul.breadcrumbs { background-color: #89B655; }
  #tablelands #content { background-image: url('../images/tablelands/i-content-m.png'); }
  #tablelands #content .text-area { background-image: url('../images/tablelands/i-title.gif'); }
  #tablelands #sub-nav a:hover, #tablelands #sub-nav a.current { background: #89b655 url('../images/tablelands/i-subnav-hover.gif') repeat-x left bottom; }
  #tablelands #footer { background-image: url('../images/tablelands/i-footer.png'); }  
  #tablelands #sub-nav ul ul { background: #89b655 url('../images/tablelands/i-subnav-hover.gif') repeat-x left bottom; }
  #tablelands #sub-nav ul ul a { background: none; color: #fff; }
  #tablelands #sub-nav ul ul a:hover { color: #ccc; }
  #tablelands #footer #contact-tablelands { display: block; }
  
  /* Cassowary Coast */  
  #cassowary-coast { background: #f0f5f7 url('../images/cassowary/i-body.gif') repeat-x; }
  #cassowary-coast #header { background-image: url('../images/cassowary/i-content-t.png'); }
  #cassowary-coast #content ul.breadcrumbs { background-color: #348899; }
  #cassowary-coast #content { background-image: url('../images/cassowary/i-content-m.png'); }
  #cassowary-coast #content .text-area { background-image: url('../images/cassowary/i-title.gif'); }
  #cassowary-coast #sub-nav a:hover, #cassowary-coast #sub-nav a.current { background: #348899 url('../images/cassowary/i-subnav-hover.gif') repeat-x left bottom; }
  #cassowary-coast #footer { background-image: url('../images/cassowary/i-footer.png'); }
  #cassowary-coast #sub-nav ul ul { background: #348899 url('../images/cassowary/i-subnav-hover.gif') repeat-x left bottom; }
  #cassowary-coast #sub-nav ul ul a { background: none; color: #aecfd6; }
  #cassowary-coast #sub-nav ul ul a:hover { color: #fff; }
  #cassowary-coast #footer #contact-cassowary-coast { display: block; }
  
  /* Cook */  
  #cook { background: #f2f1f4 url('../images/cook/i-body.gif') repeat-x; }
  #cook #header { background-image: url('../images/cook/i-content-t.png'); }
  #cook #content ul.breadcrumbs { background-color: #767899; }
  #cook #content { background-image: url('../images/cook/i-content-m.png'); }
  #cook #content .text-area { background-image: url('../images/cook/i-title.gif'); }
  #cook #sub-nav a:hover, #cook #sub-nav a.current { background: #767899 url('../images/cook/i-subnav-hover.gif') repeat-x left bottom; }
  #cook #footer { background-image: url('../images/cook/i-footer.png'); }
  #cook #sub-nav ul ul { background: #767899 url('../images/cook/i-subnav-hover.gif') repeat-x left bottom; }
  #cook #sub-nav ul ul a { background: none; color: #fff; }
  #cook #sub-nav ul ul a:hover { color: #ccc; }
  #cook #footer #contact-cook { display: block; }

/* Blog/News */

.post h2 a {
  text-decoration: none;
  color: #343642;
}

.blog-nav h2 {
  padding: 0 0 0 20px;
}

p.block-note
{
  width: 70%;
  padding: 1em;
  
  border: 1px solid #338697;
  background-color: #AECFD6;
  font-size: 0.8em;
}

/* CTAs Nav */

#sub-nav .cta-nav a {
  border: none;
  display: block;
  width: 160px;
  height: 90px;
  margin: 10px auto 0 auto;
  text-align: right;
  padding: 5px 10px;
}

#sub-nav a.cta-nav-research   { background: transparent url('../images/g-cta-research-s.png') no-repeat !important; } /* must me "important" to override region specific css */
#sub-nav a.cta-nav-investment { background: transparent url('../images/g-cta-investment-s.png') no-repeat !important; }  /* must me "important" to override region specific css */

