/*  
Theme Name: ViaEnviroExpo.ca
Theme URI: http://www.viaenviroexpo.ca
Description: Theme for ViaEnviroExpo.ca
Version: 1.0
Author: Matthew Ruten, Geoff Donovan, Mighty.ca
Author URI: http://www.mighty.ca
*/


/* Initially set all padding/margin/borders to 0
to be set individually below. This gets rid of some
problems with cross-browser stuff. */
* {padding: 0; margin: 0; border:0;}

/* Begin Typography & Colors */
body {
	font-size: 11px; /* Resets 1em to 10px */
	font-family: Verdana, arial, Sans-Serif;
	color: #333;
	text-align: center;
	}

#page {
	/*background-color: white;*/
	/*border: 1px solid #959596;*/
	text-align: left;
	}

#header {
	/*background: #73a0c5 url('images/kubrickheader.jpg') no-repeat bottom center;*/
	}

#content {
	font-size: 11px;
	}

.widecolumn .entry p {
	font-size: 1.05em;
	}

.narrowcolumn .entry, .widecolumn .entry {
	line-height: 1.4em;
	}

.widecolumn {
	line-height: 1.6em;
	}

.narrowcolumn .postmetadata {
	text-align: center;
	}

.alt {
	background-color: #f8f8f8;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	}

#footer {
	/*background: #eee url('images/kubrickfooter.jpg') no-repeat top;*/
	background-color:#e9f5f8;
	border: none;
	}

small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
	}

h1, h2, h3 {
	font-family: Arial, verdana, Sans-Serif;
	font-weight: bold;
	}

h1 {
	font-size: 4em;
	text-align: center;
	}

h2 {
	font-size: 1.6em;
	}

h2.pagetitle {
	font-size: 1.6em;
	}

#sidebar h2 {
	font-family: 'Lucida Grande', Verdana, Sans-Serif;
	font-size: 1.2em;
	}

h3 {
	font-size: 1.3em;
	}

h1, h1 a, h1 a:hover, h1 a:visited {
	text-decoration: none;
	color: black;
	}

h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
	color: #333;
	}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
	text-decoration: none;
	}

.entry p a:visited {
	color: #b85b5a;
	}

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentlist li {
	font-weight: bold;
	}

.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	}

#sidebar {
	font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
	}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

a, h2 a:hover, h3 a:hover {
	color: #06c;
	text-decoration: none;
	}

a:hover {
	color: #147;
	text-decoration: underline;
	}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */



/* Begin Structure */
body {
	margin: 0;
	padding: 0;
	}

#page {
	/*background-color: white;*/
	margin: 81px auto;
	padding: 0;
	width: 980px;
	}

#header {
	/*background-color: #73a0c5;*/
	margin: 0;
	padding: 0px;
	/*height: 200px;*/
	width: 980px;
	color: white;
	}

.narrowcolumn {
	float: left;
	padding: 0 0 20px 45px;
	margin: 0px 0 0;
	width: 605px;
	}

.widecolumn {
	padding: 10px 0 20px 0;
	margin: 0;
	width: 980px;
	}

.post {
	margin: 0 0 40px;
	text-align: justify;
	}

.post hr {
	display: block;
	}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {
	clear: both;
}

.clear {
	clear: both;
}

#footer {
	padding: 0;
	margin: 0 auto;
	width: 966px;
	clear: both;
	}

#footer p {
	margin: 0;
	padding: 20px 0;
	text-align: center;
	}
/* End Structure */



/*	Begin Headers */
h1 {
	padding-top: 70px;
	margin: 0;
	}

h2 {
	margin: 30px 0 0;
	}

h2.pagetitle {
	margin-top: 30px;
	text-align: center;
}

#sidebar h2 {
	margin: 5px 0 0;
	padding: 0;
	}

h3 {
	padding: 0;
	margin: 30px 0 0;
	}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}
/* End Headers */



/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */



/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	}

html>body .entry li {
	margin: 7px 0 8px 10px;
	}

.entry ul li:before, #sidebar ul ul li:before {
	content: "\00BB \0020";
	}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 10px;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}
/* End Entry Lists */



/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px;
	text-align: center;
	}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
	}

#commentform #submit {
	margin: 0;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 3px;
	padding: 5px 10px 3px;
	list-style: none;
	}

.commentlist p {
	margin: 10px 5px 10px 0;
	}

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */



/* Begin Sidebar */
#sidebar
{
	/*padding: 20px 0 10px 0;*/
	/*margin-left: 700px;*/
	/*width: 260px;*/
	}

#sidebar form {
	margin: 0;
	}
/* End Sidebar */



/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}
/* End Various Tags & Classes*/



/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */







/* Start Custom Added EnviroExpo Styles */

p {
	margin:10px 0 10px 0;
}

/** Get rid of styles on <a name="asdfasdf"></a> **/
a.aname, a.aname:active, a.aname:hover, a.aname:visited {
	color:black;
	text-decoration:none;
}

#homeheader, #pageheader {position:relative;}

#pageheader #headerhome, #homeheader #headerhome {
	position:absolute;
	top:0px;
	left:0px;
	width:365px;
	height:110px;
}

#pageheader #headertaf, #homeheader #headertaf {
	position:absolute;
	top:0px;
	right:30px;
	width:250px;
	height:150px;
}

#homefooter {
    position:relative;
    min-height:300px;
	height: auto !important;
	height:300px;
}

#homefooter #footerlink1 {
    width:100px;
    height:40px;
    position:absolute;
    top:100px;
    left:290px;
}

#homefooter #footerlink2 {
    width:110px;
    height:40px;
    position:absolute;
    top:100px;
    left:395px;
}

#pagebottomboxes #footerlink1 {
    width:100px;
    height:40px;
    position:absolute;
    top:450px;
    left:290px;
}

#pagebottomboxes #footerlink2 {
    width:110px;
    height:40px;
    position:absolute;
    top:450px;
    left:395px;
}


/***** HOMEPAGE ********/

#page {
	/*border:1px solid red;*/
}

#content.homepage {
	width:685px;
	/*border:1px solid red;*/
	margin-left:58px;
}


#content #homeheader {
	/*border:1px solid red;*/
	height:160px;
}

#content #hometopnav {
	/*border:1px solid red;*/
	height:60px;
	padding-left:45px;
	padding-top:30px;
}

#content #hometopimg {
	/*border:1px solid red;*/
	height:300px;
	padding-left:100px;
	padding-top:20px;
}

#topslideshow.pics { 
	height: 268px; 
	width: 526px; 
	padding:0; 
	margin:0; 
	overflow: hidden 
}

#topslideshow.pics img { 
	height: 268px; 
	width: 526px; 
	padding: 0; 
	top:0; 
	left:0;
	z-index:-999;
}

#content #homeintroblock {
	/*border:1px solid red;*/
	height:182px;
	margin:0;
}

#content #homeintroblock #textcopy {
	/*border:1px solid red;*/
	margin:0 10px 10px 72px;
	height:135px;
	padding:0px 12px 5px 10px;
	overflow:scroll; /* toScrollOrNotToScroll */
	overflow:hidden;
}

#textcopy p {
    font-size:10px;
    margin-top:4px;
    margin-bottom:6px;
}

#content #homeblogposts {
	/*border:1px solid red;*/
	height:330px;
}

#content #homeblogposts #theposts {
	margin:56px 38px 0 60px;
	height:240px;
	padding:10px;
	overflow:scroll; /* toScrollOrNotToScroll */
	overflow:hidden;
}

#theposts p {
	display:inline;
}

#content #homephotos {
	/*border:1px solid red;*/
	height:300px;
	margin-top:60px;
}

#content #homephotos #bottomgallery {
	/*border:1px solid red;*/
	position:relative;
	margin:137px 70px 212px 87px;
	height:158px;
}

#bottomgallery .belt {
	position:absolute; /* don't change this */
	left:0;
	top:20px;
}

#bottomgallery .panel {
	float:left; /* don't change this */
	overflow:hidden;
	padding-right:39px;
	width:150px;
	height:115px;
}

#content #homefooter {
	/*border:1px solid red;*/
	height:80px;
}

#nav ul, #nav li {
	padding:0;
	margin:0;
	float:left;
}


#homesidebar {
	width:228px;
	/*border:1px solid white;*/
	float:right;
}

#homesidebar #homevideos {
	height:490px;
	margin-top:160px;
	padding-top:100px;
}

#homevideos #hvid1 {
	margin-left:44px;
	width:150px;
}

#homevideos #hvid2 {
	margin-left:44px;
	width:150px;
}

#homevideos #hvid3 {
	margin-left:44px;
	width:150px;
}

#homesidebar #homegetinvolved {
	/*border:1px solid blue;*/
	height:240px;

}

#homesidebar #homewinners {
	/*border:1px solid blue;*/
	height:645px;
}

#winnerinfo {
	display:block;
}

#winnerinfo1, #winnerinfo2, #winnerinfo3, #winnerinfo4, #winnerinfo5, #winnerinfo6  {
	margin:70px 5px 0 30px;
	height:400px;
	display:none;
}

#winnerinfo1 {
	display:block;
}

#winnerinfo1 img, #winnerinfo2 img, #winnerinfo3 img, #winnerinfo4 img, #winnerinfo5 img, #winnerinfo6 img {
	margin-left:40px;
	margin-top:20px;
	width:106px;
	height:120px;
}

#winname {
	text-align:center;
	font-weight:bold;
	margin-right:10px;
}

#winproject {
	margin-top:10px;
	font-size:10px;
}

#homewinners #winnerboxes {
	display:block;
	height:125px;
	margin:0px 5px 0 30px;
}

#winnerboxes div {
	display:inline;
	margin-left:5px;
	margin-right:5px;
	padding-top:10px;
	cursor:pointer;
	cursor:hand;
}

#homewinners #morelink {
	height:40px;
	text-align:right;
	margin-left:150px;
	margin-right:5px;
	font-weight:bold;
}

/*  Normal Page Content  */



#contentpage.contentpage {
	width:685px;
	/*border:1px solid red;*/
	margin-left:58px;
	min-height:1300px;
	height: auto !important;
	height:1300px;
}

#contentpage #pageheader {
	/*border:1px solid red;*/
	height:160px;
}

#contentpage #pagetopnav {
	/*border:1px solid red;*/
	height:60px;
	padding-left:28px;
	padding-top:30px;
}

#contentpage #pagebanner {
	/*border:1px solid red;*/
	height:150px;
}

#pagebanner img {
	margin-left:46px;
	margin-top:7px;
}

#pagebreadcrumbs {
	/*border:1px solid red;*/
	height:45px;
	padding:15px 0 0 46px;
	color:white;
}

#pagebreadcrumbs a, #pagebreadcrumbs a:active, #pagebreadcrumbs a:hover, #pagebreadcrumbs a:visited {
	color:white;
	font-weight:bold;
}

#contentarea {
	margin-left:15px;
	margin-top:25px;
}

#contentarea1 {
	font-size:16px;
	height:27px;
	background: url('/fr/wp-content/themes/viaenviroexpo.ca/images/contentbox-1.jpg') no-repeat;
}

#contentarea2 {
	margin-top:-31px;
	margin-bottom:-41px;
	padding:0 55px 5px 40px;
	background: url('/fr/wp-content/themes/viaenviroexpo.ca/images/contentbox-2.jpg') repeat-y;
}

#contentarea3 {
	font-size:16px;
	height:242px;
	background: url('/fr/wp-content/themes/viaenviroexpo.ca/images/contentbox-3.jpg') no-repeat;
}

#pagebottomboxes {
	height:524px;
	background: url('/fr/wp-content/themes/viaenviroexpo.ca/images/bottomboxes-mid.jpg') no-repeat;
	position:relative;
}

#pagebottomboxes #relatedinfo {
	width:269px;
	height:141px;
	position:absolute;
	left:14px;
	top:95px;
	padding:7px;
	overflow:hidden;
}

#pagebottomboxes #latestnews {
	width:269px;
	height:141px;
	position:absolute;
	right:38px;
	top:95px;
	padding:7px;
	overflow:hidden;
}

#latestnews .date {
    font-style:oblique;
    font-size:13px;
}

#latestnews a, #latestnews a:active, #latestnews a:visited, #latestnews a:hover {
    color:black;
    font-size:13px;
    font-weight:bold;
}

#pagesidebar {
	width:230px;
	/*border:1px solid white;*/
	float:right;
}

#pagesidebar #pagesidenav1 {
	height:158px;
	background: url('/fr/wp-content/themes/viaenviroexpo.ca/images/page-rightbar-1.jpg') no-repeat;
}

#pagesidenav1 #sidefrench {
	float:right;
	position:relative;
	top:55px;
	right:20px;
}

#homesidebar #sidefrench {
	float:right;
	position:relative;
	top:55px;
	right:20px;
}

#pagesidebar #pagesidenav2 {
	margin-top:0px;
	margin-bottom:0px;
	padding:5px 15px 10px 15px;
	background: url('/fr/wp-content/themes/viaenviroexpo.ca/images/page-rightbar-2.jpg') repeat-y;
}

/* accordian menu rightnav */
#rightmenuacc a.acchead, #rightmenuacc a.acchead_nochildren {
	display:block;
	font-weight:bold;
	font-size:12px;
}

#rightmenuacc a, #rightmenuacc a:visited, #rightmenuacc a:hover, #rightmenuacc a:active {
	color:black;
}

#rightmenuacc li a, #rightmenuacc li {
	list-style-type:none;
	margin-left:0px;
}

#rightmenuacc li ul li {
	list-style-type:none;
}

#rightmenuacc li ul {
	margin-left:20px;
}

#rightmenuacc li ul li ul li {
	list-style-type:none;
}

#rightmenuacc li ul li ul {
	margin-left:15px;
}

li.current_page_item > a {
	font-weight:bold;
}

#pagesidebar #pagesidenav3 {
	font-size:16px;
	height:31px;
	background: url('/fr/wp-content/themes/viaenviroexpo.ca/images/page-rightbar-3.jpg') no-repeat;
	display:none;
}

#pagesidebar #pagesidenav4 {
	padding:0 15px 0 15px;
	background: url('/fr/wp-content/themes/viaenviroexpo.ca/images/page-rightbar-4.jpg') repeat-y;
	display:none;
}

#pagesidebar #pagesidenav5 {
	font-size:16px;
	height:145px;
	background: url('/fr/wp-content/themes/viaenviroexpo.ca/images/page-rightbar-5.jpg') no-repeat;
}

#pagesidebar #pageotherresources {
	height:346px;
	background: url('/fr/wp-content/themes/viaenviroexpo.ca/images/bottomboxes-side.jpg') no-repeat;
	padding:90px 15px 0px 15px;
	display:none;
}

#pagesidebar #pagetagcloud {
	/*border:1px solid blue;*/
	height:600px;
}



#pagefooter {
	background: #545e62 url('/fr/wp-content/themes/viaenviroexpo.ca/images/footerimg.jpg') no-repeat top center;
	height:350px;
}



/* End Custom Added EnviroExpo Styles */






