 /** Resource definitions. */

@font-face {
    font-family: 'SetFireToTheRain';
    src: url('/font/setfiretotherain.eot');
    src: url('/font/setfiretotherain.eot?#iefix') format('embedded-opentype'),
         url('/font/setfiretotherain.woff') format('woff'),
         url('/font/setfiretotherain.ttf') format('truetype'),
         url('/font/setfiretotherain.svg#set_fire_to_the_rainregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GrandHotel';
    src: url('/font/grandhotel-regular-webfont.eot');
    src: url('/font/grandhotel-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('/font/grandhotel-regular-webfont.woff') format('woff'),
         url('/font/grandhotel-regular-webfont.ttf') format('truetype'),
         url('/font/grandhotel-regular-webfont.svg#grandhotel-regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/** Reset. */
*, html, body, div, span, img, a, header, footer, h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    border: 0;
    text-decoration: none;
}

a {
    color: inherit;
}

/** Generic. */
.clear {
    clear: both;
}

u {
    text-decoration: underline;
}

/** Rules. */

body {
    background-color: #c9b9a9;
    color: #42332c;
    font-family: Helvetica, Arial, sans-serif;
}

header {

}

    header #leader {
        background-color: #424e5a;
        background-image: url('/img/wip/leader-bg.png');
        background-repeat: repeat-x;
        background-position: bottom;
        padding-bottom: 5px;
    }

        header #leader-wrapper {
            width: 1128px;
            margin: 0 auto;
            position: relative;
        }

        header nav {
            font-family: SetFireToTheRain, sans-serif;
            color: #dfd5cb;
            min-height: 20px;
            height: 20px;
            width: 100%;
            text-align: center;
            margin-top: 75px;
        }

        header nav a {
            margin: 0 40px;
        }

            header nav a.current {
                color: #dde5f2;
            }

#content {
    width: 1280px;
    margin: 0 auto;
    font-size: 14px;

    background-color: #dfd5cb;
    background-image: url('/img/wip/content-bg.png');
    background-position: bottom;
    background-repeat: no-repeat;
}

    #content ul { list-style-type: none; }

    #content #shadow-wrapper {
        width: 1280px;
        background-image: url('/img/wip/content-shadow.png');
        background-position: top;
        background-repeat: repeat-x;
    }

    #content #content-wrapper {
        width: 960px;
        padding-top: 40px;
        padding-bottom: 100px;
        margin: 0 auto;
    }

    #content h2 {
        font-family: SetFireToTheRain, sans-serif;
        font-weight: normal;
        text-align: center;

        margin: 10px 15px;
    }

    #content p {
        line-height: 160%;
    }

    #content .post .meta {
        text-align: right;
    }

    #content .post .author::before {
        content: 'posted by ';
        font-weight: normal;
    }

    #content .post .author {
        font-family: SetFireToTheRain, sans-serif;
        font-weight: bold;
        text-align: right;
    }

    #content .post .date::before {
        content: 'on ';
        font-weight: normal;
    }

    #content .post .date {
        font-family: SetFireToTheRain, sans-serif;
        font-weight: bold;
        text-align: right;
    }

    #content .post a, #contents-editor a {
        font-weight: bold;
    }

    #content .post img {
        display: block;
        margin: 5px auto;
	max-width: 960px;
    }

    #content .post p {
	margin: 15px 0px;
    }

    #content .post-link {
        text-align: right;
        font-family: SetFireToTheRain, sans-serif;
    }

        #content .post-link a:hover {
            text-decoration: underline;
        }

    #content .comment {
        clear: both;
        margin-left: 100px;
        width: 760px;
    }

        #content .comment .meta .date {
            font-size: 10px;
            color: #dde5f2;
            font-style: italic;
            display: block;
        }

        #content .comment .meta .author {
            display: block;
        }

        #content .comment .meta {
            float: left;
            background-color: #424e59;
            color: #dde5f2;

            font-size: 16px;
            font-family: SetFireToTheRain, sans-serif;
            text-align: right;
            vertical-align: bottom;
            text-transform: lowercase;

            min-width: 125px;
            width: 125px;
            min-height: 50px;
            height: 50px;
            padding-top: 5px;
            padding-right: 10px;
        }

        #content .comment p {
            background-color: white;
            min-height: 45px;
            margin-bottom: 10px;
            margin-left: 145px;
            padding: 5px 7px;
        }

        #content .comment.developer .author::before {
            color: ghostwhite;
            font-size: 12px;
            content: '(dev) ';
        }

    #content #submit-comment {
        background-image: url('/img/wip/blog/comment-bubble.png');
        background-repeat: no-repeat;
        padding: 25px 80px;
        min-height: 400px;
        height: 400px;
        width: 535px;
        margin: 20px auto 0 auto;
    }

        #content #submit-comment p {
            clear: both;
            margin: 5px 25px;
        }

        #content #submit-comment span {
            float: left;
            background-color: #424e59;
            color: #dde5f2;

            font-size: 16px;
            font-family: SetFireToTheRain, sans-serif;
            text-align: right;
            vertical-align: bottom;
            text-transform: lowercase;

            min-width: 69px;
            max-width: 69px;
            min-height: 22px;
            max-height: 22px;
            padding-top: 15px;
            padding-right: 5px;
            margin-right: 8px;
        }

        #content #submit-comment input[type=text] {
            color: #424e59;
            width: 385px;
            min-height: 37px;
            padding-left: 10px;
            font-size: 14px;
        }

        #content #submit-comment textarea {
            width: 375px;
            height: 180px;
            padding: 10px;
            font-size: 14px;
            font-family: sans-serif;
            color: #424e59;
        }

        #content #submit-comment input[type=submit] {
            display: block;
            background-color: #424e59;
            color: #dde5f2;
            font-family: SetFireToTheRain, sans-serif;
            text-align: right;
            vertical-align: bottom;
            min-width: 70px;
            max-width: 70px;
            min-height: 37px;
            max-height: 37px;
            margin: 60px 360px;
            padding-top: 5px;
            padding-right: 6px;
            font-size: 24px;
        }

    #content hr {
        background-image: url('/img/blog/divider.png');
        min-height: 10px;
        margin: 0 4px 25px 4px;
    }

    #pagination .previous { 
        float: left;
        font-weight: bold;
    }

    #pagination .next {
        float: right;
        font-weight: bold;
    }

footer {
    font-size: 14px;
    color: #716a59;
    width: 600px;
    margin: 10px auto;
    text-align: center;
}

    footer a {
        border-bottom: 1px dashed #716a59;
    }
