/* Start of CMSMS style sheet 'JELayout' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Tahoma, Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 70.01%;
   line-height: 1em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div, table{
   margin: 0;
   padding: 0;
   vertical-align: baseline;
}

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

.photo-left {
 float: left;
 margin-right: 15px;
 margin-bottom: 5px;
 border: 0;
}

.photo-right {
 float: right;
 margin-left: 15px;
 margin-bottom: 5px;
 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: #336633; 
}

a:visited {
   text-decoration: none;
   background-color: inherit;
  color: #336633;                /* 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: #000000;
}


/*****************
basic layout 
*****************/
body {
   color: #000;
   margin: 0; /* gives some air for the pagewrapper */
   background: #5F2D0B;
}


/* center wrapper, min max width */
div#pagewrapper {
   border: 0;
   margin: 0 auto 0 auto;     /* this centers wrapper */
   width: 800px;
   color: #000;
}

#container {
   position: relative;
   width: 800px;
   margin: 0 auto 0 auto; 
   padding: ;
   background: url(uploads/images/pagewrapper-background.jpg) repeat-y top center;
}

.body-background {
   background: url(uploads/images/body-background.jpg) repeat-x top center;
}

/* ------------ Footer ------------ */


#footer-wrapper {
       position: relative;
	min-height: 235px;
	height: auto!important;
	height: 235px;
	width: auto;
	margin-top: 0px;
	text-align: center;
	margin-right: 0px;
	margin-left: 0px;
        background:#5F2D0B url(uploads/images/footer-background.jpg) no-repeat top center ;
        border-bottom: 1px #000 solid;
}
#footer {
	color: #FFF;
	font-size: 0.8em;
	min-height: 235px;
	height: auto!important;
	height: 235px;
        width: 800px;
        padding-left: 120px;
}
#footer .block {
        float: left;
	width: 210px;
	margin: 20px 0 0 0px;
}
#footer .cms {
	text-align: left;
	color: #FFF;
	margin: 20px 20px 0 20px;
        border: 0px;
}
/* ------------ Footer Links ------------ */
#footer ul {
	width: auto;
	text-align: left;
	margin-left: 20px;
	list-style: none;
	color: #FFF;

}
#footer ul ul {
	margin-left: 0px;
}
#footer ul li a, #footer ul li a:visited {
	color: #FFF;
	display: block;
	font-weight: normal;
	margin-bottom: 0.7em;
	text-decoration: none;
}

#footer ul li a:hover {
	color: #CC6600;
	display: block;
	font-weight: normal;
	margin-bottom: 0.7em;
	text-decoration: none;
}
#footer a {
	color: #FFF;
	text-decoration: none;
	font-weight: bold;
}
/* ------------ END LAYOUT ---------------*/

/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
   height: 277px; /* adjust according your image size */
   background: url(uploads/images/header-background.jpg) no-repeat;  
   margin: 0px;
}

div#header h1 a {
   display: none; 
/* you can set your own image here */
   background: #385C72 url(images/cms/logo1.gif) no-repeat 0 12px; 
   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 */
}

div#search {
   display: none;
   float: left;
   width: 150px;     /* enough width for the search input box */
   text-align:left;
   padding: 0;
   margin: 0;
}

div#search input {
   font-size: 95%;
   width: 180px;     /* enough width for the search input box */
   text-align:left;
   padding: 2px 0 2px 5px;
   margin: 0;
   color: #FFF;
   background: transparent;
   border: 0;
}

div.breadcrumbs {
   padding: 0px 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 90%;             
   margin: 5px 0 0 0 ;              /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border-bottom: 0px dotted #000;
   height: 10px;
   color: #336633;
}

div.breadcrumbs a:link, div.breadcrumbs a:visited { color: #FFF; font-size: 90%;}

div.breadcrumbs a:hover { color: red;  font-size: 90%;}

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

div#content {
   margin: 0; /* some air above and under menu and content */
   padding-top: 10px;
}

.content-background {
   position: relative;
  background: url(uploads/images/content-background.jpg) no-repeat;
   margin: 0; /* some air above and under menu and content */
   padding-bottom: 10px;
}

div#content-header {
   position: absolute;
   top: 210px;
   left: 270px;
   margin: 0; /* some air above and under menu and content */
   height: 60px;
   padding: 0px 20px 0px 10px;
   background: none;
   width: 500px;
}

div#main {
   position: relative;
   float: right;
   margin-left: 0px; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 20px; /* and some air on the right */
   margin-top: 10px;
   width: 500px;
   margin-bottom: 10px;
   vertical-align: top;
   padding: 0;
}

div#sidebar {
   float: left;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 220px;    /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX ie doublemargin bug */
   margin-right: 0;
   margin-top: 10px;
   padding: 0 10px;
   margin-left: 20px;
}

div#sidebar-content {
   position: relative;
   width: 225px;
   height: 225px;
   padding-bottom: 10px;
}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
   padding: 0;
   width: 250px;  /* make width smaller if there's padding, or it will get too wide for the floated divs in IE */
}

div#footer p a {
   color: #333; /* 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;
   margin: 0;
   border-bottom: 0px dotted black;
}

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

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




/********************
CONTENT STYLING
*********************/
div#content {
 
}

/* HEADINGS */
div#content h1 {
   font-size: 1.6em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
   color: #000000; 
   font-size: 1.4em; 
   text-align: left; 
/* some air around the text */
   padding-left: 0;
   padding-bottom: 1px;
   line-height: 1.3em;
/* and some air under the border */
   margin: 0 ;
}
div#content h3 {
   color: #000000; 
   font-size: 1.3em;
   line-height: 1.2em;
   margin: 0 0 0.5em 0;
   font-weight: bold;
}
div#content h4 {
   color: #000000; 
   font-size: 1.2em;
   line-height: 1.1em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   font-size: 1.1em;
   line-height: 1.0em;
   margin: 0 0 0.25em 0;
}
h6 {
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p, table p {
   font-size: 1em;
   margin: 0 0 0.8em 0;  /* some air around p elements */
   line-height:1.4em;
   padding: 0;
}
blockquote {
   border-left: 10px solid #CCC;
   margin-left: 10px;
}
pre {
   font-family: monospace;
   font-size: 1.0em;
}
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%;   /* smaller font size, as these are usually not so important data */
}

/* END TEXT */

/* LISTS */
div#main ul,
div#main ol,
div#main dl {
  font-size: 1.0em;
   line-height:1.4em;
   margin: 0 0 1.5em 0;
}
div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}
/* END LISTS */

#logofloat {
  position: absolute;
  z-index: 1;
  width: 302px;
  height: 136px;
  top: 10px;
  left: 150px;
}

#imagefloat-container {
   position: relative;
   width: 800px;
   height: 235px;
   margin: 0 auto 0 auto; 
   padding: 0;
}

#imagefloat {
  position: absolute;
  z-index: 2;
  width: 376px;
  height: 490px;
  bottom:  0px;
  left: -240px;
}

#imagefade {
  position: absolute;
  z-index: 2;
  width: 225px;
  height: 225px;
  border: 1px #000 solid;
left: 1px;
  top: 1px;
}

div#newsletter {
   z-index: 1;
   position: absolute;
   top: 70px ;
   left: 20px;
   display: inline;
   float: left;
   width: 230px;     /* enough width for the search input box */
   text-align:left;
   padding: 10px 10px 10px 10px;
   margin: 0;
   color: #000;
}

#flashPlayer {position: absolute; right: 5px; top: 80px; z-index: 1; width: 80px;}

.table-border {
  border-collapse: collapse;
}

.table-border td{
  border-collapse: collapse;
  border: 1px #000 solid;
}

/* End of 'JELayout' */

