/*
  Styles for Etianen homepage.
*/
* {
    font-family: sans-serif;
    font-size: 1em;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
}

html {
    min-height: 100%;
}

body {
    min-height: 100%;
    font-size: 80%;
    background: white url("../img/body-background.png") bottom left repeat-x;
}

/*
  Minor links at the top of the page.
*/
div#site-tools {
    background: #333333 url("../img/site-tools-background.png") bottom left repeat-x;
    height: 1.5em;
    padding: 0.6em 0em 0.40em 0em;
}

div#site-tools-content {
    margin: 0em auto 0em auto;
    width: 960px;
}

div#site-tools ul {
    list-style: none;
    float: right;
    margin: 0em 0em 0em 250px;
}

div#site-tools li {
    float: left;
    margin: 0em 0em 0em 2em;
}

div#site-tools a {
    color: #eeeeee;
}

div#site-tools a:hover {
    color: white;
}

/*
  Main page header.
*/
div#header {
    background: #53d511 url("../img/header-background.png") bottom left repeat-x;
    border-top: 5px #4abd0f solid;
    border-bottom: 2px #4abd0f solid;
    color: white;
}

div#header-content {
    position: relative;
    margin: 0em auto 0em auto;
    width: 960px;
    height: 152px;
}

div#header img#logo {
    position: absolute;
    top: -26px;
    left: -15px;
    color: white;
}

/*
  Main page content.
*/
div#body {
    background: transparent url("../img/shadow-bottom.png") top left repeat-x;
    position: relative;
}

div#body-content {
    width: 658px;
    margin: 0em auto 0em auto;
    padding: 35px 302px 35px 0px;
    position: relative;
}

div#secondary-content {
    width: 242px;
    position: absolute;
    top: 35px;
    right: 0px;
}

div#secondary-content h2 {
    margin: 0.5em 0em 0.5em 0em;
}

div#secondary-content img {
    display: block;
    margin: 0px 0px 20px 0px;    
}

div#secondary-content li {
    margin: 1em 0em 1em 2em;
}

/*
  Page styles.
*/
h1 {
    font-size: 200%;
    margin: 0em 0em 1em 0em;
    color: #111111;
    font-weight: normal;
}

h2 {
    font-size: 150%;
    color: #111111;
    font-weight: normal;
    margin: 1.5em 0em 0.5em 0em;
}

p {
    line-height: 150%;
    margin: 1.5em 0em 1.5em 0em;
    color: #111111;
    text-align: justify;
}

a {
    color: #C00000;
}

a:hover {
    text-decoration: none;
}

a:visited {
    color: #400000;
}

h1 a, h2 a, h3 a, h1 a:visited, h2 a:visited, h3 a:visited {
    color: inherit;
    text-decoration: none;
}

strong {
    font-weight: bold;
}

a img {
    outline: none;
    border: none;
}

p img {
    float: left;
    display: block;
    margin: 5px 10px 0px 5px;
}

ul {
    margin: 1.5em 0em 1.5em 0em;
    list-style: none outside url("../img/bullet.png");
}

li {
    margin: 1em 0em 1em 3em;
}

table {
    margin: 0.5em 0em 0.5em 0em;
    border-collapse: collapse;   
}

th {
    text-align: left;
    font-weight: bold;
    vertical-align: top;
    padding: 0.5em 1em 0.5em 1em;
}

td {
    text-align: left;
    vertical-align: top;
    padding: 0.5em 1em 0.5em 1em;    
}

blockquote {
    margin: 1em 3em 1em 3em;
    font-style: italic;   
}

div.panel {
    border: 1px #808080 solid;
    margin: 3em 0em 0em 0em;
    padding: 20px 20px 20px 20px;
    background: #eeeeee;
}

div.panel h2 {
    margin: 0em 0em 1em 0em;
}

/*
    Forms styles.
*/
input, select, textarea {
    border: 1px #111111 solid;
    padding: 2px 2px 2px 2px;
}

input:hover, input:focus, select:hover, select:focus, textarea:hover, textarea:focus {
    background: #f8f8f8;
}

input.submit {
    border: 1px #111111 solid;
    padding: 2px 5px 2px 5px;
    color: white;
    font-weight: bold;
    background: #4abd0f;
    cursor: pointer;
    width: auto;
}

input.submit:hover {
    background: #5acd1f;
}

ul.errorlist {
    list-style: none;
    margin: 0em 0em 0.5em 0em;
}

ul.errorlist li {
    font-weight: bold;
    font-style: italic;
    color: #C00000;
    margin: 0em 0em 0em 0em;
}

/*
  Homepage.
*/
ul#featured-sites {
    list-style: none;
    height: 136px;
    width: 678px;
    margin: 0em 0em 1em 0em;
}

ul#featured-sites li {
    float: left;
    width: 180px;
    height: 127px;
    margin: 0px 28px 0px 0px;
    display: inline;
    background: url("../img/featured-site.png") top left no-repeat;
}

ul#featured-sites li a {
    display: block;
    margin: 15px 23px 15px 15px;
}

ul#featured-sites li a img {
    display: block;
}

ul#news-feed {
    list-style: none;
    list-style-image: none;
}

ul#news-feed li {
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;   
}

ul#news-feed li a {
    display: block;
    padding: 12px 12px 12px 40px;
    width: 218px;
    background: transparent url("../img/news-blog.png") 8px center no-repeat;
}

ul#news-feed li a:hover {
    background-color: #f8f8f8;
    text-decoration: underline;
}

/*
    Contact.
*/
table.vcard {
    background: transparent url("../img/contact/microformat_hcard.png") bottom right no-repeat;
}

/*
    Blog.
*/

p.author {
    margin: 0.9em 0em 2em 0em;
}

div.comment {
    margin: 0em 0em 2em 0em;
    border-top: 1px #808080 solid;
}

div.comment h3 {
    margin: 0.75em 0em 0.25em 0em;
    color: #008000;
}

span.date {
    font-size: 0.75em;
    font-weight: normal;
    color: #111111;
}