body {
  font-family: Georgia, Times New Roman, serif;
  font-size: 1em;
  color: #333333;
  margin: 0;
  padding: 0;
  background: transparent url('/images/header_bg.png') top center repeat-x;
  }

p {
	margin: 0 0 1em;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;
	font-family: Lucida Grande, Verdana, Arial, sans-serif;
}

h2 {
	margin: 0 0 .3em;
}

a {
	color: #719d53;
	text-decoration: underline;
}

a:hover {
	background-color: #d4f8bb;
	text-decoration: none;
}

/*
	body#home a {
		color: #8f0bac;
	}
	
	body#home a:hover {
		background-color: #f3bcff;
	}
	
	body#forums a {
		color: #0a4dab;
	}
	
	body#forms a:hover {
		background-color: #b7d5ff;
	}

	body#riddles  a {
		color: #990000;
		}
		
	body#riddles a:hover {
		background-color: #ffd2d3;
		}
		
	body#about a {
		color: #888888;
	}
	
	body#about a:hover {
		background-color: #eeeeee;
	}
	
*/

body#about h2, body#about h3 {
	color: #888888;
}

body#forums h2 {
	color: #104DAC;
}

body#submit h2 {
	color: #AB0A0D;
}
  
#container {
  width: 820px;
  margin: 0 auto;
  }
  
#header, #footer {
  font-family: Lucida Grande, Verdana, Arial, sans-serif;
  font-size: 80%;
  }
  
#header {
  height: 108px;
	}
  
h1#logo {
  margin: -46px auto;
  width: 354px;
  height: 108px;
  }

	h1#logo a {
		background-color: transparent;
	}
	
	h1#logo a:hover {
		background-color: transparent;
	}
  
  h1#logo span {
    display: none;
    }
  
  body#home h1#logo {
    background: transparent url('/images/logo_purple.png') top center no-repeat;
    }
    
  body#riddles h1#logo {
    background: transparent url('/images/logo_purple.png') top center no-repeat;
    }

	body#forums h1#logo {
		background: transparent url('/images/logo_blue.png') top center no-repeat;
	}
    
  body#submit h1#logo {
    background: transparent url('/images/logo_red.png') top center no-repeat;
    }
    
  body#about h1#logo {
    background: transparent url('/images/logo_gray.png') top center no-repeat;
    }
    
  body#admin h1#logo {
    background: transparent url('/images/logo_gray.png') top center no-repeat;
    }
  
#nav {
  overflow: auto;
  font-weight: bold;
  }
  
  #nav a {
    color: #ffffff;
    text-decoration: none;
    }
    
  #nav a:hover {
    color: #ffffff;
		background-color: transparent;
    text-decoration: underline;
    }
  
  #nav ul {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    width: 50%;
    overflow: auto;
    color: #cccccc;
    display: block;
    }
    
    #nav ul#left {
      float: left;
      }
      
    #nav ul#right {
      float: right;
      }
    
    #nav ul li {
      display: block;
      width: 84px;
      height: 31px;
      padding: 8px 0 0;
      text-align: center;
      }
      
      div#nav li.active {
        background: transparent url('/images/nav_active2.png') top center no-repeat;
        }

				div#nav li.active a {
					color: #327009;
				}
				
				div#nav li.active a:hover {
					color: #327009;
					text-decoration: none;
				}
      
      #nav ul#left li {
        float: left;
        margin: 0 20px 0 0;
        }
        
      #nav ul#right li {
        float: right;
        margin: 0 0 0 20px;
        }
        
#body {
	overflow: auto;
  }

body#riddles h2 {
	margin: 0;
}

body#riddles h2 a {
	text-decoration: none;
	}

/*
body#riddles h5 {
	padding: 1em 0 .5em;
	}
	
	*/
	
body#riddles h5 {
	font-weight: normal;
}

#answer_container {
	background-color: #327009;
	color: #ffffff;
	padding: 10px 10px;
	margin: 1em 0 0 -10px;
}

	#answer_container a {
		color: #ffffff;
	}
	
	#answer_container a:hover {
		color: #327009;
	}
	
	#answer_container .answer {
		margin: 1em 0 0;
	}
	
.answer, .hint {
	font-size: 90%;
}

.hint {
	margin: 1em 0;
}

.more {
	font-family: Lucida Grande, Verdana, Arial, sans-serif;
	font-size: 80%;
}
	
div#main {
	width: 590px;
	float: left;
	margin: 0;
	padding: 0 20px 0 10px;
}

div#side_nav {
	font-family: Lucida Grande, Verdana, Arial, sans-serif;
	font-size: 80%;
	font-weight: bold;
	min-height: 600px;
	width: 189px;
	margin: 0;
	padding: 0 0 0 10px;
	float: right;
	text-align: left;
	border-left: 1px dotted #cccccc;
}

	div#side_nav h4 {
		margin: 0;
		padding: 0 0 .5em;
	}

	div#side_nav ul#new a {
		color: #719d53;
		text-decoration: underline;
		}
		
	div#side_nav ul#new a:hover {
		background-color: #d4f8bb;
		text-decoration: none;
		}
		
	div#side_nav ul#viewed a {
		color: #719d53;
		font-weight: normal;
		text-decoration: none;
		}

	div#side_nav ul#viewed a:hover {
		background-color: transparent;
		text-decoration: underline;
		}
		
	div#side_nav ul#answered a {
		color: #bbbbbb;
		font-weight: normal;
		text-decoration: line-through;
		}

	div#side_nav ul#answered a:hover {
		color: #999999;
		background-color: transparent;
		text-decoration: line-through;
		}
		
	div#side_nav ul {
		margin: 0 0 1.5em;
		padding: 0;
		list-style: none;
		line-height: 1.2;
	}
	
		div#side_nav ul li {
			margin: 0 0 .5em;
		}
		
		div#side_nav ul li.none {
			color: #aaaaaa;
			font-weight: normal;
		}

div.riddle {
	margin-bottom: 3em;
	line-height: 1.2;	
	}
  
div#sort {
	font-family: Lucida Grande, Verdana, Arial, sans-serif;
	font-size: 70%;
	margin: 0 0 2em;
}

	div#sort a {
		margin: 0 .1em 0 .4em;
	}

	div#sort a.selected {
		font-weight: bold;
		text-decoration: none;
	}
	
	div#sort img {
		margin: 0 .2em 0 0;
	}

div.stats {
	font-family: Lucida Grande, Verdana, Arial, sans-serif;
	font-size: 80%;
	color: #aaaaaa;
	margin: 0 0 .5em;
}

	div.stats span.views {
		margin: 0 1em;
	}

	div.stats img {
		vertical-align: middle;
	}

div#footer {
  text-align: center;
  height: 40px;
  color: #a4c48f;
  font-size: 80%;
  background: transparent url('/images/footer_bg.png') top center repeat-x;
  }
  
  div#footer span {
    display: block;
    padding: 1em;
    }
  
  div#footer a {
    color: #ffffff;
    }
		
	div#footer a:hover {
		color: #ffffff;
		background-color: transparent;
		text-decoration: underline;
	}
