body {
    color: black;
    margin: 0;
    padding: 0;
    height: 100%;
}

a.menuClassOn, a:visited.menuClassOn {
 color: white;
 font-size: 18px;
 /*font-family: Comic Sans MS;*/
 font-family: Verdana;
 text-decoration: none;
}

a:hover.menuClassOn, a:visited:hover.menuClassOn {
 text-decoration: none;
 font-size: 18px;
 color: white;
}

a.menuClassOff, a:visited.menuClassOff {
 /*font-family: Comic Sans MS;*/
 font-family: Verdana;
 font-size: 18px;
 text-decoration: none;
 color: #DDDDDD;
}

a:hover.menuClassOff, a:visited:hover.menuClassOff {
 text-decoration: none;
 font-size: 18px;
 color: white;
}

a.smallSubMenuClassOn, a:visited.smallSubMenuClassOn {
 color: white;
 font-size: 13px;
/* font-family: Comic Sans MS; */
 font-family: Verdana;
 text-decoration: none;
}

a:hover.smallSubMenuClassOn, a:visited:hover.smallSubMenuClassOn {
 text-decoration: none;
 font-size: 13px;
 color: white;
}

a.smallSubMenuClassOff, a:visited.smallSubMenuClassOff {
 /*font-family: Comic Sans MS;*/
 font-family: Verdana;
 font-size: 13px;
 text-decoration: none;
 color: #aaaaaa;
}

a:hover.smallSubMenuClassOff, a:visited:hover.smallSubMenuClassOff {
 text-decoration: none;
 font-size: 13px;
 color: #cccccc;
}

a.subMenuClassOn, a:visited.subMenuClassOn {
 color: white;
 font-size: 16px;
/* font-family: Comic Sans MS; */
 font-family: Verdana;
 text-decoration: none;
}

a:hover.subMenuClassOn, a:visited:hover.subMenuClassOn {
 text-decoration: none;
 font-size: 16px;
 color: white;
}

a.subMenuClassOff, a:visited.subMenuClassOff {
 /*font-family: Comic Sans MS;*/
 font-family: Verdana;
 font-size: 16px;
 text-decoration: none;
 color: white;
}

a:hover.subMenuClassOff, a:visited:hover.subMenuClassOff {
 text-decoration: none;
 font-size: 16px;
 color: #CCCCCC;
}

ul.menuClass {
 line-height: 1.0em;
 list-style-type: square;
 margin: 0 0 0 1.2em;
 padding: 0;
 font-size: 15px;
}

li.menuClass {
 line-height: 1.0em;
 list-style-image: url(http://www.deadgod.net/pages/template/tabled/menu-bullet.gif);
 font-size: 12pt;
 margin-bottom: .1em;
}

input {
 font-family: helvetica, sans-serif;
 font-size: 11px;
 border: 1px solid #666666;
 margin: 1px;
 padding: 1px;
}

textarea,select {
 border: 1px solid #666666;
}

a.dg3foot:link, a.dg3foot:visited, a.dg3foot:hover, a.dg3foot:active {
  text-decoration: none;
  color: #aaaaff;
}

#content td {
/* font-family: sans-serif; */
 font-family: "Lucida Grande",Verdana,"Bitstream Vera Sans",Arial,sans-serif;
 line-height: 1.5em;
 color: black;
 font-size: 80%;
}

#login, #password {
    width: 101px;
    height: 18px;
    font-size: 18px;
    background-color: red;
    border: 0;
    margin: 0;
    padding: 0;
}

#loginBoxContent {
    z-index: 5000;
}

#showimage {
 position: absolute;
 top: 55px;
 left: 160px;
}

#p-login-loginBoxLoc {
    position: absolute;
    top: 174px;
    left: 181px;
}

#p-login-passBoxLoc {
    position: absolute;
    top: 200px;
    left: 181px;
}

#p-login-textBox {
    position: absolute;
    top: 245px;
    left: 181px;
    width: 130px;
    color: black;
}

#p-login-submit {
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    display: none;
}

a {
    text-decoration: none;
    color: #002bb8;
    background: none;
}

a:visited {
    color: #002bb8;
}

a:active {
    color: #faa700;
}

a:hover {
    text-decoration: underline;
}

#p-subnav img {
    vertical-align: middle;
    display: block;
}

img {
    border: 0;
    margin: 0;
    padding: 0;
}

hr {
    height: 1px;
    color: #aaa;
    background-color: #aaa;
    border: 0;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    color: black;
    background: none;
    font-weight: normal;
    margin: 0;
    padding-top: .5em;
    margin-bottom: .5em;
    border-bottom: 1px solid #aaa;
}

h1 { font-size: 150%; }

h2 { font-size: 100%; }

h3, h4, h5, h6 {
    border-bottom: none;
    font-weight: bold;
}

h3 { font-size: 110%; }

h4 { font-size: 120%; }

h5 { font-size: 100%; }

h6 { font-size: 80%;  }

ul {
    line-height: 1.5em;
    list-style-type: square;
    margin: .3em 0 0 1.5em;
    padding: 0;
    list-style-image: url(http://www.deadgod.net/pages/template/tabled/bullet.gif);
}

li {
    margin-bottom: .1em;
}

form {
    border: none;
    margin: 0;
}

pre {
    padding: 1em;
    border: 1px dashed #2f6fab;
    color: black;
    background-color: #f9f9f9;
    line-height: 1.1em;
    margin: 0;
    white-space: pre-wrap;
}

/**********
  Main Menu
  *********/

#popitmenu {
    position: absolute;
    background-color: white;
    border:1px solid black;
    font: normal 12px sans-serif;
    line-height: 18px;
    z-index: 100;
    visibility: hidden;
    color: black;
    padding: 5px;
}

#popitmenu a {
    text-decoration: none;
    padding-left: 6px;
    color: black;
    display: block;
}

#popitmenu a:hover, #p-navigation a:hover { 
    text-decoration: none;
}

#popitmenu a:hover {
   background-color: #FF88FF;
}


/******************
  Table of contents 
  ******************/
#toc,
.toc {
	border: 1px solid #aaa;
	background-color: #f9f9f9;
	padding: 5px;
	font-size: 95%;
}

#toc h2,
.toc h2 {
	display: inline;
	border: none;
	padding: 0;
	font-size: 100%;
	font-weight: bold;
}

#toc #toctitle,
.toc #toctitle,
#toc .toctitle,
.toc .toctitle {
	text-align: center;
}

#toc ul,
.toc ul {
	list-style-type: none;
	list-style-image: none;
	margin-left: 0;
	padding-left: 0;
	text-align: left;
}

#toc ul ul,
.toc ul ul {
	margin: 0 0 0 2em;
}

#toc .toctoggle,
.toc .toctoggle {
	font-size: 94%;
}

.alt2 {
  font-size: 12px;
}

/***********
  Thumbnails
  ***********/
div.tright {
    clear: right;
    float: right;
    border-width: .5em 0 .8em 1.4em;
}
div.thumb {
    margin-bottom: .5em;
    border-style: solid;
    border-color: white;
    width: auto;
}

div.thumb div {
    border: 1px solid #ccc;
    padding: 3px !important;
    background-color: #f9f9f9;
    font-size: 94%;
    text-align: center;
    overflow: hidden;
}

div.thumb div a img {
    border: 1px solid #ccc;
}

div.thumb div div.thumbcaption {
    border: none;
    text-align: left;
    line-height: 1.4em;
    padding: .3em 0 .1em 0;
}

/********
  Portlet
  *******/
.portlet {
    border: none;
    margin: 0 10px .5em;
    padding: 0;
    float: none;
    width: 135px;
    font-family: sans-serif;
}

.portlet h4 {
    font-size: 95%;
    font-weight: normal;
    white-space: nowrap;
}

.portlet h5 {
    background: transparent;
    padding: 0 0 0 0;
    display: inline;
    height: 1em;
    font-size: 91%;
    font-weight: normal;
    white-space: nowrap;
}

.portlet h6 {
    background: #ffae2e;
    border: 1px solid #2f6fab;
    border-style: solid solid none solid;
    padding: 0 1em 0 1em;
    display: block;
    font-size: 1em;
    height: 1.2em;
    font-weight: normal;
    white-space: nowrap;
}

.portlet a {
 font-size: 75%;
}

.pBody {
    font-size: 95%;
    background-color: white;
    color: black;
    border-collapse: collapse;
    border: 1px solid #aaa;
    padding: 0 .8em .3em .5em;
}

.portlet h1,
.portlet h2,
.portlet h3,
.portlet h4 {
    margin: 0;
    padding: 0;
}

.portlet ul {
    line-height: 1.5em;
    list-style-type: square;
    list-style-image: url(http://www.deadgod.net/pages/template/tabled/bullet.gif);
    font-size: 95%;
}

.portlet li {
    padding: 0;
    margin: 0;
}

#p-navigation {
    z-index: 3;
}

#p-navigation h5 {
    color: red;
    font-size: 12px;
    margin-left: 7px;
}

#p-navigation .pBody {
    margin: 0;
    padding: 0;
}

#p-navigation a {
    display: block;
    width: 100%;
}

#p-personal {
    width: 100%;
    white-space: nowrap;
    padding: 0;
    margin: 0;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
    border: none;
    background: none;
    overflow: visible;
    line-height: 1.2em;
}

#p-personal h5 {
    display: none;
}

#p-personal .portlet,
#p-personal .pBody {
    padding: 0;
    margin: 0;
    border: none;
    z-index: 0;
    overflow: visible;
    background: none;
}

#p-personal ul {
    border: none;
    line-height: 1.4em;
    color: #2f6fab;
    padding: 0 1em 0 3em;
    margin: 0;
    text-align: right;
    list-style: none;
    z-index: 0;
    background: none;
}

#p-personal li {
    z-index: 0;
    border: none;
    padding: 0;
    display: inline;
    color: #2f6fab;
    margin-left: 1em;
    line-height: 1.2em;
}

#p-personal li a {
    text-decoration: none;
    color: #81e3fc;
    padding-bottom: .2em;
    background: none;
}

#p-personal li a:hover {
    background-color: #367777;
    padding-bottom: .2em;
    text-decoration: none;
}

#p-cactions {
    position: absolute;
    top: 23px;
    left: 125px;
    margin: 0;
    white-space: nowrap;
    width: 76%;
    line-height: 1.1em;
    overflow: visible;
    background: none;
    border-collapse: collapse;
    padding-left: 1em;
    list-style: none;
    font-size: 95%;
}

#p-cactions .hiddenStructure {
    display: none;
}

#p-cactions ul {
    list-style: none;
}

#p-cactions li {
    display: inline;
    border-bottom: none;
    padding: 0 0 .1em 0;
    margin: 0 .3em 0 0;
    overflow: visible;
}

#p-cactions li a {
    color: #002bb8;
    border: none;
    padding: 0 .8em .3em .8em;
    text-decoration: none;
    position: relative;
    z-index: 0;
    margin: 0;
    background-color: #DDDDDD;
}

#p-cactions li.selected {
    border-color: red;
    padding: 0 0 .2em 0;
}

#p-cactions .selected a {
    z-index: 3;
    background-color: white;
}

#p-cactions .new a {
    color: #ba0000;
}

#p-cactions li a:hover {
    z-index: 3;
    text-decoration: none;
    background-color: white;
}

#p-cactions h5 {
    display: none;
}

#p-cactions li.istalk {
    margin-right: 0;
}

#p-cactions li.istalk a {
    padding-right: .5em;
}

#p-cactions #ca-addsection a {
    padding-left: .4em;
    padding-right: .4em;
}

#p-logo {
    z-index: 3;
    position: absolute; /*needed to use z-index */
    top: 0;
    left: 2px;
    height: 165px;
    width: 135px;
    overflow: visible;
}

#p-logo h5 {
    display: none;
}

#p-logo a,
#p-logo a:hover {
    display: block;
    height: 165px;
    width: 135px;
    background-repeat: no-repeat;
    background-position: 35% 50% !important;
    text-decoration: none;
}

#topLogo {
    width: 175px;
    position: absolute;
    right: 0;
    top: 18px;
    color: #C0C0C0;
    font-size: 28px;
    z-index: 500;
}

#topLogo a {
    color: #C0C0C0;
}

#DGoverlay {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 90;
        width: 100%;
        height: 500px;
        background-color: #000;
        -moz-opacity: 0.6;
        opacity: 0.6;
}

#slideInPane {
 z-index: 100;
}

* > html #p-cactions li { border: none; }
* > html #p-cactions li a {
    border: 1px solid #aaa;
    border-bottom: none;
}

* > html #p-cactions li.selected a { border-color: #fabd23; }
