/* general page setup */

body {
  padding:0;
  margin:0;
  background:#001c31 url(../img/bg-tiled.jpg) top left repeat-x;
  font-size:medium;
  font-family: verdana, sans-serif;
}

pre {
  font-size:14px;
}

a {
  text-decoration:none;
  color:#1958b7; 
}

a:hover {
  color:#000;
  text-decoration:underline;
}

h1 {
  color:#fff;
  margin:0;
  padding:12px 0 0 45px;
  width:650px;
  height:46px;
  background: url(../img/bg-body-verytop.jpg) top left no-repeat;
  font: bold 16px "Arial", sans-serif;
}

h2 {
  font-family:"Arial", sans-serif;
  text-align:center;
}

h4 {
  margin:0;
  padding:0;
}

h5 {
  margin:10px 0 15px 0;
  padding:5px 0 0 0;
  text-align:center;
  letter-spacing:2px;
}

table {
  border-collapse:collapse;
  border:1px solid #000;
  margin-bottom:0;
}

caption {
  text-align:left;
  padding:15px 0 10px 0;
}

th {
  padding:6px 0;
  background-color:#dceaf4;
  border-bottom:1px solid #000;
}

td {
  border:1px solid gray;
  padding:3px;
  font-size:80%;
}

/* general body setup */

#wrap, #header, #topadspace {
  width:900px;
}

#wrap {
  margin:0 auto;
  background: url(../img/bg-body.jpg) top right repeat-y;
}

#header {
  height:147px;
  background: url(../img/header.jpg) top right no-repeat;
}

#header img {
  border:0;
}

#header h2 {
  display:none;
}

#topadspace {
  height:0;
  background: url(../img/bg-tiled.jpg) 0 17% repeat-x;
}

#nav {
  width:200px;
  float:left;
  background: url(../img/bg-nav.jpg) top left repeat-y;
  margin-left:6px;
}

#topbox, .navbox {
  letter-spacing:2px;
  padding:7px 0 8px 20px;
  color: #fff;
  font: bold 13px "Arial", sans-serif;
}

#topbox {
  background: url(../img/bg-nav-topbox.jpg) top left no-repeat;
  margin:0;
}

.navbox {
  margin: 0 0 0 2px;
  background: url(../img/bg-nav-repeat.jpg) top left no-repeat;
}

#main {
  width:691px;
  float:right;
  background: #c2d7e5;
  border-right:3px solid black;
}

.fulltext-wrap {
  margin-left:9px;
  background: url(../img/bg-body-tile.jpg) top left repeat-y;
}

.fulltext {
  width:667px;
  background: url(../img/bg-body-top.jpg) top left no-repeat;
  font-size:80%;
  line-height:22px;
}

.fulltext-bot {
  background: url(../img/bg-intro-bottom.jpg) bottom left no-repeat;
  padding: 5px 27px 20px 20px;/*defines padding for all of text in body*/
}

.fulltext-bot img {
  margin:0 auto;
  border:1px solid #000;
}

.fulltext-bot a img {
  display:block;
  margin:0 auto;
}

.fulltext-bot a:hover img {
  border:1px solid #508fc4;  
}

.imagerow a img{
  display:inline;
}

.imagerow {
  padding: 20px 40px 0 80px;
}

#footer {
  clear:both;
  width:900px;
  background: url(../img/bg-footer-extended.jpg) top left repeat-y;
}

#footer p {
  text-align:right;
  margin:0;
  padding:10px 15px 15px 0;
  background: url(../img/bg-footer.jpg) bottom left no-repeat;
  font-size:60%;
  color:gray;
  letter-spacing:1px;
}

.subheader {
  margin:20px 0;
  width:700px;
  height:48px;
  background: url(../img/bg-body-subheader.jpg) top left no-repeat;
}

.subheader h2 {
  text-align:left;
  color:#fff;
  font-size: 16px;
  padding:10px 0 0 45px;
}

.alt {
  background-color:#fff;
}

#logout {
  float:right;
}

/* nav specific */

.button {
  width: 184px;
  border-right: 1px solid #000;
  padding:0;
  margin-bottom: 10px;
  margin-left:2px;
  font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Lucida, Geneva, Helvetica, Arial, sans-serif;
  font-size:80%;
  background-color: #90bade;
  color: #333;
}

.button ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border: none;
}
		
.button li {
  border-bottom: 1px solid #90bade;
  margin: 0;
}
		
.button li a {
  display: block;
  padding: 4px 5px 4px 0.5em;
  border-left: 10px solid #1958b7;
  border-right: 10px solid #508fc4;
  background-color: #2175bc;
  color: #fff;
  text-decoration: none;
  width: 100%;
}

html>body .button li a {
  width: auto;
}

.button li a:hover {
  border-left: 10px solid #1c64d1;
  border-right: 10px solid #5ba3e0;
  background-color: #2586d7;
  color: #fff;
  text-decoration:underline;
}

#affils {
  list-style-type:none;
  margin-left:0px;
  margin-bottom:0px;
  padding-left:50px;
}

#affils img {
  border:0;
}

#affils a:hover img{
 position:relative;
 left:5px;
}

/* index page only */

#topboxes {
  margin-left:0px;
  margin-top:20px;
  padding-left:15px;
  margin-right:17px;
}

#topboxes ul {
  margin:0;
  padding:0 10px 20px 5px;
  list-style-type:none;
  font-size:70%;
  background:url(../img/bg-topbox-bottom.jpg) bottom left no-repeat;
}

#topboxes li {
  padding-top:5px;
  padding-bottom:5px;
  width:296px;
  padding-left:15px;
}

.listleft {
  float:left;
  margin-bottom:20px;
  background:url(../img/bg-topbox.jpg) top left no-repeat;  
}

.listright {
  float:right;
  margin-bottom:20px;
  background:url(../img/bg-topbox.jpg) top left no-repeat;  
}

#topboxes a {
  color:#002e50;
}

#topboxes a:hover {
  color:#005a9c;
  text-decoration:underline;
}

.newsbottom {
  font-size:75%;
  text-align:right;
  margin-bottom:25px;
  border-bottom:1px solid #000;
}

/* pages with forms */

.row {
  clear: both;
  padding-top: 10px;
  }

.row span.label {
  float: left;
  width: 100px;
  text-align: right;
  }

.row span.formw {
  float: right;
  width: 515px;
  text-align: left;
  } 
  
.row textarea, .row input, .row select {
  background-color:#c2d7e5;
}

#submitbut {
  margin: 10px 0 15px 250px;
  padding:10px 20px;
  width:150px;
  font-size:130%;
  font-weight:bold;
  border:2px outset gray;
  font-family:arial, sans-serif;
  color:white;
  background-color:#508fc4;
}

#req {
  color:red;
  font-weight:bold;
}

/* db, article related */

#tabletitle {
  width:250px;
}

#tabletype {
  width:75px;
}

#tablegame {
  width:125px;
}

#tableauthor {
  width:100px;
}

#tablerating {
  width:50px;
}

#tabledate {
  width:45px;
}

.unchecked a {
  color:red;
  font-weight:bold;
}

#verifybox {
  text-align:right;
}

.regpage {
  border-collapse:collapse;
  border:0;
  margin-top:20px;
}

.regpage tr {
  border-bottom:2px solid #000;
}

.regpage td {
  vertical-align:top;
  border:0;
  padding:15px 0;
}

#bottomrow {
  border:0;
}

.regpage p {
  margin-top:0;
  padding-top:0;
}

.imagecell {
  width:160px;
}

/* image pages */

#imgpage img {
  margin:0 auto;
  padding:25px;
  border:0;
}

.photolink {
  margin-top:10px;
  text-align:center;
  display:block;
  font-size:14px;
  font-weight:bold;
}

.picstable {
  border-collapse:collapse;
  border:0;
  width:600px;
}

.picstable td {
  padding:25px 0 0 0;
  border:0;
}

.returnlink {
  font-weight:bold;
}

.splashpage {
  width:475px;
  margin:0 auto;
  padding:50px 0;
}

.splashpage a img {
  display:inline;
}

.splash {
  font-size:16px;
  font-weight:bold;
}

.splash img {
  display:inline;
  width:150px;
}

.splash > dt {
  float:left;
  width:300px;
  clear:left;
}

.splash > dd {
  padding-top:10px;
}

.splash > dt {
  padding-top:10px;
}

.firstpage td, .firstpage {
  border:0;
  font-size:16px;
  font-weight:bold;
  text-align:center;
}


.moreinfo {
  list-style-type:none;
}

#tipDiv {
  position:absolute; 
  visibility:hidden; 
  z-index:100;
}

#adspacebody {
  padding:20px 0 0 0;
}

#gtaivcount {
  height:140px;
  width:167px;
  background:url(../images/gtaiv/misc/countdown2.jpg) no-repeat top left;
  margin-left:40px;
  color:black;
  font-size:300%;
  font-family:georgia;
  font-weight:bold;
  font-style:italic;
  padding:0 0 0 380px;
  line-height:38px;
}

/* unknown */

#details {
  margin:0;
  line-height:20px;
  margin-bottom:8px;
  padding:0;
  list-style-type:none;
}

#details li {
  padding-bottom:5px;
  padding-left:0;
}

#desc {
  line-height:20px;
}

#search {
  text-align:center;
}

.dbtable {
  width:625px;
}

#bigpage {
  padding:10px;
  color:#fff;
}

#bigpage img {
  border:0;
  margin:15px 5px;
}

/*ie <=6 hacks.  goddamn hacks. */

.button {
  _width:153px;
}

#nav {
  _position:relative;
  _left:-6px;
  _top:-21px;
}

#topadspace {
  _height:0;
  _width:0;
}

.subheader {
  _width:100%;
}

#nav {
  _width:auto;
}

h4 {
  _width:168px;
}

#main {
  _position:relative;
  _top:-22px;
  _border-right:3px solid #000;
}

h1 {
  _width:646px;
  _position:relative;
  _left:3px;
  _background: url(../img/bg-body-verytop-ie.jpg) top left no-repeat;
}