/*  
Theme Name: CBM
Theme URI: http://sww.co.nz/
Description: Custom theme for CBM.
Version: 1.0
Author: Aidan Curran
Author URI: http://sww.co.nz/
*/

html,body {
	margin:0;
	padding:0;
   text-align: center;
}
body {
   background: #58585A;
   font-family: "Arial", Helvetica, sans-serif;
   font-size: 13px;
   color: #000000;
}
div {
   text-align: left;
}
h1, h2, h3, h4 {
   color: #b01016;
   line-height: 170%;
}
h1 {
   font-size: 20px;
   margin: 15px 0;
}
h2 {
   font-size: 18px;
   margin: 3px 0;
}
h3 {
   font-size: 16px;
   margin: 3px 0;
}
h4 {
   font-size: 14px;
   margin: 3px 0;
}
a {
   color: #0000ff;
}
a:hover {
   color: #6C00FF;
}
img {
   border: 0;
}
img.centered {
   display:block;
   margin: 5px auto 10px auto;
   text-align: center;
}
#page {
   width: 858px;
   margin: 20px auto 0 auto;
   background: #ffffff;
}
#header {
   background: url(images/banner.gif) left top no-repeat;
   padding: 150px 18px 10px 18px;
}
#nav1 {
   color: #464748;
   padding: 5px 15px;
}
#nav1 a {
   font-family: "Times New Roman", Times, serif;
   color: #464748;
   font-weight: bold;
   font-size: 15px;
   text-decoration: none;
   padding: 0 6px;
}
#nav1 a:hover, #nav1 a.current  {
   color: #B01016;
}

#nav2 {
   font-family: "Times New Roman", Times, serif;
   color: #FFFFFF;
   background: #464748;
   padding: 5px 15px;
   font-size: 20px;
   font-weight: bold;
}
#nav2 a {
   color: #FFFFFF;
   text-decoration: none;
   padding: 0 20px 0 6px;
}
#nav2 a:hover, #nav2 a.current  {
   color: #D07073;
}

#nav3 {
   font-family: "Times New Roman", Times, serif;
   color: #000000;
   background: #C8585C;
   padding: 5px 15px;
   margin-top: 2px;
   height: 17px;
}
#nav3 a {
   color: #000000;
   font-weight: bold;
   font-size: 13px;
   text-decoration: none;
   padding: 0 5px;
}
#nav3 a:hover, #nav3 a.current  {
   color: #FFFFFF;
}

#homeboxes {
   padding: 15px 0px 15px 13px;
}
#homeboxes img {
   padding: 4px;
}
.maincontent {
   margin-left: 39px;
   margin-right: 39px;
   padding-bottom: 1px;
}
#leftcol, #leftcolhome {
   float: left;
   width: 565px;
   margin-right: 16px;
}
#leftcolhome {
   width: 505px;
}
#rightcol, #rightcolhome {
   float:left;
   width: 190px;
   padding: 10px 15px;
   background: #ffffff;
   font-size: 13px;
}
#rightcolhome h1, rightcol h1 {
  line-height: 140%;
  margin-bottom: 0;
  }
#rightcolhome h1 a, #rightcol a {
   color: #b01016;
   font-size: 13px;
   text-decoration: none;
   margin-bottom: 0;
   line-height: 140%;
}
#rightcolhome h1 a:hover, #rightcol a:hover {
   text-decoration: underline;
}
#rightcolhome p {
   margin-top: 5px;
}

#footer {
   background: url(images/page-bottom.png) left top no-repeat;
   padding-top: 20px;
   width: 858px;
   margin: 0 auto 10px auto;
   text-align: center;
   font-size: 10px;
   color: #aaaaaa;
}
#footer a {
   color: #999999;
   text-decoration: none;
}
#footer a:hover {
   color: #ccc;
   text-decoration: underline;
}
.clear {
   clear: both;
}
p.strong {
   font-weight: bold;
}
h2.prodtitles a {
   color: #b01016;
}
.breadcrumb a {
   color: #b01016;
   text-decoration:none;
}
.breadcrumb a:hover {
   color: #f05056;
   text-decoration:underline;
}



/* WP Common Styles */
.editLink {
   text-align: center;
   padding: 5px 0 15px 0;
}
.editLink a, a.editLink {
   background: #e0e0e0;
   color: #777777;
   font-size: 10px; 
   border: 1px solid #999999;
   text-decoration: none;
   padding: 3px 5px;
}
.editLink a:hover, a.editLink:hover {
   background: #eeeeee;
   border: 1px solid #333333;
   color: #000000;
}
.postmetadata {
   color: #999;
   font-size: 10px;
   margin: 2px 0;
}

img.aligncenter {
   display: block;
   text-align: center;
   margin: 0 auto;
}
img.alignright {
   text-align: right;
   display: block;
   float: right;
   margin: 10px 0px 5px 15px;
}
img.alignleft {
   text-align: left;
   display: block;
   float: left;
   margin: 10px 20px 5px 0px;
}
.wp-caption-text,.wp-caption-dd {
   margin: 0;
   font-weight: bold;
   font-size: smaller;
   text-align: center;
}
.wp-caption {
   margin-right: 5px;
}
.more-link {
   display:block;
   text-align:right;
}
.linklove {
   display:none;
}
.aligncenter,
dl.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft {
	float: left;
}
.alignright {
	float: right;
}