/* stylesheet for refdb.sourceforge.net */
/* $Id: refdbn.css,v 1.4 2005/10/06 22:15:25 mhoenicka Exp $ */
/* general properties. we set the left margin here to work around a bug in IE6 */
body {
  padding: 0px;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 10px;
  margin-right: 0px;
  font-family: Verdana,Tahoma,Arial,Helvetica,sans-serif;
  color: #000;
  background-color: #cdcdcd;
  background-image: url(bookback1.jpg);
  background-repeat: repeat;
  background-attachment: fixed;
}

/* general layout: head runs across the page, main is on the right-hand side, left houses the navigation bar and links on the left-hand side, foot is a footer across the page */
#head {
  height: 100px;
  margin-top: 10px;
  margin-left: 0px;
  margin-right: 10px;
  margin-bottom: 10px;
  padding-right: 10px;
  background-color: #ffffff;
  border-style: solid;
  border-width: 2px;
  border-color: #275e97;
}

#main {
  width: auto;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  padding-top: 1px;
  margin-left: 170px;
  margin-right: 10px;
  margin-top: 0px;
  margin-bottom: 10px;
  background-color: #ffffff;
  background-image: url(images/header.png);
  background-repeat: repeat-x;
  border-style: solid;
  border-width: 2px;
  border-color: #275e97;
}

#left {
  float: left;
  padding: 0px;
  margin-left: 0px;
  width: 160px;
  height: auto;
}

#foot {
  font-size:x-small;
  height: 14px;
  margin: 10px;
  margin-top: 0px;
  margin-bottom: 10px;
  margin-left: 0px;
  margin-right: 10px;
  padding: 2px;
  background-color: #ffffff;
  border-style: solid;
  border-width: 2px;
  border-color: #275e97;
}

/* headleft and headright position images in the header */
#headleft  {
  float:left;
}

#headright  {
  float:right;
  padding-top: 10px;
}

/* footleft and footright position images in the footer */
#footleft  {
  float:left;
}

#footright  {
  float:right;
}

/* the right image in the header is composed from graphics and text */
#headright td.text {
  font-size:16px;
  font-weight:bold;
  font-family: "Bookman Old Style", "Times New Roman", "Book Antiqua", Garamond, serif;
  text-align: center;
  color: #275e97;
  margin: 0px;
  padding: 0px;
}

#headright td.graphic {
  background-image: url(books.jpg);
  background-repeat: repeat-x;
  background-position: center;
  height: 37px;
  margin: 0px;
  padding: 0px;
}

#headright td.tag {
  font-size: 37px;
  font-weight:bold;
  font-family: "Bookman Old Style", "Times New Roman", "Book Antiqua", Garamond, serif;
  color: #275e97;
  margin: 0px;
  padding: 0px;
}

/* a container for stuff on the left-hand side */
div.leftcontent {
  margin: 0px;
  padding: 0px;
}

/* tables used on the left-hand side for navigation etc. */
table.nav {
  width: 100%;
  border-style: solid;
  border-width: 2px;
  border-color: #275e97;
  background-color: #0eecf1;
  background-image: url(images/navback.png);
  background-repeat: repeat-x;
  margin-bottom: 10px;
  font-size: small;
}

thead td.nav {
  border-style: solid;
  border-width: 2px;
  border-color: #275e97;
  font-weight: bold;
  background-color: #08dee8;
  background-image: url(images/navhead.png);
  background-repeat: repeat-x;
  color: #ffffff;
}

tbody td.navsel {
/*  border-style: solid;*/
/*  border-width: 2px;*/
  background-image: url(images/navsel.png);
  background-repeat: repeat-x;
  background-color: #3cffff;
  border-color: #275e97;
}

tbody td.nav {
  color: #01052a;
}

tbody td p { 
  line-height: 30%;
}

div.localnav {
  width: 25%;
}

/* tables used in the main text for navigation etc. */
table.localnav {
  width: 100%;
  border-style: solid;
  border-width: 2px;
  border-color: #275e97;
  font-size: x-small;
  margin-bottom: 10px;
}

thead td.localnav {
  border-style: solid;
  border-width: 2px;
  border-color: #275e97;
  font-weight: bold;
  background-color: #08dee8;
  background-image: url(images/navhead.png);
  background-repeat: repeat-x;
/*  background-color: #275e97;*/
  color: #ffffff;
}

tbody td.localnav {
  color: #01052a;
}

/* the news section */
div.news {
  border-style: solid;
  border-width: 2px;
  border-color: #275e97;
  color: #01052a;
  padding: 10px;
  margin-top: 10px;
  background-image: url(images/header.png);
  background-repeat: repeat-x;
  background-color: #ffffff;
}

div.news a.more {
  font-style: italic;
}

h1,h2,h3,h4,h5,h6 {
  font-family: Verdana,Tahoma,Arial,Helvetica,sans-serif;
  color: #275e97;
  border-color: #0eecf1;
  border-bottom-style: solid;
  border-bottom-width: 2px;
}

code {
  font-family: "Courier New",Courier,Lucidatypewriter,"Lucida Console","Bitstream Vera Sans Mono",Terminal, Fixed, mono;
}

code.refdbapp { 
  color: #275e97;
  font-weight: bold;
}

pre.source {
  font-family: "Courier New",Courier,Lucidatypewriter,"Lucida Console","Bitstream Vera Sans Mono",Terminal, Fixed, mono;
  font-size: small;
  border-style: solid;
  border-width: 2px;
  border-color: #275e97;
  background-color: #dfdfdf;
  padding: 10px;
}

p.legend {
  font-family: Verdana,Tahoma,Arial,Helvetica,sans-serif;
  font-size: small;
  margin-left: 20px;
}

p.authors {
  font-family: Verdana,Tahoma,Arial,Helvetica,sans-serif;
  font-size: small;
}

p.note {
  font-family: Verdana,Tahoma,Arial,Helvetica,sans-serif;
  font-size: small;
  margin-left: 20px;
}

span.note {
  font-family: Verdana,Tahoma,Arial,Helvetica,sans-serif;
  font-size: small;
  color: red;
}

td.legend {
  font-family: Verdana,Tahoma,Arial,Helvetica,sans-serif;
  font-size: small;
}

li { 
  padding-top: 5px;
}

table.styletest {
  border-style: solid;
  border-width: 1px;
  border-color: #275e97;
/*  background-color: #0eecf1;*/
  font-size: small;
  border-collapse: collapse;
}

table.styletest thead { 
  font-weight: bold;
  background-color: #FAFAFA;
}

table.styletest tbody { 
  background-color: #ECECEC;
}

table.styletest thead tr td{ 
  border-width: 1px;
  border-style: solid;
  border-color: #275e97;
}

table.styletest tbody tr td{ 
  border-width: 1px;
  border-style: solid;
  border-color: #275e97;
}

/* the image on the frontpage */
#fpscreenshot {
  float: right;
}

/* tab magic, borrowed from http://nontroppo.org */
#tabmenu {
           color: #000;
           margin: 14px 0px 0px 160px;
           padding: 0px;
           z-index: 1;
           padding-left: 10px }

#tabmenu li {
              display: inline;
              overflow: hidden;
              list-style-type: none; }

#tabmenu a, a.active {
                       color: #275e97;
                       background: #ABABAB;
                       font-family: Verdana,Tahoma,Arial,Helvetica,sans-serif;
                       font-weight: bold;
                       font-size: 1em;
                       border: 2px solid #275e97;
                       padding: 2px 5px 0px 5px;
                       margin: 0;
                       text-decoration: none; }

#tabmenu a.active {
                    background: #CECECE;
                    border-bottom: 3px solid #CECECE; }

#tabmenu a:hover {
                   color: #fff;
                   background: #CECECE; }

#tabmenu a:visited {
                     color: #E8E9BE; }

#tabmenu a.active:hover {
                          background: #CECECE;
                          color: #DEDECF; }

