/* CSS Document */
/* the next three id's style the thre divs used for the sites layout */
#top {
	background-color: #999999;
	height: 120px;
	background-image: url(../images/tonybttm.jpg);
	background-repeat: repeat-x;
	text-align: center;
	border-bottom: 2px solid #333333;
}

#middle {
	background-color: #FFFFFF;
	height: 400px;
	background-image: url(../images/contentGrey.jpg);
	background-repeat: no-repeat;
	background-position: right bottom;

}

#middle ul {

}

#middle li {
	color: #666666;
	font-style: italic;

}

#bottom {
	background-color: #999999;
	background-image: url(../images/tonyTop.jpg);
	background-repeat: repeat-x;
	height: 120px;
	text-align: center;
	padding-top: 10px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #666666;
	font-style: italic;
	font-size: 0.7em;
	border-top: 1px solid #333333;
}

/* the following styles the html tags */

body {
	background-color: #999999;
	margin: 0px;
	padding: 0px;
	font-family: "Times New Roman", Times, serif;
	font-size: 1em;
	color: #666666;
}

body a { 
	color: #666666; 
	text-decoration: none; 
}

body a:hover { 
	color: #000000; 
	text-decoration: none; 
}

h1 {
	font-family: Geneva, Arial, Helvetica, sans-serif;
	color: #ec0202;
	margin-top: 50px;

}

/* this bit just positions the flash logo in the masthead */

#flshPos {
	position: relative;
	top: 37px;
}

/* the following styles the navigation bar using a clipped background image that switches position on rollover */

ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

ul a {
	display: block;
	width: 200px;
	height: 40px;
	line-height: 40px;
	color: #666666;
	text-decoration: none;
	text-indent: 40px;
	background-color: #94b8e9;
	background-image: url(../images/nav.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	margin-top: 5px;
	margin-bottom: 5px;
	cursor: hand;
	vertical-align: middle;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.9em;
}

ul a:hover {
	background-position: right bottom;
	color: #ec0202;
}

/* this bit is still part of the navigation. It highlights the current page using page id's */

#home #nav .home a,
#img #nav .img a, 
#img1 #nav .img1 a, 
#img2 #nav .img2 a, 
#img3 #nav .img3 a, 
#contact #nav .contact a {
	background-position: right bottom;
	color: #ec0202;
	cursor: default;
}
#nav {
	margin-top: 50px;

}

/* The following inserts a shadow and in firefox a border to any size image */

.img-wrapper {
	clear: right;
	float: left;
	position: relative;
	background-image: url(../images/shadow.gif);
	background-repeat: no-repeat;
	background-position: right bottom;
	margin-top: 60px;


}

.img-wrapper img { 
	background-color: #ffffff; 
	border: 1px solid #af8097;
	padding: 4px; 
	display: block; /* internet explorer 6 hack */
	margin: -5px 3px 3px -5px;
	position: relative; /* internet explorer 6 hack */
}
p {
	margin-right: 10px;
	margin-left: 10px;
}
#thmb {
	margin-top: -50px;
	margin-left: -10px;
}
form {
	margin-top: 50px;
}

/* form styling */
fieldset { 
	margin: 1em 0; 
	padding: 1em; 
	border: 1px solid #cccccc; 
	background: #f8f8f8; 
	width: 400px;
}

legend {
	font-weight: bold;
	color: #ec0202;

}

/* Using the display: block; here instead of float: left; places the label above the text box*/
label { 
	float: left; 
	width: 10em; 
}

input { 
	width: 200px;
}

/* the following only works in firefox but causes no issues within IE6 */
input:focus, textarea:focus {
	background-color: #CCCCCC;

}

.required { 
	font-size: 0.75em; 
	color: #ec0202;
}

body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 90%;
	color: #666666;
}

textarea { 
	width: 200px; 
	height: 50px;
}

input.radio, input.checkbox, input.submit { 
	width: auto;
}

input.radio { 
	float: left; 
	margin-right: 1em; 
}

#remember-me label { 
	width: 4em;
}

#monthOfBirthLabel, #yearOfBirthLabel { 
	text-indent: -1000em;
	width: 0;
}

input#dateOfBirth { 
	width: 3em;
	margin-right: 0.5em;
}

select#monthOfBirth { 
	width: 10em; 
	margin-right: 0.5em; 
}

input#yearOfBirth { 
	width: 5em; 
}

fieldset#favoriteColor { 
	margin: 0; 
	padding: 0; 
	border: none; 
	background: transparent; 
}

#favoriteColor h2 { 
	width: 10em;
	float: left;
	font-size: 1em;
	font-weigh: normal; 
}

#favoriteColor div { 
	width: 8em;
	float: left;
}

#favoriteColor label { 
	width: 3em;
	float: none;
	display: inline;
}

#favoriteColor p { 
	margin: 0.3em 0;
}

.clear { 
	clear: both;
}
