/* Start of CMSMS style sheet 'BHG Layout: Left sidebar + 1 column' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
html { /* This forces the vertical scrollbar, preventing a page "jog" */
	/* IE */
	overflow-y: scroll; 
	/* Moz */
	height: 100%;
	margin-bottom: 0.0001em;
}

* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1em;
   background: #ffffff url(media/images/backgrounds/bhgcreative_final_background.png) repeat 0 0;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: none;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit; 
   color: #076324; 
}

a:visited {
   text-decoration: none;
   background-color: inherit;
  color: #076324;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   background-color: transparent;
   color: #987F61;
}

/*****************
basic layout 
*****************/
body {
   background-color: #FFFFFF;
   color: #000000;
   margin-top:1em;    /* gives some air for the pagewrapper */
}

/* center wrapper, min max width */
div#pagewrapper {
   border: 0px solid black;
   margin: 0 auto;       /* this centers wrapper */
   max-width: 1000px;   /* IE wont understand these, so we will use javascript magick */
   min-width: 1000px;
 /*  background: transparent url(media/images/backgrounds/BHG_Logo.png) no-repeat left bottom; */
   color: black;
   position: relative;
   min-height: 754px;   
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
div#header {
   height: 80px;    /* adjust according your image size */
   background: transparent;           
}

div#header h1 a {
/* you can set your own image here */
   display: block;
   height: 80px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

/* position for the search box */
div#search {
   float: right;
   width: 27em;    /* enough width for the search input box */
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em;
}

div.breadcrumbs {
   padding: 1em 0 1.2em 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 90%;        /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   margin: 0 1em;        /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border-bottom: 1px dotted #000;
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 } 


div#main {
     width: 500px;
    position: absolute;
     left: 150px;
   top: 130px;
    border: 1px solid #000000;
   overflow: visible;
}

div#sidebar {
   float: right;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 200px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left: 0;
    position: absolute;
}

#footer {
   clear: both;       /* keep footer below content and menu */
   color: #ffffff;
   background-color: transparent; /* same bg color as in header */
   position: absolute;
   left: 10px;
   top: 397px;
   width: 160px;
   z-index: 100;
}

div#footer p {
   font-size: 0.8em;
   padding: 10px 20px 10px 0px;       /* some air for footer */
   text-align: right;  /* centered text */
   margin: 0;
}

div#footer p a {
   color: #a5d1a8; /* needed becouse footer link would be same color as background otherwise */
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 1em;
   border-bottom: 1px dotted black;
   margin: 1em;
}

/* relational links under content */
div.left49 {
  width: 49%; /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}


#container {
	position: absolute;
	top: 380px;
	left: 234px;
	
width: 800px;
	height: 250px;
	background: transparent;
	overflow: hidden;
z-index: 100;
    border: 0px solid black;
}

#container_expand {
	position: absolute;
	top: 380px;
        left: 204px;
width: 870px;
padding-left: 0px;
	background: transparent;
z-index: 100;
    border: 0px solid black;
background: transparent url(media/images/backgrounds/ver11/rippedback2_03.png) no-repeat bottom left;
margin-bottom: 0px;
}

#container_community_expand {
	position: absolute;
	top: 380px;
        left: 204px;
width: 870px;
padding-left: 0px;
	background: transparent;
z-index: 100;
    border: 0px solid black;
background: transparent url(media/images/backgrounds/ver11/rippedback2_03.png) no-repeat bottom left;
margin-bottom: 0px;
}

#containerback_top {
position: absolute;
width: 870px;
height: 55px;
top: 331px;
left: 204px;
background: transparent url(media/images/backgrounds/ver11/rippedback2_01.png) no-repeat 0 0;
}

#containerback {
background: transparent url(media/images/backgrounds/ver11/rippedback2.png) repeat 0 0;
width: 870px;
height: 364px;
position: absolute;
top: 330px;
left: 204px;
}

#container2 {
	position: absolute;
	top: 345px;
	left: 204px;
	
width: 800px;
	height: 335px;
	background: transparent;
	overflow: hidden;
        padding: 30px;
background-color: transparent;
z-index: 100;
}

#homecontent {
	position: absolute;
	width: 200px;
       overflow: visible;
        left: 240px;
        top: 190px;
        cursor: hand;
}

#rippedbox1 {
        position: absolute;
	width: 290px;
       height: 300px;
	left: 251px;
        top: 3px;
       padding: 65px 55px 15px 50px;
        border: 0px solid #000000;
        background: transparent url(media/images/backgrounds/ver11/rippedback1.png) no-repeat 0 0;
       line-height: 155%;
      font-size: 90%;
}

#sidebar_menubar {
      position: absolute;
       width: 190px;
       height: 350px;
       top: 59px;
       left: 0px;
       padding: 0px;
      font-size: 90%;
        border: 0px solid #000000;
        background: transparent url(media/images/backgrounds/ver11/rippedback3.png) no-repeat 0 0;
      z-index: 100;
}

.sidebar_header {
font-weight: bold;
text-align: left;
}

.sidebar_spacing {
padding: 50px 38px 0px 24px; 
}


.sidebar_header {
font-weight: bold;
text-align: left;
padding-bottom: 5px;
line-height: 100%;
}

#sitelink {
     position: absolute;
     left: 340px;
     top: 415px;
     z-index: 100;
}

#content {
	position: relative;
	width: 800px;
       overflow: visible;
}

#content_expand {
width: 790px;
background: transparent url(media/images/backgrounds/ver11/rippedback2_02.png) repeat-y 0 0;
padding-left: 40px;
padding-right: 40px;
}

#content_community_expand {
width: 790px;
background: transparent url(media/images/backgrounds/ver11/rippedback2_02.png) repeat-y 0 0;
padding-left: 40px;
padding-right: 40px;
}

#content2 {
	width: 800px;
        border: 0px solid black;
        padding-left: 5px;
}

p {
	font: normal 10px/14px arial,helevetica,san-serif;
}

#scrollArea {
	position: absolute;
	left: 1030px;
	top: 380px;
	height: 250px;
	width: 8px;
	border: 1px solid #076324;
	overflow: hidden;
        z-index: 100;
        cursor: pointer;
        cursor: hand;
}

#scroller {
	position: absolute;
	top: -1px;
	width: 8px;
	background: #076324;
	border-top: 1px solid #076324;
	border-bottom: 1px solid #076324;
        cursor: pointer;
        cursor: hand;
}

#navigation_menu {
/*       position: absolute;
      top: 20px;
      left: 266px;      */
}

#search {position: absolute; top: 10px; right: 0px; color: #A5D1A8; line-height: 120%;}

#sideways_rippedbox {
width:250px; position: absolute; top: 230px; right: 0px; background: transparent url(media/images/backgrounds/ver11/rippedback4.png) no-repeat 0 0; padding: 17px 20px 20px 20px; height: 50px;
}

#headerbox {
width:220px; position: absolute; top: 10px; right: 40px; background: transparent url(media/images/backgrounds/ver11/headerinfoback.png) no-repeat 0 0; padding: 32px 60px 20px 42px; height: 180px; font-size: 90%;
}



/*************

**************/



/********************
CONTENT STYLING
*********************/

/* HEADINGS */
h1 {
   font-size: 1.6em; /* font size for h1 */
   padding: 4px 8px 4px 0px;
   margin: 0.5em 0 .5em 0;
   background-color: black;
   color: white;
   padding-left: 0px;
   font-weight: normal;
   text-transform: uppercase;
}

h1 strong {
   background-color: white;
   color: #076324;
   padding: 5px 7px 5px 0px;
   font-size: 120%;
}

#sidebar_menu h2 {
   padding: 3px 2px 3px 0px;
text-align: left; 
        font-size: 1em;
   background-color: black;
   color: white;
   font-weight: normal;
   text-transform: uppercase;
}
#sidebar_menu h2 strong{
   padding: 3px 5px 3px 0px;
  background-color: white;
   color: #076324;
}

#sidebar2 h2 {
   padding: 3px 2px 2px 6px;
text-align: left; 
        font-size: 1.2em;
   background-color: black;
   color: white;
   font-weight: normal;
   text-transform: uppercase;
}
#sidebar2 h2 strong{
   padding: 4px 5px 3px 0px;
  background-color: white;
   color: #076324;
}

#content_expand h2 a {color: white;}
#content_expand h2 a:visited {color: white;}
#content_expand h2 a:hover {color: #987F61;}

#content_expand h3 a {color: white;}
#content_expand h3 a:visited {color: white;}
#content_expand h3 a:hover {color: #987F61;}

#content_expand h4 a {color: white;}
#content_expand h4 a:visited {color: white;}
#content_expand h4 a:hover {color: #987F61;}

#content_expand h2 {
   padding: 5px 0px 5px 0px;
	text-align: left; 
/* some air around the text */
        font-size: 1.3em;
   line-height: 1.2em;
   background-color: black;
   color: white;
   font-weight: normal;
   text-transform: uppercase;
}

#content_expand h2 strong {
   background-color: white;
   color: #076324;
   padding: 5px 7px 5px 0px;
}

#content2 h3 {
   padding: 3px 0px 3px 0px;
   background-color: black;
   color: white;
   font-size: 1.0em;
   line-height: 1.0em;
   margin: 0 0 .5em 0;
   font-weight: normal;
   text-transform: uppercase;
}

#content2 h3 strong {
   background-color: white;
   color: #076324;
   padding: 3px 4px 3px 0px;
}
#content_expand h3 {
   padding: 3px 0px 3px 0px;
   background-color: black;
   color: white;
   font-size: 1.0em;
   line-height: 1.0em;
   margin: 0 0 .5em 0;
   font-weight: normal;
   text-transform: uppercase;
}

#content_expand h3 strong {
   background-color: white;
   color: #076324;
   padding: 3px 4px 3px 0px;
}

#sidebar_header h3 {
   padding: 3px 10px 3px 0px;
   background-color: black;
   color: white;
   font-size: 1.0em;
   line-height: 1.0em;
   margin: 0 90px 5px 0;
   font-weight: normal;
   text-transform: uppercase;
}

#sidebar_header h3 strong {
   background-color: white;
   color: #076324;
   padding: 3px 4px 3px 0px;
   font-size: 120%;
}

#content_expand h4 {
   padding: 5px 0px 5px 0px;
   background-color: black;
   color: white;
   font-size: 1.4em;
   line-height: 1.3em;
   margin: 0 0 1em 0;
   font-weight: normal;
   text-transform: uppercase;
}

#content_expand h4 strong {
   background-color: white;
   color: #076324;
   padding: 5px 8px 5px 10px;
   text-transform: uppercase;
}

#content_expand h5 {
   padding: 5px 0px 5px 10px;
   color: #076324; 
   font-size: .2em;
   line-height: 1.3em;
   margin: 0 0 .75em 0;
   font-weight: normal;
   text-transform: uppercase;
}

#content_expand h5 strong {
   background-color: white;
   color: #076324;
   padding: 5px 7px 5px 10px;
   text-transform: uppercase;
}

#content_expand h6 {
   padding: 5px 0px 5px 10px;
   background-color: black;
   color: white;
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
   font-weight: normal;
   text-transform: uppercase;
}

#content_expand h6 strong {
   background-color: white;
   color: #076324;
   padding: 5px 7px 5px 10px;
   text-transform: uppercase;
}

/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 0em 0; /* some air around p elements */
   line-height: 1.4em;
   padding-bottom: 10px;
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;


}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */
ul,
ol,
dl {
  list-style-type: none;
}

div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
  list-style-type: none;

}

#sidebar2 ul li {margin-bottom: 20px;}
#sidebar2 ul li li {margin-bottom: 3px;}
#sidebar2 h2 {margin-bottom: 6px;}

/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}


/* END LISTS */
/* End of 'BHG Layout: Left sidebar + 1 column' */

