/*
Theme Name: Elder Game - Knight
Theme URI: http://www.eldergane.com/
Description: Based on the default WordPress theme. Intended for use on Elder Game blog only.
Version: 1.0
Author: Sandra Powers
*/



/* RESET CSS - Derived from YUI's "reset" CSS file v 2.5.0 */

html{color:#000;background:#FFF;}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;}
img{border:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}
li{list-style:none;}
caption,th{text-align:left;}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}
q:before,q:after{content:'';}
abbr,acronym {border:0;font-variant:normal;}
/* to preserve line-height and selector appearance */
sup {vertical-align:text-top;}
sub {vertical-align:text-bottom;}
input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}
/*to enable resizing for IE*/
input,textarea,select{*font-size:100%;}
/*because legend doesn't inherit in IE */
legend{color:#000;}

/* Global modifications to "reset" to make it more typical */

h1,h2,h3,h4,h5,h6{font-weight:bold;}
input,select {font-size: 90%;}
strong {font-weight: bold;}
em {font-style: italic;}
ul li {list-style-type: disc;}
ol li {list-style-type: decimal;}
ul,ol {margin: 1em 1em 1em 1.5em;}
p {margin: 1em 0;}



/* Page Structure */

body 
{
  background: white;
  color: black;
  font-size: 62.5%; /* Resets 1em to 10px */
  font-family: 'Lucida Grande', Verdana, Arial, sans-serif;
}

#page
{
  position: relative;
  width: 960px;
  margin: 0 auto;
  font-size: 1.5em;
}



/* Header & Footer */

#header
{
  border: 1px solid white; /* Prevents the menu margin from shifting the title image lower. */
}

#header #headerimg a
{
  position: absolute;
  display: block;
  top: 0;
  left: 10px;
  width: 225px;
  height: 165px;
}

#header #headerimg a:link, #header #headerimg a:visited { background: white url('images/header.png'); }
#header #headerimg a:hover, #header #headerimg a:active { background: white url('images/header_hover.png'); }

#header h1
{
  position: absolute;
  top: -1000px;
  left: -1000px;
}

#footer
{
  clear: both; /* To clear navigation. */
  margin-top: 2em;
  margin-left: 265px; /* To clear absolute sidebar. */
  border-top: 1px dotted #800000;
  font-size: 0.8em; 
  text-align: center;
}



/* Menu */

#header_navigation 
{
  margin-top: 20px;
  height: 1.5em;
  background: #800000;
  text-align: left;
}

#header_navigation ul 
{
  list-style-type: none; 
  margin: 0; 
  margin-left: 225px;
  padding: 0.1em 0; 
  padding-left: 1.75em;
}

#header_navigation li 
{ 
  display: inline; 
  padding: 0 1em;
}

#header_navigation a { color: white; }
#header_navigation a:link, #header_navigation a:visited { text-decoration: none; }
#header_navigation a:hover, #header_navigation a:active { text-decoration: underline; }



/* Sidebar */

#sidebar
{
  position: absolute;
  left: 10px;
  top: 165px;
  width: 200px;
  margin-top: 20px;
  padding-right: 2em;
  border-right: 3px double #800000;
  font-size: 0.8em;
  line-height: 160%;
}

#sidebar ul
{
  list-style-type: none; 
  padding: 0;
  margin: 0;
}

#sidebar ul li
{
  list-style-type: none; 
  padding: 0;
  margin: 0;
}

#sidebar #highlights ul
{
  padding-left: 1em;
}

#sidebar #highlights ul li
{
  text-indent: -1em;
}

#sidebar h2
{
  font-size: 1em;
  margin: 1.5em 0 0.5em 0;
  padding: 0;
}



/* Ads */

#content #sponsor 
{
  margin: 1em 0 2em 0;
}

#content #sponsor h2
{
  font-size: 0.8em;
  margin-bottom: 5px;
  color: black;
}



/* Main Content */

#content
{
  margin-left: 235px;
  padding: 0 0 0 2em;
  line-height: 140%;
}

#content .navigation
{
  font-size: 0.8em;
  padding: 1.5em 0;
}

#content .navigation_top
{
  font-size: 0.8em;
  padding: 1em 0;
}

#content h2
{
  font-weight: bold;
  font-size: 1.5em;
  color: #800000;
  margin: 1.5em 0 0.25em 0;
}

#content h2 a
{
  text-decoration: none;
}

#content h3
{
  font-size: 1.1em;
  margin: 1em 0 0.25em 0;
}

#content h4
{
  font-size: 1em;
  margin: 1em 0 0.25em 0;
}

#content .postmetadata
{
  font-size: 0.8em; 
  margin: 0;
}

#content .pagetitle
{
  margin: 2em 0 1em 0;
}

#content .pagetitle,
#content .post 
{ 
  clear: both; /* To clear floating navigation. */
}


/* Special Pages */

body.search #content .post h3,
body.single #content .post h2
{
  margin: 1.5em 0 0.25em 0;
}

body.single #content .entry .postmetadata
{
  border: 1px dotted #800000;
  padding: 1em;
}



/* Comments */

ol.commentlist .alt
{
  border: 1px dotted #800000;
  padding: 1em;
  margin: 1em 0;
}

#commentform p
{
  font-size: 0.8em;
}

#commentform textarea
{
  width: 100%;
}



/* General Formats */

a:link, a:visited { color: #800000; }
a:hover, a:active { color: #c00000; }

img { border: 0; }
code { font-size: 1em; }
blockquote 
{ 
  font-style: italic; 
  padding-left: 2em;
}

.left, .alignleft
{ 
  float: left; 
  padding: 0 1em 0.5em 0;
}

.right, .alignright
{ 
  float: right; 
  padding: 0 0 0.5em 1em;
}

/* This only matches list items that are a direct descendant of the textlist ul. 
If you nest lists and you want the inner one spaced also, use the class on both. */
.textlist > li
{
  margin: 1em 0;
}

/* This is intended to be used on a paragraph to contain an image and caption text. */
.caption, .wp-caption-text
{
  margin: 0;
  font-weight: bold; 
  font-size: 0.6em;
}

table.balanced, table.balanced th, table.balanced td { border: 1px solid black; }
table.balanced { margin: 1em 0; }
table.balanced th { font-weight: bold; }
table.balanced th, table.balanced td 
{ 
  padding: 3px 5px; 
  vertical-align: top;
}

table.two-col th, table.two-col th { width: 50%; }
table.three-col th, table.three-col th { width: 33%; }

