/*
Theme Name: Adventure Challenge
Theme URI: http://adventurechallenge.ca/
Description: 
Version: 1.0
Author: Thomas Marshall
Author URI: 
Tags:

*/


/* Site Structure */

/* TWO COLUMN LAYOUT */

body {
	text-align:center; /* IE6 needs this to center the layout in the browser window */
	}

#eventnav {
	width:980px; /* widths of columns will change proportionately as this width is changed */
	margin-left:auto;  /* centers layout in browser */
	margin-right:auto; /* centers layout in browser */
	text-align:left; /* resets the centering hack for IE6 on the body tag */
	margin-top:5px;
	padding-bottom:5px;
	height: 29px;
}

#main_wrapper {
	width:980px; /* widths of columns will change proportionately as this width is changed */
	margin-left:auto;  /* centers layout in browser */
	margin-right:auto; /* centers layout in browser */
	text-align:left; /* resets the centering hack for IE6 on the body tag */
	margin-top:5px;
	padding-bottom:5px;
}
#header {

	}

#menu {
	width: 750px;
	margin: auto;
	}
	

#thermo {
	width:22%; /* this width + content width must total 100% */
	float:right; /* floats on nav and content divs make them sit side by side */

	}
#content {
	float:left; /* floats on nav and content divs make them sit side by side */
	width:56%; /* this width + nav width must total 100% */
	top:0px;	
	}

#footer {
	clear:both; /* makes the footer sit below whichever column is longest */
	}
#header_inner, #content_inner, #promo_inner {
	overflow:hidden; /* clips oversize elements that would otherwise expand divs and break the layout */
	}
#header_inner {
}

#thermo_inner {
	padding:1em .5em; /* creates space between the box and the content */
	border-top: solid 5px;
	border-right: solid 10px;
	text-align: center;
	}

#content_inner { 
	padding:0 10px 10px 10px; /* creates space between the box and the content */
	border-top: solid 5px;
	border-left;
    min-height: 622px;            /* for modern browsers */
	}



#footer_inner {
	padding-top: 10px; /* creates space between the box and the content */
	text-align:center;
	}

#box {
width: 17%;
padding: 10px;
border-top: 5px solid;
border-bottom:10px solid;
border-right: 10px solid;
border-left: 10px solid;
float:left;
margin:0 0 0.3em 0;
}

#menu_box {
	margin: auto;
	margin-bottom: 5px;
	padding: 5px;
	}
	
#login_box {
	margin:auto;
	padding: 5px;
	}

#article_footer {
	width: 100%;
	border-top: 3px solid;
	border-bottom: 3px solid;
	padding-top: 2px;
	padding-bottom: 2px;
	margin-top: 5px;
	margin-bottom: 5px;
	margin-left:0;
	margin-right:0;
	}

#article_footer li.comments {
	background-image: url("images/balloon.gif");
	background-repeat:no-repeat;
	display:block;
	float:left;
	margin:0;
	padding-left: 20px;
	padding-right:2em !important;
}

#article_footer li {
list-style-type:none;
margin:0 0 0 20px;
padding:0;
text-align:right;
}


* {
	margin:0;
	padding:0;
	}
body {
	font: 1em Lucida, Arial, sans-serif; /* 1em = 16pts */
}
.float_left {float:left; margin: 0 .3em .3em 0;}      /* apply this class to any image or element with width - text will wrap it to the right */
.float_right {float:right;  margin: 0 0 .3em .3em;} /* apply this class to any image or element with width  - text will wrap it to the left */
.clearfloat {clear: both; font-size: 1px; height 0px; line-height: 0px;}


/* Site Colours, Fonts*/

.nav {
	padding: 0 5px;
	}

a.cultus {
	background-image: url("images/cultus.jpg");
	height: 29px;
	width: 112px;
	display: block;
	}
	
a.cultus:hover {
background: url("images/cultus.jpg");
background-position: -112px 0;
width: 112px;
height: 29px;
display: block;

}


a.northvan {
	background-image: url("images/northvan.jpg");
	width: 168px;
	height: 29px;
	display: block;
	}	

a.northvan:hover {
background: url("images/northvan.jpg");
background-position: -168px 0px;
width: 168px;
height: 29px;
display: block;
}

a.virtualrace {
	background-image: url("http://www.adventurechallenge.ca/wp-content/uploads/2011/08/virtualrace.jpg");
	height: 29px;
	width: 112px;
	display: block;
	}
	
a.virtualrace:hover {
background: url("http://www.adventurechallenge.ca/wp-content/uploads/2011/08/virtualrace.jpg");
background-position: -112px 0;
width: 112px;
height: 29px;
display: block;

}


body {background-image: url("images/stripe.png");}

#main_wrapper {background: #666666;}

#box {
	/*background-color: #FFEE00;*/
	border-color: #666666;
	text-align: center;
	}

#content {}

#footer {}

#content_inner {
	background-color: white;
	border-color: #666666;
	}

#menu_box {
	text-align: center;
	background-color: #FFFF99;
}

#menu_box a {
	color: black;
	text-decoration: none;
	font-weight: bold;
	}
	
#login_box {
	text-align: left;
	background-color: #FFFF99;}	

#login_box a {
	font-size: .6em;
	text-decoration: none;
	color: black;
	}
	
#thermo_inner {
	border-color: #666666;
	background-color: white;
	text-align: center;
	}

#article_footer {
	border-color: #FFFF99;
	}


h1, h2, h3, h4, h5, h6, ul, ol, dl {
	font-family: 'Trebuchet MS', Verdana,  serif;
	} 

/* TEXT COLORS */

h1.postheader {
	padding: 15px 0px 0;
	color: #F7931E;
	}

h1, h2, h3, h4, h5, h6, p {
	color: #333333;
	}

h4.comments {
	padding: 10px 0;
	}

#login_box h4 {
	padding-bottom: 3px;
	}

#login_box h4, #login_box h6 {
	color: #4d4d4d;
	}

ul, ol, dl, blockquote, cite {
	color:#808073;
	}

#footer p {
	margin:0;
	}


/* FONT SIZES */
h1 {font-size:1.5em; /* 24pt */
	}
h2 {font-size:1.375em; /* 22pt */
	line-height:1.25;
	}
h3 {font-size:1.125em; /* 18pt */
	line-height:1.25;
	}
h4 {font-size:1.125em; /* 18pt */
	}
h5 {font-size:1em; /* 16pt */
	}
h6 {font-size:.875em; /* 14pt */
	padding: 0 0 .5em;
	}

	
h1, h2, h3, h4, h5 {
	padding: .75em 0 .5em;
	}
	
p  {
	font-size:.8em; /* 12pt */
	line-height:1.25; /* on 15pt */
	margin: 0 .75em .5em .75em; /* 12pts of space */
 	}

a {	
	color: #F7931E;
	text-decoration: none;
	
	}

table, form {
	font-size: 10pt;
	}

a:hover {
	color: lightgrey;
	text-decoration:none;
	}

img.alignleft {
	float: left;
	padding: 5px 5px 5px 0;
	}

img.alignright {
	float: right;
	padding: 5px 0px 5px 5px;
	}

img.aligncenter {
	
	padding: 5px 5px 5px 5px;
	}
	
img.sidebar {
	padding: 5px 0;
	}

.fb_share_link  {
	background:transparent url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif?7:26981) no-repeat scroll left top;
	font-size:11px;
	color: #3B5998;
	padding: 2px 0 0 20px;
	}


/* basic list styling - more-styled lists in list.css */


.nav-previous {
	float: left;
	width: 50%;
}
.nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

ol.commentlist {
	list-style-type: none;
	font-size:1em;
	}

li.comment {
	background-color:#FFFFCC;
	border:1px solid yellow;		
	margin: 5px;
	padding: 5px;
	}
	
.commentmetadata {
	font-size: 12px;
	margin-bottom: 10px;
	}
.nocomments {
	color: #808073;
	font-family: 'Trebuchet MS', Verdana,  serif;
	
	}

.says{display:none;}

.vcard, a.vcard, cite.fn {
	font-size: 1.12em;
	font-style: normal;
	line-height: .9;
	}

ul, dl, ol {
		margin:0 1em .75em 1em; /* lists without specific classes */
		font-size:.8em;
		line-height:1.5;}
li, dd {
		padding:0em 0; /* lists without specific classes */
		margin-left:2em;
		}
dt {font-weight:bold;}

code {font-size:1.25em;}
* html code {font-size:1.1em;} /* default size is smaller in IE */
	
cite {
	font-size:.85em;
	font-style:italic;
	}
blockquote {
	border-top:2px solid;
	border-bottom:2px solid;
	width:50%;
	margin:1em 0 1em 20%;
	padding:.3em 1em;
	}
blockquote p {
	margin-bottom:.1em;
	}
blockquote p:before { /* IDWIMIE 6 and 7 */
	content: open-quote;
	color:#cccc8f;
}
blockquote p:after {  /* IDWIMIE 6 and 7 */
	content: close-quote;
	color:#366;
}
blockquote cite {
	font-size:.85em;
	}
abbr, acronym {
	border-bottom:1px dashed #000;
	cursor:default;
	}
address {
	margin:0 1em .75em 1em;
	}
img {
	border:0;
	}

/* THE ALSETT CLEARING METHOD */
	.clearfix:after {
 content: �.�;
 display: block; 
 height: 0;
 clear: both;
 visibility: hidden;
}
.clearfix {display: inline-table;}
/* backslash hack hides from IE mac \*/ LEAVE THIS COMMENT RIGHT HERE! 
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* end backslash hack */ 



/*Drop Down Menu*/

 div.multi_drop_menus * {
 margin:0; padding:0;     /* removes margin and padding off all list elements */
 }
/* SET YOUR PREFERENCES!!! */
/* set your menu's font and colors here - the MENU MECHANICS  follow below */

div.multi_drop_menus {
 
 behavior:url(stylesheets/csshover.htc);	/* you must link to the hover.htc file for this menu to work in IE6 and earlier */
								/* need a copy? go to http://www.xs4all.nl/~peterned/htc/csshover.htc - copy the code into a text file and save it as csshover.htc */
 font-family: 'Trebuchet MS', Verdana,  serif;   /* font family for menu */
 font-size:1em; /* size of menu's type relative to parent element */
 margin:0;
 background-color:transparent;    /* colors the div - div fills the parent element for a horizontal menu - set to background-color:transparent; if not needed */
 }
div.multi_drop_menus ul {
 	border-left:1px solid white;   /* creates dividing line to left of level 1's first menu item, revealing div color to left of menu */
	display:inline;						/* fixes margin-doubling bug in IE6 */
	
 	}
div.multi_drop_menus li {
 background-color: #666666;         /* background color of the level 1 menu items */
 border-right:1px solid white;   /* creates dividing lines to right of each horiz level 1 menu item *//* set to 0px to remove */
 }                						    /* border-right is automatically removed from vert menu below  */

div.multi_drop_menus li:hover {
 background-color: #4d4d4d;      /* background color of hovered menu items */
 }
 div.multi_drop_menus a {
 color: white;                     		/* sets the color of all menu type */
 padding:.2em 5px;           		/*creates space top/bottom and left/right respectively around each menu item's text - set vert height in ems   */
 }
 div.multi_drop_menus a:hover {
 color: white;        				 /* type color of a hovered menu choice */
 }
div.multi_drop_menus ul li ul {
 width:12em;   						/* sets the width of menu levels 2 - 4 */
 }
div.multi_drop_menus li li { 
 background-color: #7F7F7C;        /* background color of the level 2 menu */
 border-bottom:1px solid white; /* lines between menu choices - set to 0px if not wanted */
 }
div.multi_drop_menus ul li ul li ul  {
 border-top:1px solid #CCB;     /* set the border-top of levels 3 and 4 of a horizontal menu - set to 0px to remove - for a vertical menu, you will set this for levels 1 - 4 below */
 top:-1px; /* set to negative value of border-top for perfect pop-out alignment -set to 0 if border is 0 - don't remove! */
 } 
div.multi_drop_menus li li li { 
 background-color:#EEB;          /* background color of the level 3 menu */
 }
div.multi_drop_menus li li li li { 
 background-color:#DDA;         /* background color of the level 4 menu */
 }
  /* Want transparency on your menus? add the class 'transparent' to the multi_drop_menus div */
div.multi_drop_menus.transparent ul ul li {
 /* note: the lower the value, the greater the transparency */
  opacity:0.9; /* CSS3 - range 0 to 1 */     
  -moz-opacity:0.9; /* Firefox- range 0 to 1  */
  filter:alpha(opacity=90);  /* IE- range 0 to 100  */
  }
/* ADDITIONAL PREFS FOR VERTICAL MENU - NO NEED TO TOUCH THESE IF LEVEL 1 IS HORIZONTAL */
div.multi_drop_menus.vertical ul {
 border-top:1px solid #CCB;     /* set the border-top of level 1 of the vertical menu - broken out separately so it can be different from top border of other levels */
 }
div.multi_drop_menus.vertical li {
 border-bottom:1px solid #CCB;  /* adds horizontal lines between menu choices - overrides main setting above for this feature */
 }
div.multi_drop_menus.vertical ul ul  {
 border-top:1px solid #CCB;       /* set the border-top of levels 2 - 4 of a vertical menu - set to 0 to remove */
 top:-1px;            /* set to negative value of border-top for perfect pop-out alignment - set to 0 if border is 0 - don't remove!*/
 }
 
/* end vertical menu preferences */
/* END MENU PREFERENCES */
 
/* YOU ARE STONGLY ADVISED NOT TO MODIFY THE CODE THAT FOLLOWS : ) */
/* the menu mechanics start here */
div.multi_drop_menus {
	float:left;
 	width:100%;
	}
div.multi_drop_menus ul {
 float:left; /* makes ul wrap li */
font-size:1em; /* prevents inheritence from maiin text style sheet */
}
div.multi_drop_menus li {
 float:left;  /*causes the list to align horizontally instead of stack */
 list-style-type:none; /* removes the bullet off each list item */
 position:relative; /* positioning context for the absolutely positioned drop-down */
 }
div.multi_drop_menus a {
 display:block; /* makes link fill li so entire area is "hot" */
 text-decoration:none;  /* removes the underlining from the links */
 }
/* the horizontal menu ends here */
/* the drop-downs starts here */
div.multi_drop_menus ul li ul { 
 position:absolute;     /* positions the drop-down ul in relation to its relatively positioned li parent */
 border:0;         			/* stops inheritance from level 1 ul */
 margin-left:0px;        /* stops inheritance from level 1 ul */
 }
div.multi_drop_menus ul li ul li {
 width:100%;
 padding:0; /* stops inheritance */
 border-left:0; /* stops inheritance */
 border-right:0; /* stops inheritance */
 }
div.multi_drop_menus ul li ul {display:none;} /* conceals the drop-down when menu not hovered */
div.multi_drop_menus ul li:hover ul {
	display:block; /* shows the drop-down when the menu is hovered */
	z-index:1000; /* Safari needs this to display menu on top of other page elements */
	} 
/* pop-outs starts here */
body div.multi_drop_menus ul li ul li ul  {
 position:absolute; /* associated menu with parent li positioning context */
 visibility:hidden; /* ensures that level 3 menu is not reveal when level 2 is reveled */
 left:100%;
 top:-1px; /* aligns level 3 and 4 pop-out with previous level */
 }
div.multi_drop_menus ul li ul li:hover ul {visibility:visible;} /* shows level 3 menu when associated level 2 li is hovered */
/* second and third level popouts here*/
div.multi_drop_menus ul li ul li:hover ul li ul {visibility:hidden;} /* ensures that level 4 is not reveal when level 3 is reveled */
div.multi_drop_menus ul li ul li ul li:hover ul {visibility:visible;}  /* shows level 4 menu when associated level 3 li is hovered */
/* the drop-downs end here */
 
/* extra styles for the vertical menu */
div.multi_drop_menus.vertical ul {
 border-left:0px; /* removes the border of the level 1 ul that can be used in the horizontal menu */
 margin-left:0;         /* removes left margin that is available on horizontal menu */
 }
.vertical ul { /* took off the id so the ul ul width setting in prefs was more specific */
 width:100%; 
}
div.multi_drop_menus.vertical li {
 position:relative; /* positioning context for the level 2 menu */
 width:100%;         /* set width of level 1 menu - MUST match left value in ul ul selector below */
 clear:left; /* makes the main menu stack - note: turning off floating (alternative way to create stacking) causes spacing problems in IE */
 border-right:0; /* removes right borders used by horiz level 1 */
}
div.multi_drop_menus.vertical ul ul  {
 position:absolute; /* make ul position relative to parent li for all menu levels */
 left:100%;         /* align level 2 with level 1 - MUST match li width in selector above */
 top:-1px; /* aligns the level 2 pop-out */
 }
/* levels 2 -4 width */
div.multi_drop_menus.vertical li li {
}
div.multi_drop_menus.vertical ul ul ul {
 left:100%;          /* align level 2 with level 3 and 3 with 4 - MUST match li width in selector above */
 }
 /* END MENU MECHANICS */
 
/* inevitable hacks for IE6  and < */
* html div.multi_drop_menus {
 z-index:1; /* IE6 won't respect high z-index on abs-pos'd child (ul li ul) without this on its parent rel-pos'd element */
 }				/* see http://www.last-child.com/conflicting-z-index-in-ie6/ */
* html div.multi_drop_menus ul li ul {
  z-index:400; /*ensures menu is on top of other page elements */
 }
* html div.multi_drop_menus a {
/* cannot find a way to get the top level 'a' to fill the unwidthed menu choices without drop-down in IE : ( */
} 
* html div.multi_drop_menus.vertical a {
/* now hasLayout in IE - works on the vert menu as container has width */
 zoom:100%;
 } 
 * html div.multi_drop_menus ul ul a { /* second level of horiz menu */
 zoom:100%;  /* now IE 'haslayout" - IE now makes background hot in horizontal menus */
 } 
  /* info on haslayout: 
  http://www.sitepoint.com/forums/showpost.php?p=2041209&postcount=24
  http://onhavinglayout.fwpf-webdesign.de/hack_management/
   */
 /* END OF LIST-BASED MENU */
 
/*html, body {
	height: 100%;
	min-height: 100%;
}
 
#content_inner {
height: 100%;
min-height: 100%;
}*/
 
 
 
