/*
---------------------------
Math is Everywhere- styles
http://www.math.chedd-angier-lewis.com
author: Chedd-Angier-Lewis
version: 11 october 2008
---------------------------
*/


div, p, h1, h2, h3, h4 {
	margin: 0;
	padding: 0;
}

div, h1, h2, h3, h4, a, img {
	
}



#wholepage {
	position: relative;
	width: 850px;
	margin: 0 auto;
	padding: 0;
	text-align: left;
	background: #e0e0e0;
	color: #000;
	font-family: Arial, Helvetica, Sans-serif;
	font-size: 13px;
	line-height: 1.4em;
}


p{
	padding: 5px 0 5px 0;
	
}

a{
	text-decoration: none;
	color: #000;
}

h3 a:hover{
color: #59227C;
	
}

#titlebar{
	width: 850px;
	height: 108px;
	background-image: url("/images/math_titlebar_sm.jpg");
}


#sect1head{
	width: 850px;
	height: 48px;
	background-image: url("/images/sect1head_sm.jpg");
	margin-top: 1px;
}
#sect1content{
	width: 850px;

}


#sect2head{
	clear: both;
	width: 850px;
	height: 48px;
	background-image: url("/images/sect2head_sm.jpg");
	margin-top: 1px;
}

#sect3head{
	clear: both;
	width: 850px;
	height: 48px;
	background-image: url("/images/sect3head_sm.jpg");
	margin-top: 1px;
}


#videosummary{
	width: 380px;
	margin: 25px;
	float: left;
	background: #c9c9c9 url("/images/roundbar_top.jpg") top no-repeat;
display: inline;
	/* hack to fix IE double margin bug */

}

#toproundbar{
background: url("/images/roundbar_top.jpg") top no-repeat;
width: 380px;
height: 10px;	
}

#bottomroundbar{

background: url("/images/roundbar_bottom.jpg") top no-repeat;
width: 380px;
height: 10px;
	
}
#text1{
	padding: 30px;	
}

#text2{
	display: none;
	margin-top: -30px;
	padding: 0 30px 30px 30px;

}

#video{
	width: 400px;
	height: 328px;
	/*background: #c9c9c9;*/
	margin: 10px;
	float: left;
}

#videofade{
	width: 400px;
	height: 30px;
	background: url("/images/fadebar.jpg") top no-repeat;
	border: 1px dashed red;
}

#activity{
	float: left;
	display: block;
	height: 250px;
	width: 250px;
	padding: 10px;
display: inline;
	/* hack to fix IE double margin bug */

}



 #activity h3 a{
	border: none;
	display: block;
	height: 250px;
	width: 250px;

	background: url("/images/featuredactivity2.jpg")  no-repeat;
	background-position: 0 0;
}

 #activity h3 a:hover{
	border: none;
	display: block;
	height: 250px;
	width: 250px;

	background: url("/images/featuredactivity2.jpg")  no-repeat;
	background-position: 0 -250px;
}


#activity h3 span{
	display: none;
}
#discussion{
	float: left;
	width: 560px;
	padding: 10px;
	
	
}


#flashgame{
	display: none;
	text-align: center;
	padding-bottom: 15px;
}

#flashgame h3{
padding: 5px;
text-align: left;
}

#flashgame a:hover{
color: #39509b;
}

#flashgame ul{

	list-style: none;
	padding-left: 40px;
	
	
}

#flashgame li{
	list-style: none;
		display: inline;
		float: left;
		padding: 0 10px 5px 10px;
}

#flashgame li a{
	font-weight: bold;
	text-decoration: underline;
	
}
#flashgame li a:hover{
	color: #39509b;
	
}
#flashgame img{
	
	margin: 5px;
	border: 2px solid #39509b;
}


#links{
	clear: both;
	padding: 10px;
	
}

#links a{
	text-decoration: underline;
	color: #000;
	
}

#links a:hover{
	
	color: #8A2039;
}



#yourgameinhere {
	position: absolute;
	top: 0;
	left: 50%;
	width: 800px;
	height: 640px;
	margin-left: -448px;
	z-index: 1200;
	padding: 40px;
	padding-top: 4px;
	background: #fff;
	border: 8px solid #545056;
}

#yourgameinhere h3 {
	text-align: center;
}

#yourgameinhere h3 a {
	display: block;
	width: 100%;
	height: 40px;
	background: url(/images/close_game.gif) no-repeat 0 0;
}

#yourgameinhere h3 a:hover {
	background-position: 0 -40px;
}

#yourgameinhere h3 a span {
	display: none;
}

#flashgamehere {
	background: #fff;
	width: 800px;
	height: 600px;
}

#overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 200;
	width: 100%;
	min-height: 100%;
	background-color: #000;
	filter: alpha(opacity=60);
	-moz-opacity: 0.6;
	opacity: 0.6;
}

* html #overlay {
	height: 100%;
}





