/*
Theme Name: Allan Industries
Author: Kaleidoskope Design and Eric Daams
Author URI: http://www.kskope.com.au/ and http://ericnicolaas.com
*/

body {   
  background:url(../images/body_bg.png) repeat;  
  padding:0;
  margin:0;
  height:100%;
  font:81.25%/1.38em Arial, Helvetica, sans-serif;
  color:#6d6e70;
}

/* Structure
-------------------------------------*/
#wrapper {
  background:url('../images/wrapper_bg.png') repeat-x bottom;
  width:100%;  
  overflow:hidden;
  padding-bottom:40px;
}

#container {  
  width:950px;
  overflow:hidden;
  margin:0px auto;
  padding:0;  
  position:relative;
  min-height:100%;
}

#header {
  background:url('../images/header_bg.png') no-repeat 26px 0px;
  padding:0;
  margin:0 0 51px 0;  
  height:178px;
  border-bottom:2px solid #d7d0c9;
  width:100%;
}

#main {
  overflow:hidden;
  float:left;  
  width:622px;
  padding:0 28px 0 0;
  border-right:1px solid #c2b9b0;
  min-height:550px;
}

#sidebar {
  width:270px;
  padding:0 0 0 29px;
  float:left;
}

#footer {
  background-color:#00718e;
  height:72px;  
  padding:26px 0 0 0;
  margin:0;
  position:relative;  
  clear:both;
}

/* Header
-------------------------------------*/
#sitetitle {
  background:url('../images/logo.png') no-repeat;
  display:block;
  width:155px;
  height:103px; 
  position:relative;
  top:47px;
  left:31px;
  padding:0;
  margin:0;
}

#sitetitle a {
  display:block;
  width:100%;
  height:100%;
}

#navigation {
  float:right;
  font-weight:bold;
  font-size:1.23em;
}

#navigation ul {
  list-style-type:none;
  list-style-image:none;
}

#navigation li {
  background:url('../images/nav_divider.png') no-repeat left center;
  float:left;
  padding:0 0 0 22px;
  margin:0 0 0 4px; 
}

#navigation li.first {
  background:none;
}

#navigation li a {
  padding:5px 0 5px 0;  
}

#navigation .current_page_item a, 
.post-type-archive-project #menu-item-9 a {
  background:url('../images/hover_bg.png') no-repeat center bottom;
  color:#998b7d;
}


/* Homepage
-------------------------------------*/
.home #header {
  margin-bottom:2.23em;
}

.home #main {
  width:100%;
  font-size:1.1538em;
  line-height:1.33em;
  min-height:0;
}

.home #projects {
  float:left;
  width:100%;
  border-top:2px solid #d7d0c9;
  margin:2.23em 0 0 0;  
  padding:2em 0 0 0;
}

.home #projects,
.home #projects a, 
.home #projects h4 {
  color:#998b7d;
}

.home .project {
  margin-top:0;
}

/* Page content area
-------------------------------------*/
.section {
  width:100%;
  border-top:2px solid #d7d0c9;
  padding:1em 0;
  margin:2em 0;
}

.section-header {
  width:100%;
  overflow:hidden;
}

.section-header .alignright {
  position:relative;
  bottom:1em;
}

#main .column {
  width:310px;
  float:left;
}

.vertical-centre {
  display:table-cell;
  vertical-align:middle;
}

.home .vertical-centre {
  height:296px;
}


/* Projects
-------------------------------------*/
.post-type-archive-project #main {
  width:100%;
}

.post-type-archive-project .project {
  margin-top:1em;
}

.home #projects .project,
.post-type-archive-project .project {
  width:303px;
  float:left;
  margin-right:20px;
}

.post-type-archive-project .col-1 {
  clear:left;
}

.home #projects .last,
.post-type-archive-project .last {
  margin-right:0;
}

.post-type-archive-project .project h6 {
  color:#998b7d;
  margin:0.5em 0;
}

/* Contact Form
-------------------------------------*/
.gform_wrapper {
  overflow:hidden;
}

form {
  margin:1em 0;
}

form label, 
form input, 
form textarea {
  float:left;
}

form li.gfield {
  float:left;
  width:100%;
  margin-bottom:0.846em;
}

input, 
textarea {
  border:none;
  background-color:#fff;
  padding:6px 4px;
}

input {
  width:243px;
}

textarea {
  width:448px;
}

label {
  width:161px;
}

input.button {
  background-color:#9b8a7e;
  font-size:0.846em;
  text-transform:uppercase;
  color:#fff;
  height:26px;
  line-height:26px;
  padding:0 8px;
  width:auto;  
  margin-left:161px;
  cursor:pointer;
}


/* Sidebar
-------------------------------------*/
#sidebar, 
#sidebar a {
  color:#998b7d;
}

#sidebar h4 {
  margin-bottom:1.3em;
}

#sidebar img {
  max-width:262px;
  margin-bottom:20px;
  padding:none;
}


/* Footer
-------------------------------------*/
#footer {
  font-size:0.769em;  
  text-align:center;
}

#footer div {
  margin:0px auto;  
  width:950px;
}

#footer, 
#footer a {
  color:#fff;  
}

#footer address {
  display:inline;
  font-style:normal;
}

#footer a {
  text-decoration:underline;
}



/* Typography
-------------------------------------*/
h1 {
  font-size:1.53846em;
  color:#00718f;
  margin:1.35em 0 0.5em;
  font-weight:bold;
}

h2 {
  font-size:1.4615em;
  font-weight:bold;  
}

h3 {
  font-size:1.2308em;
  font-weight:bold;
}

h4 {
  font-size:1.1538em;
  font-weight:bold;
}

h5 {
  font-size:1.0769em;
  font-weight:bold;
}

h6 {
  font-size:1em;
  font-weight:bold;  
  color:#00718f;
  margin:1.23em 0;
}

p {
  padding:0.5em 0;
}


/* Images
-------------------------------------*/
img, 
.lightbox img {
  border:4px solid #fff;
}

img.feature {
  border:8px solid #fff;
}

.lightbox img {
  cursor:pointer;
}



/* Links
-------------------------------------*/
a {
  color:#00718f;
  text-decoration:none;
}

a:hover {
  color:#998B7D;
}

#sidebar a:hover, 
#projects a:hover {
  color:#00718E;
}

a.readmore {
  background:url('../images/readmore.png') no-repeat right center;  
  font-style:italic;  
  padding-right:14px;
}

#sidebar a.readmore, 
.home #projects a.readmore {
  font-size:1.1538em;  
  cursor:pointer;
}

#sidebar a.readmore {
  background-image:url('../images/readmore_brown.png');  
  padding-right:18px;
}

.home #projects a.readmore {
  background-image:url('../images/readmore_brown_thin.png');
}

a.readmore:hover {
  background-image:url('../images/readmore_brown_thin.png');
}

#sidebar a.readmore:hover, 
.home #projects a.readmore:hover {
  background-image:url('../images/readmore.png');
}


/* Miscellaneous
-------------------------------------*/
.hidden {
  position:absolute !important;
  clip:rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip:rect(1px, 1px, 1px, 1px);
  padding:0 !important;
  border:0 !important;
  height:1px !important;
  width:1px !important;
  overflow:hidden;
} 
/* credit: http://designfestival.com/when-and-how-to-visually-hide-content/ */