/*
Theme Name: Biitsi
Theme URI: http://biitsi.com/
Description: Biitsi
Version: 0.1
Author: Kimmo Suominen
Author URI: http://kimmo.suominen.com/
*/

/* Make vertical scrollbar always visible */
html
{
    height: 100%;
    margin-bottom: 1px;
}

/* Basic settings */
body
{
    background-color: #ddcc99;
    color: #131313;
}

.alt
{
    background-color: #f5f5f5;
}

/* Columns */
#everything
{
    margin: 20px auto;
    padding: 0px;
    width: 760px;
}

#everything
{
    background-color: #ffffff;
    border: 1px solid #77aa88;
}

#navi
{
    background-color: #ffffcc;
    border-bottom: 5px solid #77aa88;
    border-top: 4px solid #77aa88;
    color: #131313;
    margin: 0px;
    padding: 3px 5px;
}

#navi ul
{
    display: inline;
    list-style: none;
    margin: 0px;
    padding: 0px;
}

#navi li
{
    display: inline;
}

#envelope
{
    clear: both;
    float: right;
    padding: 0px;
    margin: 0px;
    /* Justification disturbs the border */
    /* text-align: left; */
}

#content
{
    float: right;
    margin: 0px;
    padding: 0px 25px;
    width: 515px;
}

#menu
{
    background-color: #ffffff;
    float: right;
    font-size: 90%;
    margin: 30px 0px;
    overflow: hidden;
    width: 190px;
}

#menu ul h2
{
    font-size: 100%;
    font-weight: bold;
    margin: 0px;
    padding: 5px 0px 0px 0px;
}

#menu ul
{
    list-style-type: none;
    margin: 0px;
    padding-left: 3px;
    position: relative;
}

#menu ul li
{
    padding: 5px 15px 5px 15px;
    position: relative;
}

#menu ul ul
{
    border: 0px;
    font-weight: normal;
    list-style-type: none;
    margin: 0px;
    padding: 0px;
    position: static;
    text-align: left;
}

#menu ul ul li
{
    background-color: transparent;
    border: 0px;
    margin-bottom: 0px;
    margin-left: 0.7em;
    position: static;
    padding: 0px;
    padding-left: 1.1em;
    text-indent: -0.7em;
    width: auto;
}

#menu ul ul li.p
{
    margin-left: 0;
    text-indent: 0;
}

#menu ul ul ul.children
{
    padding-left: 4px;
}

#menu form
{
    margin: 0px 0px 0px 13px;
}

#menu input#s
{
    width: 80%;
    background-color: #f5f5f5;
    border: 1px solid #999999;
    color: #000000;
}

#wp-calendar
{
    color: #cccccc;
    empty-cells: show;
    margin: 0px;
    width: 100%;
}

#wp-calendar a
{
    display: block;
}

#wp-calendar #next a
{
    padding-right: 10px;
    text-align: right;
}

#wp-calendar #prev a
{
    padding-left: 10px;
    text-align: left;
}

#wp-calendar caption
{
    color: #131313;
    text-align: left;
    text-transform: capitalize;
}

#wp-calendar th,
#wp-calendar td
{
    font-size: 90%;
    line-height: 1.1em;
    text-align: center;
}

#wp-calendar th
{
    color: #999999;
    text-transform: capitalize;
}

#wp-calendar td
{
    border: 1px solid #ffffff;
    padding: 1px 0px 0px 0px;
}

#wp-calendar td:hover
{
    border-color: #131313;
}

#wp-calendar td.pad:hover
{
    border-color: #ffffff;
}

#wp-calendar #today
{
    background-color: #e2c6e3;
    color: #f5f5f5;
}

#powered
{
    font-size: 90%; /* small */
}

#footspace
{
    background-color: #ffffcc;
    border-bottom: 4px solid #77aa88;
    border-top: 5px solid #77aa88;
    clear: both;
    color: #131313;
    margin: 0px;
    padding: 3px 5px;
    text-align: right;
}

acronym,
abbr
{
    border-bottom: 1px dashed #999999;
}

acronym,
abbr,
span.caps
{
    cursor: help;
}

.feedback
{
    margin-bottom: 30px;
    text-align: right;
}

.feedback a
{
    color: #999999;
}

.meta li
{
    display: inline;
}

.meta ul
{
    display: inline;
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.meta
{
    color: #999999;
    font-size: 81%;
}

/* Justifying text everywhere doesn't work well,
 * but it tends to work well for journal articles.
 * This very specific setting is for enabling it
 * only in the (normal) paragraphs of each article.
 */
div.storycontent p,
div.storycontent li
{
    text-align: justify;
}

/* Notepad entries */
ul.notepad
{
    margin-left: 0px;
    padding-left: 0px;
}

ul.notepad li
{
    list-style-type: none;
    margin-bottom: 1em;
    text-align: justify;
}

/* Start the post at a uniform line */
div.post
{
    clear: both;
    margin: 0px;
}

.storytitle
{
    margin: 0px;
    padding: 0px;
}

#header
{
    background-color: #224422;
    background-image: url("miami.jpg");
    background-position: bottom right;
    background-repeat: no-repeat;
    border-bottom: 1px solid #131313;
    text-align: right;
}

#header
{
    margin: 0px;
    padding: 10px 10px 10px 30px;
}

#header,
#header a
{
    color: #ffff66;
}

.datelinks,
.pagelinks
{
    clear: both;
    margin: 5px 0px;
    padding: 0px;
    width: 100%;
}

.datelinks
{
    margin-top: 0px;
}

.pagelinks
{
    height: 2em;
}

.datelinks .prevpage,
.pagelinks .prevpage
{
    float: left;
}

.datelinks .nextpage,
.pagelinks .nextpage
{
    float: right;
}

.postmeta
{
    padding: 5px 10px;
}

@media print
{
    body
    {
        background-color: #ffffff;
        color: #000000;
    }

    #everything,
    #header
    {
        border: 0px;
    }

    #header
    {
        background-color: #ffffff;
	background-image: none;
        margin: 0px 0px 30px 0px;
        padding: 20px 0px 10px 0px;
	border-top: 2px solid #000000;
	border-bottom: 2px solid #000000;
    }

    #header,
    #header a
    {
	color: #000000;
    }

    #commentform,
    #footspace,
    #menu,
    #navi,
    #respond,
    .datelinks,
    .feedback,
    .pagelinks,
    .postmeta
    {
        display: none;
    }

    #envelope
    {
        border: 0px;
        margin: 0px;
        padding: 0px;
        width: 100%;
    }

    div.post
    {
	margin-bottom: 20px;
    }
}

/*
 * link styles
 *
 */

a
{
    text-decoration: none;
}

a:link
{
    background-color: inherit;
    color: #3366cc;
}

a:visited
{
    background-color: inherit;
    color: #996699;
}

a:hover,
a:link:hover,
a:visited:hover
{
    background-color: inherit;
    color: #cc6666;
    text-decoration: underline;
}

.nolink a,
.nolink a:hover
{
    background-color: inherit;
    color: #131313;
    text-decoration: none;
}

.commentlist
{
    margin: 0px;
    padding: 0px;
}

.commententry
{
    display: block;
    list-style-type: none;
    padding: 5px 10px 1px 10px;
}

.commententry p
{
    text-align: justify;
}

.commentnumber
{
    color: #999999;
    float: right;
    font-size: 250%;
    font-style: italic;
}

#comment
{
    width: 100%;
}

@media print
{
    a,
    a:link,
    a:visited
    {
        border-width: 0;
        color: #000000;
        text-decoration: none;
    }
}

/* Images */
img.alignleft,
img.left
{
    float: left;
    margin-bottom: 0.2px;
    margin-right: 1em;
    margin-top: 0.2px;
}

img.alignright,
img.right
{
    float: right;
    margin-bottom: 0.2px;
    margin-left: 1em;
    margin-top: 0.2px;
}

/*
 * font-family:
 *   Font properties are not inherited correctly in IE 5.5 from BODY (or
 *   other containing objects) to table cells.  The workaround is to
 *   re-specify font proparties for table cells (in the general case it
 *   will just match the properties given for BODY elements).
 *
 */

body,
#menu ul h2
{
    font-family: Verdana, 'BitStream Vera Sans', Arial, Helvetica, sans-serif;
}

body
{
    font-size: 12px;
    line-height: 1.4;
}

table, td, input, select, textarea
{
    font-size: inherit;
}

code, listing, pre, tt
{
    font-family: 'Courier New', Courier, monospace;
}

h1, h2, h3, h4, h5, h6
{
    font-family: Georgia,
        'BitStream Vera Serif', 'Times New Roman', Times, serif;
    font-weight: bold;
}

#header
{
    font-family: 'Palatino Linotype',
        'BitStream Vera Serif', 'Times New Roman', Times, serif;
    font-style: italic;
    font-weight: bold;
    height: 115px;
}

@media print
{
    #header
    {
	height: auto;
    }
}

#header h1
{
    font-size: 280%;
    line-height: 1.1;
    letter-spacing: 0.2em;
    margin-bottom: 0px;
    margin-top: 0px;
}

#header .description
{
    font-size: 170%;
    margin-bottom: 13px;
    margin-right: 3px;
}

h1
{
    font-size: 220%;
}

h2
{
    font-size: 190%;
}

h3
{
    font-size: 160%;
}

h4
{
    font-size: 130%;
}

h5
{
    font-size: 115%;
}

h6
{
    font-size: 100%;
}
