/* Basic code - don't modify */

#nav-print{
display:none;
}

#nav, #nav ul{
margin:0 0 5px 0;
padding:0;
list-style-type:none;
position:relative;
line-height:1.5em;
float:left;
background: #173572;
width:700px;
display:block;
text-align:left;
}

#nav a{
display:block;
background: #173572;
border-right: 1px solid #000033;
border-left: 1px solid #3B77B3;
color: white;
font-size: 12px;
padding: 9px 16px 9px 16px; 
text-decoration:none;
}
body:last-child:not(:root:root) #nav a { 
display:block;
background: #173572;
border-right: 1px solid #000033;
border-left: 1px solid #3B77B3;
color: white;
font-size: 12px;
padding: 9px 15px 9px 14px; 
text-decoration:none;
}

#nav .on,#nav a:hover{
background-color:#CC0033;
color:#fff;
text-decoration:none;
}
li#leftbotton a,li#leftbotton a .on{ border-right: 1px solid #000033;border-left: none; color: white; padding: 9px 16px 9px 16px; }
li#rightbotton a { border-right: none;border-left: 1px solid #3B77B3; color: white; padding: 9px 17px 9px 18px;  }
li#rightbotton a:hover,li#rightbotton .on{ border-right: none;border-left: 1px solid #3B77B3; color: white; padding: 9px 17px 9px 18px;  }

#nav li{
float:left;
position:relative;
}


#nav ul {
position:absolute;
display:none;
width:164px;
margin:0;
padding:0;
top:36px;
left:1px;
}
html:not(:target) #nav ul {/*IE6、7、8以外に適応*/
position:absolute;
display:none;
width:151px;
}
ul#indent0{left: 0;}


#nav li ul a{
width:164px;
height:auto;
float:left;
margin:0;
padding:3px 3px 3px 10px;
border:none;
background:#DDDDDD;
color:#000000;
}
html:not(:target) #nav li ul a{/*IE6、7、8以外に適応*/
width:151px;
height:auto;
float:left;
margin:0;
padding:3px 3px 3px 10px;
border:none;
background:#DDDDDD;
color:#000000;
}
html:not(:target) #nav li ul a:hover{/*IE6、7、8以外に適応*/
background-color:#CC0033;
color:#fff;
text-decoration:none;
}

#nav ul ul{
top:auto;
margin:0;
padding:0;
}	





#nav li ul ul {
left:164px;
margin:0;
padding:0;
z-index:1200;
}
html:not(:target) #nav li ul ul{/*IE6、7、8以外に適応*/
left:164px;
}


#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul{
display:none;
}
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul{
display:block;
}
