/**************************************************************************
Background colour, fonts, margins, all are done here
**************************************************************************/
body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	background-color: #FFFFFF;
}

/**************************************************************************
All the goodness of links
**************************************************************************/	
a:link, a:visited, a:active {
	color: #2061CC;
	text-decoration: none;
}

/**************************************************************************
Need I comment?
**************************************************************************/
a:hover {
	text-decoration: underline;
	color: #006699;
}

hr {
	border: none 0; 
	border-top: 1px solid #CCCCCC;
	width: 700px;
	height: 1px;
	align: left;
	text-align: left;
	margin: 0 auto 0 0; 	
} 


/**************************************************************************
This is the giant white box that holds everything together
**************************************************************************/
#thebox {
	width: 800px;
	background-color: white;
	color: #666;
	border: 1px #cccccc solid;
	margin: 50px auto 0px auto;
	padding: 0px 20px 0 20px
}

/**************************************************************************
This was the best way I thought they orange square logo thingy could be 
displayed. The logo coding looks really messy and rather horrible. I'm sure 
there are better ways of doing this. Please drop me a line if you know how.
**************************************************************************/
#logo { 
	text-align: center;
	width: 155px;
	margin: 0px 0px 30px -20px;
	padding: 10px 10px 5px 5px;
	background-color: #FF9900;
	color: #FFFFFF;
	font-family: Helvetica, sans-serif;
	font-weight: normal;
	font-size: 11px;
	letter-spacing: 5px;
	text-transform: uppercase;
}


#logo a:link, a:visited, a:active {
	color: #FFFFFF;
	font-size: 11px;
}

#logo a:visited {
	color: #FFFFFF;
	font-size: 11px;
}

#logo a:active {
	color: #FFFFFF;
	font-size: 11px;
}


/**************************************************************************
Navigation bar, lists, and links - Uses Gill Sans for the good ol' Mac. 
I'm using different linking styles for the navigation bar. Also, <li> tags 
are used.
**************************************************************************/
#nav {
	width: 600px;
	margin: -50px 0px 0px 150px;
	padding: 0px 0px 0px 0px;
	color: #999;
	font-family: 'Gill Sans', Verdana, Helvetica, sans-serif;
	font-weight: normal;
	font-size: 11px;
}

#nav li {
	list-style: none;
	display: inline;
	margin-right: 30px;
}

#nav a {
	font-size: 10px;
	font-weight: bold;
	color: #999;
	text-decoration: none;
}

#nav a:hover {
	color: #FF9900;
	text-decoration: underline;
}

/**************************************************************************
The content - full of goodness and textaulity, hehe.
**************************************************************************/
#content {
	color: #666;
	font-family: 'Gill Sans', Verdana, Helvetica, sans-serif;
	margin: 30px 0px 0px 0px;
	padding: 0px 10px 10px 10px;
}

#content a:link, a:visited, a:active {
	color: #2061CC;
	font-family: 'Gill Sans', Verdana, Helvetica, sans-serif;
	font-weight: normal;
}

/**************************************************************************
Header #1 - This header displays the topic name of text
**************************************************************************/
#content h1 {

font-size: 12px;

}

#content h1 a:link, a:visited, a:active {
	color: #2061CC;
	font-family: 'Gill Sans', Verdana, Helvetica, sans-serif;
	font-weight: normal;
}

#content h1 a:hover {
	text-decoration: underline;
	font-family: 'Gill Sans', Verdana, Helvetica, sans-serif;
	color: #2061CC;
}

/**************************************************************************
Header #2 - This header displays the date
**************************************************************************/

#content h2 { 
font-size: 10px;
letter-spacing: 3px;
text-transform: uppercase;
}

#foot {
text-align: center;
font-size: 9px;
color: #696969;
}

#foot a:link, a:visited, a:active {
	color: #999;
	text-decoration: none;
}

.width-500 {
	width: 500px;
}

.width-600 {
	width: 600px;
}

.width-700 {
	width: 700px;
}

.width-750 {
	width: 750px;
}

@media screen and (max-width: 640px) {
	#thebox {
		width: auto;
		padding: 0 10px;
		margin: 0;
	}
	
	#nav {
		width: auto;
	}
	
	#content {
		margin: 15px 0 0 0;
		padding: 0;
	}
	
	.width-500, .width-600, .width-700, .width-750, hr {
		width: auto;
	}
	
	.new-reg-table td:nth-child(1), .new-reg-table td:nth-child(6) {
		display: none;
	}
	
	.archive-table td:nth-child(1), .archive-table td:nth-child(4), .archive-table td:nth-child(5), .archive-table td:nth-child(6) {
		display: none;
	}
	
	select[name=registrar_id], input[name=keyword],img[src="img/alert-sample.gif"]  {
		width: 80%;
	}
	
	
}
