/*
Theme Name: Phionline
Description: Wordpress theme for Phionline.org.
Author: Nick Baker
*/

/*-----IE Specific Code-----*/
.ie7 #nav ul {margin: 20px 0 0 0; z-index: 333;}
.ie7 #nav ul li{float:left; height:1%; width:100%;}
.ie7 #nav li ul ul{margin: -10px 0 0 -160px; padding:0;}
		
.ie7 #nav li li:hover ul, #nav li li.sfhover ul{ z-index: 222;}
.ie7 #nav li:hover, #nav li.hover {z-index: 222;}

.ie8 #nav li li:hover ul, #nav li li.sfhover ul{left: 0px;z-index: 222;}
.ie8 #nav li:hover, #nav li.hover {z-index: 222;}

.ie6 #nav ul {margin: 20px 0 0 0; z-index: 222;}
.ie6 #nav ul li{float:left; height:1%; width:100%;}
.ie6 #nav li ul ul{margin: -9px 0 0 0; padding:0;}

.ie6 #nav li li:hover ul, #nav li li.sfhover ul{z-index: 222;}
.ie6 #nav li:hover, #nav li.hover {z-index: 222;}



/*-----Normal Code-----*/

html {
	background:#666 url('http://www.phionline.org/wp-content/uploads/html_background.jpg') top left repeat-x;
	width: 100%;
	height: 100%;
}

body	{
	background: url('http://www.phionline.org/wp-content/uploads/body_bg.jpg') top center repeat-y;
	margin:0pt auto 0pt auto;
	font-family: "Times New Roman", Times, serif;
	font-size: 14px;
	line-height:16px;
	color:#666666;

}

		a, a:visited	{
			color: #990000;
			text-decoration: none;
			font-weight:bold;
		}
		
		
		a:hover	{
			color: #333333;
			text-decoration: none;
			font-weight:bold;
		}
#pagewrap{
	background: url('http://www.phionline.org/wp-content/uploads/pagewrap_bg.jpg') top center no-repeat;
	}
	
		
#page {
	margin:0pt auto 0pt auto;
	width:950px;
	background: #fff url('images/house.gif') right top no-repeat;
}
	

#header {
	margin: 0pt auto 0pt auto;
	padding: 15px 0 0 0;
	width: 950px;
	clear:both;
	z-index: 333;
			list-style: none;
}


	
	#nav	{
			height: 24px;
			display:block;
			line-height: 24px;
			font-size: 14px; 
			font-weight:bold;
		}

	#nav a:link	{
			display: inline;
			color: #666666;
			text-decoration: none;
			height: 24px;
		}
		
	#nav a:visited	{
			display: inline;
			color: #666666;
			text-decoration: none;
			height: 24px;
		}
		
	#nav a:hover	{
			display: inline;
			color: #333333;
			height: 24px;
		}
		
			
	#nav, #nav ul {
			list-style: none;
			text-align: left;
			line-height: 24px;
			padding:0;
			margin:0;
		}
	#nav a{
			width:150px;
			display:block;
		}

	#nav li {
			padding:0 20px;
			float:left;
			position:relative;
			}
			
	#nav li ul {
		position:absolute;
		left:-999em;
		width:160px;
		border-top:1px solid #ccc;
		border-bottom:1px solid #ccc;
		background-color:#FFF;		
	}
		
		#nav li ul li{
			position:relative;
			padding-left:10px;
			text-align:left;
			float:left;
			width:160px;
			height:24px;
			line-height: 24px;
			font-size: 14px;
		}

			#nav li ul ul{
				margin: -25px 0 0 160px;		
			}


	#nav li:hover ul ul, #nav li.sfhover ul ul {
		left: -999em;
		display:block;
		z-index:222;
	}
	
	#nav li:hover ul, #nav li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul{
		left: 0;
		z-index:222;
	}

.logo{
	background: url('images/logo.gif') top left no-repeat;
	width: 651px;
	height: 96px;
	display: block;
	}

.logo span{
	display:none;
	}

#fsDemo{
	width:850px;
	height:500px;
}

#sidebar
{
	padding: 20px 10px 10px 14px;
	margin-left: 670px;
	margin-top: 70px;
	width: 250px;
	border-left: 1px solid #ccc;
	color: #333;
}

#sidebar ul{
	list-style:none;
	padding:0;
	margin:0;
	width: 250px;
}

/* NDSU */

#sidebar ul #rss-4{
	background: url('http://www.phionline.org/wp-content/uploads/NDSU_head.jpg') top center no-repeat;
	margin:0 0 20px 0;
	padding:43px 0 0 0;
	width: 250px;
}

#sidebar ul #rss-4 h2 a{
	color: #ffbb00;
	line-height:35px;
}

#sidebar ul #rss-4 ul{
	padding:0 20px 15px;
	margin:0 auto;
	width: 210px;
}

#sidebar ul #rss-4 ul li{
	padding:10px 0 0 0;
}

#sidebar ul #rss-4 ul li a{
	color: #333;
}

#sidebar ul #rss-4 ul li a:hover{
	color: #666;
}

#sidebar ul #rss-4 h2 a img{
	display:none;
}

.widgettitle{
display:none;
}

/* Phi Chapter news */

#sidebar ul #recent-posts-2{
	background: url('http://www.phionline.org/wp-content/uploads/phi_news_head.jpg') top center no-repeat;
	box-shadow: 0px 1px 3px #666;
	margin:0 0 20px 0;
	padding:43px 0 0 0;
	width: 250px;
}

#sidebar ul #recent-posts-2 h2 a{
	color: #fff;
	line-height:35px;
}

#sidebar ul #recent-posts-2 ul{
	padding:0 10px;
	margin:0 auto;
	width: 210px;
}

#sidebar ul #recent-posts-2 ul li{
	padding:10px 0 0 0;
}

#sidebar ul #recent-posts-2 h2 a img{
	display:none;
}


/* National Eagle */

#sidebar ul #rss-3{
	background: url('http://www.phionline.org/wp-content/uploads/NE_head.jpg') top center no-repeat;
	margin:0 0 20px 0;
	padding:43px 0 0 0;
	width: 250px;
}

#sidebar ul #rss-3 h2 a{
	color: #fff;
	line-height:35px;
}

#sidebar ul #rss-3 ul{
	padding:0 20px 15px 20px;
	margin:0 auto;
	width: 210px;
}

#sidebar ul #rss-3 ul li{
	padding:10px 0 0 0;
}

#sidebar ul #rss-3 h2 a img{
	display:none;
}



/* Important Dates Text Widget */

#text-3{
	background: url('http://www.phionline.org/wp-content/uploads/dates_head.jpg') top center no-repeat;
	margin:0 0 20px 0;
	padding:43px 0 0 0;
	width: 250px;
}



#content{
	padding: 0 15px;
	z-index:111;
	width:630px;
	float:left;
	}
		
	.chapterimg{
		border:2px solid #990000;
		margin-right:20px;
		float:left;
		clear:left;
	}
	
	#events{
		width:250px;
		padding-bottom: 30px;
		margin-left:40px;
		float:right;
		text-align:center;
		border:2px solid #990000;
		line-height:28px;
		display:block;
		}

	#events p{
		text-align:center;
		margin:0;
		padding:0;
		}	

	
	.text-left{
		width:500px;
		text-align:center;
		float:left;
		margin:70px 0 0 0;
	}
	
	.text{
		text-align:left;
		margin:70px 0 0 0;
		}

#form{
list-style:none;
width:600px;
display:block;
}

#form .form1{
width:150px;
height: 30px;
line-height:30px;
float:left;
display:block;
}

#form .form2{
width:350px;
float:left;
height: 30px;
line-height:30px;
float:left;
display:block;
}

.post{
	padding: 20px 0 0 0;
}

.post small{
	font-variant:small-caps;
	font-family: "Times New Roman", serif;
	font-weight:normal;
	padding: 0 0 0 40px;
}
 #clear{
 	clear:both;
	}
 
#footer {
	width: 920px;
	margin: 0pt auto 0pt auto;
	clear:both;
	font-size:12px;
	line-height:40px;
	height: 65px;
	color:#666666;
	background:url('images/footer.gif') no-repeat top right;
	}
	
	#footer a:link	{
			display: inline;
			color: #666666;
			text-decoration: none;
			height: 24px;
		}
		
	#footer a:visited	{
			display: inline;
			color: #666666;
			text-decoration: none;
			height: 24px;
		}
		
	#footer a:hover	{
			display: inline;
			color: #333333;
			height: 24px;
		}
		
	#footer ul {
		text-decoration:none;
		list-style:none;
		text-align:left;
		padding-top:15px;
		}

	#footer li{
		float:left;
		padding-right:60px;
		}
h1{
	color: #990000;
	font-size: 24px;
	height:50px;
	text-align:left;
	line-height:45px;
	margin:0;
	padding: 20px 0 0 0;
	}
h2{
	color: #990000;
	font-size: 18px;
	height: 25px;
	max-width: 300px;
	ling-height:24px;
	text-align:center;
	}
h3{
	color: #990000;
	font-size: 18px;
	height: 25px;
	width: 95%;
	margin: 0 auto;
	clear:both;
	padding: 10px 0 0 0;
	ling-height:24px;
	text-align:left;
	border-top: 1px solid #ccc;
	}	

h5{
	color: #990000;
	font-size: 18px;
	height: 25px;
	margin: 0 auto;
	clear:both;
	padding: 10px 0 0 0;
	ling-height:24px;
	text-align:center;
	}

img{ 
border:0px; 
padding:10px;
}


img.centered, .aligncenter, div.aligncenter {
	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;
	}