/*
Theme Name: Derived from Neptune
Theme URI: http://dev.d10e.net/neptune/
Description: Neptune is a WordPress 1.5 theme with 3 columns
Author: Ben de Groot / Heavily modified by: Paul Tanner
Author URI: http://d10e.net/
Version: 0.6.1m
.
Copyright (C) 2005 Ben de Groot
Distributed under the terms of the GNU General Public License v2
.
*/

/*  Let's start with zeroing out any browser default margins and paddings */

* {
  margin: 0;
  padding: 0;
}

/*  Next we set the page height, to position the footer at the bottom of the window
 *  when page is short, and at the bottom of the page when page is longer */

html, body {
  xheight: 100%;
  background: #777c87;
  color: #444;
}
body {
  text-align: center; /* IE quirks auto margins workaround */
  font-family: arial;
}
html>body { font-size: 11px; } /* for modern browsers that can resize px */

#wrap {
  position: relative; /* to keep the header inside */
  height: 100%; /* to fill the window */
  width: 770px;
  margin: 0 auto; /* auto centers the div */
  text-align: left; /* after centering #wrap above we return to normal alignment */
  background-color:#f8f8f8; /* for #nav and #xtra */
}

#middle {
  xposition: relative;
  height: auto; /* pushing the footer below content when longer then window */
  min-height: 100%; /* for modern browsers, to push the footer down to the bottom of the window */
  margin-bottom: -120px; /* height of footer */
  xwidth: 770px;
  xbackground: blue url(ncols.png) repeat-y;
}

#middle:after { /* this will keep the floats contained, for modern browsers */
  content: ".";
  display: block;
  height: 0;
  overflow: hidden;
  clear: both;
  visibility: hidden;
}

* html #wrap, * html #middle {
  height: 100%; /* for IE because it doesn't do min-height */
}

/*  Now we set the header, footer and columns...   */

#header {
  padding: 45px 15px 0 15px;
  xheight: 190px;
  xwidth: 100%;
  overflow: hidden;
  background-color: white;
  background-image: url(hnl_header.jpg);
  background-repeat: no-repeat;
  border-bottom: 3px solid gray;
}

#footer {
  xtext-align:right;
  position: relative;
  width: 100%;
  height: 120px;
  background-color: white;
  border-top: 3px gray solid;
}

#footer p, #footer a {
 font-size:10px;
}

#content, #nav, #xtra {  /* so that the content will not overlap with the header or footer */
  padding-bottom: 140px; /* height of footer + a little extra */
}

* html #xtra, * html #nav, * html #content {
  overflow: hidden;      /* this way IE doesn't mess with our sizes */
  xpadding-top: 140px;    /* for some mysterious reason IE needs a bit more */
}

#main {
  float: left;
  width: 575px; /* width of #content + #nav + shadow-margin */
}

#content {
  float: right;
  width: 380px;
  background-color:white;
}

#nav {
  float: left;
  width: 180px;
  margin-left: 15px;
}
* html #nav { margin-left: 8px; } /* IE bug fix */

#xtra {
  float: right;
  width: 190px;
}

/*  Some block elements that influence div sizes and positioning   */

h1 {
  font-size: 40px;
  line-height: 40px;
  margin: 0;
}

#footer p {
  position: absolute; /* otherwise it gets pushed aside */
  top: 17px;
  width: 700px;
  text-align: center;
  margin: 0 35px;
}

h1 a:link, h1 a:visited, h1 a:hover, h1 a:active {
  text-decoration: none;
}

/*  Giving block elements inside the columns a default margin.
 *  This prevents the need for a box model hack on all the columns. */

h2, h3, h4, h5, h6, p, ul, ol, dl, pre, fieldset, address, table {
  margin: 1em 15px;
  color: #142165;
}

/*   General styling    */

h2 {
  font-size: 3em;
}

h3 {
  font-size: 1.4em;
}

h4 {
  font-size: 1.1em;
}

h3+h4 {
  margin-top: .4em;
}

address {
  font-style: italic;
}

blockquote {
  margin: 0;
  padding: 1px 0 1px 20px;
  background: url(http://www.e-ssociation.net/hnl/wp-content/themes/hnl/quote.png) 15px 0 no-repeat;
}
blockquote p {
  margin: .7em 15px;
}

dt {
  margin: 1em 0 .5em 0;
  font-weight: bold;
}

code, pre {
  font-family: 'bitstream vera sans mono', 'andale mono', monospace;
}

dd {
  margin: .5em 0 1em 1.5em;
}

img {
  border: none;
}

ol {
  margin-left: 30px;
}

textarea {
  width: 320px;
}

ul {
  list-style: disc;
  margin-left: 30px;
}

#content a {
  color: #142165;
  text-decoration: none;
}

#content a:hover {
  color: #FF870D;
  text-decoration: none;
}

#content p a {
  color: #FF870D;
  text-decoration: none;
}

#content p a:hover {
  color: #142165;
  text-decoration: none;
}
#content h2 {
  margin: 25px 15px 4px 15px;
  font-size: 2em;
  line-height: 120%;
  text-align: left;
}

#nav h2 {
  display: none; /* because it is for unstyled version */
}

#nav h3, #xtra h3, #nav caption {
  font-size: 1.2em;
  font-weight: bold;
  text-align: left;
  margin: 1.5em 15px .5em;
}
#nav ul, #xtra ul {
  margin-top: .5em;
}

#nav, #xtra, #footer {
  color: #def;
}

#nav a, #xtra a, #footer a {
  color: #142165;
  font-size: 11px;
  text-decoration: none;
}
#nav a:hover, #xtra a:hover, #footer a:hover {
  text-decoration: none;
  color:#FF870D;
}

.commentlink {
  text-align: right;
}

.commentlist {
  list-style: none;
}

.commentlist p {
  margin: .6em 0;
}

.hilite {
  background: #f93;
}

.more {
  margin-top: -1em;
  text-align: right;
}

.posted {
  position: relative;
  font-size: .9em;
  background: #def;
  border-top: 1px solid #3F4247;
  padding: 4px 0 4px 7px;
}
* html .posted { float: left; width: 344px; margin: .8em 8px; } /* IE bug fix */

.posted cite {
  font-size: 1.1em;
  font-weight: bold;
  font-style: normal;
  display: block;
}

.author .posted {
  background: #edf;
  border-color: #759;
}

#content {
  text-align: justify;
}

#postcomment {
  text-align: left;
}

input#submitComment {
  padding: 2px 4px;
}

input#submitComment:hover {
  cursor: pointer;
}

/* top header */

#header h1 a {
  margin: 15px 0 0 15px; 
  color: #000066;
}

#tagline {
  color: #000066;
  xtext-indent: -9999px;
  display: none;
}

#header ul.topnav {
  margin: 5px 0 0 15px; 
  height: 25px;
}

#header ul.topnav li {
  display: inline;
  list-style-type:none;
}

#header ul.topnav li a {
  height:100%;
  font-size:12px;
  font-weight:bold;
  color: #142165;
  padding: 5px 2px 5px 2px;
  text-align:center;
  text-decoration: none;
}

#header ul.topnav li a:hover {
  text-decoration: none;
  color:#FF870D;
}


/*  Navigation links    */

.prev {
  display: block;
  float: left;
  text-align: right;
  width: 48%;
}

.next {
  display: block;
  float: right;
  text-align: left;
  width: 48%;
}

.nav:after {
  content: ".";
  display: block;
  height: 0;
  overflow: hidden;
  clear: both;
  visibility: hidden;
}

* html .nav { height: 1%; }
