/* NOTE!  Here, I'm turning off the main menu.  I put else in the option menu to
 remove the entire column
on the left side of the screen.  This opens up more space for the text of each t
iddler. */

#mainMenu{
  display:none;
}


body {
        font-size: 9pt;
        font-family: verdana,arial,helvetica;
        margin: 0;
        padding: 0;
        position: relative;
        z-index: 0;
}


.button {
  border-width: 1px;
  border-style: solid;
}

.button:hover {
  text-decoration: none;
}


.popup {
  font-size: 7pt;
  line-height: 100%;
  border-width: 1px;
  border-style: solid;
  list-style: none;
  padding: 0.2em;
  margin: 0;
}

.popup hr {
  border-width: 0;
        display: block;
        height: 1px;
        width: auto;
        padding: 0;
        margin: 0.2em 0em;
}

.popup li {
        display: block;
        padding: 0;
}

.popup li.disabled {
        padding: 0.2em;
}

.popup li a, .popup li a:visited {
        display: block;
        padding: 0.2em;
}

.popup .button {
  border-width: 0;
}


.tiddler{
  margin: 10px 0px 10px 10px;
        padding: 1em 1em 0em 1em;
        font-size: 9pt;
  border-width: 0px 0px 0px 0px;
  border-style: solid;
}

.tiddler .button {
  padding: 2px;
}



/* toolbar is the button bar on the top of the tiddler that has the
close, edit, etc. buttons */
.toolbar {
  position: relative;
/* don't use floating stuff, otherwise mouseovers aren't recognized */
/* float: right; */
        text-align: right;
        font-weight: normal;
        font-size: 8pt;
        padding: 0;
        visibility: hidden;
}

.selectedTiddler .toolbar {
        visibility: visible;
}



#footer {
/* Isn't 'clear:both' the right rule? */
        clear: left;
        clear: right;
        font-weight: normal;
        font-size: 8pt;
          margin: 0;
  padding: 5px 0 5px 10px;
  border-top-width: 2px;
  border-top-style: solid;
}

.title {
  font-size: 24pt;
/*  position: relative; */
/*  top: -10px; */
}


.body {
        padding-top: 0.5em;
}

.viewer {
        line-height: 140%;
}

.viewer blockquote {
        font-size: 8pt;
        line-height: 120%;
        padding-left: 0.8em;
        margin-left: 2.5em;
  border-left-width: 3px;
  border-left-style: solid;
}

.viewer ul {
        margin-left: 0.5em;
        padding-left: 1.5em;
}

.viewer ol {
        margin-left: 0.5em;
        padding-left: 1.5em;
}

.viewer table {
        border-collapse: collapse;
        margin: 0.8em 1.0em;;
        font-size: 100%;
}

.viewer th, .viewer td, .viewer tr,.viewer caption{
        padding: 3px;
}

.viewer pre {
  border-width: 1px;
  border-style: dashed;
  line-height: 1.1em;

  padding: 0.5em 0.5em 0.5em 0.5em;
  margin-left: 0.5em;
  overflow: visible;
}

.viewer code {
  font-size: 100%;
  line-height: 1.1em;
}

.viewer .note { 
  border: solid;
  border-width: thin;
  margin: 1em;
  padding: 1ex; /* box model hack */
  padding-left: 6ex;
  text-indent: -5ex;
}

.viewer .note:before { 
  content: "Note:";
}

.viewer h1{
  font-weight: bold;
  text-decoration: none;
  margin-top: 2em;
  border-bottom-width: 1px;
  border-bottom-style: dotted;
}

.viewer h2 {
  font-weight: bold;
  text-decoration: none;
  margin-top: 1.5em;
}

.viewer h3,.viewer h4,.viewer h5,.viewer h6{
  font-weight: bold;
  text-decoration: none;
  margin-top: 1.5em;
  margin-left: 5.0em;
}

h1 {font-size: 12pt;}
h2 {font-size: 10pt;}
h3 {font-size: 8pt;}
h4 {font-size: 7pt;}
h5 {font-size: 6pt;}

.viewer hr {
        height: 1px;
}





.editor {
        font-size: 8pt;
        font-weight: normal;
}

.editor input {
        display: block;
        width: 100%;
}

.editor textarea {
        display: block;
        font: inherit;
        width: 100%;
}

.editorFooter {
        padding: 0.25em 0em;
        font-size: 8pt;
}









a, a.tiddlyLink, a.button {
  text-decoration: none;
}

a:hover, a.tiddlyLink:hover {
  text-decoration: underline;
}

a.externalLink {
  text-decoration: underline;
  border-bottom-width: 1px;
}

a.tiddlyLinkExisting {
        font-weight: bold;
}

a.tiddlyLinkHeader {
        font-weight: bold;
}

a.tiddlyLinkHeader:hover {
        text-decoration: none;
}

a.tiddlyLinkNonExisting {
        font-style: italic;
}

a.tiddlyLinkNonExisting.shadow {
        font-weight: bold;
}






#titleLine {
  padding: 0em 1em 0em 1em;
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

#siteTitle {
        font-size: 26pt;
}

#siteTitle a:hover {
  text-decoration: none;
}

#siteSubtitle {
        padding-left: 1em;
        font-size: 10pt;
}





/* Entire sidebar, including now the mainMenu */
#sidebar {
        position: absolute;
        right: 0em;
        font-size: 8pt;
  width: 170px;
  padding: 0;
  border: 0;
  margin: 0;
  overflow: visible;
}

#mainMenu{
  font-size: 8pt;
  text-align: left;
  padding: .5em 2px .5em 6px;
  line-height: 110%;
  width: 161px; /* 150 - 6px (left padding) - 2px (right padding) -
1px (left border) */
  border-left-width: 1px;
  border-left-style: solid;
  border-bottom-width: 1px;
  border-bottom-style: dotted;
}



/* The option menu, including the search bar and the new tiddler buttons */
#sidebarOptions {
/* This width not needed??? */
/*  width: 140px; */

  padding: .5em 2px .5em 8px;
/*
  border-top-width: 1px;
  border-top-style: solid;
  border-left-width: 1px;
  border-left-style: solid;
  border-bottom-width: 1px;
  border-bottom-style: solid;
*/
}

#sidebarOptions ul {
  list-style-position: inside;
  margin-left: 0.0em;
  padding-left: 0.0em;
  list-style-image: url(/css/bullet_black-8x8.png);
}

#sidebarOptions ul ul {
  list-style-position: inside;
  margin-left: 0.8em;
  padding-left: 0.8em;
}

/* For some reason, specifying the margins in the li causes the text to wrap */
/*
#sidebarOptions li {
        margin-left: 0.5em;
        padding-left: 0.0em;
}
*/
/* search text box */
#sidebarOptions input {
    margin: 0 .5em .5em .5em;
    font-size: 7pt;
}

/* panel that becomes visible when the options link is clicked */
#sidebarOptions .sliderPanel {
  position: relative;
  left: -2px;
  font-size: 7pt;
  text-align: left;
  padding: .5em 1px .5em 1px;
  line-height: 110%;
  border-width: 1px;
  border-style: solid;
}


#sidebarTabs {
  padding: .5em 0em 0em 0em;
  font-size: 7pt;
}

#sidebarTabs .tabContents {
  font-size: 7pt;
  width: 122px;
}

#sidebarTabs .txtMoreTab .tabContents {
  width: 116px;
}

.box_top {
  height: 35px;
  width: 150px;
  margin: 20px 0 0 0;
}
        
.box_top h2 {
  padding: 7px 0 2px 8px;
  margin: 0;
}

.box {
  border-width: 0 0 0 2px;
  border-style: solid;
  padding: 0 4px 0 0px;
  margin: 0;
  width: 144px;
}
   
.box p {
  margin: 0px 0px 0px 7px; 
}
        
.box ul li
{
  margin-left:0px;
}

.box li
{
  margin-left:0px;
}

.box ul
{
  margin:0px;
  padding: 5px;
  list-style:none;
}
        
.box_bot {
  height: 2px;
  width: 150px;
  margin: 0 0 20px 0;

/* workaround for IE minimum height bug: http://archivist.incutio.com/viewlist/css-discuss/39150 */
  font-size:1px;
  line-height:0;
}




#displayArea{
/* shouldn't 12em overlap with the sidebar being at 14em? ANSWER: No,
because they are based on different font sizes.*/
  margin: 0 170px 0 0;
}

#messageArea{
  margin: 0;
}
