/* Colours used
FFFFFF - white
CCCCCC - grey page background
FAFAFA - light grey, box shading
E5E5E5 - medium grey , lines and borders
666666 - dark grey, text

D4E59F - pale green, some hovers
728D26 - medium green, new main titles, some hovers
88AC0B - green, main column headers, old title colour XXX
68774A - sidebar text olive green
8EB50C - light green, input button

C6DDEE - pale blue, header/footer background
1773BC - medium blue, sidebar hover
*/

#wrap{
width: 820px;
background: #CCCCCC url(http://www.glebeca.ca/images/content2.jpg) repeat-y center top;
margin: 0 auto;
text-align: left;
}

#content-wrap{
clear: both;
width: 758px;
padding: 0; 
margin: 5px auto;
}

/* DISPLAY */
.clear {clear: both;}

/* TOP ELEMENTS */
* { margin: 0; padding: 0; outline: 0 }

body {
background: #CCCCCC;
font: 100%/1.1em Verdana, Tahoma, Arial, sans-serif; /*100%=16px, /value is line height*/
color: #666666; 
text-align: center;
}

/* TEXT */
p {font-size: 0.8em;} /*new*/
h1, h2, h3, h4 {font-family: 'Trebuchet MS', Tahoma, Sans-serif;}
h1 {font-size: 1.125em; font-weight: normal; color: #1773BC;}
h2 {font-size: 1.05em; text-transform: uppercase; color: #728D26;}
h3 {font-size: 0.9em; color: #666666;}
h1, h2, h3, h4, p {padding: 5px 5px 0px 5px; margin: 0;}

p.question{font-family: Verdana; font-style:italic; color: #68774A; }

ul, ol {margin: 5px 20px; padding: 0 20px;}
ul.lists{font-size: 0.8em;}

/* LINKS */
a, a:visited {text-decoration: none; color: #1773BC; background: inherit;}
a:hover {color: #728D26; background: inherit; text-decoration: none;}

/* IMAGES */
img.bordered {background: #FAFAFA; border: 1px solid #E5E5E5; padding: 5px;}
img.float-right {margin: 5px 0px 10px 10px;}
img.float-left {margin: 5px 10px 10px 0px;} 

/* ALIGNMENT */
.float-left  { float: left; }
.float-right { float: right; }
.align-left  { text-align: left; }
.align-right { text-align: right; }

/*MAIN HEADER AREA*/
#header{
width: 820px;
position: relative;
height: 130px; /* needs to match height of header image */
background: #CCCCCC url(http://www.glebeca.ca/images/header_130.jpg) no-repeat center top;
padding: 0;
color: #FFFFFF;
}

#header h1#logo-text {
position: absolute;
margin: 0; 
padding: 0;
font: bolder 32px 'Trebuchet MS', Arial, Sans-serif;
letter-spacing: -2px;
color: #FFFFFF;
text-transform: none;
text-decoration: none;
background: transparent;
top: 80px; 
left: 47px;	
}

#header p#slogan {
position: absolute;
margin: 0; 
padding: 0;
font: normal 20px 'Trebuchet MS', Arial, Sans-serif;
text-transform: none;
color: #FFFFFF;	
top: 70px; 
left: 50px;		
}

#header img#logo {
position: absolute;
background: transparent;
margin: 0; 
padding: 0;
top: 25px;
left: 47px;		
}

#header img#enviro {
position: absolute;
background: transparent;
margin: 0; 
padding: 0;
top: 50px; 
left: 675px;		
}

#header #header-links {
position: absolute;
top: 20px; 
right: 30px;	
color: #C6DDEE;
font-size: 0.875em
}

#header #header-links a {color: #FFFFFF; text-decoration: none;}
#header #header-links a:hover {color: #D4E59F;}

/* TOP NAV */
#menu {
clear: both;	
margin: 0 auto; 
padding: 0;
background: url(http://www.glebeca.ca/images/menu.jpg) repeat-x 0 0;	
/*font: bold 12px/37px Verdana, Arial, Tahoma, Sans-serif; - original values*/
font: bold 0.8em/3.1em Verdana, Arial, Tahoma, Sans-serif;
height: 37px;
width: 780px;	
}

#menu ul {float: right; list-style: none; margin:0; padding: 0;}
#menu ul li {display: inline;}

#menu ul li a {
display: block;
float: left;
padding: 0 10px;
color: #FFFFFF;	
text-decoration: none;
}

#menu ul li.last a {padding-right: 20px;}
#menu ul li a:hover {color: #D4E59F;}
#menu ul li#current a {color: #D4E59F;}

/* MAIN COLUMN */
#main {
float: left;
width: 69%;
/*width: 65%;*/
padding: 0px; 
margin: 0px 0px 5px 0px;
display: inline;
}

#main h2 {
margin: 0px 0px 0px 0px;
color: #728D26; 
padding: 10px 0px 0px 5px; 	
border-bottom: 1px solid #E5E5E5;
/*background: #FFF url(../images/square-green.png) no-repeat 3px 50%;*/
text-transform: none;
}

#main h2 a {background: none; color: #728D26; text-decoration: none;}
#main h3 {padding: 10px 5px 0px 5px; margin: 0;}
#main ul li {list-style-image: url(http://www.glebeca.ca/images/bullet.gif);}

.post-footer {
background-color: #FAFAFA;
padding: 1px 1px 1px 5px; 
margin: 5px 0px 5px 0px;
border: 1px solid #E5E5E5;
/* font-size: 95%; comment out to make font size same as body content*/
}


.post-footer .readmore {background: url(http://www.glebeca.ca/images/page.gif) no-repeat left center; padding-left: 20px; margin: 0 10px 0 0px;}
.post-footer .external {background: url(http://www.glebeca.ca/images/www.gif) no-repeat left center; padding-left: 20px; margin: 0 10px 0 5px;}
.post-footer .date {background: url(http://www.glebeca.ca/images/clock.gif) no-repeat left center; padding-left: 20px; margin: 0 10px 0 5px;}
.post-footer .comments {background: url(http://www.glebeca.ca/images/comment.gif) no-repeat left center; padding-left: 20px; margin: 0 10px 0 5px;}

/* SIDEBAR AREA */	
#sidebar {
float: right;
width: 29%;
padding: 0; 
margin: 0px 0px 5px 0px;;	
color: #68774A;
}

#sidebar h3 {color: #728D26; padding: 10px 0px 1px 5px; font: bold 1.05em 'Trebuchet MS', Tahoma, Sans-serif; }
#sidebar h4{color: #666666; padding: 5px 0px 1px 5px; font: bold .9em 'Trebuchet MS', Tahoma, Sans-serif; }

#sidebar ul.sidemenu {
list-style: none;
text-align: left;
margin: 7px 4px 8px 4px; 
padding: 0px;
text-decoration: none;		
background: url(http://www.glebeca.ca/images/dots.jpg) repeat-x left top;
font-size: 0.75em;
}

#sidebar ul.sidemenu li {
list-style: none;
background: url(http://www.glebeca.ca/images/dots.jpg) repeat-x left bottom;
padding: 4px 0 4px 5px;
margin: 0 2px;	
color: #68774A;	
}

 /* * html body #sidebar ul.sidemenu li {height: 1%;} - not really sure what this does */

#sidebar ul.sidemenu li a {text-decoration: none; background-image: none;	color: #666666;}
#sidebar ul.sidemenu li a:hover {color: #1773BC;}
#sidebar ul.sidemenu ul {margin: 0 0 0 5px; padding: 0;}
#sidebar ul.sidemenu ul li {background: none;}

/* FOOTER & UPDATED AREA */	
#footer {
color: #C6DDEE;
background: #CCCCCC url(http://www.glebeca.ca/images/footer.jpg) no-repeat center top;
clear: both;
width: 820px;
height: 65px;
text-align: center;	
}

#footer p {color: #FFFFFF;}
#footer a {color: #FFFFFF; text-decoration: none;}
#footer a:hover {color: #D4E59F;}

#updated {text-align: center; font-size: 0.875em;	color: #FFFFFF; text-decoration: none;}


/* MORE LESS CSS */
/* unclicked style div.more */
/*#outer div.more i {font-size: 0.8em; font-weight:bold; float:right; margin-right:-10px 10px 0 0; cursor:pointer; color:#c00; }*/
#outer div.more i {font-size: 0.8em; font-weight:normal; float:right; margin:-5px 0px 0px 0px; cursor:pointer; color:#C00000; }
#outer div.more i.hide {display:none;}
#outer div.more p {display:none;}
#outer div.more img {display:none;}

/* clicked style div.click */
#outer div.click i.show {display:none;}
#outer div.click i.hide {display:block;}
#outer div.click p {display:block;}


/* TABLES */
table {font-size: 0.8em; border-collapse: collapse; margin: 5px;}
th strong {color: #FFFFFF;}

th {
background: #728D26;
height: 30px;
padding-left: 10px;
padding-right: 10px;
color: #FFF;
text-align: left;
border-left: 1px solid #D4E59F;
border-bottom: solid 2px #FFFFFF;
}

tr {height: 30px;}

td {
padding-left: 10px;
padding-right: 10px;
border-left: 1px solid #FFFFFF;
border-bottom: solid 1px #FFFFFF;
}

td.first,th.first {border-left: 0px;}
tr.row-a {background: #FAFAFA;}
tr.row-b {background: #E5E5E5;}

/* FORMS */
form {
margin:10px; 
padding: 0 5px;
border: 1px solid #F2F2F2; 
background-color: #FAFAFA; 	
}

label {
display:block;
font-weight:bold;
margin:5px 0;
}

input {
padding:2px;
border:1px solid #E5E5E5;
font: normal 1em Verdana, sans-serif;
color:#777;
}

textarea {
width:400px;
padding:2px;
font: normal 1em Verdana, sans-serif;
border:1px solid #E5E5E5;
height:100px;
display:block;
color:#666666;
}

input.button { 
font: bold 12px Arial, Sans-serif; 
height: 24px;
margin: 0;
padding: 2px 3px; 
color: #FFFFFF;
background: #8EB50C url(http://www.glebeca.ca/images/button-bg.jpg) repeat-x 0 0;
border: none;
}



/* CUSTOM TAGS */
code {
margin: 5px 0;
padding: 10px;
text-align: left;
display: block;
overflow: auto;  
font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace ;
/* white-space: pre; */
background: #FAFAFA;
border: 1px solid #E5E5E5;  
}

blockquote{
margin: 10px;
padding: 0 0 0 28px;  
border: 1px solid #E5E5E5; 
background: #FAFAFA url(http://www.glebeca.ca/images/quote.gif) no-repeat 5px 5px;    
}


/* FORMS */
form {
margin:10px; 
padding: 0 5px;
border: 1px solid #F2F2F2; 
background-color: #FAFAFA; 	
}

label {
display:block;
font-weight:bold;
margin:5px 0;
}

input {
padding:2px;
border:1px solid #E5E5E5;
font: normal 1em Verdana, sans-serif;
color:#777;
}

textarea {
width:400px;
padding:2px;
font: normal 1em Verdana, sans-serif;
border:1px solid #E5E5E5;
height:100px;
display:block;
color:#666666;
}

input.button { 
font: bold 12px Arial, Sans-serif; 
height: 24px;
margin: 0;
padding: 2px 3px; 
color: #FFFFFF;
background: #8EB50C url(http://www.glebeca.ca/images/button-bg.jpg) repeat-x 0 0;
border: none;
}

/* IMAGE GALLERY */
.hoverbox{
cursor: default;
list-style: none;
}

.hoverbox a{
cursor: default;
}

.hoverbox a .preview{
display: none;
}

.hoverbox a:hover .preview{
display: block;
position: absolute;
top: -30px;
left: -30px;
z-index: 1;
}

.hoverbox img{
background: #fff;
border-color: #aaa #ccc #ddd #bbb;
border-style: solid;
border-width: 1px;
color: inherit;
padding: 2px;
vertical-align: top;
width:190px;
height:155px;
}

.hoverbox li{
background: #eee;
border-color: #ddd #bbb #aaa #ccc;
border-style: solid;
border-width: 1px;
color: inherit;
display: inline;
float: left;
margin: 3px;
padding: 5px;
position: relative;
}

.hoverbox .preview{
border-color: #000;
width:400px;
height:300px;
}

