/*

Theme Name: Doug Jones Theme
Theme URI:
Description: Doug Jones website template, by Virgil Cameron
Author:
Author URI:
Version:

*/ 


/* ===================================================================*/
/* ==========================     Layout    ==========================*/
/* ===================================================================*/

body {
text-align:center; /*center hack*/
}
#wrap {
max-width: 75em;
margin:0 auto; /*center hack*/
text-align:left;
}
#header {
text-align:left;
}
#footer {
clear:both;
}

/*
===============The Dan Cederholm 3 Column Layout method==============\
            (Method derived from www.compasdesign.com)

We only use two columns for this design, but if we need three columns, we use the following guide:

Let's say we want the side columns to be 25% each. #sidebar-2 is easy, it will just have width:25%.
However, #sidebar will need a width defined based on it being within a <div> that has a width of 75%.
Its width needs to be 33%.

So, 33% of 75% = 25%

The width of #content will need to be the remainder. We will set it to 66%. The last 1% we split
between #content and #sidebar.

We'll create a small gutter by making the side columns fractionally smaller. This helps stop the 
layout from breaking in Internet Exporer: Change width of #sidebar-2 to 24%.

Final code would look like this:

#main-body {
float:left;
width:75%;
border: 1px solid red;
}

#content {
float:right;
width:66.5%;
overflow:hidden;
}

#sidebar {
float:left;
width:33.5%;
overflow:hidden;
}

#sidebar-2 {
float:right;
width:24%;
overflow:hidden;
margin-left:-3px; (----Expressely for IE, but will still occur for all browsers----)
}
======================================================================
*/

#main-body {
float:left;
width:100%;
}

#content {
float:right;
width:76%;
overflow:hidden;
}

#sidebar {
float:left;
width:24%;
overflow:hidden;
}

#sidebar-2{display:none;}

.inside {
padding:2px;
}


/* ===================================================================*/
/* ========================== Customisation ==========================*/
/* ===================================================================*/


* {
margin:0;
padding:0;
}
h1,h2,h3,h4,h5,h6,p,blockquote,form,label,ul,ol,dl,fieldset,address {
margin: 0.5em 0;
}
li,dd {
margin-left:0.5em;
}
fieldset {
padding:.5em;
}
body {
font: 70% Tahoma, Arial, Helvetica, sans-serif;
line-height:1.4em; /*Aids readibility*/
background: #FFFFFF url(images/bg.png) repeat-x;
color: #383838; 
}
a {
	color: #33ADDB;
	background-color: inherit;
}

a:hover {
	color: #575757;
	background-color: inherit;
}

h1 {
	font: bold 1.9em Arial, Sans-Serif;
	line-height:1.1em;
	color: #33ADDB;
	margin: 0;
	padding: 0.8em 0 1.2em 0;
}

/*h1 a {
	text-decoration: none;
}*/

h2 {
	margin: 0;
	padding: 1.5em 0 6px 0;
	font: 110% Arial, Sans-Serif;
	font-weight: bold;
	color: #33ADDB;
	text-transform: uppercase;
	background-color: inherit;
}

h2 a {
	color: #6AC65D;
	background-color: inherit;
	text-decoration: none;
}

h3{
font-size:1.3em;
line-height:1.3em;
}

h4{
font-size:1.2em;
line-height:1.2em;
}

h5{
font-size:1.1em;
line-height:1.1em;
}

h6{
font-size:1em;
line-height:1em;
font-weight:bold;
}

p {
	padding: 0.1em 0 1.3em 0;
	margin: 0;
}

#header {
height: 45px;
margin: 0; 
padding: 20px 0 0 5px;
/*border-top: 4px solid #000;*/
background: #FFF  url(images/headerbg.png) repeat-x bottom left;
color: #808080;
}
#sitename {
	float:left;
}
#site_description {
	clear: both;
}
#sitename h1 {
	margin:0;
	padding:0 0 0 10px;
    color: #fff;

}
#topcontent {
	float: right;
}
#title {
	width: 98%;
	padding: 0 0 0 5px;
	line-height: 28px;
	font-weight:bold;
	background: #239dcb url(images/hmleftbg_v2.gif) repeat-x;
	color: #FFFFFF;
}
#title h3 {
	margin:0;
	line-height: 28px;
}
#breadcrumbs a {
	color: #FFF;
	text-decoration: none;
	font-weight: bold;
	background-color: inherit;
}
#maincontent {
	border-left: solid 1px #e6e6e6;
	padding:0 1.5em 1.5em 1.5em;
    font-size: 105%;
    line-height: 135%;
    /*max-width: 500px;*/
}
#maincontent h4 {
	margin: 0;
	padding: 5px 0 10px 0;
	font: 97% Arial, Sans-Serif;
	font-weight: normal;
	text-transform: uppercase;
}
#maincontent ul{
    margin-left:2em;
}
#maincontent li {
    margin: 1.0em;
}

/*#maincontent h4 a {
	color: #6AC65D;
	padding: 5px;
}
#maincontent h4 a:hover{
	background-color: #31abd9;
	color: #ffffff;
	text-decoration: none;
}  */
.submenu {
    float: right;
    margin-right: 0;
    padding: 10px;
    padding-top: 12px;
    margin-top: 0;
    background-image: url(images/submenu_bak.png);
    background-repeat: no-repeat;
    background-position: top;
}
.submenu h4 {
    padding-top: 10px;
    font-weight: bold;
	margin: 0;
	padding: 5px 0 10px 0;
	font: 97% Arial, Sans-Serif;
	font-weight: normal;
	text-transform: uppercase;
    color: #ffffff;
}
.submenu h4 a {
	color: #ffffff;
	padding: 5px;
}
.submenu h4 a:hover{

	color: #ffffff;
	text-decoration: underline;
}

#left {
	width: 99.7%;
	text-align: center;
}
#left img {
	padding-top: 0px;
}
.moduletable_mainmenu{
margin-bottom:1em;
padding:0; /*the padding is removed so the menu fills the whole module box*/
/*border:1px #CCC solid;*/
}
.moduletable_mainmenu h3{
width:100%;
color:#fff;
padding:0.25em 0;
text-align:left;
font-size:1.1em;
margin:0;
/*now we have no padding in the module, we don't need the negative margins*/ 
/*border-bottom: 1px solid #CCC;*/
}
#navcontainer {
	padding:0;
	margin:0;
	background: #ebebeb url(images/hmrightbg.gif) repeat-x;
	color: #626262;
	line-height: 28px;
}
#navcontainer ul{
	list-style-type: none;
	list-style-image: none;
	margin: 0;
	padding: 0;
}
#navcontainer li{
	display: inline;
	margin:0;
	padding:0;
	margin-right: -5px;
}
#navcontainer li a{
	padding: 6px 8px 7px 8px;
	margin:0;
	color: #626262;
	text-decoration: none;
	font-weight:bold;
	border-left: 1px dotted #E2E2E2;
}
html>body #navcontainer li a {
width: auto;
}
#navcontainer li a:hover,a#active_menu:link,a#active_menu:visited{
background: #239dcb url(images/hmleftbg_v2.gif) repeat-x;
border-top: 1px solid #1A83AC;
border-left: none;
margin-right: 1px;
color: #FFFFFF;
}
/*.current_page_item {
	color: #FFFFFF;
	background: #ffffff;
}*/
#footer { 
	color: #999999; 
	background-color: #FFFFFF;
	padding: 10px 0 10px 0; 
	border-top: 1px solid #e6e6e6;
	font:11px Arial,Helvetica,sans-serif;
	text-align: center;
}
#main-body {
background: #FFFFFF;
}
#sidebar-2 {
background:#FFFFFF;
}

#content {
background: #FFFFFF;
}
#sidebar {
background: #FFFFFF;
}
#wrap{
background: #FFFFFF; /*No need for full-height Faux Columns with background images (eg: url(../images/threecol-r.gif) repeat-y 75% 0) because we've got a white background for all columns.*/
height:100%
}
/*No need for a wrap-inner, as we dont need Faux Columns, but if we did, here it is: #wrap-inner { background: url(../images/threecol-l.gif) repeat-y 25.125% 0; height:100%}*/

/*--------To prevent a problem with nested floats in IE/Win----------*/
/*--------Mac-modified Tan Hack Method----------*/
* html #wrap {height: 1%;} /* for IE/Win: addds a height dimension to the element */
*>html #wrap {he\ight: auto;} /* for IE5/Mac: leaves the hight as it was originally, as there is no problem with IE5/Mac */

a{
text-decoration:none;
}
a:hover{
text-decoration:underline;
}
#contactform_wrap {
	padding: 15px;
	width: 80%;
	background: #eff0f0;
}
#homepage_column1{
/*    float: left;
    width: 48%;*/
}
#homepage_column2{
    float: right;
    margin: 0 0 0 10px;
    padding-bottom: 0;
    width: 38%;
}
.highlight_box, #maincontent ul, #contactform_wrap {
    padding: 15px 25px 15px 25px;

    background-color: #F9F9F9;
    background-image: url(images/highlight_box_bak.png);
    background-position: left;
    background-repeat: repeat-y;
}
#maincontent ul li {
    list-style: none;
    padding: 0 5px 10px 5px;
    border-bottom: 3px solid #fff;
    /*word-wrap: break-word;*/
}
#homepage_column2 ul {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
}
#homepage_column2 ul li {
    list-style:  circle;
}

