/* @(#)$KimmoSuominen$
 *
 * Copyright (c) 2006-2009 Kimmo Suominen
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer
 *    in the documentation and/or other materials provided with the
 *    distribution.
 * 3. The name of the author may not be used to endorse or promote
 *    products derived from this software without specific prior
 *    written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
 * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 */

html,
body
{
    height: 100%;
}

body
{
    background-color: #ffffff;
}

html,
body,
blockquote,
div,
form,
h1,
h2,
h3,
h4,
h5,
h6,
img,
.menu ul,
.menu ul li,
p,
table,
td
{
    margin: 0;
    padding: 0;
}

html
{
    margin-bottom: 1px;
}

blockquote
{
    margin-left: 30px;
}

.meta,
h1,
h2,
h3,
h4,
h5,
h6,
p
{
    margin-bottom: 7px;
}

#setupform p
{
    margin-bottom: 0;
}

#header h1,
.menu h2
{
    margin: 0;
}

a,
a:link,
a:visited
{
    color: #0066ff;
}

a
{
    text-decoration: underline;
}

body,
#header a,
#header a:link,
#header a:visited,
.storytitle a,
.storytitle a:link,
.storytitle a:visited
{
    color: #000000;
}

#header a,
.menu a,
.storytitle a
{
    text-decoration: none;
}

#header a:hover,
.menu a:hover,
.storytitle a:hover
{
    text-decoration: underline;
}

table
{
    border-collapse: collapse;
    empty-cells: show;
}

td,
th
{
    vertical-align: baseline;
}

#envelope,
#contactform table
{
    width: 100%;
}

.clear,
#commentform,
#comments,
.feedback,
#header h1,
.nocomments,
.pagelinks,
.post,
.post .postmeta,
#respond,
.storytitle
{
    clear: both;
}

#main,
#sidebar
{
    vertical-align: top;
}

#footer
{
    vertical-align: bottom;
}

.menu ul
{
    list-style-type: none;
}

.menu ul.meta li
{
    display: inline;
    padding-left: 0;
}

.menu ul.meta li:after
{
    content: ",";
}

.menu ul.meta li.time:after
{
    content: "";
}

.newblogheader,
.pagelinks
{
    height: 35px;
}

.pagelinks .prevpage
{
    float: left;
    padding-right: 1.3em;
    text-align: left;
}

.pagelinks .nextpage
{
    float: right;
    padding-left: 1.3em;
    text-align: right;
}

.post
{
    /* this padding keeps margins working after floated images */
    padding-top: 1px;
}

.post img
{
    border: 1px solid #000000;
    margin: 5px 5px 2px 0;
}

.post img.wp-smiley
{
    border-width: 0;
    margin: 0;
}

.post img[align^="left"]
{
    margin-left: 0;
    margin-right: 6px;
}

.post img[align^="right"]
{
    margin-left: 6px;
    margin-right: 0;
}

.recentquote img
{
    float: left;
    margin-right: 10px;
    width: 128px;
}

.recentquote img.wp-smiley
{
    display: none;
}

.commentlist
{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.commententry
{
    display: block;
    margin: 0;
    padding: 7px 7px 1px 7px;
}

.post .meta
{
    margin-bottom: 14px;
}

.post .feedback,
.post .postmeta
{
    margin-top: 14px;
}

.post postmeta
{
    padding: 5px;
}

.commententry .commentauthor,
.commententry .meta,
.commententry .commentbody
{
    margin-left: 55px;
}

.commentnumber
{
    float: right;
    margin: 0 0 2px 7px;
    padding: 0;
}

.commentnumber a
{
    text-decoration: none;
}

.commentavatar
{
    float: left;
    margin-bottom: 7px;
}

#comment,
#contactform textarea
{
    width: 98%;
}

#contactform td.label
{
    padding-top: 15px;
}

#contactform input.submit
{
    margin-top: 15px;
}

#contactform table
{
    margin-bottom: 15px;
}

#contactform span.error
{
    color: #ff3333;
}

#setupform td,
#setupform th
{
    padding-bottom: 10px;
}

#setupform input,
#setupform select
{
    width: 50%;
}

#setupform input.radio
{
    width: auto;
}

#setupform br + p
{
    margin-top: 5px;
}

#setupform th
{
    padding-right: 7px;
    text-align: right;
}

#setupform tr.error
{
    background-color: #f0e0e0;
}

.blogdirectory
{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.sitesearch .morelink
{
    margin-bottom: 14px;
    margin-top: 7px;
}

.sitesearch .results b
{
    text-decoration: underline;
}

#infotop
{
    height: 100px;
    padding-left: 25px;
    vertical-align: top;
}

#infoleft
{
    width: 25px;
    vertical-align: top;
}

#inforight
{
    padding-left: 10px;
    width: 160px;
    vertical-align: top;
}

#infobottom
{
    height: 25px;
    vertical-align: top;
}

td.bbb,
td.bblr,
td.bbrr,
td.bhb,
td.btb,
td.btlr,
td.btrr
{
    height: 7px;
}

td.bblr,
td.bbrr,
td.bvb,
td.btlr,
td.btrr,
td.bvl,
td.bvr
{
    width: 7px;
}

body,
input,
textarea
{
    font-family: Verdana, sans-serif;
    line-height: 1.4;
}

#comments,
#header,
h1,
h2,
h3,
h4,
h5,
h6,
#respond,
#search input#b
{
    font-family: 'Trebuchet MS', sans-serif;
}

body,
input,
select,
table,
td,
th,
textarea
{
    font-size: 10pt;
}

.commenters,
.meta,
.postmeta,
small
{
    font-size: 7pt;
}

h1
{
    font-size: 18pt;
}

h2
{
    font-size: 16pt;
}

h3
{
    font-size: 14pt;
}

h4
{
    font-size: 13pt;
}

h5
{
    font-size: 12pt;
}

h6
{
    font-size: 11pt;
}

.menu h2,
#search input#b
{
    font-size: 11pt;
}

.commentnumber
{
    font-size: 22pt;
}
