Index: css/docuviewer.css
===================================================================
--- css/docuviewer.css	(revision 528)
+++ css/docuviewer.css	(revision 532)
@@ -1,2 +1,56 @@
+
+body {
+    background-color: #ebebeb;
+    margin: 5px;
+    font-size: 12px;
+}
+
+a:link,
+a:visited {
+    color: black;
+    font-weight: bold;
+    text-decoration: none;
+}
+a:hover {
+    text-decoration: underline;
+}
+
+/*
+ * head
+ */
+div.page-head div.logo {
+    display: table-cell;
+    vertical-align: top;
+    padding: 5px;
+}
+div.page-head div.title-block {
+    display: table-cell;
+    vertical-align: top;
+}
+div.page-head div.title {
+    max-width: 50em;
+    border: 1px solid silver;
+    padding: 0.5em;  
+    background-color: white;
+}
+
+ul.view-switcher {
+    padding-left: 0;
+    margin-top: 4px;
+}
+ul.view-switcher li {
+    list-style-type: none;
+    display: inline;
+    background-color: #d0d0d0;
+    margin-right: 0;
+    border-bottom: 1px solid silver;
+    border-left: 1px solid silver;
+    border-right: 1px solid silver;
+    border-radius: 0 0 5px 5px;
+    padding: 5px;
+}
+ul.view-switcher li.sel {
+    background-color: white;
+}
 
 div.page-body {
@@ -8,37 +62,145 @@
 }
 
-div.toc-text, 
-div.toc-figures {
+/*
+ * TOC
+ */
+div.toc-container {
+    display:table-row;
+}
+
+div.toc-switcher {
+    /* position: relative; */
+    display: table-cell;
+    width: 28px;
+}
+div.toc-switcher ul {
+    position: absolute;
+    z-index: 20;
+    transform: rotate(270deg);
+    transform-origin: top left;
+    -moz-transform: rotate(270deg);
+    -moz-transform-origin: top left;
+    -webkit-transform: rotate(270deg);
+    -webkit-transform-origin: top left;
+    -o-transform: rotate(270deg);
+    -o-transform-origin: top left;
+    left: 12px;
+    top: 486px;
+    padding: 0px;
+}
+div.toc-switcher li {
+    list-style-type: none;
+    display: inline;
+    background-color: #d0d0d0;
+    margin-bottom: 5px;
+    border-top: 1px solid silver;
+    border-left: 1px solid silver;
+    border-right: 1px solid silver;
+    border-radius: 5px 5px 0 0;
+    padding: 5px;
+}
+div.toc-switcher li.sel {
+    background-color: white;
+}
+
+div.tocbody {
+    z-index: 10;
+    display: table-cell;
+    border: 1px solid silver;
+    padding: 0.5em;  
+    background-color: white;    
+}
+
+div.tocbody.text, 
+div.tocbody.figures {
     max-width: 20em;
-}
-
-div.col.results {
-	max-width: 20em;
-}
-
-div.toc-text .toc, 
-div.toc-figures .toc,
-div.toc-concordance .toc {
+    background-color: white;
+}
+
+div.tocbody.text .toc, 
+div.tocbody.figures .toc,
+div.tocbody.concordance .toc {
     float:left;
     clear:right; 
 }
-div.toc-text .toc.float.right, 
-div.toc-figures .toc.float.right,
-div.toc-concordance .toc.float.right {
+div.tocbody.text .toc.float.right, 
+div.tocbody.figures .toc.float.right,
+div.tocbody.concordance .toc.float.right {
     float:right;
 }
 
-table.thumbs .thumb {
+div.tocbody table.thumbs td {
+    text-align: center;
+}
+div.tocbody table.thumbs .thumb {
     padding: 3px;
 }
-table.thumbs .thumbsel {
+div.tocbody table.thumbs .thumbsel {
     padding: 2px;
     border: 1px solid blue;
 }
-table.thumbs .thumbcap {
+div.tocbody table.thumbs .thumbcap {
     color: black;
 }
 
+/*
+ * content
+ */
+div.col.main {
+    padding-left: 5px;
+    padding-right: 5px;
+}
+div.col.main div.ruler {
+    margin-top: 4px;
+}
+div.col.main span.ruler-main {
+    background-color: #d0d0d0;
+    border-left: 1px solid silver;
+    border-top: 1px solid silver;
+    border-right: 1px solid silver;
+    border-radius: 5px 5px 0 0;
+    padding: 4px;    
+}
+
+div.col.main div.content {
+    border: 1px solid silver;
+    padding: 1em;  
+    background-color: white;
+    font-size: 14px;
+    font-family: Junicode,Gentium,Georgia,serif;
+}
+div.col.main div.content a:link,
+div.col.main div.content a:visited {
+    font-weight: inherit;
+    color: #892B06;
+}
 span.hit.highlight {
-	background-color: lightgreen;
-}
+    background-color: lime;
+}
+
+/*
+ * buttons
+ */
+div.col.buttons div.options {
+    border: 1px solid silver;
+    padding: 0.5em;  
+    background-color: white;    
+}
+div.col.buttons h4 {
+    margin-top: 0;
+    margin-bottom: 0;
+}
+div.col.buttons ul {
+    list-style-type: none;
+    padding-left: 0;
+    margin-top: 0.5em;
+    margin-bottom: 0.5em;
+}
+
+/*
+ * search results
+ */
+div.col.results {
+    max-width: 20em;
+}
+
