body {
margin: 0;
padding: 0;
font: 85% arial, hevetica, sans-serif;
text-align: center;
color: #505367;
background-color: #D6D6D6;
}
#container {
margin: .1em auto 1em auto;
width: 657px;
text-align: left;background-color: #0b2dc1;}

#header {
text-align: right;background-color: purple;background-image: url(images/flannel_paisley.jpg);background-position: -25px -0px;}

img { behavior: url(iepngfix.htc);}
#mainnav {background-color: #ffa500;
}

#navlist{
margin: 0;
padding: 10px 0 20px 10px;
border-bottom: 1px solid #000;border-top: 1px #000 solid;}
#navlist ul, #navlist li
{
margin: 0;
padding: 0;
display: inline;
list-style-type: none;
}

#navlist a:link, #navlist a:visited {
float: left;
line-height: 14px;
font-weight: bold;
margin: 0 10px 4px 10px;
text-decoration: none;
color: #181f40;
}

#navlist a:link#current, #navlist a:visited#current, #navlist a:hover
{
border-bottom: 4px solid #000;
padding-bottom: 2px;
background: transparent;
color: #000;
}
#navlist a:hover { color: #000; }
#menu {
float: right;
width: 180px;background-color: #FF6e00;
}

#menu {
float: right;
width: 125px;background-color: red;}

a#button1 {
display: block;
width: 160px;
height: 59px;
background-image: url(images/kdcb1_button.jpg) ;
background-position: 0% 0px;
margin: 0 0 0 +15px;background-repeat: no-repeat;border: 1px solid;}

a#button1:hover {background-position: 100% -59px;}

a#button1:active {background-position: 100% -118px;
}

a#button2 {
display: block;
width: 160px;
height: 59px;
background-image: url(images/kdcb2_button.jpg) ;
background-position: 0% 0px;
margin: 0 0 0 +15px;background-repeat: no-repeat;
border: 1px solid;
}

a#button2:hover {background-position: 100% -59px;}

a#button2:active {background-position: 100% -118px;}

a#button3 {
display: block;
width: 160px;
height: 59px;
background-image: url(images/kdcb3_button.jpg) ;
background-position: 0% 0px;
margin: 0 0 0 +15px;background-repeat: no-repeat;
border: 1px solid;
}

a#button3:hover {background-position: 100% -59px;}

a#button3:active {background-position: 100% -118px;}

a#button4 {
display: block;
width: 160px;
height: 59px;
background-image: url(images/kdcb4_button.jpg) ;
background-position: 0% 0px;
margin: 0 0 0 +15px;background-repeat: no-repeat;
border: 1px solid;
}

a#button4:hover {background-position: 100% -59px;}

a#button4:active {background-position: 100% -118px;}

a#button5 {
display: block;
width: 160px;
height: 59px;
background-image: url(images/kdcb5_button.jpg) ;
background-position: 0% 0px;
margin: 0 0 0 +15px;background-repeat: no-repeat;
border: 1px solid;
}

a#button5:hover {background-position: 100% -59px;}

a#button5:active {background-position: 100% -118px;}

a .alt { display: none; }

#contents {
margin-right: 145px;
margin-left: 20px;
background-color: #ffd400;
padding: 10px 5px 5px 5px;color: #54401c;line-height: 1.5em}

#contents a:link, #contents a:visited {color: #54401c;text-decoration:none;
}

#contents a:hover {color: #e9e9e9;background-color: #0b2dc1; }

#contents h1, h2 {
color: #857ba0;}

div.figure {
  float: right;
  border: thin silver solid;
  margin: 0.5em;
  padding: 0.5em;background-color: #ffa500}
div.figure p {
  text-align: center;
  font-style: italic;
  font-size: smaller;
  text-indent: 0;
  max-width: 190px}

a.figure:link {text-decoration:none;}

#footer {
clear: both;
padding: .5em 0 .5em 0;
background-color: #ffa500;
color: #54401c;text-align: center;
font-size: .80em;}

sup a span {
display:none;
} 

sup a:hover span {
display: block;
background-color: #0b2dc1;
font-size: 110%;
color: #e9e9e9;
line-height: 130%;
margin: .2em 0 0 .5em;
padding: 10px;
width: 50%;
float: right;} 

#contents a.note {
background-color: #ff6e00;
font-weight: normal;
text-decoration: none;
color: #0b2dc1;
padding: .1em .2em .1em .2em;
margin: 0 .2em 0 .2em;
border: none;
font-size: smaller;}

#contents a.note:visited {
background-color: #ff6e00;
}

#contents a.note:hover,
#contents a.note:active {
background-color: red;
}