/* Firefox link border fix */
a { outline: none; }

/* Body */

body {
width:800px;
margin:0 auto;
padding:0;
background-color:#222;
/* background-image:url("stripe.jpg"); */
}


/* Header */

#header {
width:750px;
height:2em;
background-color:#eee;
margin-top:15px;
padding:25px;
border:#111 1px solid;
font-family:"Times New Roman", serif;
font-size:2.75em;
font-weight:bold;
/* font-variant:small-caps; /* Firefox does not render this the same as IE/Safari */
text-align:center;
text-transform: uppercase;
color: #000;
white-space:nowrap;
}

.smaller {
font-size:0.7em;
}

.subhead {
font-family:Arial, Verdana, sans-serif;
font-size:0.35em;
font-weight:bold;
text-align:center;
text-transform:uppercase;
color: #d00;
}


/* Nav Menu */

#navigation {
width:800px;
background-color:#555;
border:#111 1px solid;
border-top:none;
border-bottom:none;
}

.menu {
text-align:left;
font-family:Arial, Verdana, sans-serif;
position:relative;
font-size:0.8em;
height:2em;
margin:0;
padding:0;
padding-left:25px;
list-style-type:none;
}

.menu ul {
padding:0;
margin:0;
list-style-type:none; /* Firefox */
}

.menu li {
float:left;
position:relative;
}

.menu li a, .menu li a:visited {
display:block;
text-decoration:none;
color:#eee;
float:left;
padding-right:2em;
height:2em;
line-height:2em;
}

.menu li ul {
visibility:hidden;
position:absolute;
top:2.5em;
left:0;
height:0;
overflow:hidden;
}

.menu table {
margin:-1px;
border-collapse:collapse;
}

/* fist line style for IE7 and non-IE browsers and the second line for IE5.5 and IE6 */
.menu li:hover a,
.menu li a:hover {
text-decoration:underline;
border:0;
}

.menu li:hover ul,
.menu li a:hover ul {
visibility:visible;
height:auto;
width:10em;
background:#eee;
border:1px solid #111;
left:0;
top:1.8em;
overflow:visible;
}

.menu li:hover ul li a,
.menu li a:hover ul li a {
display:block;
font-weight:normal;
background:transparent;
text-decoration:none;
height:auto;
line-height:1.5em;
padding:0.5em;
width:9em;
color:#111;
}

.menu li a:hover ul li a {
width:10em;
}

.menu li:hover ul li ul,
.menu li a:hover ul li a ul {
visibility:hidden;
position:absolute;
top:0;
left:9.5em;
height:0;
overflow:hidden;
}

.menu li:hover ul li a:hover,
.menu li a:hover ul li a:hover {
text-decoration:underline;
}

.menu li:hover ul li:hover ul,
.menu li a:hover ul li a:hover ul {
visibility:visible;
color:#111;
border:1px solid #111;
height:auto;
background:#eee;
width:9.5em;
}

.menu li:hover ul li:hover ul.left,
.menu li a:hover ul li a:hover ul.left {
left:-9.3em;
}

.menu li:hover ul li:hover ul li a,
.menu li a:hover ul li a:hover ul li a {
display:block;
height:auto;
}

.menu li:hover ul li:hover ul li:hover a,
.menu li a:hover ul li a:hover ul li a:hover {
text-decoration:underline;
}


/* Main */

#content { 
width:750px;
min-height:350px; /* for modern browsers */
height:auto !important; /* for modern browsers */
height:350px; /* for IE5.x and IE6 */
background-color:#eee;
padding:25px;
line-height:1.5em;
font-family:Arial, Verdana, sans-serif;
font-size:0.8em;
text-align:left;
color: #111;
border:#111 1px solid;
}

#content a {
color: #111;
text-decoration:none;
}

#content a:hover {
text-decoration:underline;
}

.chead {
font-size:1.2em;
font-weight:bold;
margin-bottom:0.3em;
}


/* Footer */

#footer { 
width:800px;
min-height:50px;
height:auto !important; /* for modern browsers */
height:50px; /* for IE5.x and IE6 */
margin-top:0.5em;
font-family:Arial, Verdana, sans-serif;
font-size:0.8em;
color:#aaa;
}

/* Images */

.thumbnail img{
border: 1px solid #aaa;
margin: 25px 25px 0 0;
}

.thumbnail:hover{
background-color: transparent;
}

.thumbnail:hover img{
border: 1px solid #222;
}

.photo img{
border: 1px solid #222;
float: left;
width: 200px;
margin: 0.5em 22px 1.5em 25px;
}

.photoend img{
border: 1px solid #222;
float:right;
width:200px;
margin:0.5em 25px 1.5em 0;
}

.clearboth {
	clear: both;
}

/* Forms */
.cssform p{
margin: 0;
padding: 5px 0 0 125px; /* width of left column containing the label elements */
}

.cssform label{
float: left;
margin-left: -125px; /* width of left column */
width: 120px; /* width of labels. Should be smaller than left column (155px) to create some right margin */
}

.cssform input[type="text"]{ /* width of text boxes. IE6 does not understand this attribute */
width: 180px;
}

.cssform textarea{
width: 250px;
height: 150px;
}

/*.threepxfix class below:
Targets IE6- ONLY. Adds 3 pixel indent for multi-line form contents.
to account for 3 pixel bug: http://www.positioniseverything.net/explorer/threepxtest.html
*/

* html .threepxfix{
margin-left: 3px;
}