body {
  margin: 0px;
  font-family: sans-serif;
  color: black;
  background: #444444;
  padding: 0px;
}

  
#tpl-sidebar {
  margin: 0px;
  padding: 0px;
  color: white;
  position: absolute;
  left: 0px;
  top: 100px;
  width: 150px;
  font-size: 13px;
}

div.tpl-midsection>div#tpl-sidebar {
/*  position: fixed;*/
}



#tpl-sidebar ul {
  list-style-type: none;
  list-style-position: inside;
  margin: 0 0 0 1em;
  padding: 0;
}

#tpl-sidebar li {
  margin: 0;
  padding: 1px;
}

#tpl-ad {
position: absolute;
left: 400px;
top: 10px;
z-index: 20;
}

#tpl-sidebar a:link, #tpl-sidebar a:visited {
  text-decoration: none;
  color: white;
  display: block;
  margin: 0;
  padding: 1px 1px 1px 20px;
}

#tpl-sidebar li a:hover {
  text-decoration: underline;
}

#tpl-sidebar li a.tpl-open {
  background: url(../img/map-open.gif);
  background-repeat: no-repeat;
  text-decoration: none;
  background-position: center left;
}

#tpl-sidebar li a.tpl-open:hover {
  text-decoration: underline;
}

#tpl-sidebar li a.tpl-open-selected {
  background: url(../img/gfx/map-open.gif);
  background-repeat: no-repeat;
  text-decoration: none;
  font-weight: bold;
  background-position: center left;
}

#tpl-sidebar li a.tpl-open-selected:hover {
  text-decoration: none;
}

#tpl-sidebar li a.tpl-leaf {
  background: none;
  text-decoration: none;
}

#tpl-sidebar li a.tpl-leaf:hover {
  text-decoration: underline;
}

#tpl-sidebar li a.tpl-leaf-selected {
  background: none;
  text-decoration: none;
  font-weight: bold;
}

#tpl-sidebar li a.tpl-leaf-selected:hover {
  text-decoration: none;
}

#tpl-sidebar li a.tpl-closed {
  background: url(../img/map-closed.gif);
  background-repeat: no-repeat;
  background-position: center left;
}


#tpl-sidebar li a.tpl-closed:hover {
  background: url(../img/map-open.gif);
  background-repeat: no-repeat;
  background-position: center left;
}


.tpl-midsection {  
} 

#tpl-midsection-r {  
  background: #aa0000 url(../img/video-r.gif);
} 

#tpl-midsection-g {  
  background: #00aa00 url(../img/video-g.gif);
} 
#tpl-midsection-b {  
  background: #0000aa url(../img/video-b.gif);
} 
 
#tpl-content {
  background: white;
  margin: 0 0 0 150px;
  padding: 100px 16px 70px 20px;
  border: dotted 1px #777777;
  border-top: none;
  border-right: none;
  border-bottom: none;
min-height: 24em;
}

body>div#tpl-content {
  padding-top: 100px;
}

#tpl-content a:link
{
  color: #0088cc;
  text-decoration: none;
}

#tpl-content a:visited
{
  color: #004488;
  text-decoration: none;
}

#tpl-content a:active
{
  color: #00009f;
  text-decoration: none;
}

#tpl-content a:hover
{
  color: #0088cc;
  text-decoration: underline;
}

#tpl-footer {
  background: black;
  display: block;
  margin: 0;
  padding: 1px 16px 1px 1px;
  text-align: right;
  color: #aaaaaa;
  font-size: 12px;
/*  position: fixed;*/
  bottom: 0px;
  right: 0px;
  width: 100%;
  z-index: 10;
}

#tpl-footer a
{
  color: #ffffff;
  text-decoration: none;
}

#tpl-footer a:hover
{
  text-decoration: underline;
}


#tpl-header {
  background-color: #ccddff;
  background-image: url(../img/dotsphinx-pyramids.gif);
  background-repeat: no-repeat;
  width: 100%;
  height: 79px;
  margin: 0px;
  padding: 0px;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 10;
}

body>div#tpl-header {
/*  position: fixed;*/
}  


#tpl-header h1 {
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  display: none;
}


#tpl-shortcuts {
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  position: absolute;
  right: 16px;
  top: 26px;
  z-index: 10;
}

body>div#tpl-shortcuts {
/*  position: fixed;*/
}  

#tpl-shortcuts a {
 color: #ff0000;
  font-weight: bold;
  text-decoration: none;
  margin: 0 0 0 0;
  padding: 0 0 0 10px;
}

#tpl-shortcuts a:hover {
  text-decoration: underline;
}

#tpl-topbar {
  background: black;
  color: white;
  clear: both;
  position: absolute;
  left: 0px;
  top: 79px;
  width: 100%;
  height: 21px;
  z-index: 10;
  margin: 0;
  padding: 0 0 0 0;
  font-size: 12px;
}
body>div#tpl-topbar {
/*  position: fixed;*/
}

#tpl-topbar a, #tpl-topbar a:link, #tpl-topbar a:visited {
  color: white;
  text-decoration: none;
}

#tpl-topbar a:hover {
  color: white;
  text-decoration: underline;
}

#tpl-topbar #tpl-date {
  font-weight: bold;
  float: left;
  padding: 3px 0 0 16px;
  
}

#tpl-topbar #tpl-motd {
  display: block;
  float: right;
  padding: 3px 16px 0 0;
}



.blogindex {
  float: right;
  background: #ffffee;
  border: solid 1px black;
  margin: .5em;
  padding: .2em;
  width: 30%;
}

.blogindex h1, .blogindex a {
  font-size: 80%;
margin: .2em;
}

.note {
  background: #eeeeee;
  border: solid 1px black;
}