/**************** menu coding *****************/

 /* tanfa logo/link */
#pagetop {
position: relative;
width: 100%;
padding-top: 0.5em;
height: 7.5em;
color: #000;
border-bottom: 1px solid #ddd;
}

#pagetop h1, #pagetop h2, #pagetop h3 {
margin: 0.3em 220px;
padding: 0;
font-family: georgia, serif;
}

#pagetop h1 {font-size: 1.3em;}
#pagetop h2 {font-size: 1.1em;}
#pagetop h3 {font-size: 1em;}
#pagetop h3 span {color: #a00;}
#pagetop h3 a {color: #00f;}
#pagetop h3 a:visited {color: #aaa;}

a#toplink {
width: 200px;
height: 8em;
position: absolute;
top: 0;
right: 5px;
}

a#toplink:hover {
background-position: 0 0;
}

textarea#code {
position: absolute;
right: 20px;
top: 14em;
width: 50%;
height: 500px;
overflow: auto;
}

ol {
margin: 0;
padding: 0;
padding-left: 110px;
}

fieldset {
width: 60%;
margin-left: 110px;
}

legend {
color: #a00;
}

#menu {
width: 100%;
background: #eee;
float: left;
}

#menu ul {
list-style: none;
margin: 0;
padding: 0;
width: 11em;
float: left;
}

#menu a, #menu h2 {
font: bold 11px/16px arial, helvetica, sans-serif;
display: block;
border-width: 1px;
border-style: solid;
border-color: #ccc #888 #555 #bbb;
margin: 0;
padding: 2px 3px;
}

#menu h2 {
color: #fff;
background: #000;
text-transform: uppercase;
}

#menu a {
color: #000;
background: #efefef;
text-decoration: none;
}

#menu a:hover {
color: #a00;
background: #fff;
}

#menu li {position: relative;}

#menu ul ul {
position: absolute;
z-index: 500;
}

#menu ul ul ul {
position: absolute;
top: 0;
left: 100%;
}

div#menu ul ul,
div#menu ul li:hover ul ul,
div#menu ul ul li:hover ul ul
{display: none;}

div#menu ul li:hover ul,
div#menu ul ul li:hover ul,
div#menu ul ul ul li:hover ul
{display: block;}

