body {
  margin: 0; 
  padding: 0.5em;
  }

ul {
   padding-left: 1em;;
  }
  
#sidebar {
  margin-left: 0.5em;
  width: 20%;
  float: left;
  }
#nav, #skins { /* could use selector #sidebar>div if only IE picked it up */
  margin-bottom: 1em;
  padding: 0.75em;
  }
#sidebar h1 { 
  margin: 0 0 0.5em 0;
  padding: 0;
  }
#sidebar ul {
  margin: 0;
  padding: 0 0 0 0.75em;
  list-style-type: none;
  }

#search {
  text-align: center;
  }

#wrapper {
  /*margin-right: 28%;*/
  float: right;
  width: 78%;
  }
#content {
  /*#margin-right: 28%;*/
  padding: 1.0em;
  }
#masthead {
  /*#margin-bottom: 1em;*/
  /*#height: 113px;*/
  }

#titleblock {
  margin-bottom: 1em;
  }
#titleblock p {
  margin: 0; 
  padding: 0;
  }

#logo {
  direction: rtl;
  /*margin: 1px;*/
  margin-bottom: 5px;
  height: 80px;
  background: url("../lugbz_wikilogo.jpg") no-repeat top right;
  }
  
#cmds {
  margin: 0.6em 0 1em 1em;
  padding: 0.5em; 
  float: right;
  }
#cmds ul {
  list-style-type: none;
  }
#cmds ul, #cmds li {
  margin: 0; 
  padding: 0;
  }
    
#tabs {
  margin: 1em auto 1.5em auto;
  clear: both;
  }
#tabs ul {
  margin: 0;
  padding: 0;
  height: 2em;
  list-style-type: none;
  position: relative;
  }
#tabs li {
  margin: 0 0.4em;
  padding: 0 0 0.4em 0;
  display: inline;
  }
#tabs ul a {
  margin: 0;
  padding: 0.2em 0.5em;
  }
/* styles for current tab are in the .tmpl file */

#wikitext {
  padding-left: 1.5em;
  }
/* may need to change heading outdent if change font or size.  this font = (1/h's em)*1.4 */
#wikitext h1 {
  margin: 0 0 0.5em -0.7em;
  background-color: #c8ff14;
  padding-top: 6px;
  padding-bottom: 3px;
  border-bottom: solid 4px #607c3c;
  }
#wikitext h2 {
  margin: 1em 0 0.5em -0.778em;
  background-color: #c0ffc0;
  padding-top: 4px;
  padding-bottom: 2px;
  border-bottom: solid 2px #80ff80;
  }
#wikitext h3 {
  margin: 0.75em 0 0.5em -0.875em;
  background-color: #d0ffd0;
  padding-top: 3px;
  padding-bottom: 2px;
  border-bottom: solid 1px #80ff80;
  }
#wikitext h4 {
  margin: 0.5em 0 0.25em -1em;
  background-color: #f0fff0;
  padding-top: 3px;
  padding-bottom: 2px;
  border-bottom: solid 1px #a0ffa0;
  }
#wikitext h5 {
  margin: 0.5em 0 0.25em -1.077em;
  }
#wikitext h6 {
  margin: 0.5em 0 0.25em -1.167em;
  }
#wikitext td {
  padding: 0.15em 0.45em; 
  }
#wikiedit textarea { width:99%; }
#footer {
  margin-top: 1.25em;
  padding-top: 0.75em;
  }
#footer p {
  margin: 0;
  padding: 0;
  }
/* footer links use tabs layout code but are less fussy. no colours/borders. changed padding/margins. */
#footer ul {
  margin: 0 0 0.25em 0;
  padding: 0;
  list-style-type: none;
  position: relative;
  }
#footer li {
  margin: 0 0.5em 0 0;
  display: inline;
  }
#footer ul a {
  padding: 0 0.7em 0 0;
  }


#clearer {
  clear: both;
  }

#tocbox {
  border : 1px dotted;
  border-color: brown;
  background-color: #ffffcc;
  padding: 4px;
  width: 30%;
  min-width: 150px; 
  max-width: 50%;
  float: right;
}


pre {
    font-size: 12px;
    color: rgb(68,68,68);
    background-color: rgb(244,244,244);
    border: 1px dotted rgb(68,68,68); 
    padding: 10px;
    }