/* CSS Document */
body {
background-image:url(bg_grad.jpg);
background-attachment:fixed;
margin: 0; /* to avoid margins */ 
    text-align: center; /* to correct the centering IE bug*/ 
}
#content {
background-image:url(ykback3.jpg);
background-attachment:fixed;
padding-top: 0px;
padding-left:0px;
width: 680px;
background-color:white;
}
.starter {
font-weight: bold;
font-size: 1em;
}
:link, a:visited, a:active {
color: black;
text-decoration: none;
}
a:hover {
color:blue;
text-decoration: none;
}
p {
font-family: sans-serif, Arial, Verdana;
font-size: 0.8em;
text-align: centre;
line-height: 120%;
color:black;
}
h1 {
font-size: 1.6em;
font-family: sans-serif, Arial, Verdana;
}
h2 {
font-size: 1.1em;
font-family: sans-serif, Arial, Verdana;
}
#search {
position: absolute; top: 32px; left: 520px;
}
#sitename {
  background-image: url(YKhome1.jpg);
  background-repeat: no-repeat;
  height: 387px;
  font-style: italic;
  text-align: left;
  padding-top: 30px; 
     }	 
#sitenamefed {
color:#FFFFFF;
}	 
#container {
background-attachment:fixed;
background-image:url(ykbackc.jpg);
position:relative;
top: 10px;
width:779px;
background-color: white;																
border-top: 1px solid #666;
border-right: 1px solid #666;
border-bottom: 1px solid #666;
}
#footer {
font-size: 80%;
color: #000000;
text-align: center;
font-family: sans-serif, Arial, Verdana;
}
#form {
background: transparent repeat-y left top;
width:99%;
}
fieldset {
margin-bottom: 1em;
width: 99%
}
legend {
font-weight:bold;
font-family:sans-serif, Arial, Verdana;
color:#000000;
letter-spacing:0.1em;
}
.menu {
width: 100%; 
font-size:0.85em;
position:relative;
z-index:100;
background-color:#eeeeee;
position:absolute; left:0px;
}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
padding:0;
margin:0;
list-style-type:none;
}
.menu ul ul {
width: 150px;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
float:left;
width:150px;
position:relative;
}
/* style the links for the top level */
.menu a, .menu a:visited {
display:block;
font-size:16px;
text-decoration:none; 
color:black; 
width:auto; 
height:auto; 
border:1px solid silver; 
border-width:1px 1px 0 0; 
background:#eeeeee; 
padding-left:10px; 
line-height:29px;
font-family:sans-serif, Arial, Verdana;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
width:150px;
w\idth:139px;
}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
background:silver bottom right no-repeat;

}
/* style the second level hover */
.menu ul ul a.drop:hover{
background:#cccccc  bottom right no-repeat;
}
.menu ul ul :hover > a.drop {
background:silver;  bottom right no-repeat;
}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
background:silver;
}
/* style the third level hover */
.menu ul ul ul a:hover {
background:silver;
}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
visibility:hidden;
position:absolute;
height:0;
top:31px;
left:0; 
width:150px;
}
/* another hack for IE5.5 */
* html .menu ul ul {
top:30px;
t\op:31px;
}

/* position the third level flyout menu */
.menu ul ul ul{
left:150px; 
top:0;
width:150px;
}
/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
left:-150px;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {position:absolute; top:0; left:0;}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
background:#eeeeee; 
color:#000; 
height:auto; 
line-height:1em; 
padding:5px 10px; 
width:129px
/* yet another hack for IE5.5 */
}
* html .menu ul ul a{
width:150px;
w\idth:129px;
}


/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{
color:black; 
background:silver;
}
.menu :hover > a, .menu ul ul :hover > a {
color:black;
background:silver;
}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul{
visibility:visible; 
}
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{
visibility:hidden;
}

/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ 
visibility:visible;
}
