* {
	margin: 0;
	padding: 0;
}

html, body{
	  	height: 100%;
 }

body{
	font-size: 0.85em;
	background-color: #666666;
	font-family:Geneva, Arial, Helvetica, sans-serif;
	height: 100%;
}

#wrapper{	
	position:relative;
	width:1000px;
	margin: 0 auto;
	border: 1px solid #000000;
	background-color: #FFFFFF;
	background-image: url(images/alien.png);
	background-repeat: no-repeat;
	background-position: 600px 100px;
	height:auto !important; /* real browsers */
	height:100%; /* IE6: treaded as min-height*/
	min-height:100%; /* real browsers */
}

/*---------------------------------------------------------------------------*/

header {
	background-color: #000;
	position: relative;
}


/*---------------------------------------------------------------------------*/

#main {
	margin: 0 0 40px 20px;
}

/*-----------------------------------------------------------------------------------------------*/

footer{
	background:#000;
	color: #fff;
	position:absolute;
	bottom:-1px;
	width: 980px;
}

/*-----------------------------------------------------------------------------------------------*/

header, #main, footer {padding: 10px;}

/*------------------Table Styling--------------------------------------------------------------*/

caption { visibility:hidden;}

table, tr, td , th{
	border: 1px solid #000000;
	padding: 5px;
	margin: 20px;
}

table {
	border-collapse: collapse;
	background-color: #000000;
}

th{background: #000;
	color:#fff;}

tr {
}

td {
	background:#FFFFFF;
}

table form {
	width:60px;
	border:none;}
table th {
	background:#000;
	color: #fff;
}		

/*-------------------Basic tags-----------------------------------------------------------------*/

h1, h2, h3 {
	margin: 10px 0;
}

h1{ color:#fff;}
h2{}
h3{}

p {padding: 5px ;}

img {border: none; }

span {	color:#900;
		font-size: 0.7em;
		display:block;
		margin: 0 0 0 10px;
}


/*-------------------Navigation---------------------------------------------------------------*/

nav {
	margin:5px 0 0 0 ;
}

nav a {
	color:#fff;
	text-decoration: none;
	padding: 5px;
	background:#000;
}

nav a:hover {
	background:#999;
	color:#000;
}

nav ul {
}

nav li  {
	display:inline;
	margin: 2px;
}

/*--------------------List Styling--------------------------------------------------------------*/

ul {
	list-style-type: none;
}

/*---------------------Form styling-----------------------------------------------------------*/

form {
	border: 1px solid #000000;
	padding: 5px;
	width: 400px;
	margin: 20px 0;
}

fieldset { 
	margin: 5px 0;
}

legend {
	color: #666;
	margin-left: 10px;
	padding: 0 2px;
}

label { }

label, input {
	margin: 5px;
}

/*---------------------------Clever Bits------------------------------------------------------------*/

body#record #wrapper{
	background-image: url(images/flying_saucer.gif);
	background-repeat: no-repeat;
	background-position: 700px 150px;
}

body#index #page1, body#record #page2, body#add_record #page4, body#show_records #page5, body#delete_record #page6, body#select_records #page7, body#add_record_improved #page8{
	color:red;
}

body#delete_record #wrapper{
	background-image: url(images/spaceship2.gif);
	background-repeat: no-repeat;
	background-position: 700px 150px;
}

body#delete_record.delete a{
	color:red;
}

body#add_record #wrapper{
	background-image: url(images/spaceship.gif);
	background-repeat: no-repeat;
	background-position: 700px 150px;
}

body#delete_record .delete a:active {
	color: green;
}

/*---------------------------Useful Classes------------------------------------------------------------*/

.back_highlight {
	background:#99FF99;
}

.help {color: red;
	   font-weight: bold;
		
}

