html{
  height: 100%;
}
body{
  padding: 0px;
  margin: 0px;
  height: 100%;
}
#centerhelper{
  min-width: 640px;
  max-width: 820px;
  width: 780px;
  margin-left: auto;
  margin-right: auto;
  height: 100%;
}
#centerhelper.withside{
  min-width: 850px;
  max-width: 1020px;
  width: 990px;
  margin-left: auto;
  margin-right: auto;
}
html>body #centerhelper,
html>body #centerhelper.withside{
  width: auto;
}

#layout{
  height: 100%;
  border-collapse: collapse;
}
#left{
  background: url("img_menu-background.png") repeat-y top right;
  vertical-align: top;
}
#right{
  background-color: #FFFFFF;
  vertical-align: top;
}
.mainbox{
  background-color: #FFFFFF;
  padding: 10px 40px 10px 20px;
}
#centerhelper.withside .mainbox{
  padding-right: 0;
}
.mainbox h1{
  color: #000000;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 17px;
  padding: 20px 0px 3px 0px;
  background: url("img_underline.gif") repeat-x bottom left;
  margin: 0px 0px 20px 0px;
}
.mainbox h2{
  color: #000000;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 15px;
  padding: 0px 0px 5px 0px;
  margin: 0px;
}
.mainbox .content{
  color: #000000;
  font-family: Arial, sans-serif;
  font-size: 12px;
  padding: 0px 0px 0px 10px;
  margin-bottom: 20px;
}
.mainbox p{
  padding: 0px 0px 10px 0px;
  margin: 0px;
}
.mainbox ol,
.mainbox ul{
  list-style-position: inside;
  margin: 0px;
  padding: 0px 0px 5px 0px;
}
.mainbox li{
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 0px;
  padding-bottom: 5px;
}

.menu{
  margin: 0px;
}
.menu #logocontainer{
  width: 170px;
  margin: 30px 30px 0px 0px;
}
.menu .logo.name{
  float: right;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 17px;
  text-align: right;
  padding-bottom: 3px;
  margin-bottom: 2px;
  background: url("img_underline.gif") repeat-x bottom left;
}
.menu .logo.slogan{
  clear: right;
  font-family: Arial, sans-serif;
  font-weight: normal;
  font-size: 11px;
  text-align: right;
}
.menu ul{
  width: 197px;
  margin: 0px;
  padding: 30px 0px 0px 3px;
  list-style-type: none;
  color: #666666;
}
.menu li{
  display: block;
  text-align: right;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 15px;
  padding: 0px 0px 10px 0px;
  margin: 0px;
  line-height: 120%;
}
.menu span{
  margin: 0px;
  padding: 0px 33px 0px 3px;
}
.menu ul ul{
  background-image: none;
  padding: 4px 0px 0px 0px;
  margin: 0px;
  border: 0px;
}
.menu li li{
  font-family: Arial, sans-serif;
  font-weight: normal;
  font-size: 11px;
  padding: 0 0 5px 0;
  margin: 0;
  border: 0px;
}
.menu li li span{
  padding-right: 35px;
  display: block;
}
.menu ul ul ul{
  margin: 2px 0 9px 0;
  padding: 0;
  background: url("img_menu-list-background.gif") repeat-y right;
}
.menu li li li{
  display: inline;
  line-height: 105%;
}
.menu li li li span{
  display: block;
  margin: 0;
  padding: 3px 43px 2px 3px;
}
.menu a{
  text-decoration: none;
  color: #666666;
}
.menu a:hover{
  text-decoration: underline;
  color: #0000EE;
}
.menu .current{
  background: url("img_marker.gif") no-repeat center right;
}
.menu .current,
.menu .current a{
  font-weight: bold;
  color: #993333;
}
.menu .current ul,
.menu .current ul a{
  color: #666666;
}

#ImgViewer{
  display: none;
}
#ImgViewer.show{
  display: block;
  position: absolute;
  top: 10px;
  left: 10px;
  border: 2px solid #000000;
  color: #FFFFFF;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 11px;
  text-align: center;
}
#ImgViewer img{
  position: relative;
  z-index: 1;
  border: 2px solid #FFFFFF;
}
#ImgViewerBg{
  z-index: 0;
  position: absolute;
  top: 0px;
  left: 0px;
  background-color: #FFFFFF;
  opacity: 0.85;
  padding: 2px;
}
#ImgViewer a{
  display: block;
  background-color: #000000;
  color: #FFFFFF;
  text-decoration: none;
  padding: 2px 5px;
}
#closebox{
  position: absolute;
  z-index: 2;
  width: 16px;
  height: 17px;
  background: #000000 url("img_closebox.gif") no-repeat center;
}
.thumbnail img{
  padding: 2px;
  border: 0px;
}
.thumbnail a:hover img{
  background-color: #0000EE;
}
.thumbnail a:hover{
  background-color: #0000EE;
}

.nav.bottom{
  border-top: 3px solid #4366A5;
}
.nav.bottom .next{
  position: absolute;
  right: 0px;
  top: -11px;
}
.nav.bottom .prev{
  position: absolute;
  left: 0px;
  top: -11px;
}
.nav.bottom .up{
  position: absolute;
  left: 50%;
  top: -11px;
  margin-left: -10px;
}
.nav.bottom .up a,
.nav.bottom .prev a,
.nav.bottom .next a{
  display: block;
  width: 19px;
  height: 19px;
  background-image: url("img_navbottom-up.gif");
}
.nav.bottom .prev a{
  background-image: url("img_navbottom-prev.gif");
}
.nav.bottom .next a{
  background-image: url("img_navbottom-next.gif");
}
.nav.bottom .up span,
.nav.bottom .prev span,
.nav.bottom .next span{
  display: none;
}
.nav{
  width: 100%;
  position: relative;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: normal;
}
.nav.top{
  margin-bottom: 20px;
}
.nav.top:hover{
  z-index: 10;
}
.nav.top .next,
.nav.top .prev{
  display: none;
}
.nav a{
  text-decoration: none;
  color: #808080;
}
.nav a:hover{
  text-decoration: underline;
  color: #0000EE;
}
.nav .current{
  color: #993333;
}
.nav .dropmenu{
  display: inline;
}
.nav ul{
  display: inline;
  margin: 0px;
  list-style-type: none;
  color: #808080;
}
.nav li{
  display: inline;
  margin: 0px;
  padding: 0px;
}
html > body .nav.top{
  margin: 0px;
  top: -31px;
}
html > body .nav.top > div{
  display: block !important;
  float: right;
}

html > body .nav.top .prev a{
  display: block;
  width: 22px;
  height: 19px;
  background-image: url("img_navtop-prev.png");
}
html > body .nav.top .next a{
  display: block;
  width: 22px;
  height: 19px;
  background-image: url("img_navtop-next.png");
}
html > body .nav.top > .prev > span{
  display: block;
  width: 22px;
  height: 19px;
  background-image: url("img_navtop-first.png");
}
html > body .nav.top > .next > span{
  display: block;
  width: 22px;
  height: 19px;
  background-image: url("img_navtop-last.png");
}
html > body .nav.top .chapters .header{
  display: block;
  width: 54px;
  height: 19px;
  background-image: url("img_navtop-chapters.gif");
}
html > body .nav.top > .prev > a > span,
html > body .nav.top > .next > a > span,
html > body .nav.top > .chapters > .header span{
  display: none;
}
html > body .nav .chapters .dropmenu{
  display: none;
}
html > body .nav .chapters:hover .dropmenu{
  display: block;
  position: absolute;
  border: 1px dashed #4366A5;
}
html > body .nav .chapters .dropmenu{
  text-align: right;
  color: #000000;
  right: 0px;
  padding: 5px;
  background-color: #FFFFFF
}
html > body .nav .chapters li{
  display: block;
}
html > body .nav .chapters li > span > span{
  display: none;
}


.vbuttons-float{
  background-color: #DDDDDD;
  margin: 0 0 2em 2em;
  float: right;
}
html>body .vbuttons-float{
  margin-right: -40px;
}
.vbuttons-float .note{
  background-color: #FFFFFF;
  font-family: Arial, sans-serif;
  font-weight: normal;
  font-size: 9px;
  padding: 3px 5px;
  margin-bottom: 5px;
}
.vbuttons-float .button{
  padding: 0 5px 5px 5px;
}

#side{
  vertical-align: top;
  padding: 5em 20px 0 0;
  width: 230px;
}
.vbuttons{
  background-color: #DDDDDD;
  margin: 0 0 2em 2em;
  width: 210px;
}
.vbuttons .note{
  background-color: #FFFFFF;
  font-family: Arial, sans-serif;
  font-weight: normal;
  font-size: 9px;
  padding: 3px 5px 3px 5px;
  width: 200px;
  margin-bottom: 5px;
}
.vbuttons .button{
  padding: 0 5px 5px 5px;
}

.hbuttons{
  clear: both;
  margin: 1em 0 2em 0;
}
.hbuttons .note{
  font-family: Arial, sans-serif;
  font-weight: normal;
  font-size: 9px;
  padding: 0 5px 3px 5px;
}
.hbuttons .button{
  border: 5px solid #DDDDDD;
  float: left;
  margin: 0 10px 10px 0;
}
.hbuttons .clear{
  clear: both;
}